/* ========================================
   オプション表組 - 高級ホテル風デザイン
   ======================================== */

/* カテゴリセクション背景色 */
.option-category-section {
    padding: 64px 0;
}

.option-category-section:nth-child(odd) {
    background-color: #f9fafb;
}

.option-category-section:nth-child(even) {
    background-color: #ffffff;
}

/* カテゴリタイトル */
.option-category-title {
    font-family: 'Noto Serif JP', '游明朝', 'Yu Mincho', serif;
    font-size: 36px;
    font-weight: 500;
    color: #1a202c;
    margin-bottom: 32px;
    text-align: center;
    letter-spacing: 0.08em;
}

/* カテゴリリンク */
.option-category-link {
    display: inline-block;
    padding: 14px 40px;
    background-color: transparent;
    color: #4b5563;
    border: 1px solid #d1d5db;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.05em;
    transition: all 0.2s ease;
    margin-bottom: 48px;
}

.option-category-link:hover {
    background-color: #f3f4f6;
    border-color: #9ca3af;
    color: #1a202c;
}

/* コンテナ */
.option-table-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* テーブルラッパー */
.option-table-wrapper {
    background-color: #ffffff;
    overflow-x: auto;
    border: 1px solid #d1d5db;
}

/* テーブル本体 */
.option-table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
}

/* テーブルヘッダー */
.option-table-header {
    background-color: #2d3748;
    color: #ffffff;
}

.option-table-th {
    padding: 24px 32px;
    text-align: left;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-bottom: 2px solid #1a202c;
}

.option-fee-col {
    text-align: right;
}

/* テーブルボディ */
.option-table-row {
    border-bottom: 1px solid #e5e7eb;
    transition: background-color 0.15s ease;
}

.option-table-row:hover {
    background-color: #f9fafb;
}

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

.option-table-td {
    padding: 28px 32px;
    vertical-align: top;
}

/* オプション名セル */
.option-name-cell {
    min-width: 200px;
    white-space: nowrap;
}

.option-name {
    font-size: 16px;
    font-weight: 600;
    color: #1a202c;
    line-height: 1.5;
    margin-bottom: 6px;
}

.option-unit {
    font-size: 13px;
    color: #6b7280;
    font-weight: 400;
    margin-top: 4px;
}

/* 概要セル */
.option-summary-cell {
    min-width: 300px;
}

.option-summary {
    font-size: 15px;
    color: #374151;
    line-height: 1.7;
    font-weight: 400;
}

/* 料金セル */
.option-fee-cell {
    text-align: right;
    min-width: 180px;
}

.option-fee-main {
    margin-bottom: 8px;
}

.option-fee-amount {
    font-size: 24px;
    font-weight: 700;
    color: #1a202c;
    letter-spacing: -0.02em;
}

.option-fee-currency {
    font-size: 16px;
    font-weight: 500;
    color: #4b5563;
    margin-left: 4px;
}

.option-fee-tax {
    font-size: 13px;
    color: #6b7280;
    font-weight: 400;
    margin-bottom: 6px;
}

.option-fee-memo {
    font-size: 12px;
    color: #9ca3af;
    margin-top: 8px;
    font-weight: 400;
}

.option-fee-unknown {
    font-size: 16px;
    font-weight: 600;
    color: #6b7280;
}

/* ========================================
   レスポンシブデザイン
   ======================================== */

/* タブレット (768px以下) */
@media (max-width: 768px) {
    .option-category-section {
        padding: 48px 0;
    }

    .option-category-title {
        font-size: 28px;
        margin-bottom: 24px;
    }

    .option-category-link {
        padding: 12px 32px;
        font-size: 14px;
        margin-bottom: 36px;
    }

    .option-table-container {
        padding: 0 16px;
    }

    .option-table-th {
        padding: 20px 20px;
        font-size: 13px;
    }

    .option-table-td {
        padding: 24px 20px;
    }

    .option-name-cell {
        min-width: 160px;
    }

    .option-summary-cell {
        min-width: 240px;
    }

    .option-fee-cell {
        min-width: 140px;
    }

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

    .option-unit {
        font-size: 12px;
    }

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

    .option-fee-amount {
        font-size: 20px;
    }

    .option-fee-currency {
        font-size: 14px;
    }

    .option-fee-tax {
        font-size: 12px;
    }
}

