@charset "UTF-8";

/* ============================================================
   けずり氷 雛物語 — トップページ
   デザインカンプ忠実再現／写真はプレースホルダー
   ============================================================ */

:root {
  --ink: #2b2621;          /* 基本文字色（墨） */
  --black: #16130f;        /* ヘッダー・フッター */
  --red: #b6342c;          /* 深紅（アクセント） */
  --red-dark: #992a23;
  --gold: #a98a4f;         /* 金茶（アウトラインボタン等） */
  --gold-text: #7d6335;
  --cream: #f6f1e7;        /* 生成り背景 */
  --paper: #ffffff;
  --blue: #2f74b5;         /* 純氷・温度表現 */
  --line: #ddd4c3;
  --ph-text: #8d8272;      /* プレースホルダー文字 */

  --font-serif: "Shippori Mincho B1", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --font-sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
}

/* ---------- リセット ---------- */
*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p, ul, li, dl, dt, dd, hr { margin: 0; padding: 0; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "palt";
}

/* 見出し・ブランド要素・価格の数字は明朝体、
   本文（説明文・住所・注記など）はゴシック体 */
h1, h2, h3,
.point dt,
.tate-line,
.global-nav a,
.btn,
.price-row dd,
.price-single,
.kanmi-price,
.temp-panel-value,
.footer-tagline {
  font-family: var(--font-serif);
}

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

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px;
}
.container--wide { max-width: 1140px; }

/* ============================================================
   写真プレースホルダー（写真未定の枠に .ph を当てて使用）
   ============================================================ */
.ph {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    repeating-linear-gradient(45deg, rgba(0, 0, 0, .028) 0 12px, transparent 12px 24px),
    linear-gradient(135deg, #ece5d8, #ddd3c1);
}

.ph-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--ph-text);
  background: rgba(255, 255, 255, .8);
  border: 1px dashed #b9ad97;
  border-radius: 4px;
  text-align: center;
  line-height: 1.5;
  z-index: 1;
}

/* ============================================================
   ヘッダー
   ============================================================ */
.site-header {
  background: var(--black);
}

.header-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 26px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* --- ロゴ ---
   ロゴの品位を保つため、高さを抑えて周囲に
   アイソレーション（保護余白）を確保する */
.brand {
  display: flex;
  align-items: center;
}

.brand-logo {
  height: 40px;
  width: auto;
  display: block;
}

.brand-logo--footer { height: 38px; }

/* --- ナビ --- */
.global-nav {
  display: flex;
  align-items: center;
}

.global-nav a {
  position: relative;
  color: #fff;
  font-size: 15px;
  letter-spacing: .18em;
  padding: 4px 30px;
  transition: opacity .25s;
}

.global-nav a:not(:first-child) {
  border-left: 1px solid rgba(255, 255, 255, .5);
}

.global-nav a:last-child { padding-right: 0; }

.global-nav a:hover { opacity: .8; }

/* ホバーで下線がすっと伸びる */
.global-nav a::after {
  content: "";
  position: absolute;
  left: 30px;
  right: 30px;
  bottom: -4px;
  height: 1px;
  background: #fff;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .35s ease;
}

.global-nav a:last-child::after { right: 0; }

.global-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* ============================================================
   メインビジュアル
   ============================================================ */
.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  overflow: hidden;   /* パララックスで写真がはみ出しても外に描画しない */
}

.hero-photo {
  position: absolute;
  top: -40px;   /* パララックス移動分の余白（上下40pxずつ余分に描画） */
  left: 0;
  width: 100%;
  height: calc(100% + 80px);
  object-fit: cover;
  object-position: 50% 68%;
  /* 器がカンプ同様に右側へ来るよう左右反転で使用（差し替え時は削除可） */
  transform: scaleX(-1) translateY(var(--py, 0px));
  will-change: transform;
}

