/* ============================================
   RESTAURANT BURGER TEMPLATE
   ハンバーガー・ダイナー — クリーム × チェリーレッド × マスタード × ネイビー
   左右分割のヒーロー・バーガーの断面図・ブース席
============================================ */

:root {
  /* Color */
  --bg: #fbf3e2; /* クリーム（地） */
  --white: #fffaf0;
  --red: #c8102e; /* チェリーレッド */
  --red-deep: #9e0c24;
  --mustard: #f2b134; /* マスタード */
  --navy: #1d2b4f; /* ネイビー（文字・面） */
  --ink: #1d2b4f;
  --muted: #59617a;
  --line: rgba(29, 43, 79, 0.18);
  --accent: var(--red);

  /* Font */
  --font-body: "Murecho", "Hiragino Sans", sans-serif;
  --font-en: "Archivo Black", "Arial Black", sans-serif; /* 英字の見出し・数字 */

  --container: 1180px;
  --gutter: clamp(16px, 4.5vw, 48px);
  --header-h: 68px;
  --section-space: clamp(72px, 10vw, 120px);
  --radius: 14px;
  --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);
}

.sec-head {
  max-width: 640px;
  margin-bottom: clamp(28px, 4vw, 44px);
}

.sec-head p,
.build__lead,
.togo p {
  color: var(--muted);
  font-size: 15px;
}

.sec-head__title {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 900;
  margin-bottom: 12px;
}

.sec-head__title span {
  display: block;
  font-family: var(--font-en);
  font-weight: 400;
  font-size: clamp(36px, 5.4vw, 64px);
  line-height: 1;
  color: var(--red);
  letter-spacing: 0;
  margin-bottom: 6px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 10px 24px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 15px;
  border: 2px solid var(--navy);
  transition:
    background-color 0.25s var(--ease),
    color 0.25s var(--ease),
    transform 0.25s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--red {
  background: var(--red);
  color: #fff;
}

.btn--navy {
  background: var(--navy);
  color: #fff;
}

.btn--line {
  background: var(--white);
}

.btn--line:hover {
  background: var(--mustard);
}

.btn--big {
  font-size: 18px;
  min-height: 60px;
}

/* ---------- ヘッダー ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  color: #fff;
}

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

.logo {
  font-family: var(--font-en);
  line-height: 0.95;
  display: flex;
  flex-direction: column;
}

.logo__top {
  font-size: 15px;
  color: var(--mustard);
  letter-spacing: 0.04em;
}

.logo__bottom {
  font-size: 24px;
  letter-spacing: 0.08em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav__list {
  display: flex;
  gap: 22px;
  font-size: 14px;
  font-weight: 700;
}

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

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

.nav__tel {
  font-family: var(--font-en);
  font-size: 15px;
  background: var(--mustard);
  color: var(--navy);
  padding: 8px 16px;
  border-radius: 999px;
}

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

.nav-toggle span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 3px;
  border-radius: 2px;
  transition:
    transform 0.3s var(--ease),
    opacity 0.3s var(--ease);
}

/* ハンバーガーアイコンもバンズ・パティ・バンズの色で */
.nav-toggle span:nth-child(1) {
  top: 15px;
  background: var(--mustard);
}

.nav-toggle span:nth-child(2) {
  top: 22px;
  background: #b5652b;
}

.nav-toggle span:nth-child(3) {
  top: 29px;
  background: var(--mustard);
}

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

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

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

@media (max-width: 1000px) {
  .nav-toggle {
    display: block;
  }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 0;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    background: var(--navy);
    padding: 16px 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: 18px;
  }
  .nav__list a {
    display: block;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }
  .nav__tel {
    text-align: center;
    padding: 14px;
  }
}

/* ---------- HERO（左右分割） ---------- */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: min(calc(100svh - var(--header-h)), 820px);
}

