/* ============================================
   RESTAURANT STEAK TEMPLATE
   熟成肉と炭火のステーキハウス — 黒 × 銅 × 骨のような生成り
   大きな余白と小さな写真・牛の部位図・グラムで変わる価格のめやす
============================================ */

:root {
  /* Color */
  --bg: #121110; /* 黒（地） */
  --bg-2: #1b1917;
  --bone: #ece4d4; /* 骨のような生成り（文字） */
  --bone-dim: #a9a090;
  --copper: #b87333; /* 銅（差し色） */
  --copper-light: #d29a62;
  --ink: var(--bone);
  --muted: var(--bone-dim);
  --line: rgba(236, 228, 212, 0.14);
  --accent: var(--copper);

  /* Font */
  --font-body: "Shippori Mincho B1", "Hiragino Mincho ProN", serif;
  --font-en: "Marcellus", "Times New Roman", serif; /* 英字・数字 */

  --container: 1080px;
  --gutter: clamp(20px, 5vw, 56px);
  --header-h: 72px;
  --section-space: clamp(96px, 13vw, 168px); /* 余白は大きめに */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  overflow-x: clip;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.04em;
  background: var(--bg);
  color: var(--ink);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "palt" 1;
}

body.is-locked {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: 0;
}

table {
  border-collapse: collapse;
  width: 100%;
}

h1,
h2,
h3,
h4 {
  font-weight: inherit;
  line-height: 1.4;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 8px;
  top: -60px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--bg);
}

.skip-link:focus {
  top: 8px;
}

.container {
  width: min(100% - var(--gutter) * 2, var(--container));
  margin-inline: auto;
}

.sp-only {
  display: none;
}

@media (max-width: 600px) {
  .sp-only {
    display: inline;
  }
  .pc-only {
    display: none;
  }
}

/* ---------- スクロール出現（JSが動いたときだけ隠す） ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- アコーディオン（高さは grid で開閉） ---------- */
.acc__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s var(--ease);
}

.acc__panel > div {
  overflow: hidden;
  min-height: 0;
}

[data-acc].is-open .acc__panel {
  grid-template-rows: 1fr;
}

.acc__icon {
  transition: transform 0.3s var(--ease);
}

[data-acc].is-open .acc__icon {
  transform: rotate(45deg);
}

/* ---------- カレンダー（共通の骨組み） ---------- */
.cal__grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px;
}

.cal__wd {
  text-align: center;
  font-size: 13px;
  padding: 4px 0;
}

.cal__day {
  min-height: 56px;
  padding: 6px;
  font-size: 14px;
  line-height: 1.3;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cal__note {
  font-size: 12px;
  line-height: 1.3;
}

@media (max-width: 600px) {
  .cal__day {
    min-height: 46px;
    padding: 4px 3px;
  }
  .cal__note {
    font-size: 11px;
    letter-spacing: 0;
  }
}

/* ---------- 地図 ---------- */
.map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 300px;
  border: 0;
}

/* ---------- ヒーローの文字：読み込み時に順に出る（CSSのみ・JS不要） ---------- */
.hero-in {
  animation: hero-in 0.8s var(--ease) both;
  animation-delay: calc(var(--d, 0) * 0.12s + 0.1s);
}

@keyframes hero-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- 共通パーツ ---------- */
.section {
  padding-block: var(--section-space);
}

.label {
  font-family: var(--font-en);
  font-size: 13px;
  letter-spacing: 0.24em;
  color: var(--copper-light);
  margin-bottom: 18px;
}

.title {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.08em;
  margin-bottom: 24px;
}

.section p {
  color: var(--muted);
  font-size: 15px;
  line-height: 2.05;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 10px 28px;
  font-size: 15px;
  letter-spacing: 0.12em;
  transition:
    background-color 0.3s var(--ease),
    color 0.3s var(--ease),
    border-color 0.3s var(--ease);
}

.btn--copper {
  background: var(--copper);
  color: #120c08;
  font-family: var(--font-en);
  font-size: 18px;
}

.btn--copper:hover {
  background: var(--copper-light);
}

.btn--line {
  border: 1px solid var(--line);
}

.btn--line:hover {
  border-color: var(--copper);
  color: var(--copper-light);
}