/* オーバーレイ：
   ・上端はヘッダーの黒からなだらかに写真へ
   ・左は文字の可読性のため白を多段で滑らかに
   ・下端は次の白セクションへ溶けるように */
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      rgba(22, 19, 15, .38) 0%,
      rgba(22, 19, 15, .16) 7%,
      rgba(22, 19, 15, 0) 15%),
    linear-gradient(0deg,
      rgba(255, 255, 255, 1) 0%,
      rgba(255, 255, 255, .88) 5%,
      rgba(255, 255, 255, .62) 11%,
      rgba(255, 255, 255, .34) 18%,
      rgba(255, 255, 255, .14) 25%,
      rgba(255, 255, 255, 0) 34%),
    linear-gradient(90deg,
      rgba(255, 255, 255, .94) 0%,
      rgba(255, 255, 255, .9) 20%,
      rgba(255, 255, 255, .78) 36%,
      rgba(255, 255, 255, .55) 50%,
      rgba(255, 255, 255, .3) 62%,
      rgba(255, 255, 255, .12) 73%,
      rgba(255, 255, 255, .03) 82%,
      rgba(255, 255, 255, 0) 90%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 72px 28px;
}

.hero-copy { max-width: 560px; }

.hero-title {
  font-size: 46px;
  font-weight: 700;
  letter-spacing: .2em;
  line-height: 1.3;
}

/* h1内の肩書き行（SEO/AIO：地域＋業態を最重要見出しに含める） */
.hero-title-sub {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: .24em;
  color: #5c5348;
  margin-bottom: 14px;
}

.hero-title-main {
  display: block;
  line-height: 1.42;
}

/* 「−3℃」：数字は詰めて大きく、単位は級下げ、マイナスは短く
   （かなの字間をそのまま数字に使わないための調整） */
.hero-title .accent {
  color: var(--red);
  font-size: 66px;
  line-height: 1;
  letter-spacing: .02em;
  margin-right: .06em;
}

.t-minus {
  font-size: .58em;
  vertical-align: .14em;
  letter-spacing: 0;
  margin-right: .02em;
}

.t-deg {
  font-size: .54em;
  letter-spacing: 0;
}

/* 読点の右側の空きを詰める（読点は字形の左下にしか墨がないため） */
.k-comma { margin-right: -.42em; }

.hero-lead {
  margin-top: 22px;
  font-size: 16px;
  letter-spacing: .08em;
}

.hero-rule {
  border: 0;
  border-top: 1px solid #b8ac97;
  margin: 26px 0;
}

.hero-sub {
  font-size: 16px;
  letter-spacing: .08em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
}

/* --- 縦書き帯 --- */
.hero-tate {
  position: absolute;
  top: 46px;
  right: 48px;
  display: flex;
  flex-direction: row-reverse;
  gap: 12px;
}

.tate-line {
  writing-mode: vertical-rl;
  background: #fff;
  color: var(--red);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .3em;
  padding: 20px 9px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .18);
}

.tate-line--second { margin-top: 66px; }

/* ============================================================
   ボタン
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: var(--font-serif);
  font-size: 14px;
  letter-spacing: .14em;
  padding: 13px 28px;
  border-radius: 4px;
  transition: background-color .25s, color .25s, border-color .25s;
}

.btn-arrow {
  font-size: 17px;
  line-height: 1;
  transform: translateY(-1px);
  transition: transform .3s ease;
}

.btn:hover .btn-arrow { transform: translate(5px, -1px); }

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

.btn--red:hover {
  background: var(--red-dark);
  box-shadow: 0 6px 18px rgba(182, 52, 44, .32);
}

.btn--outline {
  background: #fff;
  color: var(--gold-text);
  border: 1px solid var(--gold);
}
.btn--outline:hover {
  background: var(--gold);
  color: #fff;
}

.btn--wide {
  min-width: 300px;
  border-radius: 6px;
}

.section-action {
  text-align: center;
  margin-top: 44px;
}

/* ============================================================
   セクション共通
   ============================================================ */
.section { padding: 72px 0 80px; }
.section--white { background: var(--paper); }
/* カンプに合わせて背景は白で統一 */
.section--cream { background: var(--paper); }

section[id] { scroll-margin-top: 20px; }

.sec-title {
  text-align: center;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: .42em;
  text-indent: .42em;
  margin-bottom: 52px;
}

