@charset "utf-8";

/* ==========================================================================
   【目次】
   0. 全体共通（アンカーリンク位置調整）
   1. 【初めての方へ】専用スタイル
      1-1. 共通変数・ユーティリティ
      1-2. イントロダクション・タイトル装飾
      1-3. ご来店の流れ (Flow)
      1-4. インフォメーションカード
      1-5. 注意事項 (Warning Box)
      1-6. よくあるご質問 (FAQ Accordion)
      1-7. 店舗情報 (Store Info)
   2. 【メニューページ】専用スタイル
      2-1. 共通変数・タイトル装飾
      2-2. ヒーローセクション
      2-3. お悩みセクション (Trouble)
      2-4. シームレスグラデーション (画像とテキストの境界)
      2-5. カード型チェックリスト
      2-6. メニューカード (Pricing)
      2-7. クロスセルバナー (Cross Sell)
      2-8. メニューページ用レスポンシブ微調整
   3. 【ご予約ページ】専用スタイル
      3-1. Hero Section (Page Header)
      3-2. Step Bar
      3-3. Form & Calendar (Left Column)
      3-4. Sidebar & Price Summary (Right Column)
      3-5. 予約ボタン＆追従（Sticky）
      3-6. 予約確認ボックス
      3-7. CF7のチェックボックス
   ========================================================================== */

/* ==========================================================================
   0. 全体共通（アンカーリンク位置調整）
   ========================================================================== */
/* 他のページから飛んできた際、固定ヘッダーの下に隠れないように手前で止める */
html { scroll-padding-top: 130px; }
@media (max-width: 991px) { html { scroll-padding-top: 120px; } }
@media (max-width: 575px) { html { scroll-padding-top: 90px; } }


/* ==========================================================================
   1. 【初めての方へ】専用スタイル
   ========================================================================== */

/* --- 1-1. 共通変数・ユーティリティ --- */
.page-first-time {
    --ft-gold: #c8a97e;
    --ft-light-gold: #e8dcc8;
    --ft-bg-light: #faf8f5;
    --ft-text: #333333;
}
.page-first-time .text-gold { color: var(--ft-gold); }
.page-first-time .bg-light-beige { background-color: var(--ft-bg-light); }
.page-first-time .border-gold { border-color: var(--ft-gold); }
.page-first-time .border-light-gold { border-color: var(--ft-light-gold); }
.page-first-time .letter-spacing-1 { letter-spacing: 0.1em; }
.page-first-time .serif-font { font-family: "Noto Serif JP", serif; }
.page-first-time .max-w-800 { max-width: 800px; }

