/* =========================================================
   homi bake,coffee — style.css（V2）
   モバイルファースト。ブレイクポイント：768px / 1024px
   ========================================================= */

/* ---------- デザイントークン ---------- */
:root {
  --paper: #F5F3EE;
  --paper-deep: #ECE8DF;
  --paper-line: #E4DFD4;
  --mist: #DFE1D8;
  --bluegray: #727B63;
  --bluegray-deep: #556043;
  --bluegray-deeper: #424B34;
  --ink: #232221;
  --ink-soft: #595650;
  --olive: #5E6240;
  --olive-light: #C9CCB0;
  --wood: #A5602E;
  --wood-deep: #7A4424;
  --wood-light: #E3C3A6;
  --bake: #C98A45;
  --coffee: #4A1A10;
  --line: #D6D2C8;

  --font-ja: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "YuGothic", "Noto Sans JP", sans-serif;
  --font-en: "Jost", "Zen Kaku Gothic New", "Helvetica Neue", Arial, sans-serif;

  --gutter: 20px;
  --container: 1120px;
  --section-space: 96px;
  --header-h: 56px;
  --radius-photo: 2px;
  /* コンテナの左端から画面の左端までの距離（写真を画面端まで広げるときに使う） */
  --bleed: calc(max(0px, (100vw - var(--container) - var(--gutter) * 2) / 2) + var(--gutter));

  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

@media (min-width: 768px) {
  :root { --gutter: 40px; --section-space: 128px; }
}

@media (min-width: 1024px) {
  :root { --gutter: 64px; --section-space: 168px; --header-h: 72px; }
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

/* viewport-fit=cover の端末でページ末尾を越えて見える領域も、フッター色につなげる */
@media (max-width: 1023px) {
  html { background: var(--bluegray-deep); }
}

/* 固定ヘッダー分の余白をアンカー対象側にも持たせ、ページ高の変化後も着地点を安定させる */
:where(main, main section)[id] { scroll-margin-top: calc(var(--header-h) + 12px); }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-ja);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.9;
  letter-spacing: .04em;
  line-break: strict;
  word-break: auto-phrase;
  -webkit-font-smoothing: antialiased;
}

@media (min-width: 1024px) {
  body { font-size: 1.0625rem; }
}

[hidden] { display: none !important; }
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; }
a { color: inherit; }
button { font: inherit; }

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

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

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

.skip-link {
  position: absolute;
  left: 12px; top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--bluegray-deep);
  color: var(--paper);
  text-decoration: none;
  border-radius: 4px;
}
.skip-link:focus { top: 12px; }

.nowrap { white-space: nowrap; }
.num { font-family: var(--font-en); font-variant-numeric: tabular-nums; letter-spacing: .06em; }

.icon { width: 20px; height: 20px; flex: none; }
.icon--lg { width: 28px; height: 28px; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-space); }

/* ---------- 見出し・ラベル ---------- */
.chapter {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 24px;
  font-size: .875rem;
  letter-spacing: .16em;
  color: var(--wood-deep);
}
.chapter__num {
  display: inline-grid;
  place-items: center;
  width: 36px; height: 36px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: .875rem;
  letter-spacing: 0;
}

.section-label {
  margin: 0 0 8px;
  font-family: var(--font-en);
  font-weight: 300;
  font-size: .9375rem;
  letter-spacing: .24em;
  color: var(--olive);
}

.section-title {
  font-size: 1.5rem;
  line-height: 1.6;
  letter-spacing: .12em;
  margin-bottom: 24px;
}
@media (min-width: 768px) { .section-title { font-size: 1.75rem; } }
@media (min-width: 1024px) { .section-title { font-size: 2rem; margin-bottom: 32px; } }

.section-head { margin-bottom: 40px; }
@media (min-width: 768px) {
  .section-head--center { text-align: center; }
  .section-head--center .section-lead { margin-inline: auto; }
}
@media (min-width: 1024px) { .section-head { margin-bottom: 64px; } }

.section-lead { max-width: 34em; color: var(--ink-soft); }

/* 縦書きの見出し（PC のみ縦にする） */
.vertical-title {
  font-size: 1.5rem;
  line-height: 1.6;
  letter-spacing: .14em;
  margin-bottom: 24px;
}
@media (min-width: 1024px) {
  .vertical-title {
    writing-mode: vertical-rl;
    font-size: 2rem;
    letter-spacing: .26em;
    line-height: 1.8;
    margin: 0;
  }
}

.text-link {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  text-decoration-color: var(--bluegray);
  transition: color .15s, text-decoration-color .15s;
}
@media (hover: hover) {
  .text-link:hover { color: var(--coffee); text-decoration-color: currentColor; }
}

