@charset "UTF-8";

/* ===========================================================================
   AIYA BASE - ONNA
   色は「AIYA BASE logo.ai」のスウォッチから抽出した実測値
     DIC 41s   → #40CECA  ターコイズ
     DIC 586s  → #FF799A  ピンク
     DIC 2061s → #FFF8E1  クリーム
     墨        → #231815
   =========================================================================== */

/* Lorin（英字）。AIYA BASE での Web 使用ライセンスを高木が確認済み（2026年11月）。
   フォントファイルは public/assets/fonts/ にあり、リポジトリに入っている（.otf のまま使う） */
@font-face { font-family: "Lorin"; font-weight: 300; font-display: swap; src: url("../fonts/Lorin-Light.otf") format("opentype"); }
@font-face { font-family: "Lorin"; font-weight: 400; font-display: swap; src: url("../fonts/Lorin-Regular.otf") format("opentype"); }
@font-face { font-family: "Lorin"; font-weight: 500 700; font-display: swap; src: url("../fonts/Lorin-Bold.otf") format("opentype"); }
@font-face { font-family: "Lorin"; font-weight: 800 900; font-display: swap; src: url("../fonts/Lorin-ExtraBold.otf") format("opentype"); }

:root {
  /* ---- ブランドカラー（ロゴから抽出。変更しないこと） ---- */
  --color-primary:    #40CECA;
  --color-secondary:  #FF799A;
  --color-accent:     #FFF8E1;
  --color-text:       #231815;
  --color-background: #FFF8E1;
  --color-surface:    #FFFFFF;

  /* ---- 上の色から導いた補助色 ---- */
  --primary-deep:   #22A8A4;
  --primary-dark:   #15807D;
  --primary-tint:   #D9F4F3;
  --secondary-deep: #E8477A;
  --secondary-dark: #C22E5E;
  --secondary-tint: #FFE2E9;
  --cream-deep:     #F4E9C8;
  --ink-soft:       #5A4F4B;
  --ink-faint:      #8C817C;
  --line:           rgba(35, 24, 21, .14);

  /* ---- タイポグラフィ ---- */
  /* 見出しの英字は Very Popular をアウトライン化したSVG（assets/img/title/）を使う。
     ここは小さなラベル（ナビ・Eyebrow・価格など）と本文の書体。
     英字は Lorin、日本語は Noto Sans JP（Google Fonts）。Lorin には日本語がないので、
     日本語の文字だけ自動で Noto Sans JP になる。
     Lorin は上の @font-face で読み込む */
  --font-display: "Lorin", "Noto Sans JP", system-ui, sans-serif;
  --font-ja: "Lorin", "Noto Sans JP", -apple-system, BlinkMacSystemFont,
             "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;

  /* ---- 余白・形 ---- */
  --gutter: 20px;
  --maxw: 1180px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 2px 4px rgba(35, 24, 21, .06), 0 14px 34px rgba(35, 24, 21, .10);
  --shadow-hard: 6px 6px 0 var(--color-text);

  --header-h: 62px;
}

/* ===== リセット ===== */

*, *::before, *::after { box-sizing: border-box; }

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

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

img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { line-height: 1.3; margin: 0; font-weight: 700; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
/* ブラウザ標準で figure には左右40px・上下1em の余白が付く。
   ギャラリーのカードが列幅より狭くなるため打ち消す */
figure, figcaption { margin: 0; }

:focus-visible {
  outline: 3px solid var(--color-secondary);
  outline-offset: 3px;
  border-radius: 4px;
}

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

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--color-text); color: var(--color-accent);
  padding: 10px 18px; border-radius: 0 0 12px 12px; font-weight: 700;
  transition: top .18s;
}
.skip-link:focus { top: 0; }

/* ===== 共通パーツ ===== */

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

.display {
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: .01em;
  line-height: 1.08;
  text-transform: uppercase;
}

.eyebrow {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(.76rem, 2.3vw, .88rem);
  letter-spacing: .16em;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 12px;
}

.section { padding: clamp(60px, 11vw, 120px) 0; position: relative; }
.section__head { margin-bottom: clamp(28px, 5vw, 48px); }

/* ===== 見出し（アウトライン化したSVG） =====
   --u が「文字サイズ」にあたる。幅は --tw（字幅）を掛けて出し、
   高さは自動なので、画面が狭いときも形が崩れない。 */

.title-svg {
  width: calc(var(--u) * var(--tw));
  max-width: 100%;
  height: auto;
  display: block;
}

.section__title {
  --u: clamp(26px, 6.6vw, 52px);
  line-height: 0;
}


.section__titleJa {
  font-size: clamp(1.15rem, 4vw, 1.6rem);
  font-weight: 700;
  margin-top: 12px;
  line-height: 1.5;
}

.section__lead {
  margin-top: 16px;
  font-size: clamp(.95rem, 2.8vw, 1.06rem);
  max-width: 34em;
  color: var(--ink-soft);
}

/* 手描き風の下線 */
.underline-rough {
  background-image: linear-gradient(transparent 62%, var(--color-secondary) 62%, var(--color-secondary) 88%, transparent 88%);
  padding-inline: .06em;
}

/* ボタン */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 14px 28px;
  border: 2.5px solid var(--color-text);
  border-radius: 999px;
  background: var(--color-surface);
  color: var(--color-text);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 4px 4px 0 var(--color-text);
  transition: transform .14s ease, box-shadow .14s ease, background-color .14s ease;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--color-text); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--color-text); }