/* ボタン用グラデーション */
.page-first-time .bg-gold-gradient {
    background: linear-gradient(135deg, #d4b572 0%, #b89247 100%);
    border: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.page-first-time .bg-gold-gradient:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    color: #fff;
}

/* --- 1-2. イントロダクション・タイトル装飾 --- */
.page-first-time .ft-section-title {
    font-size: 24px;
    color: var(--ft-text);
    letter-spacing: 0.05em;
    margin-bottom: 0;
    font-family: "Noto Serif JP", serif;
}
.page-first-time .ft-title-line {
    display: inline-block;
    width: 60px;
    height: 1px;
    background-color: var(--ft-gold);
    position: relative;
    vertical-align: middle;
}
.page-first-time .ft-title-line::after {
    content: '';
    position: absolute;
    top: -2.5px;
    width: 6px;
    height: 6px;
    background-color: var(--ft-gold);
    transform: rotate(45deg);
}
.page-first-time .ft-title-line.left::after { left: 0; }
.page-first-time .ft-title-line.right::after { right: 0; }

/* ヘッダー直下のゆとり確保 */
.page-first-time .ft-intro {
    padding-top: 80px !important; 
}

@media (max-width: 991px) {
    .page-first-time .ft-title-line { width: 30px; }
    .page-first-time .ft-intro { padding-top: 50px !important; }
}

/* --- 1-3. ご来店の流れ (Flow) --- */
.page-first-time .ft-step-icon {
    width: 90px;
    height: 90px;
}
/* PC表示時の矢印装飾 */
@media (min-width: 992px) {
    .page-first-time .ft-flow-item:not(:last-child)::after {
        content: '\f0da';
        font-family: "Font Awesome 5 Free";
        font-weight: 900;
        position: absolute;
        top: 35%;
        right: -10px;
        color: var(--ft-gold);
        font-size: 20px;
        transform: translateY(-50%);
    }
}
/* スマホ表示時は縦並びのため、ステップ間に余白と下矢印を追加 */
@media (max-width: 991px) {
    .page-first-time .ft-flow-item {
        padding-bottom: 2rem;
    }
    .page-first-time .ft-flow-item:not(:last-child)::after {
        content: '\f0d7';
        font-family: "Font Awesome 5 Free";
        font-weight: 900;
        position: absolute;
        bottom: 0;
        left: 50%;
        color: var(--ft-gold);
        font-size: 20px;
        transform: translateX(-50%);
    }
}

/* --- 1-4. インフォメーションカード --- */
.page-first-time .ft-card { transition: transform 0.3s ease; }
.page-first-time .ft-card:hover { transform: translateY(-5px); }

/* --- 1-5. 注意事項 (Warning Box) --- */
.page-first-time .ft-warning-list { padding-left: 0; }
.page-first-time .ft-warning-list li {
    position: relative;
    padding-left: 1.2rem;
}
.page-first-time .ft-warning-list li::before {
    content: "・";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--ft-text);
}

/* --- 1-6. よくあるご質問 (FAQ Accordion) --- */
.page-first-time .ft-accordion .accordion-button {
    box-shadow: none;
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
}
.page-first-time .ft-accordion .accordion-button:not(.collapsed) {
    color: var(--ft-text);
    background-color: transparent;
    box-shadow: none;
}
.page-first-time .ft-accordion .accordion-button::after {
    background-image: none;
    content: '\f107';
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--ft-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}
.page-first-time .ft-accordion .accordion-button:not(.collapsed)::after {
    transform: rotate(-180deg);
}

/* --- 1-7. 店舗情報 (Store Info) --- */
.page-first-time .ft-store-image-wrap img { transition: transform 0.5s ease; }
.page-first-time .ft-store-image-wrap:hover img { transform: scale(1.03); }
.page-first-time .ft-store-table th {
    color: var(--ft-text);
    font-weight: bold;
}
.page-first-time .ft-store-table td {
    color: var(--ft-text);
    line-height: 1.6;
}


/* ==========================================================================
   2. 【メニューページ】専用スタイル
   ========================================================================== */

/* --- 2-1. 共通変数・タイトル装飾 --- */
.page-menu {
    --menu-gold: #c8a97e;
    --menu-dark-gold: #a37a3f;
    --menu-bg-light: #faf8f5;
    --menu-border: #e8dcc8;
}
.page-menu .text-gold { color: var(--menu-dark-gold); }
.page-menu .bg-gold { background-color: var(--menu-dark-gold); }
.page-menu .bg-light-beige { background-color: var(--menu-bg-light); }
.page-menu .border-light-gold { border-color: var(--menu-border) !important; }
.page-menu .border-gold { border-color: var(--menu-gold) !important; }

.page-menu .menu-section-title {
    font-size: 1.5rem;
    color: #333;
    font-family: "Noto Serif JP", serif;
    margin-bottom: 0;
}
.page-menu .title-line {
    display: inline-block;
    width: 40px;
    height: 1px;
    background-color: var(--menu-gold);
    position: relative;
    vertical-align: middle;
}
.page-menu .title-line::after {
    content: '';
    position: absolute;
    top: -2.5px;
    width: 6px;
    height: 6px;
    background-color: var(--menu-gold);
    transform: rotate(45deg);
}
.page-menu .title-line.left::after { left: -3px; }
.page-menu .title-line.right::after { right: -3px; }