.verify {
  display: inline-block;
  margin-top: 16px;
  padding: 4px 10px;
  font-size: .875rem;
  background: #FFF3C4;
  color: #5A4300;
  border: 1px dashed #B58B00;
}

/* 写真の後ろに、ずらした細い木の色の線を引く */
.frame { position: relative; isolation: isolate; }
.frame::before {
  content: "";
  position: absolute;
  inset: 16px -16px -16px 16px;
  border: 1px solid var(--wood);
  z-index: -1;
  pointer-events: none;
}
.frame--light::before { border-color: rgba(227, 195, 166, .7); }

figcaption {
  margin-top: 14px;
  font-size: .8125rem;
  letter-spacing: .08em;
  color: var(--ink-soft);
}
/* 枠線は写真だけに掛ける。キャプションは枠の外（下）に置く */
.frame:has(> figcaption) { margin-bottom: 52px; }
.frame > figcaption {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 26px);
  margin: 0;
}

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: .9375rem;
  font-weight: 500;
  letter-spacing: .08em;
  line-height: 1.4;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn--primary { background: var(--bluegray-deep); color: var(--paper); }
.btn--secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost { background: var(--paper); color: var(--ink); border-color: var(--line); min-height: 48px; }

@media (hover: hover) {
  .btn--primary:hover { background: var(--bluegray-deeper); }
  .btn--secondary:hover { background: var(--ink); color: var(--paper); }
  .btn--ghost:hover { border-color: var(--ink); }
}

.cta-pair { display: flex; flex-direction: column; gap: 12px; }
.cta-pair .btn { width: 100%; }
@media (min-width: 560px) {
  .cta-pair { flex-direction: row; flex-wrap: wrap; }
  .cta-pair .btn { width: auto; }
}
.cta-pair--center { justify-content: center; }

.cta-stack { display: flex; flex-direction: column; gap: 12px; }
.cta-stack .btn { width: 100%; }
@media (min-width: 560px) and (max-width: 767px) {
  .cta-stack { flex-direction: row; }
  .cta-stack .btn { width: auto; }
}

/* ---------- ヘッダー ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(245, 243, 238, 0);
  border-bottom: 1px solid transparent;
  transition: background-color .2s, border-color .2s;
}
.site-header.is-scrolled,
html:not(.js) .site-header {
  background: rgba(245, 243, 238, .97);
  border-bottom-color: var(--line);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.site-header__logo { display: block; padding: 6px 0; }
.site-header__logo img { width: 112px; }
@media (min-width: 1024px) { .site-header__logo img { width: 136px; } }

.site-nav__list { display: flex; align-items: center; gap: 4px; }
.site-nav__list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 10px;
  font-size: .875rem;
  letter-spacing: .08em;
  text-decoration: none;
}
.site-nav__icon { min-width: 44px; justify-content: center; }
.site-nav__wide { display: none; }
@media (min-width: 1024px) {
  .site-nav__wide { display: block; }
  .site-nav__list { gap: 12px; }
}
@media (hover: hover) { .site-nav__list a:hover { color: var(--coffee); } }

/* 言語の切り替え（JP / EN）。ナビの右に小さく置く。今の言語は文字を濃くして下線、もう一方はリンク */
.site-nav { margin-left: auto; }
.lang-switch {
  display: flex;
  align-items: center;
  margin-left: 2px;
  font-family: var(--font-en);
  font-size: .75rem;
  font-weight: 400;
  line-height: 1;
  letter-spacing: .1em;
}
.lang-switch__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  min-height: 44px;
  padding: 0 3px 0 calc(3px + .1em);
  color: var(--ink-soft);
  text-decoration: none;
}
.lang-switch__item.is-current { color: var(--ink); }
.lang-switch__item.is-current > [aria-hidden] { padding-bottom: 3px; border-bottom: 1px solid var(--wood); }
.lang-switch__sep { color: var(--bluegray-deep); font-weight: 300; }
@media (hover: hover) { a.lang-switch__item:hover { color: var(--coffee); } }
@media (min-width: 1024px) {
  .lang-switch { margin-left: 12px; font-size: .8125rem; }
  .lang-switch__item { min-width: 30px; }
}
/* とても狭い画面（360px 未満）では、ロゴとナビの余白を少し詰めて1行に収める */
@media (max-width: 359px) {
  .site-header__logo img { width: 90px; }
  .site-nav__list { gap: 0; }
  .site-nav__list a { padding: 0 4px; font-size: .8125rem; white-space: nowrap; }
  .site-nav__icon { min-width: 36px; }
  .lang-switch { margin-left: 0; }
  .lang-switch__item { min-width: 24px; }
}

