/* なかゆくい処 — 左にメニューが並ぶ形のサイト
   色・角丸・文字の大きさは、ここの変数だけを使う */
:root {
  --text: #222;
  --text-2: #555;
  --text-3: #6b6b6b;
  --line: #e4e4e4;
  --side-bg: #f6f6f4;
  --sel-bg: #e7e7e3;
  --tint: #fdf1f2;
  --brand: #e3263d;      /* ロゴの赤。主ボタン・選択中の印・お知らせの線だけに使う */
  --brand-dark: #c51d33;
  --bg: #fff;
  --r-sm: 4px;
  --r-md: 8px;
  --side-w: 252px;
  --fs-12: 12px; --fs-13: 13px; --fs-14: 14px; --fs-16: 16px; --fs-20: 20px; --fs-24: 24px; --fs-32: 32px;
  --font: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", Meiryo, sans-serif;
  --num: "Helvetica Neue", Arial, var(--font);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 var(--fs-16)/1.8 var(--font);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ───────── 左のメニュー ───────── */
.side {
  position: fixed; inset: 0 auto 0 0;
  width: var(--side-w);
  display: flex; flex-direction: column;
  background: var(--side-bg);
  border-right: 1px solid var(--line);
  z-index: 30;
}
.side-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 16px 12px 20px; }
.side-head .logo img { width: 148px; }
.side-close { display: none; }
.side-nav { flex: 1; overflow-y: auto; padding: 4px 10px 16px; }
.side-nav .top-last { margin-bottom: 8px; }

.group { margin-top: 14px; }
.group > summary {
  display: flex; align-items: center; gap: 6px;
  padding: 4px 10px;
  font-size: var(--fs-12); color: var(--text-3);
  cursor: pointer; list-style: none; user-select: none;
}
.group > summary::-webkit-details-marker { display: none; }
.group > summary svg { width: 10px; height: 10px; transition: transform .15s; }
.group[open] > summary svg { transform: rotate(90deg); }

.item {
  display: flex; align-items: center; gap: 10px;
  min-height: 36px; padding: 6px 10px;
  border-radius: var(--r-md);
  font-size: var(--fs-14); text-decoration: none; color: var(--text);
}
.item:hover { background: #ededea; }
.item[aria-current="page"] { background: var(--sel-bg); font-weight: 600; }
.item[aria-current="page"] .ico { color: var(--brand); }
.item .ico { flex: none; width: 18px; height: 18px; color: var(--text-2); }
.item .label { flex: 1; min-width: 0; }
.item .meta { font-size: var(--fs-12); color: var(--text-3); font-weight: 400; }

.side-foot { padding: 14px 20px 18px; border-top: 1px solid var(--line); }
.side-foot p { font-size: var(--fs-12); color: var(--text-3); line-height: 1.5; }
.side-foot a { font: 700 var(--fs-20)/1.4 var(--num); text-decoration: none; letter-spacing: .02em; }

/* ───────── 右の本文 ───────── */
.main { margin-left: var(--side-w); min-height: 100vh; display: flex; flex-direction: column; }

.bar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 16px;
  height: 56px; padding: 0 32px;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line);
}
.bar .menu-btn { display: none; }
.crumb { font-size: var(--fs-14); color: var(--text-3); white-space: nowrap; }
.crumb b { color: var(--text); font-weight: 600; }
.crumb span { margin: 0 6px; }
.jump { display: flex; gap: 2px; margin-left: auto; overflow-x: auto; scrollbar-width: none; }
.jump::-webkit-scrollbar { display: none; }
.jump a {
  padding: 4px 10px; border-radius: var(--r-sm);
  font-size: var(--fs-13); color: var(--text-2); text-decoration: none; white-space: nowrap;
}
.jump a:hover { background: var(--side-bg); color: var(--text); }
.jump a.on { color: var(--text); font-weight: 600; background: var(--side-bg); }
.bar .call { margin-left: auto; }
.jump + .call { margin-left: 8px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 36px; padding: 0 14px;
  border: 1px solid var(--line); border-radius: var(--r-sm);
  background: #fff; font-size: var(--fs-14); font-weight: 600;
  text-decoration: none; white-space: nowrap; cursor: pointer;
}
.btn:hover { border-color: #c9c9c9; }
.btn-primary { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); border-color: var(--brand-dark); }

