p {
    margin-bottom: 0;
}

ul {
    margin-bottom: 0;
}

dl {
    margin-bottom: 0;
}

.img-radius {
    border-radius: 8px;
}

.mb-s {
    margin-bottom: 20px;
}

.mb-l {
    margin-bottom: 40px;
}

.mb-xl {
    margin-bottom: 56px;
}

.bold {
    font-weight: 700;
}

.pagelink ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.callout.pagelink {
    padding-bottom: 1.2em;
}

.gray-box {
    background-color: #f5f5f5;
    border-radius: 8px;
    padding: 16px;
}

#contents section {
    margin-bottom: 4rem;
}

.overview-sentence-box {
    margin-bottom: 32px;
}

.reason-contents {
    display: flex;
    gap: 40px;
}

.reason-contents>div:first-child {
    width: calc(70% - 20px);
}

.price-table thead {
    border: none;
}

.price-table th {
    background-color: #F8F8F8;
}

.price-table td {
    text-align: center;
}

.price-table-plan {
    width: 25%;
}

.price-table .nothing_th {
    background-color: #fff;
    border: none;
}

.plan-detail {
    font-weight: 400;
    font-size: 1rem;
    width: 16%;
}

.stack th {
    text-wrap: nowrap;
    text-align: center;
}

.stack td {
    text-wrap: nowrap;
    text-align: center;
}

.how-to-apply-contents {
    display: flex;
    gap: 32px;
    margin-bottom: 28px;
}

.how-to-apply-contents>div {
    width: calc(100% / 3 - 20px);
}

.how-to-apply-contents .gray-box {
    position: relative;
}

.how-to-apply-contents .gray-box:before {
    font-size: 40px;
    font-family: D-DIN-PRO;
    position: absolute;
    font-weight: 700;
    top: -30px;
    left: 32px;
}

.how-to-apply-contents .gray-box:first-child:before {
    content: '1';
}

.how-to-apply-contents .gray-box:first-child:before {
    content: '1';
}

.how-to-apply-contents .gray-box:nth-child(2):before {
    content: '2';
}

.how-to-apply-contents .gray-box:nth-child(3):before {
    content: '3';
}

@media screen and (max-width: 768px) {
    .reason-contents {
        flex-direction: column-reverse;
        align-items: center;
    }

    .reason-contents>div:first-child {
        width: 100%;
    }

    .how-to-apply-contents {
        flex-direction: column;
        align-items: center;
    }

    .how-to-apply-contents>div {
        width: 100%;
    }
}