/* ============================================================
   自家製ソースの一文（人気のけずり氷の導入）
   ============================================================ */
.feature-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: -10px 0 56px;
  font-size: 15px;
  letter-spacing: .1em;
}

.feature-note::before,
.feature-note::after {
  content: "";
  flex: 1;
  max-width: 150px;
  height: 1px;
  background: #c4b898;
}

.feature-note .plum { flex: none; }

/* ============================================================
   人気のけずり氷
   ============================================================ */
.menu-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.menu-card {
  background: #fff;
  border: 1px solid #ece5d8;
  box-shadow: 0 2px 10px rgba(60, 45, 20, .07);
  overflow: hidden;
  transition: transform .45s cubic-bezier(.22, .65, .3, 1),
              box-shadow .45s ease,
              opacity .8s ease;
}

.menu-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(60, 45, 20, .15);
}

.menu-photo-wrap {
  position: relative;
  aspect-ratio: 10 / 11;
  overflow: hidden;
}

/* パララックス移動分（上下15px）を余分に描画してカード内で動かす */
.menu-photo {
  position: absolute;
  top: -15px;
  left: 0;
  width: 100%;
  height: calc(100% + 30px);
  object-fit: cover;
}

.menu-card-body {
  padding: 20px 12px 24px;
  text-align: center;
}

.menu-name {
  font-size: 16.5px;
  font-weight: 700;
  letter-spacing: .1em;
}

.price-list {
  margin-top: 14px;
  display: grid;
  gap: 6px;
}

.price-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 16px;
}

.price-row dt {
  font-size: 12px;
  color: #6c655a;
  letter-spacing: .1em;
}

.price-row dd,
.price-single {
  font-size: 17px;
  letter-spacing: .05em;
}

.price-single { margin-top: 18px; }

.yen { font-size: 13px; margin-left: 2px; }

/* ============================================================
   甘味
   ============================================================ */
.kanmi-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}

.kanmi-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.kanmi-photo-wrap {
  position: relative;
  flex: none;
  width: 150px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.kanmi-photo {
  position: absolute;
  top: -15px;
  left: 0;
  width: 100%;
  height: calc(100% + 30px);
  object-fit: cover;
}

.kanmi-name {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .1em;
  padding-top: 6px;
}

.kanmi-price {
  font-size: 16px;
  margin-top: 8px;
}

.kanmi-desc {
  font-size: 13px;
  line-height: 2;
  letter-spacing: .04em;
  margin-top: 12px;
}

/* ============================================================
   店舗情報
   ============================================================ */
.shop-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  gap: 30px;
  align-items: start;
}

.shop-info {
  display: grid;
  gap: 20px;
  padding-top: 4px;
}

.shop-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.shop-row dt {
  flex: none;
  color: #4d463d;
  padding-top: 5px;
}

.shop-row dd {
  font-size: 14px;
  letter-spacing: .05em;
  line-height: 1.9;
}

/* 電話番号リンク（タップで発信） */
.tel-link {
  color: inherit;
  transition: color .25s;
}

.tel-link:hover { color: var(--red); }

.hours { display: inline-block; }

.shop-photo-wrap {
  position: relative;
  aspect-ratio: 13 / 9;
  overflow: hidden;
}

.shop-photo {
  position: absolute;
  top: -20px;
  left: 0;
  width: 100%;
  height: calc(100% + 40px);
  object-fit: cover;
}

.shop-map {
  aspect-ratio: 13 / 9;
  background: #e9e2d4;
}

.shop-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ============================================================
   フッター
   ============================================================ */
.site-footer {
  background: var(--black);
  color: #fff;
  padding: 40px 0 28px;
}

.footer-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  gap: 30px;
}

.footer-divider {
  width: 1px;
  height: 52px;
  background: #4a453e;
}

.footer-tagline {
  font-size: 15px;
  letter-spacing: .12em;
}

.footer-sns {
  margin-left: auto;
  display: flex;
  gap: 14px;
}

.sns-link {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fff;
  color: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .3s ease, background-color .3s, color .3s;
}

