/* メグミヤ 共通スタイル：本文16px基準 */
:root {
  --ink: #1d2b2f;
  --ink-soft: #46565a;
  --paper: #f5f3ee;
  --sand: #e8e2d6;
  --deep: #17363d;
  --deep-2: #0f2a30;
  --brass: #9a7328;
  --brass-soft: #c9a55a;
  --line: #d5cebf;
  --white: #ffffff;
  --alert-bg: #fff7e0;
  --alert-line: #d9b45a;
  --serif: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  --header-h: 64px;
}
* { box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0; font-family: var(--sans); font-size: 1rem; line-height: 1.9;
  color: var(--ink); background: var(--paper); -webkit-text-size-adjust: 100%;
}
img, svg { max-width: 100%; }
a { color: var(--deep); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; }
p { margin: 0 0 1em; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.wrap { width: min(100% - 40px, 960px); margin-inline: auto; }
.narrow { width: min(100% - 40px, 720px); margin-inline: auto; }
.wide { width: min(100% - 40px, 860px); margin-inline: auto; }

/* ---------- ヘッダー・ナビ ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--deep-2); color: var(--white);
  padding-top: env(safe-area-inset-top, 0px);
}
.site-header .bar {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; min-height: var(--header-h);
}
.logo {
  font-family: var(--serif); font-weight: 700; font-size: 1.375rem;
  letter-spacing: .12em; color: var(--white); text-decoration: none;
}

.nav-toggle {
  display: none; align-items: center; gap: 10px;
  background: transparent; border: 1px solid rgba(255,255,255,.5); color: var(--white);
  font: inherit; font-size: 1rem; padding: 8px 14px; cursor: pointer; min-height: 44px;
}
.nav-toggle .bars, .nav-toggle .bars::before, .nav-toggle .bars::after {
  display: block; width: 22px; height: 2px; background: var(--white); content: "";
  transition: transform .2s, opacity .2s;
}
.nav-toggle .bars { position: relative; }
.nav-toggle .bars::before { position: absolute; top: -7px; left: 0; }
.nav-toggle .bars::after { position: absolute; top: 7px; left: 0; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { top: 0; transform: rotate(-45deg); }

.gnav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 0 4px; }
.gnav a { color: #e9e4d8; text-decoration: none; display: block; padding: 10px 12px; }
.gnav a:hover { color: var(--brass-soft); }
.gnav a[aria-current="page"] { color: var(--brass-soft); font-weight: 700; }
.gnav a.cta { background: var(--brass); color: var(--white); font-weight: 700; padding: 10px 20px; margin-left: 8px; }
.gnav a.cta:hover { background: #b08630; color: var(--white); }

/* パソコン：プルダウン */
.gnav .has-sub { position: relative; }
.gnav .sub {
  display: none; position: absolute; top: 100%; left: 0; min-width: 12em;
  background: var(--deep-2); border-top: 2px solid var(--brass); padding: 6px 0;
  flex-direction: column; align-items: stretch; box-shadow: 0 8px 20px rgba(0,0,0,.25);
}
.gnav .has-sub:hover > .sub, .gnav .has-sub:focus-within > .sub { display: flex; }
.gnav .sub a { padding: 10px 18px; white-space: nowrap; }

/* スマホ：ハンバーガー */
@media (max-width: 900px) {
  .js .nav-toggle { display: inline-flex; }
  .gnav { width: 100%; }
  .js .gnav { display: none; }
  .js .gnav.open {
    display: block; max-height: calc(100vh - var(--header-h) - env(safe-area-inset-top, 0px));
    overflow-y: auto; padding-bottom: 16px;
  }
  .gnav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .gnav li { border-top: 1px solid rgba(255,255,255,.14); }
  .gnav a { padding: 15px 4px; font-size: 1.0625rem; }
  .gnav .sub {
    display: block; position: static; box-shadow: none; border: 0; padding: 0 0 8px 16px; background: transparent;
  }
  .gnav .sub li { border-top: 0; }
  .gnav .sub a { padding: 11px 4px; color: #cfd8d5; }
  .gnav .sub a::before { content: "– "; color: var(--brass-soft); }
  .gnav li:has(> a.cta) { border-top: 0; padding-top: 12px; }
  .gnav a.cta { text-align: center; margin: 0; padding: 15px 20px; }
}

/* ---------- ヒーロー・ページ見出し ---------- */
.hero { background: var(--deep); color: var(--white); padding: 72px 0 64px; }
.hero .area { font-size: 1rem; color: var(--brass-soft); margin: 0 0 20px; letter-spacing: .04em; }
.hero h1 {
  font-family: var(--serif); font-weight: 700; font-size: clamp(1.875rem, 5.4vw, 3.25rem);
  line-height: 1.5; margin: 0 0 28px; letter-spacing: .04em;
}
.hero .lead { font-size: 1.125rem; max-width: 34em; color: #dfe6e4; margin-bottom: 32px; }
.hero-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0; border-top: 1px solid rgba(255,255,255,.28); margin: 8px 0 0; }
.hero-facts div { padding: 16px 16px 16px 0; border-bottom: 1px solid rgba(255,255,255,.28); }
.hero-facts dt { color: var(--brass-soft); font-size: 1rem; margin: 0; }
.hero-facts dd { margin: 0; font-weight: 700; font-size: 1.125rem; }
.hero .btn { margin-top: 32px; }

.page-head { background: var(--deep); color: var(--white); padding: 56px 0 48px; }
.page-head h1 { font-family: var(--serif); font-weight: 700; font-size: clamp(1.75rem, 5vw, 2.5rem); line-height: 1.5; margin: 0 0 20px; letter-spacing: .04em; }
.page-head p { font-size: 1.125rem; color: #dfe6e4; margin: 0 0 8px; max-width: 34em; }
.page-head .badge { display: inline-block; margin-top: 12px; padding: 6px 16px; border: 1px solid var(--brass-soft); color: var(--brass-soft); font-weight: 700; }
.crumb { font-size: 1rem; color: #b9c3c0; margin: 0 0 16px; }
.crumb a { color: #e9e4d8; }

.btn {
  display: inline-block; background: var(--brass); color: var(--white); text-decoration: none;
  font-weight: 700; font-size: 1.125rem; padding: 16px 36px; border: 0; cursor: pointer;
}
.btn:hover { background: #b08630; }
.btn.ghost { background: transparent; border: 2px solid var(--brass); color: var(--brass); }
.btn.ghost:hover { background: var(--brass); color: var(--white); }

/* ---------- セクション共通 ---------- */
section { padding: 72px 0; }
section.alt { background: var(--sand); }
.sec-title {
  font-family: var(--serif); font-weight: 700; font-size: clamp(1.5rem, 3.6vw, 2rem); line-height: 1.5;
  margin: 0 0 32px; padding-left: 16px; border-left: 5px solid var(--brass);
}
h3 { font-family: var(--serif); font-size: 1.25rem; line-height: 1.6; margin: 0 0 12px; }

.concerns { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 12px; }
.concerns li { background: var(--white); border: 1px solid var(--line); padding: 16px 20px 16px 52px; position: relative; line-height: 1.7; }
.concerns li::before {
  content: ""; position: absolute; left: 20px; top: 21px; width: 16px; height: 9px;
  border-left: 3px solid var(--brass); border-bottom: 3px solid var(--brass); transform: rotate(-45deg);
}

.reason { padding: 24px 0; border-top: 1px solid var(--line); }
.reason:last-child { border-bottom: 1px solid var(--line); }
.reason p { margin: 0; }

.price-table { width: 100%; border-collapse: collapse; background: var(--white); margin-bottom: 20px; }
.price-table th, .price-table td { padding: 16px 18px; border: 1px solid var(--line); text-align: left; font-size: 1rem; line-height: 1.6; }
.price-table thead th { background: var(--deep); color: var(--white); }
.price-table th.grp { background: var(--sand); font-weight: 700; }
.price-table td.yen { text-align: right; white-space: nowrap; font-weight: 700; font-size: 1.125rem; }
.tag { display: inline-block; background: var(--brass); color: var(--white); font-size: 1rem; line-height: 1.4; padding: 2px 10px; margin-right: 8px; font-weight: 700; }
.notes { list-style: none; padding: 0; margin: 0; }
.notes li { padding-left: 1.2em; text-indent: -1.2em; margin-bottom: 6px; }
.notes li::before { content: "※"; }

.pay { background: var(--alert-bg); border: 2px solid var(--alert-line); padding: 32px 28px; }
.pay h3 { margin-bottom: 16px; }
.pay .main-rule { font-weight: 700; font-size: 1.25rem; line-height: 1.7; margin-bottom: 16px; }
.pay ul { margin: 0 0 16px; padding-left: 1.4em; }
.pay li { margin-bottom: 6px; }
.pay .sub { margin: 0; padding-top: 16px; border-top: 1px dashed var(--alert-line); }

.flow { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; gap: 0; }
.flow li { counter-increment: step; display: grid; grid-template-columns: 48px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: start; }
.flow li::before { content: counter(step); width: 40px; height: 40px; border-radius: 50%; background: var(--deep); color: var(--white); display: grid; place-items: center; font-weight: 700; font-size: 1rem; }
.flow strong { display: block; font-size: 1.125rem; }
.flow span { color: var(--ink-soft); }

.reserve-box { background: var(--white); border: 1px solid var(--line); padding: 36px 28px; text-align: center; }
.reserve-box p { text-align: left; }
.reserve-box .lead { font-family: var(--serif); font-size: 1.25rem; font-weight: 700; line-height: 1.7; text-align: center; }
.reserve-box p.small { color: var(--ink-soft); margin: 20px 0 0; text-align: center; }
.reserve-box .btn { margin-top: 4px; }

.access-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); margin-bottom: 24px; }
.access-card { background: var(--white); border: 1px solid var(--line); padding: 24px; }
.access-card h3 { margin-bottom: 8px; }
.access-card p { margin: 0; }

.news { list-style: none; margin: 0; padding: 0; }
.news li { display: grid; grid-template-columns: 12em 1fr; gap: 4px 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.news time { color: var(--ink-soft); }
.news .cat { color: var(--brass); font-weight: 700; margin-left: 8px; }

/* ---------- セラピスト ---------- */
.t-list { display: grid; gap: 28px; }
.t-card { background: var(--white); border: 1px solid var(--line); display: grid; grid-template-columns: 200px 1fr; }
.t-photo { background: var(--sand); display: grid; place-items: center; padding: 24px; text-align: center; }
.t-photo .ph { width: 120px; height: 120px; border-radius: 50%; background: var(--deep); color: var(--brass-soft); display: grid; place-items: center; font-family: var(--serif); font-size: 1.5rem; font-weight: 700; }
.t-photo .en { display: block; margin-top: 10px; color: var(--ink-soft); }
.t-body { padding: 28px 28px 24px; }
.t-name { font-family: var(--serif); font-size: 1.625rem; font-weight: 700; margin: 0 0 8px; line-height: 1.4; }
.quals { display: flex; flex-wrap: wrap; gap: 6px 8px; margin: 0 0 16px; padding: 0; list-style: none; }
.quals li { background: var(--deep); color: var(--white); padding: 2px 12px; font-weight: 700; }
.quals li.nurse { background: var(--brass); }
.t-catch { font-family: var(--serif); font-size: 1.1875rem; font-weight: 700; line-height: 1.7; margin: 0 0 14px; }
.t-body p { margin-bottom: .9em; }
.tags { display: flex; flex-wrap: wrap; gap: 6px 8px; margin: 16px 0 12px; padding: 0; list-style: none; }
.tags li { border: 1px solid var(--line); background: var(--paper); padding: 2px 12px; }
.area-note { background: var(--paper); border-left: 4px solid var(--brass); padding: 10px 14px; margin: 12px 0; }
.disclaimer { color: var(--ink-soft); margin: 12px 0 0; }

/* ---------- 特徴・よくある質問 ---------- */
.toc { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 0; padding: 0; list-style: none; }
.toc a { display: block; padding: 8px 18px; border: 1px solid rgba(255,255,255,.5); color: var(--white); text-decoration: none; }
.toc a:hover { background: var(--brass); border-color: var(--brass); }

.callout { background: var(--alert-bg); border: 2px solid var(--alert-line); padding: 24px 24px 12px; margin: 28px 0; }
.callout strong.t { display: block; font-size: 1.125rem; margin-bottom: 8px; }
.callout p { margin-bottom: .8em; }

.quote { border-left: 4px solid var(--brass); background: var(--white); padding: 20px 22px 8px; margin: 28px 0 0; }

.tagcloud { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 8px; padding: 0; list-style: none; }
.tagcloud li { background: var(--deep); color: var(--white); padding: 4px 14px; }

.parts { display: grid; gap: 16px; margin: 0 0 28px; }
.part { display: grid; grid-template-columns: 9em 1fr; background: var(--white); border: 1px solid var(--line); }
.part .name { background: var(--deep); color: var(--white); font-weight: 700; padding: 18px 16px; line-height: 1.6; display: flex; align-items: center; }
.part .txt { padding: 18px 20px; }
.part .txt strong { display: block; font-size: 1.0625rem; margin-bottom: 4px; }
.part .txt p { margin: 0; }

.faq-group + .faq-group { margin-top: 56px; }
.faq-group > h2 { margin-bottom: 20px; }
.faq details { background: var(--white); border: 1px solid var(--line); margin-bottom: 10px; }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 56px 18px 62px; position: relative;
  font-weight: 700; line-height: 1.7;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before {
  content: "Q"; position: absolute; left: 18px; top: 16px; width: 30px; height: 30px; border-radius: 50%;
  background: var(--deep); color: var(--white); display: grid; place-items: center; font-family: var(--serif);
}
.faq summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 10px; height: 10px; margin-top: -8px;
  border-right: 3px solid var(--brass); border-bottom: 3px solid var(--brass); transform: rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -3px; }
.faq details[open] summary { border-bottom: 1px solid var(--line); }
.faq .ans { padding: 18px 22px 8px 62px; position: relative; }
.faq .ans::before {
  content: "A"; position: absolute; left: 18px; top: 18px; width: 30px; height: 30px; border-radius: 50%;
  background: var(--brass); color: var(--white); display: grid; place-items: center; font-family: var(--serif); font-weight: 700;
}

/* ---------- フッター ---------- */
footer { background: var(--deep-2); color: #e9e4d8; padding: 48px 0 calc(48px + env(safe-area-inset-bottom, 0px)); text-align: center; }
footer .logo { display: inline-block; margin-bottom: 12px; }
footer .closing { font-family: var(--serif); font-size: 1.125rem; margin-bottom: 24px; }
footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 20px; margin-bottom: 24px; }
footer nav a { color: #e9e4d8; padding: 6px 2px; }
footer small { font-size: 1rem; color: #b9c3c0; }

/* ---------- スマホ ---------- */
@media (max-width: 640px) {
  section { padding: 48px 0; }
  .hero { padding: 48px 0; }
  .price-table th, .price-table td { padding: 14px 12px; }
  .news li { grid-template-columns: 1fr; }
  .pay { padding: 24px 18px; }
  .btn { display: block; text-align: center; }
  .t-card { grid-template-columns: 1fr; }
  .t-photo { padding: 20px; }
  .t-body { padding: 22px 18px 20px; }
  .reserve-box { padding: 28px 18px; }
  .part { grid-template-columns: 1fr; }
  .part .name { padding: 12px 16px; }
  .faq summary { padding: 16px 44px 16px 56px; }
  .faq summary::before { left: 12px; top: 14px; }
  .faq .ans { padding: 16px 16px 6px 56px; }
  .faq .ans::before { left: 12px; top: 16px; }
  .callout { padding: 20px 16px 8px; }
}
