/* ===== 料金ページ専用スタイル ===== */

/* ページヘッダー（service.cssと共通） */
.page-header {
    background-color: #F5F5F5;
    padding: 60px 60px;
}

.page-header-container {
    max-width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    min-height: 40vh;
}

.page-header-title {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 40px 0;
}

.page-header-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 40px 0 40px 40px;
}

.page-main-title {
    font-size: 72px;
    font-weight: 400;
    color: #666;
    letter-spacing: 0.05em;
    line-height: 1;
    font-family: 'Montserrat', sans-serif;
    margin: 0;
}

.page-nav {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-top: 1px solid #999;
    padding-top: 30px;
    width: 100%;
}

.page-nav-link {
    color: #999;
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0.1em;
    padding: 18px 0;
    border-bottom: 1px solid #E0E0E0;
    transition: all 0.3s;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
}

.page-nav-link:hover {
    color: #D48FB1;
    padding-left: 15px;
    border-bottom-color: #D48FB1;
}

/* 料金セクション共通 */
.price-section {
    padding: 80px 20px;
    background-color: #fff;
}

.price-section.gray-bg {
    background-color: #FAFAFA;
}

.price-description {
    max-width: 800px;
    margin: 0 auto 50px;
    text-align: center;
}

.price-description p {
    font-size: 16px;
    line-height: 2;
    color: #666;
}

/* 料金カード（新デザイン） */
.price-cards-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto 40px;
    flex-wrap: wrap;
}

.price-card {
    background-color: #fff;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    flex: 1;
    min-width: 280px;
    max-width: 320px;
    transition: all 0.3s;
}

.price-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(212, 143, 177, 0.2);
}

.price-card-title {
    font-size: 16px;
    color: #666;
    margin-bottom: 25px;
    font-weight: 500;
    letter-spacing: 0.05em;
}

.price-card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, #D48FB1 0%, #E8B4C8 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.price-card-icon svg {
    width: 40px;
    height: 40px;
    color: #fff;
    stroke-width: 2;
}

.price-card-icons-group {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 25px;
}

.price-card-icon-small {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.price-card-icon-small svg {
    width: 60px;
    height: 60px;
    padding: 15px;
    background: linear-gradient(135deg, #D48FB1 0%, #E8B4C8 100%);
    border-radius: 50%;
    color: #fff;
    stroke-width: 2;
}

.price-card-icon-small span {
    font-size: 13px;
    color: #D48FB1;
    font-weight: 500;
}

.price-card-amount {
    margin-bottom: 15px;
}

.price-number {
    font-size: 48px;
    font-weight: 700;
    color: #D48FB1;
    font-family: 'Montserrat', sans-serif;
    line-height: 1;
}

.price-yen {
    font-size: 24px;
    color: #666;
    margin-left: 5px;
}

.price-card-detail {
    font-size: 14px;
    color: #999;
    line-height: 1.6;
}

.price-card-plus {
    font-size: 48px;
    color: #D48FB1;
    font-weight: 300;
    flex-shrink: 0;
}

/* 料金表（削除または非表示） */
.price-table-wrapper {
    display: none;
}

/* 料金注意書き */
.price-note {
    max-width: 800px;
    margin: 30px auto 0;
    padding: 20px;
    background-color: #FFF5F8;
    border-left: 4px solid #D48FB1;
    border-radius: 5px;
}

.price-note p {
    color: #666;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 5px;
}

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

.price-note-text {
    max-width: 800px;
    margin: 30px auto 0;
    text-align: center;
}

.price-note-text p {
    color: #666;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 5px;
}

.price-note-text p:last-child {
    margin-bottom: 0;
}

/* オプションカード（リスト形式に変更） */
.option-cards {
    max-width: 900px;
    margin: 0 auto 40px;
}

.option-card {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 35px 0;
    border-bottom: 1px solid #F0F0F0;
    transition: all 0.3s;
}

.option-card:first-child {
    padding-top: 0;
}

.option-card:last-child {
    border-bottom: none;
}

.option-card:hover {
    padding-left: 15px;
}

.option-icon {
    width: 70px;
    height: 70px;
    margin: 0;
    background: linear-gradient(135deg, #D48FB1 0%, #E8B4C8 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s;
}

.option-card:hover .option-icon {
    transform: scale(1.1);
}

.option-icon svg {
    width: 35px;
    height: 35px;
    color: #fff;
    stroke-width: 2;
}

.option-card h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 8px;
    font-weight: 600;
}

.option-price {
    font-size: 16px;
    color: #D48FB1;
    font-weight: 700;
    margin-bottom: 8px;
    font-family: 'Montserrat', sans-serif;
}

.option-description {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
    margin: 0;
}

.option-card-content {
    flex: 1;
}

.price-contact-note {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    padding: 25px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.price-contact-note p {
    font-size: 16px;
    color: #333;
    font-weight: 500;
}

/* 時間制プランカード */
.time-plan-card {
    max-width: 1100px;
    margin: 0 auto 40px;
    background-color: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 0;
}

.time-plan-content {
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.time-plan-content h3 {
    font-size: 20px;
    color: #666;
    margin-bottom: 20px;
    font-weight: 500;
}

.time-plan-price {
    margin-bottom: 30px;
}

.price-large {
    font-size: 42px;
    font-weight: 700;
    color: #D48FB1;
    font-family: 'Montserrat', sans-serif;
    line-height: 1;
}

.price-unit {
    font-size: 20px;
    color: #666;
    margin-left: 5px;
}

.time-plan-features {
    list-style: none;
    padding: 0;
}

.time-plan-features li {
    padding: 12px 0 12px 30px;
    position: relative;
    color: #666;
    line-height: 1.8;
}

.time-plan-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #D48FB1;
    font-weight: 700;
    font-size: 18px;
}

.time-plan-image {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
}

.time-plan-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

/* お支払い方法 */
.payment-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 60px;
    align-items: center;
}

.payment-left h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
    font-weight: 600;
}

.payment-left > p {
    font-size: 16px;
    line-height: 2;
    color: #666;
    margin-bottom: 40px;
}

.payment-methods {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.payment-method-item {
    background-color: #fff;
    padding: 25px 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
}

.payment-method-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(212, 143, 177, 0.2);
}

.payment-method-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #D48FB1 0%, #E8B4C8 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.payment-method-icon svg {
    width: 26px;
    height: 26px;
    color: #fff;
    stroke-width: 2;
}