.hero__text {
  background: var(--mustard);
  padding: clamp(40px, 6vw, 80px) var(--gutter);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero__open {
  font-family: var(--font-en);
  font-size: 13px;
  letter-spacing: 0.06em;
}

.hero__en {
  display: block;
  font-family: var(--font-en);
  font-weight: 400;
  font-size: clamp(46px, 6.2vw, 92px);
  white-space: nowrap;
  line-height: 0.92;
  color: var(--navy);
  margin: 14px 0 18px;
}

.hero__ja {
  display: block;
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 900;
  color: var(--red-deep);
}

.hero__lead {
  margin-top: 14px;
  max-width: 460px;
  font-size: 15px;
  font-weight: 500;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero__photo {
  position: relative;
  overflow: hidden;
  background: var(--navy);
}

.hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: hero-zoom 1.8s var(--ease) both;
}

@keyframes hero-zoom {
  from {
    transform: scale(1.04);
  }
  to {
    transform: none;
  }
}

/* 価格の札（角丸の四角） */
.hero__badge {
  position: absolute;
  left: 24px;
  bottom: 24px;
  background: var(--white);
  color: var(--navy);
  font-weight: 700;
  font-size: 14px;
  line-height: 1.4;
  padding: 12px 16px;
  border-radius: var(--radius);
  border: 2px solid var(--navy);
}

.hero__badge b {
  font-family: var(--font-en);
  font-weight: 400;
  font-size: 28px;
  color: var(--red);
}

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .hero__photo {
    height: 340px;
    order: -1;
  }
}

@media (max-width: 480px) {
  .hero__actions .btn {
    flex: 1 1 100%;
  }
}

/* ---------- お知らせの帯 ---------- */
.ticker {
  background: var(--navy);
  color: #fff;
  padding: 12px var(--gutter);
  font-size: 14px;
}

.ticker b {
  font-family: var(--font-en);
  font-weight: 400;
  background: var(--red);
  padding: 2px 10px;
  margin-right: 12px;
  border-radius: 4px;
}

.ticker time {
  color: var(--mustard);
  margin-right: 6px;
  font-weight: 700;
}

/* ---------- バーガー ---------- */
.burgers__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.bcard {
  background: var(--white);
  border: 2px solid var(--navy);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.bcard img {
  aspect-ratio: 7 / 5.2;
  object-fit: cover;
  width: 100%;
  border-bottom: 2px solid var(--navy);
}

.bcard--big {
  grid-column: span 2;
  grid-row: span 2;
}

.bcard--big img {
  aspect-ratio: 1;
  flex: 1;
}

.bcard__body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.bcard__no {
  font-family: var(--font-en);
  color: var(--red);
  font-size: 14px;
}

.bcard h3 {
  font-size: 17px;
  font-weight: 900;
  line-height: 1.45;
}

.bcard--big h3 {
  font-size: clamp(20px, 2.4vw, 26px);
}

.bcard__body > p:not(.bcard__no):not(.bcard__price) {
  font-size: 14px;
  color: var(--muted);
  margin-top: 4px;
}

.bcard__price {
  margin-top: auto;
  padding-top: 8px;
  font-family: var(--font-en);
  font-size: 26px;
  text-align: right;
}

.bcard__price small {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
}

.burgers__kids {
  margin-top: 24px;
  display: inline-block;
  padding: 10px 18px;
  background: var(--white);
  border: 2px dashed var(--navy);
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 15px;
}

@media (max-width: 1000px) {
  .burgers__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .bcard--big {
    grid-row: auto;
  }
  .bcard--big img {
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 560px) {
  .burgers__grid {
    grid-template-columns: 1fr;
  }
  .bcard--big {
    grid-column: auto;
  }
}

/* ---------- つくり（断面図） ---------- */
.build {
  background: var(--white);
  border-block: 2px solid var(--navy);
}

.build__grid {
  display: grid;
  grid-template-columns: 0.8fr 1.4fr 0.8fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}

.stack {
  display: grid;
  gap: 6px;
}

.stack__layer {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 16px;
  align-items: center;
  font-size: 14px;
}

/* 左側の色帯が、具材の断面 */
.stack__layer span {
  display: grid;
  place-items: center;
  min-height: 34px;
  font-weight: 900;
  font-size: 13px;
  text-align: center;
  line-height: 1.3;
  padding: 4px;
}

.stack__layer b {
  font-weight: 500;
  color: var(--muted);
}

.stack__layer--bun-top span {
  background: #e3a14a;
  border-radius: 70px 70px 8px 8px;
  min-height: 52px;
}

.stack__layer--sauce span {
  background: #f4d9a4;
  border-radius: 6px;
}

.stack__layer--cheese span {
  background: var(--mustard);
  clip-path: polygon(0 0, 100% 0, 96% 100%, 80% 60%, 60% 100%, 40% 60%, 20% 100%, 4% 60%);
  min-height: 30px;
  padding-bottom: 8px;
}

.stack__layer--patty span {
  background: #5a3420;
  color: #fff;
  border-radius: 12px;
  min-height: 44px;
}

.stack__layer--veg span {
  background: var(--red);
  color: #fff;
  border-radius: 6px;
}

.stack__layer--lettuce span {
  background: #7bab47;
  color: #fff;
  border-radius: 14px 4px 14px 4px;
}

.stack__layer--bun-bottom span {
  background: #e3a14a;
  border-radius: 8px 8px 20px 20px;
  min-height: 40px;
}

.build__photo img {
  aspect-ratio: 1;
  object-fit: cover;
  width: 100%;
  border-radius: var(--radius);
  border: 2px solid var(--navy);
}

.build__photo figcaption {
  font-size: 14px;
  margin-top: 8px;
}

@media (max-width: 1000px) {
  .build__grid {
    grid-template-columns: 1fr 1fr;
  }
  .stack {
    grid-column: 1 / 3;
    grid-row: 2;
  }
}

@media (max-width: 600px) {
  .build__grid {
    grid-template-columns: 1fr;
  }
  .stack {
    grid-column: auto;
    grid-row: auto;
  }
  .stack__layer {
    grid-template-columns: 104px 1fr;
    gap: 12px;
  }
  .build__photo {
    max-width: 280px;
  }
}

/* ---------- サイド・シェイク ---------- */
.sides__grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.sides__photo img {
  aspect-ratio: 8 / 9;
  object-fit: cover;
  width: 100%;
  border-radius: var(--radius);
}

.sides__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 8px;
}

.plist__head {
  font-family: var(--font-en);
  font-size: 20px;
  color: var(--red);
  border-bottom: 3px solid var(--navy);
  padding-bottom: 4px;
}

.plist > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  font-weight: 500;
}