.btn--primary { background: var(--color-secondary); color: #fff; }
.btn--teal    { background: var(--color-primary); color: var(--color-text); }
.btn--cream   { background: var(--color-accent); }
.btn--sm      { min-height: 46px; padding: 10px 20px; font-size: .92rem; box-shadow: 3px 3px 0 var(--color-text); }

.btn__icon { width: 1.15em; height: 1.15em; flex: none; }

/* 外部サイトへ出ることを示す小さな矢印。
   リセットで svg を display:block にしているため、文中のリンクでは
   inline-block に戻さないと文字の下へ落ちてしまう。
   大きさは em 指定なので、ナビでもドロワーでもフッターでも文字に比例する。
   ボタンの中では .btn__icon を使う（間隔は .btn の gap が面倒を見る）。 */
.ext-icon {
  display: inline-block;
  width: .78em;
  height: .78em;
  margin-left: .35em;
  vertical-align: -.03em;
  flex: none;
}

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* トップページのヒーローのボタン（予約する／メニューを見る／Googleマップで行く）
   スマホは縦に並べて幅をそろえ、押しやすくする。広い画面では横一列にする */
@media (max-width: 679px) {
  .btn-row--hero { flex-direction: column; align-items: stretch; }
  .btn-row--hero .btn { width: 100%; }
}
@media (min-width: 900px) {
  .btn-row--hero { flex-wrap: nowrap; gap: 12px; }
  .btn-row--hero .btn { padding-inline: 22px; white-space: nowrap; }
}

/* ===== ヘッダー ===== */

.header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  background: var(--color-primary);
  border-bottom: 3px solid var(--color-text);
}

.header__inner {
  height: 100%;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
}

.header__logo { display: flex; align-items: center; text-decoration: none; }
.header__logo img { height: 30px; width: auto; }

.nav { display: none; }

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

.nav__link {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: .98rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 3px solid transparent;
  transition: border-color .15s;
}
.nav__link:hover, .nav__link[aria-current="page"] { border-bottom-color: var(--color-text); }

.nav__cta { margin-left: 6px; }

/* ハンバーガー */

.burger {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  background: var(--color-accent);
  border: 2.5px solid var(--color-text);
  border-radius: 12px;
  cursor: pointer;
  padding: 0;
}
.burger__bars { display: block; width: 20px; height: 2.5px; background: var(--color-text); position: relative; border-radius: 2px; }
.burger__bars::before, .burger__bars::after {
  content: ""; position: absolute; left: 0; width: 20px; height: 2.5px;
  background: var(--color-text); border-radius: 2px; transition: transform .22s ease, top .22s ease;
}
.burger__bars::before { top: -7px; }
.burger__bars::after  { top: 7px; }
.burger[aria-expanded="true"] .burger__bars { background: transparent; }
.burger[aria-expanded="true"] .burger__bars::before { top: 0; transform: rotate(45deg); }
.burger[aria-expanded="true"] .burger__bars::after  { top: 0; transform: rotate(-45deg); }

/* inset:0 で画面全体を覆う。ヘッダー（z-index:100）が上に残るので、
   お知らせ帯の有無でズレない */
.drawer {
  position: fixed; inset: 0;
  background: var(--color-primary);
  padding: calc(var(--header-h) + 28px) var(--gutter) 40px;
  transform: translateY(-110%);
  transition: transform .3s cubic-bezier(.3,.8,.3,1);
  z-index: 99;
  overflow-y: auto;
}
.drawer[data-open="true"] { transform: translateY(0); }

.drawer__list { display: grid; gap: 4px; margin-bottom: 26px; }
.drawer__link {
  display: block;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.9rem;
  text-transform: uppercase;
  text-decoration: none;
  padding: 12px 0;
  border-bottom: 2px dashed rgba(35,24,21,.3);
}
.drawer__link span { display: block; font-family: var(--font-ja); font-size: .82rem; font-weight: 700; letter-spacing: .02em; margin-top: 2px; }
.drawer .btn-row { flex-direction: column; }
.drawer .btn { width: 100%; }

/* ===== ヒーロー ===== */

.hero {
  background: var(--color-primary);
  border-bottom: 3px solid var(--color-text);
  position: relative;
  overflow: hidden;
  padding: clamp(36px, 8vw, 72px) 0 clamp(48px, 9vw, 86px);
}

/* 背景のドット */
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(var(--primary-deep) 1.6px, transparent 1.6px);
  background-size: 22px 22px;
  opacity: .55;
  pointer-events: none;
}

.hero__inner { position: relative; display: grid; gap: clamp(28px, 6vw, 48px); }

.hero__badge { display: block; width: clamp(108px, 26vw, 150px); margin-bottom: 18px; }
.hero__badge img { width: 100%; height: auto; }

.hero__kicker {
  background: var(--color-text);
  color: var(--color-accent);
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.hero__title { margin-bottom: 18px; }
.hero__title img { width: min(100%, 420px); }

.hero__headline {
  font-size: clamp(1.75rem, 7.4vw, 3rem);
  font-weight: 700;
  line-height: 1.32;
  letter-spacing: -.01em;
  white-space: pre-line;
  margin-bottom: 16px;
}

.hero__lead {
  font-size: clamp(.96rem, 3vw, 1.1rem);
  max-width: 30em;
  margin-bottom: 28px;
}

.hero__figure { position: relative; }

.hero__photo {
  border: 3px solid var(--color-text);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-hard);
  overflow: hidden;
  rotate: -1.6deg;
  background: var(--color-accent);
}
.hero__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

/* ステッカー（ヒーロー写真に重ねるピンクの丸） */
.sticker {
  position: absolute;
  display: grid; place-items: center;
  width: clamp(92px, 23vw, 134px); aspect-ratio: 1;
  border-radius: 50%;
  background: var(--color-secondary);
  border: 3px solid var(--color-text);
  rotate: -12deg;
  box-shadow: 4px 4px 0 var(--color-text);
  padding: 0;
}
/* 丸の中で一番大きく見えるよう、直径に対する割合で指定する。
   .title-svg の width より後に効かせたいので、セレクタを強くしてある */
.sticker .sticker__text {
  width: 64%;
  height: auto;
  max-width: none;
}
.hero__sticker { right: -6px; bottom: -18px; }

/* ===== 帯（流れるテキスト） ===== */