.payment-method-item span {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.payment-note-text {
    margin-top: 25px;
}

.payment-note-text p {
    font-size: 13px;
    color: #999;
    line-height: 1.8;
    text-align: left;
    margin-bottom: 3px;
}

.payment-note-text p:last-child {
    margin-bottom: 0;
}

.payment-right {
    position: relative;
}

.payment-image {
    width: 100%;
    height: auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.payment-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

/* 関連ページ（3枚バナー - サービスページと同じスタイル） */
.related-pages {
    background-color: #F5F1E8;
    padding: 100px 20px;
    overflow: hidden;
}

.related-banners {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    margin-top: 60px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    perspective: 1000px;
    min-height: 450px;
}

.related-banner {
    position: relative;
    width: 380px;
    height: 480px;
    text-decoration: none;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.related-banner:nth-child(1) {
    transform: rotate(-8deg) translateX(40px);
    z-index: 1;
}

.related-banner:nth-child(2) {
    transform: rotate(0deg) scale(1.1);
    z-index: 3;
    margin: 0 -50px;
}

.related-banner:nth-child(3) {
    transform: rotate(8deg) translateX(-40px);
    z-index: 1;
}

.related-banner:hover {
    transform: rotate(0deg) scale(1.15) translateY(-20px) !important;
    z-index: 10 !important;
    box-shadow: 0 30px 80px rgba(212, 143, 177, 0.4);
}

.banner-image {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.banner-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
    filter: brightness(0.9);
}

.related-banner:hover .banner-image img {
    transform: scale(1.1);
    filter: brightness(1);
}

.banner-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px 30px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.5) 60%, transparent 100%);
    color: #fff;
    z-index: 1;
    transition: all 0.4s;
}

.related-banner:hover .banner-overlay {
    padding-bottom: 50px;
    background: linear-gradient(to top, rgba(212, 143, 177, 0.9) 0%, rgba(212, 143, 177, 0.6) 60%, transparent 100%);
}

.banner-overlay h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #fff;
    transform: translateY(0);
    transition: transform 0.4s;
}

.related-banner:hover .banner-overlay h3 {
    transform: translateY(-5px);
}

.banner-overlay p {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.95);
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