.content { flex: 1; width: 100%; max-width: 920px; padding: 40px 48px 72px; }

/* ページの頭 */
.kicker { font-size: var(--fs-13); color: var(--text-3); }
.page-head h1 { margin-top: 2px; font-size: var(--fs-24); font-weight: 700; line-height: 1.5; }
.page-head .sub { font-size: var(--fs-14); color: var(--text-2); font-weight: 400; }
.facts { display: flex; flex-wrap: wrap; gap: 4px 20px; margin-top: 10px; font-size: var(--fs-14); color: var(--text-2); }
.facts a { font-family: var(--num); text-decoration: none; color: var(--text); font-weight: 600; }
.docs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.docs .btn small { margin-left: 6px; font: 400 var(--fs-12) var(--num); color: var(--text-3); }

.notice {
  margin-top: 24px; padding: 12px 16px;
  border-left: 3px solid var(--brand); background: var(--tint);
  font-size: var(--fs-14);
}
.notice b { font-weight: 600; }

/* 写真 */
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 28px; }
.gallery button { padding: 0; border: 0; background: none; cursor: zoom-in; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-md); }
.gallery.more { margin-top: 8px; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.gallery.more img { aspect-ratio: 1; }

/* 区切り（見出しと 1 本線で分ける） */
.sec { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); }
.sec h2 { font-size: var(--fs-20); font-weight: 700; line-height: 1.5; margin-bottom: 16px; }
.sec h3 { font-size: var(--fs-16); font-weight: 700; margin: 24px 0 8px; }
.sec h2 + h3 { margin-top: 0; }
.sec p + p { margin-top: 12px; }
.sec .muted { font-size: var(--fs-14); color: var(--text-2); }
.note { margin-top: 8px; font-size: var(--fs-13); color: var(--text-3); }

/* 項目と中身の表 */
.spec { display: grid; grid-template-columns: 9.5em minmax(0, 1fr); border-top: 1px solid var(--line); }
.spec dt, .spec dd { padding: 12px 0; border-bottom: 1px solid var(--line); }
.spec dt { font-size: var(--fs-14); color: var(--text-2); font-weight: 600; padding-right: 16px; }
.spec dd { font-size: var(--fs-16); }
.spec dd small { display: block; font-size: var(--fs-13); color: var(--text-3); }
.spec .num { font-family: var(--num); font-variant-numeric: tabular-nums; }

/* 箇条書き */
.dots li { position: relative; padding-left: 1.1em; }
.dots li + li { margin-top: 4px; }
.dots li::before { content: ""; position: absolute; left: 2px; top: .8em; width: 5px; height: 5px; border-radius: 50%; background: var(--text-3); }