.plist dd {
  font-family: var(--font-en);
  white-space: nowrap;
}

.sides__sub {
  margin-top: 28px;
  max-width: 340px;
  margin-left: auto;
}

.sides__sub img {
  aspect-ratio: 3 / 2;
  object-fit: cover;
  width: 100%;
  border-radius: var(--radius);
}

@media (max-width: 760px) {
  .sides__grid {
    grid-template-columns: 1fr;
  }
  .sides__photo img {
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 480px) {
  .sides__cols {
    grid-template-columns: 1fr;
  }
  .sides__sub {
    display: none;
  }
}

/* ---------- テイクアウト ---------- */
.togo {
  background: var(--red);
  color: #fff;
  padding-block: clamp(56px, 8vw, 88px);
}

.togo .sec-head__title span {
  color: var(--mustard);
}

.togo p {
  color: #ffe3e6;
  max-width: 560px;
}

.togo__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  align-items: center;
}

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

.togo__btns .btn--red {
  grid-column: 1 / 3;
  background: var(--white);
  color: var(--red);
}

.togo__btns .btn--line {
  color: var(--navy);
}

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

/* ---------- お席 ---------- */
.booth__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.booth__photo img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
  border-radius: var(--radius);
}

.booth__table th,
.booth__table td {
  padding: 12px 10px 12px 0;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}

.booth__table th {
  width: 6.5em;
  color: var(--red);
  white-space: nowrap;
}

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

/* ---------- 営業時間・地図 ---------- */
.info {
  padding-bottom: var(--section-space);
}

.info__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 2px solid var(--navy);
  border-radius: var(--radius);
  overflow: hidden;
}

.info__card {
  background: var(--white);
  padding: clamp(24px, 4vw, 40px);
}

.info__logo {
  font-family: var(--font-en);
  font-size: 30px;
  line-height: 1;
  color: var(--red);
  margin-bottom: 16px;
}

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

.info__list dt {
  font-weight: 700;
}

.info__list a {
  text-decoration: underline;
}

.map {
  min-height: 360px;
}

@media (max-width: 760px) {
  .info__grid {
    grid-template-columns: 1fr;
  }
  .map {
    min-height: 300px;
  }
}

/* ---------- フッター ---------- */
.footer {
  background: var(--navy);
  color: #d6dcea;
  padding: 32px 0 24px;
  font-size: 14px;
}

.footer a {
  text-decoration: underline;
}

.footer__copy {
  margin-top: 8px;
  opacity: 0.7;
}

/* ---------- 動きを減らす設定 ---------- */
@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;
  }
}
