/* ===========================================================
   餅和菓子処 おおば — Design tokens & base styles
   モダン和風：広い余白、繊細な線、淡い和色
   =========================================================== */

:root {
  /* 和色パレット */
  --ink: #1a1a1a;
  --ink-soft: #3a3a3a;
  --sub: #6b6b6b;
  --line: #d9d4c7;
  --line-soft: #ece8dd;
  --paper: #f5f1e8;
  --paper-2: #eae3d1;
  --white: #fbf9f3;

  /* ブランド：小豆色 */
  --brand: #96514d;
  --brand-ink: #6b3030;
  --brand-tint: #f3dfdd;

  /* タイポ */
  --font-serif: "Shippori Mincho", "Noto Serif JP", "游明朝", "Yu Mincho", serif;
  --font-sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  --font-display: "Shippori Mincho", "Noto Serif JP", serif;

  /* レイアウト */
  --container: 1200px;
  --container-narrow: 880px;
  --gutter: clamp(20px, 4vw, 48px);
  --header-h: 80px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-feature-settings: "palt" 1;
  font-size: 15px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; }

/* 共通 ---------------------------------------------------- */

.oba-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.oba-container--narrow { max-width: var(--container-narrow); }

.mincho { font-family: var(--font-display); font-weight: 500; letter-spacing: 0.04em; }
.gothic { font-family: var(--font-sans); }

.oba-section { padding: clamp(64px, 10vw, 140px) 0; }
.oba-section-head {
  display: flex; align-items: baseline; gap: 24px;
  margin-bottom: clamp(32px, 5vw, 64px);
}
.oba-section-head__kanji {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--ink);
  line-height: 1;
}
.oba-section-head__romaji {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 13px;
  letter-spacing: 0.3em;
  color: var(--sub);
  text-transform: lowercase;
}
.oba-section-head__line {
  flex: 1; height: 1px; background: var(--line);
  margin-left: 16px; align-self: center;
}

.oba-link {
  display: inline-flex; align-items: center; gap: 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--ink);
  font-family: var(--font-display);
  font-size: 14px; letter-spacing: 0.15em;
  color: var(--ink); cursor: pointer;
  transition: gap .25s ease;
}
.oba-link:hover { gap: 18px; }
.oba-link .arrow { font-size: 11px; }

.oba-btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 32px;
  background: var(--ink); color: var(--paper);
  font-family: var(--font-display);
  font-size: 14px; letter-spacing: 0.2em;
  border: none; cursor: pointer;
  transition: background .25s ease, color .25s ease;
}
.oba-btn:hover { background: var(--brand-ink); }
.oba-btn--ghost {
  background: transparent; color: var(--ink);
  border: 1px solid var(--ink);
}
.oba-btn--ghost:hover { background: var(--ink); color: var(--paper); }

.oba-paper {
  background:
    radial-gradient(circle at 20% 10%, rgba(0,0,0,.018) 0, transparent 40%),
    radial-gradient(circle at 80% 90%, rgba(0,0,0,.02) 0, transparent 50%),
    var(--paper);
}

