/* ==========================================
  1. デザイン変数（メンテナンス用）
  ========================================== */
:root {
    /* カラーパレット */
    --primary: #4a2c1a;
    --accent: #d4a574;
    --bg-light: #faf8f5;
    --bg-muted: #e8dfd5;
    --white: #ffffff;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    
    /* 余白のルール */
    --section-space: 60px; 
    --header-height: 90px;

    /* フォントサイズ体系（主流のモダンバランス） */
    --fs-base: 16px;
    --fs-h1: clamp(30px, 6vw, 48px); /* ヒーロータイトル */
    --fs-h2: clamp(22px, 4vw, 26px); /* セクションタイトル */
    --fs-h3: 18px;                   /* カード見出し */
    --fs-sm: 15px;                   /* 補足・説明文 */
}

/* ==========================================
  2. 全体設定
  ========================================== */
html, body {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: 'Noto Serif JP', serif;
    background-color: var(--bg-light);
    color: var(--primary);
    font-size: var(--fs-base);
    line-height: 1.9;
}

/* モバイルメニュー展開時に背景をスクロールさせない */
body.nav-open {
    overflow: hidden;
}

/* コンテンツ幅の固定 */
.content-inner {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 4%;
}

/* ==========================================
  3. ヘッダー（ロゴ・PCナビ・×ボタン）
  ========================================== */
.global-nav {
    background-color: var(--primary);
    height: var(--header-height);
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
}

.nav-container-full {
    width: 100%;
    padding: 0 32px 0 18px; /* 左を少し詰める */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.global-logo img {
    max-height: 32px;       /* 縦方向の上限だけ指定（縦伸び防止） */
    max-width: 140px;       /* 横幅の上限（今くらいのサイズ感） */
    height: auto;
    width: auto;
    display: block;         /* アスペクト比を保ったまま縮小 */
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

/* PCナビ文字：16pxの上品なサイズ */
.nav-links a {
    color: var(--white);
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    letter-spacing: 0.15em;
    transition: var(--transition);
}

.nav-links a.nav-reserve-link {
    background-color: var(--accent);
    color: #2d1b0e;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
}

/* ハンバーガーアイコン */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
    cursor: pointer;
    z-index: 2000;
    width: 30px;
    height: 30px;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 1.5px;
    background-color: var(--white);
    transition: var(--transition);
}

/* メニュー開閉時の「×」変形アニメーション */
body.nav-open .hamburger span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
body.nav-open .hamburger span:nth-child(2) { opacity: 0; transform: translateX(-10px); }
body.nav-open .hamburger span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }

/* ==========================================
  4. ヒーローセクション
  ========================================== */
.hero-section {
    position: relative;
    width: 100%;
    height: 75vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
}

.hero-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(rgba(0,0,0,0.35), rgba(0,0,0,0.35)), 
                url('../img/hero-img.jpg') center/cover no-repeat;
    z-index: -1;
}

/* 「ほどいて、ゆるめる。」サブテキスト */
.hero-title .sub-text {
    font-size: clamp(18px, 3vw, 22px);
    font-weight: 500;
    margin-bottom: 15px;
    letter-spacing: 0.35em;
    display: block;
}

ruby {
    ruby-align: center;
}
  
rt {
    font-size: 0.5em;
    letter-spacing: 0.1em;
    margin-bottom: 0.4em;
    color: #ffffff;
    font-weight: normal;
}
  
.hero-title .main-title {
    font-size: var(--fs-h1);
    font-weight: 500;
    letter-spacing: 0.12em;
    margin-bottom: 25px;
}

