@charset "UTF-8";

/* =========================================================
   Contact Lens Page Styles
   姉ヶ崎駅前眼科コンタクトレンズ取扱一覧専用スタイル
   ========================================================= */

/* --- 共通設定 --- */
#contact-lens-page-wrapper {
    color: var(--color-text);
    font-family: var(--font-base);
    background-color: var(--color-white);
    line-height: 1.8;
}

.breadcrumb-wrapper {
    background: var(--color-light-purple);
    padding: 10px 0;
}

.breadcrumb-wrapper .container {
    text-align: center;
}

/* コンテナ設定（重要：これで中央寄せと最大幅を制御します） */
.rj-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

/* --- Hero Section --- */
.rj-hero {
    background: var(--color-primary);
    padding: 80px 0;
    text-align: center;
    color: var(--color-white);
}

.rj-hero-sub {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 15px;
    letter-spacing: 0.05em;
    font-weight: 500;
}

.rj-hero-title {
    font-family: var(--font-head);
    font-size: 2.5rem;
    font-weight: bold;
    margin: 0;
    line-height: 1.3;
}

/* --- Main Content Area --- */
.cl-main-content {
    padding-bottom: 60px;
}

/* --- Titles --- */
.rj-section-01 {
    margin-top: 60px;
}

.rj-main-title {
    font-family: var(--font-head);
    font-size: 1.7rem;
    color: var(--color-primary);
    text-align: center;
    margin: 60px 0 40px;
    position: relative;
    padding-bottom: 15px;
}

.rj-main-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--color-main);
}

.rj-sub-title {
    font-family: var(--font-head);
    font-size: 1.5rem;
    color: var(--color-main);
    border-bottom: 2px solid var(--color-light-purple);
    padding-bottom: 10px;
    margin: 60px 0 25px;
    text-align: center;
}

.rj-text-block {
    margin-bottom: 30px;
}

/* --- Pricing Table Section --- */
.cl-price-section {
    margin-bottom: 60px;
}

.rj-billing-content {
    width: 100%;
}

.rj-billing-desc {
    margin-bottom: 20px;
    text-align: center;
}

/* =========================================================
   Table Styles (Unified with style.css .clinic-time-table)
   ========================================================= */

/* テーブルラッパー (カード風デザイン・横スクロール対応) */
.cl-table-wrapper {
    margin: 30px 0;
    background: #fff;
    border-radius: 12px;
    /* style.css に合わせ 12px */
    box-shadow: 0 4px 20px rgba(115, 96, 163, 0.08);
    /* style.css のシャドウ */
    border: 1px solid #eef2f6;
    /* style.css のボーダー */
    overflow: hidden;
    /* 角丸維持 */
}

/* テーブル本体 */
.cl-price-table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    font-size: 0.95rem;
    min-width: 700px;
    /* 横スクロールさせるための最小幅 */
    background: #fff;
    font-family: var(--font-base);
}