.season-spring { --season: #d98aa8; }
.season-summer { --season: #7ba9c7; }
.season-autumn { --season: #c76a3e; }
.season-winter { --season: #4a5d6e; }

.oba-ph {
  position: relative;
  background: var(--paper-2);
  overflow: hidden;
}
.oba-ph::after {
  content: "";
  position: absolute; inset: 0;
  background: repeating-linear-gradient(45deg, transparent 0 14px, rgba(0,0,0,.025) 14px 15px);
  pointer-events: none;
}
.oba-ph__label {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-family: var(--font-display);
  color: var(--ink-soft);
  letter-spacing: 0.2em;
  font-size: 11px; opacity: .6;
}

html { scrollbar-color: var(--line) transparent; }

/* ===========================================================
   ヘッダー & フッター
   =========================================================== */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245, 241, 232, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s;
}
.site-header.is-scrolled {
  background: rgba(245, 241, 232, 0.92);
  border-bottom-color: var(--line);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px var(--gutter);
  max-width: var(--container);
  margin: 0 auto;
}
.site-header__logo img { height: 38px; width: auto; display: block; }
.site-nav { display: flex; gap: 38px; align-items: center; }
.site-nav__item {
  position: relative; cursor: pointer; text-align: center;
  line-height: 1.1; padding-bottom: 8px;
}
.site-nav__ja {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 14px; letter-spacing: 0.18em;
  color: var(--ink);
  transition: color .25s;
}
.site-nav__en {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 10px; letter-spacing: 0.3em;
  color: var(--sub);
  margin-top: 2px;
}
.site-nav__item.is-current .site-nav__ja { color: var(--brand-ink); }
.site-nav__item.is-current::after {
  content: "";
  position: absolute; bottom: -2px; left: 50%;
  width: 6px; height: 6px;
  background: var(--brand-ink);
  transform: translateX(-50%) rotate(45deg);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 80px 0 40px;
  background: var(--white);
  margin-top: 80px;
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
}
.site-footer__lead {
  margin-top: 24px; font-size: 13px; line-height: 2;
  color: var(--ink-soft); max-width: 320px;
}
.site-footer__title {
  font-family: var(--font-display);
  font-size: 12px; letter-spacing: 0.3em;
  color: var(--sub); margin-bottom: 16px;
}
.site-footer__list { list-style: none; padding: 0; margin: 0; line-height: 2.2; }
.site-footer__list a { font-family: var(--font-display); font-size: 13px; cursor: pointer; }
.site-footer__tel {
  display: inline-block; margin-top: 12px;
  font-family: var(--font-display);
  font-size: 22px; letter-spacing: 0.05em;
  color: var(--brand-ink);
}
.site-footer__social { display: flex; flex-direction: column; gap: 10px; }
.site-footer__social a {
  font-family: var(--font-display);
  font-size: 13px;
  display: inline-flex; gap: 10px; align-items: center;
}
.site-footer__copy {
  margin-top: 64px; padding-top: 24px;
  border-top: 1px solid var(--line-soft);
  display: flex; justify-content: space-between;
  font-size: 11px; letter-spacing: 0.2em; color: var(--sub);
  font-family: var(--font-display);
  max-width: var(--container);
  margin-left: auto; margin-right: auto;
  padding-left: var(--gutter); padding-right: var(--gutter);
}

@media (max-width: 900px) {
  .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 600px) {
  .site-footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .site-nav { gap: 18px; }
  .site-nav__en { display: none; }
}

/* ===========================================================
   ファーストビュー（ヒーロー：ミニマル）
   =========================================================== */

.hero-minimal {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  background: var(--paper);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  /* テキストと写真の間の距離を固定（中央寄せされる） */
  gap: clamp(32px, 6vh, 72px);
  padding: clamp(24px, 4vh, 64px) 0;
}
.hero-minimal__copy {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}
.hero-minimal__lines {
  display: flex;
  flex-direction: row-reverse;
  align-items: flex-start;
  gap: clamp(28px, 4.5vw, 56px);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(20px, 2.2vw, 30px);
  letter-spacing: 0.06em;
  color: var(--ink);
}
.hero-minimal__line {
  writing-mode: vertical-rl;
  -webkit-writing-mode: vertical-rl;
  white-space: nowrap;
  line-height: 1.85;
  animation: obaFadeUp 0.9s both ease-out;
}
.hero-minimal__line:nth-child(1) { animation-delay: 0.20s; }
.hero-minimal__line:nth-child(2) { animation-delay: 0.38s; }
.hero-minimal__line:nth-child(3) { animation-delay: 0.56s; }

.hero-minimal__photos {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: clamp(8px, 1.6vw, 28px);
  padding: 0 clamp(16px, 4vw, 60px);
  min-height: clamp(180px, 26vw, 280px);
}
.hero-minimal__photo {
  aspect-ratio: 1 / 1;
  flex: 0 0 auto;
  animation: obaFadeUp 1s both ease-out;
}
.hero-minimal__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 50%;
  filter: drop-shadow(0 12px 24px rgba(60, 40, 20, 0.12));
  display: block;
}
.hero-minimal__photo--xs { width: clamp(72px, 10vw, 150px); transform: translateY(0); }
.hero-minimal__photo--s  { width: clamp(80px, 11vw, 170px); transform: translateY(20px); }
.hero-minimal__photo--m  { width: clamp(96px, 13vw, 200px); transform: translateY(28px); }
.hero-minimal__photo--l  { width: clamp(160px, 22vw, 320px); transform: translateY(-12px); }
.hero-minimal__photo:nth-child(1) { animation-delay: 0.40s; }
.hero-minimal__photo:nth-child(2) { animation-delay: 0.50s; }
.hero-minimal__photo:nth-child(3) { animation-delay: 0.60s; }
.hero-minimal__photo:nth-child(4) { animation-delay: 0.70s; }
.hero-minimal__photo:nth-child(5) { animation-delay: 0.80s; }

.hero-minimal__scroll {
  position: absolute;
  left: 50%; bottom: 12px;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  animation: obaFadeUp 1.2s 1.4s both ease-out;
  pointer-events: none;
}
.hero-minimal__scroll-text {
  font-family: var(--font-display);
  font-size: 11px; letter-spacing: 0.4em;
  color: var(--sub);
}
.hero-minimal__scroll-line {
  display: block;
  width: 1px; height: 36px;
  background: linear-gradient(to bottom, var(--sub), transparent);
  animation: obaScrollHint 2.2s ease-in-out infinite;
}

@keyframes obaFadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; }
}
@keyframes obaScrollHint {
  0%, 100% { transform: scaleY(1); transform-origin: top; opacity: 0.4; }
  50%      { transform: scaleY(0.4); transform-origin: bottom; opacity: 1; }
}

