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

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--ja);
  font-weight: 400;
  line-height: 1.8;
  overflow-wrap: anywhere;
}
a { color: var(--ink); }
a:hover { color: var(--blue-dark); }
a:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
h1, h2, p, ul, dl, dd, figure { margin: 0; }
ul { 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: 1280px; margin: 0 auto; padding-inline: var(--gutter); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(250, 250, 247, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
}
.header-inner { height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.logo-mark { width: 22px; height: 22px; border-radius: 50%; border: 6px solid var(--blue); }
.logo-text { font-size: 20px; font-weight: 700; letter-spacing: 0.2em; }
.nav { display: flex; gap: 36px; font-size: 14px; letter-spacing: 0.14em; }
.nav a { text-decoration: none; padding: 12px 0; border-bottom: 1px solid transparent; }
.nav a[aria-current="page"] { color: var(--blue-dark); border-bottom-color: var(--blue); }

/* ---------- hero ---------- */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: 48px;
  padding-top: 48px;
  padding-bottom: 72px;
}
.eyebrow { font-family: var(--en); font-weight: 300; font-size: 13px; letter-spacing: 0.3em; color: var(--blue); }
.hero h1 {
  margin-top: 28px;
  font-size: clamp(22px, 3.6vw, 46px);
  font-weight: 300;
  letter-spacing: 0.1em;
  line-height: 1.55;
}
.lead { margin-top: 28px; font-size: 16px; line-height: 2.1; color: var(--sub); }
.hero-links { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 14px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 30px;
  font-size: 15px; letter-spacing: 0.12em; text-decoration: none; white-space: nowrap;
  border: 1px solid var(--ink);
}
.btn-fill { background: var(--ink); color: var(--bg); }
.btn-fill:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: var(--bg); }
.btn-line:hover { border-color: var(--blue-dark); }

.hero-art svg { display: block; width: 100%; max-width: 460px; margin-left: auto; height: auto; }
.plate { fill: var(--paper); stroke: var(--line); stroke-width: 1; }
.plate-rim { fill: none; stroke: var(--soft); stroke-width: 2; }
.crust circle { fill: none; stroke: var(--ink); stroke-width: 1.2; }
.crust circle:first-child { stroke-dasharray: 3 6; stroke-linecap: round; stroke-width: 3; }
.fruit-blue circle { fill: var(--blue); }
.fruit-soft circle { fill: none; stroke: var(--blue); stroke-width: 1.5; }
.fruit-center { fill: none; stroke: var(--ink); stroke-width: 1.2; }

/* ---------- sections ---------- */
.section {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  padding-top: 120px;
}
.label, .label-col { grid-column: 1 / span 3; }
.label { font-family: var(--en); font-size: 13px; letter-spacing: 0.3em; color: var(--blue); }
.label span { margin-right: 10px; }
.label-col .note { margin-top: 12px; }
.section-body { grid-column: 5 / span 8; }
.section-body h2 {
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 400;
  letter-spacing: 0.08em;
  line-height: 1.7;
}
.section-body > p { margin-top: 20px; font-size: 15px; line-height: 2.2; color: var(--sub); }
.note { font-size: 13px; color: var(--muted); }
.section-body > .note { margin-top: 16px; font-size: 13px; color: var(--muted); }

.points { margin-top: 40px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.points li { padding-top: 16px; border-top: 1px solid var(--ink); display: flex; flex-direction: column; gap: 6px; }
.points strong { font-size: 15px; font-weight: 700; letter-spacing: 0.06em; }
.points span { font-size: 14px; color: var(--sub); line-height: 1.8; }

/* menu */
.menu { border-bottom: 1px solid var(--ink); }
.menu li {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}
.menu li:first-child { border-top-color: var(--ink); }
.dot {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--line);
  position: relative;
}
.dot::after {
  content: ""; position: absolute; inset: 12px; border-radius: 50%;
  background: var(--c);
  box-shadow: 0 0 0 5px var(--paper), 0 0 0 6px var(--c);
}
.dot-ring::after { background: none; box-shadow: none; border: 1px dashed var(--ink); inset: 8px; }
.menu-name { display: flex; flex-direction: column; gap: 4px; }
.menu-name strong { font-size: 17px; font-weight: 400; letter-spacing: 0.04em; }
.menu-name span { font-size: 13px; color: var(--muted); }
.price { font-family: var(--en); font-size: 20px; white-space: nowrap; }
.menu-foot { margin-top: 20px; font-size: 14px; color: var(--sub); }

.more { margin-top: 28px; }
.more a {
  display: inline-flex; align-items: center; gap: 12px; min-height: 44px;
  font-size: 15px; letter-spacing: 0.08em; text-decoration: none;
  border-bottom: 1px solid var(--ink);
}
.more a:hover { border-bottom-color: var(--blue-dark); }