.marquee {
  background: var(--color-text);
  color: var(--color-accent);
  border-block: 3px solid var(--color-text);
  overflow: hidden;
  padding: 11px 0;
}
.marquee__track {
  display: flex; width: max-content;
  animation: marquee 32s linear infinite;
}
.marquee__item {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(.95rem, 3.2vw, 1.35rem);
  letter-spacing: .09em;
  text-transform: uppercase;
  padding-inline: 22px;
  white-space: nowrap;
}
.marquee__item::after { content: "★"; margin-left: 22px; color: var(--color-secondary); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* 英語が主役で、日本語はすぐ下に小さく添える（お客さんの6割が外国人） */
.hero__headline-ja { font-size: clamp(.95rem, 3.4vw, 1.15rem); font-weight: 700; margin: -6px 0 18px; }
.hero__lead-ja { font-size: .88rem; max-width: 34em; margin: -18px 0 28px; color: var(--ink-soft); }
.sub-ja { font-size: .84rem; color: var(--ink-faint); }

/* ===== ホットドッグ（トップの主役） ===== */

.hotdog-top { background: var(--color-background); }
.section__lead-ja { font-size: .86rem; color: var(--ink-soft); margin-top: 6px; max-width: 40em; }
.eyebrow--pink { color: var(--secondary-dark); }
.hotdog-top__grid { margin-top: clamp(20px, 4vw, 30px); }

/* カフェはホットドッグに添える帯 */
.cafe-strip {
  margin-top: clamp(28px, 5vw, 44px);
  display: grid;
  gap: 18px;
  background: var(--primary-tint);
  border: 3px solid var(--color-text);
  border-radius: var(--radius-lg);
  padding: clamp(18px, 4vw, 28px);
}
.cafe-strip__lead { font-weight: 700; font-size: clamp(1rem, 3vw, 1.12rem); }
.cafe-strip__en { font-size: .88rem; color: var(--ink-soft); margin-top: 4px; }
.cafe-strip__items .mgrid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
/* スマホでは3枚並べると窮屈なので、名前だけを小さく出す */
.cafe-strip .mcard__body { padding: 8px 10px 10px; }
.cafe-strip .mcard__name { font-size: .8rem; }
.cafe-strip .mcard__en { display: none; }
/* 英語の名前の下に添える日本語。英字用の字間・大文字の指定を外す */
.mcard__en[lang="ja"], .card__item-en[lang="ja"], .hero-item__en[lang="ja"] {
  font-family: var(--font-ja); letter-spacing: 0; text-transform: none; font-weight: 700;
}
.page-hero__ja { font-size: .88rem; color: var(--ink-soft); margin-top: 6px; }
.plan__ja { display: block; font-size: .84rem; font-weight: 700; color: var(--ink-faint); margin: -4px 0 10px; }
.mgroup__title .sub-ja { font-size: .8rem; font-weight: 700; margin-left: 6px; }
.cafe-strip__more { font-weight: 700; color: var(--color-text); justify-self: start; }
.cafe-strip__more::after { content: " →"; }

/* ===== More at the base（BBQ・BAR） ===== */

.more__title { font-size: clamp(1.25rem, 5.2vw, 2.4rem); font-weight: 900; line-height: 1.3; }
.more__title-ja { font-weight: 700; font-size: .95rem; margin-top: 4px; }
.card__noimg {
  display: grid; place-items: center;
  width: 100%; aspect-ratio: 4 / 3;
  background: repeating-linear-gradient(45deg, var(--primary-tint) 0 12px, var(--color-surface) 12px 24px);
  font-family: var(--font-display); font-weight: 900; letter-spacing: .08em;
  text-transform: uppercase; color: var(--ink-faint);
}

/* ===== ABOUT ===== */

.about { background: var(--color-background); }
.about__grid { display: grid; gap: clamp(28px, 6vw, 56px); align-items: center; }
.about__body { display: grid; gap: 14px; margin-top: 20px; }
.about__en {
  margin-top: 22px; padding-top: 18px;
  border-top: 2px dashed var(--line);
  font-size: .88rem; color: var(--ink-faint); line-height: 1.8;
}
.about__figure { position: relative; }
/* 写真だけに適用する（重ねている犬アイコンに当たらないよう picture 配下に限定） */
.about__figure picture img {
  border: 3px solid var(--color-text);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-hard);
  aspect-ratio: 3 / 2; object-fit: cover; width: 100%;
}
.about__dog {
  position: absolute; left: -14px; bottom: -30px;
  width: clamp(76px, 13vw, 112px);
  height: auto;
  rotate: -8deg;
  filter: drop-shadow(0 0 5px var(--color-background));
  pointer-events: none;
}
.about__dog img { width: 100%; height: auto; }

/* ===== メニュー（抜粋カード） ===== */

.menu { background: var(--color-secondary); border-block: 3px solid var(--color-text); color: var(--color-text); }
.menu .section__lead { color: rgba(35,24,21,.78); }

.cards { display: grid; gap: clamp(20px, 4vw, 30px); }

.card--link { text-decoration: none; color: inherit; }
.card__more {
  margin-top: 14px;
  font-family: var(--font-display); font-weight: 900;
  font-size: .82rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--secondary-dark);
}
.card__more::after { content: " →"; }
.card {
  background: var(--color-surface);
  border: 3px solid var(--color-text);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-hard);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translate(-3px,-3px); box-shadow: 9px 9px 0 var(--color-text); }

.card__media { position: relative; background: var(--primary-tint); }
.card__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.card__badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--color-text); color: var(--color-accent);
  font-weight: 700; font-size: .78rem;
  padding: 5px 12px; border-radius: 999px;
}

