/* ヘアーサロン つむぎ — 地域密着・親しみ系
   生成り・ひまわり色・若葉色。大きめの文字とはっきりした色で「読みやすい・わかりやすい」 */
:root {
  --bg: #FFFCF5;
  --bg-2: #FFF3DC;
  --orange: #F5A54A;
  --orange-dark: #C47A1E;
  --green: #7CB66D;
  --green-dark: #4F8A43;
  --wood: #C79A6B;
  --text: #4A3F35;
  --muted: #7A6D60;
  --line: #EADFCB;
  --white: #FFFFFF;
  --jp: "M PLUS Rounded 1c", "Hiragino Maru Gothic ProN", "Yu Gothic", sans-serif;
  --en: "Quicksand", "M PLUS Rounded 1c", sans-serif;
  --radius: 22px;
  --shadow: 0 10px 28px -18px rgba(122, 90, 50, .45);
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--jp); font-size: 17px; line-height: 1.9; letter-spacing: .03em; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
h1, h2, h3, p, figure, dl, dd, ul, ol, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--green); 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(--text); color: #fff; border-radius: 12px; }
.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(32px, 4vw, 48px); }
.head-en { font-family: var(--en); font-weight: 700; font-size: 15px; color: var(--orange-dark); letter-spacing: .12em; display: inline-flex; align-items: center; gap: 8px; }
.head-en::before { content: ""; width: 20px; height: 20px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 60'%3E%3Cpath d='M8 52C10 26 26 10 52 8 50 34 34 50 8 52z' fill='%237CB66D'/%3E%3C/svg%3E") center / contain no-repeat; }
.head h2 { font-weight: 800; font-size: clamp(26px, 3.4vw, 36px); line-height: 1.5; margin-top: 4px; }
.head p:not(.head-en) { margin-top: 10px; color: var(--muted); font-size: 16px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 58px; padding: 0 32px; border-radius: 999px; border: 0; font-weight: 800; font-size: 17px; cursor: pointer; text-decoration: none; transition: transform .2s, box-shadow .2s, background .2s; }
.btn--orange { background: var(--orange); color: #fff; box-shadow: 0 5px 0 var(--orange-dark); }
.btn--orange:hover { transform: translateY(2px); box-shadow: 0 3px 0 var(--orange-dark); }
.btn--white { background: #fff; border: 2px solid var(--line); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 252, 245, .95); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { width: min(1200px, calc(100% - 32px)); margin-inline: auto; height: 80px; display: flex; align-items: center; gap: 18px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.logo svg { width: 46px; height: 46px; flex: none; }
.logo span { font-weight: 800; font-size: 26px; line-height: 1.1; display: flex; flex-direction: column; }
.logo small { font-size: 12px; color: var(--muted); font-weight: 700; }
.gnav { display: flex; gap: 2px; }
.gnav a { text-decoration: none; font-size: 15px; font-weight: 700; padding: 8px 12px; border-radius: 12px; }
.gnav a:hover { background: var(--bg-2); }
.tel-btn { display: flex; align-items: center; gap: 8px; text-decoration: none; padding: 6px 14px; border-radius: 14px; background: var(--bg-2); }
.tel-btn svg { width: 26px; height: 26px; fill: var(--green-dark); }
.tel-btn span { display: flex; flex-direction: column; line-height: 1.2; font-family: var(--en); font-weight: 700; font-size: 20px; }
.tel-btn small { font-family: var(--jp); font-size: 11px; color: var(--muted); }
.web-btn { min-height: 52px; padding: 0 20px; border: 0; border-radius: 14px; background: var(--orange); color: #fff; font-weight: 800; cursor: pointer; box-shadow: 0 4px 0 var(--orange-dark); }
.web-btn:hover { transform: translateY(2px); box-shadow: 0 2px 0 var(--orange-dark); }

/* ---------- hero ---------- */
.hero { overflow-x: clip; padding: clamp(36px, 5vw, 64px) 0 clamp(48px, 6vw, 80px); background: radial-gradient(circle at 85% 20%, #FFE7BF 0, transparent 40%), radial-gradient(circle at 10% 90%, #E5F2DD 0, transparent 35%); }
.hero-inner { width: min(1200px, calc(100% - 40px)); margin-inline: auto; display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.hero-status { display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px; border-radius: 999px; background: #fff; border: 2px solid var(--line); font-size: 15px; }
.hero-status span { width: 10px; height: 10px; border-radius: 50%; background: #BBB; }
.hero-status.is-open span { background: #3CB371; box-shadow: 0 0 0 4px rgba(60, 179, 113, .2); }
.hero h1 { font-weight: 800; font-size: clamp(34px, 4.6vw, 54px); line-height: 1.45; margin: 18px 0 16px; }
.hero h1 em { font-style: normal; color: var(--orange-dark); background: linear-gradient(transparent 65%, #FFE1A8 65%); }
.hero-lead { color: var(--muted); }
.hero-points { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.hero-points li { display: flex; align-items: center; gap: 6px; padding: 8px 14px; background: #fff; border-radius: 14px; font-size: 15px; font-weight: 700; box-shadow: var(--shadow); }
.hero-points svg { width: 22px; height: 22px; fill: none; stroke: var(--green-dark); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hero-photo { position: relative; }
.hero-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 40px 40px 40px 140px; box-shadow: var(--shadow); }
.leaf { position: absolute; width: 70px; }
.leaf-1 { right: -16px; top: -22px; transform: rotate(10deg); }
.leaf-2 { left: 18px; bottom: -26px; width: 52px; transform: rotate(-60deg); }

/* ---------- news ---------- */
.news { margin-top: -20px; }
.news-box { display: grid; grid-template-columns: 140px 1fr; gap: 20px; background: #fff; border-radius: var(--radius); padding: 22px 28px; box-shadow: var(--shadow); }
.news-title { font-size: 18px; font-weight: 800; color: var(--green-dark); }
.news-list li { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 6px 0; font-size: 15px; }
.news-list li + li { border-top: 1px dashed var(--line); }
.news-list time { font-family: var(--en); font-weight: 700; color: var(--muted); }

/* ---------- first ---------- */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.flow li { position: relative; background: #fff; border-radius: var(--radius); padding: 30px 20px 22px; box-shadow: var(--shadow); text-align: center; }
.flow li:not(:last-child)::after { content: ""; position: absolute; right: -14px; top: 50%; border: 10px solid transparent; border-left-color: var(--orange); transform: translateY(-50%); z-index: 1; }
.flow-no { position: absolute; left: 50%; top: -20px; transform: translateX(-50%); width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--orange); color: #fff; font-family: var(--en); font-weight: 700; font-size: 20px; }
.flow h3 { font-size: 19px; font-weight: 800; }
.flow p { font-size: 15px; color: var(--muted); margin-top: 6px; line-height: 1.8; }
.first-photo { margin: 40px auto 0; max-width: 760px; }
.first-photo img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); }
.first-photo figcaption { text-align: center; font-size: 15px; color: var(--muted); margin-top: 10px; }

/* ---------- price ---------- */
.price { background: var(--bg-2); }
.price-tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 18px; }
.price-tabs button { min-height: 60px; border: 2px solid var(--line); border-radius: 16px; background: #fff; font-weight: 800; font-size: 19px; cursor: pointer; transition: background .2s, color .2s; }
.price-tabs button[aria-selected="true"] { background: var(--green); border-color: var(--green); color: #fff; }
.price-panel { background: #fff; border-radius: var(--radius); padding: 10px 28px; box-shadow: var(--shadow); }
.price-list li { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 18px 0; border-bottom: 2px dotted var(--line); }
.price-list li:last-child { border-bottom: 0; }
.price-list span { font-size: 18px; font-weight: 700; }
.price-list b { font-family: var(--en); font-size: 30px; color: var(--orange-dark); white-space: nowrap; }
.price-list small { font-family: var(--jp); font-size: 15px; margin-left: 2px; color: var(--text); }
.price-note { padding: 14px 0 18px; font-size: 15px; color: var(--muted); border-top: 2px dotted var(--line); }

/* ---------- staff ---------- */
.staff-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.staff-card { background: #fff; border-radius: var(--radius); padding: 16px 16px 22px; box-shadow: var(--shadow); }
.staff-card figure { border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 4.2; }
.staff-card img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.bubble { position: relative; margin: -26px 12px 0; padding: 12px 16px; background: var(--bg-2); border: 2px solid var(--orange); border-radius: 16px; font-size: 15px; font-weight: 700; line-height: 1.6; z-index: 1; }
.bubble::after { content: ""; position: absolute; left: 28px; top: -12px; border: 10px solid transparent; border-bottom-color: var(--orange); border-top: 0; }
.staff-card h3 { font-size: 24px; font-weight: 800; margin-top: 14px; display: flex; flex-direction: column; line-height: 1.4; }
.staff-card h3 small { font-size: 13px; color: var(--green-dark); }
.staff-card dl { margin-top: 10px; }
.staff-card dl > div { display: grid; grid-template-columns: 88px 1fr; gap: 8px; padding: 6px 0; border-top: 1px dashed var(--line); font-size: 15px; }
.staff-card dt { color: var(--muted); font-size: 14px; }

/* ---------- vacancy ---------- */
.vacancy { background: #F2F8EE; }
.vac-wrap { overflow-x: auto; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.vac { width: 100%; min-width: 640px; border-collapse: collapse; text-align: center; font-size: 17px; }
.vac th, .vac td { padding: 12px 6px; border-bottom: 1px solid var(--line); }
.vac thead th { background: var(--green); color: #fff; font-weight: 800; line-height: 1.3; }
.vac thead th small { display: block; font-size: 12px; font-weight: 500; }
.vac thead th.sat { background: #5C8FC9; } .vac thead th.sun { background: #D87562; }
.vac tbody th { font-family: var(--en); font-weight: 700; color: var(--muted); background: #FAF7F0; width: 90px; }
.vac td { font-weight: 800; font-size: 20px; }
.vac td button { width: 44px; height: 44px; border-radius: 50%; border: 0; background: transparent; font: inherit; cursor: pointer; }
.vac td.ok button { color: var(--green-dark); } .vac td.ok button:hover { background: #E5F2DD; }
.vac td.few button { color: var(--orange-dark); } .vac td.few button:hover { background: #FFEFD6; }
.vac td.full { color: #C9C0B4; }
.vac td.closed { color: #C9C0B4; font-size: 14px; font-weight: 700; background: #FAF7F0; }
.vac td button[aria-pressed="true"] { background: var(--orange); color: #fff; }
.vac-cta { text-align: center; margin-top: 28px; }

/* ---------- salon ---------- */
.salon-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: auto auto; gap: 18px; }
.salon-grid figure:nth-child(1) { grid-row: 1 / 3; }
.salon-grid figure:nth-child(4) { grid-column: 2 / 4; }
.salon-grid img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); min-height: 180px; }
.salon-grid figure { display: flex; flex-direction: column; }
.salon-grid figure img { flex: 1; }
.salon-grid figcaption { font-size: 15px; font-weight: 700; margin-top: 8px; }
.salon-grid figure:nth-child(1) img { aspect-ratio: 4 / 4.4; }
.salon-grid figure:nth-child(2) img, .salon-grid figure:nth-child(3) img { aspect-ratio: 4 / 3; }
.salon-grid figure:nth-child(4) img { aspect-ratio: 16 / 7; }

/* ---------- voice ---------- */
.voice { background: var(--bg-2); }
.voice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.voice-card { background: #fff; border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 14px; }
.voice-card img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; border: 3px solid var(--orange); }
.voice-card blockquote { font-size: 16px; line-height: 1.9; }
.voice-card figcaption { font-size: 14px; color: var(--muted); font-weight: 700; margin-top: auto; }

/* ---------- faq ---------- */
.faq-inner { max-width: 860px; }
.faq-list { display: grid; gap: 12px; }
.faq-list details { background: #fff; border-radius: 18px; box-shadow: var(--shadow); }
.faq-list summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 60px; position: relative; font-weight: 800; font-size: 18px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::before { content: "Q"; position: absolute; left: 18px; top: 16px; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--green); color: #fff; font-family: var(--en); }
.faq-list summary::after { content: "＋"; position: absolute; right: 22px; top: 18px; color: var(--orange-dark); transition: transform .2s; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { padding: 0 24px 22px 60px; color: var(--muted); font-size: 16px; }

/* ---------- access ---------- */
.access-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.info > div { display: grid; grid-template-columns: 90px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--line); font-size: 16px; }
.info dt { font-weight: 800; color: var(--green-dark); }
.hours { width: 100%; border-collapse: collapse; margin-top: 22px; background: #fff; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); font-size: 16px; }
.hours th, .hours td { padding: 10px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.hours thead th { background: var(--bg-2); font-size: 14px; }
.hours tbody th { width: 7.5em; white-space: nowrap; }
.hours tr.is-today { background: #FFF1D6; }
.hours tr.is-today th::after { content: "今日"; margin-left: 6px; font-size: 11px; padding: 1px 6px; border-radius: 6px; background: var(--orange); color: #fff; vertical-align: middle; }
.map svg { width: 100%; height: auto; font-family: var(--jp); }
.map figcaption { font-size: 14px; color: var(--muted); margin-top: 8px; }

/* ---------- footer ---------- */
.site-footer { background: var(--green-dark); color: #fff; padding: 48px 0 100px; }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.footer-logo { font-weight: 800; font-size: 30px; line-height: 1.2; display: flex; flex-direction: column; }
.footer-logo small { font-size: 13px; opacity: .85; }
.demo-note { width: min(1120px, calc(100% - 40px)); margin: 30px auto 0; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .25); font-size: 12px; opacity: .85; }
.copy { width: min(1120px, calc(100% - 40px)); margin: 4px auto 0; font-family: var(--en); font-size: 13px; opacity: .8; }

/* ---------- sp bar ---------- */
.sp-bar { display: none; }

/* ---------- modal ---------- */
.modal { width: min(560px, calc(100% - 24px)); max-height: calc(100dvh - 24px); border: 0; border-radius: 26px; padding: 0; background: var(--bg); color: var(--text); overflow: auto; }
.modal::backdrop { background: rgba(74, 63, 53, .55); }
.rsv { position: relative; padding: 30px clamp(18px, 4vw, 32px); }
.rsv h2 { font-size: 24px; font-weight: 800; margin-bottom: 18px; }
.modal-close { position: absolute; right: 14px; top: 14px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--bg-2); font-size: 22px; cursor: pointer; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field > span { font-weight: 800; font-size: 15px; }
.field select, .field input { min-height: 54px; padding: 10px 14px; border: 2px solid var(--line); border-radius: 14px; background: #fff; font-size: 18px; }
.field select:focus, .field input:focus { outline: none; border-color: var(--orange); }
.field .is-invalid { border-color: #D2604B; }
.picked { padding: 10px 14px; background: #fff; border-radius: 14px; border: 2px dashed var(--orange); font-weight: 700; font-size: 16px; }
.mini-vac { display: flex; flex-wrap: wrap; gap: 6px; }
.mini-vac button { padding: 8px 12px; border-radius: 12px; border: 2px solid var(--line); background: #fff; font-size: 14px; font-weight: 700; cursor: pointer; }
.mini-vac button[aria-pressed="true"] { background: var(--orange); border-color: var(--orange); color: #fff; }
.err { color: #C0472F; font-size: 14px; font-weight: 700; }
.err:empty { display: none; }
.rsv-actions { display: flex; justify-content: center; gap: 12px; margin-top: 10px; flex-wrap: wrap; }
.confirm > div { display: grid; grid-template-columns: 110px 1fr; gap: 10px; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.confirm dt { font-weight: 800; color: var(--green-dark); }
.done { text-align: center; }
.done-mark { width: 80px; height: 80px; margin: 10px auto 16px; display: grid; place-items: center; border-radius: 50%; background: var(--green); color: #fff; font-size: 40px; }

/* ---------- reveal ---------- */
.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: 1080px) {
  .gnav { display: none; }
}
@media (max-width: 860px) {
  body { font-size: 16px; }
  .header-inner { height: 66px; }
  .tel-btn, .web-btn { display: none; }
  .hero-inner, .access-grid { grid-template-columns: 1fr; }
  .hero-photo { order: -1; }
  .hero-photo img { border-radius: 26px 26px 26px 80px; }
  .news { margin-top: 0; }
  .news-box { grid-template-columns: 1fr; gap: 6px; padding: 18px 20px; }
  .news-list li { grid-template-columns: 1fr; gap: 0; }
  .flow { grid-template-columns: 1fr 1fr; gap: 30px 14px; }
  .flow li::after { display: none; }
  .price-tabs { grid-template-columns: repeat(2, 1fr); }
  .price-panel { padding: 6px 18px; }
  .price-list li { flex-direction: column; gap: 0; align-items: flex-start; }
  .staff-grid, .voice-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .salon-grid { grid-template-columns: 1fr 1fr; }
  .salon-grid figure:nth-child(1) { grid-row: auto; grid-column: 1 / 3; }
  .salon-grid figure:nth-child(4) { grid-column: 1 / 3; }
  .salon-grid figure:nth-child(1) img { aspect-ratio: 4 / 3; }
  .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(255, 252, 245, .96); border-top: 1px solid var(--line); }
  .sp-bar a, .sp-bar button { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 52px; border-radius: 14px; font-weight: 800; font-size: 17px; text-decoration: none; border: 0; cursor: pointer; }
  .sp-tel { background: var(--green); color: #fff; }
  .sp-tel svg { width: 22px; height: 22px; fill: #fff; }
  .sp-web { background: var(--orange); color: #fff; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}
.avatar { width: 72px; height: 72px; display: block; }
.avatar svg { width: 100%; height: 100%; }

/* ---- 日本語の改行（全サイト共通・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; } }