@media (max-width: 720px) {
  .hero-minimal__lines { gap: 22px; font-size: clamp(18px, 5vw, 24px); }
  .hero-minimal__photos { min-height: 180px; gap: 6px; }
  .hero-minimal__photo--l  { width: clamp(140px, 36vw, 200px); transform: translateY(-6px); }
  .hero-minimal__photo--m  { width: clamp(82px, 22vw, 130px); transform: translateY(16px); }
  .hero-minimal__photo--s  { width: clamp(70px, 18vw, 110px); transform: translateY(12px); }
  .hero-minimal__photo--xs { width: clamp(60px, 16vw, 100px); transform: translateY(0); }
}

/* ===========================================================
   ニュースストリップ
   =========================================================== */

.news-strip {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
}
.news-strip__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 40px;
}
.news-strip__title {
  font-family: var(--font-display);
  font-size: 12px; letter-spacing: 0.3em;
  color: var(--brand-ink);
  border-right: 1px solid var(--line);
  padding-right: 40px;
}
.news-strip__list { display: grid; gap: 6px; }
.news-strip__item { display: flex; gap: 20px; align-items: baseline; font-size: 13px; }
.news-strip__date {
  font-family: var(--font-display);
  color: var(--sub); letter-spacing: 0.05em;
  min-width: 84px;
}
.news-strip__cat {
  font-family: var(--font-display);
  padding: 1px 10px;
  border: 1px solid var(--brand-ink);
  color: var(--brand-ink);
  font-size: 10px; letter-spacing: 0.2em;
  min-width: 68px; text-align: center;
}
.news-strip__text { font-family: var(--font-display); flex: 1; }

@media (max-width: 720px) {
  .news-strip__inner { grid-template-columns: 1fr; gap: 16px; }
  .news-strip__title { border: 0; padding: 0; }
  .news-strip__item { flex-wrap: wrap; gap: 10px; }
}

/* ===========================================================
   季節のお菓子プレビュー / 商品カード
   =========================================================== */

.seasonal-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
@media (max-width: 900px) { .seasonal-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; } }
@media (max-width: 480px) { .seasonal-grid { grid-template-columns: 1fr; } }

.product-card { display: flex; flex-direction: column; }
.product-card__media {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--paper-2);
}
.product-card__media img { width: 100%; height: 100%; object-fit: cover; }
.product-card__body { padding: 20px 4px 0; }
.product-card__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.product-card__name {
  font-family: var(--font-display);
  font-weight: 500; font-size: 18px;
  letter-spacing: 0.1em;
}
.product-card__price {
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--brand-ink);
  letter-spacing: 0.05em;
}
.product-card__note {
  font-family: var(--font-display);
  font-size: 12px; color: var(--sub);
  margin: 8px 0 0; line-height: 1.8;
}

.month-badge {
  display: flex; align-items: center; gap: 10px;
  color: var(--season);
  font-family: var(--font-display);
  font-size: 13px; letter-spacing: 0.2em;
}

/* ===========================================================
   コンセプトティーザー
   =========================================================== */

.concept-teaser {
  background: var(--white);
  padding: clamp(80px, 10vw, 140px) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.concept-teaser__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
}
.concept-teaser__media-wrap { position: relative; }
.concept-teaser__media-main { aspect-ratio: 1/1; position: relative; }
.concept-teaser__media-sub {
  position: absolute;
  right: -12%; bottom: -8%;
  width: 45%; aspect-ratio: 1/1;
  background: var(--paper);
  border: 1px solid var(--line);
}
.concept-teaser__title {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.6vw, 34px);
  font-weight: 500;
  line-height: 1.6;
  margin: 0 0 32px;
  letter-spacing: 0.05em;
}
.concept-teaser__title span {
  display: inline-block;
  white-space: nowrap;
}
@media (max-width: 480px) {
  .concept-teaser__title {
    font-size: clamp(20px, 6vw, 26px);
  }
}
.concept-teaser__text {
  font-family: var(--font-display);
  font-size: 15px; line-height: 2.3;
  color: var(--ink-soft);
  max-width: 480px;
  margin-bottom: 40px;
}

