/* =========================================================
   美容＆整体 インターセクション  新HP 共通スタイル
   色を変えたいときは :root の値だけ変えればOK
   ========================================================= */
:root {
  --bg: #faf8f5;          /* ページの背景（生成り） */
  --bg-alt: #f1ede6;      /* 交互の背景 */
  --surface: #ffffff;     /* カード */
  --ink: #2b2b2b;         /* 本文 */
  --ink-soft: #5e5e5e;    /* 補足 */
  --line: #e2ddd4;        /* 罫線 */
  --main: #2f5d5a;        /* 施術室の壁に合わせた深緑 */
  --main-dark: #22443f;
  --main-pale: #e4eeec;
  --accent: #d9336e;      /* ロゴのピンク（ごく少量だけ使う） */
  --line-green: #06c755;  /* LINE公式の色 */
  --radius: 14px;
  --shadow: 0 6px 20px rgba(40, 50, 45, .08);
  --wrap: 1080px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: .03em;
  -webkit-text-size-adjust: 100%;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--main); }
h1, h2, h3 { font-family: "Zen Maru Gothic", "Noto Sans JP", sans-serif; line-height: 1.5; letter-spacing: .05em; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.small { font-size: .85rem; color: var(--ink-soft); }
.center { text-align: center; }

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 248, 245, .96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 12px; height: 64px; }
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand img { width: 40px; }
.brand span { display: flex; flex-direction: column; line-height: 1.3; }
.brand small { font-size: .68rem; color: var(--ink-soft); letter-spacing: .08em; }
.brand strong { font-family: "Zen Maru Gothic", sans-serif; font-size: 1.05rem; color: var(--main-dark); }
.gnav { display: none; }
.gnav a { text-decoration: none; color: var(--ink); font-size: .9rem; padding: 6px 10px; border-radius: 8px; }
.gnav a:hover, .gnav a[aria-current="page"] { background: var(--main-pale); color: var(--main-dark); }
.header-tel { display: none; font-weight: 700; color: var(--main-dark); text-decoration: none; }
.menu-btn {
  border: 1px solid var(--line); background: var(--surface); border-radius: 10px;
  width: 44px; height: 44px; font-size: .7rem; color: var(--main-dark); cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
}
.menu-btn i { display: block; width: 18px; height: 2px; background: var(--main-dark); border-radius: 2px; }
.snav { display: none; border-top: 1px solid var(--line); background: var(--surface); }
.snav.open { display: block; }
.snav a { display: block; padding: 14px 20px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
@media (min-width: 900px) {
  .gnav { display: flex; gap: 2px; }
  .header-tel { display: block; }
  .menu-btn, .snav, .snav.open { display: none; }
}

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 12px 22px; border-radius: 999px;
  font-weight: 700; text-decoration: none; font-size: 1rem; line-height: 1.4;
  border: 2px solid transparent; transition: transform .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-line { background: var(--line-green); color: #fff; }
.btn-main { background: var(--main); color: #fff; }
.btn-ghost { background: var(--surface); color: var(--main-dark); border-color: var(--main); }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }
.btn-row .btn { flex: 1 1 220px; }

/* ---------- ファーストビュー ---------- */
.hero { position: relative; background: var(--main-dark); color: #fff; overflow: hidden; }
.hero-img { position: absolute; inset: 0; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; opacity: .45; }
.hero .wrap { position: relative; padding-top: 56px; padding-bottom: 56px; }
.hero-tag { display: inline-block; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.4); border-radius: 999px; padding: 2px 14px; font-size: .85rem; margin-bottom: 14px; }
.hero h1 { font-size: clamp(1.7rem, 5.6vw, 2.8rem); margin: 0 0 16px; text-shadow: 0 2px 12px rgba(0,0,0,.35); }
.hero-lead { font-size: 1.02rem; max-width: 34em; text-shadow: 0 1px 8px rgba(0,0,0,.4); }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 26px; padding: 0; list-style: none; }
.hero-points li { background: #fff; color: var(--main-dark); border-radius: 8px; padding: 6px 12px; font-weight: 700; font-size: .92rem; }
.hero .btn-row { max-width: 640px; }
.hero .note { font-size: .78rem; opacity: .85; margin-top: 12px; }
@media (min-width: 900px) {
  .hero .wrap { padding-top: 110px; padding-bottom: 110px; }
  .hero-img img { opacity: .55; }
}

/* ---------- セクション共通 ---------- */
section { padding: 64px 0; }
section.alt { background: var(--bg-alt); }
.sec-head { text-align: center; margin-bottom: 36px; }
.sec-head .en { display: block; color: var(--accent); font-size: .78rem; letter-spacing: .25em; font-weight: 700; }
.sec-head h2 { font-size: clamp(1.4rem, 4.4vw, 2rem); margin: 6px 0 10px; color: var(--main-dark); }
.sec-head p { color: var(--ink-soft); margin: 0 auto; max-width: 40em; }

/* ---------- お悩みチェック ---------- */
.checks { display: grid; gap: 10px; grid-template-columns: 1fr; max-width: 820px; margin: 0 auto; padding: 0; list-style: none; }
.checks li { background: var(--surface); border-radius: 10px; padding: 14px 16px 14px 48px; position: relative; box-shadow: var(--shadow); }
.checks li::before {
  content: ""; position: absolute; left: 16px; top: 50%; width: 20px; height: 20px; margin-top: -10px;
  border-radius: 50%; background: var(--main);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='10'/%3E%3C/svg%3E");
}
.checks li::after { content: ""; position: absolute; left: 22px; top: 50%; width: 8px; height: 4px; margin-top: -4px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg); }
@media (min-width: 700px) { .checks { grid-template-columns: 1fr 1fr; } }
.bridge { text-align: center; margin-top: 30px; font-size: 1.08rem; font-weight: 700; color: var(--main-dark); }

/* ---------- 特徴カード ---------- */
.cards { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .cards.three { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.card-body { padding: 20px 20px 22px; }
.card .num { color: var(--accent); font-weight: 700; font-size: .85rem; letter-spacing: .1em; }
.card h3 { margin: 4px 0 10px; font-size: 1.15rem; color: var(--main-dark); }
.card p { margin: 0; font-size: .95rem; }

/* ---------- 写真＋文章（左右） ---------- */
.split { display: grid; gap: 24px; align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); }
@media (min-width: 860px) {
  .split { grid-template-columns: 1fr 1fr; gap: 48px; }
  .split.rev > :first-child { order: 2; }
}
.split h3 { font-size: 1.3rem; color: var(--main-dark); margin-top: 0; }
.split .sec-head h2 { font-size: clamp(1.3rem, 3.2vw, 1.7rem); }

/* ---------- 流れ ---------- */
.flow { list-style: none; margin: 0 auto; padding: 0; max-width: 760px; counter-reset: step; }
.flow li { position: relative; padding: 0 0 26px 64px; counter-increment: step; }
.flow li::before {
  content: counter(step); position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 50%;
  background: var(--main); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center;
}
.flow li::after { content: ""; position: absolute; left: 21px; top: 48px; bottom: 4px; width: 2px; background: var(--line); }
.flow li:last-child::after { display: none; }
.flow h3 { margin: 6px 0 4px; font-size: 1.08rem; color: var(--main-dark); }
.flow p { margin: 0; font-size: .95rem; }

/* ---------- 通い方（3ステップ） ---------- */
.steps { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { background: var(--surface); border-radius: var(--radius); padding: 22px; border-top: 5px solid var(--main); box-shadow: var(--shadow); }
.step:nth-child(2) { border-top-color: #4f8a84; }
.step:nth-child(3) { border-top-color: #8bb8b2; }
.step .when { font-size: .8rem; color: var(--ink-soft); font-weight: 700; }
.step h3 { margin: 2px 0 6px; color: var(--main-dark); font-size: 1.2rem; }
.step .pace { display: inline-block; background: var(--main-pale); color: var(--main-dark); border-radius: 6px; padding: 0 8px; font-size: .88rem; margin-bottom: 8px; }
.callout { background: var(--main-pale); border-radius: var(--radius); padding: 18px 20px; margin-top: 22px; }
.callout strong { color: var(--main-dark); }

/* ---------- 料金表 ---------- */
.price-group { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 8px 20px 18px; margin-bottom: 20px; }
.price-group h3 { color: var(--main-dark); border-bottom: 2px solid var(--main-pale); padding: 12px 0 8px; margin: 0 0 4px; font-size: 1.15rem; }
.price-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.price-row:last-of-type { border-bottom: 0; }
.price-row .name { font-weight: 700; flex: 1 1 12em; }
.price-row .meta { color: var(--ink-soft); font-size: .88rem; }
.price-row .yen { font-weight: 700; font-size: 1.15rem; color: var(--main-dark); white-space: nowrap; margin-left: auto; }
.price-row .desc { flex-basis: 100%; font-size: .88rem; color: var(--ink-soft); margin: 0; }
.price-grid { display: grid; gap: 20px; }
@media (min-width: 860px) { .price-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- お約束 ---------- */
.promise { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .promise { grid-template-columns: 1fr 1fr; } }
.promise div { background: var(--surface); border-radius: var(--radius); padding: 18px 20px; border-left: 5px solid var(--main); }
.promise h3 { margin: 0 0 4px; font-size: 1.05rem; color: var(--main-dark); }
.promise p { margin: 0; font-size: .93rem; }
.warn { margin-top: 18px; padding: 16px 18px; border-radius: var(--radius); background: #fff6f0; border: 1px solid #f1d3bf; font-size: .92rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { background: var(--surface); border-radius: 12px; margin-bottom: 10px; box-shadow: var(--shadow); }
.faq summary { cursor: pointer; list-style: none; padding: 16px 48px 16px 52px; position: relative; font-weight: 700; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; position: absolute; left: 16px; top: 13px; width: 26px; height: 26px; border-radius: 50%; background: var(--main); color: #fff; font-size: .85rem; display: flex; align-items: center; justify-content: center; }
.faq summary::after { content: "＋"; position: absolute; right: 18px; top: 14px; color: var(--main); }
.faq details[open] summary::after { content: "－"; }
.faq .a { padding: 0 20px 18px 52px; margin: 0; font-size: .95rem; }

/* ---------- アクセス ---------- */
.access { display: grid; gap: 24px; }
@media (min-width: 860px) { .access { grid-template-columns: 1.1fr 1fr; } }
.map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); min-height: 300px; }
.map iframe { width: 100%; height: 100%; min-height: 300px; border: 0; display: block; }
.info-table { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.info-table th, .info-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; font-size: .95rem; }
.info-table th { width: 6.5em; background: var(--main-pale); color: var(--main-dark); white-space: nowrap; }
.info-table tr:last-child th, .info-table tr:last-child td { border-bottom: 0; }

/* ---------- 締めのCTA ---------- */
.cta { background: var(--main); color: #fff; text-align: center; }
.cta h2 { font-size: clamp(1.3rem, 4.4vw, 1.9rem); margin: 0 0 10px; }
.cta p { opacity: .92; }
.cta .btn-row { max-width: 720px; margin: 24px auto 0; }
.cta .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.8); }
.cta-qr { display: none; }
@media (min-width: 900px) {
  .cta-qr { display: flex; justify-content: center; align-items: center; gap: 14px; margin-top: 22px; font-size: .9rem; }
  .cta-qr img { width: 110px; border-radius: 8px; background: #fff; padding: 6px; }
}

/* ---------- フッター ---------- */
.site-footer { background: #1f2a28; color: #cfd8d6; padding: 40px 0 110px; font-size: .9rem; }
.site-footer a { color: #fff; }
.foot-grid { display: grid; gap: 20px; }
@media (min-width: 760px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr; } .site-footer { padding-bottom: 40px; } }
.site-footer h3 { color: #fff; font-size: 1rem; margin: 0 0 8px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 4px; }
.copy { margin-top: 26px; font-size: .78rem; opacity: .7; }

/* ---------- スマホ下部の固定ボタン ---------- */
.fixed-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 6px;
  padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.97); border-top: 1px solid var(--line);
}
.fixed-cta a { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 48px; border-radius: 10px; text-decoration: none; font-weight: 700; font-size: .85rem; line-height: 1.25; }
.fixed-cta a small { font-weight: 400; font-size: .68rem; }
.fixed-cta .f-line { background: var(--line-green); color: #fff; }
.fixed-cta .f-tel { background: var(--main); color: #fff; }
.fixed-cta .f-web { background: var(--main-pale); color: var(--main-dark); }
@media (min-width: 760px) { .fixed-cta { display: none; } }

/* ---------- ページ見出し（下層ページ） ---------- */
.page-hero { background: var(--main-dark); color: #fff; position: relative; overflow: hidden; }
.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.page-hero .wrap { position: relative; padding-top: 56px; padding-bottom: 56px; }
.page-hero .en { color: #ffd6e4; font-size: .8rem; letter-spacing: .25em; font-weight: 700; }
.page-hero h1 { font-size: clamp(1.6rem, 5.4vw, 2.6rem); margin: 6px 0 12px; }

/* ---------- コース（スクール） ---------- */
.course { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; position: relative; display: flex; flex-direction: column; }
.course.feature { border: 2px solid var(--main); }
.course .badge { position: absolute; top: -12px; left: 20px; background: var(--accent); color: #fff; border-radius: 999px; padding: 0 12px; font-size: .78rem; font-weight: 700; }
.course h3 { margin: 4px 0 4px; color: var(--main-dark); font-size: 1.2rem; }
.course .term { color: var(--ink-soft); font-size: .88rem; margin-bottom: 8px; }
.course .yen { font-size: 1.5rem; font-weight: 700; color: var(--main-dark); }
.course .yen small { font-size: .8rem; font-weight: 400; }
.course ul { padding-left: 1.2em; margin: 10px 0 0; font-size: .93rem; }

/* ---------- パンくず ---------- */
.crumb { font-size: .8rem; padding: 10px 0; color: var(--ink-soft); }
.crumb a { color: var(--ink-soft); }

/* ---------- お悩み別リンク ---------- */
.symptoms { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
@media (min-width: 860px) { .symptoms { grid-template-columns: repeat(5, 1fr); } }
.symptoms a {
  display: flex; flex-direction: column; background: var(--surface); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); text-decoration: none; color: var(--ink);
}
.symptoms img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.symptoms span { padding: 12px 14px; font-weight: 700; color: var(--main-dark); }
.symptoms span small { display: block; font-weight: 400; font-size: .78rem; color: var(--ink-soft); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.chips a { background: var(--surface); border: 1px solid var(--main); color: var(--main-dark); border-radius: 999px; padding: 6px 16px; text-decoration: none; font-size: .9rem; }
.chips a[aria-current="page"] { background: var(--main); color: #fff; }

/* ---------- 本文（症状別ページ） ---------- */
.prose { max-width: 780px; margin: 0 auto; }
.prose h3 { color: var(--main-dark); font-size: 1.15rem; margin: 28px 0 8px; padding-left: 12px; border-left: 4px solid var(--main); }
.prose ul { padding-left: 1.3em; }
.prose li { margin-bottom: 4px; }
.selfcare { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px 22px; max-width: 780px; margin: 0 auto; }
.selfcare h3 { margin-top: 0; color: var(--main-dark); }
.selfcare ol { padding-left: 1.3em; margin-bottom: 8px; }
.related { max-width: 780px; margin: 0 auto; padding: 0; list-style: none; }
.related li { border-bottom: 1px solid var(--line); }
.related a { display: block; padding: 12px 4px; text-decoration: none; }
.related a::after { content: " ›"; }

/* ---------- 注意書き ---------- */
.disclaimer { font-size: .8rem; color: var(--ink-soft); margin-top: 18px; }
