/* Lunchmeel 紹介サイト
   色：サンドイッチの3色（レタスの黄緑・卵の黄色・パンの白）＋ レタスの濃い色の背景
   フォント：Noto Sans JP をこのサイトから配信（セルフホスティング。外部のフォント配信は使わない）
             文字ごとに分割したファイルを /assets/fonts/noto-sans-jp/fonts.css で定義。
             ブラウザーはページで使う文字を含むファイルだけを読み込むので、文章を書き足してもそのまま使える */

:root {
  --bg: #142409;
  --bg2: #1c3010;
  --card: #213814;
  --bread: #fbf4e4;
  --muted: #bccaa5;
  --lettuce: #9bcb3b;
  --egg: #f6c443;
  --ink: #142409;
  --line: rgba(251, 244, 228, 0.14);
  --radius: 18px;
  --wrap: 1080px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--bread);
  font: 16px/1.8 "Noto Sans JP Variable", "Hiragino Sans", "Yu Gothic UI", "Meiryo", system-ui, sans-serif;
  font-feature-settings: "palt";
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--egg); text-underline-offset: 3px; }
a:hover { color: #ffd76a; }
:focus-visible { outline: 3px solid var(--egg); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }

/* ───────── ヘッダー */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(20, 36, 9, 0.88);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--bread); font-weight: 800; font-size: 22px; letter-spacing: -0.02em; }
.brand:hover { color: var(--bread); }
.brand img { width: 26px; height: 30px; }
.brand b { color: var(--lettuce); }
.nav { display: flex; gap: 4px 18px; flex-wrap: wrap; justify-content: flex-end; font-size: 14px; font-weight: 700; }
.nav a { color: var(--muted); text-decoration: none; }
.nav a:hover { color: var(--bread); }
@media (max-width: 640px) {
  .site-header .wrap { min-height: 56px; }
  .nav .opt { display: none; }
}

/* ───────── ヒーロー */
.hero { padding: clamp(40px, 7vw, 88px) 0 clamp(36px, 6vw, 72px); background: radial-gradient(120% 70% at 50% 0%, #26421a 0%, rgba(20, 36, 9, 0) 70%); }
.hero .wrap { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(28px, 5vw, 56px); align-items: center; }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; } }
.eyebrow { margin: 0 0 12px; color: var(--egg); font-weight: 800; font-size: 14px; letter-spacing: 0.12em; }
h1 { margin: 0; font-size: clamp(34px, 5.4vw, 56px); line-height: 1.2; letter-spacing: -0.01em; }
.lead { margin: 18px 0 0; color: var(--muted); font-size: clamp(16px, 1.7vw, 18px); }
.lead strong { color: var(--bread); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 10px 22px; border-radius: 999px;
  font-weight: 800; font-size: 15px; text-decoration: none;
  border: 1.5px solid var(--line); color: var(--bread);
}
.btn:hover { color: var(--bread); border-color: var(--muted); }
.btn.primary { background: var(--lettuce); border-color: var(--lettuce); color: var(--ink); }
.btn.primary:hover { color: var(--ink); filter: brightness(1.06); }
.btn.soon { background: transparent; border-style: dashed; color: var(--muted); cursor: default; }
.note { margin: 12px 0 0; color: var(--muted); font-size: 13px; }

.screen {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
  background: #0d1806;
}
.screen.tilt { transform: perspective(1400px) rotateY(-6deg) rotateX(2deg); }
@media (max-width: 860px) { .screen.tilt { transform: none; } }

/* ───────── セクション共通 */
section { padding: clamp(48px, 7vw, 88px) 0; }
section + section { border-top: 1px solid var(--line); }
h2 { margin: 0 0 8px; font-size: clamp(26px, 3.4vw, 36px); line-height: 1.35; }
.sub { margin: 0 0 32px; color: var(--muted); }

/* 名前の由来 */
.name-note { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin-top: 22px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg2); font-size: 14px; color: var(--muted); }
.name-note b { color: var(--bread); }
.name-note .eq { color: var(--lettuce); font-weight: 800; }

/* 特長 */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 960px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .features { grid-template-columns: 1fr; } }
.feature { padding: 22px 20px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.feature .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(155, 203, 59, 0.16); color: var(--lettuce); font-size: 22px; font-weight: 900; }
.feature h3 { margin: 14px 0 6px; font-size: 18px; }
.feature p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.75; }