@media (max-width: 900px) {
  .concept-teaser__grid { grid-template-columns: 1fr; gap: 56px; }
  .concept-teaser__media-sub { right: -4%; bottom: -4%; width: 40%; }
}

/* ===========================================================
   アクセスティーザー
   =========================================================== */

.access-teaser__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: stretch;
}
.access-teaser__map {
  background: var(--paper-2);
  position: relative;
  min-height: 360px;
  border: 1px solid var(--line);
  overflow: hidden;
}
.access-teaser__map iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
  filter: saturate(0.85) contrast(0.96);
}
.access-teaser__info {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 44px 40px;
}
.access-teaser__label {
  font-family: var(--font-display);
  font-size: 12px; letter-spacing: 0.3em;
  color: var(--sub); margin-bottom: 16px;
}
.access-teaser__name {
  font-family: var(--font-display);
  font-size: 26px; font-weight: 500;
  margin: 0 0 24px; letter-spacing: 0.08em;
}
.access-teaser__dl {
  margin: 0; display: grid; row-gap: 18px;
  font-size: 13px; line-height: 1.9;
}
.access-teaser__dl dt {
  font-family: var(--font-display);
  color: var(--sub);
  font-size: 11px; letter-spacing: 0.25em;
  margin-bottom: 4px;
}
.access-teaser__dl dd { margin: 0; font-family: var(--font-display); }
.access-teaser__tel {
  font-family: var(--font-display);
  color: var(--brand-ink);
  font-size: 20px;
}

@media (max-width: 900px) {
  .access-teaser__grid { grid-template-columns: 1fr; }
}

/* ===========================================================
   Social CTA
   =========================================================== */

.social-cta {
  background: var(--brand-ink);
  color: var(--paper);
  padding: clamp(64px, 8vw, 100px) 0;
  position: relative;
  overflow: hidden;
}
.social-cta::before, .social-cta::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50%;
  pointer-events: none;
}
.social-cta::before { top: -80px; right: -80px; width: 320px; height: 320px; }
.social-cta::after  { top: -40px; right: -40px; width: 240px; height: 240px; opacity: .7; }
.social-cta__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
}
.social-cta__overline {
  font-family: var(--font-display);
  font-size: 11px; letter-spacing: 0.4em;
  opacity: 0.6; margin-bottom: 18px;
}
.social-cta__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 500; margin: 0;
  line-height: 1.5; letter-spacing: 0.05em;
}
.social-cta__lead {
  margin-top: 20px;
  font-family: var(--font-display);
  font-size: 14px; line-height: 2;
  opacity: 0.82; max-width: 460px;
}
.social-link {
  display: flex; align-items: center; gap: 20px;
  padding: 22px 28px;
  border: 1px solid rgba(255,255,255,0.2);
  cursor: pointer;
  transition: background .25s;
  color: inherit;
}
.social-link:hover { background: rgba(255,255,255,0.06); }
.social-link__handle {
  font-family: var(--font-display);
  font-size: 16px; letter-spacing: 0.1em;
}
.social-link__sub {
  font-family: var(--font-display);
  font-size: 12px; opacity: 0.7;
  margin-top: 3px;
}

@media (max-width: 900px) {
  .social-cta__grid { grid-template-columns: 1fr; }
}

/* ===========================================================
   ページ共通：見出し
   =========================================================== */

.page-header { padding: 80px 0 40px; }
.page-header__inner { text-align: center; }
.page-header__mizuhiki { display: flex; justify-content: center; margin-bottom: 20px; }
.page-header__title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 500; margin: 0;
  letter-spacing: 0.1em;
}
.page-header__romaji {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 12px; letter-spacing: 0.3em;
  color: var(--sub); margin-top: 8px;
}
.page-header__lead {
  font-family: var(--font-display);
  margin: 32px auto 0;
  font-size: 14px; line-height: 2.2;
  color: var(--ink-soft);
  max-width: 600px;
}

/* ===========================================================
   商品ページ
   =========================================================== */