/* 料金表 */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table { border-collapse: collapse; width: 100%; font-size: var(--fs-14); }
th, td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
thead th { font-size: var(--fs-12); color: var(--text-3); font-weight: 600; border-bottom-color: #cfcfcf; white-space: nowrap; }
tbody th { font-weight: 600; white-space: nowrap; }
td.n, th.n { text-align: right; font-family: var(--num); font-variant-numeric: tabular-nums; white-space: nowrap; }
.fee + h3 { margin-top: 28px; }

/* 一日の流れ */
.flow li { display: grid; grid-template-columns: 7.5em minmax(0, 1fr); gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.flow li:first-child { border-top: 1px solid var(--line); }
.flow .t { font: 600 var(--fs-14)/1.8 var(--num); color: var(--text-2); font-variant-numeric: tabular-nums; }
.flow b { display: block; font-weight: 600; }
.flow p { font-size: var(--fs-14); color: var(--text-2); }

/* 地図 */
.map { width: 100%; height: 320px; margin-top: 16px; border: 1px solid var(--line); border-radius: var(--r-md); }

/* つながる先（LINE・Instagram） */
.links { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 24px; margin-top: 20px; }
.links .qr { width: 120px; border: 1px solid var(--line); border-radius: var(--r-sm); }
.links .qr-box { font-size: var(--fs-13); color: var(--text-2); }
.links .qr-box a { display: block; margin-top: 6px; }

/* ───────── トップページ ───────── */
.hero h1 { font-size: var(--fs-32); font-weight: 700; line-height: 1.4; letter-spacing: .02em; }
.hero p { margin-top: 10px; color: var(--text-2); }
.hero-photos { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); gap: 8px; margin-top: 28px; }
.hero-photos img { width: 100%; height: 340px; object-fit: cover; border-radius: var(--r-md); }

.greet { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 32px; align-items: start; }
.greet img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-md); }

.places li { border-bottom: 1px solid var(--line); }
.places li:first-child { border-top: 1px solid var(--line); }
.places a { display: grid; grid-template-columns: 132px minmax(0, 1fr) auto; gap: 20px; align-items: center; padding: 14px 8px 14px 0; text-decoration: none; }
.places a:hover { background: #fafaf9; }
.places img { width: 132px; height: 92px; object-fit: cover; border-radius: var(--r-sm); }
.places .kind { font-size: var(--fs-12); color: var(--text-3); }
.places .name { font-size: var(--fs-16); font-weight: 700; line-height: 1.5; }
.places .addr { font-size: var(--fs-13); color: var(--text-2); }
.places .tel { font: 600 var(--fs-14) var(--num); color: var(--text-2); white-space: nowrap; }

.jobs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.jobs li { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: var(--fs-16); }
.jobs + p { margin-top: 20px; }

.related li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: var(--fs-14); }
.related li:first-child { border-top: 1px solid var(--line); }
.related a { font: 600 var(--fs-14) var(--num); text-decoration: none; white-space: nowrap; }

/* お知らせ */
.news { border-top: 1px solid var(--line); }
.news li { padding: 16px 0; border-bottom: 1px solid var(--line); }
.news-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; font-size: var(--fs-13); color: var(--text-3); }
.news-meta time { font-family: var(--num); font-variant-numeric: tabular-nums; }
.news-from { display: inline-flex; align-items: center; gap: 6px; color: var(--text); font-weight: 600; text-decoration: none; }
.news-from::before { content: ""; width: 10px; height: 10px; border-radius: 2px; background: var(--c); }
.news-from:hover { text-decoration: underline; }
.news-new { font-size: var(--fs-12); font-weight: 600; color: var(--brand); }
.news-title { margin-top: 6px; font-size: var(--fs-16); font-weight: 700; line-height: 1.6; }
.news-body { margin-top: 4px; font-size: var(--fs-14); color: var(--text-2); }
.news-body p + p { margin-top: 4px; }
.news-body a { color: var(--text); font-weight: 600; font-family: var(--num); }

/* 下の行 */
.foot { padding: 20px 48px 28px; border-top: 1px solid var(--line); font-size: var(--fs-12); color: var(--text-3); }
.foot nav { display: flex; flex-wrap: wrap; gap: 4px 20px; margin-bottom: 6px; }
.foot nav a { font-size: var(--fs-13); color: var(--text-2); }

