/* ==========================================================================
   御菓子司 青竹堂 — 共通スタイル
   ---------------------------------------------------------------------------
   考えかた
     ・紙は白練（しろねり）。上生菓子の白餡と同じ明るさに合わせる。
     ・抹茶green は「面と罫の色」＝構造色。強調には使わない。
     ・小豆色はページ全体でただ一つのアクセント。CTA・現在の節気・
       リンクの下線だけがこの色になる。ここ以外に小豆色は出さない。
     ・角丸は全面的に 0。菓子の面と角を写した写真に、丸い枠は付けない。
     ・写真の上に文字を重ねない（重ねるのは局所スクリムのある1箇所だけ）。
   ========================================================================== */

/* ---- 色・寸法 ---------------------------------------------------------- */
:root {
  --paper: #fbfaf4; /* 白練 */
  --paper-2: #f2f1e6; /* 一段沈めた紙 */
  --paper-3: #eae9db;
  --ink: #23281f; /* 苔を含んだ深い墨 */
  --ink-2: #575e4d;
  --ink-3: #7d836f;
  --matcha: #4d6a44; /* 構造色。罫・面・図版 */
  --matcha-pale: #dde3ce;
  --azuki: #8c4a46; /* 唯一のアクセント */
  --azuki-deep: #6f3937;
  --line: #d6d5c4;
  --line-soft: #e4e3d5;

  --shell: 1360px;
  --gut: clamp(1.25rem, 5vw, 4.5rem);
  --sec: clamp(4.5rem, 9vw, 8.5rem);

  --ja-min: "Zen Old Mincho", "Yu Mincho", "Hiragino Mincho ProN", serif;
  --ja-go: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", sans-serif;
  --en: "Cormorant Garamond", "Zen Old Mincho", serif;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---- 下ごしらえ -------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--ja-go);
  font-size: 16px;
  line-height: 1.95;
  font-feature-settings: "palt" 1;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--ja-min);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.02em;
  /* 明示改行を入れそこねた見出しでも、対応ブラウザなら語の途中では折れない */
  word-break: auto-phrase;
  line-break: strict;
}

p {
  margin: 0;
}

ul,
ol,
dl,
dd,
figure,
figcaption {
  margin: 0;
  padding: 0;
}

li {
  list-style: none;
}

button {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--azuki);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--ink);
  color: var(--paper);
  padding: 0.7rem 1.2rem;
}
.skip:focus {
  left: 0;
}

/* ---- 器 ---------------------------------------------------------------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gut);
}

.sec {
  padding-block: var(--sec);
}

.sec--tint {
  background: var(--paper-2);
}

.rule {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 0;
}

/* ---- 文字の型 ---------------------------------------------------------- */
.eyebrow {
  font-family: var(--ja-go);
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  color: var(--ink-3);
  margin-bottom: 1.4rem;
}
.eyebrow b {
  font-weight: 500;
  color: var(--azuki);
}

.h1 {
  font-size: clamp(1.9rem, 5.2vw, 3.6rem);
  line-height: 1.42;
  letter-spacing: 0.01em;
}

.h2 {
  font-size: clamp(1.6rem, 3.6vw, 2.55rem);
  line-height: 1.5;
}

.h3 {
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  line-height: 1.6;
}

.lead {
  font-size: clamp(0.98rem, 1.35vw, 1.06rem);
  color: var(--ink-2);
  max-width: 34em;
}

.body {
  color: var(--ink-2);
  max-width: 33em;
}
.body + .body {
  margin-top: 1.3rem;
}

/* 和文の折り返しは文節で切る。
   auto-phrase は対応ブラウザだけが効く上乗せで、効かない環境でも
   下の .u（文単位の inline-block）が「文の途中で切らない」を担保する。 */
.lead,
.body,
.small,
.four__note,
.gift__d,
.mei__d,
.day__d span,
.menu__n small,
.dl dd,
.note,
.hero__lead,
.strip,
.foot__sub {
  word-break: auto-phrase;
  line-break: strict;
}