/* ---------- ヘッダー ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(18, 17, 16, 0.96);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease);
}

.header.is-scrolled {
  border-bottom-color: var(--line);
}

.header__inner {
  height: var(--header-h);
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: baseline;
  gap: 14px;
}

.logo__en {
  font-family: var(--font-en);
  font-size: 22px;
  letter-spacing: 0.3em;
  color: var(--copper-light);
}

.logo__ja {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.12em;
}

.nav__list {
  display: flex;
  gap: 30px;
  font-size: 14px;
  letter-spacing: 0.12em;
}

.nav__list a {
  padding: 8px 0;
  color: var(--muted);
  transition: color 0.3s var(--ease);
}

.nav__list a:hover {
  color: var(--bone);
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  position: relative;
}

.nav-toggle span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 1px;
  background: var(--bone);
  transition: transform 0.3s var(--ease);
}

.nav-toggle span:first-child {
  top: 20px;
}

.nav-toggle span:last-child {
  top: 28px;
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

@media (max-width: 960px) {
  .nav-toggle {
    display: block;
  }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 0;
    background: var(--bg);
    padding: 24px var(--gutter) 40px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-16px);
    transition:
      opacity 0.3s var(--ease),
      transform 0.3s var(--ease),
      visibility 0.3s;
  }
  .nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .nav__list {
    flex-direction: column;
    gap: 0;
    font-size: 17px;
  }
  .nav__list a {
    display: block;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
    color: var(--bone);
  }
}

@media (max-width: 480px) {
  .logo__ja {
    display: none;
  }
}

/* ---------- HERO（余白の中の小さな写真） ---------- */
.hero__inner {
  max-width: 760px;
  margin-inline: auto;
  padding: clamp(72px, 12vw, 150px) var(--gutter) clamp(80px, 12vw, 160px);
  text-align: center;
}

.hero__no {
  font-family: var(--font-en);
  font-size: 13px;
  letter-spacing: 0.3em;
  color: var(--copper-light);
}

.hero__title {
  font-size: clamp(26px, 4vw, 44px);
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.14em;
  margin: 28px 0 48px;
}

.hero__title span {
  display: inline-block;
}

.hero__photo {
  width: min(100%, 420px);
  margin-inline: auto;
}

.hero__photo img {
  aspect-ratio: 3 / 2;
  object-fit: cover;
  width: 100%;
}

.hero__lead {
  margin-top: 48px;
  color: var(--muted);
  font-size: 15px;
  line-height: 2.1;
}

.hero__meta {
  margin-top: 28px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 28px;
  font-size: 14px;
  letter-spacing: 0.12em;
}

/* ---------- 熟成庫 ---------- */
.aging {
  border-top: 1px solid var(--line);
}

.aging__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 56px clamp(40px, 7vw, 96px);
}

.aging__text p + p {
  margin-top: 12px;
}

.aging__nums {
  align-self: end;
}

.aging__nums > div {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.aging__nums dt {
  font-size: 13px;
  color: var(--muted);
}

.aging__nums dd {
  font-family: var(--font-en);
  font-size: 44px;
  color: var(--copper-light);
  line-height: 1.2;
}

.aging__nums small {
  font-family: var(--font-body);
  font-size: 15px;
  margin-left: 4px;
}

.aging__photo {
  grid-column: 1 / 3;
  width: min(100%, 520px);
  margin-left: auto;
}

.aging__photo img {
  aspect-ratio: 7 / 5;
  object-fit: cover;
  width: 100%;
}

@media (max-width: 760px) {
  .aging__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .aging__photo {
    grid-column: auto;
  }
}

/* ---------- 部位とグラム ---------- */
.cuts {
  background: var(--bg-2);
}

.cuts__head {
  max-width: 620px;
  margin-bottom: 56px;
}

.cuts__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.cow svg {
  width: 100%;
  height: auto;
  display: block;
}

.cow__head,
.cow__body {
  fill: #2a2622;
  stroke: var(--bone-dim);
  stroke-width: 1;
}

.cow__tail {
  fill: none;
  stroke: var(--bone-dim);
  stroke-width: 2;
}

.cow__part {
  fill: transparent;
  stroke: rgba(236, 228, 212, 0.35);
  stroke-width: 1;
  cursor: pointer;
  transition: fill 0.3s var(--ease);
}

.cow__part:hover {
  fill: rgba(184, 115, 51, 0.25);
}

.cow__part.is-active {
  fill: rgba(184, 115, 51, 0.6);
}

.cow__labels text {
  fill: var(--bone);
  font-size: 13px;
  text-anchor: middle;
  pointer-events: none;
  font-family: var(--font-body);
}

.calc__parts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 24px;
}

.calc__parts button {
  min-height: 44px;
  padding: 6px 14px;
  border: 1px solid var(--line);
  font-size: 14px;
  letter-spacing: 0.08em;
  transition:
    background-color 0.3s var(--ease),
    border-color 0.3s var(--ease);
}

.calc__parts button[aria-pressed="true"] {
  background: var(--copper);
  border-color: var(--copper);
  color: #120c08;
}

.calc__info h3 {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.1em;
}

.calc__info p {
  margin-top: 6px;
}

.calc__unit b {
  font-family: var(--font-en);
  font-weight: 400;
  color: var(--bone);
  font-size: 18px;
}