/* 共通CTAボタン */
.button-cta {
    display: inline-block;
    background-color: var(--accent);
    color: #2d1b0e !important;
    padding: 16px 55px;
    border-radius: 60px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none !important;
    transition: var(--transition);
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

.button-cta:hover {
    transform: translateY(-3px);
    background-color: #e5b685;
}

/* ==========================================
  5. セクション共通設定
  ========================================== */
section {
    padding: var(--section-space) 0; 
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-title {
    font-size: var(--fs-h2);
    font-weight: 500;
    letter-spacing: 0.15em;
    margin-bottom: 8px;
}

.title-deco {
    width: 40px;
    height: 1.5px;
    background-color: var(--accent);
    margin: 0 auto;
}

/* ==========================================
  6. こだわりセクション（3枚カード）
  ========================================== */
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.about-card {
    text-align: center;
    background: var(--white);
    padding: 45px 30px;
    border-radius: 8px;
}

.about-card .icon {
    width: 50px;
    margin: 0 auto 20px;
}

.about-card h3 {
    font-size: var(--fs-h3);
    margin-bottom: 12px;
}

/* ==========================================
  7. おすすめメニュー
  ========================================== */
.recommended-section {
    background-color: var(--bg-muted);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    justify-items: center;
}

.menu-card {
    position: relative;
    width: 100%;
    max-width: 360px;
    aspect-ratio: 1 / 1;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.menu-img {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    transition: var(--transition);
    z-index: 1;
}

.menu-card:hover .menu-img { transform: scale(1.05); }

.menu-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(transparent 15%, rgba(74, 44, 26, 0.95));
    padding: 25px 25px 40px; 
    display: flex; flex-direction: column; justify-content: flex-end;
    color: var(--white);
    z-index: 2;
}

.menu-overlay h3 { 
    font-size: 20px; 
    margin-bottom: 10px;
    min-height: 1.4em;
    display: flex; align-items: flex-end;
}

.menu-overlay p { 
    font-size: var(--fs-sm);
    opacity: 0.9; 
    margin-bottom: 25px; 
    min-height: 3.2em;
    line-height: 1.6;
}

.menu-footer {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    border-top: 1px solid rgba(255,255,255,0.15);
    padding-top: 20px;
}

.price { color: var(--accent); font-weight: 700; font-size: 19px; }

.more-link { 
    font-size: 12px;
    color: var(--accent);
    text-decoration: none;
}

/* ==========================================
  8. コンセプトセクション
  ========================================== */
.concept-section {
    background-color: var(--primary);
    color: var(--white);
    text-align: center;
    padding: 60px 0;
}

.concept-section h2 { font-size: var(--fs-h2); margin-bottom: 12px; }
.concept-section p { font-size: 16px; opacity: 0.9; margin-bottom: 30px; }

/* ==========================================
  9. フッター
  ========================================== */
.main-footer {
    background-color: var(--primary); /* 茶色 */
    color: var(--white);
    padding: 60px 0 30px; 
}

.footer-grid {
    display: grid;
    grid-template-columns: 2.2fr 1fr 1.2fr;
    gap: 50px;
    margin-bottom: 60px; 
}

/* フッターロゴの設定（PCは左寄せ） */
.footer-logo img {
    max-width: 180px;
    height: auto;
    margin-bottom: 20px;
    display: block;
}

.footer-grid h4 { 
    color: var(--accent); 
    margin-bottom: 15px; 
    font-size: 16px; 
}

.footer-info p, 
.footer-hours p, 
.footer-access p {
    font-size: 14px;
    line-height: 1.8;
}

.copyright {
    text-align: center; 
    font-size: 11px; 
    opacity: 0.6;
    border-top: 1px solid rgba(255,255,255,0.1); 
    padding-top: 30px;
}

/* ==========================================
  10. レスポンシブ対応
  ========================================== */
@media (max-width: 1024px) {
    :root { --section-space: 50px; }
    
    .hamburger { display: flex; }
    
    .nav-links {
        position: fixed; top: 0; right: -100%;
        width: 100%; height: 100vh;
        background-color: rgba(74, 44, 26, 0.85); 
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        flex-direction: column; justify-content: center; align-items: center;
        gap: 35px;
        transition: var(--transition);
    }

    .nav-links a { 
        font-size: 19px; 
        letter-spacing: 0.2em;
        font-weight: 400;
    }

    body.nav-open .nav-links { right: 0; }

    .nav-links a.nav-reserve-link {
        width: 240px;
        text-align: center;
        padding: 16px;
    }

    /* モバイル時：カードとフッターを中央寄せ */
    .card-grid,
    .footer-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
        gap: 40px;
        text-align: center;
    }

    /* フッターロゴを中央寄せ */
    .footer-logo img {
        margin: 0 auto 20px;
    }

    .footer-grid { margin-bottom: 60px; }

    /* おすすめメニュー内は左寄せを維持 */
    .menu-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin: 0 auto;
        gap: 30px;
        text-align: left;
    }
}

/* ==========================================
  11. ファシア詳細セクション（追加分）
  ========================================== */
.fascia-detail-section {
    background-color: var(--white);
    line-height: 2;
}

.section-subtitle {
    font-size: 14px;
    letter-spacing: 0.1em;
    color: var(--accent);
    margin-top: -5px;
}

/* 文章パーツ */
.intro-text, .warning-text, .detox-text {
    max-width: 800px;
    margin: 40px auto;
    text-align: left;
    font-size: var(--fs-sm);
}

/* 画像パーツ（共通） */
.single-img {
    width: 100%;
    max-width: 900px;
    margin: 40px auto;
    border: 1px solid var(--bg-muted);
}
.single-img img {
    width: 100%;
    height: auto;
    display: block;
}
.single-img.small {
    max-width: 500px;
}

/* 効果リスト */
.effect-list {
    max-width: 750px;
    margin: 0 auto 60px;
    padding-left: 20px;
    text-align: left;
}
.effect-list li {
    list-style-type: none;
    position: relative;
    padding-left: 25px;
    margin-bottom: 15px;
    font-size: 15px;
}
.effect-list li::before {
    content: "・";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

/* 施術内容グリッド */
.treatment-title {
    background-color: var(--primary);
    color: var(--white);
    display: inline-block;
    padding: 5px 30px;
    font-size: 18px;
    margin-bottom: 30px;
}

.treatment-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin: 40px 0;
}

.treatment-item img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    margin-bottom: 15px;
}

.treatment-item h4 {
    font-size: 17px;
    color: var(--primary);
    margin-bottom: 10px;
    font-weight: 700;
}

.treatment-item p {
    font-size: 14px;
    line-height: 1.6;
    text-align: left;
}

/* レスポンシブ調整 */
@media (max-width: 768px) {
    .treatment-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .intro-text, .warning-text, .detox-text {
        text-align: justify;
    }
}