/* ---------- ヒーロー ---------- */
.hero {
  padding-top: calc(var(--header-h) + 16px);
  padding-bottom: 72px;
  overflow: clip;
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "media catch"
    "intro intro";
  column-gap: 14px;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.hero__media { grid-area: media; position: relative; margin-left: calc(var(--gutter) * -1); }
.hero__photo { position: relative; overflow: hidden; }
.hero__photo img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }

.hero__circle {
  position: absolute;
  left: calc(var(--gutter) + 4px);
  bottom: -48px;
  width: 124px;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  border: 5px solid var(--paper);
  background: var(--paper);
}
.hero__circle img { width: 100%; height: 100%; object-fit: cover; }

.hero__catch {
  grid-area: catch;
  margin: 0;
  padding-top: 4px;
  writing-mode: vertical-rl;
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.75;
  letter-spacing: .22em;
  white-space: nowrap;
}

.hero__intro { grid-area: intro; padding-top: 68px; }
.hero__symbol { display: none; width: 120px; margin-bottom: 18px; }
@media (min-width: 768px) { .hero__symbol { display: block; } }
.hero__title { display: flex; flex-direction: column; gap: 6px; margin-bottom: 20px; }
.hero__kind { font-size: .8125rem; letter-spacing: .14em; color: var(--ink-soft); }
.hero__name { font-family: var(--font-en); font-weight: 300; font-size: 1.25rem; letter-spacing: .26em; }
.hero__lead { color: var(--ink-soft); margin-bottom: 16px; }
.hero__hours {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 16px;
  margin-bottom: 24px;
  font-size: .9375rem;
}
.hero__hours-time { font-family: var(--font-en); letter-spacing: .1em; font-variant-numeric: tabular-nums; }
.hero__hours-time::before {
  content: "open";
  margin-right: 10px;
  font-weight: 300;
  letter-spacing: .2em;
  color: var(--olive);
}

@media (min-width: 768px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "media media"
      "intro catch";
    column-gap: 40px;
  }
  .hero__media { margin-inline: 0; }
  .hero__photo img { aspect-ratio: 4 / 3; }
  .hero__circle { width: 150px; left: auto; right: 40px; bottom: -64px; }
  .hero__catch { font-size: 1.875rem; padding-top: 48px; }
  .hero__intro { padding-top: 56px; max-width: 480px; }
}

@media (min-width: 1024px) {
  .hero { padding-top: calc(var(--header-h) + 40px); padding-bottom: 136px; }
  .hero__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 4fr) auto;
    grid-template-areas: "media intro catch";
    column-gap: 48px;
    align-items: center;
  }
  .hero__media { margin-left: 0; }
  .hero__photo img { height: auto; aspect-ratio: 4 / 3; }
  .hero__circle { width: 200px; right: 48px; bottom: -72px; border-width: 6px; }
  .hero__catch { font-size: 2.25rem; padding-top: 0; letter-spacing: .26em; }
  .hero__intro { padding-top: 0; max-width: none; }
  .hero__symbol { width: 150px; }
}

/* ---------- 営業のご案内 ---------- */
.info { background: var(--paper-deep); padding-block: var(--section-space); }
.info__grid { display: grid; gap: 56px; }

.info__title {
  font-size: 1.125rem;
  letter-spacing: .2em;
  margin-bottom: 28px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--ink);
}

.info__hours-block { margin-bottom: 40px; }
.info__hours-label { margin: 0 0 4px; font-size: .875rem; letter-spacing: .14em; color: var(--olive); }
.info__hours {
  margin: 0 0 16px;
  font-weight: 300;
  font-size: clamp(3rem, 2.2rem + 4vw, 5rem);
  line-height: 1.1;
  letter-spacing: .02em;
}
.info__days { color: var(--ink-soft); margin-bottom: 24px; }

