:root {
  --base: #131315;
  --surface: #1b1b1e;
  --panel: rgba(19, 19, 21, .9);
  --ink: #f2f2f0;
  --sub: #bdbdc2;
  --silver: #c9ccd4;
  --line: #3a3a40;
  --cta: #ececec;
  --radius: 6px;
}

* { box-sizing: border-box; }

/* M6 なめらかなページ内スクロール（動きOKのときだけ） */
html.js-motion { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--base);
  color: var(--ink);
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 16px;
  line-height: 1.9;
  font-weight: 500;
  padding-bottom: 64px;
}

img { max-width: 100%; height: auto; display: block; }

/* 写真はすべてモノクロで統一する（この型の骨格） */
.hero-bg img, .scene-bg img, .intro-img img { filter: grayscale(1) contrast(1.06); }

/* ---------- リンクの反応（共通） ---------- */
a {
  color: var(--silver);
  transition: color .2s cubic-bezier(.25,.7,.3,1), opacity .2s cubic-bezier(.25,.7,.3,1);
}
a:hover { color: var(--ink); }
a:active { opacity: .72; }
a:focus-visible {
  outline: 2px solid var(--silver);
  outline-offset: 2px;
  border-radius: 4px;
}

.sample-banner {
  background: #000000;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  padding: 8px 16px;
  border-bottom: 1px solid var(--line);
}

/* ---------- ヘッダー（ヒーローに重ねる） ---------- */
.hero-wrap { position: relative; }

header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  max-width: 1180px;
  margin: 0 auto;
}

.logo {
  margin: 0;
  font-family: "Marcellus", serif;
  font-size: 19px;
  letter-spacing: .18em;
}
.logo a { color: var(--ink); text-decoration: none; text-shadow: 0 1px 8px rgba(0, 0, 0, .6); }

.header-tel { margin: 0; font-weight: 700; }
.header-tel a {
  color: var(--ink);
  font-size: 14px;
  text-decoration: none;
  border: 1px solid rgba(242, 242, 240, .7);
  border-radius: 999px;
  padding: 7px 16px;
  background: rgba(15, 15, 17, .55);
  transition: background-color .2s cubic-bezier(.25,.7,.3,1), color .2s cubic-bezier(.25,.7,.3,1), transform .15s cubic-bezier(.25,.7,.3,1);
}
.header-tel a:hover { background: rgba(15, 15, 17, .88); }
.header-tel a:active { transform: scale(.98); opacity: 1; }

/* ---------- ヒーロー（M1 切り替え） ---------- */
.hero {
  position: relative;
  min-height: 94svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #000000;
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-bg .ph-b { opacity: 0; }
.hero-shade {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(10, 10, 11, .46) 0%, rgba(10, 10, 11, 0) 30%, rgba(10, 10, 11, .22) 58%, rgba(10, 10, 11, .9) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  margin: 0 auto;
  width: 100%;
  padding: 120px 20px 44px;
}

.open-chip {
  display: inline-block;
  background: rgba(15, 15, 17, .8);
  border: 1px solid var(--silver);
  color: var(--silver);
  font-weight: 700;
  font-size: 14px;
  border-radius: 999px;
  padding: 5px 16px;
  margin: 0 0 16px;
}

.hero h1 {
  font-size: 33px;
  line-height: 1.55;
  font-weight: 700;
  letter-spacing: .05em;
  margin: 0 0 14px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, .55);
}

.hero-sub { margin: 0 0 24px; max-width: 38em; text-shadow: 0 1px 10px rgba(0, 0, 0, .6); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.photo-note { font-size: 13px; color: var(--sub); margin: 16px 0 0; }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 12px 28px;
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font-weight: 700;
  font-size: 17px;
  text-decoration: none;
  transition: transform .2s cubic-bezier(.25,.7,.3,1), box-shadow .2s cubic-bezier(.25,.7,.3,1), background-color .2s cubic-bezier(.25,.7,.3,1), color .2s cubic-bezier(.25,.7,.3,1);
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .45);
}
.btn:active { transform: translateY(0) scale(.98); box-shadow: none; opacity: 1; }
.btn:focus-visible { outline: 2px solid var(--silver); outline-offset: 2px; }
.btn-tel { background: var(--cta); color: #131315; }
.btn-tel:hover { color: #131315; }
.btn-ghost {
  background: rgba(15, 15, 17, .55);
  color: var(--ink);
  border: 1px solid rgba(242, 242, 240, .7);
}
.btn-ghost:hover { color: var(--ink); background: rgba(15, 15, 17, .88); }
.btn-ghost2 { border: 1px solid var(--line); }
.btn-ghost2:hover { color: var(--ink); }

/* ---------- ブロック共通 ---------- */
main { display: block; }
.block { max-width: 880px; margin: 0 auto; padding: 64px 20px 8px; }

.sec-label {
  font-family: "Marcellus", serif;
  font-size: 13px;
  letter-spacing: .26em;
  font-weight: 400;
  color: var(--silver);
  text-transform: uppercase;
  margin: 0 0 8px;
}
.sec-title {
  font-size: 25px;
  font-weight: 700;
  letter-spacing: .04em;
  margin: 0 0 14px;
  line-height: 1.55;
}

/* ---------- イントロ ---------- */
.intro-img { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-bottom: 26px; }
.intro-img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: 50% 30%; }
.intro-text p { margin: 0 0 14px; }
.points { list-style: none; margin: 18px 0 0; padding: 0; }
.points li {
  padding: 10px 0 10px 22px;
  position: relative;
  font-weight: 700;
}
.points li::before {
  content: "";
  position: absolute;
  left: 0; top: 1.05em;
  width: 12px; height: 1px;
  background: var(--silver);
}

/* ---------- 場面（全面写真＋パネル） ---------- */
.scene {
  position: relative;
  min-height: 82svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #000000;
  margin-top: 56px;
}
.scene-bg { position: absolute; inset: 0; }
.scene-bg img { width: 100%; height: 100%; object-fit: cover; }
.scene-panel {
  position: relative;
  z-index: 2;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  margin: 0 16px 28px;
  max-width: 560px;
}
.scene-panel p { margin: 0; }

/* ---------- 料金（罫線でなく余白で区切る） ---------- */
.menu-list {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 24px;
}
.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 18px 0;
}
.menu-name { margin: 0; font-weight: 700; font-size: 17px; }
.menu-desc { margin: 2px 0 0; font-size: 13px; color: var(--sub); }
.menu-price { margin: 0; font-weight: 700; font-size: 19px; white-space: nowrap; }
.menu-note { font-size: 14px; color: var(--sub); margin: 14px 0 0; }
.menu-cta { margin: 24px 0 0; text-align: center; }

