@charset "UTF-8";
/* ============================================================
   夜菜 やさい — デザインサンプル（架空ブランド）
   方向: クラフト/温もり × シズル感の写真（雑誌表紙型）
   シグネチャー: 帰宅から12分の時計盤
   ============================================================ */

/* ---------- 1. トークン ---------- */
:root {
  --c-paper: #fbf6ec;   /* 生成り・地 */
  --c-white: #fffdf8;
  --c-tone:  #f3ebdc;
  --c-green: #2f4a3c;   /* 深緑 */
  --c-orange:#e2762f;   /* 橙・主張色 */
  --c-ink:   #3a2e26;   /* 墨茶 */
  --c-muted: #7d7365;
  --c-line:  #e2d8c6;

  --font-display: "Kaisei Decol", "Hiragino Mincho ProN", serif;
  --font-en: "Fraunces", Georgia, serif;
  --font-body: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;

  --section-pad: clamp(76px, 11vw, 140px);
  --container: 1140px;
  --container-narrow: 720px;
  --gutter: clamp(20px, 4.5vw, 54px);

  --z-header: 100;
  --z-nav: 200;
  --z-fixed: 1000;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --duration: 0.9s;
}

/* ---------- 2. リセット / ベース ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 82px; }
body {
  font-family: var(--font-body); color: var(--c-ink); background: var(--c-paper);
  font-size: 16px; line-height: 2; letter-spacing: 0.03em;
  -webkit-font-smoothing: antialiased; overflow-wrap: anywhere;
}
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; padding: 0; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--c-green); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.6; letter-spacing: 0.06em; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: var(--z-fixed);
  background: var(--c-green); color: #fff; padding: 10px 18px; font-size: 13px; transition: top 0.2s;
}
.skip-link:focus { top: 12px; }
.note { margin-top: 22px; font-size: 12.5px; color: var(--c-muted); line-height: 1.95; }
/* 語の途中で折り返させないための塊。日本語は句読点位置で改行させる */
.nb { display: inline-block; }

/* ---------- 3. レイアウト ---------- */
.container { width: min(var(--container), 100% - var(--gutter) * 2); margin-inline: auto; }
.container--narrow { width: min(var(--container-narrow), 100% - var(--gutter) * 2); margin-inline: auto; }
.section { padding-block: var(--section-pad); }
.section--tone { background: var(--c-tone); }

.sec-head { margin-bottom: clamp(38px, 5vw, 62px); }
.sec-head--center { text-align: center; }
.sec-head__en {
  font-family: var(--font-en); font-style: italic; font-size: 15px;
  letter-spacing: 0.12em; color: var(--c-orange); margin-bottom: 10px;
}
.sec-head__title { font-size: clamp(25px, 3.8vw, 40px); }
.sec-head__lead { margin-top: 18px; font-size: 14.5px; color: var(--c-muted); line-height: 2.1; }
.sec-head--center .sec-head__lead { max-width: 40em; margin-inline: auto; }