.info-list { margin: 0; border-top: 1px solid var(--line); }
.info-list__row {
  display: grid;
  gap: 2px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.info-list dt { font-size: .875rem; letter-spacing: .1em; color: var(--olive); padding-top: 2px; }
.info-list dd { margin: 0; }

@media (min-width: 560px) {
  .info-list__row { grid-template-columns: 7em minmax(0, 1fr); gap: 12px; padding: 16px 0; }
}

.pay-list { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.pay-list li { position: relative; padding-left: 14px; }
.pay-list li::before {
  content: "";
  position: absolute;
  left: 0; top: .85em;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--wood);
}

.sns-links { display: flex; flex-wrap: wrap; gap: 10px; }
.sns-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 46px;
  padding: 9px 14px;
  border: 1px solid var(--bluegray-deep);
  border-radius: 999px;
  color: var(--bluegray-deep);
  font-family: var(--font-en);
  font-size: .9375rem;
  line-height: 1.2;
  letter-spacing: .02em;
  text-decoration: none;
  transition: color .15s, background-color .15s, border-color .15s;
}
.sns-link .icon { width: 21px; height: 21px; }
.sns-link__handle { color: var(--ink-soft); font-size: .8125rem; }
.sns-link--standalone { min-width: min(100%, 254px); justify-content: center; }
@media (hover: hover) {
  .sns-link:hover { background: var(--bluegray-deep); color: var(--paper); }
  .sns-link:hover .sns-link__handle { color: rgba(245, 243, 238, .82); }
}
@media (max-width: 559px) {
  .sns-links { display: grid; }
  .sns-link { width: 100%; }
}

.info__side { display: grid; gap: 32px; align-content: start; }

.map-card { background: var(--paper); padding: 12px; }
.map { aspect-ratio: 4 / 3; background: var(--mist); overflow: hidden; }
.map__placeholder {
  height: 100%;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 12px;
  padding: 16px;
  color: var(--bluegray-deep);
  text-align: center;
  background:
    linear-gradient(90deg, rgba(85, 96, 67, .12) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(rgba(85, 96, 67, .12) 1px, transparent 1px) 0 0 / 28px 28px,
    var(--mist);
}
.map__note { margin: 0; font-size: .8125rem; color: var(--ink-soft); }
.map iframe { display: block; width: 100%; height: 100%; border: 0; }
.map-card__mark { margin: 12px 4px 4px; font-size: .9375rem; }
.map-card__sign { display: flex; align-items: center; gap: 16px; margin-top: 12px; }
.map-card__sign-photo { flex: 0 0 34%; max-width: 130px; margin: 0; }
.map-card__sign-photo img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; }
.map-card__sign .map-card__mark { margin: 0; }

.info-en {
  padding: 20px 22px;
  border: 1px solid var(--line);
  font-family: var(--font-en);
  font-size: .9375rem;
  line-height: 1.75;
  letter-spacing: .02em;
  color: var(--ink-soft);
}
.info-en p { margin-bottom: .6em; }
.info-en__title { font-weight: 400; letter-spacing: .2em; color: var(--olive); }

@media (min-width: 1024px) {
  .info__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 80px; }
  .info-list__row { grid-template-columns: 8em minmax(0, 1fr); padding: 18px 0; }
  .info__side { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; padding-top: 56px; }
}

/* ---------- 一　homi のこと ---------- */
.about { position: relative; overflow: clip; }
.bigword {
  position: absolute;
  top: calc(var(--section-space) * .35);
  right: -.04em;
  margin: 0;
  font-family: var(--font-en);
  font-weight: 300;
  font-size: clamp(7rem, 30vw, 24rem);
  line-height: .8;
  letter-spacing: .02em;
  color: var(--paper-line);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.about__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 56px;
  padding-top: clamp(56px, 10vw, 160px);
}
.about__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-photo); }
.about__body p { max-width: 30em; }
.about__details {
  display: grid;
  gap: 18px;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.about__detail {
  display: grid;
  gap: 5px;
  padding-left: 16px;
  border-left: 2px solid var(--bluegray-deep);
}
.about__detail h3 {
  color: var(--bluegray-deep);
  font-size: .9375rem;
  line-height: 1.5;
  letter-spacing: .1em;
}
.about__detail p { margin: 0; color: var(--ink-soft); font-size: .9375rem; line-height: 1.75; }
.about__note { margin-top: 28px; font-size: .9375rem; color: var(--ink-soft); }

@media (min-width: 1024px) {
  .about.section { padding-top: clamp(64px, 6vw, 96px); }
  .about__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: center; padding-top: 0; }
  .about__photo { margin-left: 0; }
  .about__photo figcaption { padding-left: 0; }
  .about__columns { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 40px; }
}

/* ---------- 二　お店のこと ---------- */
.space { background: var(--paper); border-top: 1px solid var(--line); }
.space__grid { display: grid; gap: 40px; }
.space__title {
  font-size: 1.5rem;
  line-height: 1.5;
  letter-spacing: .12em;
}
.space__num {
  display: inline-block;
  margin-right: .08em;
  font-weight: 300;
  font-size: 4.5rem;
  line-height: .9;
  letter-spacing: 0;
  color: var(--wood);
  vertical-align: -.08em;
}
.space__main img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius-photo); }
.space__tile { width: 100%; justify-self: end; }
.space__tile img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-photo); }
.space__text p { max-width: 28em; }