.sns-link:hover {
  transform: translateY(-3px);
  background: var(--red);
  color: #fff;
}

.copyright {
  text-align: center;
  margin-top: 34px;
  color: #b3aca1;
  font-size: 12px;
  letter-spacing: .14em;
}

/* ============================================================
   レスポンシブ
   ============================================================ */
@media (max-width: 1080px) {
  .menu-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .kanmi-list {
    grid-template-columns: 1fr;
    gap: 28px;
    max-width: 560px;
    margin: 0 auto;
  }

  .shop-grid {
    grid-template-columns: 1fr 1fr;
  }

  .shop-info { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  /* --- ヘッダー：ロゴを中央に、ナビは全幅で均等割り --- */
  .header-inner {
    flex-direction: column;
    gap: 12px;
    padding: 16px 16px 0;
  }

  .brand { justify-content: center; }
  .brand-logo { height: 34px; }

  .global-nav {
    width: 100%;
    justify-content: center;
    border-top: 1px solid rgba(255, 255, 255, .16);
  }

  .global-nav a {
    flex: 1;
    text-align: center;
    padding: 13px 0;
    font-size: 12.5px;
    letter-spacing: .04em;
    white-space: nowrap;
  }

  .global-nav a:not(:first-child) {
    border-left: 1px solid rgba(255, 255, 255, .16);
  }

  .global-nav a:last-child { padding-right: 0; }
  .global-nav a::after { display: none; }

  /* --- セクション余白を圧縮（間延び防止） --- */
  .section { padding: 52px 0 56px; }
  .sec-title { font-size: 23px; margin-bottom: 36px; }

  .container,
  .container--wide { padding: 0 20px; }

  /* --- ヒーロー --- */
  .hero { min-height: 0; }

  .hero-inner { padding: 52px 20px 96px; }

  .hero-title { font-size: 32px; }
  .hero-title-sub { font-size: 12px; letter-spacing: .16em; margin-bottom: 12px; }
  .hero-title .accent { font-size: 44px; }

  .hero-lead,
  .hero-sub { font-size: 15px; }

  .hero-tate {
    top: auto;
    bottom: 22px;
    right: 20px;
    left: 20px;
    justify-content: center;
  }

  .tate-line {
    writing-mode: horizontal-tb;
    padding: 8px 14px;
    font-size: 13px;
  }

  .tate-line--second { margin-top: 0; }

  /* --- メニューカード：2列、余白と文字を調整 --- */
  .menu-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .menu-card-body { padding: 16px 10px 20px; }
  .menu-name { font-size: 15px; }

  .shop-grid { grid-template-columns: 1fr; }

  .btn--wide { min-width: 0; width: 100%; }

  .footer-inner {
    flex-direction: column;
    gap: 18px;
    text-align: center;
  }

  .footer-divider { display: none; }

  .footer-sns { margin-left: 0; }
}

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

/* --- 共通キーフレーム --- */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}

@keyframes fade-down {
  from { opacity: 0; transform: translateY(-18px); }
  to   { opacity: 1; transform: none; }
}

@keyframes rule-draw {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

/* --- ヒーロー：読み込み時の時間差演出 --- */
.hero-copy > * { animation: fade-up .9s cubic-bezier(.22, .65, .3, 1) both; }

.hero-title   { animation-delay: .15s; }
.hero-lead    { animation-delay: .35s; }
.hero-sub     { animation-delay: .6s; }
.hero-actions { animation-delay: .8s; }

.hero-rule {
  transform-origin: left;
  animation: rule-draw 1s .5s cubic-bezier(.22, .65, .3, 1) both;
}

.tate-line { animation: fade-down .8s cubic-bezier(.22, .65, .3, 1) both; }
.hero-tate .tate-line:first-child  { animation-delay: 1s; }
.hero-tate .tate-line--second      { animation-delay: 1.18s; }


/* --- スクロール連動フェードイン（JS が .is-visible を付与） --- */
.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .9s ease, transform .9s cubic-bezier(.22, .65, .3, 1);
}

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