/* 使い方 */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(40px, 6vw, 72px); counter-reset: step; }
.step { display: grid; grid-template-columns: 0.9fr 1.3fr; gap: clamp(20px, 4vw, 48px); align-items: center; }
.step:nth-child(even) .step-text { order: 2; }
@media (max-width: 860px) {
  .step { grid-template-columns: 1fr; }
  .step:nth-child(even) .step-text { order: 0; }
}
.step-num { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--lettuce); color: var(--ink); font-weight: 900; font-size: 18px; }
.step h3 { margin: 12px 0 8px; font-size: clamp(20px, 2.4vw, 26px); line-height: 1.4; }
.step p { margin: 0 0 10px; color: var(--muted); }
.say { display: inline-block; padding: 1px 12px 2px; margin: 2px 2px; border-radius: 999px; border: 1.5px solid var(--lettuce); color: var(--bread); font-weight: 800; white-space: nowrap; }
.say::before { content: "「"; color: var(--lettuce); }
.say::after { content: "」"; color: var(--lettuce); }
.step-fig { margin: 0; }
.step-fig.narrow { max-width: 260px; justify-self: center; }
.step-fig figcaption { margin-top: 8px; font-size: 13px; color: var(--muted); text-align: center; }
.store-illust {
  display: grid; place-items: center; gap: 14px; padding: 36px 20px; border-radius: var(--radius);
  background: var(--card); border: 1px solid var(--line); text-align: center;
}
.store-illust img { width: 96px; height: 96px; }
.store-illust .fake-btn { padding: 8px 20px; border-radius: 999px; background: var(--lettuce); color: var(--ink); font-weight: 800; font-size: 14px; }

/* コマンド一覧 */
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; min-width: 560px; }
th, td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--bg2); color: var(--egg); font-size: 14px; }
tbody tr:last-child td { border-bottom: 0; }
td:first-child { white-space: nowrap; }
.langs { margin-top: 20px; color: var(--muted); font-size: 14px; }
.langs span { display: inline-block; margin: 4px 6px 0 0; padding: 2px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--bread); }

/* 動作環境・注意 */
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 760px) { .two { grid-template-columns: 1fr; } }
.box { padding: 24px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.box h3 { margin: 0 0 10px; font-size: 18px; color: var(--egg); }
.box ul { margin: 0; padding-left: 1.2em; }
.box li { margin: 4px 0; }
.box li::marker { color: var(--lettuce); }

/* よくある質問 */
.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: 14px; background: var(--card); }
.faq summary { cursor: pointer; padding: 16px 20px; font-weight: 800; list-style: none; position: relative; padding-right: 48px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); color: var(--lettuce); font-size: 22px; }
.faq details[open] summary::after { content: "−"; }
.faq .a { padding: 0 20px 18px; color: var(--muted); }
.faq .a p { margin: 0 0 8px; }
.faq .a ul { margin: 0; padding-left: 1.2em; }

/* 文書ページ（プライバシーポリシー） */
.doc { padding: clamp(36px, 6vw, 64px) 0 80px; }
.doc .wrap { max-width: 780px; }
.doc h1 { font-size: clamp(26px, 3.6vw, 34px); line-height: 1.4; }
.doc h2 { margin-top: 48px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 24px; color: var(--lettuce); }
.doc h3 { margin-top: 28px; font-size: 17px; color: var(--egg); }
.doc ul { padding-left: 1.3em; }
.doc li { margin: 6px 0; }
.doc a { word-break: break-all; }
.doc strong { color: #fff; }

/* フッター */
.site-footer { border-top: 1px solid var(--line); padding: 36px 0 48px; color: var(--muted); font-size: 13px; }
.site-footer .links { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-bottom: 14px; font-size: 14px; font-weight: 700; }
.site-footer .links a { color: var(--bread); text-decoration: none; }
.site-footer .links a:hover { color: var(--egg); }
.site-footer p { margin: 6px 0; }

/* 404 */
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.notfound h1 { font-size: clamp(30px, 5vw, 44px); }

kbd { display: inline-block; padding: 0 7px; border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 6px; background: var(--bg2); font: 700 13px/1.6 ui-monospace, "SFMono-Regular", Consolas, monospace; color: var(--bread); }
.page-head { padding: clamp(36px, 6vw, 64px) 0 8px; }
.page-head h1 { font-size: clamp(28px, 4vw, 40px); }
.page-head .sub { margin-top: 10px; }
.faq-wrap { max-width: 820px; }
.faq-wrap h2 { margin-top: 40px; font-size: 20px; color: var(--egg); }
.faq-wrap h2:first-child { margin-top: 0; }
.faq .a table { min-width: 0; }
.faq .a .table-scroll { margin-top: 8px; border-radius: 12px; }
.faq .a td, .faq .a th { padding: 8px 12px; font-size: 14px; }
.faq .a td:first-child { white-space: normal; }
.faq-body { border-top: 0; padding-top: 16px; }
.after-table { margin-top: 10px !important; }
code { padding: 1px 6px; border-radius: 6px; background: var(--bg2); font: 13px/1.6 ui-monospace, "SFMono-Regular", Consolas, monospace; color: var(--bread); word-break: break-all; }
#nf-cta { justify-content: center; }