/* --- 2-2. ヒーローセクション --- */
.menu-hero {
    background-color: #eee;
    background-size: cover;
    background-position: center;
    height: 500px;
    /* ▼ ヘッダー直下のゆとり確保 ▼ */
    padding-top: 80px; 
}
.menu-hero-seitai {
    background-image: url('https://headtherapy.net/w2/wp-content/uploads/2026/06/C2F8C03C-FC00-4FA3-8E95-FEC1EB419D8C-1.jpg');
}
.menu-hero-sleep {
    background-image: url('https://headtherapy.net/w2/wp-content/uploads/2026/06/3EA33BDF-FEE5-488D-ABEA-37E7A4BACD18.jpg');
}
.menu-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(90deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.6) 50%, rgba(255,255,255,0) 100%);
}
.menu-hero-content {
    position: relative;
    z-index: 2;
}
.sleep-hero-badge { width: 70px; }
.sleep-hero-badge .icon-circle { width: 50px; height: 50px; }
.sleep-hero-badge .icon-circle img{ max-width: 50px; }

/* --- 2-3. お悩みセクション (Trouble) --- */
.trouble-icon-wrap {
    width: 80px;
    height: 80px;
    border: 1px solid var(--menu-border);
    border-radius: 50%;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
}
@media (min-width: 992px) {
    .trouble-icon-wrap { width: 100px; height: 100px; }
}

/* --- 2-4. シームレスグラデーション (画像とテキスト境界) --- */
.feature-row .image-col { position: relative; }
.feature-row .image-col::after {
    content: '';
    position: absolute;
    pointer-events: none;
}
@media (min-width: 992px) {
    .feature-row .image-col.fade-right::after {
        top: 0; right: 0; bottom: 0;
        width: 35%;
        background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
    }
    .feature-row .image-col.fade-left::after {
        top: 0; left: 0; bottom: 0;
        width: 35%;
        background: linear-gradient(to left, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
    }
}
@media (max-width: 991px) {
    .feature-row .image-col::after {
        bottom: 0; left: 0; right: 0;
        height: 30%;
        background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
    }
}

/* --- 2-5. カード型チェックリスト --- */
.feature-checklist-card .checklist-item span { display: inline-block; }
.checklist-sep-vertical {
    position: absolute;
    top: 50%; left: 0;
    transform: translateY(-50%);
    width: 1px;
    height: 40px;
    background-color: var(--menu-border);
}
@media (max-width: 767px) {
    .checklist-sep-horizontal { opacity: 0.6; }
}

/* --- 2-6. メニューカード (Pricing) --- */
.menu-card { transition: transform 0.3s ease, box-shadow 0.3s ease; }
.menu-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.1) !important;
}
.menu-number {
    position: absolute;
    top: 0; left: 0;
    width: 40px; height: 40px;
    font-family: 'Times New Roman', serif;
    font-size: 1.2rem;
    z-index: 10;
}

/* --- 2-7. クロスセルバナー (Cross Sell) --- */
.menu-cross-sell { transition: opacity 0.3s ease; }
.menu-cross-sell:hover { opacity: 0.8; }

/* --- 2-8. メニューページ用レスポンシブ微調整 (991px以下) --- */
@media (max-width: 991px) {
    .menu-hero {
        height: auto;
        /* タブレット・スマホ時のゆとり確保（上の余白と下の余白） */
        padding: 50px 0 40px; 
    }
    .menu-hero-content {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }
    .menu-hero::before {
        background: rgba(255,255,255,0.85); 
    }
    .page-menu .menu-section-title { font-size: 1.25rem; }
    .page-menu .title-line { width: 20px; }
}


/* ==========================================================================
   3. 【ご予約ページ・フォーム共通】専用スタイル
   ========================================================================== */

/* --- 3-1. Hero Section (Page Header) --- */
.hero-section {
    background-image: url('https://headtherapy.net/w2/wp-content/uploads/2026/06/C2F8C03C-FC00-4FA3-8E95-FEC1EB419D8C-1.jpg');
    background-size: cover; 
    background-position: center; 
    padding: 60px 0; 
    position: relative; 
    z-index: 1;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.7) 40%, rgba(255,255,255,0.1) 100%);
    z-index: -1;
}