.category-nav {
  position: sticky; top: var(--header-h); z-index: 20;
  background: rgba(245, 241, 232, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}
.category-nav__inner {
  display: flex; justify-content: center;
  gap: clamp(20px, 3vw, 40px);
  flex-wrap: wrap;
}
.category-nav__item {
  background: none; border: none; cursor: pointer;
  display: flex; align-items: center; gap: 10px;
  padding: 6px 4px; color: inherit;
}
.category-nav__ja {
  font-family: var(--font-display);
  font-size: 15px; letter-spacing: 0.15em;
}
.category-nav__romaji {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 10px; letter-spacing: 0.3em;
  color: var(--sub);
}

.product-section { padding: clamp(80px, 10vw, 140px) 0; }
.product-section--white { background: var(--white); }
.product-section--paper2 { background: var(--paper-2); border-top: 1px solid var(--line); }

.product-section__head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: end;
  gap: 40px;
  margin-bottom: 64px;
}
.product-section__overline {
  font-family: var(--font-display);
  font-size: 12px; letter-spacing: 0.3em;
  color: var(--brand);
  margin-bottom: 8px;
}
.product-section__title {
  font-family: var(--font-display);
  font-size: clamp(56px, 8vw, 96px);
  font-weight: 500; margin: 0;
  line-height: 1; letter-spacing: 0.1em;
  display: flex; align-items: baseline; gap: 20px;
}
.product-section__title-en {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 20px; letter-spacing: 0.3em;
  color: var(--sub);
  text-transform: lowercase;
  font-weight: 400;
}
.product-section__rule { height: 1px; background: var(--brand); opacity: 0.4; }
.product-section__note {
  font-family: var(--font-display);
  margin: 0;
  font-size: 14px; font-style: italic;
  color: var(--ink-soft);
}
@media (max-width: 720px) {
  .product-section__head { grid-template-columns: 1fr; gap: 16px; }
  .product-section__rule { display: none; }
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.products-grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) {
  .products-grid, .products-grid--3 { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}
@media (max-width: 480px) {
  .products-grid, .products-grid--3 { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}

.oyaki-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  background: var(--line);
  border: 1px solid var(--line);
}
@media (max-width: 720px) { .oyaki-grid { grid-template-columns: repeat(2, 1fr); } }

.oyaki-cell {
  background: var(--paper-2);
  padding: 32px 28px;
  display: flex; flex-direction: column; justify-content: center; gap: 8px;
  min-height: 110px;
}
.oyaki-cell__head { display: flex; justify-content: space-between; align-items: baseline; }
.oyaki-cell__name {
  font-family: var(--font-display);
  margin: 0;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.08em;
}
.oyaki-cell__price {
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--brand-ink);
}

/* ===========================================================
   お知らせページ
   =========================================================== */

.news-filter {
  display: flex; justify-content: center; gap: 8px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 20px; margin-bottom: 40px;
  flex-wrap: wrap;
}
.news-filter button {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
  padding: 8px 22px;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 12px; letter-spacing: 0.2em;
}
.news-filter button.is-active { background: var(--ink); color: var(--paper); }

.news-article {
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 120px 100px 1fr;
  gap: 32px; align-items: start;
}
.news-article__date {
  font-family: var(--font-display);
  font-size: 13px; color: var(--sub);
  letter-spacing: 0.08em; padding-top: 4px;
}
.news-article__cat {
  font-family: var(--font-display);
  display: inline-block;
  padding: 2px 14px;
  border: 1px solid var(--brand-ink);
  color: var(--brand-ink);
  font-size: 10px; letter-spacing: 0.2em;
}
.news-article__title {
  font-family: var(--font-display);
  font-size: 18px; font-weight: 500;
  margin: 0 0 10px;
  letter-spacing: 0.05em; line-height: 1.6;
}
.news-article__body {
  font-family: var(--font-display);
  margin: 0;
  font-size: 13px; line-height: 2;
  color: var(--ink-soft);
}

@media (max-width: 720px) {
  .news-article { grid-template-columns: 1fr; gap: 8px; }
}

/* ===========================================================
   コンセプトページ
   =========================================================== */

.story-section { padding: 60px 0; }
.story-section--accent {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 4vw, 72px);
  align-items: center;
}
.story-grid--reverse { grid-template-columns: 1fr 1fr; }
.story-grid__media { position: relative; aspect-ratio: 1/1; overflow: hidden; }
.story-grid__chapter {
  font-family: var(--font-display);
  font-size: 11px; letter-spacing: 0.35em;
  color: var(--brand-ink);
  margin-bottom: 14px;
}
.story-grid__title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.2vw, 40px);
  font-weight: 500; margin: 0 0 28px;
  line-height: 1.5; letter-spacing: 0.05em;
}
.story-grid__text {
  font-family: var(--font-display);
  font-size: 14px; line-height: 2.3;
  color: var(--ink-soft);
}

