/* しろとあお — タルト専門店 */
:root {
  --bg: #FAFAF7;
  --paper: #FFFFFF;
  --tint: #EEF2F5;
  --ink: #22262B;
  --sub: #4A525B;
  --muted: #5F6973;
  --line: #D8DDE1;
  --blue: #4F6D86;
  --blue-dark: #3F5A70;
  --blue-deep: #2F4557;
  --en: "Jost", sans-serif;
  --ja: "Zen Kaku Gothic New", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --gutter: 48px;
  --radius: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--ja);
  line-height: 1.9;
  overflow-wrap: anywhere;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
a:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
.nb { white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding-inline: var(--gutter); }
.wrap-narrow { max-width: 880px; }

/* ---------- header ---------- */
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; flex-direction: column; align-items: center; gap: 14px; padding-top: 22px; padding-bottom: 6px; }
.logo { display: inline-flex; flex-direction: column; align-items: center; gap: 2px; text-decoration: none; }
.logo-row { display: flex; align-items: center; gap: 12px; }
.logo-mark { width: 24px; height: 24px; border-radius: 50%; border: 7px solid var(--blue); }
.logo-text { font-size: 24px; font-weight: 700; letter-spacing: 0.24em; }
.logo-sub { font-family: var(--en); font-size: 11px; letter-spacing: 0.32em; color: var(--blue); }

.nav { display: flex; justify-content: center; }
.nav a {
  display: flex; flex-direction: column; align-items: center; gap: 0;
  min-width: 104px; padding: 10px 14px 12px;
  text-decoration: none; line-height: 1.5;
  border-bottom: 2px solid transparent;
}
.nav a span { font-size: 14px; font-weight: 700; letter-spacing: 0.1em; }
.nav a small { font-family: var(--en); font-size: 10px; letter-spacing: 0.24em; color: var(--blue); }
.nav a:hover { color: var(--blue-dark); }
.nav a[aria-current="page"] { border-bottom-color: var(--blue); }