/* 一文をひと塊として扱う。入りきらない行があっても、まず文の境目で折れる */
.u {
  display: inline-block;
}

.small {
  font-size: 0.84rem;
  line-height: 1.85;
  color: var(--ink-3);
}

.num {
  font-family: var(--en);
  font-size: 1.05em;
  letter-spacing: 0.03em;
}

/* 縦書きの短い添え（節気名など）*/
.tate {
  writing-mode: vertical-rl;
  font-family: var(--ja-min);
  letter-spacing: 0.18em;
}

/* ---- ボタン ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.95rem 1.9rem;
  font-family: var(--ja-go);
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid var(--azuki);
  background: var(--azuki);
  color: #fdfcf7;
  transition:
    background 0.35s var(--ease),
    transform 0.2s var(--ease);
}
.btn:hover {
  background: var(--azuki-deep);
  border-color: var(--azuki-deep);
}
.btn:active {
  transform: translateY(1px);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn--ghost:hover {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.btn__mark {
  width: 1.05em;
  height: 1px;
  background: currentColor;
  flex: none;
  transition: width 0.35s var(--ease);
}
.btn:hover .btn__mark {
  width: 1.7em;
}

/* 文中のリンク */
.link {
  text-decoration: none;
  border-bottom: 1px solid var(--azuki);
  padding-bottom: 0.12em;
  color: var(--ink);
  transition: color 0.3s var(--ease);
}
.link:hover {
  color: var(--azuki);
}

/* ==========================================================================
   帯（上部の細い一行）とヘッダー
   ========================================================================== */
.strip {
  background: var(--ink);
  color: #ddded2;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-align: center;
  padding: 0.5rem 1rem;
}

.head {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(251, 250, 244, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line-soft);
}

.head__in {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
  text-decoration: none;
  flex: none;
}
.brand__ja {
  font-family: var(--ja-min);
  font-size: 1.24rem;
  letter-spacing: 0.16em;
}
.brand__en {
  font-family: var(--en);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  color: var(--ink-3);
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(1.1rem, 2.4vw, 2.2rem);
}
.nav a {
  font-size: 0.87rem;
  letter-spacing: 0.09em;
  text-decoration: none;
  white-space: nowrap;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease);
}
.nav a:hover {
  border-bottom-color: var(--azuki);
}
.nav a[aria-current="page"] {
  border-bottom-color: var(--azuki);
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  position: relative;
  flex: none;
}
.burger span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 1px;
  background: var(--ink);
  transition: transform 0.35s var(--ease);
}
.burger span:nth-child(1) {
  top: 17px;
}
.burger span:nth-child(2) {
  bottom: 17px;
}
.burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(4px) rotate(45deg);
}
.burger[aria-expanded="true"] span:nth-child(2) {
  transform: translateY(-4px) rotate(-45deg);
}

@media (max-width: 860px) {
  .burger {
    display: block;
  }
  /* ⚠ .head の backdrop-filter が包含ブロックになるため、この fixed は
     ビューポートではなく .head 基準で置かれる。つまり translateY(-100%) しても
     閉じたメニューの下端が .head の上（＝上部の帯）に残り、paper 色で帯を塗り潰す。
     transform だけで隠さず visibility も落とすこと。閉じている間にリンクへ
     フォーカスが入らなくなる利点もある。 */
  .nav {
    position: fixed;
    inset: 0 0 auto;
    top: 0;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 1.6rem;
    height: 100dvh;
    background: var(--paper);
    padding: 0 var(--gut);
    transform: translateY(-100%);
    visibility: hidden;
    transition:
      transform 0.5s var(--ease),
      visibility 0s linear 0.5s;
    z-index: 39;
  }
  .nav[data-open="true"] {
    transform: translateY(0);
    visibility: visible;
    transition:
      transform 0.5s var(--ease),
      visibility 0s;
  }
  .nav a {
    font-family: var(--ja-min);
    font-size: 1.5rem;
    letter-spacing: 0.1em;
  }
  .head__in {
    position: relative;
    z-index: 41;
  }
}

