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

.pricing-page {
    padding: 36px 0 0px;
}

/* 目次ナビゲーション */
.price-nav {
    background: #FFF5EB;
    padding: 30px;
    margin-bottom: 50px;
    border-radius: 4px;
}

.price-nav h2 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #EF7D00;
    padding-bottom: 10px;
    border-bottom: 2px solid #EF7D00;
}

.price-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
}

.price-nav li {
    margin: 0;
    padding: 0;
}

.price-nav a {
    color: #EF7D00;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s;
}

.price-nav a:hover {
    color: #EF7D00;
}

/* セクション */
.price-section {
    margin-bottom: 80px;
}

.price-section h2 {
    font-size: 28px;
    font-weight: bold;
    color: #EF7D00;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid #EF7D00;
}

.price-section h3 {
    font-size: 20px;
    font-weight: bold;
    color: #555;
    margin: 40px 0 20px;
    padding-left: 15px;
    border-left: 4px solid #EF7D00;
}

/* 総論の箇条書き */
.price-notes {
    list-style: none;
    padding: 0;
    margin: 0;
    background: #fff;
    border: 1px solid #CFCCC9;
    border-radius: 4px;
}

.price-notes li {
    padding: 15px 20px;
    border-bottom: 1px solid #FFF5EB;
    line-height: 1.8;
    color: #555;
}

.price-notes li:last-child {
    border-bottom: none;
}

/* テーブル横スクロール対応 */
.table-wrapper {
    overflow-x: auto;
    margin-bottom: 30px;
}

/* 料金テーブル */
.price-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #CFCCC9;
    margin-bottom: 20px;
    background: #fff;
    text-wrap: nowrap;
}

.price-table thead th {
    background: #EF7D00;
    color: #fff;
    font-weight: bold;
    padding: 15px 10px;
    text-align: center;
    border: 1px solid #CFCCC9;
    font-size: 15px;
    line-height: 1.6;
}

.price-table tbody th {
    background: #FFF5EB;
    font-weight: normal;
    padding: 15px 10px;
    text-align: left;
    border: 1px solid #CFCCC9;
    font-size: 15px;
    line-height: 1.6;
    vertical-align: middle;
}

.price-table tbody td {
    background: #fff;
    padding: 15px 10px;
    text-align: center;
    border: 1px solid #CFCCC9;
    font-size: 15px;
    line-height: 1.6;
    vertical-align: middle;
}

.pricing-page .price-label {
    display: inline-block;
    margin-left: 8px;
    padding: 2px 8px;
    font-size: 12px;
    line-height: 1.4;
    color: #fff;
    background: linear-gradient(135deg, #FF9F1C 0%, #EF7D00 100%);
    border-radius: 9999px;
    font-weight: 700;
    vertical-align: middle;
    white-space: nowrap;
    box-shadow: 0 1px 0 rgba(0,0,0,0.05), inset 0 -1px 0 rgba(0,0,0,0.1);
}

/* 注記行 */
.price-table .note {
    background: #FFFEF8;
    color: #666;
    font-size: 14px;
    text-align: left;
    padding: 12px 15px;
    font-style: italic;
}

/* 注記ブロック（テーブル外の段落用） */
.price-notes-block {
    margin: 8px 0 28px;
}
.price-notes-block .price-note {
    margin: 0 0 0px;
    color: #666;
    font-size: 14px;
    padding-bottom: 0;
}

/* ゼブラストライプ（オプション） */
/* .price-table tbody tr:nth-child(even) td {
    background: #FAFAFA;
} */

/* レスポンシブ対応 */
@media screen and (max-width: 767px) {
    .pricing-page {
        padding: 20px 0 60px;
    }

    .price-nav {
        padding: 20px 15px;
        margin-bottom: 30px;
    }

    .price-nav h2 {
        font-size: 18px;
        margin-bottom: 15px;
    }

    .price-nav ul {
        gap: 8px;
    }

    .price-nav a {
        font-size: 14px;
    }

    .price-section {
        margin-bottom: 50px;
    }

    .price-section h2 {
        font-size: 22px;
        margin-bottom: 20px;
        padding-bottom: 10px;
    }

    .price-section h3 {
        font-size: 18px;
        margin: 30px 0 15px;
        padding-left: 12px;
    }

    .price-notes li {
        padding: 12px 15px;
        font-size: 14px;
    }

    .price-table thead th,
    .price-table tbody th,
    .price-table tbody td {
        padding: 10px 8px;
        font-size: 13px;
        line-height: 1.5;
    }

    .price-table .note {
        font-size: 12px;
        padding: 10px 12px;
    }
    .pricing-page .price-label {
        font-size: 11px;
        padding: 2px 6px;
        margin-left: 6px;
    }
}

@media screen and (max-width: 480px) {
    .price-table thead th,
    .price-table tbody th,
    .price-table tbody td {
        padding: 8px 6px;
        font-size: 12px;
    }

    .price-section h2 {
        font-size: 20px;
    }

    .price-section h3 {
        font-size: 16px;
    }
    .pricing-page .price-label {
        font-size: 10px;
        padding: 2px 6px;
        margin-left: 6px;
    }
}