.hero-section > .container,
.hero-section > div {
    position: relative;
    z-index: 2;
}

.breadcrumb-wrap { font-size: 13px; margin-bottom: 20px; color: #66523e; }
.hero-title { font-size: 42px; letter-spacing: 0.1em; margin-bottom: 20px; color: #4a3419; }
.hero-subtitle { font-size: 18px; letter-spacing: 0.05em; margin-bottom: 10px; }

@media (max-width: 991px) {
    .hero-section { padding: 50px 0; }
    .hero-section::after {
        background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.75) 50%, rgba(255,255,255,0.1) 100%);
    }
    .hero-title { font-size: 30px; margin-bottom: 15px; }
    .hero-subtitle { font-size: 16px; }
}

@media (max-width: 575px) {
    .hero-section { padding: 40px 0; }
    .hero-title { 
        font-size: 24px;
        letter-spacing: 0.05em;
        word-break: keep-all;
        overflow-wrap: break-word;
    }
    .hero-subtitle { font-size: 14px; margin-bottom: 10px; }
    .hero-section p { font-size: 13px !important; line-height: 1.8; }
}

/* --- 3-2. Step Bar (全ページ共通) --- */
.step-bar-container { margin: 40px auto 60px; max-width: 700px; padding: 0 15px; } 
.step-list { 
    display: flex; justify-content: space-between; align-items: flex-start; 
    list-style: none; padding: 0; margin: 0; position: relative;
}
.step-list::before {
    content: ''; position: absolute; top: 20px; left: 15%; right: 15%;
    height: 1px; background: #dcdcdc; z-index: 1;
}
.step-item { text-align: center; flex: 1; position: relative; z-index: 2; }
.step-item::after { display: none; }