/* ==========================================================================
   1. ヒーロー（非対称スプリット）
   ========================================================================== */
.hero {
  padding-top: clamp(2.5rem, 5vw, 5rem);
  padding-bottom: clamp(3rem, 6vw, 6rem);
}

.hero__in {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

/* 40em = 640px。見出しの2行目「指の熱で形が変わる。」は 3.4rem で約 547px なので、
   ここを 32em(=512px) にすると「る。」だけが3行目に落ちる。詰めすぎないこと。 */
.hero__copy {
  max-width: 40em;
}

/* 10字の行（指の熱で形が変わる。）が、どの幅でも1行に収まる大きさに抑える。
   ここを上げると 900px 前後で「る。」だけが next line に落ちる。 */
.hero__h {
  font-size: clamp(1.9rem, 4.4vw, 3.4rem);
  line-height: 1.44;
  letter-spacing: 0.005em;
  margin-bottom: 1.7rem;
}

.hero__lead {
  font-size: clamp(0.97rem, 1.35vw, 1.08rem);
  color: var(--ink-2);
  max-width: 26em;
  margin-bottom: 2.4rem;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.hero__fig {
  position: relative;
}
.hero__fig .frame {
  aspect-ratio: 4 / 5;
}
.hero__cap {
  margin-top: 0.9rem;
  font-size: 0.8rem;
  color: var(--ink-3);
  letter-spacing: 0.04em;
}

@media (max-width: 900px) {
  .hero__in {
    grid-template-columns: 1fr;
    gap: 2.2rem;
  }
  .hero__fig {
    order: -1;
  }
  .hero__fig .frame {
    aspect-ratio: 4 / 3;
  }
}

/* 390×844 でボタン2つが初期表示に収まるところまで縦を詰める
   （写真を 4:3 のままにすると CTA の下端が 875px＝画面外へ出る） */
@media (max-width: 560px) {
  .hero {
    padding-top: 1.4rem;
  }
  .hero__in {
    gap: 1.6rem;
  }
  .hero__fig .frame {
    aspect-ratio: 16 / 10;
  }
  .hero__h {
    margin-bottom: 1.15rem;
  }
  .hero__lead {
    margin-bottom: 1.55rem;
  }
}

/* 写真の枠（刷り上がりのマスクを掛ける単位）*/
.frame {
  position: relative;
  overflow: hidden;
  background: var(--paper-3);
}
.frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================================
   2. 今日の四つ（非対称の写真グリッド）
   ========================================================================== */
.today__head {
  display: grid;
  gap: 1rem;
  margin-bottom: clamp(2.4rem, 5vw, 4rem);
  max-width: 44em;
}

.four {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(1.4rem, 3vw, 2.6rem) clamp(1.2rem, 2.6vw, 2.4rem);
}

/* 4つとも大きさと縦位置を変える。並べたときに一列に見えないようにする */
.four__it {
  grid-column: span 3;
  display: flex;
  flex-direction: column;
}
.four__it:nth-child(1) {
  grid-column: 1 / span 4;
}
.four__it:nth-child(2) {
  grid-column: 5 / span 2;
  padding-top: clamp(1.5rem, 4vw, 4rem);
}
.four__it:nth-child(3) {
  grid-column: 7 / span 3;
}
.four__it:nth-child(4) {
  grid-column: 10 / span 3;
  padding-top: clamp(2.4rem, 6vw, 6.5rem);
}
.four__it:nth-child(1) .frame {
  aspect-ratio: 4 / 5;
}
.four__it:nth-child(2) .frame {
  aspect-ratio: 3 / 4;
}
.four__it:nth-child(3) .frame {
  aspect-ratio: 1 / 1;
}
.four__it:nth-child(4) .frame {
  aspect-ratio: 3 / 4;
}

.four__body {
  padding-top: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.four__mei {
  font-family: var(--ja-min);
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  letter-spacing: 0.06em;
}
.four__mei small {
  font-size: 0.66em;
  color: var(--ink-3);
  letter-spacing: 0.08em;
  margin-left: 0.5em;
}
.four__note {
  font-size: 0.85rem;
  color: var(--ink-2);
  line-height: 1.85;
}
.four__meta {
  margin-top: 0.2rem;
  padding-top: 0.7rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.4rem 1.2rem;
  font-size: 0.8rem;
  color: var(--ink-3);
  letter-spacing: 0.04em;
}
/* 値段は「480円」でひと塊。数字と円のあいだに gap を挟まない */
.four__price {
  color: var(--ink);
  font-size: 0.88rem;
}
.four__price .num {
  font-size: 1.22em;
  margin-right: 0.1em;
}

@media (max-width: 1000px) {
  .four {
    grid-template-columns: repeat(2, 1fr);
  }
  .four__it,
  .four__it:nth-child(1),
  .four__it:nth-child(2),
  .four__it:nth-child(3),
  .four__it:nth-child(4) {
    grid-column: span 1;
    padding-top: 0;
  }
  .four__it:nth-child(2),
  .four__it:nth-child(4) {
    padding-top: clamp(1.2rem, 5vw, 2.6rem);
  }
  .four__it .frame {
    aspect-ratio: 3 / 4 !important;
  }
}

@media (max-width: 560px) {
  .four {
    grid-template-columns: 1fr;
    gap: 2.4rem;
  }
  .four__it:nth-child(2),
  .four__it:nth-child(4) {
    padding-top: 0;
  }
  .four__it .frame {
    aspect-ratio: 4 / 3 !important;
  }
}

/* ==========================================================================
   3. 餡のこと（全幅写真 ＋ 重ねずに下へずらしたテキスト）
   ========================================================================== */
.an {
  background: var(--paper-2);
  padding-block: 0 var(--sec);
}
.an__fig .frame {
  aspect-ratio: 16 / 7;
}
.an__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(1.6rem, 4vw, 4rem);
  margin-top: clamp(2.2rem, 5vw, 3.6rem);
  align-items: start;
}
.an__facts {
  border-top: 1px solid var(--line);
}
.an__facts div {
  display: grid;
  grid-template-columns: 6.5em 1fr;
  gap: 0.6rem 1.2rem;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 0.88rem;
}
.an__facts dt {
  color: var(--ink-3);
  letter-spacing: 0.08em;
}
.an__facts dd {
  color: var(--ink);
}

@media (max-width: 820px) {
  .an__grid {
    grid-template-columns: 1fr;
  }
  .an__fig .frame {
    aspect-ratio: 4 / 3;
  }
}

/* ==========================================================================
   4. 二十四節気の帯（横スクロール・scroll-snap）
   ========================================================================== */
.setsu__head {
  display: grid;
  gap: 0.9rem;
  margin-bottom: clamp(1.8rem, 4vw, 3rem);
  max-width: 42em;
}

.setsu__scroller {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  padding-bottom: 1.6rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}
.setsu__track {
  display: flex;
  gap: 0;
  min-width: max-content;
  border-top: 1px solid var(--line);
}
.setsu__it {
  scroll-snap-align: start;
  flex: none;
  width: clamp(84px, 9vw, 108px);
  padding: 1.15rem 0.5rem 1.3rem;
  border-right: 1px solid var(--line-soft);
  text-align: center;
  position: relative;
}
.setsu__it:first-child {
  border-left: 1px solid var(--line-soft);
}
.setsu__mei {
  font-family: var(--ja-min);
  font-size: 1rem;
  letter-spacing: 0.1em;
  display: block;
}
.setsu__day {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.72rem;
  color: var(--ink-3);
  letter-spacing: 0.05em;
}
.setsu__it[data-now="true"] {
  background: var(--paper-2);
}
.setsu__it[data-now="true"]::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--azuki);
}
.setsu__it[data-now="true"] .setsu__mei {
  color: var(--azuki);
}
.setsu__season {
  display: block;
  margin-top: 0.85rem;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  color: var(--matcha);
}

