/* =========================================================
   PRICE PAGE
========================================================= */

.price-page {
    background: #fff;
    color: #26313a;
}

.price-page .inner {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.section-en {
    display: inline-block;
    margin-bottom: 16px;
    color: #9b8259;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .2em;
}

.section-title {
    margin-bottom: 58px;
    text-align: center;
}

.section-title span {
    display: block;
    margin-bottom: 14px;
    color: #9b8259;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .2em;
}

.section-title h2 {
    margin: 0;
    color: #1f2d3d;
    font-size: 42px;
    line-height: 1.45;
}

/* =========================================================
   INTRO
========================================================= */

.price-intro {
    padding: 120px 0;
}

.price-intro .inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 520px;
    gap: 80px;
    align-items: center;
}

.price-intro__text h2 {
    margin: 0 0 34px;
    color: #1f2d3d;
    font-size: 42px;
    line-height: 1.55;
    font-weight: 600;
}

.price-intro__text p {
    margin: 0 0 18px;
    color: #59636b;
    font-size: 16px;
    line-height: 2;
}

.price-intro__image {
    overflow: hidden;
}

.price-intro__image img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

/* =========================================================
   PRICE CARDS
========================================================= */

.price-card-area {
    padding: 120px 0;
    background: #f6f7f7;
}

.price-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.price-card {
    position: relative;
    display: flex;
    min-height: 230px;
    padding: 38px 34px 32px;
    border: 1px solid #e1e4e5;
    background: #fff;
    color: inherit;
    text-decoration: none;
    flex-direction: column;
    transition:
        transform .25s ease,
        border-color .25s ease,
        box-shadow .25s ease;
}

.price-card::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 54px;
    height: 3px;
    background: #aa8c5a;
    content: "";
}

.price-card:hover {
    transform: translateY(-5px);
    border-color: #cbb78f;
    box-shadow: 0 18px 38px rgba(31, 45, 61, .09);
}

.price-card h3 {
    margin: 0 0 30px;
    color: #1f2d3d;
    font-size: 23px;
    font-weight: 600;
}

.price-card strong {
    display: block;
    margin-top: auto;
    color: #1f2d3d;
    font-size: 27px;
    line-height: 1.4;
    font-weight: 600;
}

.price-card strong::after {
    margin-left: 5px;
    color: #777;
    font-size: 13px;
    font-weight: 400;
    content: "（税込）";
}

.price-card > span {
    display: block;
    margin-top: 22px;
    color: #8d744c;
    font-size: 14px;
    font-weight: 600;
}

/* =========================================================
   PRICE TABLE
========================================================= */

.price-table-area {
    padding: 120px 0;
}

.price-table-area h2 {
    position: relative;
    margin: 100px 0 30px;
    padding: 0 0 20px 24px;
    border-bottom: 1px solid #dfe3e5;
    color: #1f2d3d;
    font-size: 32px;
    line-height: 1.5;
}

.price-table-area h2:first-child {
    margin-top: 0;
}

.price-table-area h2::before {
    position: absolute;
    top: 4px;
    bottom: 20px;
    left: 0;
    width: 4px;
    background: #aa8c5a;
    content: "";
}

.price-table {
    width: 100%;
    border-collapse: collapse;
    border-top: 1px solid #d9dddf;
    background: #fff;
}

.price-table th,
.price-table td {
    padding: 24px 28px;
    border-bottom: 1px solid #d9dddf;
    font-size: 16px;
    line-height: 1.7;
}

.price-table th {
    width: 68%;
    background: #fafafa;
    color: #34404a;
    text-align: left;
    font-weight: 500;
}

.price-table td {
    color: #1f2d3d;
    text-align: right;
    font-size: 18px;
    font-weight: 600;
}

/* =========================================================
   INSURANCE
========================================================= */

.insurance-price {
    padding: 0 0 120px;
}

.insurance-box {
    padding: 60px 70px;
    border-left: 5px solid #aa8c5a;
    background: #f3f5f5;
}

.insurance-box h2 {
    margin: 0 0 24px;
    color: #1f2d3d;
    font-size: 32px;
}

.insurance-box p {
    margin: 0;
    color: #59636b;
    font-size: 17px;
    line-height: 2;
}

.insurance-box small {
    display: block;
    margin-top: 16px;
    color: #788087;
    font-size: 13px;
}

/* =========================================================
   PAYMENT
========================================================= */

.payment {
    padding: 120px 0;
    background: #f7f7f5;
}

.payment-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.payment-grid > div {
    position: relative;
    display: flex;
    min-height: 150px;
    padding: 28px 20px;
    border: 1px solid #dfe2e3;
    background: #fff;
    color: #1f2d3d;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    align-items: center;
    justify-content: center;
}