/* モバイル (480px以下) */
@media (max-width: 480px) {
    .option-category-section {
        padding: 40px 0;
    }

    .option-category-title {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .option-category-link {
        padding: 10px 24px;
        font-size: 13px;
        margin-bottom: 28px;
    }

    .option-table-container {
        padding: 0 12px;
    }

    .option-table-th {
        padding: 16px 12px;
        font-size: 11px;
    }

    .option-table-td {
        padding: 20px 12px;
    }

    .option-name-cell {
        min-width: 120px;
    }

    .option-summary-cell {
        min-width: 200px;
    }

    .option-fee-cell {
        min-width: 120px;
    }

    .option-name {
        font-size: 14px;
        margin-bottom: 4px;
    }

    .option-unit {
        font-size: 11px;
    }

    .option-summary {
        font-size: 13px;
        line-height: 1.6;
    }

    .option-fee-amount {
        font-size: 18px;
    }

    .option-fee-currency {
        font-size: 13px;
    }

    .option-fee-tax {
        font-size: 11px;
    }

    .option-fee-memo {
        font-size: 11px;
    }
}

/* 極小デバイス (360px以下) */
@media (max-width: 360px) {
    .option-category-title {
        font-size: 20px;
    }

    .option-table-th {
        padding: 14px 10px;
        font-size: 10px;
    }

    .option-table-td {
        padding: 18px 10px;
    }

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

    .option-summary {
        font-size: 12px;
    }

    .option-fee-amount {
        font-size: 16px;
    }
}
/* ========================================
   オプション詳細ページ用追加スタイル
   ======================================== */

/* メニューエリア */
.option-lineup-area {
    padding: 80px 20px;
    background-color: #f9fafb;
}

.option-lineup-title {
    font-family: 'Noto Serif JP', '游明朝', 'Yu Mincho', serif;
    font-size: 32px;
    font-weight: 500;
    color: #9ca3af;
    text-align: center;
    margin-bottom: 48px;
    letter-spacing: 0.08em;
}

.option-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.option-card {
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    overflow: hidden;
}

.option-card-header {
    padding: 24px;
    border-bottom: 1px solid #e5e7eb;
}

.option-card-body {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
}

.option-card-info {
    flex: 1;
    min-width: 0;
}

.option-card-title {
    font-size: 20px;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 8px;
}

.option-card-unit {
    font-size: 12px;
    color: #6b7280;
    margin: 0;
}

.option-card-price {
    text-align: right;
    white-space: nowrap;
}

.option-card-price-main {
    font-size: 22px;
    font-weight: 700;
    color: #1a202c;
}

.option-card-price-tax {
    font-size: 13px;
    color: #6b7280;
    margin-top: 4px;
}

.option-card-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.option-card-content {
    padding: 24px;
    background-color: #f9fafb;
}

.option-card-summary {
    font-size: 14px;
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 16px;
}

.option-card-description {
    font-size: 14px;
    color: #4b5563;
    line-height: 1.7;
    white-space: pre-line;
    margin-bottom: 16px;
}

.option-card-note {
    margin-top: 16px;
    padding: 16px;
    background-color: #f3f4f6;
    border: 1px solid #d1d5db;
}

.option-card-note-title {
    font-size: 14px;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 8px;
}

.option-card-note-content {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.6;
    white-space: pre-line;
}

.option-empty-message {
    text-align: center;
    padding: 64px 20px;
}

.option-empty-message p {
    font-size: 16px;
    color: #6b7280;
}

/* 説明セクション */
.option-info-section {
    padding: 64px 20px;
    background-color: #f9fafb;
}

.option-info-container {
    max-width: 1000px;
    margin: 0 auto;
}

.option-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.option-info-card {
    background-color: #ffffff;
    padding: 32px;
    border: 1px solid #d1d5db;
}

.option-info-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 12px;
}

