/* 台所教室 ことこと（料理教室）
   生成りの地・トマトは差し色だけ・オリーブは線と図の面。献立のカード（罫線・磁石）・湯気の線・ふきんの縫い目 */
:root {
  --kinari: #FAF3E3;
  --paper: #FFFDF6;
  --tomato: #D9533B;
  --olive: #8A9A5B;
  --sumi: #3B342C;
  --sumi-2: #6A6157;
  --olive-20: color-mix(in srgb, #8A9A5B 20%, transparent);
  --olive-08: color-mix(in srgb, #8A9A5B 8%, var(--kinari));
  --tomato-15: color-mix(in srgb, #D9533B 15%, transparent);
  --tomato-08: color-mix(in srgb, #D9533B 8%, var(--kinari));
  --rule: color-mix(in srgb, #8A9A5B 42%, transparent);
  --lh: 28px;
  --hand: "Zen Kurenaido", "Hiragino Maru Gothic ProN", "Yu Gothic", sans-serif;
  --sans: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  --ease: cubic-bezier(.22, .7, .2, 1);
  --w: 1160px;
  --gut: clamp(20px, 5vw, 56px);
  --hd-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hd-h) + 12px); }
body {
  margin: 0; background: var(--kinari); color: var(--sumi);
  font-family: var(--sans); font-weight: 400; font-size: 16px; line-height: 1.75;
  letter-spacing: .02em; overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3 { font-family: var(--hand); font-weight: 400; margin: 0; line-height: 1.45; letter-spacing: .04em; font-feature-settings: "palt"; text-wrap: balance; }
table { border-collapse: collapse; }
small { font-size: inherit; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.nw { display: inline-block; }
.num { font-variant-numeric: tabular-nums; font-weight: 500; }
.tm { color: var(--tomato); }
.wrap { width: min(100% - var(--gut) * 2, var(--w)); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- ボタン・文字のリンク ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5em; min-height: 48px; padding: 10px 22px;
  background: var(--tomato); color: var(--kinari); border-radius: 4px; text-decoration: none;
  font-weight: 500; letter-spacing: .06em; line-height: 1.4; transition: transform .25s var(--ease), background-color .25s;
}
.btn:hover { background: #C4472F; }
.btn:active { transform: translateY(1px); }
.btn:focus-visible, a:focus-visible, button:focus-visible { outline: 2px solid var(--tomato); outline-offset: 3px; }
.tlink { color: var(--sumi); font-weight: 500; text-decoration: underline; text-decoration-color: var(--olive); text-decoration-thickness: 1.5px; text-underline-offset: 6px; }
.tlink:hover { text-decoration-color: var(--tomato); }
.acts { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 28px; }

/* ---------- ヘッダー ---------- */
.hd { position: sticky; top: 0; z-index: 30; background: var(--kinari); }
.hd::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: repeating-linear-gradient(90deg, var(--olive) 0 4px, transparent 4px 8px); }
.hd__in { height: var(--hd-h); display: flex; align-items: center; gap: 12px; padding-inline: var(--gut); max-width: 1440px; margin-inline: auto; }
.brand { display: inline-flex; text-decoration: none; color: var(--sumi); }
.logo { width: 160px; height: auto; overflow: visible; }
.logo__name { font-family: var(--hand); font-size: 27px; fill: var(--sumi); letter-spacing: .06em; }
.logo__sub { font-family: var(--sans); font-size: 11px; font-weight: 500; fill: var(--sumi-2); letter-spacing: .32em; }
.demo { font: 500 10px/1 var(--sans); letter-spacing: .14em; color: var(--sumi-2); border: 1px solid color-mix(in srgb, var(--sumi) 30%, transparent); padding: 3px 5px 2px; border-radius: 2px; align-self: center; margin-top: -14px; }
.gn { margin-left: auto; }
.gn ul { display: flex; gap: clamp(14px, 2vw, 30px); list-style: none; margin: 0; padding: 0; }
.gn a { position: relative; display: block; padding: 8px 0; text-decoration: none; font-size: 15px; font-weight: 500; letter-spacing: .06em; }
.gn a::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 18px; height: 2px; margin-left: -9px; border-radius: 2px; background: var(--tomato); transform: scaleX(0); transition: transform .3s var(--ease); }
.gn a:hover::after { transform: scaleX(.6); }
.gn a[aria-current="page"]::after { transform: none; }
.hd__btn { min-height: 42px; padding: 8px 20px; margin-left: clamp(8px, 1.6vw, 24px); }
.menu { display: none; }

@media (max-width: 1020px) {
  .hd__in { gap: 10px; }
  .logo { width: 138px; }
  .hd__btn { margin-left: auto; min-height: 40px; padding: 7px 14px; font-size: 14px; }
  .menu { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; width: 50px; height: 46px; padding: 0; border: 0; background: none; color: var(--sumi); cursor: pointer; }
  .menu__bars, .menu__bars::before, .menu__bars::after { display: block; width: 24px; height: 1.5px; background: currentColor; border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
  .menu__bars { position: relative; }
  .menu__bars::before, .menu__bars::after { content: ""; position: absolute; left: 0; }
  .menu__bars::before { top: -7px; } .menu__bars::after { top: 7px; }
  .menu__label { font: 500 9px/1 var(--sans); letter-spacing: .14em; margin-top: 8px; }
  .is-menu .menu__bars { background: transparent; }
  .is-menu .menu__bars::before { transform: translateY(7px) rotate(45deg); }
  .is-menu .menu__bars::after { transform: translateY(-7px) rotate(-45deg); }
  .gn { position: absolute; left: 0; right: 0; top: 100%; margin: 0; background: var(--kinari); border-bottom: 1.5px dashed var(--olive); display: none; }
  .is-menu .gn { display: block; }
  .gn ul { flex-direction: column; gap: 0; padding: 8px var(--gut) 20px; }
  .gn li + li { border-top: 1px solid var(--rule); }
  .gn a { padding: 14px 0; font-size: 16px; }
  .gn a::after { left: auto; right: 0; top: 50%; bottom: auto; margin: -1px 0 0; }
}
@media (max-width: 420px) {
  .hd__in { padding-inline: 14px; gap: 6px; }
  .logo { width: 118px; }
  .demo { margin-top: -10px; }
  .hd__btn { padding: 7px 11px; }
}

/* ---------- あしらい ---------- */
/* 区画の区切り: ふきんの縫い目 */
.seam { border: 0; height: 1.5px; margin: 0 auto; width: min(100% - var(--gut) * 2, var(--w)); background: repeating-linear-gradient(90deg, var(--olive) 0 4px, transparent 4px 8px); }
/* 区画の頭: 湯気の線3本 */
.sh { display: flex; align-items: flex-end; gap: 12px; margin-bottom: 36px; }
.sh h2, .sh h1 { font-size: clamp(26px, 3.4vw, 38px); }
.steam { flex: none; width: 22px; height: 20px; color: var(--olive); margin-bottom: .55em; overflow: visible; }
.sh--plain { margin-bottom: 28px; }

/* 献立のカード: 白に近い紙・オリーブの横罫線（1px・間28px）・トマトの磁石 */
.kcard, .paper {
  position: relative; background-color: var(--paper);
  background-image: repeating-linear-gradient(to bottom, transparent 0 27px, var(--rule) 27px 28px);
  background-position: 0 0;
}
.kcard { padding: 28px clamp(20px, 3vw, 36px); line-height: var(--lh); }
.kcard::before, .paper::before { content: ""; position: absolute; left: 14px; top: 14px; width: 14px; height: 14px; border-radius: 50%; background: var(--tomato); }
.kcard p { margin: 0 0 var(--lh); }
.kcard p:last-child { margin-bottom: 0; }
.kcard .acts { margin-top: var(--lh); }
.kcard--sm { padding: 28px 24px 28px 40px; }

.ktable { width: 100%; line-height: var(--lh); margin: var(--lh) 0 0; }
.ktable th, .ktable td { padding: 0; text-align: left; vertical-align: top; font-weight: 400; }
.ktable thead th { font-size: 13px; color: var(--sumi-2); font-weight: 500; }
.ktable tbody th { font-weight: 500; padding-right: 16px; }
.ktable td { padding-left: 12px; }

.ph { margin: 0; position: relative; }
.ph img { width: 100%; height: 100%; object-fit: cover; }
.aside { font-family: var(--hand); font-size: 17px; line-height: 1.5; color: var(--sumi); }

.note { font-size: 14px; color: var(--sumi-2); margin-top: 18px; }
.big { font-family: var(--hand); font-size: clamp(20px, 2.2vw, 24px); line-height: 1.6; }

/* ---------- 区画 ---------- */
.sec { padding: clamp(64px, 9vw, 120px) 0; }
.sec--olive { background: var(--olive-08); }
.sec--tomato { background: var(--tomato-08); }
.sec--paper { background: color-mix(in srgb, var(--paper) 55%, var(--kinari)); }
.sec + .sec:not(.sec--olive):not(.sec--tomato):not(.sec--paper) { padding-top: clamp(24px, 4vw, 48px); }
.sec--olive + .sec, .sec--tomato + .sec, .sec--paper + .sec { padding-top: clamp(64px, 9vw, 120px) !important; }

/* ---------- 最初の画面 ---------- */
.hero__media { position: relative; }
.hero__photo { position: relative; height: max(420px, calc(70svh - var(--hd-h) * 0)); height: 70vh; height: 70svh; min-height: 420px; overflow: hidden; background: #e9e1d2; }
.hero__stage { position: absolute; left: 50%; top: 50%; width: max(100%, calc(max(70svh, 420px) * 1344 / 768)); aspect-ratio: 1344 / 768; transform: translate(-50%, -50%); }
.hero__stage img { width: 100%; height: 100%; }
.hero__steam { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hs { fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; opacity: .7; transform-box: fill-box; transform-origin: 50% 100%; }
@media (prefers-reduced-motion: no-preference) {
  .hs { animation: hsteam 8s linear infinite both; }
  .hs2 { animation-delay: -2.7s; }
  .hs3 { animation-delay: -5.4s; }
}
@keyframes hsteam {
  0% { opacity: .12; transform: translateY(30px) scaleY(.8); }
  30% { opacity: .8; }
  70% { opacity: .5; }
  100% { opacity: .12; transform: translateY(-56px) scaleY(1.08); }
}
.hero__cardwrap { position: absolute; left: 0; right: 0; top: clamp(22px, 4vh, 44px); width: min(100% - var(--gut) * 2, 1328px); margin-inline: auto; pointer-events: none; }
.hero__card { width: clamp(300px, 28vw, 420px); pointer-events: auto; padding: 42px 30px 28px; }
.kcard__ttl { font-family: var(--hand); font-size: 26px; line-height: 56px !important; margin: -14px 0 0 !important; letter-spacing: .06em; }
.kcard__ttl .tm { font-family: var(--sans); font-weight: 500; font-size: 34px; letter-spacing: 0; margin-right: 2px; font-variant-numeric: tabular-nums; }
.kcard__list { list-style: none; margin: 0 0 var(--lh); padding: 0; font-size: 17px; }
.kcard__list li { padding-left: 18px; position: relative; }
.kcard__list li::before { content: ""; position: absolute; left: 2px; top: 12px; width: 6px; height: 6px; border-radius: 50%; border: 1.5px solid var(--olive); }
.kcard__meta { font-size: 13px; color: var(--sumi-2); font-weight: 500; }
.hero__card .tlink { font-size: 15px; }
.hero__text { padding: clamp(44px, 6vw, 80px) 0 clamp(56px, 8vw, 104px); }
.hero__title { font-size: clamp(28px, 4.2vw, 50px); line-height: 1.5; max-width: 15em; }
.hero__lead { max-width: 36em; margin-top: 24px; }

@media (max-width: 760px) {
  .hero__photo { height: 96vw; min-height: 0; max-height: 64svh; }
  .hero__stage { width: max(100%, calc(min(96vw, 64svh) * 1344 / 768)); transform: translate(-50%, -50%); }
  .hero__cardwrap { position: relative; top: auto; width: auto; margin: -36px var(--gut) 0; }
  .hero__card { width: auto; }
  .hero__text { padding-top: 40px; }
}

/* ---------- トップ: 11月の献立 ---------- */
.t-menu__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.t-menu__ph { aspect-ratio: 1344 / 1000; }
.t-menu__tbl tbody th { width: 46%; }
@media (max-width: 900px) { .t-menu__grid { grid-template-columns: 1fr; } }

/* トップ: 1回のレッスン */
.t-lesson__text { max-width: 40em; margin-top: 40px; }

/* トップ: 家のコンロ */
.t-stove__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.t-stove__ph { aspect-ratio: 1344 / 896; }
.t-stove__ph .aside { position: absolute; left: -12px; bottom: -14px; background: var(--kinari); padding: 6px 14px 4px; }
@media (max-width: 860px) { .t-stove__grid { grid-template-columns: 1fr; } .t-stove__ph .aside { left: 0; } }

/* トップ: 料金（数字を横に並べて、あいだを縫い目で区切る） */
.prices { display: grid; grid-template-columns: repeat(3, 1fr); list-style: none; margin: 0; padding: 0; }
.prices li { display: flex; flex-direction: column; gap: 6px; padding: 8px clamp(16px, 3vw, 40px); position: relative; }
.prices li:first-child { padding-left: 0; }
.prices li + li::before { content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 1.5px; background: repeating-linear-gradient(180deg, var(--olive) 0 4px, transparent 4px 8px); }
.prices__n { color: var(--tomato); font-size: clamp(36px, 4.6vw, 54px); line-height: 1.1; letter-spacing: .01em; }
.prices__n small { font-size: .4em; margin-left: 3px; font-weight: 500; }
.prices__l { font-size: 15px; font-weight: 500; }
@media (max-width: 640px) {
  .prices { grid-template-columns: 1fr; }
  .prices li { flex-direction: row; align-items: baseline; justify-content: space-between; padding: 16px 0; flex-wrap: wrap; }
  .prices li + li::before { left: 0; right: 0; top: 0; bottom: auto; width: auto; height: 1.5px; background: repeating-linear-gradient(90deg, var(--olive) 0 4px, transparent 4px 8px); }
  .prices__n { order: 2; font-size: 36px; }
}

/* トップ: 台所と先生 */
.t-sensei__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.t-sensei__ph { aspect-ratio: 1344 / 896; }
@media (max-width: 860px) { .t-sensei__grid { grid-template-columns: 1fr; } }

/* よく聞かれること（問いは左、答えはカード） */
.faq { margin: 0; display: grid; gap: 22px; }
.faq__item { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 16px clamp(20px, 4vw, 48px); align-items: start; }
.faq dt { font-weight: 500; font-size: 17px; padding-top: 26px; position: relative; padding-left: 30px; }
.faq dt::before { content: "問"; position: absolute; left: 0; top: 27px; font-family: var(--hand); color: var(--olive); font-size: 18px; }
.faq dd { margin: 0; }
.more { margin-top: 32px; }
@media (max-width: 760px) { .faq__item { grid-template-columns: 1fr; } .faq dt { padding-top: 0; } .faq dt::before { top: 0; } }

/* 教室の場所 */
.t-place__grid { display: grid; align-items: start; grid-template-columns: 1fr 2.4fr; gap: 24px clamp(28px, 5vw, 72px); }
@media (max-width: 860px) { .t-place__grid { grid-template-columns: 1fr; } }
.info { width: 100%; }
.info th, .info td { text-align: left; vertical-align: top; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.info tr:first-child th, .info tr:first-child td { border-top: 1px solid var(--rule); }
.info th { width: 8em; font-weight: 500; color: var(--sumi-2); font-size: 14px; padding-right: 16px; padding-top: 16px; }
.tel { text-decoration: none; font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (max-width: 520px) { .info th { width: 5.6em; } }

/* ---------- 図 共通 ---------- */
.dg { margin: 0; padding: 52px clamp(18px, 3.6vw, 48px) 32px; }
.dg__ttl { font-family: var(--hand); font-size: clamp(20px, 2.2vw, 24px); line-height: 28px; margin: -10px 0 28px; padding-left: 10px; }
.dg__note { font-size: 13px; color: var(--sumi-2); line-height: var(--lh); margin: 28px 0 0; }
.dg text { font-family: var(--hand); fill: var(--sumi); }
.dg .ln, .dg .pl, .dg .pl-rim { fill: none; stroke: var(--olive); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.dg .pl { fill: var(--paper); }
.dg .pl-rim { stroke-dasharray: 2 5; }
.dg .f-ol { fill: var(--olive-20); }
.dg .f-tm { fill: var(--tomato-15); }
.dg .f-pp { fill: var(--paper); }
.dg rect.f-ol, .dg rect.f-tm { stroke: var(--olive); stroke-width: 1.5; }

/* K-1 1回のレッスンの流れ（3つの皿・大きさは時間の長さ） */
.k1__row { display: flex; align-items: flex-start; justify-content: center; gap: clamp(6px, 1.6vw, 22px); }
.k1__step { display: grid; grid-template-rows: 56px var(--pmax) auto auto; justify-items: center; text-align: center; --pmax: clamp(170px, 20vw, 250px); }
.k1__step--make { --p: var(--pmax); }
.k1__step--eat { --p: calc(var(--pmax) * .66); }
.k1__step--wash { --p: calc(var(--pmax) * .54); }
.k1__memo { grid-row: 1; align-self: end; font-size: 14px; line-height: 1.5; margin: 0 0 8px; max-width: 13em; padding: 2px 10px; border-bottom: 1.5px solid var(--tomato); }
.k1__plate { grid-row: 2; align-self: center; width: var(--p); height: var(--p); overflow: visible; }
.k1__name { grid-row: 3; font-family: var(--hand); font-size: 22px; margin: 10px 0 0; }
.k1__time { grid-row: 4; font-size: 15px; margin: 0; }
.k1__arw { flex: none; width: 48px; height: 20px; margin-top: calc(56px + var(--pmax, 210px) / 2 - 10px); fill: none; stroke: var(--olive); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.k1 { --pmax: clamp(170px, 20vw, 250px); }
@media (max-width: 700px) {
  .k1__row { flex-direction: column; align-items: center; gap: 4px; }
  .k1__step { grid-template-rows: auto auto auto auto; --pmax: 200px; }
  .k1__memo { margin-bottom: 12px; }
  .k1__arw { margin: 6px 0; transform: rotate(90deg); }
}

/* K-2 90分の中で、4品をどう作るか */
.k2 { --min: 1; }
.k2__legend { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px 20px; font-size: 13px; font-weight: 500; margin: -56px 0 28px; line-height: 28px; }
.k2__legend span { display: inline-flex; align-items: center; gap: 8px; }
.sw { display: inline-block; width: 26px; height: 14px; border: 1.5px solid var(--olive); border-radius: 2px; }
.sw--hand, .bar--hand { background-color: var(--tomato-15); }
.sw--heat, .bar--heat { background-color: var(--olive-20); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='22' viewBox='0 0 16 22'%3E%3Cpath d='M8 20c-3-2.6 3-5.2 0-8s0-5.2 0-8' fill='none' stroke='%238A9A5B' stroke-width='1.2' stroke-linecap='round' opacity='.75'/%3E%3C/svg%3E"); background-size: 16px 22px; }
.bar--both { background-color: var(--tomato-15); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='22' viewBox='0 0 16 22'%3E%3Cpath d='M8 20c-3-2.6 3-5.2 0-8s0-5.2 0-8' fill='none' stroke='%238A9A5B' stroke-width='1.2' stroke-linecap='round' opacity='.75'/%3E%3C/svg%3E"); background-size: 16px 22px; }
.k2__chart { display: grid; grid-template-columns: minmax(150px, 210px) 1fr; column-gap: 18px; }
.k2__axis { grid-column: 2; grid-row: 1; position: relative; height: 64px; border-bottom: 1.5px solid var(--olive); }
.k2__tick { position: absolute; bottom: 0; left: calc(var(--t) / 90 * 100%); font-size: 13px; line-height: 1; transform: translateX(-50%); padding-bottom: 12px; }
.k2__tick::after { content: ""; position: absolute; left: 50%; bottom: -1px; width: 1.5px; height: 7px; background: var(--olive); }
.k2__tick:first-child { transform: none; }
.k2__tick:first-child::after { left: 0; }
.k2__tick:last-child { transform: translateX(-100%); }
.k2__tick:last-child::after { left: auto; right: 0; }
.k2__start { position: absolute; left: 0; top: 0; font-size: 12px; line-height: 1.3; margin: 0; color: var(--sumi-2); white-space: nowrap; }
.k2__start::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--tomato); margin-right: 6px; vertical-align: 1px; }
.k2__dish { grid-column: 1; grid-row: var(--r); align-self: center; font-family: var(--hand); font-size: 17px; line-height: 1.35; margin: 0; padding: 8px 0; }
.k2__track { grid-column: 2; grid-row: var(--r); position: relative; height: 84px; border-bottom: 1px dashed var(--rule); }
.bar { position: absolute; top: 34px; height: 32px; left: calc(var(--s) / 90 * 100%); width: calc((var(--e) - var(--s)) / 90 * 100%); border: 1.5px solid var(--olive); border-radius: 3px; transform-origin: left center; }
.bar--hand, .bar--both { border-color: var(--tomato); }
.bar__cap { position: absolute; left: 0; font-size: 12.5px; line-height: 1.3; white-space: nowrap; }
.bar--hand .bar__cap, .bar--both .bar__cap { bottom: calc(100% + 6px); }
.bar--both .bar__cap { left: auto; right: 0; }
.bar--heat .bar__cap { left: 10px; top: 50%; transform: translateY(-50%); font-weight: 500; }
.k2__all { grid-column: 2; grid-row: 2 / 6; position: relative; margin-left: calc(75 / 90 * 100%); width: calc(15 / 90 * 100%); border: 1.5px dashed var(--tomato); background: color-mix(in srgb, var(--tomato) 7%, transparent); border-radius: 3px; display: flex; align-items: center; justify-content: center; transform-origin: center top; }
.k2__all span { writing-mode: vertical-rl; font-family: var(--hand); font-size: 18px; letter-spacing: .12em; background: var(--paper); padding: 8px 2px; }

@media (max-width: 760px) {
  /* スマホ: 時間の線を縦にして、上から下へ */
  .k2__legend { margin: 0 0 20px; justify-content: flex-start; }
  .k2 { --H: 600px; }
  .k2__chart { grid-template-columns: 30px repeat(4, minmax(0, 1fr)); column-gap: 5px; }
  .k2__axis { grid-column: 1; grid-row: 2; height: var(--H); border-bottom: 0; border-right: 1.5px solid var(--olive); }
  .k2__tick { left: auto; right: 6px; bottom: auto; top: calc(var(--t) / 90 * 100%); transform: translateY(-50%) !important; padding: 0; font-size: 11px; }
  .k2__tick::after { left: auto !important; right: -7px !important; bottom: auto; top: 50%; width: 6px; height: 1.5px; }
  .k2__tick:first-child { transform: none !important; }
  .k2__tick:last-child { transform: translateY(-100%) !important; }
  .k2__chart { padding-bottom: 36px; }
  .k2__start { left: 0; top: calc(100% + 12px); white-space: nowrap; }
  .k2__dish { grid-column: var(--c); grid-row: 1; align-self: end; font-size: 13px; text-align: center; padding: 0 0 8px; }
  .k2__track { grid-column: var(--c); grid-row: 2; height: var(--H); border-bottom: 0; border-left: 1px dashed var(--rule); }
  .bar { top: calc(var(--s) / 90 * 100%); height: calc((var(--e) - var(--s)) / 90 * 100%); left: 3px; width: calc(100% - 6px); transform-origin: center top; }
  .bar--both .bar__cap { right: auto; }
  .bar__cap { position: static; display: block; white-space: normal; transform: none !important; font-size: 11px; line-height: 1.35; padding: 4px; font-weight: 400 !important; }
  .bar--heat .bar__cap { background: color-mix(in srgb, var(--paper) 80%, transparent); margin: 4px; padding: 2px 3px; }
  .k2__all { grid-column: 2 / 6; grid-row: 2; align-self: start; margin: calc(var(--H) * 75 / 90) 0 0; width: auto; height: calc(var(--H) * 15 / 90); }
  .k2__all span { writing-mode: horizontal-tb; padding: 2px 10px; font-size: 16px; }
}

/* K-3 台所の中 */
.k3__svg { width: 100%; height: auto; overflow: visible; }
.k3__svg--sp { display: none; }
.k3 .room { fill: none; stroke: var(--olive); stroke-width: 2.5; stroke-linejoin: round; }
.k3 .lbl { font-size: 17px; }
.k3 .lbl--s { font-size: 14px; fill: var(--sumi-2); }
.k3 .gap { fill: none; stroke: var(--tomato); stroke-width: 1.5; stroke-dasharray: 1 5; stroke-linecap: round; }
.k3 .ppl circle, .k3 .ppl path { stroke: var(--olive); stroke-width: 1.5; fill: var(--olive-20); stroke-linejoin: round; }
.k3 .ppl--sensei circle, .k3 .ppl--sensei path { stroke: var(--tomato); fill: var(--tomato-15); }
.k3__foot { font-family: var(--hand); font-size: 20px; margin: 20px 0 0; text-align: center; }
@media (max-width: 640px) { .k3__svg--pc { display: none; } .k3__svg--sp { display: block; } }

/* K-4 コンロ2口の使い方 */
.k4__body { display: grid; grid-template-columns: auto 1fr auto; gap: 0 clamp(16px, 3vw, 40px); align-items: stretch; }
.k4__stove { grid-column: 1; grid-row: 1 / 3; width: clamp(110px, 12vw, 150px); }
.k4__stove svg { width: 100%; height: 100%; overflow: visible; }
.k4__row { grid-column: 2; display: flex; align-items: center; gap: 10px 14px; flex-wrap: wrap; padding: 18px 0; min-height: 150px; }
.k4__row--back { grid-row: 1; border-bottom: 1px dashed var(--rule); }
.k4__row--front { grid-row: 2; }
.k4__pos { font-family: var(--hand); font-size: 20px; margin: 0; width: 3em; color: var(--olive); }
.k4__pot { display: flex; align-items: center; gap: 12px; }
.k4__pot svg { width: 78px; height: 60px; flex: none; overflow: visible; }
.k4__pot p { margin: 0; line-height: 1.5; }
.k4__pot b { display: block; font-family: var(--hand); font-weight: 400; font-size: 19px; }
.k4__pot .num { font-size: 15px; margin-right: 8px; }
.k4__to { width: 40px; height: 16px; fill: none; stroke: var(--olive); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.k4__rice { grid-column: 3; grid-row: 1 / 3; align-self: center; text-align: center; padding: 20px 0 20px clamp(16px, 3vw, 36px); border-left: 1.5px dashed var(--olive); }
.k4__rice svg { width: 96px; height: 90px; display: block; margin: 0 auto 10px; }
.k4__rice p { margin: 0; line-height: 1.6; }
.k4__rice b { display: block; font-family: var(--hand); font-weight: 400; font-size: 19px; }
.k4__no { margin: 24px 0 0; padding: 10px 0 0; border-top: 1.5px solid var(--tomato); font-family: var(--hand); font-size: 19px; display: inline-block; }
.dg svg .burner { fill: none; stroke: var(--olive); stroke-width: 1.5; }
@media (max-width: 860px) {
  .k4__body { grid-template-columns: auto 1fr; }
  .k4__rice { grid-column: 1 / -1; grid-row: 3; border-left: 0; border-top: 1.5px dashed var(--olive); margin-top: 8px; padding: 20px 0 0; display: flex; gap: 16px; align-items: center; text-align: left; }
  .k4__rice svg { margin: 0; flex: none; width: 80px; height: 76px; }
}
@media (max-width: 520px) {
  .k4__stove { width: 74px; }
  .k4__row { min-height: 0; padding: 14px 0; }
  .k4__pos { width: 100%; }
  .k4__pot svg { width: 60px; height: 48px; }
}

/* 地図 */
.map { margin: 28px 0 0; padding: 28px; background: var(--paper); }
.map svg { width: 100%; height: auto; display: block; }
.map .rd { fill: none; stroke: var(--olive); stroke-width: 1.5; stroke-linecap: round; }
.map .rd--main { stroke-width: 6; stroke: var(--olive-20); }
.map .rt { fill: none; stroke: var(--olive); stroke-width: 2; stroke-dasharray: 1 6; stroke-linecap: round; }
.map text { font-family: var(--hand); fill: var(--sumi); font-size: 18px; }

/* ---------- 下層ページ 共通 ---------- */
.phd { padding: clamp(48px, 7vw, 96px) 0 clamp(40px, 5vw, 64px); }
.phd .sh { margin-bottom: 22px; }
.phd h1 { font-size: clamp(32px, 5vw, 56px); }
.phd h1 .tm { font-family: var(--sans); font-weight: 500; letter-spacing: 0; font-variant-numeric: tabular-nums; }
.phd__lead { max-width: 38em; font-size: 17px; }
.phd .steam { width: 26px; height: 24px; }
.wide { aspect-ratio: 1344 / 560; overflow: hidden; }
.wide img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 760px) { .wide { aspect-ratio: 4 / 3; } }
.phd--photo + .wide + .wrap { margin-top: 0; }
.lead-after { padding: 40px 0 0; }

.blk { max-width: 44em; }
.blk h2, .h2 { font-size: clamp(24px, 2.8vw, 32px); margin-bottom: 24px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.two--rev > :first-child { order: 2; }
.two .ph { aspect-ratio: 1344 / 896; }
.two .ph--tall { aspect-ratio: 896 / 1100; max-width: 440px; justify-self: center; width: 100%; }
@media (max-width: 860px) { .two { grid-template-columns: 1fr; } .two--rev > :first-child { order: 0; } }
.pagefoot { padding: 48px 0 clamp(64px, 8vw, 104px); display: flex; flex-wrap: wrap; gap: 14px 36px; }
.pagefoot .tlink { font-size: 17px; }
.list { margin: 0 0 1em; padding: 0; list-style: none; }
.list li { position: relative; padding-left: 22px; }
.list li::before { content: ""; position: absolute; left: 3px; top: .72em; width: 7px; height: 7px; border-radius: 50%; border: 1.5px solid var(--olive); }

/* ---------- 今月の献立 ---------- */
.dish { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(24px, 4vw, 56px); align-items: start; padding: clamp(40px, 6vw, 72px) 0; }
.dish + .dish { border-top: 0; background-image: repeating-linear-gradient(90deg, var(--olive) 0 4px, transparent 4px 8px); background-size: 100% 1.5px; background-repeat: no-repeat; }
.dish--rev .dish__ph { order: 2; }
.dish__ph { position: relative; }
.dish__ph .ph { aspect-ratio: 1 / 1; }
.dish__ph .aside { display: block; margin-top: 12px; }
.dish h2 { font-size: clamp(24px, 2.8vw, 32px); margin-bottom: 22px; }
.dish__body > p { max-width: 34em; }
.dish .kcard { margin-top: 28px; }
.dish .ktable { margin-top: 0; }
.dish .ktable th { width: 48%; font-weight: 400; }
.dish .ktable td { text-align: right; }
.dish__cap { font-size: 13px; font-weight: 500; color: var(--sumi-2); margin: 0 !important; }
.dish__time { margin-top: 18px; font-size: 15px; }
.dish__time .num { color: var(--sumi); }
@media (max-width: 860px) { .dish { grid-template-columns: 1fr; } .dish--rev .dish__ph { order: 0; } .dish__ph .ph { aspect-ratio: 4 / 3; } }

.allergy .kcard { max-width: 52em; }
.allergy .note { max-width: 52em; }
.moushikomi__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.moushikomi__big { font-family: var(--hand); font-size: clamp(24px, 3vw, 32px); line-height: 1.5; margin-bottom: 20px; }
.steps { margin: 0 0 1em; padding-left: 1.6em; }
.steps li { margin-bottom: .4em; padding-left: .2em; }
.steps li::marker { font-weight: 500; color: var(--tomato); font-variant-numeric: tabular-nums; }
.btn--line .bub-ic { width: 20px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; }
.btn--line { font-size: 17px; min-height: 54px; padding: 12px 26px; }
.sched .ktable th, .sched .ktable td { padding-right: 8px; }
.sched .ktable td.num { white-space: nowrap; }
@media (max-width: 860px) { .moushikomi__grid { grid-template-columns: 1fr; } }
.past { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; list-style: none; padding: 0; margin: 0; }
.past .kcard { padding-top: 28px; padding-left: 40px; }
.past__m { font-family: var(--hand); font-size: 22px; line-height: var(--lh); display: block; margin-bottom: 0; }
.past__m .num { font-family: var(--sans); font-size: 20px; }
.past__l { list-style: none; margin: 0; padding: 0; }
@media (max-width: 860px) { .past { grid-template-columns: 1fr; } }

/* ---------- レッスンのこと ---------- */
.steps3 { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 0; max-width: 56em; }
.steps3 li { display: grid; grid-template-columns: 64px 1fr; gap: 20px; padding: 22px 0; border-top: 1px solid var(--rule); align-items: start; }
.steps3 li:last-child { border-bottom: 1px solid var(--rule); }
.steps3 svg { width: 56px; height: 56px; }
.steps3 h3 { font-size: 22px; margin-bottom: 4px; }
.steps3 h3 .num { font-family: var(--sans); font-size: 15px; margin-left: 10px; }
.faqall { display: grid; grid-template-columns: 1fr 1fr; gap: 22px clamp(20px, 3vw, 36px); margin: 0; }
.faqall > div { display: flex; flex-direction: column; }
.faqall dt { font-weight: 500; font-size: 17px; padding-left: 30px; position: relative; margin-bottom: 10px; }
.faqall dt::before { content: "問"; position: absolute; left: 0; top: 1px; font-family: var(--hand); color: var(--olive); font-size: 18px; }
.faqall dd { margin: 0; flex: 1; }
@media (max-width: 760px) { .faqall { grid-template-columns: 1fr; } }

/* ---------- 料金 ---------- */
.ptable { width: 100%; }
.ptable th, .ptable td { padding: 0 0 28px; vertical-align: top; text-align: left; }
.ptable tr:last-child th, .ptable tr:last-child td { padding-bottom: 0; }
.ptable th { font-family: var(--hand); font-weight: 400; font-size: 22px; width: 6em; padding-right: 16px; }
.ptable td.pr { text-align: right; color: var(--tomato); font-size: clamp(26px, 3vw, 34px); white-space: nowrap; padding-left: 16px; line-height: 28px; }
.ptable td.pr small { font-size: .5em; }
@media (max-width: 640px) {
  .ptable tr { display: grid; grid-template-columns: 1fr auto; padding-bottom: 28px; }
  .ptable tr:last-child { padding-bottom: 0; }
  .ptable th, .ptable td { padding: 0 !important; }
  .ptable td.desc { grid-column: 1 / -1; grid-row: 2; }
  .ptable th { width: auto; }
}
.ctable th, .ctable td { padding: 0 !important; }
.ctable tbody th { font-weight: 400; width: 58%; padding-right: 16px !important; }
.ctable td { font-weight: 500; }
.tokusho { background: #fff; padding: clamp(22px, 3vw, 36px); margin-top: 18px; }
.tokusho table { width: 100%; font-size: 14px; line-height: 1.7; }
.tokusho th, .tokusho td { text-align: left; vertical-align: top; padding: 10px 0; border-bottom: 1px solid #e6e0d4; }
.tokusho th { width: 12em; font-weight: 500; padding-right: 16px; }
.h2--s { font-size: 20px !important; font-family: var(--sans) !important; font-weight: 500 !important; letter-spacing: .04em; }
@media (max-width: 640px) { .tokusho th, .tokusho td { display: block; width: auto; } .tokusho th { border-bottom: 0; padding-bottom: 0; } }

/* ---------- 家で作るとき ---------- */
.tools .ktable tbody th { width: 34%; font-weight: 500; }
.tools .ktable thead th { padding-bottom: 0; }

/* ---------- 台所と先生 ---------- */
.name-of { font-family: var(--hand); font-size: clamp(20px, 2.4vw, 26px); line-height: 1.8; max-width: 26em; }

/* ---------- フッター ---------- */
.ft { background: var(--sumi); color: var(--kinari); padding: 56px 0 40px; }
.ft__in { width: min(100% - var(--gut) * 2, var(--w)); margin-inline: auto; display: grid; grid-template-columns: auto 1fr; gap: 20px 56px; }
.ft .logo__name { fill: var(--kinari); }
.ft .logo__sub { fill: color-mix(in srgb, var(--kinari) 75%, transparent); }
.ft__info p { margin: 0 0 4px; font-size: 14px; }
.ft__nav { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px 26px; padding-top: 22px; border-top: 1px dashed color-mix(in srgb, var(--kinari) 40%, transparent); }
.ft__nav a { text-decoration: none; font-size: 14px; }
.ft__nav a:hover { text-decoration: underline; }
.ft__copy { grid-column: 1 / -1; margin: 0; font-size: 12px; opacity: .8; }
@media (max-width: 760px) { .ft__in { grid-template-columns: 1fr; } }

/* ---------- 動き（transform と opacity だけ。html.js のときだけ隠す） ---------- */
.js .hero__card { animation: pin .8s var(--ease) .15s both; }
.js .hero__title { animation: rise .8s var(--ease) .35s both; }
.js .hero__lead, .js .hero__text .acts { animation: rise .8s var(--ease) .5s both; }
@keyframes pin { from { opacity: 0; transform: translateY(-14px); } to { opacity: 1; transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; transform: scale(.86); } to { opacity: 1; transform: none; } }
@keyframes grow { from { transform: scaleX(0); } to { transform: none; } }
@keyframes growY { from { transform: scaleY(0); } to { transform: none; } }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
.js .fade { opacity: 0; transform: translateY(16px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .fade.is-in { opacity: 1; transform: none; }
/* 区画の頭の湯気: 出てくるときに下から立ちのぼる */
.js .sh:not(.is-in) .steam path { opacity: 0; }
.js .sh.is-in .steam path { animation: rise .9s var(--ease) backwards; }
.js .sh.is-in .steam .st2 { animation-delay: .15s; }
.js .sh.is-in .steam .st3 { animation-delay: .3s; }
/* 図 */
.js .dg:not(.is-in) .k1__step { opacity: 0; }
.js .dg.is-in .k1__step { animation: pop .7s var(--ease) backwards; animation-delay: calc(var(--i) * .22s + .1s); }
.js .dg:not(.is-in) .k1__arw { opacity: 0; }
.js .dg.is-in .k1__arw { animation: fadein .5s linear .5s backwards; }
.js .dg:not(.is-in) .bar { transform: scaleX(0); }
.js .dg.is-in .bar { animation: grow .9s var(--ease) backwards; animation-delay: calc(var(--s) * 18ms + .2s); }
.js .dg:not(.is-in) .k2__all { opacity: 0; }
.js .dg.is-in .k2__all { animation: fadein .6s linear 1.7s backwards; }
.js .k3:not(.is-in) .ppl { opacity: 0; }
.js .k3.is-in .ppl { animation: fadein .5s linear backwards; animation-delay: calc(var(--i, 0) * .14s + .3s); }
.js .dg:not(.is-in) .k4__pot, .js .dg:not(.is-in) .k4__rice { opacity: 0; }
.js .dg.is-in .k4__pot, .js .dg.is-in .k4__rice { animation: rise .7s var(--ease) backwards; animation-delay: calc(var(--i, 0) * .25s + .15s); }
@media (max-width: 760px) {
  .js .dg:not(.is-in) .bar { transform: scaleY(0); }
  .js .dg.is-in .bar { animation-name: growY; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- 下層の追加 ---------- */
.mini { fill: none; stroke: var(--olive); stroke-width: 1.5; stroke-linecap: round; }
.mini rect { fill: var(--tomato-15); }
.cols2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px clamp(28px, 5vw, 72px); align-items: start; }
@media (max-width: 760px) { .cols2 { grid-template-columns: 1fr; } }
.r-cancel { display: grid; grid-template-columns: 1fr 1.1fr; gap: 28px clamp(28px, 5vw, 64px); align-items: start; }
.r-cancel > .kcard { grid-column: 2; grid-row: 1 / 3; }
.r-cancel > :last-child { grid-column: 1; grid-row: 2; }
@media (max-width: 860px) { .r-cancel { grid-template-columns: 1fr; } .r-cancel > .kcard, .r-cancel > :last-child { grid-column: 1; grid-row: auto; } }
.wide--stove { aspect-ratio: 1344 / 620; }
.wide--stove img { object-position: 50% 62%; }
@media (max-width: 760px) { .wide--stove { aspect-ratio: 4 / 3; } }
.d-name__in { display: grid; grid-template-columns: 160px 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; max-width: 52em; }
.d-name__pot { width: 160px; height: 150px; overflow: visible; }
.d-name__st path { fill: none; stroke: var(--olive); stroke-width: 2; stroke-linecap: round; }
.d-name__body { fill: var(--tomato); }
.d-name__ln { fill: none; stroke: var(--sumi); stroke-width: 3; stroke-linecap: round; }
.d-name__knob { fill: var(--sumi); }
@media (max-width: 640px) { .d-name__in { grid-template-columns: 1fr; } .d-name__pot { width: 120px; height: 112px; } }
@media (prefers-reduced-motion: no-preference) {
  /* 弱火の鍋の、ふたの小さな「ことこと」 */
  .d-name__ln, .d-name__knob { transform-box: view-box; transform-origin: 80px 62px; animation: kotokoto 3.2s ease-in-out infinite; }
  .d-name__ln { animation-name: kotokoto-lid; }
  .d-name__st path { transform-box: fill-box; transform-origin: 50% 100%; animation: stUp 4.5s ease-in-out infinite; }
  .d-name__st path:nth-child(2) { animation-delay: -1.5s; }
  .d-name__st path:nth-child(3) { animation-delay: -3s; }
}
@keyframes kotokoto { 0%, 70%, 100% { transform: none; } 76% { transform: translateY(-2px) rotate(-1.5deg); } 82% { transform: none; } 88% { transform: translateY(-1.5px) rotate(1deg); } 94% { transform: none; } }
@keyframes kotokoto-lid { 0%, 70%, 100% { transform: none; } 76% { transform: translateY(-2px) rotate(-1.5deg); } 82% { transform: none; } 88% { transform: translateY(-1.5px) rotate(1deg); } 94% { transform: none; } }
@keyframes stUp { 0% { opacity: .35; transform: translateY(6px); } 50% { opacity: 1; } 100% { opacity: .35; transform: translateY(-6px); } }

/* 調整 */
.wrap.blk { max-width: none; }
.wrap.blk > * { max-width: 44em; }
.phd + .sec { padding-top: 0; }
.ctable tbody th { width: 44%; }
.ctable td { white-space: normal; }
@media (min-width: 861px) { .r-cancel { grid-template-columns: 1fr 1.25fr; } }
@media (max-width: 560px) {
  .t-menu__tbl thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .t-menu__tbl tr { display: grid; grid-template-columns: 1fr 1fr; }
  .t-menu__tbl tbody th { grid-column: 1 / -1; width: auto !important; }
  .t-menu__tbl td { padding-left: 0; font-size: 14px; }
  .t-menu__tbl td::before { content: attr(data-l) " "; font-weight: 400; color: var(--sumi-2); font-size: 12px; }
}
.info th { white-space: nowrap; width: 1%; }
.k1__memo { max-width: 17em; }
@media (max-width: 760px) { .k2 { --H: 760px; } }
@media (max-width: 640px) {
  .k3__svg--sp .lbl { font-size: 19px; }
  .k3__svg--sp .lbl--s { font-size: 16px; }
  .map { padding: 16px; }
  .map text { font-size: 30px; }
}