/* ---------- 4. ヘッダー ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: var(--z-header);
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px var(--gutter); transition: background 0.5s, box-shadow 0.5s;
}
.site-header.is-scrolled {
  background: color-mix(in srgb, var(--c-paper) 92%, transparent);
  backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--c-line);
}
.site-header__logo {
  font-family: var(--font-display); font-size: 23px; letter-spacing: 0.16em;
  display: inline-flex; align-items: baseline; gap: 8px;
}
.site-header__ruby { font-family: var(--font-body); font-size: 10.5px; letter-spacing: 0.24em; color: var(--c-muted); }
.site-header:not(.is-scrolled) .site-header__logo { color: #fff; text-shadow: 0 2px 12px rgba(0,0,0,0.5); }
.site-header:not(.is-scrolled) .site-header__ruby { color: rgba(255,255,255,0.8); }

.global-nav { display: flex; align-items: center; gap: 24px; }
.global-nav ul { display: flex; gap: 22px; }
.global-nav a { font-size: 13.5px; }
.global-nav ul a { position: relative; padding-bottom: 3px; }
.global-nav ul a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px;
  background: var(--c-orange); transition: width 0.4s var(--ease-out);
}
.global-nav ul a:hover::after { width: 100%; }
.site-header:not(.is-scrolled) .global-nav ul a { color: #fff; text-shadow: 0 1px 10px rgba(0,0,0,0.55); }

.nav-toggle {
  display: none; width: 44px; height: 44px; background: none; border: none;
  cursor: pointer; position: relative; z-index: calc(var(--z-nav) + 1);
}
.nav-toggle span {
  display: block; width: 24px; height: 2px; margin: 5px auto;
  background: var(--c-ink); transition: transform 0.3s, opacity 0.3s;
}
.site-header:not(.is-scrolled) .nav-toggle span { background: #fff; }
.nav-toggle[aria-expanded="true"] span { background: var(--c-ink) !important; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 5. ボタン ---------- */
.button {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 16px 36px; min-height: 54px; border-radius: 999px;
  background: var(--c-orange); color: #fff; border: 1px solid var(--c-orange);
  font-family: var(--font-body); font-weight: 700; font-size: 14.5px; letter-spacing: 0.05em;
  cursor: pointer; transition: background 0.4s var(--ease-out), color 0.4s var(--ease-out);
}
.button:hover { background: var(--c-green); border-color: var(--c-green); }
.button--sm { padding: 10px 20px; min-height: 44px; font-size: 13px; }
.button--lg { padding: 19px 46px; min-height: 60px; font-size: 15.5px; }

/* ---------- 6. ヒーロー（雑誌表紙型） ---------- */
.hero {
  position: relative; min-height: 100svh; overflow: hidden;
  display: flex; align-items: center;
  padding: 132px var(--gutter) clamp(72px, 10vw, 112px);
}
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(26,20,14,0.82) 0%, rgba(26,20,14,0.44) 48%, rgba(26,20,14,0.12) 100%),
    linear-gradient(180deg, rgba(26,20,14,0.42) 0%, transparent 28%);
}
.hero__inner { position: relative; z-index: 1; max-width: 40em; color: #fff; }
.hero__cap {
  font-family: var(--font-display); font-size: 13.5px; letter-spacing: 0.24em;
  color: #f5c99b; margin-bottom: 22px;
}
.hero__title {
  font-size: clamp(30px, 5.4vw, 58px); line-height: 1.55;
  text-shadow: 0 2px 26px rgba(20,14,8,0.5);
}
.hero__lead {
  margin-top: 26px; font-size: 15px; line-height: 2.1;
  color: rgba(255,255,255,0.9); text-shadow: 0 1px 14px rgba(20,14,8,0.55);
}
.hero__actions { margin-top: 36px; }
/* 雑誌の題字のような判子 */
.hero__mark {
  position: absolute; z-index: 1; right: clamp(-10px, 1vw, 24px); bottom: clamp(-16px, 1vw, 12px);
  font-family: var(--font-display); font-size: clamp(120px, 22vw, 260px);
  line-height: 1; color: rgba(255,255,255,0.1); pointer-events: none;
}

/* ---------- 7. シグネチャー: 帰宅から12分の時計 ---------- */
.clock { display: grid; gap: clamp(32px, 5vw, 64px); align-items: center; }
@media (min-width: 900px) { .clock { grid-template-columns: 0.78fr 1fr; } }
.clock__face { width: 100%; max-width: 340px; margin-inline: auto; height: auto; display: block; }
.clock__steps { display: grid; gap: 2px; border-top: 1px solid var(--c-line); }
.clock__step {
  display: grid; grid-template-columns: auto 1fr; gap: 4px 22px; align-items: baseline;
  padding: clamp(16px, 2.2vw, 22px) 4px; border-bottom: 1px solid var(--c-line);
}
.clock__time {
  font-family: var(--font-en); font-size: 20px; color: var(--c-muted); letter-spacing: 0.02em;
  grid-row: span 2; white-space: nowrap;
}
.clock__step--hl { background: rgba(226,118,47,0.07); }
.clock__step--hl .clock__time { color: var(--c-orange); }
.clock__title { font-size: clamp(16px, 2vw, 19px); }
.clock__text { grid-column: 2; font-size: 13.5px; color: var(--c-muted); line-height: 2; margin-top: 4px; }
@media (max-width: 559px) {
  .clock__step { grid-template-columns: 1fr; }
  .clock__time { grid-row: auto; }
  .clock__text { grid-column: 1; }
}

/* ---------- 8. 今週の献立 ---------- */
.menu { display: grid; gap: 1px; background: var(--c-line); border: 1px solid var(--c-line); }
@media (min-width: 700px) { .menu { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .menu { grid-template-columns: repeat(3, 1fr); } }
.menu__item { background: var(--c-tone); padding: clamp(22px, 2.8vw, 30px); transition: background 0.3s; }
.menu__item:hover { background: var(--c-white); }
.menu__no {
  font-family: var(--font-en); font-style: italic; font-size: 13px; color: var(--c-orange);
}
.menu__name { font-size: 18px; margin: 8px 0 12px; line-height: 1.65; }
.menu__nutri { font-size: 12.5px; color: var(--c-muted); letter-spacing: 0.04em; }
.menu__nutri b { font-family: var(--font-en); font-size: 17px; color: var(--c-green); margin-right: 1px; }

/* ---------- 9. 温めかた ---------- */
.how-wrap { display: grid; gap: clamp(32px, 5vw, 62px); align-items: center; }
@media (min-width: 880px) { .how-wrap { grid-template-columns: 1fr 1fr; } }
.how__photo { margin: 0; }
.how__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; }
.steps { display: grid; gap: 20px; }
.steps__item { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; }
.steps__num {
  display: grid; place-content: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--c-green); color: var(--c-paper);
  font-family: var(--font-en); font-size: 18px; flex: none;
}
.steps__title { font-size: 17px; margin-bottom: 6px; }
.steps__text { font-size: 13.5px; color: var(--c-muted); line-height: 1.95; }