/* ==========================================================================
   5. 店のこと（縦積み。全幅写真 → 2カラムの文）
   ========================================================================== */
.mise__fig .frame {
  aspect-ratio: 16 / 6.5;
}
.mise__cols {
  margin-top: clamp(2.2rem, 5vw, 3.4rem);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.4rem, 4vw, 4rem);
  align-items: start;
}
.mise__h {
  grid-column: 1 / -1;
  max-width: 20em;
  margin-bottom: 0.6rem;
}
@media (max-width: 820px) {
  .mise__cols {
    grid-template-columns: 1fr;
  }
  .mise__fig .frame {
    aspect-ratio: 3 / 2;
  }
}

/* ==========================================================================
   6. 贈りもの（罫線でまとめた三つ。カードは使わない）
   ========================================================================== */
.gift {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(1.6rem, 4vw, 4.5rem);
  align-items: start;
}
.gift__list {
  border-top: 1px solid var(--line);
}
.gift__it {
  display: grid;
  grid-template-columns: 10.5em minmax(0, 1fr);
  gap: 0.5rem 1.8rem;
  padding: clamp(1.3rem, 2.6vw, 1.9rem) 0;
  border-bottom: 1px solid var(--line-soft);
  align-items: baseline;
}
.gift__t {
  font-family: var(--ja-min);
  font-size: 1.06rem;
  letter-spacing: 0.07em;
}
.gift__d {
  font-size: 0.88rem;
  color: var(--ink-2);
  line-height: 1.9;
}
.gift__d b {
  font-weight: 500;
  color: var(--ink);
}
@media (max-width: 820px) {
  .gift {
    grid-template-columns: 1fr;
  }
  .gift__it {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }
}