.history-section {
  padding: 100px 0;
  background: var(--paper-2);
  border-top: 1px solid var(--line);
}
.history-list { list-style: none; padding: 0; margin: 0; }
.history-list li {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 32px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.history-list__era {
  font-family: var(--font-display);
  font-size: 16px; letter-spacing: 0.1em;
  color: var(--brand-ink);
}
.history-list__body {
  font-family: var(--font-display);
  font-size: 14px; line-height: 2;
  color: var(--ink-soft);
}

@media (max-width: 720px) {
  .story-grid, .story-grid--reverse { grid-template-columns: 1fr; }
  .history-list li { grid-template-columns: 1fr; gap: 6px; }
}

/* ===========================================================
   アクセスページ
   =========================================================== */

.access-map-wrap {
  background: var(--paper-2);
  border: 1px solid var(--line);
  aspect-ratio: 21 / 9;
  position: relative;
  overflow: hidden;
}
.access-map-wrap iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
  filter: saturate(0.85) contrast(0.96);
}

.access-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
}
@media (max-width: 900px) {
  .access-grid { grid-template-columns: 1fr; }
}

.access-dl { margin: 0; display: grid; row-gap: 24px; font-size: 14px; line-height: 2; }
.access-dl > div {
  display: grid; grid-template-columns: 96px 1fr;
  gap: 20px; align-items: baseline;
  padding-bottom: 16px; border-bottom: 1px solid var(--line-soft);
}
.access-dl dt {
  font-family: var(--font-display);
  color: var(--sub);
  font-size: 11px; letter-spacing: 0.25em;
}
.access-dl dd { margin: 0; font-family: var(--font-display); }

.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 36px 32px;
  margin-bottom: 32px;
}
.contact-card__big {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--font-display);
  font-size: 32px; letter-spacing: 0.05em;
  color: var(--brand-ink);
}

/* ===========================================================
   ユーティリティ
   =========================================================== */

.text-center { text-align: center; }
.mt-32 { margin-top: 32px; }
.mt-56 { margin-top: 56px; }

@media print {
  .site-header, .site-footer { break-inside: avoid; }
}

/* ===========================================================
   おやきセル：画像つきバリアント
   =========================================================== */
.oyaki-cell--with-photo {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 200px;
  color: var(--paper);
  isolation: isolate;
}
.oyaki-cell--with-photo::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(0, 0, 0, 0.05) 0%,
    rgba(0, 0, 0, 0.15) 45%,
    rgba(0, 0, 0, 0.65) 100%);
  pointer-events: none;
  z-index: 0;
}
.oyaki-cell--with-photo .oyaki-cell__head {
  position: relative;
  z-index: 1;
  margin-top: auto;
}
.oyaki-cell--with-photo .oyaki-cell__name {
  color: #fff;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.4);
}
.oyaki-cell--with-photo .oyaki-cell__price {
  color: #fff;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.4);
}

/* ===========================================================
   メディアスライド（自動クロスフェード切替）
   .slide-media に複数枚 .slide-media__img を入れる。a/b ペアで使用。
   =========================================================== */
.slide-media {
  position: relative;
  width: 100%;
  height: 100%;
}
.slide-media__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.slide-media__img--a {
  animation: slideMediaFadeA 6s infinite ease-in-out;
}
.slide-media__img--b {
  animation: slideMediaFadeB 6s infinite ease-in-out;
}
@keyframes slideMediaFadeA {
  0%, 45% { opacity: 1; }
  55%, 95% { opacity: 0; }
  100% { opacity: 1; }
}
@keyframes slideMediaFadeB {
  0%, 45% { opacity: 0; }
  55%, 95% { opacity: 1; }
  100% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .slide-media__img--a, .slide-media__img--b { animation: none; }
  .slide-media__img--b { opacity: 0; }
}

/* ===========================================================
   季節プレビュー：カード数に合わせたグリッド
   =========================================================== */
.seasonal-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.seasonal-grid--3 { grid-template-columns: repeat(3, 1fr); }
.seasonal-grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
  .seasonal-grid--3, .seasonal-grid--4 { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}
@media (max-width: 480px) {
  .seasonal-grid--2, .seasonal-grid--3, .seasonal-grid--4 { grid-template-columns: 1fr; }
}

/* ===========================================================
   ヒーロー：横スクロールマーキー（右→左に無限ループ）
   =========================================================== */
