/* 美容室 ミモザ — レトロ・アットホーム（70年代）
   からし・オレンジ・こげ茶・オリーブ。丸と波と太陽のモチーフで、あたたかく元気に */
:root {
  --bg: #FBF3E4;
  --bg-2: #F2D9A6;
  --mustard: #E3A72F;
  --orange: #D9822B;
  --orange-dark: #B5651A;
  --brown: #7A4A2A;
  --olive: #7B8A3E;
  --ink: #3B2A20;
  --muted: #7A6555;
  --line: #E7D2AE;
  --script: "Shrikhand", "Zen Maru Gothic", cursive;
  --jp: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", sans-serif;
  --shadow: 0 8px 0 rgba(122, 74, 42, .18);
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--jp); font-size: 16.5px; line-height: 1.95; letter-spacing: .04em; font-weight: 500; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
h1, h2, h3, p, figure, dl, dd, ul, ol, table { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--olive); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 300; padding: 8px 14px; background: var(--ink); color: #fff; border-radius: 10px; }
.skip:focus { top: 12px; }
.container { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.section { padding: clamp(72px, 9vw, 112px) 0; }
.head { margin-bottom: clamp(30px, 4vw, 46px); }
.head--center { text-align: center; }
.label { font-family: var(--script); font-size: 22px; color: var(--orange); line-height: 1.2; letter-spacing: .02em; }
.h2 { font-weight: 900; font-size: clamp(27px, 3.4vw, 36px); line-height: 1.5; color: var(--brown); margin-top: 4px; }
.h2 + p { margin-top: 16px; color: var(--muted); }
.note { margin-top: 10px; color: var(--muted); font-size: 14.5px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 28px; border-radius: 999px; font-weight: 700; font-size: 16px; text-decoration: none; border: 3px solid var(--brown); cursor: pointer; box-shadow: 0 5px 0 var(--brown); transition: transform .15s, box-shadow .15s; }
.btn:hover { transform: translateY(2px); box-shadow: 0 3px 0 var(--brown); }
.btn--orange { background: var(--orange); color: #fff; }
.btn--line { background: #fff; color: var(--brown); }
.btn--full { width: 100%; }

/* ---------- ヘッダー ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--brown); color: #FFF4DE; }
.header-inner { display: flex; align-items: center; gap: 22px; width: min(1240px, calc(100% - 32px)); margin-inline: auto; min-height: 76px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo svg { width: 50px; height: 50px; }
.logo b { display: block; font-family: var(--script); font-weight: 400; font-size: 28px; line-height: 1; color: var(--mustard); }
.logo small { display: block; font-size: 11.5px; letter-spacing: .2em; margin-top: 2px; }
.gnav { display: flex; gap: 4px; margin-left: auto; }
.gnav a { text-decoration: none; font-weight: 700; font-size: 15px; padding: 8px 14px; border-radius: 999px; }
.gnav a:hover { background: rgba(255, 244, 222, .14); }
.h-call { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; background: var(--mustard); color: var(--ink); font-weight: 900; font-size: 18px; padding: 8px 18px; border-radius: 999px; }
.h-call svg { width: 20px; height: 20px; }

/* ---------- ヒーロー ---------- */
.hero { position: relative; overflow: hidden; padding-top: clamp(30px, 5vw, 60px); padding-bottom: 80px; background: radial-gradient(circle at 85% 30%, #FFE3A8 0 18%, transparent 18.2%), var(--bg); }
.hero-sun { position: absolute; right: -150px; bottom: -110px; width: 400px; height: 400px; }
.hero-sun i { position: absolute; inset: calc(var(--k) * 40px); border-radius: 50%; }
.hero-sun i:nth-child(1) { --k: 0; background: var(--olive); }
.hero-sun i:nth-child(2) { --k: 1; background: var(--mustard); }
.hero-sun i:nth-child(3) { --k: 2; background: var(--orange); }
.hero-sun i:nth-child(4) { --k: 3; background: var(--bg); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 60px); align-items: center; }
.hero-badge { display: inline-flex; align-items: baseline; gap: 8px; background: var(--olive); color: #fff; font-family: var(--script); font-size: 15px; padding: 2px 16px; border-radius: 999px; transform: rotate(-4deg); }
.hero-badge b { font-weight: 400; font-size: 22px; color: var(--bg-2); }
.hero h1 { margin-top: 14px; font-weight: 900; }
.hero h1 .script { display: block; font-family: var(--script); font-weight: 400; font-size: clamp(64px, 9vw, 112px); line-height: 1; color: var(--orange); text-shadow: 4px 4px 0 var(--brown); letter-spacing: 0; }
.hero h1 .jp { display: block; font-size: clamp(25px, 3vw, 34px); line-height: 1.55; color: var(--brown); margin-top: 18px; }
.hero-lead { margin-top: 16px; color: var(--muted); max-width: 30em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-photo { position: relative; justify-self: center; width: min(100%, 520px); }
.frame { display: block; border-radius: 999px 999px 32px 32px; overflow: hidden; border: 8px solid var(--brown); box-shadow: 12px 12px 0 var(--mustard); }
.frame img { width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; }
.stamp { position: absolute; left: -26px; bottom: 34px; width: 116px; height: 116px; border-radius: 50%; display: grid; place-items: center; text-align: center; background: var(--orange); color: #fff; font-family: var(--script); font-size: 17px; line-height: 1.05; border: 4px solid #fff; box-shadow: 0 0 0 4px var(--orange); transform: rotate(-10deg); animation: spin 18s linear infinite; }
@keyframes spin { to { transform: rotate(350deg); } }
.hero-wave { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 70px; }

/* ---------- ふたり ---------- */
.us { background: var(--bg-2); }
.us-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.us-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 32px; border: 6px solid #fff; box-shadow: var(--shadow); }
.cards { display: grid; gap: 14px; margin-top: 22px; }
.card { background: #fff; border-radius: 24px; padding: 20px 22px; border: 3px solid var(--brown); box-shadow: 0 5px 0 var(--brown); }
.card-role { font-size: 12.5px; font-weight: 700; color: var(--olive); letter-spacing: .1em; }
.card h3 { font-weight: 900; font-size: 22px; color: var(--brown); letter-spacing: .1em; }
.card p:not(.card-role) { font-size: 14.5px; margin-top: 6px; color: var(--muted); }

/* ---------- カタログ ---------- */
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 30px; }
.chips button { min-height: 46px; padding: 0 22px; border-radius: 999px; border: 3px solid var(--brown); background: #fff; cursor: pointer; font-weight: 700; font-size: 15px; }
.chips button[aria-pressed="true"] { background: var(--brown); color: #fff; }
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cat-grid li { animation: pop .5s ease both; }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.96); } to { opacity: 1; transform: none; } }
.cat-card { width: 100%; padding: 0; border: 0; background: none; cursor: pointer; text-align: left; }
.cat-card .ph { display: block; position: relative; border-radius: 999px 999px 24px 24px; overflow: hidden; border: 5px solid var(--c, var(--orange)); }
.cat-card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .5s; filter: sepia(.08) saturate(1.05); }
.cat-card:hover img { transform: scale(1.04); }
.cat-card .nm { display: block; margin-top: 12px; font-weight: 900; font-size: 18px; color: var(--brown); }
.cat-card .tg { display: inline-block; font-size: 12px; font-weight: 700; color: #fff; background: var(--c, var(--orange)); padding: 0 12px; border-radius: 999px; }
.cat-info { margin-top: 10px; background: #fff; border-radius: 18px; padding: 12px 16px; font-size: 14px; border: 2px dashed var(--line); }
.cat-info b { color: var(--orange-dark); font-size: 17px; }

/* ---------- 料金 ---------- */
.price { background: #fff; }
.price-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.price-table { width: 100%; border-collapse: collapse; margin-top: 22px; font-size: 16.5px; }
.price-table th, .price-table td { padding: 16px 6px; border-bottom: 2px dotted var(--line); }
.price-table th { text-align: left; font-weight: 700; }
.price-table td { text-align: right; font-weight: 900; font-size: 19px; color: var(--brown); white-space: nowrap; }
.price-table tr.hl th, .price-table tr.hl td { color: var(--orange-dark); }
.price-table tr.hl th::before { content: "★ "; color: var(--mustard); }
.price-note { font-size: 13.5px; color: var(--muted); margin-top: 12px; }
.shave { background: var(--bg); border-radius: 32px; padding: 18px 18px 26px; border: 3px solid var(--brown); }
.shave img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 20px; }
.shave h3 { font-weight: 900; font-size: 20px; color: var(--brown); margin-top: 16px; padding: 0 6px; }
.shave p { font-size: 14.5px; color: var(--muted); margin-top: 6px; padding: 0 6px; }

/* ---------- 家族で予約 ---------- */
.family { background: var(--bg-2); }
.fam-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.fam-photo { margin-top: 24px; }
.fam-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 28px; border: 6px solid #fff; }
.fam-form { background: #fff; border-radius: 32px; padding: clamp(22px, 3vw, 34px); border: 3px solid var(--brown); box-shadow: 0 8px 0 var(--brown); }
.fam-title, .fam-label { font-weight: 900; font-size: 17px; color: var(--brown); }
.fam-label { margin-top: 20px; margin-bottom: 8px; font-size: 15px; }
.members { display: grid; gap: 8px; margin-top: 12px; }
.member { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 18px; background: var(--bg); }
.member .who { font-weight: 900; font-size: 14px; color: #fff; background: var(--c); padding: 2px 12px; border-radius: 999px; white-space: nowrap; }
.member select { width: 100%; min-height: 42px; border-radius: 12px; border: 2px solid var(--line); background: #fff; padding: 0 10px; font: inherit; font-size: 15px; }
.member .rm { width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--line); background: #fff; cursor: pointer; font-size: 16px; line-height: 1; }
.add-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.add-row button { min-height: 42px; padding: 0 16px; border-radius: 999px; border: 2px dashed var(--brown); background: transparent; cursor: pointer; font-weight: 700; font-size: 14px; }
.add-row button:disabled { opacity: .4; cursor: default; }
.fam-sum { margin-top: 16px; padding: 14px 18px; border-radius: 18px; background: var(--brown); color: #FFF4DE; display: flex; flex-wrap: wrap; gap: 4px 24px; font-size: 14px; }
.fam-sum b { font-size: 22px; color: var(--mustard); margin: 0 2px; }
.days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.days button { padding: 6px 0; border-radius: 14px; border: 2px solid var(--line); background: #fff; cursor: pointer; font-size: 11.5px; line-height: 1.4; color: var(--muted); }
.days button b { display: block; font-size: 19px; font-weight: 900; color: var(--ink); }
.days button[aria-checked="true"] { background: var(--orange); border-color: var(--orange); color: #fff; }
.days button[aria-checked="true"] b { color: #fff; }
.days button:disabled { opacity: .4; cursor: default; }
.f { display: block; margin-top: 14px; }
.f > span { display: block; font-weight: 700; font-size: 14px; margin-bottom: 6px; }
.f input { width: 100%; min-height: 52px; padding: 0 16px; border-radius: 14px; border: 2px solid var(--line); background: var(--bg); font-size: 17px; }
.f input:focus, .member select:focus { outline: none; border-color: var(--orange); background: #fff; }
.f .is-invalid { border-color: #C0392B; }
.err { display: block; min-height: 1em; color: #C0392B; font-size: 13px; margin-top: 4px; line-height: 1.6; }
.fam-form .btn { margin-top: 18px; }
.fam-or { text-align: center; font-size: 14px; color: var(--muted); margin-top: 12px; }
.fam-or a { font-weight: 700; color: var(--orange-dark); }
.fam-done { text-align: center; padding: 26px 0; }
.fam-done:focus { outline: none; }
.done-flower { width: 90px; height: 90px; margin: 0 auto; border-radius: 50%; background: radial-gradient(circle, var(--brown) 0 16%, transparent 17%), radial-gradient(circle at 50% 18%, #FFD66B 0 18%, transparent 19%), radial-gradient(circle at 18% 50%, #FFD66B 0 18%, transparent 19%), radial-gradient(circle at 82% 50%, #FFD66B 0 18%, transparent 19%), radial-gradient(circle at 50% 82%, #FFD66B 0 18%, transparent 19%), var(--orange); }
.fam-done h3 { font-weight: 900; font-size: 22px; color: var(--brown); margin-top: 14px; }
.fam-done [data-fam-done] { margin-top: 8px; font-weight: 700; }

/* ---------- はじめての方へ ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.steps li { background: #fff; border-radius: 28px; padding: 26px 20px 22px; text-align: center; border: 3px solid var(--line); }
.steps span { display: grid; place-items: center; width: 54px; height: 54px; margin: 0 auto; border-radius: 50%; background: var(--olive); color: #fff; font-family: var(--script); font-size: 26px; }
.steps li:nth-child(2) span { background: var(--mustard); }
.steps li:nth-child(3) span { background: var(--orange); }
.steps li:nth-child(4) span { background: var(--brown); }
.steps h3 { font-weight: 900; font-size: 18px; color: var(--brown); margin-top: 12px; }
.steps p { font-size: 14px; color: var(--muted); margin-top: 6px; }

/* ---------- お店 ---------- */
.access { background: #fff; }
.access-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.info { margin-top: 20px; }
.info div { display: grid; grid-template-columns: 5.5em 1fr; gap: 12px; padding: 12px 0; border-bottom: 2px dotted var(--line); }
.info dt { font-weight: 900; color: var(--orange-dark); }
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 22px; }
.ct { display: block; text-decoration: none; text-align: center; padding: 14px 10px; border-radius: 20px; font-weight: 900; font-size: 18px; color: #fff; }
.ct small { display: block; font-size: 12px; font-weight: 700; opacity: .9; }
.ct--tel { background: var(--orange); }
.ct--line { background: #3BAA5C; }
.board { background: #3F4A2E; color: #F2EBD9; border-radius: 24px; padding: 26px 26px 22px; border: 10px solid var(--brown); box-shadow: var(--shadow); }
.board li { padding: 10px 0; border-bottom: 1px dashed rgba(242, 235, 217, .3); font-size: 15px; }
.board li:last-child { border-bottom: 0; }
.board b { display: inline-block; background: var(--mustard); color: var(--ink); font-size: 12.5px; padding: 0 10px; border-radius: 999px; margin-right: 8px; }

/* ---------- フッター ---------- */
.site-footer { background: var(--brown); color: #FFF4DE; text-align: center; padding: 50px 20px 30px; font-size: 14px; }
.f-logo { font-family: var(--script); font-size: 40px; color: var(--mustard); line-height: 1.2; }
.demo-note { max-width: 680px; margin: 24px auto 0; padding-top: 16px; border-top: 1px dashed rgba(255, 244, 222, .3); font-size: 12.5px; opacity: .85; }
.sp-bar { display: none; }

.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- レスポンシブ ---------- */
@media (max-width: 1060px) { .gnav { display: none; } .h-call { margin-left: auto; } }
@media (max-width: 880px) {
  .hero-grid, .us-grid, .price-grid, .fam-grid, .access-grid { grid-template-columns: 1fr; }
  .hero-photo { order: -1; width: min(80%, 400px); }
  .hero-sun { display: none; }
  .cat-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .header-inner { min-height: 64px; gap: 10px; }
  .logo svg { width: 42px; height: 42px; }
  .logo b { font-size: 24px; }
  .h-call { font-size: 0; padding: 10px; }
  .h-call svg { width: 22px; height: 22px; }
  .stamp { width: 90px; height: 90px; font-size: 14px; left: -10px; }
  .cat-grid { gap: 12px; }
  .cat-card .nm { font-size: 15.5px; }
  .days { gap: 4px; }
  .days button b { font-size: 16px; }
  .member { grid-template-columns: auto 1fr auto; }
  .steps { grid-template-columns: 1fr; }
  .site-footer { padding-bottom: 104px; }
  .sp-bar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: rgba(251, 243, 228, .97); border-top: 3px solid var(--brown); }
  .sp-bar a { display: flex; align-items: center; justify-content: center; min-height: 54px; border-radius: 999px; font-weight: 900; font-size: 16px; text-decoration: none; }
  .sp-bar a:first-child { background: #fff; border: 3px solid var(--brown); color: var(--brown); }
  .sp-bar a:last-child { background: var(--orange); color: #fff; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .stamp, .cat-grid li { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---- 日本語の改行（全サイト共通・2026-10-17 追加）----
   見出し・ボタンは文節で折り返し（Chrome/Edge）、本文は最後の行に1〜2文字だけ残るのを防ぐ。
   :where() で詳細度を0にしているので、各サイトの個別指定が常に優先される */
:where(h1, h2, h3, h4, h5, h6, dt, th, figcaption, button, label, [class*="lead"]) { word-break: auto-phrase; overflow-wrap: anywhere; text-wrap: balance; }
:where(p, li, dd, td, blockquote) { text-wrap: pretty; line-break: strict; }
:where(time, .nw) { white-space: nowrap; }

/* ---- フッターのナビと営業情報（2026-10-17 追加）---- 色と書体はフッターから受け継ぐ */
.pf-fnav { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 28px; margin: 26px auto 0; padding: 0 16px; }
.pf-fnav a { padding: 6px 0; font-size: 13px; letter-spacing: .12em; text-decoration: none; color: inherit; opacity: .82; transition: opacity .2s; }
.pf-fnav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.pf-finfo { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 22px; margin: 12px auto 0; padding: 0 16px; font-size: 12.5px; line-height: 1.8; opacity: .72; }
.pf-finfo span { white-space: nowrap; }
@media (max-width: 600px) { .pf-fnav { gap: 0 20px; } .pf-finfo { flex-direction: column; align-items: center; gap: 0; } .pf-finfo span { white-space: normal; text-wrap: balance; text-align: center; } }
