/* 株式会社檸檬企画 外国語メニュー制作
   方針: 白地に濃い緑の文字、レモンの黄色を1色だけ差す。飲食店オーナーがスマホで読む前提で、1列・大きめの文字。 */
:root {
  --bg: #fbfbf7;
  --surface: #ffffff;
  --fg: #1f2421;
  --muted: #59615b;
  --line: #e0e3da;
  --lemon: #f2c200;
  --lemon-soft: #fff5cc;
  --ink: #23402f;
  --ink-dark: #18301f;
  --ok: #2c7a4b;
  --warn: #a23b2a;
  --font: "Zen Kaku Gothic New", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--font); font-size: 16px; line-height: 1.85; padding-bottom: 76px; }
@media (min-width: 900px) { body { padding-bottom: 0; } }
img { max-width: 100%; height: auto; }
a { color: var(--ink); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, summary:focus-visible { outline: 3px solid var(--lemon); outline-offset: 2px; }
h1, h2, h3 { line-height: 1.4; text-wrap: balance; margin: 0; }
p { margin: 0; }
.wrap { max-width: 1040px; margin: 0 auto; padding-inline: 20px; }
.narrow { max-width: 760px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 50; }
.skip:focus { left: 8px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* header */
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 10px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--fg); font-weight: 700; line-height: 1.3; }
.brand-mark { width: 28px; height: 28px; border-radius: 50% 50% 50% 8px; background: var(--lemon); flex: none; }
.brand small { display: block; font-weight: 400; font-size: 12px; color: var(--muted); }
.nav { display: flex; gap: 20px; font-size: 14px; }
.nav a { text-decoration: none; color: var(--fg); }
.nav a:hover, .nav a[aria-current] { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 899px) { .nav { display: none; } }

.crumbs { font-size: 13px; color: var(--muted); padding-block: 12px 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a { color: var(--muted); }
.crumbs .sep { opacity: .5; }

/* buttons */
.btn { display: inline-block; background: var(--ink); color: #fff; text-decoration: none; font-weight: 700; padding: 13px 22px; border-radius: 8px; border: 0; font: inherit; font-weight: 700; cursor: pointer; text-align: center; line-height: 1.5; }
.btn:hover { background: var(--ink-dark); }
.btn.small { padding: 7px 14px; font-size: 14px; }
.btn.ghost { background: transparent; color: var(--ink); border: 2px solid var(--ink); }
.btn.ghost:hover { background: var(--lemon-soft); }
.btn.lemon { background: var(--lemon); color: var(--fg); }
.btn.lemon:hover { background: #e3b500; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

.cta-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: rgba(255,255,255,.96); border-top: 1px solid var(--line); padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); display: flex; }
.cta-bar .btn { flex: 1; }
@media (min-width: 900px) { .cta-bar { display: none; } }
body.no-bar { padding-bottom: 0; }
body.no-bar .cta-bar { display: none; }

/* hero */
.hero { padding-block: 40px 48px; background: linear-gradient(180deg, var(--lemon-soft), var(--bg)); }
.hero .wrap { display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: center; }
.hero > .wrap > * { min-width: 0; }
.hero h1 { font-size: clamp(27px, 4.4vw, 42px); font-weight: 900; }
.nw { display: inline-block; }
.hero .lead { margin-top: 14px; color: var(--muted); max-width: 34em; }
.hero .points { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 6px; }
.hero .points li { display: flex; gap: 8px; align-items: baseline; }
.hero .points li::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--lemon); flex: none; transform: translateY(-1px); }
.hero .cta-row { margin-top: 22px; }
.hero .sub-note { margin-top: 10px; font-size: 13px; color: var(--muted); }
@media (max-width: 899px) { .hero .wrap { grid-template-columns: 1fr; } }

.page-head { padding-block: 28px 8px; }
.page-head h1 { font-size: clamp(25px, 3.8vw, 34px); font-weight: 900; }
.page-head .lead { margin-top: 10px; color: var(--muted); max-width: 40em; }