.card__body { padding: 22px 20px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card__title { font-family: var(--font-display); font-weight: 900; font-size: clamp(1.25rem, 4.2vw, 1.55rem); line-height: 1.25; letter-spacing: .02em; text-transform: uppercase; }
.card__titleJa { font-size: .88rem; font-weight: 700; color: var(--ink-faint); margin-top: -6px; }
.card__lead { font-weight: 700; font-size: 1.02rem; }
.card__text { font-size: .93rem; color: var(--ink-soft); }

.card__items { display: grid; gap: 10px; margin-top: 6px; }
.card__item { display: flex; justify-content: space-between; gap: 14px; align-items: baseline; border-bottom: 1px dotted var(--line); padding-bottom: 8px; }
.card__item-name { font-weight: 700; font-size: .96rem; }
.card__item-en { display: block; font-size: .76rem; color: var(--ink-faint); font-weight: 400; }
.card__item-desc { font-size: .85rem; color: var(--ink-soft); margin-top: 2px; }
.card__item-price { font-family: var(--font-display); font-weight: 900; font-size: 1.05rem; white-space: nowrap; }
.card__item-price small { font-size: .62em; font-weight: 700; margin-left: 1px; }
.card__item-price--tbd { font-family: var(--font-ja); font-size: .76rem; font-weight: 700; color: var(--ink-faint); }
.card__item-main { flex: 1; min-width: 0; }
.card__items-title {
  font-family: var(--font-display); font-weight: 900; font-size: 1.02rem;
  margin: 24px 0 10px; padding-left: 10px; border-left: 4px solid var(--color-primary);
}
.card__items-note { font-size: .82rem; color: var(--ink-soft); margin: -4px 0 10px; }

/* メニュー一覧の商品写真。写真は1:1で用意してあるので、正方形の枠に入れても切れない */
.card__item--thumb { align-items: center; }
.card__thumb {
  flex: none; width: 64px; height: 64px; overflow: hidden;
  border: 2px solid var(--color-text); border-radius: 12px;
  background: var(--primary-tint);
}
.card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.card__thumb--none { background: repeating-linear-gradient(45deg, var(--primary-tint) 0 8px, var(--color-surface) 8px 16px); }

/* ===== ギャラリー ===== */

.gallery { background: var(--color-primary); border-block: 3px solid var(--color-text); }
.gallery__grid { display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr); }
.gallery__item {
  border: 3px solid var(--color-text);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 4px 4px 0 var(--color-text);
  background: var(--color-accent);
  position: relative;
}
.gallery__item img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .5s ease; }
.gallery__item:hover img { transform: scale(1.06); }
.gallery__item:nth-child(3n) { rotate: 1.2deg; }
.gallery__item:nth-child(4n) { rotate: -1.2deg; }
.gallery__caption {
  position: absolute; left: 10px; bottom: 10px;
  background: var(--color-text); color: var(--color-accent);
  font-size: .76rem; font-weight: 700;
  padding: 4px 11px; border-radius: 999px;
}

/* ===== メニューのカテゴリーページ =====
   商品カードは正方形の写真＋名前＋価格。写真はすべて1:1で用意してあるので、
   枠から溢れたり切れたりしない。カードを押すと <dialog> が開く。 */

.mgroup__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.3rem, 4.6vw, 1.9rem);
  letter-spacing: .02em;
  margin: clamp(38px, 7vw, 60px) 0 14px;
}
.mgroup__note { font-size: .9rem; color: var(--ink-soft); margin: -6px 0 16px; }
.menu-note { margin-top: clamp(32px, 6vw, 48px); font-size: .84rem; color: var(--ink-faint); }
.catnav__label {
  font-family: var(--font-display); font-weight: 900; letter-spacing: .08em;
  text-transform: uppercase; font-size: .84rem; color: var(--ink-faint); margin-bottom: 12px;
}

/* --- 商品カード --- */
.mgrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(12px, 2.6vw, 20px);
}
.mcard {
  display: block;
  width: 100%;
  padding: 0;
  text-align: left;
  background: var(--color-surface);
  border: 3px solid var(--color-text);
  border-radius: var(--radius);
  box-shadow: 4px 4px 0 var(--color-text);
  overflow: hidden;
  cursor: pointer;
  font-family: inherit;
  color: var(--color-text);
  transition: transform .14s ease, box-shadow .14s ease;
}
.mcard:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--color-text); }
.mcard:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--color-text); }
.mcard__media { display: block; aspect-ratio: 1 / 1; background: var(--primary-tint); }
.mcard__media img { width: 100%; height: 100%; object-fit: cover; }
.mcard__noimg {
  display: block; width: 100%; height: 100%;
  background: repeating-linear-gradient(45deg, var(--primary-tint) 0 10px, var(--color-surface) 10px 20px);
}
.mcard__body { display: block; padding: 12px 14px 14px; border-top: 3px solid var(--color-text); }
.mcard__name { display: block; font-weight: 700; font-size: clamp(.9rem, 2.8vw, 1rem); line-height: 1.45; }
.mcard__en {
  display: block; font-family: var(--font-display); font-weight: 900;
  font-size: .72rem; letter-spacing: .06em; color: var(--ink-faint); margin-top: 2px;
}
.mcard__price {
  display: block; font-family: var(--font-display); font-weight: 900;
  font-size: clamp(1rem, 3.4vw, 1.2rem); margin-top: 8px;
}
.mcard__price--tbd { font-size: .8rem; font-weight: 700; color: var(--ink-faint); font-family: var(--font-ja); }

/* --- 一番の推しを大きく出す --- */
.hero-item {
  display: grid;
  gap: clamp(18px, 4vw, 32px);
  background: var(--color-surface);
  border: 3px solid var(--color-text);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-hard);
  overflow: hidden;
}
.hero-item__media { background: var(--primary-tint); }
.hero-item__media img { width: 100%; height: auto; display: block; }
.hero-item__body { padding: 0 clamp(18px, 4vw, 30px) clamp(22px, 4vw, 30px); }
.hero-item__name {
  font-family: var(--font-display); font-weight: 900; line-height: 1.15;
  font-size: clamp(1.5rem, 6vw, 2.4rem);
}
.hero-item__en {
  font-family: var(--font-display); font-weight: 900; letter-spacing: .06em;
  font-size: .86rem; color: var(--ink-faint); margin-top: 4px;
}
.hero-item__desc { margin-top: 12px; font-size: clamp(.95rem, 2.9vw, 1.02rem); line-height: 1.8; }
.hero-item__price {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(1.6rem, 6vw, 2.2rem); margin-top: 14px;
}