.hero-marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  /* 端をフェードアウト（端で見切れた写真が完全に見えなくなるよう広め） */
  -webkit-mask-image: linear-gradient(to right, transparent 0%, transparent 4%, #000 28%, #000 72%, transparent 96%, transparent 100%);
          mask-image: linear-gradient(to right, transparent 0%, transparent 4%, #000 28%, #000 72%, transparent 96%, transparent 100%);
}
.hero-marquee__track {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 48px);
  width: max-content;
  animation: heroMarqueeScroll 36s linear infinite;
}
.hero-marquee__photo {
  flex: 0 0 auto;
  width: clamp(160px, 18vw, 240px);
  aspect-ratio: 1 / 1;
}
/* 親は完全透明（背景は paper のまま透ける）＋円形フレーム */
.hero-marquee__photo {
  background: transparent;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-marquee__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  /* multiply：写真の白い皿は背景の paper と乗算されて溶け込み、食材は自然な色を保つ */
  mix-blend-mode: multiply;
  display: block;
}
@keyframes heroMarqueeScroll {
  /* 1セットの幅だけ左に移動 → 複製した次セットが見えてシームレスループ */
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-marquee__track { animation: none; }
}

/* ===========================================================
   レスポンシブ強化：モバイルナビ（ハンバーガー）
   =========================================================== */
.site-nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 10px;
  cursor: pointer;
  width: 44px;
  height: 44px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  z-index: 60;
}
.site-nav-toggle__bar {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  transition: transform .3s ease, opacity .2s ease;
  transform-origin: center;
}
.is-nav-open .site-nav-toggle__bar:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.is-nav-open .site-nav-toggle__bar:nth-child(2) {
  opacity: 0;
}
.is-nav-open .site-nav-toggle__bar:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.oba-no-scroll {
  overflow: hidden;
}

@media (max-width: 768px) {
  .site-nav-toggle { display: inline-flex; }
  .site-header__inner { padding: 14px var(--gutter); }
  .site-header__logo img { height: 32px; }

  /* ナビは画面外スライドイン */
  .site-nav {
    position: fixed;
    top: 0; right: 0;
    width: min(80vw, 320px);
    height: 100vh;
    background: var(--paper);
    border-left: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 80px 32px 32px;
    transform: translateX(100%);
    transition: transform .35s cubic-bezier(.6, 0, .2, 1);
    z-index: 40;
  }
  .is-nav-open .site-nav {
    transform: translateX(0);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.06);
  }
  .site-nav__item {
    text-align: left;
    padding: 18px 0;
    border-bottom: 1px solid var(--line-soft);
  }
  .site-nav__ja { font-size: 16px; }
  .site-nav__en { display: block; font-size: 11px; margin-top: 4px; }
  .site-nav__item.is-current::after {
    bottom: auto; top: 50%; left: -16px;
    transform: translateY(-50%) rotate(45deg);
  }

  /* メニュー開放時のオーバーレイ */
  .is-nav-open::before {
    content: "";
    position: fixed; inset: 0;
    background: rgba(26, 26, 26, 0.35);
    z-index: 35;
    animation: obaFadeIn .3s ease both;
  }
}
@keyframes obaFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ===========================================================
   レスポンシブ：トップ・ヒーロー
   =========================================================== */
@media (max-width: 768px) {
  :root { --header-h: 60px; --gutter: clamp(16px, 4vw, 24px); }
  .hero-minimal {
    /* モバイルではビューポート高に追従しすぎないよう min-height を緩く */
    min-height: max(560px, 72vh);
    padding-top: clamp(28px, 6vh, 56px);
    padding-bottom: clamp(28px, 5vh, 56px);
    gap: clamp(24px, 4.5vh, 44px);
  }
  .hero-marquee__photo { width: clamp(160px, 40vw, 240px); }
  .hero-marquee__track { gap: clamp(14px, 3vw, 24px); animation-duration: 28s; }
}
@media (max-width: 480px) {
  .hero-minimal__lines { gap: clamp(18px, 5vw, 28px); font-size: clamp(17px, 5.4vw, 22px); }
}

/* ===========================================================
   レスポンシブ：トップ・各セクション
   =========================================================== */
@media (max-width: 900px) {
  .news-strip__title { font-size: 11px; padding-right: 0; }
  .seasonal-grid--2 { grid-template-columns: repeat(2, 1fr); max-width: none; }
}
@media (max-width: 720px) {
  .oba-section { padding: clamp(48px, 8vw, 80px) 0; }
  .oba-section-head { gap: 14px; flex-wrap: wrap; margin-bottom: clamp(24px, 6vw, 40px); }
  .oba-section-head__line { display: none; }
  .month-badge { font-size: 12px; }

  .concept-teaser { padding: clamp(56px, 10vw, 90px) 0; }
  .concept-teaser__media-sub { width: 36%; right: 0; }

  .access-teaser__map { min-height: 240px; }
  .access-teaser__info { padding: 28px 24px; }
  .access-teaser__name { font-size: 22px; }

  .social-cta { padding: clamp(48px, 9vw, 80px) 0; }
  .social-cta__title { font-size: clamp(22px, 5.5vw, 30px); }
  .social-cta::before, .social-cta::after { display: none; }
  .social-link { padding: 16px 18px; gap: 12px; }
  .social-link__handle { font-size: 14px; }
  .social-link__sub { font-size: 11px; }
}