/* ---------- 10. 料金 ---------- */
.price { text-align: center; }
.price__grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.price__card {
  position: relative; background: var(--c-white); border: 1px solid var(--c-line);
  border-radius: 18px; padding: 38px 24px 32px;
}
.price__card--pick { border-color: var(--c-orange); border-width: 2px; }
.price__badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--c-orange); color: #fff; font-size: 11.5px; font-weight: 700;
  padding: 3px 16px; border-radius: 999px; white-space: nowrap;
}
.price__label { font-size: 13px; color: var(--c-muted); letter-spacing: 0.1em; }
.price__num {
  font-family: var(--font-en); font-size: clamp(38px, 5.2vw, 50px);
  line-height: 1.2; margin-top: 8px; color: var(--c-green);
}
.price__num span { font-family: var(--font-body); font-size: 16px; margin-left: 4px; }
.price__unit { margin-top: 6px; font-size: 12.5px; color: var(--c-muted); }
.price__note { margin-top: 28px; font-size: 12.5px; color: var(--c-muted); line-height: 2; }
.price__actions { margin-top: 30px; }

/* ---------- 11. 最終CTA ---------- */
.cta { background: var(--c-green); color: var(--c-paper); padding-block: clamp(80px, 11vw, 136px); text-align: center; }
.cta__title { font-size: clamp(24px, 3.8vw, 42px); line-height: 1.6; }
.cta__text { margin: 26px 0 40px; font-size: 14.5px; line-height: 2.1; color: rgba(251,246,236,0.78); }
.cta .button { background: var(--c-orange); border-color: var(--c-orange); }
.cta .button:hover { background: var(--c-paper); color: var(--c-green); border-color: var(--c-paper); }

/* ---------- 12. フッター ---------- */
.site-footer { padding: 42px 0 36px; border-top: 1px solid var(--c-line); }
.site-footer__inner {
  display: flex; justify-content: space-between; align-items: center;
  gap: 14px; flex-wrap: wrap; font-size: 12.5px; color: var(--c-muted);
}
.site-footer__logo { font-family: var(--font-display); font-size: 18px; letter-spacing: 0.16em; color: var(--c-ink); }

