/* 010 パン工房 ことり ― 色はここだけ触れば差し替わる */
:root {
  --c-bg: #fff8ec;
  --c-ink: #3b2414;
  --c-orange: #f28c28;
  --c-yellow: #ffd36b;
  --c-accent-text: #8f4507;
  --c-text: #374151;
  --c-sub: #4b5563;
  --font: "Zen Maru Gothic", sans-serif;
  --font-head: "Kiwi Maru", serif;
  --font-script: "Yellowtail", cursive;
  /* 区切りごとに上書きされる色（D01） */
  --bg: var(--c-bg);
  --ink: var(--c-ink);
  --tx: var(--c-text);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.95; color: var(--c-text); background: var(--c-bg); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; font-weight: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, dd, li { word-break: auto-phrase; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.sec { background: var(--bg); color: var(--tx); }
.label { font-family: var(--font-script); font-size: 26px; line-height: 1.2; color: var(--ink); margin-bottom: 8px; }
.h2 { font-family: var(--font-head); font-weight: 500; font-size: clamp(30px, 4.6vw, 50px); line-height: 1.4; color: var(--ink); margin-bottom: 20px; }
.note { margin-top: 24px; font-size: 15px; color: var(--tx); }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 999px; font-weight: 700; text-decoration: none; white-space: nowrap; flex: none; transition: transform .25s, background-color .25s; }
.btn--orange { background: var(--c-orange); color: var(--c-ink); }
.btn--orange:hover { background: var(--c-yellow); transform: translateY(-2px); }

/* ===== ヘッダー ===== */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; }
.header__inner { display: flex; align-items: center; gap: 20px; height: 70px; padding: 0 20px; background: rgba(255, 248, 236, .94); border-bottom: 2px dashed rgba(59, 36, 20, .18); }
.logo { display: flex; align-items: center; gap: 8px; min-height: 48px; text-decoration: none; color: var(--c-ink); font-family: var(--font-head); font-size: 20px; white-space: nowrap; flex: none; }
.logo__bird { width: 40px; height: 34px; }
.gnav { display: none; }
.header__btn { margin-left: auto; min-height: 44px; font-size: 15px; padding: 0 16px; }
@media (max-width: 400px) { .logo { font-size: 18px; } .logo__bird { width: 32px; } .header__inner { gap: 10px; } .header__btn { padding: 0 12px; } }
@media (min-width: 1080px) {
  .header__inner { height: 80px; padding: 0 48px; }
  .gnav { display: flex; gap: 28px; margin-left: auto; }
  .gnav a { display: flex; align-items: center; min-height: 44px; text-decoration: none; font-weight: 700; color: var(--c-ink); }
  .gnav a:hover { color: var(--c-accent-text); }
  .header__btn { margin-left: 0; padding: 0 24px; }
}
.spmenu { flex: none; }
.spmenu summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%; background: var(--c-yellow); color: var(--c-ink); }
.spmenu summary::-webkit-details-marker { display: none; }
.spmenu__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.spmenu__bar, .spmenu__bar::before, .spmenu__bar::after { display: block; width: 18px; height: 2.5px; border-radius: 2px; background: currentColor; position: relative; }
.spmenu__bar::before, .spmenu__bar::after { content: ""; position: absolute; left: 0; }
.spmenu__bar::before { top: -6px; } .spmenu__bar::after { top: 6px; }
.spmenu[open] .spmenu__bar { background: transparent; }
.spmenu[open] .spmenu__bar::before { top: 0; transform: rotate(45deg); }
.spmenu[open] .spmenu__bar::after { top: 0; transform: rotate(-45deg); }
.spmenu__nav { position: absolute; left: 12px; right: 12px; top: calc(100% + 8px); background: #fff; border-radius: 24px; box-shadow: 0 20px 40px rgba(59, 36, 20, .18); padding: 8px 24px 16px; display: flex; flex-direction: column; }
.spmenu__nav a { display: flex; align-items: center; min-height: 52px; font-family: var(--font-head); font-size: 18px; color: var(--c-ink); text-decoration: none; border-bottom: 2px dashed rgba(59, 36, 20, .15); }
.spmenu__nav a:last-child { border-bottom: 0; }
@media (min-width: 1080px) { .spmenu { display: none; } }

/* ===== 筆記体の一語（E05）とシール ===== */
.script { display: block; overflow: visible; }
.script text { font-family: var(--font-script); font-size: 118px; fill: var(--c-orange); stroke: var(--c-orange); stroke-width: 1.5; stroke-linejoin: round; }
.sticker { display: grid; place-content: center; text-align: center; width: 104px; height: 104px; border-radius: 50%; background: var(--c-yellow); color: var(--c-ink); font-family: var(--font-head); font-size: 22px; line-height: 1.1; transform: rotate(-10deg); box-shadow: 0 0 0 5px var(--c-yellow), inset 0 0 0 3px #fff, 0 10px 20px rgba(59, 36, 20, .18); }
.sticker span { display: block; font-family: var(--font); font-weight: 700; font-size: 15px; }

/* ===== 演出①（A09）：コラージュ ===== */
.hero { position: relative; padding: 70px 0 72px; overflow: hidden; }
.collage { position: relative; height: 108vw; max-height: 560px; }
.collage > * { position: absolute; }
.shape { border-radius: 50%; }
.shape--sun { width: 78vw; height: 78vw; max-width: 460px; max-height: 460px; background: var(--c-yellow); left: 12%; top: 8%; }
.shape--blob { width: 34vw; height: 30vw; max-width: 220px; max-height: 190px; background: #ffb46a; border-radius: 48% 52% 60% 40% / 55% 45% 55% 45%; right: 2%; top: 4%; }
.shape--dot { width: 9vw; height: 9vw; max-width: 64px; max-height: 64px; background: var(--c-orange); left: 6%; bottom: 14%; }
.wheat { width: 12vw; max-width: 80px; left: 4%; top: 6%; transform: rotate(-18deg); }
.cut { height: auto; filter: drop-shadow(0 18px 18px rgba(59, 36, 20, .22)); }
.cut--shokupan { width: 46vw; max-width: 300px; left: 8%; top: 16%; }
.cut--melon { width: 40vw; max-width: 250px; right: 4%; top: 18%; }
.cut--anpan { width: 36vw; max-width: 230px; left: 14%; bottom: 2%; }
.cut--croissant { width: 52vw; max-width: 330px; right: 2%; bottom: 0; transform: rotate(-8deg); }
.hero__copy { position: relative; z-index: 2; padding: 8px 20px 0; }
.script--hero { width: min(78vw, 400px); margin-bottom: -10px; }
.hero__title { font-family: var(--font-head); font-weight: 500; font-size: clamp(44px, 12vw, 92px); line-height: 1.2; color: var(--ink); }
.hero__lead { margin-top: 20px; font-weight: 700; font-size: clamp(16px, 1.6vw, 19px); color: var(--ink); }
.sticker--hero { position: absolute; right: 20px; top: -40px; }
@media (min-width: 1080px) {
  .hero { min-height: 100vh; padding: 80px 0 0; display: flex; align-items: center; }
  .collage { position: absolute; top: 80px; right: 0; bottom: 0; width: 58%; height: auto; max-height: none; }
  .shape--sun { width: 40vw; height: 40vw; max-width: 600px; max-height: 600px; left: 14%; top: 10%; }
  .cut--shokupan { width: 22vw; max-width: 340px; left: 10%; top: 10%; }
  .cut--melon { width: 18vw; max-width: 280px; right: 8%; top: 14%; }
  .cut--anpan { width: 17vw; max-width: 260px; left: 4%; bottom: 10%; }
  .cut--croissant { width: 25vw; max-width: 380px; right: 14%; bottom: 6%; }
  .hero__copy { padding: 0 0 0 6vw; width: 46%; }
  .sticker--hero { right: -40px; top: auto; bottom: 12px; width: 120px; height: 120px; font-size: 26px; }
}

/* ===== ことりについて ===== */
.about { padding: 104px 0; }
.about__inner { display: grid; gap: 40px; align-items: center; }
.about__photo { margin: 0; border-radius: 160px 160px 32px 32px; overflow: hidden; max-width: 420px; }
.about__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.about__text p + p { margin-top: 16px; }
@media (min-width: 900px) { .about { padding: 160px 0; } .about__inner { grid-template-columns: 5fr 6fr; gap: 80px; } }

/* ===== きょうのパン ===== */
.bread { padding: 104px 0 120px; }
.head { margin-bottom: 40px; }
.script--sec { width: min(80vw, 420px); margin-bottom: -18px; }
.breads { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.b-card { position: relative; background: #fff; border-radius: 28px; padding: 16px 16px 20px; box-shadow: 0 10px 0 rgba(59, 36, 20, .06); }
.b-card__img { aspect-ratio: 1; display: grid; place-items: center; background: var(--c-bg); border-radius: 50%; margin-bottom: 12px; }
.b-card__img img { width: 84%; height: 84%; object-fit: contain; }
.b-card h3 { font-family: var(--font-head); font-weight: 500; font-size: 18px; line-height: 1.4; color: var(--c-ink); margin-bottom: 4px; }
.b-card p { font-size: 15px; line-height: 1.75; color: var(--c-text); }
.b-card .b-card__price { margin-top: 8px; font-weight: 700; font-size: 16px; color: var(--c-accent-text); }
.sticker--card { position: absolute; z-index: 2; top: -18px; right: -6px; width: 76px; height: 76px; font-size: 18px; }
@media (min-width: 900px) { .bread { padding: 160px 0; } .breads { grid-template-columns: repeat(4, 1fr); gap: 28px; } .b-card { padding: 24px 24px 28px; } .b-card h3 { font-size: 21px; } .sticker--card { width: 92px; height: 92px; font-size: 21px; } }

/* ===== 焼き上がり時間 ===== */
.oven { padding: 104px 0; }
.oven__inner { display: grid; gap: 40px; align-items: center; }
.times { margin-top: 28px; }
.times li { display: flex; align-items: baseline; gap: 20px; padding: 14px 0; border-bottom: 2px dashed currentColor; font-weight: 700; color: var(--tx); }
.times li:first-child { border-top: 2px dashed currentColor; }
.times__t { font-family: var(--font-head); font-size: 28px; line-height: 1; color: var(--ink); min-width: 3.4em; }
.oven__photo { margin: 0; border-radius: 32px; overflow: hidden; }
.oven__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (min-width: 900px) { .oven { padding: 160px 0; } .oven__inner { grid-template-columns: 1fr 1.1fr; gap: 72px; } }

/* ===== 朝ごはん ===== */
.morning { padding: 104px 0; }
.morning__inner { position: relative; }
.morning__photo { margin: 0; border-radius: 32px; overflow: hidden; }
.morning__photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.morning__card { position: relative; background: #fff; border-radius: 28px; margin: -48px 12px 0; padding: 32px 24px; color: var(--c-text); }
.morning__card .h2, .morning__card .label { color: var(--c-ink); }
.morning__price { margin-top: 16px; font-weight: 700; color: var(--c-accent-text); }
@media (min-width: 900px) {
  .morning { padding: 160px 0; }
  .morning__photo { width: 72%; }
  .morning__card { position: absolute; right: 20px; top: 50%; transform: translateY(-50%); width: 42%; margin: 0; padding: 48px 44px; box-shadow: 0 24px 48px rgba(59, 36, 20, .12); }
}

/* ===== お店 ===== */
.shop { padding: 104px 0 120px; }
.shop__inner { display: grid; gap: 40px; align-items: center; }
.info { margin: 0; }
.info div { display: grid; gap: 2px; padding: 14px 0; border-bottom: 2px dashed rgba(59, 36, 20, .2); }
.info dt { font-weight: 700; color: var(--ink); }
.info dd { margin: 0; }
.shop__photo { margin: 0; border-radius: 32px 32px 160px 32px; overflow: hidden; }
.shop__photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
@media (min-width: 900px) { .shop { padding: 160px 0; } .shop__inner { grid-template-columns: 1fr 1.2fr; gap: 72px; } .info div { grid-template-columns: 5em 1fr; gap: 16px; } }

/* ===== フッター ===== */
.footer { background: var(--c-ink); color: #f6e7d3; padding: 64px 20px 32px; text-align: center; font-size: 15px; }
.footer__logo { font-family: var(--font-head); font-size: 28px; color: var(--c-yellow); }
.footer__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 24px; margin: 16px 0; }
.footer__nav a { display: flex; align-items: center; min-height: 44px; text-decoration: none; font-weight: 700; }
.footer__fiction { margin-top: 24px; }

/* 動く版（D01）：区切りの帯は透明にして、ページ全体の背景色と文字色を変える */
.is-motion body { --cur-ink: var(--c-ink); --cur-tx: var(--c-text); }
.is-motion .sec { --bg: transparent; --ink: var(--cur-ink); --tx: var(--cur-tx); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* 区切りごとの色（D01）。動かない版では、それぞれの区切りがこの色の帯になる */
.hero, .about, .shop { --bg: #fff8ec; --ink: #3b2414; --tx: #374151; }
.bread { --bg: #ffe8a3; --ink: #3b2414; --tx: #374151; }
.oven { --bg: #3b2414; --ink: #ffd36b; --tx: #f6e7d3; }
.morning { --bg: #ffd0a1; --ink: #3b2414; --tx: #374151; }
.is-motion .sec { --bg: transparent; --ink: var(--cur-ink); --tx: var(--cur-tx); }

/* スマホ：コラージュが見出しにかぶらないように。カードは2列を同じ幅に */
.breads { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.b-card h3 { word-break: keep-all; overflow-wrap: anywhere; }
@media (max-width: 1079px) {
  .collage { height: 92vw; }
  .cut--croissant { bottom: 4%; width: 46vw; }
  .cut--anpan { bottom: 6%; width: 32vw; }
  .shape--dot { bottom: 4%; }
  .script--hero { width: min(64vw, 360px); }
  .sticker--hero { top: auto; bottom: -8px; right: 16px; width: 88px; height: 88px; font-size: 19px; }
}
@media (min-width: 900px) { .breads { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 1079px) { .shape--dot { bottom: auto; top: 2%; left: 44%; } .hero__copy { margin-top: 16px; } }