/* ==========================================================================
   7. 場所と時間（情報パネル ＋ 写真）
   ========================================================================== */
.where {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(1.8rem, 4vw, 4.5rem);
  align-items: center;
}
.where__fig .frame {
  aspect-ratio: 16 / 10;
}
.dl {
  border-top: 1px solid var(--line);
}
.dl > div {
  display: grid;
  grid-template-columns: 7.5em minmax(0, 1fr);
  gap: 0.4rem 1.4rem;
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--line-soft);
}
.dl dt {
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  color: var(--ink-3);
}
.dl dd {
  font-size: 0.93rem;
  line-height: 1.85;
}
.dl dd small {
  display: block;
  font-size: 0.8rem;
  color: var(--ink-3);
  margin-top: 0.25rem;
}
@media (max-width: 860px) {
  .where {
    grid-template-columns: 1fr;
  }
  .dl > div {
    grid-template-columns: 6em minmax(0, 1fr);
  }
}
@media (max-width: 460px) {
  .dl > div {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }
}

/* ==========================================================================
   下層ページ共通
   ========================================================================== */
.phead {
  padding-block: clamp(2.6rem, 6vw, 5rem) clamp(2rem, 4vw, 3.4rem);
  border-bottom: 1px solid var(--line);
}
/* max-width は .shell 自身ではなく中身に掛ける。
   .shell は margin-inline:auto なので、ここで幅を絞ると見出しごと中央へ寄って、
   左揃えで通しているトップと揃わなくなる。 */
.phead__in {
  display: grid;
  gap: 1.2rem;
}
.phead__in > * {
  max-width: 44em;
}