/* --- トッピング --- */
.topping {
  display: grid; gap: 0;
  background: var(--color-surface);
  border: 3px solid var(--color-text);
  border-radius: var(--radius);
  overflow: hidden;
  max-width: 560px;
}
.topping li {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 13px 18px; font-weight: 700;
}
.topping li + li { border-top: 2px dashed rgba(35, 24, 21, .25); }
.topping__price { font-family: var(--font-display); font-weight: 900; font-size: 1.05rem; }

/* --- プラン（BBQ・飲み放題） --- */
.plans { display: grid; gap: clamp(16px, 3vw, 24px); margin-top: clamp(22px, 4vw, 32px); }
.plan {
  background: var(--color-surface);
  border: 3px solid var(--color-text);
  border-radius: var(--radius-lg);
  box-shadow: 5px 5px 0 var(--color-text);
  padding: clamp(20px, 4vw, 28px);
  position: relative;
}
.plan--rec { background: var(--primary-tint); }
.plan__badge {
  position: absolute; top: -14px; left: 18px;
  background: var(--color-secondary); color: #fff;
  font-family: var(--font-display); font-weight: 900; letter-spacing: .08em;
  font-size: .8rem; padding: 5px 14px; border-radius: 999px;
  border: 2.5px solid var(--color-text);
}
.plan__name {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(1.25rem, 4.4vw, 1.6rem); line-height: 1.2;
}
.plan__spec { display: grid; gap: 6px; margin-top: 14px; }
.plan__spec > div { display: flex; align-items: baseline; gap: 12px; }
.plan__spec dt {
  font-size: .78rem; font-weight: 700; color: var(--ink-faint);
  min-width: 4.6em; letter-spacing: .04em;
}
.plan__spec dd { font-weight: 700; }
.plan__price { font-family: var(--font-display); font-weight: 900; font-size: clamp(1.5rem, 5.4vw, 2rem); }
.plan__price span { font-size: .5em; font-weight: 700; margin-left: 2px; }
.plan__note {
  display: inline-block; margin-top: 10px; padding: 4px 12px;
  background: var(--secondary-tint); border-radius: 999px;
  font-size: .82rem; font-weight: 700; color: var(--secondary-dark);
}
.plan__label {
  margin-top: 16px; font-size: .78rem; font-weight: 700;
  letter-spacing: .08em; color: var(--ink-faint);
}
.plan__list { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 7px; }
.plan__list li {
  background: var(--color-accent); border: 2px solid var(--color-text);
  border-radius: 999px; padding: 4px 12px; font-size: .84rem; font-weight: 700;
}
.bbq-notes { margin-top: clamp(20px, 4vw, 28px); display: grid; gap: 8px; }
.bbq-notes li { padding-left: 1.2em; position: relative; font-size: .94rem; }
.bbq-notes li::before { content: "●"; position: absolute; left: 0; color: var(--color-primary); font-size: .7em; top: .45em; }

/* --- 予約 --- */
.booking {
  margin-top: clamp(28px, 5vw, 42px);
  padding: clamp(20px, 4vw, 30px);
  background: var(--color-accent);
  border: 3px solid var(--color-text);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-hard);
}
.booking__lead { font-family: var(--font-display); font-weight: 900; font-size: clamp(1.1rem, 4vw, 1.4rem); }
.booking__text { margin: 8px 0 16px; font-size: .94rem; }
.booking--prep { background: var(--color-surface); }
/* --- 予約ページ（reserve.html） ---
   Squareの埋め込みは「高さ＝親の100%」の iframe を作り、中身に合わせた高さの自動調整がない。
   枠の高さを画面の高さ − ヘッダーに固定して、予約画面がちょうど1画面に収まるようにする。
   見出しも小さめにして、ページ自体のスクロールはほんの少しで済むようにしている。 */
.page-hero--compact { padding: clamp(22px, 4vw, 40px) 0; }
.page-hero--compact .page-hero__title { --u: clamp(26px, 6.4vw, 48px); }
.page-hero--compact .page-hero__sub { margin-top: 6px; font-size: .95rem; }
.reserve { padding: clamp(14px, 3vw, 32px) 0 clamp(40px, 7vw, 72px); }
.reserve-widget {
  position: relative;
  height: calc(100vh - var(--header-h) - 24px);   /* dvh 非対応ブラウザ向け */
  height: calc(100dvh - var(--header-h) - 24px);
  min-height: 560px;
  max-height: 1100px;
  background: #fff;
  border: 3px solid var(--color-text);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-hard);
  overflow: hidden;
}
.reserve-widget iframe { display: block; width: 100%; height: 100%; border: 0; }
/* 読み込み中の表示。Squareの画面の上に重ね、読み込みが終わったら（data-state="ready"）フェードで消す */
.reserve-loading {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  padding: 24px; text-align: center;
  background:
    radial-gradient(var(--primary-tint) 1.6px, transparent 1.6px) 0 0 / 18px 18px,
    var(--color-accent);
  transition: opacity .35s ease, visibility .35s;
}
.reserve-widget[data-state="ready"] .reserve-loading { opacity: 0; visibility: hidden; }
.reserve-loading__dog { width: 64px; height: auto; animation: reserveBob 1.2s ease-in-out infinite; }
.reserve-loading__ring {
  width: 38px; height: 38px; border-radius: 50%;
  border: 4px solid var(--primary-tint);
  border-top-color: var(--color-primary);
  border-right-color: var(--color-secondary);
  animation: reserveSpin .9s linear infinite;
}
.reserve-loading__text { font-weight: 900; font-size: 1rem; letter-spacing: .04em; }
.reserve-loading__slow { display: none; max-width: 26em; font-size: .86rem; color: var(--ink-soft); line-height: 1.8; }
.reserve-loading__slow a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.reserve-widget[data-slow] .reserve-loading__slow { display: block; }
/* JavaScriptが動かないときは重ねない（予約画面の iframe をそのまま見せる） */
.reserve-widget:not(.is-js) .reserve-loading { display: none; }
/* どの方法でも表示できなかったとき（data-state="failed"）：案内だけを出す */
.reserve-loading__fail { display: none; max-width: 28em; font-size: .9rem; line-height: 1.9; }
.reserve-loading__fail a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.reserve-loading__failTitle { font-weight: 900; font-size: 1.02rem; margin-bottom: 6px; }
.reserve-widget[data-state="failed"] .reserve-loading__fail { display: block; }
.reserve-widget[data-state="failed"] .reserve-loading__ring,
.reserve-widget[data-state="failed"] .reserve-loading__text,
.reserve-widget[data-state="failed"] .reserve-loading__slow { display: none; }
.reserve-widget[data-state="failed"] .reserve-loading__dog { animation: none; }
@keyframes reserveSpin { to { transform: rotate(360deg); } }
@keyframes reserveBob { 50% { transform: translateY(-6px); } }
@media (prefers-reduced-motion: reduce) {
  .reserve-loading__dog, .reserve-loading__ring { animation: none; }
}
.reserve-widget__noscript { padding: 24px; font-size: .92rem; }
.reserve__help { margin-top: 18px; font-size: .86rem; color: var(--ink-soft); line-height: 1.9; }
.reserve__help a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 679px) {
  /* スマホは枠を画面幅いっぱいにして、予約画面の横幅を広く取る */
  .reserve .wrap { padding-left: 0; padding-right: 0; }
  .reserve-widget { border-left: 0; border-right: 0; border-radius: 0; box-shadow: none; }
  .reserve__help { padding: 0 var(--gutter); }
}

