@charset "UTF-8";

/* =========================================
   Price Page: 全体設定・固定ヘッダー対策
   ========================================= */
html {
    scroll-behavior: smooth;
}

.service-price-block {
    padding: 100px 0;
    scroll-margin-top: 100px; /* 固定ナビに隠れないためのオフセット */
}

.mt-80 {
    margin-top: 80px;
}

/* =========================================
   Price Page: ページ内アンカーナビ（シンメトリー）
   ========================================= */
.price-nav-wrapper {
    background: var(--deep-green);
    border-bottom: 2px solid var(--gold);
    position: sticky;
    top: 70px;
    z-index: 100;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.price-anchor-nav .container {
    max-width: var(--container-width);
    margin: 0 auto;
}

.price-anchor-nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 20px 0;
    margin: 0;
    gap: 15px;
}

.price-anchor-nav li {
    width: 220px; /* 全てのボタン幅を統一してシンメトリーを維持 */
}

.price-anchor-nav a {
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--gold);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 700;
    height: 50px;
    border: 1px solid var(--gold);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.02);
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.price-anchor-nav a:hover {
    background: var(--gold);
    color: var(--deep-green);
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(212, 175, 55, 0.4);
}

/* =========================================
   Price Page: セクション導入（余白調整箇所）
   ========================================= */
.price-cat-title {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 30px; /* 15pxから30pxへ拡大 */
    border-left: 6px solid var(--gold);
    padding-left: 20px;
    line-height: 1.2;
}

.price-cat-intro {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 100px; /* 導入文から最初のラベルまで100pxの余白を確保 */
    max-width: 800px;
    line-height: 1.8;
}

/* =========================================
   Price Page: 料金カード (Top Page デザイン統合)
   ========================================= */
.price-group {
    max-width: 1100px;
    margin: 0 auto 120px; /* グループ間の垂直余白 */
    display: flex;
    flex-direction: column;
    align-items: center; /* 中央寄せ */
}

.price-group.mt-80 {
    margin-top: 120px;
    padding-top: 80px;
    border-top: 1px solid var(--glass-border);
}

.price-target-label {
    font-size: 1.8rem;
    color: var(--gold);
    margin-bottom: 30px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center; /* ラベル内中央 */
    gap: 15px;
    width: 100%;
}

.price-sub-lead {
    text-align: center;
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: 50px;
    opacity: 0.8;
    width: 100%;
}

.price-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    width: 100%;
    justify-content: center;
}

/* カード詳細スタイル */
.price-card {
    background: #ffffff !important;
    border-radius: 12px;
    overflow: hidden;
    color: #333 !important;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    position: relative;
}