@media (min-width: 768px) {
  .space__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 56px; }
  .space__head { grid-column: 1 / 13; }
  .space__main { grid-column: 1 / 13; grid-row: 2; }
  .space__text { grid-column: 1 / 8; grid-row: 3; align-self: start; }
  .space__tile { grid-column: 8 / 13; grid-row: 3; width: 100%; }
}
@media (min-width: 1024px) {
  .space__title { font-size: 2rem; }
  .space__num { font-size: 7rem; }
  .space__grid { column-gap: 32px; row-gap: 72px; }
  .space__head { grid-column: 1 / 8; }
  .space__main { grid-column: 1 / 8; grid-row: 2 / 4; }
  .space__main { align-self: start; }
  .space__text { grid-column: 9 / 13; grid-row: 2; align-self: end; }
  .space__tile { grid-column: 8 / 13; grid-row: 3; margin-top: -8px; }
}

/* ---------- 三　焼き菓子 ---------- */
.bake { background: var(--paper-deep); }

.bake__intro { display: grid; gap: 48px; }
.bake__showcase img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-photo); }
.bake__showcase-note {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  max-width: 30em;
}

@media (min-width: 768px) {
  .bake__intro { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 56px; align-items: center; }
}
@media (min-width: 1024px) {
  .bake__intro { grid-template-columns: minmax(0, 6fr) minmax(0, 1fr) minmax(0, 4fr); gap: 0; }
  .bake__showcase { grid-column: 3; }
}

/* お店の推し：キャロットケーキ＋コーヒーの組み合わせ。
   円形で寄るとケーキ単体に見えるため、皿とマグが両方収まる横長写真で「テーブルの時間」ごと見せる */
.signature { margin-top: 96px; }
.signature__item { display: grid; gap: 48px; }
.signature__photo { margin: 0 16px 0 0; }
.signature__photo img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--radius-photo); }
.signature__tag {
  display: inline-block;
  margin-bottom: 10px;
  font-size: .8125rem;
  letter-spacing: .12em;
  color: var(--wood-deep);
  border-bottom: 1px solid var(--wood);
}
.signature__name {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: .4em;
  font-size: 1.375rem;
  line-height: 1.5;
  letter-spacing: .1em;
  margin-bottom: 16px;
}
.signature__pair { white-space: nowrap; }
.signature__plus { font-family: var(--font-en); font-weight: 300; color: var(--wood); letter-spacing: 0; }
.signature__lead {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  color: var(--wood-deep);
  letter-spacing: .06em;
}
.signature__text p:not(.signature__tag) { max-width: 26em; }

@media (min-width: 768px) {
  .signature { margin-top: 128px; }
  .signature__item { gap: 56px; }
  .signature__photo { width: min(100%, 720px); }
  .signature__name { font-size: 1.625rem; }
  .signature__text { padding-left: 24px; border-left: 1px solid var(--wood-light); }
}
@media (min-width: 1024px) {
  .signature { margin-top: 144px; }
  .signature__item { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 64px; align-items: center; }
  .signature__photo { width: auto; margin-right: 0; }
  .signature__name { font-size: 1.75rem; flex-direction: column; row-gap: 0; }
  .signature__plus { line-height: 1.1; }
}

.season { margin-top: 96px; padding-top: 56px; border-top: 1px solid var(--line); }
.season__title { font-size: 1.125rem; letter-spacing: .12em; margin-bottom: 28px; }
.season__scroller {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  margin-inline: calc(var(--gutter) * -1);
  padding: 4px var(--gutter) 16px;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: thin;
  scrollbar-color: var(--bluegray) transparent;
}
.season__list {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 68%;
  gap: 16px;
}
.season-card { scroll-snap-align: start; }
.season-card__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-photo); }
.season-card__date { margin: 14px 0 2px; font-size: .8125rem; color: var(--wood-deep); }
.season-card__name { font-size: 1rem; letter-spacing: .08em; line-height: 1.6; margin-bottom: 6px; }
.season-card__text { font-size: .9375rem; color: var(--ink-soft); }
.season__note { margin-top: 24px; font-size: .9375rem; color: var(--ink-soft); }

