*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }

:root {
  --ink: #2f2b27;
  --sub: #6b645c;
  --paper: #f3eee5;
  --paper-2: #ece0cc;
  --white: #fdfaf4;
  --shu: #b0472f;
  --ai: #24405e;
  --ai-dark: #1b2f45;
  --line: #d9cdb9;
  --wrap: 1120px;
}

body {
  font-family: 'Noto Serif JP', serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.9;
  letter-spacing: 0.04em;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* 仮の写真。本番では実際の写真に差し替える */
.ph {
  position: relative;
  background: linear-gradient(160deg, #c9d6cf 0%, #8fa9a2 55%, #5f7f7a 100%);
  overflow: hidden;
}
.ph::after {
  content: attr(data-label);
  position: absolute;
  left: 14px;
  bottom: 12px;
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(0, 0, 0, 0.28);
  padding: 2px 10px;
  border-radius: 999px;
  letter-spacing: 0.06em;
}
/* 写真が入ったら仮のラベルは出さない */
.ph > .photo { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.ph:not([data-label])::after { display: none; }
.ph.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ph.wood { background: linear-gradient(160deg, #e3cdb3 0%, #c39a72 55%, #8e6440 100%); }
.ph.dusk { background: linear-gradient(170deg, #f0d2b4 0%, #c9a3a0 45%, #5f6d86 100%); }
.ph.steam { background: linear-gradient(170deg, #f2efe9 0%, #d8d2c8 50%, #a9a196 100%); }
.ph.food { background: linear-gradient(160deg, #f1dcc0 0%, #d6a878 55%, #9b5f38 100%); }

/* ---------- header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 243, 236, 0.94);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 68px; }
/* ロゴは上に小さく「日帰り天然温泉」、下に「ことなぎ」+落款 */
.logo { display: grid; grid-template-columns: auto auto; justify-content: start; align-items: center; column-gap: 10px; row-gap: 5px; }
.logo small { grid-column: 1; grid-row: 1; font-size: 10px; color: var(--sub); letter-spacing: 0; text-align: justify; text-align-last: justify; font-weight: 600; line-height: 1; padding: 0 3px 0 4px; }
.logo b { grid-column: 1; grid-row: 2; margin-right: -0.16em; }
.logo .seal { grid-column: 2; grid-row: 2; }
.logo .seal { display: inline-block; width: 20px; height: 20px; line-height: 20px; text-align: center; font-style: normal; font-family: 'Shippori Mincho', serif; font-size: 12px; font-weight: 800; color: #fff; background: var(--shu); border-radius: 2px; box-shadow: inset 0 0 0 1.5px var(--shu), inset 0 0 0 2.5px rgba(255, 255, 255, 0.6); transform: rotate(-3deg); }
.logo b { font-family: 'Shippori Mincho', serif; font-size: 24px; font-weight: 700; letter-spacing: 0.12em; }
#nav { display: flex; align-items: center; gap: 28px; font-size: 14px; font-weight: 700; }
#nav a:not(.nav-tel):hover { color: var(--shu); }
.nav-tel {
  background: var(--ink);
  color: var(--white);
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 13px;
}
.nav-toggle { display: none; }

/* ---------- hero ---------- */
/* 写真は画面いっぱい。下の端を波にして「本日の営業」を重ねる */
.hero { padding: 0; }
.hero-inner { position: relative; height: clamp(560px, calc(100vh - 68px), 1000px); height: clamp(560px, calc(100svh - 68px), 1000px); }
.hero-photo { position: absolute; inset: 0; border-radius: 0; }
.hero-photo::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to left, rgba(20, 24, 32, 0.6), rgba(20, 24, 32, 0) 55%); }
.hero-copy {
  position: absolute;
  z-index: 3;
  top: 56px;
  right: max(24px, calc((100vw - 1120px) / 2));
  color: #fff;
  text-shadow: 0 0 16px rgba(0, 0, 0, 0.4);
  writing-mode: vertical-rl;
  font-family: 'Shippori Mincho', serif;
}
/* 右から「日帰り天然温泉」→ 施設名 → 詩の4行 */
.hero-sub { font-size: 15px; font-weight: 600; letter-spacing: 0.3em; line-height: 1; }
.hero-sub::after { content: ''; display: inline-block; width: 1px; height: 64px; margin-top: 14px; background: currentColor; vertical-align: middle; }
.hero-name { margin-block-start: 22px; font-size: 60px; font-weight: 600; letter-spacing: 0.16em; line-height: 1; }
.hero-poem { margin-block-start: 40px; font-size: 18px; font-weight: 600; letter-spacing: 0.22em; line-height: 2.1; }
.hero-poem span { display: block; }

.today {
  position: relative;
  margin: -48px 0 0 48px;
  max-width: 880px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(47, 43, 39, 0.08);
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr auto;
  align-items: center;
}
.today > div { padding: 18px 24px; }
.today > div + div { border-left: 1px solid var(--line); }
.today dt { font-size: 12px; color: var(--sub); font-weight: 700; }
.today dd { font-family: 'Shippori Mincho', serif; font-size: 20px; font-weight: 700; letter-spacing: 0.04em; line-height: 1.5; }
.today dd small { font-size: 12px; font-family: 'Noto Serif JP', serif; color: var(--sub); font-weight: 400; }
.today .status {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: var(--white);
  background: var(--ai);
  border-radius: 4px;
  padding: 0 8px;
  margin-left: 6px;
  vertical-align: 2px;
  font-family: 'Noto Serif JP', serif;
}
.today .status.closed { background: var(--sub); }
.today .btn { margin: 0 20px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--ink);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 999px;
  white-space: nowrap;
  transition: opacity 0.2s;
}
.btn:hover { opacity: 0.8; }
.btn-line { background: transparent; color: var(--ink); border: 1px solid var(--ink); }

/* ---------- section ---------- */
section { padding: 112px 0 0; }
.sec-head { display: flex; align-items: baseline; gap: 16px; margin-bottom: 40px; }
.sec-head h2 { font-family: 'Shippori Mincho', serif; font-size: 30px; font-weight: 700; letter-spacing: 0.12em; }
.sec-head p { font-size: 12px; color: var(--shu); font-weight: 700; letter-spacing: 0.2em; }
.lead { font-size: 15px; color: var(--sub); margin: -16px 0 40px; }

/* お知らせ */
.news { padding-top: 80px; }
.news .wrap { max-width: 808px; }
.news-list { list-style: none; border-top: 1px solid var(--line); }
.news-list li { border-bottom: 1px solid var(--line); }
.news-list a { display: grid; grid-template-columns: 120px 96px 1fr; gap: 16px; padding: 18px 4px; font-size: 15px; }
.news-list a:hover { color: var(--shu); }
.news-list time { color: var(--sub); font-size: 14px; }
.news-list .tag { font-size: 11px; font-weight: 700; border: 1px solid currentColor; border-radius: 4px; text-align: center; align-self: center; line-height: 1.8; }

/* お風呂 */
.bath-main { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; margin-bottom: 64px; }
.bath-main .ph { aspect-ratio: 4 / 3; border-radius: 16px; }
.bath-main h3 { font-family: 'Shippori Mincho', serif; font-size: 24px; font-weight: 700; letter-spacing: 0.1em; margin-bottom: 16px; }
.bath-main p { font-size: 15px; }
.spec { margin-top: 24px; font-size: 13px; border-top: 1px solid var(--line); }
.spec div { display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.spec dt { color: var(--sub); font-weight: 700; }
.baths { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.bath .ph { aspect-ratio: 1 / 1; border-radius: 12px; margin-bottom: 16px; }
.bath h3 { font-family: 'Shippori Mincho', serif; font-size: 18px; font-weight: 700; letter-spacing: 0.08em; }
.bath p { font-size: 13px; color: var(--sub); margin-top: 4px; line-height: 1.8; }

/* 料金・営業時間 */
.price { background: var(--paper-2); margin-top: 112px; padding: 96px 0; }
.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.card { background: var(--white); border-radius: 16px; padding: 32px; }
.card h3 { font-family: 'Shippori Mincho', serif; font-size: 20px; font-weight: 700; letter-spacing: 0.1em; margin-bottom: 16px; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { padding: 14px 8px; border-bottom: 1px solid var(--line); text-align: left; }
thead th { font-size: 12px; color: var(--sub); }
td.yen { text-align: right; font-family: 'Shippori Mincho', serif; font-size: 20px; font-weight: 700; white-space: nowrap; }
td.yen small { font-size: 12px; margin-left: 2px; }
.note { font-size: 12px; color: var(--sub); margin-top: 14px; line-height: 1.8; }
.hours { font-size: 15px; }
.hours div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.hours dt { font-weight: 700; }
.hours dd { font-family: 'Shippori Mincho', serif; font-size: 18px; font-weight: 700; }
.quiet { margin-top: 20px; padding: 14px 18px; background: var(--paper); border-radius: 10px; font-size: 13px; }
.quiet b { color: var(--ai); }

/* お食事・休憩 */
.relax-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.relax .ph { aspect-ratio: 3 / 2; border-radius: 16px; margin-bottom: 20px; }
.relax h3 { font-family: 'Shippori Mincho', serif; font-size: 20px; font-weight: 700; letter-spacing: 0.08em; margin-bottom: 8px; }
.relax p { font-size: 15px; }
.relax .meta { font-size: 13px; color: var(--sub); margin-top: 8px; }

/* はじめての方へ */
.first-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.first-item { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 28px; }
.first-item .num { font-family: 'Shippori Mincho', serif; color: var(--shu); font-size: 14px; font-weight: 700; letter-spacing: 0.1em; }
.first-item h3 { font-family: 'Shippori Mincho', serif; font-size: 18px; font-weight: 700; margin: 4px 0 10px; }
.first-item p { font-size: 14px; color: var(--sub); line-height: 1.8; }

/* FAQ */
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 40px 20px 4px;
  font-weight: 700;
  font-size: 15px;
  position: relative;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::before { content: 'Q.'; font-family: 'Shippori Mincho', serif; color: var(--shu); margin-right: 10px; }
.faq-list summary::after {
  content: '';
  position: absolute;
  right: 12px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s;
}
.faq-list details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq-list details p { padding: 0 4px 22px 32px; font-size: 14px; color: var(--sub); }

/* アクセス */
.access-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: start; }
.access-grid .ph { aspect-ratio: 4 / 3; border-radius: 16px; }
.access-info { font-size: 15px; }
.access-info dl div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.access-info dl div:first-child { border-top: 1px solid var(--line); }
.access-info dt { font-size: 12px; color: var(--sub); font-weight: 700; }
.access-info .btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }

/* ---------- footer ---------- */
.footer { margin-top: 120px; background: var(--ink); color: var(--paper); padding: 56px 0 120px; }
.footer-top { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.footer .logo small { color: #b9b1a6; }
.footer-info { font-size: 13px; color: #d4ccc0; margin-top: 12px; line-height: 1.9; }
.footer nav { display: flex; flex-wrap: wrap; gap: 6px 28px; max-width: 440px; font-size: 13px; font-weight: 700; }
.footer .copy { font-size: 12px; color: #b9b1a6; margin-top: 40px; }
.demo-note { font-size: 11px; color: #b9b1a6; margin-top: 8px; line-height: 1.8; }
.demo-note a { text-decoration: underline; }

.sample-badge {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 60;
  background: #fff;
  color: #111;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 8px 14px;
  border-radius: 999px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}
.sample-badge span { border-bottom: 1px solid #111; }

/* スマホの下部固定メニュー */
.bottom-bar { display: none; }

/* ---------- 下層ページ ---------- */
#nav a[aria-current="page"] { color: var(--shu); }
.page-head { padding: 64px 0 0; }
.page-head .crumb { font-size: 12px; color: var(--sub); margin-bottom: 12px; }
.page-head .crumb a { text-decoration: underline; }
.page-head h1 { font-family: 'Shippori Mincho', serif; font-size: 36px; font-weight: 700; letter-spacing: 0.14em; line-height: 1.5; }
.page-head .en { font-size: 12px; color: var(--shu); font-weight: 700; letter-spacing: 0.2em; }
.page-head .lead { margin: 20px 0 0; max-width: 640px; }
.page-head .ph { aspect-ratio: 21 / 8; border-radius: 4px; margin-top: 40px; }
.page-head + section { padding-top: 88px; }
.page-head + .price { margin-top: 88px; }

.concept { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.concept .ph { aspect-ratio: 4 / 5; border-radius: 16px; }
.concept h2 { font-family: 'Shippori Mincho', serif; font-size: 28px; font-weight: 700; letter-spacing: 0.12em; line-height: 1.7; margin-bottom: 24px; }
.concept-en { font-size: 12px; color: var(--shu); font-weight: 700; letter-spacing: 0.2em; margin-bottom: 12px; }
.concept p { font-size: 15px; }
.concept p + p { margin-top: 1em; }
.news-more { text-align: right; margin-top: 16px; font-size: 14px; font-weight: 700; }
.news-more a { border-bottom: 1px solid currentColor; }

/* 下層ページ末尾の案内 */
.guide { margin-top: 112px; background: var(--paper-2); padding: 64px 0; }
.guide-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.guide h2 { font-family: 'Shippori Mincho', serif; font-size: 22px; font-weight: 700; letter-spacing: 0.1em; margin-bottom: 8px; }
.guide h2 span { white-space: nowrap; }
.guide p { font-size: 14px; color: var(--sub); }
.guide .btns { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
.guide + .footer { margin-top: 0; }

/* 送迎バスの時刻表 */
.bus { margin-top: 64px; }
.bus h3 { font-family: 'Shippori Mincho', serif; font-size: 20px; font-weight: 700; letter-spacing: 0.1em; margin-bottom: 16px; }
.bus-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.bus table td { font-family: 'Shippori Mincho', serif; font-weight: 700; font-size: 16px; letter-spacing: 0.06em; }
.bus table th { width: 88px; }
.menu-list { list-style: none; border-top: 1px solid var(--line); margin-top: 16px; }
.menu-list li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.menu-list b { font-family: 'Shippori Mincho', serif; white-space: nowrap; }
.section-sub { margin-top: 64px; }

/* ---------- 和の仕上げ(和紙・青海波・曲線) ---------- */
body { background: var(--paper) url(images/washi.svg); }
.header { background: rgba(243, 238, 229, 0.92) url(images/washi.svg); border-bottom-color: transparent; box-shadow: 0 1px 0 var(--line); }
.logo b { font-size: 28px; font-weight: 800; letter-spacing: 0.16em; line-height: 1; }
#nav { font-weight: 600; }
#nav a:not(.nav-tel):hover { color: var(--shu); }
.nav-tel, .btn { background: var(--ai); border-radius: 4px; }
.btn { font-weight: 600; letter-spacing: 0.08em; }
.btn::after { content: '›'; font-size: 18px; line-height: 1; margin-left: 4px; }
.btn-line { background: transparent; color: var(--ai); border: 1px solid var(--ai); }

/* 写真の右端を波打たせ、右下に青海波 */
.hero-inner { position: relative; }
/* コピーの終わりに朱の落款 */
.hero-copy .seal {
  display: inline-block;
  margin-top: 0.4em;
  width: 1.5em;
  height: 1.5em;
  line-height: 1.5em;
  text-align: center;
  font-style: normal;
  font-size: 0.42em;
  font-weight: 800;
  letter-spacing: 0;
  color: #fff;
  background: var(--shu);
  border-radius: 3px;
  box-shadow: inset 0 0 0 2px var(--shu), inset 0 0 0 3px rgba(255, 255, 255, 0.6);
  text-shadow: none;
  transform: rotate(-3deg);
}
.today { position: relative; z-index: 3; margin: -120px auto 0; max-width: 880px; border-radius: 6px; background: #fff; }
.today dd { font-weight: 700; }

/* 見出しに湯気のマーク */
.sec-head::before { content: ''; width: 34px; height: 34px; flex: none; align-self: center; background: url(images/yuge.svg) center / contain no-repeat; margin-right: -4px; }
.sec-head h2 { font-weight: 700; }

/* 写真の形 */
.ph { border-radius: 4px; }
.bath-main .ph, .relax .ph, .access-grid .ph { border-radius: 4px; }
.bath .ph { border-radius: 50% 50% 4px 4px / 22% 22% 4px 4px; }
.concept .ph { border-radius: 50% 50% 4px 4px / 26% 26% 4px 4px; }
.bath-main .ph { -webkit-mask: url(images/wave-right.svg) 0 0 / 100% 100% no-repeat; mask: url(images/wave-right.svg) 0 0 / 100% 100% no-repeat; }

/* 色の帯は上下を波打たせる */
.price, .guide {
  background: var(--paper-2) url(images/washi.svg);
  -webkit-mask: url(images/wave-top.svg) top / 100% 80px no-repeat, linear-gradient(#000, #000) 0 79px / 100% calc(100% - 158px) no-repeat, url(images/wave-bottom.svg) bottom / 100% 80px no-repeat;
  mask: url(images/wave-top.svg) top / 100% 80px no-repeat, linear-gradient(#000, #000) 0 79px / 100% calc(100% - 158px) no-repeat, url(images/wave-bottom.svg) bottom / 100% 80px no-repeat;
}
.price { padding: 130px 0 140px; }
.page-head .ph::after { top: 14px; bottom: auto; }
.guide { padding: 130px 0 150px; }
/* 情報の箱は読みやすさ優先で白(和紙の質感なし) */
.card, .first-item { border-radius: 6px; background: #fff; }
.first-item { border-color: var(--line); }

/* フッターは藍色の青海波 */
.footer {
  position: relative;
  background: #24405e url(images/seigaiha-ai.svg) 0 0 / 48px 24px;
  padding-top: 120px;
  -webkit-mask: url(images/wave-top.svg) top / 100% 80px no-repeat, linear-gradient(#000, #000) 0 79px / 100% 100% no-repeat;
  mask: url(images/wave-top.svg) top / 100% 80px no-repeat, linear-gradient(#000, #000) 0 79px / 100% 100% no-repeat;
}
.guide + .footer { margin-top: -80px; }
.footer-info, .footer .logo small, .footer .copy, .demo-note { color: #c9d3de; }

.bottom-bar { background: #fff; }

/* 食事処のロゴ(短冊) */
.shop-logo {
  position: absolute;
  top: 0;
  left: 32px;
  z-index: 1;
  width: 88px;
  padding: 20px 0 26px;
  background: var(--shu) url(images/washi.svg);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}
.shop-logo::before { content: ''; position: absolute; inset: 5px; border: 1px solid rgba(255, 255, 255, 0.5); pointer-events: none; }
.shop-logo svg { width: 48px; height: 48px; }
.shop-logo .txt { writing-mode: vertical-rl; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; font-family: 'Shippori Mincho', serif; line-height: 1.2; }
.shop-logo .sub { font-size: 13px; font-weight: 600; letter-spacing: 0.3em; padding-top: 4px; }
.shop-logo .name { font-size: 32px; font-weight: 800; letter-spacing: 0.18em; }
.shop-logo.small { left: 20px; width: 64px; padding: 14px 0 18px; gap: 10px; }
.shop-logo.small svg { width: 34px; height: 34px; }
.shop-logo.small .sub { font-size: 10px; }
.shop-logo.small .name { font-size: 22px; }

/* トップのご案内(1列・写真を画面端まで) */
.feature { display: grid; grid-template-columns: 56% 1fr; align-items: center; margin-top: 56px; }
.feature + .feature { margin-top: 96px; }
.feature-photo { position: relative; height: 560px; border-radius: 0 !important; -webkit-mask: url(images/wave-right.svg) 0 0 / 100% 100% no-repeat; mask: url(images/wave-right.svg) 0 0 / 100% 100% no-repeat; }
.feature.reverse { grid-template-columns: 1fr 56%; }
.feature.reverse .feature-photo { order: 2; -webkit-mask-image: url(images/wave-left.svg); mask-image: url(images/wave-left.svg); }
.feature.reverse .feature-photo::after { left: auto; right: 14px; }
.feature-copy {
  position: absolute;
  top: 48px;
  right: 72px;
  writing-mode: vertical-rl;
  font-family: 'Shippori Mincho', serif;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.8;
  letter-spacing: 0.22em;
  color: var(--ink);
  z-index: 1;
  padding: 22px 8px;
}
/* 文字の後ろの白い帯は、ふちをぼかして四角く見せない */
.feature-copy::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: -10px -26px;
  background: rgba(253, 250, 244, 0.85);
  border-radius: 50%;
  filter: blur(22px);
}
.feature.reverse .feature-copy { right: auto; left: 72px; }
.feature .shop-logo { left: 56px; }
.feature-body { display: flex; gap: 40px; align-items: flex-start; padding: 0 max(24px, calc((100vw - 1120px) / 2)) 0 64px; }
.feature.reverse .feature-body { padding: 0 64px 0 max(24px, calc((100vw - 1120px) / 2)); }
.tanzaku {
  flex: none;
  writing-mode: vertical-rl;
  font-family: 'Shippori Mincho', serif;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 0.2em;
  line-height: 1;
  padding: 64px 18px 24px;
  background: #fff url(images/yuge.svg) center 18px / 30px no-repeat;
  border: 1px solid var(--line);
  border-radius: 4px;
  position: relative;
}
.tanzaku::before { content: ''; position: absolute; inset: 4px; border: 1px solid var(--line); border-radius: 2px; }
.feature-en { font-size: 12px; color: var(--shu); font-weight: 700; letter-spacing: 0.2em; }
.feature-desc { font-size: 15px; margin-top: 12px; }
.feature-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 32px; }
.feature-tags li { font-size: 13px; padding: 6px 16px; border-radius: 999px; background: #e3e9ef; color: var(--ai); }

/* ---------- tablet ---------- */
@media (max-width: 900px) {
  .nav-toggle {
    display: block;
    width: 44px;
    height: 44px;
    background: none;
    border: 0;
    cursor: pointer;
    position: relative;
    z-index: 70;
  }
  .nav-toggle span, .nav-toggle::before, .nav-toggle::after {
    content: '';
    position: absolute;
    left: 11px;
    width: 22px;
    height: 2px;
    background: var(--ink);
    transition: transform 0.2s, opacity 0.2s;
  }
  .nav-toggle::before { top: 15px; }
  .nav-toggle span { top: 21px; }
  .nav-toggle::after { top: 27px; }
  body.nav-open .nav-toggle::before { transform: translateY(6px) rotate(45deg); }
  body.nav-open .nav-toggle span { opacity: 0; }
  body.nav-open .nav-toggle::after { transform: translateY(-6px) rotate(-45deg); }
  #nav {
    position: fixed;
    inset: 0;
    background: var(--paper);
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    font-size: 18px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s;
  }
  body.nav-open #nav { opacity: 1; visibility: visible; }
  html:has(body.nav-open) { overflow: hidden; }

  .hero-name { font-size: 48px; }
  .hero-poem { font-size: 16px; margin-block-start: 28px; }
  .today { margin: -100px 16px 0; grid-template-columns: 1fr 1fr 1fr; }
  .today .btn { display: none; }
  .feature, .feature.reverse { grid-template-columns: 1fr; }
  .feature + .feature { margin-top: 72px; }
  .feature-photo, .feature.reverse .feature-photo { order: 0; height: 380px; -webkit-mask: linear-gradient(#000, #000) 0 0 / 100% calc(100% - 39px) no-repeat, url(images/wave-bottom.svg) bottom / 100% 40px no-repeat; mask: linear-gradient(#000, #000) 0 0 / 100% calc(100% - 39px) no-repeat, url(images/wave-bottom.svg) bottom / 100% 40px no-repeat; }
  .feature-photo::after, .feature.reverse .feature-photo::after { top: 14px; bottom: auto; left: 14px; right: auto; }
  .feature-body, .feature.reverse .feature-body { padding: 24px 24px 0; gap: 24px; }
  .baths { grid-template-columns: repeat(2, 1fr); }
  .bath-main, .access-grid { grid-template-columns: 1fr; gap: 32px; }
  .price-grid, .relax-grid { grid-template-columns: 1fr; }
  .first-grid { grid-template-columns: 1fr; }
  .concept, .guide-inner, .bus-grid { grid-template-columns: 1fr; gap: 32px; }
  .concept .ph { aspect-ratio: 16 / 9; }
  .guide .btns { justify-content: flex-start; }
}

/* ---------- phone ---------- */
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .header-inner { height: 60px; }
  .logo { column-gap: 8px; row-gap: 4px; }
  .logo small { font-size: 9px; padding: 0 2px 0 3px; }
  .logo b { font-size: 22px; letter-spacing: 0.12em; margin-right: -0.12em; }
  .logo .seal { width: 17px; height: 17px; line-height: 17px; font-size: 10px; }
  .hero-inner { height: clamp(480px, calc(100vh - 190px), 760px); height: clamp(480px, calc(100svh - 190px), 760px); }
  .hero-copy { top: 28px; right: 16px; }
  .hero-sub { font-size: 12px; }
  .hero-sub::after { height: 36px; margin-top: 10px; }
  .hero-name { font-size: 38px; margin-block-start: 14px; }
  .hero-poem { font-size: 13.5px; margin-block-start: 18px; line-height: 1.9; letter-spacing: 0.16em; }
  .today { grid-template-columns: 1fr 1fr; margin: -72px 8px 0; }
  .today > div { padding: 14px 16px; }
  .today > div:first-child { grid-column: 1 / -1; }
  .today > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .today > div:nth-child(3) { border-left: 1px solid var(--line); }
  .today dd { font-size: 17px; }
  section { padding-top: 80px; }
  .news { padding-top: 64px; }
  .sec-head { margin-bottom: 28px; flex-wrap: wrap; gap: 4px 12px; }
  .sec-head h2 { font-size: 24px; }
  .news-list a { grid-template-columns: 96px 1fr; gap: 4px 12px; padding: 14px 4px; }
  .news-list .tag { justify-self: start; padding: 0 8px; }
  .news-list span:last-child { grid-column: 1 / -1; }
  .baths { gap: 20px 14px; }
  .price { margin-top: 80px; padding: 72px 0; }
  .card { padding: 24px 20px; }
  .footer { margin-top: 88px; padding-bottom: 150px; }

  .bottom-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 55;
    background: var(--white);
    border-top: 1px solid var(--line);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .bottom-bar a { text-align: center; font-size: 11px; font-weight: 700; padding: 10px 0 8px; line-height: 1.4; }
  .bottom-bar a + a { border-left: 1px solid var(--line); }
  .bottom-bar svg { display: block; margin: 0 auto 2px; width: 22px; height: 22px; }
  .sample-badge { bottom: 76px; }

  .page-head { padding-top: 40px; }
  .page-head h1 { font-size: 28px; }
  .page-head .ph { aspect-ratio: 16 / 9; margin-top: 28px; }
  .page-head + section { padding-top: 64px; }
  .page-head + .price { margin-top: 64px; }
  .concept h2 { font-size: 22px; }
  .guide { margin-top: 80px; padding: 96px 0 140px; }
  .feature-photo, .feature.reverse .feature-photo { height: 300px; }
  .feature-copy { font-size: 22px; top: 28px; right: 28px; }
  .feature.reverse .feature-copy { left: auto; right: 28px; }
  .feature .shop-logo { left: auto; right: 24px; }
  .shop-logo { left: 16px; width: 60px; padding: 12px 0 16px; gap: 8px; }
  .shop-logo svg { width: 32px; height: 32px; }
  .shop-logo .sub { font-size: 10px; }
  .shop-logo .name { font-size: 20px; }
  .feature-body, .feature.reverse .feature-body { padding: 16px 16px 0; gap: 16px; }
  .tanzaku { font-size: 22px; padding: 52px 12px 18px; background-size: 24px; background-position: center 14px; }
  .feature-tags { margin: 20px 0 24px; }
}
  