.option-info-card p {
    font-size: 14px;
    color: #4b5563;
    line-height: 1.7;
}

/* 実例エリア */
.option-example-area {
    background-color: #ffffff;
    padding: 64px 20px;
}

.option-example-container {
    max-width: 1200px;
    margin: 0 auto;
}

.option-example-box {
    display: flex;
    gap: 40px;
    margin-bottom: 48px;
    align-items: center;
}

.option-example-box:nth-child(even) {
    flex-direction: row-reverse;
}

.option-example-img {
    flex: 0 0 45%;
}

.option-example-img img {
    width: 100%;
    height: auto;
    display: block;
}

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

.option-example-content h3 {
    font-size: 24px;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 16px;
}

.option-example-content p {
    font-size: 15px;
    color: #4b5563;
    line-height: 1.8;
}

/* レスポンシブ */
@media (max-width: 768px) {
    .option-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .option-example-box {
        flex-direction: column !important;
        gap: 24px;
    }
    
    .option-example-img {
        flex: 0 0 100%;
    }
    
    .option-info-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .option-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .option-card-title {
        font-size: 18px;
    }
    
    .option-card-price-main {
        font-size: 18px;
    }
}

/* ========================================
   オプション共通セクション
   ======================================== */

/* 概要エリア - summaryArea */
.option-summary-area {
    max-width: 1000px;
    margin: 0 auto;
    padding: 64px 20px;
    background-color: #ffffff;
}

.option-summary-area p {
    font-size: 15px;
    color: #4b5563;
    line-height: 1.9;
    text-align: left;
}

/* 詳細説明エリア */
.option-detail-section {
    padding: 64px 20px;
    background-color: #f9fafb;
}

.option-detail-container {
    max-width: 1000px;
    margin: 0 auto;
}

.option-detail-title {
    font-family: 'Noto Serif JP', '游明朝', 'Yu Mincho', serif;
    font-size: 32px;
    font-weight: 500;
    color: #1a202c;
    text-align: center;
    margin-bottom: 48px;
    letter-spacing: 0.05em;
}

.option-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.option-detail-card {
    background-color: #ffffff;
    padding: 32px;
    border: 1px solid #d1d5db;
}

.option-detail-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 16px;
}

.option-detail-card p {
    font-size: 14px;
    color: #4b5563;
    line-height: 1.8;
}

/* サンプル表示エリア - exampleArea */
.option-example-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 64px 20px;
    background-color: #ffffff;
}

.option-example-container {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.option-example-box {
    display: flex;
    gap: 40px;
    align-items: center;
}

.option-example-box:nth-child(even) {
    flex-direction: row-reverse;
}

.option-example-img {
    flex: 0 0 48%;
}

.option-example-img img {
    width: 100%;
    height: auto;
    display: block;
    border: 1px solid #e5e7eb;
}

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

.option-example-content h3 {
    font-size: 24px;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 16px;
}

.option-example-content p {
    font-size: 15px;
    color: #4b5563;
    line-height: 1.8;
}

/* レスポンシブ */
@media (max-width: 768px) {
    .option-summary-area {
        padding: 48px 16px;
    }

    .option-detail-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .option-example-box {
        flex-direction: column !important;
        gap: 24px;
    }

    .option-example-img {
        flex: 0 0 100%;
    }
}

@media (max-width: 480px) {
    .option-summary-area {
        padding: 40px 12px;
    }

    .option-summary-area p {
        font-size: 14px;
    }

    .option-detail-card {
        padding: 20px;
    }
}