/* ---------- 13. サンプル明示バッジ（全サンプル共通仕様） ---------- */
.sample-badge {
  position: fixed; left: 16px; bottom: 16px; z-index: var(--z-fixed);
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px 8px 10px; border-radius: 999px;
  background: rgba(58,46,38,0.9); backdrop-filter: blur(8px);
  color: #fff; font-size: 11.5px; letter-spacing: 0.02em; line-height: 1.5;
  box-shadow: 0 4px 18px rgba(0,0,0,0.16); transition: background 0.3s;
}
.sample-badge:hover { background: rgba(58,46,38,0.98); }
.sample-badge__tag {
  background: var(--c-orange); color: #2b1a0d; font-weight: 700;
  padding: 2px 8px; border-radius: 999px; font-size: 10px; letter-spacing: 0.1em;
}
@media (max-width: 640px) {
  .sample-badge { left: 10px; bottom: 10px; padding: 6px 12px 6px 8px; font-size: 10.5px; }
  .sample-badge__text { max-width: 15em; }
}

/* ---------- 14. SPナビ ---------- */
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .global-nav {
    position: fixed; inset: 0; z-index: var(--z-nav); background: var(--c-paper);
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 38px;
    opacity: 0; visibility: hidden; transition: opacity 0.4s, visibility 0.4s;
  }
  .global-nav.is-open { opacity: 1; visibility: visible; }
  .global-nav ul { flex-direction: column; text-align: center; gap: 24px; }
  .global-nav ul a { font-family: var(--font-display); font-size: 19px; }
  .site-header:not(.is-scrolled) .global-nav.is-open ul a { color: var(--c-ink); text-shadow: none; }
}

/* ---------- 15. モーション基盤 ---------- */
.js-reveal {
  opacity: 0; transform: translateY(20px);
  transition: opacity var(--duration) var(--ease-out), transform var(--duration) var(--ease-out);
}
.js-reveal.is-inview { opacity: 1; transform: none; }
.js-reveal[data-delay="1"] { transition-delay: 0.1s; }
.js-reveal[data-delay="2"] { transition-delay: 0.2s; }
.js-reveal[data-delay="3"] { transition-delay: 0.3s; }

/* ---------- 16. モーション停止（reduced-motion環境のみボタン表示） ---------- */
.motion-stop {
  display: none;
  position: fixed; right: 16px; bottom: 16px; z-index: var(--z-fixed);
  padding: 10px 16px; font: inherit; font-size: 12px;
  background: var(--c-white); color: var(--c-ink);
  border: 1px solid var(--c-line); border-radius: 999px; cursor: pointer;
}
@media (prefers-reduced-motion: reduce) { .motion-stop { display: block; } }
html.is-motion-off *, html.is-motion-off *::before, html.is-motion-off *::after {
  transition-duration: 0.01ms !important;
  animation-duration: 0.01ms !important;
  animation-iteration-count: 1 !important;
  scroll-behavior: auto !important;
}
html.is-motion-off .js-reveal { opacity: 1; transform: none; }

/* ================================================================
   sample-notice:v1 — サンプル表記（14本共通・apply_sample_notice.py が生成）
   帯 / 商品CTAのモーダル / ラクシス導線 / フッター注記
   ================================================================ */
:root {
  --sample-bar-bg: #2f4a3c;
  --sample-bar-fg: #ffffff;
  --sample-bar-h: 40px;
  --sample-font: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", system-ui, sans-serif;
  --laxis-band-bg: #f3ebdc;
  --laxis-band-fg: #3a2e26;
  --laxis-band-line: rgba(0, 0, 0, 0.1);
  --z-sample-bar: 3000;
  --z-sample-modal: 4000;
}

