@charset "UTF-8";
/* =========================================
   プライスページ専用 メインビジュアル (.price-mv)
========================================= */
.price-mv {
    width: 100%;
    margin-top: 180px;
}

.price-mv .price-mv__main {
    width: 100%;
    aspect-ratio: 1920 / 640;
    background-image: url('../img/price/price-mv_pc.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.price-mv .price-mv__inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 0 0;
    padding-left: 8%;
    padding-right: 20px;
    box-sizing: border-box;
}

.price-mv .price-mv__title {
    font-size: 54px;
    line-height: 1.4;
    letter-spacing: 0.15em;
    margin-bottom: 50px;
}

.price-mv .price-mv__text-sub {
    font-size: 28px;
    line-height: 1.4;
    letter-spacing: 0.15em;
    margin-bottom: 65px;
}

.price-mv .price-mv__text {
    font-size: 28px;
    line-height: 2;
    letter-spacing: 0.15em;
    margin-bottom: 0;
}

/* ノートPC・中画面レスポンシブ (769px 〜 1500px) */
@media screen and (max-width: 1500px) and (min-width: 769px) {
    .price-mv .price-mv__title {
        font-size: 42px;
        margin-bottom: 20px;
    }

    .price-mv .price-mv__text-sub {
        font-size: 22px;
        margin-bottom: 40px;
    }

    .price-mv .price-mv__text {
        font-size: 16px;
        margin-bottom: 0;
    }
}

@media screen and (max-width: 768px) {
    .price-mv {
        margin-top: 90px;
    }

    .price-mv .price-mv__main {
        position: relative;
        width: 100%;
        aspect-ratio: 750 / 800;
        background-image: url('../img/price/price-mv_sp.webp');
        /* background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('../img/price/price-mv_sp.webp'); 差分で上書き */
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        align-items: center;
        justify-content: center;
        padding-top: 0;
        padding-bottom: 0;
    }

    .price-mv .price-mv__inner {
        padding-left: 5%; 
        padding-right: 5%;
    }

    .price-mv .price-mv__title {
        font-size: 27px;
        line-height: 1.7;
        letter-spacing: 0.15em;
        margin-bottom: 15px;
    }

    .price-mv .price-mv__text-sub {
        font-size: 16px;
        line-height: 1.7;
        letter-spacing: 0.15em;
        margin-bottom: 30px;
    }

    .price-mv .price-mv__text {
        font-size: 14px;
        line-height: 2.1;
        letter-spacing: 0.15em;
        margin-bottom: 0;
    }
}

/* =========================================
   3. 料金プランセクション (.price-plan)
========================================= */
.price-plan {
    background-color: #fbf7f2;
    padding-top: 100px;
    padding-bottom: 120px;
}

.price-plan__inner {
    width: 90%;
    max-width: 1575px;
    margin: 0 auto;
}

.price-plan__tab-wrapper {
    text-align: center;
    margin-bottom: 100px;
}

.price-plan__tabs {
    position: relative;
    display: inline-flex;
    background-color: #F7EFEA;
    border-radius: 9999px;
}

.price-plan__tab-bg {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background-color: var(--color-main);
    border-radius: 9999px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.price-plan__tab {
    position: relative;
    z-index: 1;
    padding: 12px 32px;
    font-size: 14px;
    color: var(--color-text-base);
    background: transparent;
    border: none;
    border-radius: 9999px;
    cursor: pointer;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.price-plan__tab.is-active {
    color: #ffffff;
}

.price-plan__tab-sub {
    font-size: 11px;
}

.price-plan__content {
    display: none;
}

.price-plan__content.is-active {
    display: block;
    animation: fadeIn 0.4s ease forwards;
}

.price-plan__list {
    display: flex;
    gap: 20px;
}

.price-plan__card {
    flex: 1;
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
    border: 1px solid #cdcdcd;
    padding: 30px 24px;
}

.price-plan__card--main {
    border: 1px solid var(--color-main);
}

.price-plan__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 26px;
    padding: 0 16px;
    background-color: var(--color-main);
    color: #ffffff;
    font-size: 11px;
    border-radius: 9999px;
    align-self: flex-start;
    margin-bottom: 15px;
}

.price-plan__head {
    display: flex;
    flex-direction: column;
    min-height: 48px;
    margin-bottom: 15px;
}

.price-plan__name {
    font-size: 18px;
    color: var(--color-text-base);
    line-height: 1.4;
    margin: 0;
}

.price-plan__small {
    font-size: 14px;
}

.price-plan__time {
    font-size: 12px;
    color: #a4a4a4;
    margin-top: 0;
}

.price-plan__price {
    font-size: 24px;
    color: var(--color-text-base);
    margin-bottom: 15px;
}

.price-plan__price--main {
    color: var(--color-main);
}

.price-plan__tax {
    font-size: 14px;
    color: var(--color-text-base);
}

.price-plan__line {
    border: none;
    border-top: 1px solid #cdcdcd;
    margin: 0 0 15px 0;
}

.price-plan__features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.price-plan__features li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
}

.price-plan__features li:last-child {
    margin-bottom: 0;
}

.price-plan__features span {
    font-size: 14px;
    line-height: 1.5;
    color: var(--color-text-base);
}

.price-plan__check {
    position: relative;
    width: 20px;
    height: 20px;
    background-color: var(--color-main);
    border-radius: 50%;
    flex-shrink: 0;
    margin-right: 8px;
    margin-top: 1px;
}

.price-plan__check::after {
    content: '';
    position: absolute;
    top: 4px;
    left: 7.9px;
    width: 5px;
    height: 9px;
    border-right: 2px solid #ffffff;
    border-bottom: 2px solid #ffffff;
    transform: rotate(45deg);
}

.price-plan__btn-wrap {
    margin-top: auto;
    padding-top: 25px;
}

.price-plan__btn {
    width: 100%;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    border-radius: 9999px;
    text-decoration: none;
    transition: opacity 0.3s;
}

.price-plan__btn:not(.price-plan__btn--main) {
    background-color: #ffffff;
    color: var(--color-main);
    border: 1px solid var(--color-main);
}

.price-plan__btn--main {
    background-color: var(--color-main);
    color: #ffffff;
    border: 1px solid var(--color-main);
}

.price-plan__btn:hover {
    opacity: 0.8;
}

@media screen and (max-width: 900px) {
    .price-plan__head {
        min-height: auto;
    }

    .price-plan__list {
        flex-direction: column;
        gap: 24px;
    }

    .price-plan__tab-wrapper {
        margin-bottom: 50px;
        text-align: center;
        padding: 0 5%;
    }

    .price-plan__tabs {
        display: flex;
        width: 100%;
        margin: 0 auto;
    }

    .price-plan__tab {
        flex: auto;
        width: auto;
        white-space: normal;
        line-height: 1.4;
        padding: 12px 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        font-size: 12px;
    }

    .price-plan__tab-sub {
        font-size: 10px;
        margin-top: 4px;
    }

    .price-plan__badge[style*="opacity: 0"] {
        display: none;
    }
}

@media screen and (max-width: 768px) {
    .price-plan {
        padding-top: 80px;
        padding-bottom: 80px;
    }

    .price-plan__list {
        gap: 20px;
    }

    .price-plan__name {
        font-size: 17px;
    }

    .price-plan__small {
        font-size: 13px;
    }

    .price-plan__price {
        font-size: 21px;
    }

    .price-plan__tax {
        font-size: 12px;
    }

    .price-plan__features span {
        font-size: 14px;
    }
}


/* =========================================
   4. 初期費用セクション (.price-initial)
========================================= */
.price-initial {
    padding-top: 100px;
    padding-bottom: 120px;
}

.price-initial__inner {
    width: 90%;
    max-width: 980px;
    margin: 0 auto;
}

.price-initial__boxes {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
}

.price-initial__box {
    flex: 1;
    background-color: #FBF7F2;
    padding: 30px 0;
    text-align: center;
}

.price-initial__box-name {
    font-size: 18px;
    color: var(--color-text-base);
    margin: 0 0 15px 0;
}

.price-initial__box-price {
    font-size: 32px;
    color: var(--color-main);
    margin: 0 0 15px 0;
}

.price-initial__box-note {
    font-size: 12px;
    color: #A4A4A4;
    margin: 0;
    line-height: 1.6;
}

.price-initial__other {
    border: 1px solid #CDCDCD;
    padding: 24px 32px;
}

.price-initial__other-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.price-initial__other-title {
    font-size: 16px;
    font-weight: bold;
    color: var(--color-text-base);
}

.price-initial__other-price {
    font-size: 16px;
    color: var(--color-text-base);
}

.price-initial__line {
    border: none;
    border-top: 1px solid #CDCDCD;
    margin: 0 0 15px 0;
}

.price-initial__list {
    margin: 0;
}

.price-initial__item {
    display: flex;
    font-size: 16px;
    margin-bottom: 12px;
    line-height: 1.6;
}

.price-initial__item:last-child {
    margin-bottom: 0;
}

.price-initial__item dt {
    width: 200px;
    flex-shrink: 0;
    color: var(--color-main);
    font-weight: normal;
}

.price-initial__item dd {
    margin: 0;
    color: var(--color-text-base);
}

@media screen and (max-width: 768px) {
    .price-initial {
        padding-top: 80px;
        padding-bottom: 80px;
    }

    .price-initial__inner {
        width: 85%;
    }

    .price-initial__boxes {
        flex-direction: column;
        margin-bottom: 40px;
    }

    .price-initial__box-name {
        font-size: 16px;
    }

    .price-initial__box-price {
        font-size: 24px;
    }

    .price-initial__box-note {
        font-size: 12px;
    }

    .price-initial__other {
        padding: 20px;
    }

    .price-initial__other-title,
    .price-initial__other-price {
        font-size: 14px;
    }

    .price-initial__item {
        flex-direction: column;
        margin-bottom: 16px;
        font-size: 14px;
    }

    .price-initial__item dt {
        width: 100%;
        margin-bottom: 4px;
    }
}


/* =========================================
   5. 比較表セクション (.price-comparison)
========================================= */
.price-comparison {
    padding-top: 100px;
    padding-bottom: 120px;
}

.price-comparison__inner {
    width: 90%;
    max-width: 980px;
    margin: 0 auto;
}

.price-comparison__notes {
    margin-top: 25px;
}

.price__table--comparison th:nth-child(1) {
    background-color: transparent !important;
    color: var(--color-text-base) !important;
}

.price__table--comparison th.is-other {
    background-color: #D9D9D9;
    color: var(--color-text-base);
    width: 40%;
}

.price__table--comparison th.is-anella {
    background-color: var(--color-main) !important;
    color: #ffffff !important;
}

.price__table--comparison td.is-anella {
    background-color: #F7EFEA;
}

.price-comparison__small {
    font-size: 14px;
}

@media screen and (max-width: 768px) {
    .price-comparison {
        padding-top: 80px;
        padding-bottom: 80px;
    }

    .price-comparison__inner {
        width: 85%;
    }

    .price-comparison__table-wrapper {
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
        margin: 0 -5%;
        padding: 0 5%;
    }

    .price__table {
        min-width: 600px;
    }

    .price__table th,
    .price__table td {
        font-size: 14px;
    }

    .price__table th.is-anella,
    .price__table td.is-anella {
        font-size: 15px;
    }

    .price-comparison__small {
        font-size: 12px;
    }
}


/* =========================================
   6. 背景画像・フィロソフィー差分
========================================= */
.price-bg {
    width: 100%;
    display: flex;
}

.price-bg__item {
    width: 50%;
    height: 315px;
    overflow: hidden;
}

.price-bg__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.price-philosophy.message {
    background-color: transparent;
}

@media screen and (max-width: 768px) {
    .price-bg {
        flex-direction: column;
    }

    .price-bg__item {
        width: 100%;
        height: 157px;
    }
}