/* 予約ボタンの下に添える電話・Instagramの案内。ボタンより目立たせない */
.booking__sub { margin-top: 14px; font-size: .84rem; color: var(--ink-soft); }
.booking__sub a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

/* --- タブ（BARのドリンク切り替え） --- */
.mtabs {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: clamp(18px, 3.5vw, 26px);
}
.mtab {
  font-family: inherit; font-weight: 700; font-size: clamp(.84rem, 2.6vw, .95rem);
  padding: 9px 16px; min-height: 42px;
  background: var(--color-surface); color: var(--color-text);
  border: 2.5px solid var(--color-text); border-radius: 999px;
  box-shadow: 3px 3px 0 var(--color-text);
  cursor: pointer; transition: background-color .14s ease, transform .14s ease, box-shadow .14s ease;
}
.mtab:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--color-text); }
.mtab[aria-selected="true"] { background: var(--color-secondary); color: #fff; }

/* --- 名物カクテル --- */
.signature {
  background: var(--color-primary);
  border: 3px solid var(--color-text);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-hard);
  padding: clamp(22px, 4.5vw, 34px);
}
.signature__title {
  font-family: var(--font-display); font-weight: 900; line-height: 1.12;
  font-size: clamp(1.5rem, 6vw, 2.3rem); letter-spacing: .02em;
}
.signature__ja { font-weight: 700; margin-top: 4px; }
.signature__lead { margin: 10px 0 20px; font-size: .96rem; }
.signature .mgrid { gap: clamp(10px, 2.2vw, 18px); }

/* --- アルコールの法定表示 --- */
.alcnote {
  display: flex; gap: 12px; align-items: flex-start;
  max-width: var(--maxw); margin: 0 auto clamp(40px, 7vw, 60px);
  padding: 16px clamp(18px, 4vw, 24px);
  width: calc(100% - var(--gutter) * 2);
  background: var(--secondary-tint);
  border: 3px solid var(--color-text);
  border-radius: var(--radius);
  font-size: .9rem; font-weight: 700;
}
.alcnote__mark {
  flex: none; width: 1.6em; height: 1.6em; border-radius: 50%;
  background: var(--color-secondary); color: #fff;
  display: grid; place-items: center; font-family: var(--font-display); font-weight: 900;
}

/* --- 商品の詳細ダイアログ --- */
.mdlg {
  width: min(520px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  padding: 0;
  border: 3px solid var(--color-text);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  color: var(--color-text);
  box-shadow: var(--shadow-hard);
  overflow: auto;
  overscroll-behavior: contain;
}
.mdlg::backdrop { background: rgba(35, 24, 21, .55); }
.mdlg__close {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  width: 42px; height: 42px; display: grid; place-items: center;
  background: var(--color-surface); color: var(--color-text);
  border: 2.5px solid var(--color-text); border-radius: 50%;
  box-shadow: 3px 3px 0 var(--color-text); cursor: pointer;
}
.mdlg__close svg { width: 18px; height: 18px; }
.mdlg__media { background: var(--primary-tint); }
.mdlg__media img { width: 100%; height: auto; display: block; }
.mdlg__body { padding: clamp(18px, 4vw, 24px); border-top: 3px solid var(--color-text); }
.mdlg__en {
  font-family: var(--font-display); font-weight: 900; letter-spacing: .06em;
  font-size: .8rem; color: var(--ink-faint);
}
.mdlg__en:empty { display: none; }
.mdlg__name { font-family: var(--font-display); font-weight: 900; font-size: clamp(1.3rem, 5vw, 1.7rem); line-height: 1.2; }
.mdlg__price { font-family: var(--font-display); font-weight: 900; font-size: clamp(1.4rem, 5.4vw, 1.8rem); margin-top: 8px; }
.mdlg__price--tbd { font-family: var(--font-ja); font-size: .9rem; font-weight: 700; color: var(--ink-faint); }
.mdlg__desc { margin-top: 10px; line-height: 1.8; font-size: .96rem; }
.mdlg__desc:empty { display: none; }

/* ===== オンラインストア =====
   前後がターコイズ（ギャラリー）とクリーム（店舗情報）なので、
   ここは白地＋上下の墨罫にして、区切りをはっきりさせている。
   Tシャツは背景透過の切り抜きなので、枠は付けずに影と傾きだけで見せる。 */

.shop { background: var(--color-surface); border-block: 3px solid var(--color-text); }
.shop__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(10px, 2.6vw, 26px);
  align-items: end;
  max-width: 980px;
  margin-top: clamp(24px, 4.5vw, 38px);
}
.shop__item img {
  width: 100%;
  height: auto;
  filter: drop-shadow(4px 5px 0 rgba(35, 24, 21, .18));
}
.shop__item:nth-child(odd) img  { rotate: -3deg; }
.shop__item:nth-child(even) img { rotate: 3deg; }

