@charset "utf-8";

/* --- 1. 基本変数とリセット --- */
:root {
    --primary-color: #244a3d; /* 落ち着いた深い緑 */
    --accent-color: #d97b36;  /* 温かみのあるオレンジ */
    --bg-light: #fafaf8;      /* 優しいオフホワイト */
    --text-main: #333;
    --text-sub: #666;
    --header-green: #55756a;  /* flowヒーローのグリーン */
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-light);
    line-height: 1.8;
}

.container { max-width: 1000px; margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.bg-white { background: #fff; }

/* --- 2. ヘッダー：PC中央寄せ・スマホ最適化 --- */
.header {
    background: #fff;
    height: 80px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.header-inner {
    display: flex;
    justify-content: center; /* PCでは中央に寄せる */
    align-items: center;
    gap: 60px; /* ロゴとメニューの間隔 */
    height: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

.logo { 
    font-family: 'Noto Serif JP', serif; 
    font-size: 1.3rem; 
    flex-shrink: 0;
}

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

.nav ul { display: flex; list-style: none; gap: 40px; }
.nav ul li a { text-decoration: none; color: var(--text-main); font-weight: bold; }

/* ハンバーガーはPCでは非表示 */
.hamburger { display: none; }

/* --- 3. flowページ専用レイアウト --- */
.flow-hero {
    background-color: var(--header-green);
    padding: 80px 0;
    text-align: center;
    color: #fff;
}
.eng-title { display: block; font-size: 1rem; letter-spacing: 0.3em; margin-bottom: 10px; }
.flow-hero h2 { font-family: 'Noto Serif JP', serif; font-size: 2.5rem; }

/* 施術ステップのデザイン */
/* .flow-steps {
    max-width: 800px;
    margin: 0 auto;
}
.step-card {
    display: flex;
    background: #fff;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-radius: 8px;
    overflow: hidden;
}
.step-label {
    background: var(--primary-color);
    color: #fff;
    width: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}
.step-body { padding: 30px; }
.step-body h3 { color: var(--primary-color); margin-bottom: 10px; } */

/* --- 施術の流れ 7ステップ最適化 --- */

.flow-steps {
    max-width: 850px;
    margin: 0 auto;
    position: relative;
}

/* ステップ間の矢印のような線を引く（オプション） */
.flow-steps::before {
    content: "";
    position: absolute;
    left: 60px; /* step-labelの中央 */
    top: 0;
    bottom: 0;
    width: 2px;
    background: #eee;
    z-index: 0;
}

.step-card {
    display: flex;
    background: #fff;
    margin-bottom: 40px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.step-label {
    background: var(--primary-color);
    color: #fff;
    width: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.step-body {
    padding: 35px 40px;
    flex: 1;
}

.step-body h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-family: 'Noto Serif JP', serif;
    font-size: 1.4rem;
}

.step-body p {
    font-size: 1rem;
    color: var(--text-main);
}

.step-body strong {
    color: var(--accent-color);
}

.step-note {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px dashed #eee;
    font-size: 0.9rem;
    color: var(--text-sub);
    font-weight: bold;
}
/* --- 料金表のお得度デザイン追加 --- */

.price-val {
    position: relative;
    padding-bottom: 10px;
}

.per-lesson {
    display: block;
    font-size: 0.8rem;
    color: var(--text-sub);
    font-weight: normal;
    line-height: 1.4;
    margin-top: 5px;
}

.per-lesson strong {
    color: var(--accent-color);
    font-size: 0.85rem;
}

/* 施術の流れを際立たせる */
.highlight-step {
    border: 2px solid var(--primary-color);
}

.recommend-tag {
    background: var(--accent-color);
    color: #fff;
    font-size: 0.75rem;
    font-weight: bold;
    padding: 3px 10px;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 10px;
}

/* スマホ表示での調整 */
@media (max-width: 850px) {
    .price-val {
        text-align: right;
    }
    .per-lesson {
        text-align: right;
    }
}

/* スマホ表示の調整 */
@media (max-width: 850px) {
    .flow-steps::before { display: none; }
    
    .step-card {
        flex-direction: column;
    }
    
    .step-label {
        width: 100%;
        padding: 12px 0;
        font-size: 1rem;
    }
    
    .step-body {
        padding: 25px 20px;
    }
    
    .step-body h3 {
        font-size: 1.25rem;
        text-align: center;
    }
}

/* 対応症状タグ */
.bg-pale { background-color: #fdfaf5; }
.symptom-wrapper { max-width: 900px; margin: 0 auto; }
.symptom-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.symptom-tags span {
    background: #fff;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 8px 15px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: bold;
}
.symptom-tags span.etc { background: var(--primary-color); color: #fff; border: none; }

/* 料金セクション */
.price-container { max-width: 900px; margin: 0 auto; text-align: center; }
.price-main-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}
.price-box {
    background: #fff;
    padding: 30px;
    border: 1px solid #eee;
    border-radius: 10px;
}
.price-box.accent { border: 2px solid var(--accent-color); }
.price-box h3 { color: var(--primary-color); margin-bottom: 20px; font-family: 'Noto Serif JP', serif; }
.price-table { width: 100%; border-collapse: collapse; }
.price-table th, .price-table td { padding: 12px 5px; border-bottom: 1px solid #f0f0f0; text-align: left; }
.price-table td { text-align: right; font-weight: bold; font-size: 1.1rem; }
.price-table .highlight { color: var(--accent-color); font-size: 1.3rem; }
.price-table .separator { border-top: 2px dashed #eee; }
.coupon-note { font-size: 0.8rem; color: var(--text-sub); margin-top: 15px; }

.info-notes { background: #fdfaf5; padding: 25px; border-radius: 5px; text-align: center; border-left: 4px solid var(--accent-color); }
.contact-anytime { margin-top: 10px; font-weight: bold; color: var(--text-main) !important; border-top: 1px solid #eee; padding-top: 10px; }

/* --- 4. 全ページ共通フッター --- */
.footer { background-color: var(--primary-color); color: #fff; padding: 60px 0 20px; margin-top: 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; margin-bottom: 40px; }
.footer-logo { font-family: 'Noto Serif JP', serif; font-size: 1.5rem; font-weight: bold; margin-bottom: 20px; letter-spacing: 0.1em; }
.footer-address { font-style: normal; font-size: 0.9rem; line-height: 1.6; margin-bottom: 10px; opacity: 0.9; }
.footer-tel { font-size: 1.2rem; font-weight: bold; margin-bottom: 10px; }
.footer-tel a { color: #fff; text-decoration: none; }
.footer-time { font-size: 0.85rem; opacity: 0.8; }
.footer-nav-title { font-weight: bold; margin-bottom: 20px; font-size: 1rem; letter-spacing: 0.1em; border-bottom: 1px solid rgba(255,255,255,0.2); display: inline-block; padding-bottom: 5px; }
.footer-nav ul { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 30px; }
.footer-nav a { color: #fff; text-decoration: none; font-size: 0.9rem; opacity: 0.7; transition: 0.3s; }
.footer-nav a:hover { opacity: 1; text-decoration: underline; }
.footer-copy { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; text-align: center; font-size: 0.75rem; opacity: 0.6; }

/* --- 5. モバイル対応（850px以下）ロゴの重なり解消 --- */
@media (max-width: 850px) {
    .header-inner { 
        justify-content: space-between; 
        padding: 0 15px;
        gap: 10px;
    }

    /* ロゴが3行に重ならないように調整 (image_afcfff.pngの修正) */
    .logo { 
        font-size: 1.05rem; /* サイズ調整 */
        flex: 1;           /* 幅を確保 */
        line-height: 1.3;
        margin-right: 5px;
        flex-shrink: 0;
    }
    .logo a {
        white-space: normal; 
        word-break: keep-all; 
    }

    .hamburger {
        display: block;
        width: 30px; height: 24px;
        position: relative; z-index: 1100;
        flex-shrink: 0;
    }
    .hamburger span { position: absolute; width: 100%; height: 2px; background: var(--primary-color); transition: 0.3s; }
    .hamburger span:nth-child(1) { top: 0; }
    .hamburger span:nth-child(2) { top: 11px; }
    .hamburger span:nth-child(3) { top: 22px; }

    .hamburger.active span:nth-child(1) { transform: translateY(11px) rotate(45deg); background: #fff; }
    .hamburger.active span:nth-child(2) { opacity: 0; }
    .hamburger.active span:nth-child(3) { transform: translateY(-11px) rotate(-45deg); background: #fff; }

    .nav {
        position: fixed; top: 0; right: -100%;
        width: 100%; height: 100vh;
        background: var(--primary-color);
        display: flex; align-items: center; justify-content: center;
        transition: 0.4s; z-index: 1050;
    }
    .nav.active { right: 0; }
    .nav ul { flex-direction: column; text-align: center; gap: 20px; }
    .nav ul li a { color: #fff; font-size: 1.5rem; }

    /* レイアウトの縦並び調整 */
    .step-card { flex-direction: column; }
    .step-label { width: 100%; padding: 10px 0; }
    .price-main-grid { grid-template-columns: 1fr; }
    .footer-inner { flex-direction: column; text-align: center; align-items: center; }
    .footer-nav ul { grid-template-columns: 1fr; gap: 15px; }
    .footer-nav-title { margin-top: 20px; }
}

@media (max-width: 480px) {
    .flow-hero h2 { font-size: 1.8rem; }
    .section { padding: 50px 0; }
}