/* ============================================
   RESTAURANT YAKITORI TEMPLATE
   炭火やきとり — 炭の黒、生成り、炭火の橙
   ============================================ */

:root {
  /* 色 */
  --sumi: #191817; /* 炭（地） */
  --sumi-2: #222020;
  --sumi-3: #2c2a28;
  --kinari: #ede6da; /* 生成り（文字） */
  --hai: #8a857d; /* 灰 */
  --hi: #e0662a; /* 炭火の橙 */
  --hi-dark: #c2521b;
  --tare: #7a2c1c;
  --line: rgba(237, 230, 218, 0.14);

  --bg: var(--sumi);
  --text: var(--kinari);
  --accent: var(--hi);
  --nav-bg: var(--sumi);
  --nav-fg: var(--kinari);

  /* 文字 */
  --font-head: "Zen Antique", "Hiragino Mincho ProN", serif;
  --font-body: "Noto Sans JP", "Hiragino Sans", sans-serif;

  --header-h: 70px;
  --max-w: 1160px;
}

/* ============================================
   BASE — リセットと共通部品
   （ヘッダー・モバイルメニュー・タブ・アコーディオン・出現の動き）
   ============================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.85;
  color: var(--text);
  background: var(--bg);
  font-feature-settings: "palt" 0;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

ul,
ol {
  list-style: none;
}

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

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

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

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

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

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.container {
  width: min(100% - 40px, var(--max-w));
  margin-inline: auto;
}

/* 改行を意味で切るための小さな塊（見出しの中で使う） */
.nb {
  display: inline-block;
}

/* ---------- ヘッダーとモバイルメニュー ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
}

.site-header__inner {
  height: 100%;
  width: min(100% - 32px, var(--header-w, 1240px));
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 20px;
}

.site-nav ul {
  display: flex;
  gap: 4px;
}

.site-nav a {
  display: block;
  padding: 8px 12px;
  text-decoration: none;
}

.nav-toggle {
  display: none;
  position: relative;
  z-index: 120;
  width: 48px;
  height: 48px;
  margin-left: auto;
  flex-shrink: 0;
}

.nav-toggle span {
  position: absolute;
  left: 13px;
  right: 13px;
  height: 2px;
  background: currentColor;
  transition: transform 0.3s ease, opacity 0.2s ease;
}

.nav-toggle span:nth-child(1) {
  top: 19px;
}

.nav-toggle span:nth-child(2) {
  top: 27px;
}

.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(4px) rotate(45deg);
}

.nav-open .nav-toggle span:nth-child(2) {
  transform: translateY(-4px) rotate(-45deg);
}

@media (max-width: 899px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 110;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: calc(var(--header-h) + 16px) 32px 40px;
    background: var(--nav-bg);
    color: var(--nav-fg);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-16px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s linear 0.3s;
  }

  .nav-open .site-nav {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s;
  }

  .site-nav ul {
    flex-direction: column;
    gap: 0;
  }

  .site-nav a {
    padding: 14px 4px;
    font-size: 18px;
  }
}

/* ---------- タブ ---------- */
[role="tabpanel"][hidden] {
  display: none;
}

[role="tabpanel"] {
  animation: panel-in 0.4s ease-out;
}

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

/* ---------- アコーディオン（高さは grid の 0fr→1fr で） ---------- */
.acc__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease-out;
}

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

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

.acc__icon {
  transition: transform 0.3s ease-out;
}

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