/* 並びものは時間差で */
.js .menu-list .reveal:nth-child(2) { transition-delay: .1s; }
.js .menu-list .reveal:nth-child(3) { transition-delay: .2s; }
.js .menu-list .reveal:nth-child(4) { transition-delay: .3s; }
.js .menu-list .reveal:nth-child(5) { transition-delay: .4s; }

/* 甘味：写真 → 文章 の順で現れる */
.js .kanmi-item .kanmi-text.reveal { transition-delay: .18s; }

.js .shop-grid .reveal:nth-child(2) { transition-delay: .15s; }
.js .shop-grid .reveal:nth-child(3) { transition-delay: .3s; }

/* こだわり下の罫線が中央から左右へ伸びる */
.js .feature-note::before,
.js .feature-note::after {
  transform: scaleX(0);
  transition: transform 1s .25s cubic-bezier(.22, .65, .3, 1);
}

.js .feature-note::before { transform-origin: right; }
.js .feature-note::after  { transform-origin: left; }

.js .feature-note.is-visible::before,
.js .feature-note.is-visible::after { transform: scaleX(1); }

/* --- 視差効果を抑える設定の利用者にはアニメーションを無効化 --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0ms !important;
  }

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

/* ============================================================
   メニューページ（menu.html）
   ============================================================ */

/* --- ページタイトル --- */
.page-hero {
  padding: 52px 24px 0;
  text-align: center;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: .08em;
  color: #8a8378;
  margin-bottom: 30px;
}

.breadcrumb a { transition: color .25s; }
.breadcrumb a:hover { color: var(--red); }

.page-hero .sec-title { margin-bottom: 16px; }

.tax-note {
  font-size: 12.5px;
  letter-spacing: .12em;
  color: #7c7568;
}

/* 「かき氷＝けずり氷」の呼称に関する一文 */
.naming-note {
  margin-top: 16px;
  font-size: 12.5px;
  letter-spacing: .06em;
  color: #7c7568;
}

.naming-note a {
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-left: 6px;
}

.section--page-first { padding-top: 56px; }

/* --- けずり氷メニュー一覧 --- */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.menu-item {
  background: #fff;
  border: 1px solid #ece5d8;
  box-shadow: 0 2px 10px rgba(60, 45, 20, .07);
  overflow: hidden;
  transition: transform .45s cubic-bezier(.22, .65, .3, 1),
              box-shadow .45s ease,
              opacity .9s ease;
}

.menu-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(60, 45, 20, .15);
}

.menu-item-photo {
  position: relative;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 1 / 1;
}

/* パララックス移動分（上下15px）を余分に描画して枠内で動かす */
.menu-item-photo img {
  position: absolute;
  top: -15px;
  left: 0;
  width: 100%;
  height: calc(100% + 30px);
  object-fit: cover;
}

.menu-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  background: var(--red);
  color: #fff;
  font-size: 11px;
  letter-spacing: .18em;
  padding: 4px 12px;
}

.menu-item-body {
  padding: 22px 20px 26px;
  text-align: center;
}

.menu-item-body .price-list,
.menu-item-body .price-single { margin-top: 12px; }

.menu-desc {
  font-size: 13px;
  line-height: 2;
  letter-spacing: .03em;
  text-align: left;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #eee7da;
}

/* メニュー一覧の時間差表示 */
.js .menu-grid .reveal:nth-child(3n+2) { transition-delay: .12s; }
.js .menu-grid .reveal:nth-child(3n)   { transition-delay: .24s; }

/* --- 甘味（メニューページは2列・説明長め） --- */
.kanmi-list--menu {
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 48px;
}

.kanmi-note {
  display: inline-block;
  font-size: 11.5px;
  color: #7c7568;
  letter-spacing: .08em;
  margin-left: 12px;
}

/* メニューページ用レスポンシブ */
@media (max-width: 1080px) {
  .menu-grid { grid-template-columns: repeat(2, 1fr); }

  .kanmi-list--menu {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin: 0 auto;
  }
}

@media (max-width: 760px) {
  .menu-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }

  .js .menu-grid .reveal:nth-child(n) { transition-delay: 0s; }
}