/* ---------- section heading (icon + EN + JA) ---------- */
.heading { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.heading svg { width: 30px; height: 30px; color: var(--blue); margin-bottom: 4px; }
.heading .en { font-family: var(--en); font-size: clamp(30px, 4vw, 44px); font-weight: 400; letter-spacing: 0.14em; color: var(--blue-dark); line-height: 1.2; }
.heading .ja { font-size: 14px; letter-spacing: 0.16em; color: var(--muted); }

.section { padding-top: 120px; }
.section-lead { margin-top: 28px; text-align: center; font-size: 15px; line-height: 2.2; color: var(--sub); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  min-height: 54px; padding: 0 36px; border-radius: 999px;
  font-size: 15px; font-weight: 700; letter-spacing: 0.12em; text-decoration: none; white-space: nowrap;
  border: 1px solid var(--blue-dark);
}
.btn::after { content: "→"; font-weight: 400; }
.btn-fill { background: var(--blue-dark); color: #fff; }
.btn-fill:hover { background: var(--blue-deep); border-color: var(--blue-deep); }
.btn-line { background: var(--paper); color: var(--blue-dark); }
.btn-line:hover { background: var(--tint); }
.btn-row { margin-top: 48px; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

/* ---------- hero ---------- */
.hero { position: relative; height: min(76vh, 720px); min-height: 460px; overflow: hidden; }
.hero-slides { position: absolute; inset: 0; z-index: 0; }  /* 写真の重なり順を、この中だけで完結させる（ロゴより上に出ない） */
.hero-slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(250, 250, 247, 0.12); pointer-events: none; }
.emblem {
  position: absolute; z-index: 2; left: 30%; top: 50%; transform: translate(-50%, -50%);
  width: 250px; height: 250px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 40px rgba(34, 38, 43, 0.12);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center;
}
.emblem::before { content: ""; position: absolute; inset: 10px; border-radius: 50%; border: 1px solid var(--blue); opacity: 0.5; }
.emblem .logo-mark { width: 30px; height: 30px; border-width: 8px; margin-bottom: 6px; }
.emblem h1 { font-size: 30px; font-weight: 700; letter-spacing: 0.22em; line-height: 1.3; padding-left: 0.22em; }
.emblem p { font-family: var(--en); font-size: 11px; letter-spacing: 0.3em; color: var(--blue); }
.emblem .catch { font-family: var(--ja); font-size: 12px; letter-spacing: 0.12em; color: var(--sub); margin-top: 4px; }

/* ---------- concept ---------- */
.concept { position: relative; }
.concept-body { position: relative; max-width: 680px; margin: 0 auto; }
.float-photo {
  position: absolute; width: 210px; height: 210px; border-radius: 50%; overflow: hidden;
  box-shadow: 0 12px 36px rgba(34, 38, 43, 0.10); background: var(--paper);
}
.float-photo img { width: 100%; height: 100%; object-fit: cover; }
.float-left { left: max(24px, calc(50% - 600px)); top: 150px; }
.float-right { right: max(24px, calc(50% - 600px)); top: 60px; }
.concept-catch { margin-top: 36px; text-align: center; font-size: 20px; font-weight: 700; letter-spacing: 0.1em; line-height: 1.8; }

/* ---------- contents cards ---------- */
.cards { margin-top: 48px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.card {
  position: relative; display: block; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden;
  text-decoration: none; color: #fff; background: var(--blue-deep);
}
.card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.card::after { content: ""; position: absolute; inset: 0; background: rgba(34, 45, 58, 0.38); transition: background 0.3s; }
.card:hover img { transform: scale(1.04); }
.card:hover::after { background: rgba(34, 45, 58, 0.5); }
.card-label { position: absolute; z-index: 1; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; text-align: center; }
.card-label .en { font-family: var(--en); font-size: 30px; letter-spacing: 0.16em; line-height: 1.3; }
.card-label .ja { font-size: 14px; font-weight: 700; letter-spacing: 0.14em; }
.card-label .more { margin-top: 14px; display: inline-flex; align-items: center; min-height: 36px; padding: 0 18px; border: 1px solid rgba(255,255,255,0.8); border-radius: 999px; font-size: 12px; letter-spacing: 0.14em; }

/* ---------- product grid ---------- */
.products { margin-top: 56px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 28px; }
.product { display: flex; flex-direction: column; gap: 14px; }
.product-photo { aspect-ratio: 1 / 1; border-radius: 50%; overflow: hidden; background: var(--paper); box-shadow: 0 8px 28px rgba(34, 38, 43, 0.08); }
.product-photo img { width: 100%; height: 100%; object-fit: cover; }
.product-text { text-align: center; display: flex; flex-direction: column; gap: 2px; }
.product-tag { align-self: center; padding: 0 12px; border-radius: 999px; background: var(--tint); color: var(--blue-dark); font-size: 12px; font-weight: 700; letter-spacing: 0.08em; }
.product-name { font-size: 17px; font-weight: 700; letter-spacing: 0.06em; }
.product-price { font-family: var(--en); font-size: 18px; color: var(--blue-dark); }
.product-desc { margin-top: 4px; font-size: 14px; color: var(--sub); line-height: 1.8; }

/* ---------- about / chef ---------- */
.about { margin-top: 56px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.about-photo { border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 2; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-name { display: flex; flex-direction: column; gap: 0; }
.about-name .role { font-size: 13px; letter-spacing: 0.14em; color: var(--blue); font-weight: 700; }
.about-name strong { font-size: 24px; letter-spacing: 0.14em; }
.about-name small { font-family: var(--en); font-size: 12px; letter-spacing: 0.24em; color: var(--muted); }
.about-text p { margin-top: 20px; font-size: 15px; line-height: 2.1; color: var(--sub); }

/* ---------- news ---------- */
.news { margin: 48px auto 0; max-width: 820px; border-top: 1px solid var(--line); }
.news li { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 20px; padding: 22px 8px; border-bottom: 1px solid var(--line); align-items: baseline; }
.news time { font-family: var(--en); font-size: 15px; letter-spacing: 0.08em; color: var(--blue-dark); }
.news p { font-size: 15px; }

/* ---------- store info ---------- */
.store { margin-top: 56px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.store-photo { border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 2; }
.store-photo img { width: 100%; height: 100%; object-fit: cover; }
.table { border-top: 1px solid var(--ink); }
.table > div { display: grid; grid-template-columns: 7em minmax(0, 1fr); gap: 16px; padding: 16px 4px; border-bottom: 1px solid var(--line); }
.table dt { font-size: 14px; font-weight: 700; color: var(--blue-dark); letter-spacing: 0.08em; }
.table dd { font-size: 15px; line-height: 1.9; }
.table dd small { display: block; font-size: 13px; color: var(--muted); }
.table a { color: var(--blue-dark); }

.map { margin-top: 28px; }
.map svg { display: block; width: 100%; height: auto; border-radius: 14px; }
.map-bg { fill: var(--tint); }
.road-main { stroke: var(--paper); stroke-width: 18; }
.road { stroke: var(--paper); stroke-width: 10; fill: none; }
.road-thin { stroke: var(--paper); stroke-width: 6; }
.station { fill: var(--ink); }
.route { fill: none; stroke: var(--blue); stroke-width: 3; stroke-dasharray: 6 6; }
.pin { fill: var(--blue); }
.pin-in { fill: var(--paper); }
.map-text { font-family: var(--ja); font-size: 15px; font-weight: 700; fill: var(--ink); }
.map-text-sm { font-family: var(--ja); font-size: 12px; fill: var(--muted); }
.map-text-inv { font-family: var(--ja); font-size: 13px; fill: var(--paper); text-anchor: middle; }
.map figcaption { margin-top: 10px; font-size: 13px; color: var(--muted); line-height: 1.8; }

/* ---------- sub pages ---------- */
.page-hero { position: relative; height: 320px; overflow: hidden; background: var(--blue-deep); }
.page-hero img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: rgba(34, 45, 58, 0.42); }
.page-hero-text { position: absolute; z-index: 1; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: #fff; text-align: center; padding: 0 20px; }
.page-hero-text .en { font-family: var(--en); font-size: clamp(34px, 5vw, 52px); letter-spacing: 0.16em; line-height: 1.2; }
.page-hero-text h1 { font-size: 16px; font-weight: 700; letter-spacing: 0.16em; }

.breadcrumb { padding-top: 18px; font-size: 13px; color: var(--muted); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; }
.breadcrumb li + li::before { content: "›"; margin-right: 8px; }
.breadcrumb a { color: var(--muted); }

.jump { margin-top: 36px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.jump a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 22px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--paper);
  font-size: 14px; font-weight: 700; letter-spacing: 0.08em; text-decoration: none; color: var(--blue-dark);
}
.jump a:hover { border-color: var(--blue); background: var(--tint); }

.season-head { margin-top: 64px; display: flex; align-items: baseline; gap: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--ink); }
.season-head h2 { font-size: 24px; letter-spacing: 0.12em; }
.season-head .en { font-family: var(--en); font-size: 13px; letter-spacing: 0.28em; color: var(--blue); }
.season-head .when { margin-left: auto; font-size: 13px; color: var(--muted); }

.list { margin-top: 8px; }
.list li { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 24px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); }
.list-photo { width: 96px; height: 96px; border-radius: 50%; overflow: hidden; background: var(--tint); }
.list-photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.35); }
.list-dot { width: 96px; height: 96px; border-radius: 50%; background: var(--paper); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; }
.list-dot::after { content: ""; width: 40px; height: 40px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 7px var(--paper), 0 0 0 8px var(--c); }
.list-name strong { display: block; font-size: 17px; letter-spacing: 0.04em; }
.list-name p { margin-top: 4px; font-size: 14px; color: var(--sub); line-height: 1.8; }
.list .price { font-family: var(--en); font-size: 20px; color: var(--blue-dark); white-space: nowrap; }

.panel { margin-top: 48px; padding: 40px; background: var(--paper); border-radius: var(--radius); }
.panel h2 { font-size: 20px; letter-spacing: 0.1em; }
.bullets { margin-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.bullets li { position: relative; padding-left: 20px; font-size: 15px; line-height: 1.9; color: var(--sub); }
.bullets li::before { content: ""; position: absolute; left: 2px; top: 0.75em; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }

.order-intro { margin-top: 56px; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 48px; align-items: center; }
.order-intro .photo { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; }
.order-intro .photo img { width: 100%; height: 100%; object-fit: cover; }
.order-intro p { font-size: 15px; line-height: 2.2; color: var(--sub); }
.order-intro p + p { margin-top: 16px; }

.sizes { margin-top: 48px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: end; }
.size { background: var(--paper); border-radius: var(--radius); padding: 32px 20px; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.size-ring { flex-shrink: 0; border-radius: 50%; border: 2px solid var(--blue); display: flex; align-items: center; justify-content: center; font-family: var(--en); font-size: 16px; color: var(--blue-dark); }
.size > div { display: flex; flex-direction: column; gap: 2px; }
.size strong { font-size: 18px; letter-spacing: 0.06em; }
.size span { font-size: 13px; color: var(--muted); }
.size .price { font-family: var(--en); font-size: 24px; color: var(--blue-dark); }

.options { margin-top: 48px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.option { background: var(--tint); border-radius: var(--radius); padding: 28px 24px; display: flex; flex-direction: column; gap: 6px; }
.option strong { font-size: 16px; letter-spacing: 0.06em; color: var(--blue-deep); }
.option span { font-size: 14px; color: var(--sub); line-height: 1.8; }
.option em { font-style: normal; font-family: var(--en); font-size: 12px; letter-spacing: 0.2em; color: var(--blue); }

.steps { margin-top: 48px; counter-reset: step; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.steps li { counter-increment: step; position: relative; background: var(--paper); border-radius: var(--radius); padding: 32px 24px 28px; display: flex; flex-direction: column; gap: 8px; }
.steps li::before {
  content: counter(step); width: 44px; height: 44px; border-radius: 50%; background: var(--blue-dark); color: #fff;
  display: flex; align-items: center; justify-content: center; font-family: var(--en); font-size: 18px; margin-bottom: 6px;
}
.steps strong { font-size: 17px; letter-spacing: 0.06em; }
.steps span { font-size: 14px; color: var(--sub); line-height: 1.9; }

.call { margin-top: 32px; padding: 36px; border-radius: var(--radius); background: var(--blue-dark); color: #fff; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.call p { font-size: 14px; line-height: 1.9; }
.call .tel { display: inline-flex; align-items: center; gap: 12px; min-height: 48px; font-family: var(--en); font-size: 32px; letter-spacing: 0.06em; text-decoration: none; color: #fff; }
.call .tel small { font-family: var(--ja); font-size: 13px; font-weight: 700; letter-spacing: 0.1em; padding: 2px 12px; border: 1px solid rgba(255,255,255,0.7); border-radius: 999px; }

/* ---------- footer ---------- */
.site-footer { margin-top: 140px; background: var(--blue-deep); color: #E8EEF3; }
.footer-inner { padding-top: 64px; padding-bottom: 32px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
.site-footer .logo-text { color: #fff; }
.site-footer .logo-mark { border-color: #fff; }
.site-footer .logo-sub { color: #BFD0DD; }
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.footer-brand p { font-size: 14px; line-height: 2; }
.footer-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 24px; align-content: start; }
.footer-nav a { display: flex; align-items: center; min-height: 44px; font-size: 14px; letter-spacing: 0.1em; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,0.18); }
.footer-nav a:hover { color: #fff; }
.fiction { grid-column: 1 / -1; padding: 14px 18px; border: 1px solid rgba(255,255,255,0.3); border-radius: 12px; font-size: 13px; line-height: 1.8; color: #E8EEF3; }
.copy { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.18); font-family: var(--en); font-size: 12px; letter-spacing: 0.2em; color: #BFD0DD; text-align: center; }

.to-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 20;
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--paper); border: 1px solid var(--line); box-shadow: 0 6px 20px rgba(34, 38, 43, 0.12);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-family: var(--en); font-size: 11px; letter-spacing: 0.16em; color: var(--blue-dark); text-decoration: none; line-height: 1.2;
}
.to-top::before { content: "↑"; font-size: 16px; }
.to-top:hover { background: var(--tint); }

/* ---------- motion (top page) ---------- */
.emblem-ring { position: absolute; inset: -12px; border-radius: 50%; border: 1px dashed rgba(255, 255, 255, 0.9); pointer-events: none; }
.scroll-cue {
  position: absolute; z-index: 2; left: 50%; bottom: 0; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px; padding-bottom: 0; min-width: 44px;
  font-family: var(--en); font-size: 11px; letter-spacing: 0.3em; color: #fff; text-decoration: none;
  text-shadow: 0 1px 6px rgba(34, 38, 43, 0.35);
}
.scroll-cue::after { content: ""; width: 1px; height: 56px; background: linear-gradient(#fff 50%, rgba(255,255,255,0.25) 50%); background-size: 1px 200%; }

@media (prefers-reduced-motion: no-preference) {
  /* ヒーロー：2枚の写真を交互に重ねて切り替え、見えている間だけゆっくり近づく。
     新しい写真は必ず上に重なって現れ、下の写真はその間ずっと表示したままにするので、
     切り替えの途中で背景が透けたり、大きさがパッと戻って見えたりしない。 */
  .hero-slides img { opacity: 0; animation: heroSlide 18s linear infinite; }
  .hero-slides img:first-child { animation-delay: -2.16s; }  /* 開いた時点で1枚目はもう表示済み */
  .hero-slides img:nth-child(2) { animation-delay: 6.84s; }  /* 1枚目の半分の時点で重なり始める */
  @keyframes heroSlide {
    0%     { opacity: 0; transform: scale(1); z-index: 2; animation-timing-function: ease-in-out; }
    12%    { opacity: 1; animation-timing-function: linear; }
    49.9%  { z-index: 2; }
    50%    { z-index: 1; }
    62%    { opacity: 1; transform: scale(1.05); }
    62.1%  { opacity: 0; }
    100%   { opacity: 0; transform: scale(1); z-index: 1; }
  }

  /* ロゴ：ふわっと現れて、外側の点線がゆっくり回る */
  .emblem { animation: emblemIn 1.4s cubic-bezier(.2,.7,.2,1) 0.3s both; }
  @keyframes emblemIn { from { opacity: 0; transform: translate(-50%, calc(-50% + 24px)) scale(0.92); } to { opacity: 1; transform: translate(-50%, -50%) scale(1); } }
  .emblem-ring { animation: spin 40s linear infinite; }
  @keyframes spin { to { transform: rotate(360deg); } }

  /* スクロールの合図 */
  .scroll-cue::after { animation: cue 2.2s ease-in-out infinite; }
  @keyframes cue { from { background-position: 0 100%; } to { background-position: 0 -100%; } }

  /* 丸い写真がゆらゆら浮かぶ */
  .float-left { animation: floaty 7s ease-in-out infinite; }
  .float-right { animation: floaty 8s ease-in-out -3s infinite; }
  @keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

  /* 商品写真：マウスを乗せると少し回る */
  .product-photo img { transition: transform 0.7s cubic-bezier(.2,.7,.2,1); }
  .product:hover .product-photo img { transform: rotate(-8deg) scale(1.05); }

  /* スクロールで下からふわっと表示（motion.js が .reveal を付ける） */
  .js .reveal { opacity: 0; transform: translateY(32px); transition: opacity 1s ease, transform 1s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
  .js .reveal.is-in { opacity: 1; transform: none; }
}

/* ---------- tablet ---------- */
@media (max-width: 1080px) {
  .float-photo { width: 150px; height: 150px; }
  .float-left { top: 200px; }
  .float-right { top: 30px; }
}
@media (max-width: 900px) {
  :root { --gutter: 32px; }
  .section { padding-top: 96px; }
  .float-photo { position: static; width: 132px; height: 132px; }
  .concept-photos { display: flex; justify-content: center; gap: 20px; margin-top: 28px; }
  .cards { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .card { aspect-ratio: 16 / 7; }
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about, .store, .order-intro { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .sizes, .options, .steps { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .size { flex-direction: row; justify-content: space-between; text-align: left; padding: 20px 24px; }
}
@media (min-width: 901px) {
  .concept-photos { display: contents; }
}

/* ---------- smartphone ---------- */
@media (max-width: 640px) {
  :root { --gutter: 20px; --radius: 16px; }
  .header-inner { padding-top: 16px; gap: 8px; padding-inline: 8px; }
  .logo-text { font-size: 20px; }
  .nav { width: 100%; justify-content: space-between; }
  .nav a { min-width: 0; flex: 1 1 0; padding: 8px 2px 10px; }
  .nav a span { font-size: 12px; letter-spacing: 0.04em; }
  .nav a small { font-size: 9px; letter-spacing: 0.12em; }

  .hero { height: 440px; min-height: 0; }
  .hero-slides img { object-position: 72% 50%; }
  .emblem { left: 50%; top: auto; bottom: 24px; transform: translateX(-50%); }
  .scroll-cue { display: none; }
  .emblem { width: 200px; height: 200px; }
  .emblem h1 { font-size: 24px; }
  .emblem .catch { font-size: 11px; }

  .section { padding-top: 80px; }
  .section-lead { font-size: 14px; text-align: left; }
  .concept-catch { font-size: 17px; }
  .concept .section-lead { text-align: left; }
  .float-photo { width: 120px; height: 120px; }

  .card { aspect-ratio: 16 / 9; }
  .card-label .en { font-size: 26px; }
  .products { gap: 28px 16px; }
  .product-name { font-size: 14px; letter-spacing: 0.02em; line-height: 1.6; }
  .product-desc { display: none; }

  .news li { grid-template-columns: minmax(0, 1fr); gap: 2px; padding: 16px 4px; }
  .table > div { grid-template-columns: 5.5em minmax(0, 1fr); gap: 12px; }

  .page-hero { height: 220px; }
  .season-head { flex-wrap: wrap; gap: 4px 12px; }
  .season-head .when { margin-left: 0; width: 100%; }
  .list li { grid-template-columns: 72px minmax(0, 1fr); gap: 14px; }
  .list-photo, .list-dot { width: 72px; height: 72px; }
  .list-dot::after { width: 30px; height: 30px; box-shadow: 0 0 0 5px var(--paper), 0 0 0 6px var(--c); }
  .list .price { grid-column: 2; font-size: 17px; }
  .list-name strong { font-size: 15px; }
  .panel { padding: 28px 20px; }
  .call { padding: 28px 20px; }
  .call .tel { font-size: 26px; }

  .btn-row { flex-direction: column; }
  .btn-row .btn { width: 100%; }

  .site-footer { margin-top: 100px; }
  .footer-inner { grid-template-columns: minmax(0, 1fr); padding-top: 48px; padding-bottom: 96px; }
  .to-top { right: 16px; bottom: 16px; width: 56px; height: 56px; }
}

@media (max-width: 640px) and (prefers-reduced-motion: no-preference) {
  .emblem { animation-name: emblemInSp; }
  @keyframes emblemInSp { from { opacity: 0; transform: translate(-50%, 24px) scale(0.92); } to { opacity: 1; transform: translate(-50%, 0) scale(1); } }
}