/* ---------- スクロールで出る（JSが動いたときだけ隠す） ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

.js .reveal[data-delay="1"] {
  transition-delay: 0.1s;
}

.js .reveal[data-delay="2"] {
  transition-delay: 0.2s;
}

.js .reveal[data-delay="3"] {
  transition-delay: 0.3s;
}

/* ヒーローの文字：開いた直後にそっと出る（一度だけ） */
.hero-in {
  animation: hero-in 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.hero-in[data-delay="1"] {
  animation-delay: 0.12s;
}

.hero-in[data-delay="2"] {
  animation-delay: 0.24s;
}

.hero-in[data-delay="3"] {
  animation-delay: 0.36s;
}

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0s !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ============================================
   全体
   ============================================ */
.section {
  padding: 104px 0;
}

.sec-head {
  margin-bottom: 44px;
}

.sec-head__no {
  font-family: var(--font-head);
  font-size: 15px;
  color: var(--hi);
  letter-spacing: 0.2em;
}

.sec-title {
  margin-top: 6px;
  font-family: var(--font-head);
  font-size: clamp(28px, 3.8vw, 42px);
  font-weight: 400;
  letter-spacing: 0.06em;
  line-height: 1.4;
}

.sec-lead {
  margin-top: 12px;
  max-width: 38em;
  color: #bdb6aa;
  font-size: 15px;
}

.note {
  margin-top: 16px;
  font-size: 14px;
  color: var(--hai);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 24px;
  border: 1px solid var(--kinari);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.btn:hover {
  background: var(--kinari);
  color: var(--sumi);
}

.btn--fire {
  background: var(--hi);
  border-color: var(--hi);
  color: #fff;
}

.btn--fire:hover {
  background: var(--hi-dark);
  color: #fff;
}

/* ============================================
   ヘッダー
   ============================================ */
.site-header {
  transition: background-color 0.3s ease;
}

.site-header.is-scrolled {
  background: rgba(25, 24, 23, 0.95);
  box-shadow: 0 1px 0 var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand__kanji {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  background: var(--hi);
  color: var(--sumi);
  font-family: var(--font-head);
  font-size: 28px;
  line-height: 1;
}

.brand__sub {
  font-size: 12px;
  line-height: 1.4;
  color: var(--hai);
  letter-spacing: 0.12em;
}

.site-nav {
  margin-left: auto;
}

.site-nav a {
  font-size: 14px;
  color: #cfc8bc;
}

.site-nav a:hover {
  color: var(--hi);
}

.header-tel {
  font-family: var(--font-head);
  font-size: 18px;
  color: var(--hi);
  text-decoration: none;
  white-space: nowrap;
}

@media (max-width: 899px) {
  .header-tel {
    display: none;
  }

  .site-nav a {
    font-family: var(--font-head);
    font-size: 24px;
    color: var(--kinari);
    border-bottom: 1px solid var(--line);
  }
}

/* ============================================
   Hero：帯状の横長写真
   ============================================ */
.hero {
  padding-top: calc(var(--header-h) + 40px);
}

.hero__label {
  font-size: 14px;
  color: var(--hai);
  letter-spacing: 0.12em;
}

.hero__title {
  margin: 10px 0 32px;
  font-family: var(--font-head);
  font-weight: 400;
  font-size: clamp(40px, 8vw, 104px);
  line-height: 1.15;
  letter-spacing: 0.04em;
}

.hero__title .nb:last-child {
  color: var(--hi);
}

.hero__band img {
  width: 100%;
  height: clamp(220px, 38vh, 420px);
  object-fit: cover;
}

.hero__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 40px;
  padding: 24px 0 8px;
  font-size: 15px;
  border-bottom: 1px solid var(--line);
}

.hero__foot span {
  margin-right: 12px;
  color: var(--hi);
  font-size: 13px;
  letter-spacing: 0.2em;
}

.hero__foot a {
  font-family: var(--font-head);
  font-size: 18px;
  text-decoration: none;
}

/* ============================================
   部位図
   ============================================ */
.bui__grid {
  display: grid;
  gap: 32px;
}

.bird {
  position: relative;
  background: var(--sumi-2);
  border: 1px solid var(--line);
  padding: 8px;
}

.bird__svg {
  width: 100%;
  height: auto;
}

.bird__pin {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--sumi);
  border: 2px solid var(--hi);
  color: var(--kinari);
  font-weight: 700;
  font-size: 15px;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.bird__pin:hover,
.bird__pin.is-active {
  background: var(--hi);
  color: var(--sumi);
}

.bui__detail {
  background: var(--sumi-2);
  border-left: 3px solid var(--hi);
  padding: 28px 24px;
}

.bui__num {
  font-family: var(--font-head);
  font-size: 15px;
  color: var(--hi);
}

.bui__name {
  font-family: var(--font-head);
  font-weight: 400;
  font-size: 28px;
  margin: 2px 0 12px;
}

.bui__text {
  color: #cfc8bc;
  font-size: 15px;
  min-height: 5.6em;
}

.bui__price {
  margin-top: 12px;
  font-size: 15px;
}

.bui__price #bui-price {
  font-family: var(--font-head);
  font-size: 30px;
  color: var(--hi);
}

.bui__way {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 10px;
  border: 1px solid var(--line);
  font-size: 13px;
}

.bui__index {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.bui__index button {
  min-height: 40px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  font-size: 14px;
  transition: border-color 0.25s ease, color 0.25s ease;
}

.bui__index button.is-active {
  border-color: var(--hi);
  color: var(--hi);
}

@media (min-width: 900px) {
  .bui__grid {
    grid-template-columns: 1.3fr 1fr;
    gap: 48px;
    align-items: center;
  }
}

/* ============================================
   串の品書き
   ============================================ */
.kushi {
  background: var(--sumi-2);
}

.kushi__grid {
  display: grid;
  gap: 48px;
}

.mark {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  margin: 0 2px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 50%;
  vertical-align: middle;
}

.mark--tare {
  background: var(--tare);
  color: #fff;
}

.mark--shio {
  background: var(--kinari);
  color: var(--sumi);
}

.table-wrap {
  margin-top: 24px;
  overflow-x: auto;
}

.kushi__table {
  min-width: 300px;
  font-size: 15px;
}

.kushi__table th,
.kushi__table td {
  padding: 12px 8px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.kushi__table thead th {
  font-weight: 400;
  font-size: 13px;
  color: var(--hai);
  border-bottom-color: var(--hi);
}

.kushi__table tbody th {
  font-weight: 500;
}

.kushi__table td:last-child {
  text-align: right;
  font-family: var(--font-head);
  font-size: 18px;
  white-space: nowrap;
}

.kushi__table td:last-child::after {
  content: "円";
  font-family: var(--font-body);
  font-size: 12px;
  margin-left: 2px;
}

.kushi__table td:nth-child(2) {
  white-space: nowrap;
}

.kushi__photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.kushi__photos figure:first-child {
  grid-row: span 2;
}

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

.kushi__photos figure:first-child img {
  aspect-ratio: auto;
  height: calc(100% - 32px);
}

.kushi__photos figcaption {
  margin-top: 6px;
  font-size: 13px;
  color: var(--hai);
}

@media (min-width: 900px) {
  .kushi__grid {
    grid-template-columns: 1.1fr 1fr;
    gap: 64px;
  }

  .kushi__photos {
    align-self: start;
    position: sticky;
    top: calc(var(--header-h) + 24px);
  }
}

/* ============================================
   おまかせ
   ============================================ */
.course__list {
  display: grid;
  gap: 16px;
}

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

.course__item--hi {
  border-color: var(--hi);
  background: linear-gradient(180deg, rgba(224, 102, 42, 0.12), transparent);
}

.course__count {
  font-size: 15px;
  color: var(--hai);
}

.course__count b {
  font-family: var(--font-head);
  font-weight: 400;
  font-size: 56px;
  color: var(--hi);
  line-height: 1;
  margin-right: 4px;
}

.course__item h3 {
  margin-top: 10px;
  font-family: var(--font-head);
  font-weight: 400;
  font-size: 22px;
}

.course__price {
  margin: 4px 0 12px;
  font-weight: 700;
  color: var(--kinari);
}

.course__item p:last-child {
  font-size: 15px;
  color: #bdb6aa;
}

@media (min-width: 768px) {
  .course__list {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ============================================
   鶏のこと
   ============================================ */
.tori {
  display: grid;
  background: var(--sumi-3);
}

.tori__photo img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
}

.tori__body {
  padding: 56px 20px;
}

.tori__body p:not(.sec-head__no) {
  margin-top: 16px;
  color: #cfc8bc;
}

.tori__sign {
  text-align: right;
  font-family: var(--font-head);
  color: var(--kinari) !important;
}

@media (min-width: 900px) {
  .tori {
    grid-template-columns: 1.1fr 1fr;
  }

  .tori__body {
    padding: 96px 64px;
    max-width: 620px;
    align-self: center;
  }
}

/* ============================================
   お席・持ち帰り
   ============================================ */
.seki__grid {
  display: grid;
  gap: 40px;
}

.seki__dl {
  margin-top: 24px;
}

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

.seki__dl dt {
  color: var(--hi);
}

.takeout {
  background: var(--kinari);
  color: var(--sumi);
  padding: 28px 24px;
}

.takeout h3 {
  font-family: var(--font-head);
  font-weight: 400;
  font-size: 26px;
  margin-bottom: 10px;
}

.takeout p {
  font-size: 15px;
}

.takeout__ex {
  margin: 14px 0 20px;
  padding: 10px 14px;
  background: #e0d7c6;
  font-weight: 500;
}

.seki__photo img {
  width: 100%;
  aspect-ratio: 14 / 6;
  object-fit: cover;
}

@media (max-width: 599px) {
  .btn {
    width: 100%;
  }
}

@media (min-width: 900px) {
  .seki__grid {
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: end;
  }

  .seki__photo {
    grid-column: 1 / -1;
  }
}

/* ============================================
   ご予約・店舗
   ============================================ */
.access {
  background: var(--sumi-2);
}

.access__grid {
  display: grid;
  gap: 40px;
}

.btns {
  margin: 24px 0 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.access__dl div {
  display: grid;
  grid-template-columns: 5.5em 1fr;
  gap: 10px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}

.access__dl dt {
  color: var(--hai);
}

.news {
  margin-top: 28px;
  border-left: 2px solid var(--hi);
  padding-left: 16px;
}

.news li {
  padding: 6px 0;
  font-size: 15px;
}

.news time {
  color: var(--hi);
  margin-right: 10px;
}

.access__map iframe {
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: 0;
  filter: grayscale(0.8) invert(0.9) hue-rotate(180deg);
}

@media (min-width: 900px) {
  .access__grid {
    grid-template-columns: 1fr 1fr;
    gap: 56px;
  }
}

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

.site-footer__inner {
  display: grid;
  gap: 6px;
}

.site-footer__name {
  font-family: var(--font-head);
  font-size: 22px;
  color: var(--kinari);
}

@media (min-width: 768px) {
  .site-footer__inner {
    grid-template-columns: auto 1fr auto;
    gap: 28px;
    align-items: center;
  }
}