/* ===========================================================
   レスポンシブ：商品ページ
   =========================================================== */
@media (max-width: 720px) {
  .page-header { padding: 56px 0 24px; }
  .page-header__title { font-size: clamp(28px, 8vw, 40px); }
  .page-header__lead { font-size: 13px; line-height: 2; }

  .category-nav { padding: 10px 0; }
  .category-nav__inner { gap: 12px; }
  .category-nav__ja { font-size: 13px; }
  .category-nav__romaji { font-size: 9px; }

  .product-section { padding: clamp(48px, 9vw, 80px) 0; }
  .product-section__title { font-size: clamp(36px, 10vw, 56px); }
  .product-section__title-en { font-size: 14px; letter-spacing: 0.2em; }
  .product-section__overline { font-size: 11px; letter-spacing: 0.2em; }
  .product-section__note { font-size: 12px; }
}
@media (max-width: 480px) {
  .product-card__name { font-size: 16px; }
  .product-card__price { font-size: 12px; }
  .product-card__note { font-size: 11px; line-height: 1.7; }
  .oyaki-cell { padding: 24px 18px; min-height: 90px; }
  .oyaki-cell__name { font-size: 18px; }
  .oyaki-cell__price { font-size: 14px; }
}

/* ===========================================================
   レスポンシブ：お知らせ・コンセプト・アクセス
   =========================================================== */
@media (max-width: 720px) {
  .news-filter button { padding: 6px 14px; font-size: 11px; }
  .news-article { padding: 24px 0; gap: 6px; }
  .news-article__date { padding-top: 0; font-size: 12px; }
  .news-article__cat { font-size: 9px; padding: 1px 10px; }
  .news-article__title { font-size: 16px; line-height: 1.5; margin-bottom: 8px; }
  .news-article__body { font-size: 12px; line-height: 1.9; }

  .story-section, .story-section--accent { padding: 40px 0; }
  .story-grid__chapter { font-size: 10px; letter-spacing: 0.3em; }
  .story-grid__title { font-size: clamp(22px, 6.5vw, 30px); margin-bottom: 20px; }
  .story-grid__text { font-size: 13px; line-height: 2; }

  .history-section { padding: 60px 0; }

  .access-map-wrap { aspect-ratio: 16 / 11; }
  .contact-card { padding: 24px 20px; margin-bottom: 24px; }
  .contact-card__big { font-size: 24px; gap: 10px; }
  .contact-card__big svg { width: 20px; height: 20px; }
  .access-dl { row-gap: 18px; font-size: 13px; }
  .access-dl > div { grid-template-columns: 80px 1fr; gap: 12px; padding-bottom: 12px; }
  .access-dl dt { font-size: 10px; letter-spacing: 0.2em; }
}

/* ===========================================================
   レスポンシブ：フッター
   =========================================================== */
@media (max-width: 720px) {
  .site-footer { padding: 56px 0 32px; margin-top: 56px; }
  .site-footer__copy {
    flex-direction: column; gap: 6px;
    text-align: center; font-size: 10px;
    letter-spacing: 0.18em;
  }
  .site-footer__tel { font-size: 18px; }
}

/* ===========================================================
   レスポンシブ：横スクロール抑止
   =========================================================== */
html, body { overflow-x: clip; }

/* ===========================================================
   レスポンシブユーティリティ
   =========================================================== */
@media (max-width: 720px) {
  .hide-on-mobile { display: none; }
}

/* ===========================================================
   ホバー切替メディア
   <hover-media> の内側に <img>。1枚目だけが見え、
   マウスオーバーで順次切替（モバイルはタップで次へ）。
   =========================================================== */
hover-media {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
}
hover-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .35s ease;
  display: block;
}
hover-media img.is-active {
  opacity: 1;
}

/* マーキー：モバイルでは端のフェードをさらに強めに */
@media (max-width: 768px) {
  .hero-marquee {
    -webkit-mask-image: linear-gradient(to right, transparent 0%, transparent 6%, #000 32%, #000 68%, transparent 94%, transparent 100%);
            mask-image: linear-gradient(to right, transparent 0%, transparent 6%, #000 32%, #000 68%, transparent 94%, transparent 100%);
  }
}