.payment-grid > div::before {
    display: block;
    position: absolute;
    top: 24px;
    left: 50%;
    width: 34px;
    height: 1px;
    background: #aa8c5a;
    transform: translateX(-50%);
    content: "";
}

/* =========================================================
   TAX
========================================================= */

.tax {
    padding: 120px 0;
}

.tax-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 430px;
    gap: 90px;
    align-items: center;
}

.tax h2 {
    margin: 0 0 30px;
    color: #1f2d3d;
    font-size: 42px;
    line-height: 1.5;
}

.tax p {
    margin: 0 0 18px;
    color: #59636b;
    font-size: 16px;
    line-height: 2;
}

.tax-flow {
    padding: 40px;
    background: #1f2d3d;
}

.tax-flow div {
    padding: 20px 16px;
    border: 1px solid rgba(255, 255, 255, .23);
    background: rgba(255, 255, 255, .05);
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
}

.tax-flow span {
    display: block;
    padding: 12px 0;
    color: #ceb888;
    font-size: 20px;
    text-align: center;
}

/* =========================================================
   FAQ
========================================================= */

.faq {
    padding: 120px 0;
    background: #f6f7f7;
}

.faq-list {
    max-width: 960px;
    margin: 0 auto;
}

.faq-list dt,
.faq-list dd {
    position: relative;
    margin: 0;
    padding-left: 74px;
}

.faq-list dt {
    padding-top: 28px;
    padding-right: 28px;
    padding-bottom: 28px;
    border-top: 1px solid #d8dddf;
    background: #fff;
    color: #1f2d3d;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.8;
}

.faq-list dt::before {
    position: absolute;
    top: 25px;
    left: 28px;
    color: #9b8259;
    font-family: Georgia, serif;
    font-size: 22px;
    font-weight: 400;
    content: "Q";
}

.faq-list dd {
    padding-top: 24px;
    padding-right: 28px;
    padding-bottom: 30px;
    border-bottom: 1px solid #d8dddf;
    background: #fff;
    color: #59636b;
    font-size: 15px;
    line-height: 2;
}

.faq-list dd::before {
    position: absolute;
    top: 20px;
    left: 28px;
    color: #1f2d3d;
    font-family: Georgia, serif;
    font-size: 22px;
    content: "A";
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 991px) {

    .price-intro,
    .price-card-area,
    .price-table-area,
    .payment,
    .tax,
    .faq {
        padding-top: 80px;
        padding-bottom: 80px;
    }

    .insurance-price {
        padding-bottom: 80px;
    }

    .price-intro .inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .price-intro__text h2,
    .section-title h2,
    .tax h2 {
        font-size: 34px;
    }

    .price-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .payment-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tax-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .price-table-area h2 {
        margin-top: 75px;
        font-size: 28px;
    }
}

@media (max-width: 767px) {

    .price-page .inner {
        width: calc(100% - 30px);
    }

    .price-intro,
    .price-card-area,
    .price-table-area,
    .payment,
    .tax,
    .faq {
        padding-top: 65px;
        padding-bottom: 65px;
    }

    .insurance-price {
        padding-bottom: 65px;
    }

    .section-title {
        margin-bottom: 38px;
    }

    .section-title h2,
    .price-intro__text h2,
    .tax h2 {
        font-size: 28px;
    }

    .price-intro__text h2 br {
        display: none;
    }

    .price-card-grid,
    .payment-grid {
        grid-template-columns: 1fr;
    }

    .price-card {
        min-height: 190px;
        padding: 30px 26px 26px;
    }

    .price-card h3 {
        margin-bottom: 22px;
        font-size: 21px;
    }

    .price-card strong {
        font-size: 24px;
    }

    .price-table-area h2 {
        margin-top: 60px;
        padding-left: 18px;
        font-size: 24px;
    }

    .price-table th,
    .price-table td {
        display: block;
        width: 100%;
        padding: 18px 20px;
    }

    .price-table th {
        border-bottom: 0;
    }

    .price-table td {
        padding-top: 0;
        text-align: left;
    }

    .insurance-box {
        padding: 36px 28px;
    }

    .insurance-box h2 {
        font-size: 26px;
    }

    .payment-grid > div {
        min-height: 120px;
    }

    .tax-flow {
        padding: 26px 20px;
    }

    .faq-list dt,
    .faq-list dd {
        padding-left: 58px;
        padding-right: 20px;
    }

    .faq-list dt::before,
    .faq-list dd::before {
        left: 20px;
    }
}