/* レスポンシブ（タブレット） */
@media (max-width: 768px) {
    .page-header {
        padding: 40px 20px;
    }

    .page-header-container {
        grid-template-columns: 1fr;
        gap: 0;
        min-height: auto;
    }

    .page-header-title {
        justify-content: flex-start;
        padding: 40px 0 30px;
    }

    .page-header-nav {
        justify-content: flex-start;
        padding: 0 0 40px 0;
    }

    .page-main-title {
        font-size: 60px;
    }

    .page-nav {
        padding-top: 20px;
    }

    .page-nav-link {
        font-size: 14px;
        padding: 15px 0;
    }

    .price-section {
        padding: 60px 20px;
    }

    .price-cards-container {
        flex-direction: column;
        gap: 20px;
    }

    .price-card {
        max-width: 100%;
        width: 100%;
    }

    .price-card-plus {
        transform: rotate(90deg);
        font-size: 36px;
        margin: 10px 0;
    }

    .price-number {
        font-size: 42px;
    }

    .price-yen {
        font-size: 20px;
    }

    .price-table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .price-table {
        min-width: 600px;
    }

    .price-table th,
    .price-table td {
        padding: 15px;
        font-size: 14px;
    }

    .price-amount {
        font-size: 20px;
    }

    .option-cards {
        padding: 0 5px;
    }

    .option-card {
        gap: 20px;
        padding: 25px 0;
    }

    .option-icon {
        width: 60px;
        height: 60px;
    }

    .option-icon svg {
        width: 30px;
        height: 30px;
    }

    .option-card h3 {
        font-size: 18px;
    }

    .option-price {
        font-size: 15px;
    }

    .option-description {
        font-size: 14px;
    }

    .time-plan-card {
        grid-template-columns: 1fr;
    }

    .time-plan-content {
        padding: 40px 30px 25px;
    }

    .time-plan-image {
        padding: 0 30px 30px;
        height: auto;
    }

    .price-large {
        font-size: 38px;
    }

    .price-unit {
        font-size: 18px;
    }

    .payment-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .payment-methods {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .payment-image {
        height: auto;
    }

    /* 関連ページバナー（モバイル） */
    .related-banners {
        flex-direction: column;
        gap: 30px;
        min-height: auto;
        perspective: none;
    }

    .related-banner {
        width: 100%;
        max-width: 400px;
        height: 350px;
        margin: 0 auto !important;
    }

    .related-banner:nth-child(1),
    .related-banner:nth-child(2),
    .related-banner:nth-child(3) {
        transform: rotate(0deg) !important;
        z-index: 1 !important;
    }

    .related-banner:hover {
        transform: scale(1.05) translateY(-10px) !important;
    }

    .banner-overlay {
        padding: 30px 25px;
    }

    .banner-overlay h3 {
        font-size: 22px;
    }
}

/* レスポンシブ（スマホ） */
@media (max-width: 400px) {
    .page-header {
        padding: 40px 20px;
    }

    .page-header-title {
        padding: 30px 0 20px;
    }

    .page-header-nav {
        padding: 0 0 30px 0;
    }

    .page-main-title {
        font-size: 48px;
    }

    .price-section {
        padding: 50px 15px;
    }

    .price-description p {
        font-size: 14px;
    }

    .price-card {
        padding: 30px 20px;
        min-width: auto;
    }

    .price-card-title {
        font-size: 15px;
        margin-bottom: 20px;
    }

    .price-card-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 20px;
    }

    .price-card-icon svg {
        width: 35px;
        height: 35px;
    }

    .price-card-icon-small svg {
        width: 55px;
        height: 55px;
        padding: 12px;
    }

    .price-card-icon-small span {
        font-size: 12px;
    }

    .price-number {
        font-size: 38px;
    }

    .price-yen {
        font-size: 18px;
    }

    .price-card-detail {
        font-size: 13px;
    }

    .price-card-plus {
        font-size: 32px;
    }

    .price-table {
        min-width: 500px;
    }

    .option-card {
        gap: 15px;
        padding: 20px 0;
    }

    .option-icon {
        width: 55px;
        height: 55px;
    }

    .option-icon svg {
        width: 28px;
        height: 28px;
    }

    .option-card h3 {
        font-size: 16px;
    }

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

    .option-description {
        font-size: 13px;
    }

    .time-plan-content {
        padding: 30px 20px 20px;
    }

    .time-plan-content h3 {
        font-size: 18px;
    }

    .price-large {
        font-size: 36px;
    }

    .price-unit {
        font-size: 16px;
    }

    .time-plan-features li {
        font-size: 14px;
        padding-left: 25px;
    }

    .time-plan-image {
        padding: 0 20px 20px;
    }

    .payment-left h3 {
        font-size: 20px;
    }

    .payment-left > p {
        font-size: 14px;
    }

    .payment-method-item {
        padding: 20px 15px;
    }

    .payment-method-icon {
        width: 45px;
        height: 45px;
    }

    .payment-method-icon svg {
        width: 22px;
        height: 22px;
    }

    .payment-method-item span {
        font-size: 14px;
    }

    .payment-image {
        height: 280px;
    }

    /* 関連ページバナー（スマホ小） */
    .related-pages {
        padding: 50px 15px;
    }

    .related-banner {
        height: 300px;
    }

    .banner-overlay {
        padding: 25px 20px;
    }

    .banner-overlay h3 {
        font-size: 20px;
    }
}