/* 品書きの一覧 */
.menu__grp + .menu__grp {
  margin-top: clamp(3rem, 7vw, 5.5rem);
}
.menu__gt {
  display: flex;
  align-items: baseline;
  gap: 1.2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 0.4rem;
}
.menu__gt h2 {
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  letter-spacing: 0.08em;
}
.menu__gt span {
  font-size: 0.82rem;
  color: var(--ink-3);
  letter-spacing: 0.06em;
}
.menu__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 8em 7.5em;
  gap: 0.5rem 1.6rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line-soft);
  align-items: baseline;
}
.menu__n {
  font-family: var(--ja-min);
  font-size: 1.04rem;
  letter-spacing: 0.05em;
}
.menu__n small {
  display: block;
  font-family: var(--ja-go);
  font-size: 0.82rem;
  color: var(--ink-2);
  letter-spacing: 0;
  margin-top: 0.3rem;
  line-height: 1.8;
}
.menu__p {
  font-family: var(--en);
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  text-align: right;
}
.menu__k {
  font-size: 0.8rem;
  color: var(--ink-3);
  text-align: right;
  letter-spacing: 0.04em;
}
@media (max-width: 640px) {
  .menu__row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.3rem 1rem;
  }
  .menu__k {
    grid-column: 2;
    text-align: right;
  }
}

/* 日持ちの物差し（品書きの見せ場）*/
.mono {
  background: var(--paper-2);
}
.mono__wrap {
  overflow-x: auto;
  padding-bottom: 0.8rem;
}
.mono__svg {
  display: block;
  width: 100%;
  min-width: 620px;
  height: auto;
}
.mono__svg .ax {
  stroke: var(--ink-3);
  stroke-width: 1;
  fill: none;
}
.mono__svg .tick {
  stroke: var(--line);
  stroke-width: 1;
}
.mono__svg .bar {
  stroke: var(--matcha);
  stroke-width: 6;
  stroke-linecap: butt;
  fill: none;
}
.mono__svg .bar--now {
  stroke: var(--azuki);
}
.mono__svg .lb {
  font-family: var(--ja-go);
  font-size: 13px;
  fill: var(--ink);
}
.mono__svg .lb--s {
  font-size: 11px;
  fill: var(--ink-3);
}