.price-header {
    background: #111111 !important;
    padding: 40px 20px;
    text-align: center;
    color: #ffffff !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.price-header h4 { font-size: 1.6rem; font-weight: 900; margin-bottom: 10px; color: #fff !important; }
.price-val { font-size: 2.8rem; font-weight: 900; color: #fff !important; }
.price-val span { font-size: 1rem; opacity: 0.6; }
.price-note { font-size: 0.85rem; color: rgba(255, 255, 255, 0.8) !important; margin-top: 15px; line-height: 1.5; }
.price-note strong { color: var(--white); font-weight: 900; }

.price-list { padding: 30px; list-style: none; flex-grow: 1; background: #fff !important; }
.price-list li {
    padding: 12px 0 12px 28px;
    border-bottom: 1px solid #eee;
    position: relative;
    font-size: 0.9rem;
    font-weight: 700;
    color: #333 !important;
}
.price-list li::before {
    content: '✔';
    position: absolute;
    left: 0;
    color: var(--accent) !important;
    font-weight: 900;
}

.price-list li.unavailable { color: #ccc !important; text-decoration: line-through; }
.price-list li.unavailable::before { content: '–' !important; color: #ddd !important; }

/* Recommended Plan */
.price-card.recommended { border: 4px solid var(--gold) !important; }
.recommended .price-header { background: linear-gradient(135deg, #b8860b, #d4af37) !important; }
.recommended .price-list li::before { color: var(--gold) !important; }
.badge {
    position: absolute;
    top: 15px; right: 15px;
    background: var(--primary) !important;
    color: #fff !important;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.7rem; font-weight: 900;
    z-index: 10;
}

/* =========================================
   Price Page: オプション表の追加調整
   ========================================= */

.option-price-block {
    max-width: 1000px; /* カードより少し絞って読みやすく */
    margin-left: auto;
    margin-right: auto;
}

.table-wrapper {
    overflow-x: auto; /* スマホで表がはみ出さないように */
    border-radius: 8px;
    border: 1px solid var(--glass-border);
}

.option-table {
    margin-top: 0; /* ラッパー側で管理 */
}

/* 1列目（項目名）の装飾：ゴールドで強調 */
.option-table td:first-child {
    font-weight: 700;
    color: var(--gold);
    background: rgba(255, 215, 0, 0.05); /* ほんの少しだけ背景に金色のニュアンス */
    width: 30%;
}

/* 2列目（内容）の装飾 */
.option-table td:nth-child(2) {
    color: var(--text-light);
    font-size: 0.9rem;
    text-align: left; /* 内容は左寄せ */
}

/* 3列目（金額）の装飾 */
.option-table td:last-child {
    font-weight: 900;
    color: var(--white);
    width: 25%;
    text-align: right; /* 金額は右寄せ */
    padding-right: 30px;
}

/* レスポンシブ：スマホでは金額も左寄せに */
@media (max-width: 768px) {
    .option-table td:first-child { width: 40%; }
    .option-table td:last-child {
        text-align: left;
        padding-right: 15px;
        font-size: 1rem;
    }
}

/* =========================================
   Price Page: 契約・特典セクションの詳細
   ========================================= */

.contract-policy-box {
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.policy-card {
    background: var(--glass-bg);
    border: 1px solid var(--gold);
    border-radius: 12px;
    padding: 50px;
    backdrop-filter: var(--glass-blur);
}

.policy-card-title {
    color: var(--gold-bright);
    font-size: 1.5rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.policy-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.policy-group {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* 右側の特典エリアを少し強調 */
.gold-bg-light {
    background: rgba(212, 175, 55, 0.05);
    padding: 20px;
    border-radius: 8px;
    border: 1px dashed rgba(212, 175, 55, 0.3);
}

.policy-item {
    display: flex;
    gap: 15px;
}

.policy-icon {
    font-size: 1.2rem;
    color: var(--gold);
    margin-top: 3px;
}

.policy-text h5 {
    color: var(--white);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.policy-text p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* 強調テキスト */
.policy-text p strong {
    color: var(--gold-bright);
    font-weight: 700;
}

/* レスポンシブ */
@media (max-width: 850px) {
    .policy-grid {
        grid-template-columns: 1fr;
    }
    .policy-card {
        padding: 30px 20px;
    }
}

/* =========================================
   Price Page: オプション・ポリシー
   ========================================= */
.data-table {
    width: 100%; border-collapse: collapse;
    background: var(--glass-bg); color: var(--white);
    margin-top: 20px;
}
.data-table th, .data-table td { padding: 18px; border: 1px solid var(--glass-border); text-align: left; }
.data-table th { background: var(--primary); color: var(--gold-bright); font-size: 0.9rem; }
.option-table td:first-child { font-weight: 700; color: var(--gold); }

.contract-policy-box { margin-top: 80px; }
.policy-card {
    border: 1px solid var(--gold); padding: 40px; border-radius: 8px;
    background: var(--glass-bg); backdrop-filter: var(--glass-blur);
}
.policy-card h4 { color: var(--gold-bright); text-align: center; margin-bottom: 30px; font-size: 1.5rem; }
.policy-content { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.gold-border { border-left: 4px solid var(--gold); padding-left: 20px; }

/* =========================================
   Price Page: プレースホルダー（準備中）の装飾
   ========================================= */

.placeholder-box {
    background: var(--glass-bg);
    border: 1px dashed var(--glass-border);
    border-radius: 12px;
    padding: 60px 40px;
    text-align: center;
    backdrop-filter: var(--glass-blur);
}

.placeholder-icon {
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 20px;
    opacity: 0.5;
}

.placeholder-lead {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 15px;
    letter-spacing: 0.1em;
}

.placeholder-text {
    color: var(--text-light);
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto;
    font-size: 0.95rem;
}

/* =========================================
   Responsive
   ========================================= */
/* --- 1. 全体的な調整（タブレット以上：1024px以下） --- */
@media (max-width: 1024px) {
    .service-price-block {
        /* ヘッダー(70px) + 料金ナビ(約90px) = 160px 程度の余白が必要 */
        scroll-margin-top: 160px; 
    }
}

/* --- 2. タブレット中間サイズ (601px ～ 1024px) --- */
@media screen and (min-width: 601px) and (max-width: 1024px) {
    /* 料金グリッドを2列にする（横伸び防止） */
    .price-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 900px; /* 広がりすぎないよう制限 */
        margin: 0 auto;
    }

    /* 3つ目のカード（Premium）を2列目の中央に配置 */
    .price-card:nth-child(3) {
        grid-column: span 2;
        justify-self: center;
        width: calc(50% - 15px); /* 上のカードと同じ幅にする(gap分を考慮) */
        min-width: 320px;
    }

    /* 契約ポリシーのグリッド */
    .policy-grid, .policy-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* --- 3. スマホサイズ (600px以下) --- */
@media (max-width: 600px) {
    .service-price-block {
        scroll-margin-top: 130px; 
    }

    .service-price-block {
        padding: 60px 0; 
    }

    .price-cat-title {
        font-size: 1.8rem;
    }

    .price-cat-intro {
        margin-bottom: 60px;
    }

    /* 料金ナビの固定位置（スマホヘッダーに合わせて微調整） */
    .price-nav-wrapper {
        top: 80px;
    }

    /* 料金グリッドを1列に */
    .price-grid {
        grid-template-columns: 1fr;
    }

    .price-card:nth-child(3) {
        grid-column: span 1;
        width: 100%;
    }

    .price-target-label {
        font-size: 1.4rem;
        flex-direction: column; /* アイコンと文字を縦並びにしても良い */
        gap: 10px;
    }

    /* 料金ナビボタンをさらに小さく（3つ並べるため） */
    .price-anchor-nav ul {
        gap: 5px;
        padding: 15px 5px;
    }

    .price-anchor-nav li {
        width: 32.5%; /* 3つ横に並べるための限界値 */
    }

    .price-anchor-nav a {
        font-size: 0.7rem; /* 375px幅で文字が溢れないように */
        height: 45px;
        padding: 0 5px;
        text-align: center;
    }

    /* 契約ポリシーの余白 */
    .policy-card {
        padding: 30px 20px;
    }
}