/* ===== 店舗情報 ===== */

.info { background: var(--color-background); }
.info__grid { display: grid; gap: clamp(28px, 5vw, 44px); }

.info__table { border-top: 2px solid var(--color-text); }
.info__row { display: grid; grid-template-columns: 1fr; gap: 2px; padding: 16px 2px; border-bottom: 1px solid var(--line); }
.info__key { font-family: var(--font-display); font-weight: 900; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint); }
.info__val { font-size: 1rem; }
.info__val a { font-weight: 700; }
.info__val ul { display: flex; flex-wrap: wrap; gap: 6px 8px; }
.info__val li { background: var(--color-surface); border: 2px solid var(--color-text); border-radius: 999px; padding: 3px 12px; font-size: .85rem; font-weight: 700; }

.notice {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--secondary-tint);
  border: 2.5px solid var(--color-secondary);
  border-radius: var(--radius);
  padding: 16px 18px;
  font-size: .93rem;
  margin-top: 20px;
}
.notice__mark { font-family: var(--font-display); color: var(--secondary-dark); font-size: 1.2rem; line-height: 1.2; flex: none; }
.notice strong { display: block; margin-bottom: 2px; }

.map-frame {
  border: 3px solid var(--color-text);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-hard);
  background: var(--primary-tint);
  aspect-ratio: 4 / 3;
}
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ===== 最終CTA ===== */

.final {
  background: var(--color-secondary);
  border-top: 3px solid var(--color-text);
  text-align: center;
  padding: clamp(56px, 10vw, 100px) 0;
}
.final__dog { display: block; width: clamp(110px, 28vw, 170px); margin: 0 auto 18px; }
.final__dog img { width: 100%; height: auto; }
.final__title { --u: clamp(26px, 7vw, 54px); line-height: 0; }
.final__title .title-svg { margin-inline: auto; }
.final__text { margin: 18px auto 30px; max-width: 26em; font-weight: 700; }
.final .btn-row { justify-content: center; }

/* ===== フッター ===== */

.footer { background: var(--color-text); color: var(--color-accent); padding: 48px 0 32px; }
.footer__top { display: grid; gap: 28px; padding-bottom: 28px; border-bottom: 1px solid rgba(255,248,225,.2); }
.footer__logo img { width: 190px; }
.footer__tagline { font-family: var(--font-display); font-weight: 900; letter-spacing: .14em; font-size: .9rem; margin-top: 12px; color: var(--color-primary); }
.footer__addr { margin-top: 14px; font-size: .9rem; line-height: 1.9; color: rgba(255,248,225,.8); }
.footer__nav { display: grid; gap: 10px; }
.footer__nav a { text-decoration: none; font-weight: 700; font-size: .95rem; }
.footer__nav a:hover { color: var(--color-primary); }
.footer__bottom { padding-top: 22px; display: flex; flex-wrap: wrap; gap: 10px 20px; justify-content: space-between; font-size: .78rem; color: rgba(255,248,225,.6); }

.social { display: flex; gap: 12px; margin-top: 18px; }
.social a {
  width: 46px; height: 46px; display: grid; place-items: center;
  border: 2px solid var(--color-accent); border-radius: 50%;
  transition: background-color .16s, color .16s;
}
.social a:hover { background: var(--color-primary); border-color: var(--color-primary); color: var(--color-text); }
.social svg { width: 21px; height: 21px; }

/* ===== メニューページ ===== */

.page-hero {
  background: var(--color-primary);
  border-bottom: 3px solid var(--color-text);
  padding: clamp(40px, 8vw, 72px) 0;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(var(--primary-deep) 1.6px, transparent 1.6px);
  background-size: 22px 22px; opacity: .5;
}
.page-hero__inner { position: relative; }
.page-hero__title { --u: clamp(30px, 8.4vw, 64px); line-height: 0; }
.page-hero__sub { font-weight: 700; margin-top: 10px; font-size: 1.05rem; }

.menu-list { display: grid; gap: clamp(36px, 7vw, 64px); }
.menu-block { display: grid; gap: 22px; }
.menu-block__media {
  border: 3px solid var(--color-text); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-hard); position: relative;
  background: var(--primary-tint);
}
.menu-block__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.menu-block__title { --u: clamp(22px, 5.4vw, 38px); line-height: 0; }
.menu-block__titleJa { font-weight: 700; color: var(--ink-faint); font-size: .92rem; }
.menu-block__lead { font-size: clamp(1.02rem, 3.4vw, 1.22rem); font-weight: 700; margin-top: 12px; }
.menu-block__text { margin-top: 10px; color: var(--ink-soft); font-size: .96rem; }

.empty-note {
  margin-top: 16px; padding: 14px 16px;
  background: var(--color-surface);
  border: 2px dashed var(--line);
  border-radius: var(--radius);
  font-size: .9rem; color: var(--ink-soft);
}

/* ===== アニメーション ===== */

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .marquee__track { animation: none; }
}

/* ===== 画面が広いとき ===== */

