@charset "utf-8";

/* ==========================================================================
   0. Variables & Base Settings (変数・基本設定)
   ========================================================================== */
:root {
    --primary-color: #b88a44;       /* ゴールド系 */
    --primary-dark: #9c7840;
    --primary-light: #dfc89d;
    --text-color: #4a3a29;          /* ブラウン系墨色 */
    --text-light: #66523e;
    --bg-color: #faf8f5;            /* 全体背景 */
    --box-bg: #fdfbf7;              /* ボックス背景（薄いクリーム） */
    --border-color: #e8decb;        /* 薄いベージュ枠線 */
    --red: #cc3333;
}

html, body {
    overflow-x: hidden;
    width: 100%;
}
body {
    background-color: var(--bg-color);
    -webkit-font-smoothing: antialiased;
    font-family: 'Noto Serif JP', serif;
    color: var(--text-color);
    padding-top: 90px; 
}

body.is-fixed {
    overflow: hidden; /* ドロワー開閉時の背景スクロール防止 */
}

a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

/* ==========================================================================
   1. Utilities & Shared Components (共通クラス・ロゴSVG設定)
   ========================================================================== */
.text-primary-custom {
    color: var(--primary-color) !important;
}

.text-gradient-gold {
    background: linear-gradient(135deg, #cda766, #a78044);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* ロゴ用 CSS (SVGをマスクして金色グラデーションを適用) */
.site-logo-link {
    display: inline-block;
    text-decoration: none;
}

.site-logo-svg {
    /* サイズはスマホやPCに合わせて調整してください */
    width: 110px; 
    height: 70px; 
    
    background: linear-gradient(135deg, #cda766, #a78044);
    -webkit-mask-image: url('https://headtherapy.net/w2/wp-content/uploads/2026/06/rogomark.svg');
    -webkit-mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center left; /* ヘッダーでは左寄せ */
    
    mask-image: url('https://headtherapy.net/w2/wp-content/uploads/2026/06/rogomark.svg');
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center left;
    
    transition: opacity 0.3s ease;
}

.site-logo-link:hover .site-logo-svg {
    opacity: 0.8;
}

/* フッター用の微調整（中央寄せ） */
.site-footer-bottom .site-logo-svg {
    -webkit-mask-position: center center;
    mask-position: center center;
    margin: 0 auto;
}

/* ==========================================================================
   2. Header & Global Navigation (ヘッダー)
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0; 
    left: 0; 
    width: 100%;
    z-index: 1000;
    padding: 10px 0;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: background-color 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}

/* ★追加: メニューを開いた時はヘッダーの背景を透明にし、重なりを解決する */
body.is-fixed .site-header {
    background-color: transparent !important;
    box-shadow: none !important;
    pointer-events: none; /* 下にある黒いオーバーレイをクリック可能にする */
}
body.is-fixed .hamburger-btn {
    pointer-events: auto; /* ×ボタンだけはクリック可能にする */
}
body.is-fixed .header-logo {
    opacity: 0; /* メニュー展開中はロゴを隠してスッキリさせる */
}

.header-logo {
    transition: opacity 0.3s ease; /* ★追加 */
}

.header-logo img {
    height: 50px;
    transition: height 0.3s ease;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 25px;
    font-size: 15px;
}

.header-nav a {
    font-weight: 500;
    white-space: nowrap;
}

.header-btn {
    background: linear-gradient(135deg, #c59b58, #a37a3f);
    color: #fff !important;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    border: none;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.2;
    font-size: 14px;
    transition: opacity 0.3s ease;
}

.header-btn:hover {
    opacity: 0.9;
}

.header-btn i {
    margin-bottom: 2px;
}

.header-desc {
    font-size: 13px;
    line-height: 1.6;
    letter-spacing: 0.1em;
    color: var(--text-color);
}

/* ==========================================================================
   3. Hamburger & Drawer Menu (スマホ・タブレット用メニュー)
   ========================================================================== */
.hamburger-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    padding: 0;
    z-index: 1001;
    position: relative;
}

.hamburger-btn:focus { outline: none; }

.hamburger-line {
    display: block;
    width: 35px;
    height: 2px;
    background-color: var(--primary-color);
    margin-bottom: 6px;
    transition: all 0.3s ease;
}

.hamburger-line:nth-child(3) { margin-bottom: 4px; }

.hamburger-text {
    color: var(--primary-color);
    font-size: 11px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
    margin-top: 2px;
}

/* アクティブ（×ボタン）時の動き */
.hamburger-btn.is-active .hamburger-line:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger-btn.is-active .hamburger-line:nth-child(2) { opacity: 0; }
.hamburger-btn.is-active .hamburger-line:nth-child(3) { transform: translateY(-8px) rotate(-45deg); margin-bottom: 6px; }
.hamburger-btn.is-active .hamburger-text { opacity: 0; }

.drawer-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100vh;
    background-color: rgba(0,0,0,0.5);
    z-index: 998;
    opacity: 0; visibility: hidden; transition: all 0.3s ease;
}

.drawer-overlay.is-active { opacity: 1; visibility: visible; }

.drawer-menu {
    position: fixed;
    top: 0; right: -100%;
    width: 300px; max-width: 80%; height: 100vh;
    background-color: var(--bg-color);
    z-index: 999; transition: right 0.3s ease;
    padding: 100px 30px 40px; overflow-y: auto;
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
}

.drawer-menu.is-active { right: 0; }

.drawer-list { list-style: none; padding: 0; margin: 0; }
.drawer-list li { margin-bottom: 15px; }
.drawer-list a {
    display: block; font-size: 16px; padding: 10px 0; border-bottom: 1px dashed var(--border-color);
}
.drawer-list .drawer-btn {
    background: linear-gradient(135deg, #c59b58, #a37a3f);
    color: #fff; padding: 15px; border-radius: 5px; text-align: center; border-bottom: none; margin-top: 20px; font-weight: bold;
}
/* ==========================================================================
   追加：ヘッダーのプルダウンメニュー
   ========================================================================== */
.header-has-child {
    position: relative;
    padding: 10px 0; /* マウスが外れてもすぐに消えないようホバー領域を広げる */
    cursor: pointer;
}

.header-sub-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #fff;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border-radius: 5px;
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    padding: 10px 0;
    border: 1px solid var(--border-color);
}

/* ホバー時の展開アニメーション */
.header-has-child:hover .header-sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(5px);
}

.header-sub-menu a {
    padding: 10px 20px;
    font-size: 13px;
    color: var(--text-color);
    transition: background-color 0.2s ease, color 0.2s ease;
}

.header-sub-menu a:hover {
    background-color: var(--bg-color);
    color: var(--primary-color);
}

/* ==========================================================================
   追加：スマホメニュー（ドロワー）の段下げ
   ========================================================================== */
.drawer-sub-menu {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding-left: 20px;
    margin-top: 5px;
    margin-bottom: 5px;
}

.drawer-sub-menu a {
    border-bottom: none !important;
    padding: 8px 0 !important;
    font-size: 14px !important;
    color: #666;
}

.drawer-sub-menu a::before {
    content: "└ ";
    margin-right: 5px;
    color: #ccc;
    font-size: 12px;
}
/* ==========================================================================
   SNSアイコン 共通スタイル
   ========================================================================== */
.sns-icon-link {
    color: var(--primary-color); /* デフォルトはサロンのゴールド系で馴染ませる */
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.sns-icon-link:hover {
    transform: translateY(-2px); /* ホバー時に少し浮き上がる */
}

/* LINEアイコン ホバー時 */
.sns-icon-link.line-icon:hover {
    color: #06C755; /* LINE公式グリーン */
}

/* Instagramアイコン ホバー時 */
.sns-icon-link.ig-icon:hover {
    /* Instagram風のグラデーションテキストカラー */
    background: -webkit-linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   追加：フッターの段下げ
   ========================================================================== */
/* フッターナビのアイテムを上揃えにして、段下げが綺麗に並ぶようにする */
.footer-nav {
    align-items: flex-start;
}

.footer-sub-menu a {
    font-size: 13px;
    margin-bottom: 5px;
    transition: color 0.3s ease;
}

.footer-sub-menu a:hover {
    color: var(--primary-color) !important;
}

.footer-sub-menu a::before {
    content: "└ ";
    margin-right: 4px;
    color: #ccc;
    font-size: 12px;
}

/* ==========================================================================
   4. CTA Section (全ページ共通 - 3カラムグラデーション版)
   ========================================================================== */
.cta-section {
    background-color: #ebdcc4; /* 全体のベース背景色（ベージュ） */
}

/* --- 左カラム --- */
.cta-bg-left {
    background-image: url('https://headtherapy.net/w2/wp-content/uploads/2026/06/4970637_s.jpg');
    background-size: cover;
    background-position: center right;
}
.cta-gradient-overlay-left {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    /* 左端は透明、右端にいくにつれて完全にベージュになる */
    background: linear-gradient(to right, rgba(235, 220, 196, 0) 0%, rgba(235, 220, 196, 0.2) 30%, #ebdcc4 100%);
}

/* --- 右カラム --- */
.cta-bg-right {
    background-image: url('https://headtherapy.net/w2/wp-content/uploads/2026/06/Gemini_Generated_Image_lbifvclbifvclbif.jpg');
    background-size: cover;
    background-position: center left;
}
.cta-gradient-overlay-right {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    /* 右端は透明、左端にいくにつれて完全にベージュになる */
    background: linear-gradient(to left, rgba(235, 220, 196, 0) 0%, rgba(235, 220, 196, 0.2) 30%, #ebdcc4 100%);
}

/* --- 中央テキストエリア --- */
.cta-content-center {
    background-color: #ebdcc4;
    padding: 70px 15px;
    text-align: center;
}

.cta-sub-title {
    font-size: 15px;
    letter-spacing: 0.1em;
    color: #fff;
    margin-bottom: 10px;
}

.cta-main-title {
    font-size: 36px;
    letter-spacing: 0.1em;
    color: #fff;
    margin-bottom: 30px;
}

/* --- ボタン --- */
.cta-btn {
    padding: 16px 20px;
    border-radius: 6px;
    font-size: 18px;
    font-weight: bold;
    color: #fff !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease, opacity 0.2s ease;
    text-decoration: none !important;
}

.cta-btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.cta-btn i {
    font-size: 20px;
}

.btn-web {
    background: linear-gradient(130deg, #d4a359 0%, #b38b4d 100%);
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.btn-line {
    background: linear-gradient(180deg, #3cd757 0%, #05b42d 100%);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

/* --- レスポンシブ (991px以下) --- */
@media (max-width: 991px) {
    .cta-content-center {
        padding: 50px 15px;
    }
    .cta-main-title {
        font-size: 28px;
    }
    .cta-btn {
        width: 100%;
        padding: 14px 20px;
        font-size: 16px;
    }
}

/* ==========================================================================
   5. Footer
   ========================================================================== */
.site-footer-top {
    background-color: var(--box-bg);
    padding: 40px 0;
    border-top: 1px solid var(--border-color);
}

.contact-area { text-align: left; }
.contact-label { font-size: 13px; color: #8c7355; margin-bottom: 5px; }
.footer-tel { font-size: 34px; color: #4a3419; display: flex; align-items: center; gap: 10px; line-height: 1; margin-bottom: 5px; }
.footer-tel i { color: #b38b4d; font-size: 30px; }
.contact-time { font-size: 13px; color: #66523e; margin-bottom: 0; padding-left: 45px; }

.footer-features { display: flex; justify-content: space-between; align-items: center; height: 100%; }
.feature-box { display: flex; align-items: center; gap: 15px; }
.feature-box i { font-size: 32px; color: #b38b4d; }
.feature-text strong { display: block; font-size: 15px; color: #8c7355; margin-bottom: 2px; }
.feature-text span { font-size: 13px; color: #66523e; display: block; line-height: 1.4; }

.site-footer-bottom { background-color: #ffffff; padding: 40px 0 20px; border-top: 1px solid var(--border-color); text-align: center; }
.footer-nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 25px; margin-bottom: 30px; font-size: 14px; }
.footer-logo { margin-bottom: 20px; }
.footer-logo img { height: 50px; }
.footer-info-text { font-size: 13px; color: var(--text-light); margin-bottom: 20px; line-height: 1.8; }
.copyright { font-size: 12px; color: #999; margin-top: 30px; }

/* ==========================================================================
   6. Global Responsive Adjustments (全体レスポンシブ微調整)
   ========================================================================== */
@media (min-width: 768px) {
    body { padding-top: 130px; }
    .site-header { padding: 15px 0; }
    .header-logo img { height: 60px; }
    .site-logo-svg { width: 160px; height: 100px; }
}
/* PCサイズの下限（992px〜1199px）でのメニューはみ出し対策 */
@media (min-width: 992px) and (max-width: 1199px) {
    .header-nav {
        gap: 12px; /* メニュー間の余白を縮小 */
        font-size: 13px; /* フォントサイズを少し縮小 */
    }
    .header-btn {
        padding: 8px 12px; /* 予約ボタンの余白を縮小 */
        font-size: 12px;
    }
    .site-logo-svg {
        width: 130px; /* ロゴサイズを微縮小 */
        height: 80px;
    }
}

@media (max-width: 991px) {
    .contact-area { text-align: center; }
    .footer-tel { justify-content: center; }
    .contact-time { padding-left: 0; }
    .footer-features { flex-direction: column; align-items: center; gap: 25px; margin-top: 40px; }
    .feature-box { width: 100%; max-width: 260px; justify-content: flex-start; text-align: left; }
}

/* ==========================================================================
   追加：スクロール時のヘッダー縮小（Shrinking Header）
   ========================================================================== */
/* スクロール時のヘッダー全体の余白縮小 */
.site-header.is-scrolled {
    padding: 5px 0;
    background-color: rgba(255, 255, 255, 0.98); /* 少しだけ白を濃くして文字を読みやすく */
    box-shadow: 0 4px 15px rgba(0,0,0,0.08); /* 影を少し強調して浮遊感を出す */
}

/* スクロール時のロゴ縮小（画像版） */
.site-header.is-scrolled .header-logo img {
    height: 40px !important;
}

/* スクロール時のロゴ縮小（SVGマスク版） */
.site-header.is-scrolled .site-logo-svg {
    width: 120px !important;
    height: 60px !important;
}

/* スクロール時の右側「ご予約ボタン」の微縮小（PCでバランスを取るため） */
@media (min-width: 992px) {
    .site-header.is-scrolled .header-btn {
        padding: 6px 15px;
        font-size: 12px;
    }
}