/* ============================================================
   素材へのこだわり
   白背景の2カラム。動画は背景にせず、独立した映像として
   白い余白の中に置く（動画の色味には手を加えない）
   ============================================================ */
.kodawari-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 64px;
  align-items: center;
}

/* --- 左：文章 --- */
.kodawari-title {
  font-size: 34px;
  font-weight: 600;
  letter-spacing: .18em;
  line-height: 1.5;
}

.kodawari-lead {
  margin-top: 30px;
  font-size: 15px;
  line-height: 2.4;
  letter-spacing: .06em;
}

/* --- 右：動画 --- */
.kodawari-media { position: relative; }

.kodawari-video-frame {
  border: 1px solid #d3c39c;   /* 淡い金茶の細罫 */
  line-height: 0;
}

.kodawari-video {
  width: 100%;
  height: auto;
  display: block;
}

/* --- −3℃ 情報パネル（動画の黒と白背景の橋渡し） --- */
.temp-panel {
  position: absolute;
  left: -48px;
  bottom: 36px;
  background: #fff;
  border: 1px solid #d3c39c;
  padding: 18px 30px 20px;
  text-align: center;
  box-shadow: 0 10px 26px rgba(60, 45, 20, .12);
}

.temp-panel-caption {
  font-size: 12px;
  letter-spacing: .12em;
  color: #4d463d;
  line-height: 1.8;
}

.temp-panel-value {
  font-size: 46px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
  letter-spacing: .02em;
  margin: 4px 0 6px;
}

.temp-panel-unit { font-size: 24px; }