.step-num { 
    display: inline-flex; justify-content: center; align-items: center; 
    width: 40px; height: 40px; border-radius: 50%; 
    border: 2px solid #cccccc; background: #faf8f5; color: #888888; 
    font-size: 18px; font-weight: bold; font-family: 'Times New Roman', serif; margin-bottom: 10px; 
    position: relative; z-index: 2;
}
.step-item.active .step-num { border-color: #a37a3f; background: #a37a3f; color: #fff; }
.step-text { font-size: 13px; font-weight: bold; color: #999999; letter-spacing: 0.05em; }
.step-item.active .step-text { color: #a37a3f; }

/* --- 3-3. インラインカレンダー専用スタイル --- */
.flatpickr-calendar.inline {
    width: 100% !important; box-shadow: none !important; border: none !important;
    background: transparent !important; padding: 0;
}
.flatpickr-innerContainer, .flatpickr-rContainer, .dayContainer, .flatpickr-days { width: 100% !important; }
.dayContainer { min-width: 100% !important; max-width: 100% !important; }
.flatpickr-months .flatpickr-month { color: #4a3419; fill: #4a3419; }
.flatpickr-current-month .flatpickr-monthDropdown-months { font-weight: bold; }
.flatpickr-weekday { color: #4a3419; font-weight: bold; font-size: 13px; letter-spacing: 0.1em; }

.flatpickr-day {
    width: calc(14.28% - 4px) !important; max-width: calc(14.28% - 4px) !important;
    height: 55px !important; line-height: normal !important;
    display: flex !important; flex-direction: column; align-items: center; justify-content: center;
    border-radius: 4px !important; border: 1px solid transparent !important; margin: 2px !important; transition: all 0.2s ease;
}

.flatpickr-day.is-available-day { background-color: #ffffff !important; border-color: #e2d7c1 !important; color: #4a3419 !important; cursor: pointer; }
.flatpickr-day.is-available-day .fp-mark { color: #ab854b; }
.flatpickr-day.is-available-day:hover { border-color: #ab854b !important; background-color: #fdfbf7 !important; }
.flatpickr-day.is-disabled-day { background-color: #f9f9f9 !important; color: #cccccc !important; border-color: #eeeeee !important; cursor: not-allowed; }
.flatpickr-day.is-disabled-day .fp-mark { color: #dddddd; }
.flatpickr-day.selected, .flatpickr-day.selected:hover { background-color: #ab854b !important; border-color: #ab854b !important; color: #ffffff !important; }
.flatpickr-day.selected .fp-mark { color: #ffffff !important; }
.fp-date { font-size: 15px; font-weight: bold; font-family: 'Times New Roman', serif; }
.fp-mark { font-size: 12px; margin-top: 4px; line-height: 1; }

#calendar-wrapper { position: relative; }
#calendar-overlay {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(250, 248, 245, 0.8);
    backdrop-filter: blur(2px); z-index: 10; display: flex; align-items: center; justify-content: center;
    transition: opacity 0.3s; border-radius: 4px;
}
#calendar-overlay.is-hidden { opacity: 0; pointer-events: none; }
.overlay-text { background: #ab854b; color: #ffffff; padding: 10px 25px; border-radius: 30px; font-weight: bold; font-size: 14px; box-shadow: 0 4px 10px rgba(0,0,0,0.1); }

/* --- 3-4. オプション＆時間枠ボタン専用スタイル --- */
.option-label-box { transition: all 0.2s ease; }
.option-label-box:hover { border-color: #ab854b !important; background-color: #fdfbf7 !important; }

.time-slot-btn {
    border: 1px solid #e2d7c1 !important; background-color: #ffffff !important; color: #4a3419 !important; font-size: 15px; transition: all 0.2s ease;
}
.time-slot-btn:hover { border-color: #ab854b !important; background-color: #fdfbf7 !important; }
.time-slot-btn.is-selected { background-color: #ab854b !important; border-color: #ab854b !important; color: #ffffff !important; }
.time-slot-btn.is-disabled { background-color: #f9f9f9 !important; color: #cccccc !important; border-color: #eeeeee !important; cursor: not-allowed; }

/* --- 3-5. 予約ボタン＆追従（Sticky） --- */
#submitBtn { background-color: #a37a3f !important; color: #ffffff !important; border: none; }
#submitBtn:disabled { background-color: #f0f0f0 !important; color: #bbbbbb !important; cursor: not-allowed; box-shadow: none !important; opacity: 1 !important; }

#cf7-submit-btn {
    background-color: #a37a3f !important;
    color: #ffffff !important;
    border: none !important;
    transition: background-color 0.2s ease;
}
#cf7-submit-btn:hover {
    background-color: #8f6831 !important;
    color: #ffffff !important;
}

html, body, main, #wrapper, #PageMainContent, .page-reserve-contact, .reserve-section, .reserve-dummy-wrap { overflow: visible !important; }
.reserve-dummy-wrap .row.align-items-start { align-items: stretch !important; }
.summary-sticky {
    position: -webkit-sticky !important; position: sticky !important; top: 120px !important;
    z-index: 100; margin-bottom: 2rem; will-change: transform;
}

/* --- 3-6. 予約確認ボックス --- */
.booking-confirm-box {
    background-color: #fdfbf7; 
    border: 1px solid #e2d7c1; 
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 3rem;
}
.booking-confirm-row {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #e2d7c1;
    padding-bottom: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}
.booking-confirm-row:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
    align-items: center;
}
.booking-confirm-label { color: #6c757d; width: 80px; flex-shrink: 0; }
.booking-confirm-value { font-weight: bold; color: #212529; text-align: right; }

/* --- 3-7. CF7のチェックボックスのレイアウト調整 --- */
.custom-cf7-checkbox-wrap .wpcf7-list-item {
    display: inline-block;
    margin-right: 1.5rem;
    margin-bottom: 0.5rem;
}
.custom-cf7-checkbox-wrap .wpcf7-list-item-label {
    margin-left: 0.3rem;
    color: #212529;
    cursor: pointer;
}
.custom-cf7-checkbox-wrap input[type="checkbox"] {
    cursor: pointer;
}