/* ヘッダー行 */
.cl-price-table th {
    background-color: var(--color-pale, #F8F6FC);
    /* style.css 準拠 */
    color: var(--color-primary, #8E78B8);
    /* style.css 準拠 */
    font-weight: 700;
    padding: 15px 10px;
    border-bottom: 2px solid rgba(115, 96, 163, 0.2);
    /* style.css 準拠 */
    border-top: none;
    border-left: none;
    border-right: none;
    /* 縦線を消すスタイル（お好みで border-right: 1px solid rgba(...) を残してもOK） */
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
}

/* 通常セル */
.cl-price-table td {
    padding: 15px 10px;
    border-bottom: 1px solid rgba(115, 96, 163, 0.1);
    /* style.css 準拠 */
    vertical-align: middle;
    color: var(--color-text, #444);
    font-weight: 500;
}

/* 行の背景色 (ストライプ) - style.css にはないが、行数が多いので維持推奨 */
.cl-price-table tr:nth-child(even) {
    background-color: #fafafa;
}

/* カテゴリ列の強調 */
.cl-price-table td.cl-category {
    font-weight: 700;
    color: var(--color-main, #7360A3);
    /* style.css のメインカラー */
    background-color: #fff;
    text-align: center;
    border-right: 1px solid rgba(115, 96, 163, 0.1);
    /* 薄い区切り線 */
}

/* 価格列のスタイル */
.cl-price-table td.text-right {
    text-align: right;
    font-family: 'Roboto', sans-serif;
    /* style.css の .time-main に合わせる */
    font-weight: 700;
    color: var(--color-text);
}

.cl-price-table td.text-center {
    text-align: center;
    color: #999;
}

/* マーカー (※印など) */
.marker-hard {
    color: #e53935;
    /* style.css の .ope-text (赤) に合わせる */
    font-weight: bold;
    margin-right: 3px;
}

/* 注釈テキスト */
.rj-billing-note {
    margin-top: 15px;
    text-align: right;
    font-size: 0.85rem;
    color: var(--color-text-light);
}

.rj-note {
    display: block;
    margin-top: 5px;
}

/* PDFダウンロードボタン */
.cl-pdf-download {
    margin-top: 40px;
    text-align: center;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 30px;
    background-color: var(--color-primary);
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2rem;
    border-radius: 50px;
    transition: transform 0.3s ease, background-color 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    transform: translateY(-3px);
    background-color: var(--color-dark);
    color: #fff;
}

.cl-pdf-note {
    font-size: 0.8rem;
    margin-top: 10px;
    color: #666;
}

/* --- Checklist & Time Box --- */
.rj-check-list {
    margin: 30px 0;
    padding: 25px 30px;
    background-color: var(--color-light);
    border-radius: 8px;
}

.cl-check-list-desc {
    margin-bottom: 1.5em;
}

/* 受付時間ボックス */
.cl-time-box {
    background: #fff3e0;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #ffcc80;
    margin-bottom: 25px;
}

.cl-time-box-title {
    color: #e65100;
    font-size: 1.1em;
    margin-bottom: 10px;
    border-bottom: 1px dashed #ffcc80;
    padding-bottom: 5px;
    margin-top: 0;
    font-weight: bold;
}

.cl-time-box-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.cl-time-box-list li {
    margin-bottom: 5px;
}

/* チェックリスト */
.rj-check-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.rj-check-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    font-weight: bold;
    font-size: 1.05rem;
    color: var(--color-text);
}

.rj-check-list li::before {
    content: '●';
    position: absolute;
    left: 0;
    color: var(--color-secondary);
    font-size: 0.8rem;
    top: 0.4em;
}

/* --- Features Grid --- */
.cl-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 60px;
}

.rj-feature-item {
    background: var(--color-light);
    padding: 25px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    /* 修正：中央揃えに変更 */
    text-align: center;
    /* 修正：テキストも中央揃え */
}

.rj-feature-icon span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: var(--color-primary);
    color: #fff;
    border-radius: 50%;
    font-weight: bold;
}

.rj-feature-item h4 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--color-primary);
    font-weight: bold;
}

.rj-feature-item p {
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.6;
}

/* --- Contact Area --- */
.equipment-contact-area {
    text-align: center;
    margin-top: 60px;
    padding-bottom: 80px;
}

.equipment-contact-text {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

/* Utility */
.pc-hidden {
    display: none;
}

table {
    margin-bottom: 0 !important;
}

/* スクロールヒント (PCでは非表示) */
.table-scroll-hint {
    display: none;
}


/* =========================================================
   Mobile Responsive (SP対応)
   ========================================================= */
@media (max-width: 768px) {

    .rj-container {
        padding: 0 15px;
    }

    /* ヒーローエリア */
    .rj-hero {
        padding: 50px 0;
    }

    .rj-hero-title {
        font-size: 1.8rem;
    }

    .rj-hero-sub {
        font-size: 0.9rem;
    }

    /* タイトル */
    .rj-main-title {
        font-size: 1.4rem;
        margin: 40px 0 30px;
    }

    .rj-sub-title {
        font-size: 1.3rem;
    }

    /* スマホ対応（768px以下）での調整 */
    .cl-table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin-right: -15px;
        margin-left: -15px;
        border-radius: 0;
        box-shadow: none;
        border: none;
        border-top: 1px solid #eef2f6;
        border-bottom: 1px solid #eef2f6;
    }

    .cl-price-table th,
    .cl-price-table td {
        padding: 12px 8px;
        font-size: 0.9rem;
    }

    /* スクロールヒントを表示 (既存のまま維持) */
    .table-scroll-hint {
        display: block;
        font-size: 0.8rem;
        color: var(--color-primary);
        text-align: right;
        margin-bottom: 5px;
        padding-right: 10px;
        font-weight: bold;
    }

    /* --- 特徴グリッド --- */
    .cl-feature-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .rj-feature-item {
        align-items: center;
        text-align: center;
    }

    /* その他 */
    .pc-hidden {
        display: inline;
    }

    .equipment-contact-text {
        font-size: 1rem;
    }

    .btn-primary {
        width: 100%;
        max-width: 300px;
    }

    /* PDFダウンロードボタンの改行防止・最適化 */
    .cl-pdf-download .btn-primary {
        width: 100%;
        max-width: 100%;
        /* 幅制限を解除して画面幅に合わせる */
        white-space: nowrap;
        /* 強制的に1行にする */
        font-size: 1.0rem;
        /* スマホでは文字を少し小さくして収める */
        padding-left: 10px;
        /* 左右の余白を詰める */
        padding-right: 10px;
    }
}