/* --- 3つのこだわり（罫線と余白で整理） --- */
.kodawari-points {
  margin-top: 72px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.point {
  padding: 6px 36px;
  border-left: 1px solid var(--line);
}

.point:first-child {
  border-left: 0;
  padding-left: 0;
}

.point dt {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .14em;
}

.point dd {
  margin-top: 12px;
  font-size: 13.5px;
  line-height: 2;
  letter-spacing: .04em;
}

.js .kodawari-points .reveal:nth-child(2) { transition-delay: .15s; }
.js .kodawari-points .reveal:nth-child(3) { transition-delay: .3s; }

@media (max-width: 760px) {
  /* 見出し → 本文 → 動画 → パネル → 3項目 の縦並び */
  .kodawari-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .kodawari-title { font-size: 26px; }

  .kodawari-lead { line-height: 2.2; }
  .kodawari-lead br { display: none; }

  .temp-panel {
    position: relative;
    left: auto;
    bottom: auto;
    width: max-content;
    margin: -44px auto 0;
  }

  .kodawari-points {
    grid-template-columns: 1fr;
    margin-top: 52px;
    gap: 26px;
  }

  .point {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 26px 0 0;
  }

  .point:first-child {
    border-top: 0;
    padding-top: 0;
  }

  .js .kodawari-points .reveal:nth-child(n) { transition-delay: 0s; }
}

/* ============================================================
   パララックス＆背景の飾り文字
   ============================================================ */
/* data-plx 要素は JS が更新する --py に追従（hero-photo は個別定義） */
[data-plx]:not(.hero-photo) {
  transform: translate3d(0, var(--py, 0px), 0);
  will-change: transform;
}

.section { position: relative; }

/* 飾り文字をはみ出し分だけ切り抜くレイヤー（常にコンテンツの背面） */
.deco-layer {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

/* コンテンツは飾り文字より前面に */
.section .container {
  position: relative;
  z-index: 1;
}

.section-deco {
  position: absolute;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 300px;
  line-height: 1;
  color: #f5efe3;   /* 白地にごく淡く浮かぶ程度 */
  user-select: none;
}

.section-deco--right {
  right: -46px;
  top: 48px;
}

.section-deco--left {
  left: -46px;
  bottom: 56px;
}

@media (max-width: 760px) {
  .section-deco { font-size: 170px; }
}

/* ============================================================
   ドリンク（メニューページ）
   写真のない品目のため、細い罫線と余白で整理した一覧
   ============================================================ */
.drink-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 64px;
  max-width: 860px;
  margin: 0 auto;
}

.drink-item {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 18px 4px;
  border-bottom: 1px solid var(--line);
}

.drink-name {
  font-family: var(--font-serif);
  font-size: 16.5px;
  letter-spacing: .08em;
}

.drink-tags {
  display: inline-flex;
  gap: 6px;
}

.tag {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .14em;
  line-height: 1.5;
  padding: 1px 7px;
  border: 1px solid currentColor;
  border-radius: 2px;
}

.tag--ice { color: var(--blue); }
.tag--hot { color: var(--red); }

.drink-price {
  margin-left: auto;
  font-family: var(--font-serif);
  font-size: 16px;
  letter-spacing: .05em;
  color: var(--ink);
}

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


/* ============================================================
   よくある質問・店舗紹介文（SEO/AIO対応コンテンツ）
   ============================================================ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  padding: 24px 4px;
  border-bottom: 1px solid var(--line);
}

.faq-item:first-child { border-top: 1px solid var(--line); }

.faq-item dt {
  position: relative;
  padding-left: 32px;
  font-family: var(--font-serif);
  font-size: 16.5px;
  font-weight: 600;
  letter-spacing: .06em;
  line-height: 1.8;
}

.faq-item dt::before {
  content: "Q.";
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--font-serif);
  color: var(--red);
}

.faq-item dd {
  position: relative;
  padding-left: 32px;
  margin-top: 10px;
  font-size: 14px;
  line-height: 2.1;
  letter-spacing: .03em;
}

.faq-item dd::before {
  content: "A.";
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--gold-text);
}

.faq-item dd a {
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.shop-intro {
  max-width: 660px;
  margin: -16px auto 48px;
  text-align: center;
  font-size: 14px;
  line-height: 2.2;
  letter-spacing: .04em;
}

@media (max-width: 760px) {
  .faq-item dt { font-size: 15px; }
  .shop-intro { text-align: left; margin-bottom: 36px; }
}

/* ============================================================
   「けずり氷」の由来（枕草子）
   ============================================================ */
.yurai-grid {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 56px;
  align-items: center;
  max-width: 1080px;
  margin: 0 auto;
}

/* 店舗ポスターのイラスト（白背景なので白ページに溶ける） */
.yurai-illust {
  width: 300px;
  height: auto;
}

/* 古典の引用は縦書きで */
.yurai-quote {
  writing-mode: vertical-rl;
  margin: 0 auto;
  padding: 10px 30px;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  font-family: var(--font-serif);
}

.yurai-quote p {
  font-size: 19px;
  font-weight: 600;
  line-height: 2.5;
  letter-spacing: .32em;
}

.yurai-quote cite {
  display: block;
  font-style: normal;
  font-size: 11.5px;
  letter-spacing: .22em;
  color: #7c7568;
  margin-block-start: 26px;
}

.yurai-text p {
  font-size: 14.5px;
  line-height: 2.3;
  letter-spacing: .04em;
}

.yurai-text p + p { margin-top: 18px; }

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

  .yurai-quote {
    justify-self: center;
    padding: 8px 24px;
  }

  .yurai-quote p { font-size: 16.5px; }

  .yurai-illust {
    width: 230px;
    justify-self: center;
  }
}


/* ============================================================
   ルビ（けずり氷＝けずりひ の読み）
   ============================================================ */
/* 親文字に letter-spacing が効くとルビが「文字＋後ろの空き」の
   中央に置かれて右へずれるため、ruby 内は字間を殺す */
ruby {
  letter-spacing: 0;
  ruby-align: center;
}

rt {
  font-size: .42em;
  font-weight: 400;
  letter-spacing: .06em;
}


/* ============================================================
   関連サイトへの動線（倉片人形 公式・EC）
   ============================================================ */
.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 36px;
  margin-top: 30px;
}

.footer-links a {
  font-size: 12.5px;
  letter-spacing: .1em;
  color: #b3aca1;
  transition: color .25s;
}

.footer-links a:hover { color: #fff; }

.footer-links .ext {
  font-size: 10px;
  margin-left: 4px;
}

/* 本文中の外部リンク */
.text-link {
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 3px;
}