.calc__gram {
  margin-top: 24px;
}

.calc__gram label {
  font-size: 14px;
  color: var(--muted);
}

.calc__gram output {
  font-family: var(--font-en);
  font-size: 22px;
  color: var(--bone);
  margin: 0 4px;
}

.calc__gram input {
  width: 100%;
  accent-color: var(--copper);
  height: 32px;
}

.calc__total {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 15px;
}

.calc__total span {
  font-family: var(--font-en);
  font-size: 44px;
  color: var(--copper-light);
  margin-left: 10px;
}

.calc__total small {
  margin-left: 4px;
}

.section .calc__note {
  font-size: 14px;
}

@media (max-width: 860px) {
  .cuts__grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- 焼き加減 ---------- */
.doneness__grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: end;
}

.doneness__photo {
  margin-top: 32px;
  max-width: 340px;
}

.doneness__photo img {
  aspect-ratio: 7 / 4.8;
  object-fit: cover;
  width: 100%;
}

.table-wrap {
  overflow-x: auto;
}

.doneness__table {
  min-width: 520px;
}

.doneness__table th,
.doneness__table td {
  padding: 16px 12px 16px 0;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  font-weight: 400;
}

.doneness__table thead th {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.1em;
}

.doneness__table tbody th {
  color: var(--copper-light);
  white-space: nowrap;
}

.swatch {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--c);
  margin-right: 8px;
  vertical-align: -2px;
}

@media (max-width: 860px) {
  .doneness__grid {
    grid-template-columns: 1fr;
  }
}

/* スマホでは表を縦に積む */
@media (max-width: 600px) {
  .doneness__table {
    min-width: 0;
  }
  .doneness__table thead {
    display: none;
  }
  .doneness__table tr {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
  }
  .doneness__table th,
  .doneness__table td {
    border: 0;
    padding: 2px 0;
  }
  .doneness__table tbody th {
    grid-column: 1 / 3;
    font-size: 17px;
  }
  .doneness__table td:last-child {
    grid-column: 1 / 3;
    color: var(--muted);
    font-size: 14px;
  }
}

/* ---------- コース ---------- */
.course {
  border-top: 1px solid var(--line);
}

.course__head {
  margin-bottom: 48px;
}

.course__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--copper);
}

.course__item {
  padding: 28px 28px 8px 0;
}

.course__item + .course__item {
  padding-left: 28px;
  border-left: 1px solid var(--line);
}

.course__price {
  font-family: var(--font-en);
  font-size: 30px;
  color: var(--copper-light) !important;
}

.course__price small {
  font-family: var(--font-body);
  font-size: 14px;
  margin-left: 4px;
}

.course__item h3 {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.2em;
  margin: 4px 0 10px;
}

.course__photo {
  margin-top: 72px;
}

.course__photo img {
  aspect-ratio: 12 / 5;
  object-fit: cover;
  width: 100%;
}

@media (max-width: 860px) {
  .course__list {
    grid-template-columns: 1fr;
  }
  .course__item,
  .course__item + .course__item {
    padding: 24px 0;
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }
  .course__photo img {
    aspect-ratio: 16 / 9;
  }
}

/* ---------- 個室 ---------- */
.room {
  background: var(--bg-2);
}

.room__grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
}

.room__photo img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}

.room__list > div {
  display: grid;
  grid-template-columns: 8em 1fr;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}

.room__list dt {
  color: var(--copper-light);
}

.room__list dd {
  color: var(--muted);
}

@media (max-width: 760px) {
  .room__grid {
    grid-template-columns: 1fr;
  }
  .room__list > div {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}

/* ---------- ご予約・アクセス ---------- */
.reserve {
  text-align: center;
  max-width: 640px;
  margin: 0 auto clamp(72px, 10vw, 120px);
}

.reserve__btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

.info__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
}

.info__list > div {
  display: grid;
  grid-template-columns: 6em 1fr;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}

.info__list dt {
  color: var(--muted);
}

.info__list a {
  text-decoration: underline;
}

.map {
  min-height: 340px;
  filter: grayscale(1) brightness(0.85);
}

@media (max-width: 760px) {
  .info__grid {
    grid-template-columns: 1fr;
  }
  .reserve__btns .btn {
    flex: 1 1 100%;
  }
}

/* ---------- フッター ---------- */
.footer {
  border-top: 1px solid var(--line);
  padding: 40px 0 28px;
  font-size: 14px;
  color: var(--muted);
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 32px;
  align-items: baseline;
}

.footer__logo {
  font-family: var(--font-en);
  font-size: 20px;
  letter-spacing: 0.3em;
  color: var(--copper-light);
}

.footer a {
  text-decoration: underline;
}

.footer__copy {
  width: 100%;
}

/* ---------- 動きを減らす設定 ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