/* ---------- 店舗情報 ---------- */
table.info {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
table.info th {
  text-align: left;
  font-weight: 700;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  width: 34%;
}
table.info td { padding: 14px 16px; border-bottom: 1px solid var(--line); }
table.info tr:last-child th, table.info tr:last-child td { border-bottom: none; }

footer { margin-top: 64px; background: #0c0c0d; border-top: 1px solid var(--line); }
.footer-inner { max-width: 1080px; margin: 0 auto; padding: 30px 20px 38px; }
.footer-logo { font-family: "Marcellus", serif; font-size: 18px; letter-spacing: .16em; margin: 0 0 8px; }
footer p { margin: 0 0 8px; font-size: 14px; }
.credits { font-size: 12px; color: #a6a6ab; }

.cta-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  display: flex;
  background: var(--surface);
  border-top: 1px solid var(--line);
  z-index: 50;
}
.cta-bar a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  font-weight: 700;
  font-size: 16px;
  color: var(--ink);
  text-decoration: none;
  transition: background-color .2s cubic-bezier(.25,.7,.3,1), transform .15s cubic-bezier(.25,.7,.3,1);
}
.cta-bar a:active { transform: scale(.98); opacity: 1; }
.cta-bar .cta-tel { background: var(--cta); color: #131315; }

@media (min-width: 760px) {
  body { padding-bottom: 0; }
  .cta-bar { display: none; }
  .hero h1 { font-size: 44px; }
  .intro { display: flex; gap: 30px; align-items: center; }
  .intro-img { flex: 0 0 42%; margin-bottom: 0; }
  .intro-img img { aspect-ratio: 4 / 5; }
  .intro-text { flex: 1; }
  .scene-panel { margin: 0 auto 44px; width: calc(100% - 40px); }
  .scene-panel { margin-left: max(20px, calc((100% - 1180px) / 2)); }
  .sec-title { font-size: 28px; }
}

/* ---------- 動き（M1 ヒーロー切り替え／M2 出現フェード） ---------- */
.js-motion .rv {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .7s ease, transform .7s ease;
  transition-delay: var(--d, 0s);
}
.js-motion .rv.on { opacity: 1; transform: none; }

/* M1：2枚の写真が16秒周期でゆっくり入れ替わり、ごく緩やかに寄る */
.js-motion .hero-bg .ph-a { animation: heroZoomA 18s ease-in-out infinite alternate; }
.js-motion .hero-bg .ph-b { animation: heroFade 16s ease-in-out infinite, heroZoomB 18s ease-in-out infinite alternate; }
@keyframes heroFade {
  0% { opacity: 0; }
  10% { opacity: 1; }
  44% { opacity: 1; }
  54% { opacity: 0; }
  100% { opacity: 0; }
}
@keyframes heroZoomA { from { transform: scale(1.02); } to { transform: scale(1.08); } }
@keyframes heroZoomB { from { transform: scale(1.08); } to { transform: scale(1.02); } }

/* ---------- 動きを減らす設定では、動きを止めて色の変化だけ残す ---------- */
@media (prefers-reduced-motion: reduce) {
  .btn, a, .cta-bar a, .header-tel a { transition: none; }
  .btn:hover { transform: none; box-shadow: none; }
  .btn:active, .cta-bar a:active, .header-tel a:active { transform: none; }
}

/* ================= IF-STD v1 =================
   インタラクション・フィードバック標準（templates/motion-parts.md）準拠。
   ボタン・カードは上の各規則で「浮く／沈む＋影・色」を実装し、本文リンクは色の変化のみ。
   時間0.2秒・イージング cubic-bezier(.25,.7,.3,1)・:active と :focus-visible 必須。
   reduced-motion では末尾のメディアクエリで動きを止め、色の変化だけを即時に効かせる。 */