/* つくり手ページ：銘の出どころ */
.mei {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line-soft);
}
.mei__it {
  border-right: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  padding: clamp(1.3rem, 2.6vw, 2rem) clamp(1rem, 1.8vw, 1.5rem);
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.mei__t {
  font-family: var(--ja-min);
  font-size: 1.25rem;
  letter-spacing: 0.08em;
}
.mei__src {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--matcha);
}
.mei__d {
  font-size: 0.85rem;
  color: var(--ink-2);
  line-height: 1.9;
}
@media (max-width: 900px) {
  .mei {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 520px) {
  .mei {
    grid-template-columns: 1fr;
  }
}

/* つくり手ページ：一日（左に時刻・右に手の動き）*/
.day {
  border-top: 1px solid var(--line);
}
.day__it {
  display: grid;
  grid-template-columns: 7em minmax(0, 1fr);
  gap: 0.5rem 2rem;
  padding: clamp(1.1rem, 2.4vw, 1.7rem) 0;
  border-bottom: 1px solid var(--line-soft);
  align-items: baseline;
}
.day__t {
  font-family: var(--en);
  font-size: 1.25rem;
  letter-spacing: 0.06em;
  color: var(--matcha);
}
.day__d strong {
  display: block;
  font-family: var(--ja-min);
  font-weight: 500;
  font-size: 1.02rem;
  letter-spacing: 0.05em;
  margin-bottom: 0.3rem;
}
.day__d span {
  font-size: 0.86rem;
  color: var(--ink-2);
  line-height: 1.9;
}
@media (max-width: 560px) {
  .day__it {
    grid-template-columns: 5.2em minmax(0, 1fr);
    gap: 0.4rem 1.2rem;
  }
}

/* 二枚並べ（下層で使う写真の対）*/
.pair {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(1.2rem, 3vw, 2.6rem);
  align-items: end;
}
.pair .frame:nth-child(1) {
  aspect-ratio: 4 / 3;
}
.pair .frame:nth-child(2) {
  aspect-ratio: 3 / 4;
}
@media (max-width: 700px) {
  .pair {
    grid-template-columns: 1fr;
  }
  .pair .frame:nth-child(2) {
    aspect-ratio: 4 / 3;
  }
}

/* アクセスの略図 */
.map {
  background: var(--paper-2);
}
.map__wrap {
  overflow-x: auto;
  padding-bottom: 0.8rem;
}
.map__svg {
  display: block;
  width: 100%;
  min-width: 640px;
  height: auto;
  background: var(--paper);
  border: 1px solid var(--line);
}
.map__svg .rd {
  stroke: var(--line);
  stroke-width: 10;
  fill: none;
  stroke-linecap: square;
}
.map__svg .rv {
  stroke: #cfdce0;
  stroke-width: 22;
  fill: none;
  stroke-linecap: round;
}
/* 道すじは実線。data-draw が stroke-dasharray を全長に置き換えて
   引いていくので、ここで破線にすると描き終わりで柄が消える。 */
.map__svg .rt {
  stroke: var(--azuki);
  stroke-width: 3.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.map__svg .bx {
  fill: #fff;
  stroke: var(--ink-3);
  stroke-width: 1.4;
}
.map__svg .bx--us {
  fill: var(--matcha);
  stroke: var(--matcha);
}
.map__svg .mt {
  font-family: var(--ja-go);
  font-size: 15px;
  fill: var(--ink);
}
.map__svg .mt--s {
  font-size: 12.5px;
  fill: var(--ink-3);
}
.map__svg .mt--us {
  font-family: var(--ja-min);
  font-size: 17px;
  fill: var(--matcha);
}

/* 予約・問い合わせの注記 */
.note {
  border-left: 3px solid var(--matcha);
  padding: 0.2rem 0 0.2rem 1.3rem;
  font-size: 0.87rem;
  color: var(--ink-2);
  line-height: 1.95;
  max-width: 36em;
}

/* 次のページへ送る帯 */
.next {
  border-top: 1px solid var(--line);
}
.next__in {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  padding-block: clamp(2.2rem, 5vw, 3.4rem);
}
.next__t {
  font-family: var(--ja-min);
  font-size: clamp(1.15rem, 2.4vw, 1.6rem);
  letter-spacing: 0.05em;
}

/* ==========================================================================
   フッター
   ========================================================================== */
.foot {
  background: var(--ink);
  color: #d9dbcd;
  padding-block: clamp(3rem, 6vw, 4.6rem) 2rem;
}
.foot a {
  color: #eceec2;
}
.foot__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: start;
  padding-bottom: 2.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.foot__brand {
  font-family: var(--ja-min);
  font-size: 1.5rem;
  letter-spacing: 0.16em;
  color: #f3f4e6;
}
.foot__sub {
  margin-top: 0.7rem;
  font-size: 0.84rem;
  color: #a6aa96;
  line-height: 1.9;
}
.foot__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1.8rem;
  font-size: 0.86rem;
  letter-spacing: 0.07em;
}
.foot__nav a {
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.foot__nav a:hover {
  border-bottom-color: #eceec2;
}
.foot__bot {
  padding-top: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.6rem;
  justify-content: space-between;
  font-size: 0.78rem;
  color: #9ba08b;
  line-height: 1.9;
}
@media (max-width: 700px) {
  .foot__top {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   動き（初期状態）
   ---------------------------------------------------------------------------
   has-motion が付いているあいだだけ伏せる。JS が落ちても 2 秒で外れる。
   ========================================================================== */
.has-motion [data-reveal] {
  opacity: 0;
}
.has-motion [data-mask] > img {
  clip-path: inset(0 0 100% 0);
}
.has-motion [data-lines] .ln {
  display: block;
  overflow: hidden;
}
.has-motion [data-lines] .ln > span {
  display: block;
  transform: translateY(108%);
}

/* 行送りに余裕を持たせる（overflow:hidden で下がりが切れるのを防ぐ）*/
[data-lines] .ln {
  display: block;
  padding-bottom: 0.14em;
}
[data-lines] .ln > span {
  display: block;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .has-motion [data-reveal],
  .has-motion [data-mask] > img,
  .has-motion [data-lines] .ln > span {
    opacity: 1 !important;
    clip-path: none !important;
    transform: none !important;
  }
  * {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}