/* ---- 1. 最上部の固定帯 ---- */
.sample-bar {
  position: fixed; inset: 0 0 auto 0; z-index: var(--z-sample-bar);
  display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap;
  min-height: 40px; padding: 8px 14px;
  background: var(--sample-bar-bg); color: var(--sample-bar-fg);
  font-family: var(--sample-font); font-size: 12.5px; font-weight: 500;
  line-height: 1.6; letter-spacing: 0.02em; text-align: center;
}
.sample-bar__tag {
  flex: none; background: var(--sample-bar-fg); color: var(--sample-bar-bg);
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.12em;
  padding: 3px 9px; border-radius: 3px; white-space: nowrap;
}
.sample-bar__text b { font-weight: 700; }
.sample-bar__by { opacity: 0.72; }
body { padding-top: var(--sample-bar-h); }
.site-header { top: var(--sample-bar-h); }
.skip-link:focus { top: calc(var(--sample-bar-h) + 12px); }
@media (max-width: 640px) {
  :root { --sample-bar-h: 54px; }
  .sample-bar { font-size: 11px; gap: 6px; padding: 7px 12px; }
  .sample-bar__tag { font-size: 9.5px; padding: 2px 7px; }
  .sample-bar__by { display: block; width: 100%; }
}

/* ---- 2. 商品CTAのモーダル ---- */
.sample-modal {
  position: fixed; inset: 0; z-index: var(--z-sample-modal);
  display: flex; align-items: center; justify-content: center; padding: 20px;
  font-family: var(--sample-font);
}
.sample-modal[hidden] { display: none; }
.sample-modal__backdrop { position: absolute; inset: 0; background: rgba(8, 10, 14, 0.66); backdrop-filter: blur(3px); }
.sample-modal__panel {
  position: relative; width: min(480px, 100%); background: #fff; color: #1f2933;
  border-radius: 16px; padding: 34px 30px 28px; text-align: center;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35); border-top: 4px solid var(--sample-bar-bg);
}
.sample-modal__tag {
  display: inline-block; background: var(--sample-bar-bg); color: var(--sample-bar-fg);
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.12em;
  padding: 4px 10px; border-radius: 3px; margin-bottom: 18px;
}
.sample-modal__title { font-size: 20px; font-weight: 700; line-height: 1.6; margin-bottom: 14px; color: #1f2933; }
.sample-modal__text { font-size: 13.5px; line-height: 2; color: #56606b; margin-bottom: 26px; text-align: left; }
.sample-modal__actions { display: flex; flex-direction: column; gap: 10px; }
.sample-modal__button {
  display: block; background: var(--sample-bar-bg); color: var(--sample-bar-fg); text-decoration: none;
  font-size: 15px; font-weight: 700; padding: 16px 20px; border-radius: 11px;
}
.sample-modal__close {
  display: block; width: 100%; background: none; border: 1px solid #d5dbe1; color: #56606b;
  font-family: inherit; font-size: 13.5px; padding: 14px 20px; border-radius: 11px; cursor: pointer;
}
.sample-modal__close:hover { background: #f2f4f6; }

/* ---- 3. 最下部の案内帯（架空フッターの下） ---- */
/* 下の余白は、左下に固定されている SAMPLE バッジに文字が隠されないための逃げ */
.laxis-band {
  position: relative; z-index: 1;
  background: var(--laxis-band-bg); color: var(--laxis-band-fg);
  border-top: 1px solid var(--laxis-band-line);
  font-family: var(--sample-font); text-align: center;
  padding: 32px 6vw 58px;
}
.laxis-band__text { font-size: 12.5px; line-height: 1.95; opacity: 0.85; margin: 0 0 18px; }
.laxis-band__text b { font-weight: 700; }
.laxis-band__text .nb { display: inline-block; }
.laxis-band__actions { display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: center; align-items: center; }
.laxis-band__button {
  display: inline-flex; align-items: center; background: var(--sample-bar-bg); color: var(--sample-bar-fg);
  font-size: 13.5px; font-weight: 700; text-decoration: none; padding: 13px 28px; border-radius: 10px;
}
.laxis-band__back {
  color: inherit; font-size: 12px; opacity: 0.68;
  text-decoration: underline; text-underline-offset: 3px;
}
.laxis-band__back:hover { opacity: 1; }
@media (max-width: 640px) {
  .laxis-band { padding: 28px 20px 82px; }
}

/* ---- 4. フッターの注記 ---- */
.sample-note {
  margin-top: 26px; padding-top: 18px; border-top: 1px solid rgba(128, 128, 128, 0.3);
}
.sample-note p {
  font-family: var(--sample-font); font-size: 12px; line-height: 1.95;
  opacity: 0.9; margin: 0; text-align: left;
}