@media (min-width: 768px) {
  .season { margin-top: 128px; }
  .season__scroller { overflow: visible; margin-inline: 0; padding: 0; }
  .season__list { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
}
@media (min-width: 1024px) {
  .season { margin-top: 168px; padding-top: 72px; }
  .season__list { gap: 48px; }
}

/* ---------- 四　コーヒー（濃い面） ---------- */
.coffee { background: var(--bluegray-deep); color: var(--paper); }
.coffee .chapter { color: #EFD0B3; }
.coffee .section-label { color: #DDE0C8; }
.coffee .text-link { text-decoration-color: rgba(245, 243, 238, .5); }
.coffee .text-link:hover { color: var(--wood-light); }
.coffee :focus-visible { outline-color: var(--paper); }

.coffee__grid { display: grid; gap: 64px; }
.coffee__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-photo); }
.coffee__text p { max-width: 30em; }
.roaster {
  margin: 28px 0;
  padding: 4px 0 4px 20px;
  border-left: 1px solid rgba(245, 243, 238, .45);
}
.roaster__note { color: #E3E4DE; font-size: .875rem; }

@media (min-width: 768px) {
  .coffee__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 72px; align-items: center; }
}
@media (min-width: 1024px) {
  .coffee__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 1fr) minmax(0, 6fr); gap: 0; }
  .coffee__text { grid-column: 3; }
}

/* ---------- ご利用にあたって ---------- */
.guide__grid { display: grid; gap: 8px; }
.guide__list { border-top: 1px solid var(--line); counter-reset: guide; }
.guide__list li {
  position: relative;
  padding: 18px 0 18px 2.6em;
  border-bottom: 1px solid var(--line);
  counter-increment: guide;
}
.guide__list li::before {
  content: counter(guide, decimal-leading-zero);
  position: absolute;
  left: 0; top: 19px;
  font-family: var(--font-en);
  font-weight: 300;
  font-size: .875rem;
  letter-spacing: .08em;
  color: var(--wood-deep);
}
@media (min-width: 1024px) {
  .guide__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 64px; align-items: start; }
  .guide .section-title { position: sticky; top: calc(var(--header-h) + 40px); }
}

/* ---------- Instagram ---------- */
.insta { border-top: 1px solid var(--line); }
.insta__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.insta__grid a { display: block; overflow: hidden; border-radius: var(--radius-photo); }
.insta__grid img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .6s var(--ease-out), opacity .2s; }
@media (hover: hover) {
  .insta__grid a:hover img { transform: scale(1.03); }
}
.insta__actions { display: flex; flex-direction: column; align-items: center; gap: 20px; margin-top: 40px; }
@media (min-width: 768px) {
  .insta__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
}

/* ---------- オンラインショップ ---------- */
.shop { padding-top: 0; }
.shop__box {
  max-width: 760px;
  margin-inline: auto;
  padding: 40px 24px;
  border: 1px solid var(--line);
  text-align: center;
}
.shop__box .section-title { margin-bottom: 12px; }
.shop__box .btn { margin-top: 12px; }

/* ---------- 最終CTA ---------- */
.visit { background: var(--paper-deep); padding-bottom: var(--section-space); }
.visit__band { overflow: hidden; }
.visit__band img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; max-height: 560px; }
.visit__card {
  position: relative;
  max-width: 760px;
  margin: -72px auto 0;
  padding: 40px 16px;
  background: var(--paper);
  text-align: center;
}
.visit__logo { width: 180px; margin: 0 auto 24px; }
.visit__title { font-size: 1.125rem; line-height: 1.8; letter-spacing: .1em; margin-bottom: 28px; }
@media (min-width: 768px) {
  .visit__band img { aspect-ratio: 16 / 7; }
  .visit__card { margin-top: -120px; padding: 56px 48px; }
  .visit__title { font-size: 1.25rem; letter-spacing: .12em; }
}
@media (min-width: 1024px) {
  .visit__band { max-width: var(--container); margin-inline: auto; }
  .visit__card { margin-top: -180px; padding: 72px 64px; }
  .visit__title { font-size: 1.625rem; }
  .visit__logo { width: 230px; }
}

/* ---------- フッター ---------- */
.site-footer {
  background: var(--bluegray-deep);
  color: var(--paper);
  padding: 56px 0 calc(40px + env(safe-area-inset-bottom));
  font-size: .9375rem;
}
.site-footer__inner { display: grid; gap: 28px; }
.site-footer__logo { width: 140px; filter: invert(1) brightness(1.02); margin-bottom: 12px; }
.site-footer__brand p { margin: 0; color: rgba(245, 243, 238, .85); }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.site-footer__links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--paper);
  text-decoration: underline;
  text-decoration-color: rgba(245, 243, 238, .4);
  text-underline-offset: 4px;
  gap: 7px;
}
.site-footer__copy { margin: 0; font-family: var(--font-en); letter-spacing: .1em; color: rgba(245, 243, 238, .85); }
.site-footer :focus-visible { outline-color: var(--paper); }
@media (min-width: 1024px) {
  .site-footer__inner { grid-template-columns: 1fr auto; align-items: end; }
  .site-footer__copy { grid-column: 1 / -1; }
}