/* phone mock */
.phone { justify-self: center; width: min(300px, 100%); background: #141414; border-radius: 32px; padding: 11px; box-shadow: 0 18px 40px rgba(31,36,33,.18); }
.phone-screen { background: #0d0b0e; color: #f5f1f4; border-radius: 22px; overflow: hidden; font-size: 13px; }
.phone-top { text-align: center; padding: 14px 12px 8px; }
.phone-top .s { font-size: 10px; letter-spacing: .3em; color: #b3a9b0; }
.phone-top .l { font-size: 24px; font-weight: 900; letter-spacing: .1em; line-height: 1.1; }
.phone-langs { display: flex; gap: 5px; justify-content: center; padding: 6px 8px 10px; border-bottom: 1px solid #2d2630; }
.phone-langs span { font-size: 10px; padding: 1px 8px; border-radius: 999px; border: 1px solid #2d2630; }
.phone-langs span.on { background: #ff5cc8; border-color: #ff5cc8; color: #1a0613; font-weight: 700; }
.phone-sec { padding: 8px 12px 2px; color: #ff5cc8; font-weight: 700; letter-spacing: .06em; font-size: 12px; }
.phone-item { padding: 6px 12px; border-bottom: 1px solid #2d2630; display: grid; gap: 0; }
.phone-item .r { display: flex; justify-content: space-between; gap: 8px; font-weight: 700; }
.phone-item .r span:last-child { font-variant-numeric: tabular-nums; white-space: nowrap; }
.phone-item .j { font-size: 10px; color: #b3a9b0; }
.phone-cap { text-align: center; font-size: 12px; color: var(--muted); margin-top: 10px; }

/* sections */
section.sec { padding-block: 56px; }
section.sec.alt { background: var(--surface); border-block: 1px solid var(--line); }
section.sec.tight { padding-block: 32px; }
.sec-head { display: grid; gap: 8px; margin-bottom: 26px; max-width: 46em; }
.eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; color: var(--muted); text-transform: uppercase; }
.sec-head h2 { font-size: clamp(22px, 3.2vw, 30px); font-weight: 900; }
.sec-head p { color: var(--muted); }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.grid > * { min-width: 0; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 22px; display: grid; gap: 8px; align-content: start; }
.card h3 { font-size: 18px; }
.card p { color: var(--muted); font-size: 15px; }
.badge { font-family: var(--mono); font-size: 12px; color: var(--ink); background: var(--lemon-soft); border-radius: 4px; padding: 0 8px; justify-self: start; }

.pains { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.pains li { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; font-weight: 700; }
.fact-line { margin-top: 18px; font-size: 14px; color: var(--muted); }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 24px; display: grid; gap: 10px; align-content: start; min-width: 0; }
.plan.pick { border: 2px solid var(--ink); position: relative; }
.plan .tag { font-size: 12px; font-weight: 700; color: var(--ink); background: var(--lemon); border-radius: 999px; padding: 2px 10px; justify-self: start; }
.plan h3 { font-size: 19px; }
.price { font-size: 34px; font-weight: 900; font-variant-numeric: tabular-nums; line-height: 1.2; }
.price small { font-size: 14px; font-weight: 400; color: var(--muted); margin-left: 4px; }
.plan ul { margin: 0; padding-left: 1.2em; font-size: 14.5px; display: grid; gap: 2px; }
.included { margin-top: 18px; background: var(--lemon-soft); border-radius: 10px; padding: 14px 18px; font-size: 15px; }
.included b { margin-right: 6px; }

.tbl { overflow-x: auto; margin-top: 20px; }
table { border-collapse: collapse; width: 100%; font-size: 15px; background: var(--surface); }
th, td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--lemon-soft); white-space: nowrap; }
td.num { font-variant-numeric: tabular-nums; white-space: nowrap; font-weight: 700; }
.note { font-size: 13px; color: var(--muted); margin-top: 10px; }
table.compare td:first-child { font-weight: 700; white-space: nowrap; }
table.compare .us { background: #fffbe8; }

/* reasons */
.reasons { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 0 32px; counter-reset: r; }
.reasons > div { min-width: 0; padding: 18px 0; border-top: 1px solid var(--line); display: grid; gap: 6px; }
.reasons h3 { font-size: 17px; }
.reasons p { color: var(--muted); font-size: 15px; }

/* flow */
.flow { list-style: none; padding: 0; margin: 0; counter-reset: f; }
.flow li { counter-increment: f; display: grid; grid-template-columns: 48px 1fr; gap: 14px; padding: 16px 0; border-top: 1px solid var(--line); }
.flow li:first-child { border-top: 0; }
.flow li::before { content: counter(f); width: 38px; height: 38px; border-radius: 50%; background: var(--lemon); font-weight: 900; display: grid; place-items: center; font-family: var(--mono); }
.flow h3 { font-size: 17px; }
.flow p { color: var(--muted); font-size: 15px; }
.flow .when { font-family: var(--mono); font-size: 12px; color: var(--ink); background: var(--lemon-soft); padding: 0 6px; border-radius: 4px; margin-left: 6px; }

/* example (before/after) */
.ba { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: stretch; }
.ba > div { min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 16px; }
.ba .arrow { align-self: center; font-size: 22px; color: var(--muted); border: 0; background: none; padding: 0; }
.ba .lbl { font-size: 12px; color: var(--muted); }
@media (max-width: 640px) { .ba { grid-template-columns: 1fr; } .ba .arrow { transform: rotate(90deg); justify-self: center; } }

/* faq */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 14px 18px; }
.faq summary { cursor: pointer; font-weight: 700; }
.faq details > div { margin-top: 10px; color: var(--muted); font-size: 15px; display: grid; gap: 8px; }

/* final cta */
.final { background: var(--ink); color: #fff; border-radius: 14px; padding: 36px 28px; display: grid; gap: 14px; }
.final h2 { font-size: clamp(22px, 3.2vw, 28px); }
.final p { opacity: .92; }
.final .btn { background: var(--lemon); color: var(--fg); }
.final .btn.ghost { background: transparent; color: #fff; border-color: #fff; }
.final .copyable { font-family: var(--mono); }

/* company */
dl.kv { display: grid; grid-template-columns: 9em 1fr; margin: 0; font-size: 15px; }
dl.kv dt, dl.kv dd { padding: 11px 0; border-bottom: 1px solid var(--line); margin: 0; }
dl.kv dt { color: var(--muted); }
@media (max-width: 520px) { dl.kv { grid-template-columns: 1fr; } dl.kv dt { border-bottom: 0; padding-bottom: 0; } }

/* article */
.article { padding-block: 16px 56px; }
.article .body { display: grid; gap: 18px; }
.article h2 { font-size: 22px; margin-top: 20px; padding-left: 12px; border-left: 5px solid var(--lemon); }
.article h3 { font-size: 18px; margin-top: 8px; }
.article ul, .article ol { margin: 0; padding-left: 1.4em; display: grid; gap: 4px; }
.article .meta { font-size: 13px; color: var(--muted); }
.article .summary { background: var(--lemon-soft); border-radius: 10px; padding: 16px 18px; }
.article .summary ul { margin-top: 6px; }
.callout { background: var(--surface); border: 1px solid var(--line); border-left: 5px solid var(--ink); border-radius: 8px; padding: 14px 18px; }
.ex { font-family: var(--mono); font-size: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; white-space: pre-wrap; }

.list-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.list-links a { display: block; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 16px 18px; text-decoration: none; color: var(--fg); }
.list-links a:hover { border-color: var(--ink); }
.list-links b { display: block; font-size: 17px; }
.list-links span { font-size: 14px; color: var(--muted); }

/* form */
.form { display: grid; gap: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 24px; }
.field { display: grid; gap: 6px; }
.field > label, .field > legend { font-weight: 700; }
.req, .opt { font-size: 11px; font-weight: 700; border-radius: 4px; padding: 1px 6px; margin-left: 6px; vertical-align: 2px; }
.req { background: var(--warn); color: #fff; }
.opt { background: var(--line); color: var(--muted); }
.field input[type=text], .field input[type=email], .field input[type=tel], .field textarea { font: inherit; padding: 11px 12px; border: 1px solid #c9cdc3; border-radius: 8px; background: #fff; width: 100%; }
.field textarea { min-height: 110px; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.choices { display: grid; gap: 8px; }
.choices label { display: flex; gap: 10px; align-items: flex-start; border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; cursor: pointer; background: #fff; }
.choices input { margin-top: 6px; }
.choices small { display: block; color: var(--muted); font-size: 13px; }
.hint { font-size: 13px; color: var(--muted); }
.drop { border: 2px dashed #c9cdc3; border-radius: 10px; padding: 18px; text-align: center; background: var(--bg); }
.drop input { display: block; margin: 8px auto 0; max-width: 100%; }
.thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; justify-content: center; }
.thumbs img { width: 72px; height: 72px; object-fit: cover; border-radius: 6px; border: 1px solid var(--line); }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { border-radius: 8px; padding: 14px 16px; font-weight: 700; }
.form-status.ok { background: #e7f4ec; color: var(--ok); }
.form-status.err { background: #fbeceb; color: var(--warn); }

/* footer */
.site-footer { margin-top: 40px; background: var(--surface); border-top: 1px solid var(--line); padding-block: 32px 20px; font-size: 14px; color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; }
.footer-grid > * { min-width: 0; }
.footer-name { font-weight: 700; color: var(--fg); }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 16px; }
.footer-links a { color: var(--muted); }
.copyright { margin-top: 20px; font-size: 12px; }
@media (max-width: 640px) { .footer-grid { grid-template-columns: 1fr; } }
.copyable { user-select: all; }