/* tables */
.table { margin-top: 24px; border-top: 1px solid var(--ink); }
.table > div { display: grid; grid-template-columns: 7em minmax(0, 1fr); gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.table dt { font-size: 14px; color: var(--muted); }
.table dd { font-size: 16px; }

/* access */
.access { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.map { margin-top: 24px; }
.map svg { display: block; width: 100%; height: auto; }
.map-bg { fill: var(--soft); }
.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: 12px; font-size: 13px; color: var(--muted); line-height: 1.8; }

/* ---------- sub pages ---------- */
.breadcrumb { padding-top: 24px; font-size: 13px; color: var(--muted); }
.breadcrumb ol { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.breadcrumb li + li::before { content: "／"; margin-right: 8px; color: var(--line); }
.breadcrumb a { color: var(--muted); }

.page-head { padding-top: 56px; padding-bottom: 8px; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: start; }
.page-head .eyebrow { padding-top: 14px; }
.page-head .eyebrow { grid-column: 1 / span 4; }
.page-head-text { grid-column: 5 / span 8; }
.page-head h1 { font-size: clamp(28px, 3.6vw, 44px); font-weight: 300; letter-spacing: 0.12em; line-height: 1.5; }
.page-head p { margin-top: 20px; font-size: 15px; line-height: 2.1; color: var(--sub); }

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

.menu-desc { margin-top: 6px; font-size: 14px; color: var(--sub); line-height: 1.8; }
.season-mark { display: inline-block; margin-left: 10px; padding: 0 10px; border: 1px solid var(--blue); border-radius: 999px; font-size: 12px; color: var(--blue-dark); vertical-align: 2px; letter-spacing: 0.06em; }

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

.steps { margin-top: 28px; counter-reset: step; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.steps li { counter-increment: step; padding-top: 16px; border-top: 1px solid var(--ink); display: flex; flex-direction: column; gap: 8px; }
.steps li::before { content: "STEP " counter(step, decimal-leading-zero); font-family: var(--en); font-size: 12px; letter-spacing: 0.24em; color: var(--blue); }
.steps strong { font-size: 16px; font-weight: 700; letter-spacing: 0.06em; }
.steps span { font-size: 14px; color: var(--sub); line-height: 1.9; }

.bullets { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.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); }

.call {
  margin-top: 32px; padding: 32px; background: var(--paper); border: 1px solid var(--line);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
}
.call p { font-size: 14px; color: var(--sub); line-height: 1.9; }
.call .tel { font-family: var(--en); font-size: 28px; letter-spacing: 0.06em; text-decoration: none; }

.back { padding-top: 120px; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

/* footer */
.site-footer { margin-top: 140px; border-top: 1px solid var(--line); }
.footer-inner {
  min-height: 112px;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px;
  padding-block: 28px;
  font-family: var(--en); font-size: 12px; letter-spacing: 0.2em; color: var(--muted);
}
.footer-inner small { font-size: 12px; }
.fiction {
  flex-basis: 100%; margin-top: 8px; padding: 12px 16px;
  border: 1px solid var(--line); background: var(--paper);
  font-family: var(--ja); font-size: 13px; letter-spacing: 0.02em; line-height: 1.8; color: var(--sub);
}

/* ---------- tablet ---------- */
@media (max-width: 960px) {
  :root { --gutter: 40px; }
  .section { padding-top: 96px; }
  .label, .label-col { grid-column: 1 / -1; margin-bottom: 20px; }
  .label-col .note { margin-top: 4px; }
  .section-body { grid-column: 1 / -1; }
  .access { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .page-head .eyebrow, .page-head-text { grid-column: 1 / -1; }
  .page-head-text { margin-top: 14px; }
}

/* ---------- smartphone ---------- */
@media (max-width: 640px) {
  :root { --gutter: 20px; }
  html { scroll-padding-top: 120px; }
  .header-inner { height: auto; padding-top: 14px; padding-bottom: 6px; flex-direction: column; align-items: flex-start; gap: 4px; }
  .logo-text { font-size: 18px; }
  .nav { width: 100%; justify-content: space-between; gap: 8px; font-size: 12px; letter-spacing: 0.14em; }
  .nav a { padding: 12px 0; min-height: 44px; }
  .site-header { border-bottom-color: var(--line); }

  .hero { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-top: 32px; padding-bottom: 24px; }
  .hero-art { order: -1; }
  .hero-art svg { max-width: 260px; margin: 0 auto; }
  .hero h1 { margin-top: 18px; font-size: clamp(20px, 6.2vw, 28px); letter-spacing: 0.02em; }
  .lead { font-size: 15px; }
  .pc { display: none; }
  .hero-links .btn { flex: 1 1 140px; padding: 0 16px; }

  .section { padding-top: 80px; }
  .points { grid-template-columns: minmax(0, 1fr); gap: 18px; }

  .menu li { grid-template-columns: 44px minmax(0, 1fr) auto; gap: 14px; padding: 18px 0; }
  .dot { width: 44px; height: 44px; }
  .dot::after { inset: 10px; box-shadow: 0 0 0 4px var(--paper), 0 0 0 5px var(--c); }
  .dot-ring::after { inset: 6px; box-shadow: none; }
  .menu-name strong { font-size: 15px; }
  .price { font-size: 17px; }

  .table > div { grid-template-columns: 5.5em minmax(0, 1fr); gap: 12px; }
  .table dd { font-size: 15px; }

  .page-head { padding-top: 32px; }
  .page-head .eyebrow, .page-head-text { grid-column: 1 / -1; }
  .page-head-text { margin-top: 14px; }
  .sizes, .steps { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .size { flex-direction: row; justify-content: space-between; text-align: left; padding: 20px; }
  .call { padding: 24px 20px; }
  .call .tel { font-size: 24px; }
  .back { padding-top: 88px; }
  .back { flex-direction: column; gap: 12px; }
  .back .btn { width: 100%; }

  .site-footer { margin-top: 100px; }
  .footer-inner { min-height: 96px; justify-content: center; text-align: center; flex-direction: column; padding-block: 24px; }
  .fiction { text-align: left; }
}