/* ---------- スマホ用の固定CTAバー ---------- */
.cta-bar {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 40;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
  background: rgba(245, 243, 238, .96);
  border-top: 1px solid var(--line);
  transition: transform .25s var(--ease);
}
.cta-bar__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  border-radius: 999px;
  border: 1px solid var(--ink);
  color: var(--ink);
  font-size: .9375rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-decoration: none;
}
.cta-bar__btn--primary { background: var(--bluegray-deep); border-color: var(--bluegray-deep); color: var(--paper); }
html.js .cta-bar { transform: translateY(110%); }
html.js .cta-bar.is-visible { transform: translateY(0); }
@media (min-width: 1024px) { .cta-bar { display: none; } }

/* =========================================================
   英語版（/en/）だけの調整
   すべて html[lang="en"] を起点にしているので、日本語版（lang="ja"）には効かない。
   英語は単語が長く字間を広げると読みにくいため、字間・行間・幅・並びを英語向けに直す
   ========================================================= */
html[lang="en"] body {
  font-family: var(--font-en);
  font-size: 1.0625rem;
  line-height: 1.7;
  letter-spacing: .01em;
  line-break: auto;
  word-break: normal;
  overflow-wrap: break-word;
}
@media (min-width: 1024px) { html[lang="en"] body { font-size: 1.125rem; } }
html[lang="en"] [lang="ja"] { font-family: var(--font-ja); letter-spacing: .04em; line-break: strict; word-break: auto-phrase; }
html[lang="en"] h2,
html[lang="en"] h3 { text-wrap: balance; }
/* 見出しの中で、意味のまとまり（.keep）の途中では改行しない */
html[lang="en"] .keep { display: inline-block; }

html[lang="en"] .chapter { letter-spacing: .08em; }
html[lang="en"] .chapter__num { font-size: .9375rem; }
html[lang="en"] .section-title { line-height: 1.3; letter-spacing: .01em; }
html[lang="en"] .section-lead { max-width: 36em; }
html[lang="en"] figcaption { letter-spacing: .02em; }
html[lang="en"] .btn { letter-spacing: .03em; }
html[lang="en"] .site-nav__list a { letter-spacing: .04em; }
html[lang="en"] .cta-bar__btn { letter-spacing: .04em; }

/* ヒーロー：英語のキャッチは横書き。店名の上に置き、写真は横長の外観（ext-wide）を全幅で使う */
html[lang="en"] .hero__grid {
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "media" "intro";
}
@media (max-width: 767px) {
  html[lang="en"] .hero__photo img { aspect-ratio: 4 / 3; }
}
html[lang="en"] .hero__catch {
  margin: 0 0 20px;
  padding: 0;
  writing-mode: horizontal-tb;
  white-space: normal;
  font-family: var(--font-en);
  font-weight: 300;
  font-size: 2rem;
  line-height: 1.2;
  letter-spacing: .01em;
}
html[lang="en"] .hero__kind { font-size: .875rem; letter-spacing: .06em; }
html[lang="en"] .hero__lead { max-width: 30em; }
@media (min-width: 768px) {
  html[lang="en"] .hero__grid { grid-template-areas: "media" "intro"; }
  html[lang="en"] .hero__intro { max-width: 540px; padding-top: 64px; }
  html[lang="en"] .hero__catch { font-size: 2.5rem; }
}
@media (min-width: 1024px) {
  html[lang="en"] .hero__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    grid-template-areas: "media intro";
    column-gap: 56px;
  }
  html[lang="en"] .hero__intro { max-width: none; padding-top: 0; }
  html[lang="en"] .hero__catch { font-size: clamp(2.5rem, 1.25rem + 2vw, 3.25rem); margin-bottom: 24px; }
}

/* 営業のご案内 */
html[lang="en"] .info__hours-label,
html[lang="en"] .info-list dt { letter-spacing: .06em; }
html[lang="en"] .info__days { max-width: 32em; }
.info-address__line { display: block; }
.info-address__note { display: block; font-size: .9375rem; color: var(--ink-soft); }
.info-ja {
  padding: 20px 22px;
  border: 1px solid var(--line);
  font-size: .9375rem;
  line-height: 1.75;
  color: var(--ink-soft);
}
.info-ja p { margin-bottom: .5em; }
.info-ja__title { font-family: var(--font-en); letter-spacing: .2em; color: var(--olive); }
.info-ja__address { font-size: 1rem; color: var(--ink); }