@media (min-width: 680px) {
  .gallery__grid { grid-template-columns: repeat(3, 1fr); }
  .mgrid { grid-template-columns: repeat(3, 1fr); }
  .signature .mgrid { grid-template-columns: repeat(2, 1fr); }
  .hero-item { grid-template-columns: 1fr 1fr; align-items: center; gap: 0; }
  .hero-item__body { padding: clamp(22px, 4vw, 34px); }
  .plans { grid-template-columns: repeat(3, 1fr); align-items: start; }
  .plans--2 { grid-template-columns: repeat(2, 1fr); max-width: 760px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .info__row { grid-template-columns: 150px 1fr; gap: 16px; align-items: baseline; }
  .footer__top { grid-template-columns: 1.4fr 1fr; }
  /* 商品リストが長いので、写真は上揃えにしてスクロール中も見えるようにする */
  .menu-block { grid-template-columns: 1fr 1fr; align-items: start; gap: 34px; }
  .menu-block__media { position: sticky; top: calc(var(--header-h) + 16px); }
  .menu-block:nth-child(even) .menu-block__media { order: 2; }
}

@media (min-width: 900px) {
  :root { --header-h: 72px; }
  .nav { display: block; }
  .burger { display: none; }
  .drawer { display: none; }
  .header__logo img { height: 34px; }
  .hero__inner { grid-template-columns: 1.08fr .92fr; align-items: center; }
  .about__grid { grid-template-columns: 1fr 1fr; }
  .cards { grid-template-columns: repeat(4, 1fr); }
  .cards--3 { grid-template-columns: repeat(3, 1fr); }
  .cards--2 { grid-template-columns: repeat(2, 1fr); }
  .cafe-strip { grid-template-columns: .8fr 1.6fr; align-items: center; }
  .cafe-strip__more { grid-column: 1 / -1; }
  .mgrid { grid-template-columns: repeat(4, 1fr); }
  .signature .mgrid { grid-template-columns: repeat(2, 1fr); }
  .hero-item { grid-template-columns: .9fr 1.1fr; }
  .info__grid { grid-template-columns: 1.05fr .95fr; align-items: start; }
  .hero__photo img { aspect-ratio: 3 / 4; }
}

/* ===== 印刷 ===== */

@media print {
  .header, .drawer, .marquee, .final, .btn-row, .gallery { display: none !important; }
  body { background: #fff; }
  .card, .info__table { box-shadow: none; }
}

/* ===== お知らせ帯（臨時休業・台風など） ===== */

.notice-bar {
  background: var(--color-secondary);
  color: #fff;
  border-bottom: 3px solid var(--color-text);
  font-weight: 700;
  font-size: .94rem;
  padding: 11px 0;
  text-align: center;
}
.notice-bar .wrap { display: flex; gap: 10px; align-items: center; justify-content: center; }
.notice-bar__mark {
  flex: none; width: 22px; height: 22px; border-radius: 50%;
  background: var(--color-text); color: var(--color-secondary);
  display: grid; place-items: center;
  font-family: var(--font-display); font-size: .9rem;
}


/* ===========================================================================
   オープニング演出
   ・CSSアニメーションだけで消える（JavaScriptが無効でも画面に残らない）
   ・position:fixed なのでレイアウトに影響しない（レイアウトシフトなし）
   ・合計 1.95 秒
   =========================================================================== */

.intro {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: grid;
  place-items: center;
  background: var(--color-primary);
  cursor: pointer;
  /* 全体の流れ：回転(0〜1.6s) → 弾む(1.6〜1.9s) → ロゴ(1.9〜2.5s) → 消える(2.5〜3.0s) */
  animation: introOut .5s ease 2.5s forwards;
}

/* 背景のドット（ヒーローと同じ模様でつながりを出す） */
.intro::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(var(--primary-deep) 1.6px, transparent 1.6px);
  background-size: 22px 22px;
  opacity: .5;
}

.intro__inner {
  position: relative;
  display: grid;
  justify-items: center;
  gap: clamp(18px, 4vw, 26px);
  padding: 20px;
}

/* 動かすのは transform と opacity だけ。
   影は内側の img に付けて、回転のたびに影を計算し直さないようにしている */
.intro__art {
  display: block;
  width: clamp(188px, 50vw, 292px);
  animation: introArt 1.9s linear both;
  will-change: transform;
  backface-visibility: hidden;
  transform-origin: 50% 50%;
}
.intro__art img {
  width: 100%; height: auto;
  filter: drop-shadow(6px 9px 10px rgba(16, 70, 68, .38));
}

.intro__logo {
  width: clamp(170px, 46vw, 290px);
  animation: introLogo .6s cubic-bezier(.2, .8, .3, 1) 1.9s both;
  will-change: transform, opacity;
}

.intro__skip {
  position: absolute;
  bottom: max(22px, env(safe-area-inset-bottom));
  left: 50%;
  transform: translateX(-50%);
  font: inherit;
  font-size: .82rem;
  font-weight: 700;
  color: var(--color-text);
  background: var(--color-accent);
  border: 2px solid var(--color-text);
  border-radius: 999px;
  padding: 9px 22px;
  min-height: 40px;
  cursor: pointer;
  opacity: 0;
  animation: introSkipIn .3s ease .6s forwards;
}

/* 2回転（720°）しながら拡大。
   各区間の回転量を少しずつ減らすことで、読み取れる速さで自然に減速する。
     0.0〜0.5s  320°   0.5〜1.0s  240°
     1.0〜1.4s  120°   1.4〜1.6s   40°  → 停止
   そのあと 1.6〜1.9s で軽く弾む。 */
@keyframes introArt {
  0%      { opacity: 0; transform: rotate(-720deg) scale(.12); }
  6%      { opacity: 1; }
  26.32%  { transform: rotate(-400deg) scale(.46); }
  52.63%  { transform: rotate(-160deg) scale(.78); }
  73.68%  { transform: rotate(-40deg)  scale(.95); animation-timing-function: cubic-bezier(.25, .1, .25, 1); }
  84.21%  { transform: rotate(0deg)    scale(1);   animation-timing-function: cubic-bezier(.34, 0, .64, 1); }
  92.10%  { transform: rotate(0deg)    scale(1.07); animation-timing-function: cubic-bezier(.36, 0, .34, 1); }
  100%    { transform: rotate(0deg)    scale(1); }
}

/* 下から跳ね上がるように出る */
@keyframes introLogo {
  0%   { opacity: 0; transform: translateY(44px) scale(.9); }
  55%  { opacity: 1; transform: translateY(-9px) scale(1.04); }
  78%  { transform: translateY(3px) scale(.99); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes introSkipIn { to { opacity: .85; } }
@keyframes introOut {
  to { opacity: 0; visibility: hidden; pointer-events: none; }
}

/* 2回目以降・動きを減らす設定・スキップ時は出さない */
html.no-intro .intro,
html.intro-skipped .intro { display: none; }

/* 演出中のスクロール固定は JavaScript 側で行う（演出後に確実に戻すため） */
body.intro-lock { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  .intro { display: none; }
}