/* 問い合わせフォーム */
.form { max-width: 560px; margin-top: 28px; }
.field { margin-bottom: 18px; }
.field > label { display: block; margin-bottom: 6px; font-size: var(--fs-14); font-weight: 600; }
.field .req { margin-left: 6px; font-size: var(--fs-12); font-weight: 400; color: var(--text-3); }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field select, .field textarea {
  width: 100%; padding: 10px 12px;
  border: 1px solid #cfcfcf; border-radius: var(--r-sm); background: #fff;
  font: 400 var(--fs-16)/1.6 var(--font); color: var(--text);
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--text); outline-offset: 1px; border-color: var(--text); }
.field .hint { margin-top: 4px; font-size: var(--fs-13); color: var(--text-3); }
.field.check label { display: flex; align-items: center; gap: 8px; font-size: var(--fs-14); font-weight: 400; }
.field.check input { width: 18px; height: 18px; }
.form-msg { min-height: 1.6em; margin-bottom: 10px; font-size: var(--fs-14); }
.form-msg.err { color: #b3261e; }
.form-msg.ok { color: #1e7a3c; font-weight: 600; }
.form .send { height: 44px; padding: 0 28px; font-size: var(--fs-16); }
.form .send[disabled] { opacity: .6; cursor: default; }

/* 写真を大きく見る */
.viewer { padding: 0; border: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.viewer::backdrop { background: rgba(0, 0, 0, .86); }
.viewer img { max-width: 92vw; max-height: 86vh; margin: 6vh auto 0; border-radius: var(--r-sm); }
.viewer .vbtn {
  position: fixed; width: 44px; height: 44px; display: grid; place-items: center;
  border: 0; border-radius: var(--r-md); background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer;
}
.viewer .vbtn:hover { background: rgba(255, 255, 255, .22); }
.viewer .vbtn svg { width: 22px; height: 22px; }
.viewer .v-close { top: 16px; right: 16px; }
.viewer .v-prev { left: 16px; top: 50%; }
.viewer .v-next { right: 16px; top: 50%; }

.scrim { display: none; }

/* ───────── スマホ・タブレット ───────── */
@media (max-width: 960px) {
  .side { transform: translateX(-100%); transition: transform .2s ease; box-shadow: none; }
  body.nav-open .side { transform: none; box-shadow: 0 0 24px rgba(0, 0, 0, .18); }
  body.nav-open .scrim { display: block; position: fixed; inset: 0; background: rgba(0, 0, 0, .3); z-index: 25; }
  .side-close { display: grid; place-items: center; width: 36px; height: 36px; border: 0; background: none; border-radius: var(--r-md); cursor: pointer; }
  .side-close svg { width: 20px; height: 20px; }
  .main { margin-left: 0; }
  .bar { padding: 0 16px; gap: 10px; }
  .bar .menu-btn { display: grid; place-items: center; width: 36px; height: 36px; margin-left: -6px; border: 0; background: none; border-radius: var(--r-md); cursor: pointer; }
  .bar .menu-btn svg { width: 22px; height: 22px; }
  .bar .bar-logo img { width: 112px; }
  .crumb, .jump { display: none; }
  .bar .call { margin-left: auto; height: 34px; padding: 0 12px; font-size: var(--fs-13); }
  .content { padding: 28px 16px 56px; }
  .foot { padding: 20px 16px 28px; }
}
@media (min-width: 961px) { .bar .bar-logo { display: none; } }
@media (max-width: 640px) {
  .hero h1 { font-size: var(--fs-24); }
  .hero-photos { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .hero-photos img { height: 200px; }
  .hero-photos img:first-child { grid-column: 1 / -1; height: 220px; }
  .greet { grid-template-columns: minmax(0, 1fr); }
  .greet img { max-width: 320px; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery.more { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .places a { grid-template-columns: 96px minmax(0, 1fr); gap: 14px; }
  .places img { width: 96px; height: 72px; }
  .places .tel { grid-column: 2; margin-top: -8px; }
  .spec { grid-template-columns: 7em 1fr; }
  .flow li { grid-template-columns: 5.5em 1fr; gap: 10px; }
  .jobs { grid-template-columns: 1fr; }
  .sec { margin-top: 40px; padding-top: 24px; }
}