/* 一 homi のこと：見出しは縦書きにせず、本文の上に置く */
@media (min-width: 1024px) {
  html[lang="en"] .about__columns { display: block; }
  html[lang="en"] .vertical-title {
    writing-mode: horizontal-tb;
    margin: 0 0 28px;
    font-size: 2.25rem;
    line-height: 1.25;
    letter-spacing: .01em;
  }
}
html[lang="en"] .vertical-title { line-height: 1.3; letter-spacing: .01em; }

/* 二 お店のこと */
html[lang="en"] .space__title { line-height: 1.25; letter-spacing: .01em; }
html[lang="en"] .space__num { margin-right: .12em; }
/* PC：写真の枠線とキャプションが、写真の下まで伸びないようにする（写真の高さに合わせる） */
@media (min-width: 1024px) {
  html[lang="en"] .space__main { align-self: start; }
}

/* 三 焼き菓子 */
html[lang="en"] .signature__tag { letter-spacing: .06em; }
html[lang="en"] .signature__name { letter-spacing: .02em; flex-direction: row; column-gap: .3em; }
html[lang="en"] .signature__lead { letter-spacing: .02em; }
html[lang="en"] .season__title { letter-spacing: .04em; }
html[lang="en"] .season-card__name { letter-spacing: .01em; line-height: 1.4; }

/* 最後の案内 */
html[lang="en"] .visit__title { letter-spacing: .01em; line-height: 1.45; }
/* 360px 未満では、カードの左右の余白を詰めてボタンの英語を1行に収める（文字は小さくしない） */
@media (max-width: 359px) {
  html[lang="en"] .visit__card { padding-inline: 10px; }
  html[lang="en"] .visit__card .btn { padding-inline: 16px; }
}
@media (min-width: 1024px) {
  html[lang="en"] .visit__title { font-size: 1.875rem; }
}

/* =========================================================
   動き（JS が動くときだけ。動きを減らす設定では止める）
   ========================================================= */

/* 文字：下から少し浮かび上がる */
html.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}
html.js .reveal.is-visible { opacity: 1; transform: none; }

/* 写真：下から幕が上がるように現れる */
html.js .reveal-img img {
  clip-path: inset(100% 0 0 0);
  transform: scale(1.06);
  transition: clip-path 1.1s var(--ease-out), transform 1.6s var(--ease-out);
}
html.js .reveal-img.is-visible img { clip-path: inset(0 0 0 0); transform: none; }
html.js .reveal-img::before { opacity: 0; transition: opacity .8s ease .6s; }
html.js .reveal-img.is-visible::before { opacity: 1; }

@media (prefers-reduced-motion: no-preference) {
  /* ヒーロー：写真に紙色の幕がかかり、右へ引かれていく（写真自体は最初から表示） */
  html.js .hero__photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--paper);
    transform-origin: right center;
    animation: curtain 1.2s var(--ease-out) .1s both;
  }
  html.js .hero__photo img { animation: settle 1.8s var(--ease-out) both; }
  html.js .hero__circle { animation: pop .9s var(--ease-out) .7s both; }
  html.js .hero__catch { animation: rise 1s var(--ease-out) .5s both; }
  html.js .hero__intro { animation: rise 1s var(--ease-out) .35s both; }
  /* ロゴの一筆線を、左から書くように見せる */
  html.js .hero__symbol { animation: draw 1.6s cubic-bezier(.65, 0, .35, 1) .6s both; }

  /* 対応ブラウザだけ：スクロールに合わせて大きな「homi」がゆっくり動く */
  @supports (animation-timeline: view()) {
    .bigword {
      animation: drift linear both;
      animation-timeline: view();
      animation-range: cover 0% cover 100%;
    }
  }
}

@keyframes curtain { from { transform: scaleX(1); } to { transform: scaleX(0); } }
@keyframes settle { from { transform: scale(1.06); } to { transform: none; } }
@keyframes pop { from { opacity: 0; transform: scale(.85); } to { opacity: 1; transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes draw { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes drift { from { transform: translateX(6%); } to { transform: translateX(-6%); } }

@media (max-width: 767px) {
  html.js .reveal { transform: translateY(8px); }
}

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

/* ---------- CMS（Sanity）で更新する既存の2箇所 ----------
   専用の表示枠は持たない。焼き菓子カードは既存の .season-card と同じ見た目で、
   説明文の改行と長い語の折り返しだけを足す。 */
.season-card[data-cms-card] .season-card__name,
.season-card[data-cms-card] .season-card__text { overflow-wrap: anywhere; }
[data-cms-target="coffee-intro"][data-cms-applied] { overflow-wrap: anywhere; }
