/* Yomu-co ランディングページ スタイル (#234)。フレームワーク不使用のプレーンCSS。 */
:root {
  --green: #2e7d32;
  --green-dark: #1b5e20;
  --green-deep: #134a18;
  --cream: #f5efe2;
  --bg: #f7faf3;
  --ink: #1f2a22;
  --muted: #5b655b;
  --line: #e4ebdd;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans",
    "Noto Sans JP", "Yu Gothic", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--green-dark); }
img { max-width: 100%; display: block; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section h2 {
  text-align: center; font-size: 30px; color: var(--green-dark);
  margin: 0 0 8px; letter-spacing: .5px;
}
.section .lead {
  text-align: center; color: var(--muted); margin: 0 auto 44px; max-width: 640px;
}
.eyebrow {
  text-align: center; color: var(--green); font-weight: 700; font-size: 14px;
  letter-spacing: 2px; margin: 0 0 6px;
}

/* ===== ナビ ===== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247,250,243,.86); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; gap: 14px; height: 66px; }
.nav .brand { display: flex; align-items: center; gap: 11px; }
.nav .brand-mark { width: 42px; height: 42px; display: flex; align-items: center; justify-content: center; flex: none; }
.nav .brand-mark img { width: 42px; height: 42px; }
.nav .brand-name { font-weight: 800; font-size: 21px; color: var(--ink); }
.nav .brand-reading { font-size: 11px; color: var(--muted); padding-left: 13px; border-left: 1px solid var(--line); }
.nav .brand-reading b { color: var(--green); font-weight: 700; }
@media (max-width: 960px){ .nav .brand-reading { display: none; } }
.nav .spacer { flex: 1; }
.nav a.link { color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 600; margin: 0 10px; }
.nav a.link:hover { color: var(--green); }
.nav .btn-nav {
  background: var(--green-dark); color: #fff; text-decoration: none; font-weight: 700;
  font-size: 14px; padding: 10px 20px; border-radius: 10px; margin-left: 6px;
}
.nav .btn-nav:hover { background: var(--green-deep); }
@media (max-width: 720px){ .nav a.link { display: none; } }

/* ===== ヒーロー ===== */
.hero {
  background:
    linear-gradient(100deg, rgba(244,249,240,.96) 0%, rgba(244,249,240,.82) 44%, rgba(244,249,240,.42) 100%),
    url("assets/photo-hero.jpg") center/cover no-repeat;
  padding: 72px 0 80px;
}
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hero .hero-badges { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.hero .badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.9); border: 1px solid #d6e0cd;
  color: var(--green-dark); border-radius: 999px; padding: 7px 16px;
  font-weight: 700; font-size: 14px;
}
.hero .badge-free {
  background: #d97706; border-color: #d97706; color: #fff;
}
.hero .reading .yomi { color: var(--green); font-weight: 700; }
.hero h1 { font-size: 54px; line-height: 1.1; margin: 0 0 10px; color: #14241a; letter-spacing: 1px; }
.hero .reading { color: var(--muted); font-weight: 600; margin: 0 0 8px; }
.hero .reading b { color: var(--green); }
.hero .sub { font-size: 19px; color: #33403a; margin: 0 0 26px; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 9px; text-decoration: none;
  border-radius: 14px; padding: 15px 28px; font-weight: 700; font-size: 15.5px;
  transition: transform .14s ease, background .14s ease, border-color .14s ease;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--green-dark); color: #fff; box-shadow: 0 10px 22px rgba(27,94,32,.28); }
.btn-primary:hover { background: var(--green-deep); transform: translateY(-1px); }
.btn-ghost { background: rgba(255,255,255,.9); color: var(--green-dark); border: 1.5px solid #cfe0c4; }
.btn-ghost:hover { border-color: var(--green); background: #fff; }
.hero .note { font-size: 12px; color: var(--muted); margin-top: 14px; }
.hero-stores { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-top: 22px; }
.hero-stores a { display: inline-block; line-height: 0; }
.hero-stores img { display: block; height: 44px !important; width: auto !important; max-width: none; }
.hero-stores a[aria-disabled="true"] { pointer-events: none; }
@media (max-width: 820px){ .hero-stores { justify-content: center; } }

/* 端末モック */
.phone {
  justify-self: center;
  width: 270px; border-radius: 38px; background: #1d231f;
  padding: 12px; box-shadow: 0 24px 60px rgba(20,40,24,.28);
}
.phone img { width: 100%; border-radius: 26px; display: block; }

@media (max-width: 820px){
  .hero .wrap { grid-template-columns: 1fr; text-align: center; }
  .hero h1 { font-size: 42px; }
  .cta-row { justify-content: center; }
  .phone { margin-top: 8px; }
}

/* ===== モード ===== */
.modes { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.mode {
  background: #fff; border: 1px solid var(--line); border-radius: 20px;
  overflow: hidden; box-shadow: 0 6px 22px rgba(20,40,24,.07);
}
.mode .mode-photo { width: 100%; height: 190px; object-fit: cover; display: block; }
.mode .mode-body { padding: 26px 30px 30px; }
.mode h3 { margin: 0 0 4px; font-size: 21px; color: var(--green-dark); }
.mode .tag { color: var(--muted); font-size: 13px; margin: 0 0 14px; font-weight: 600; }
.mode ul { margin: 0; padding-left: 0; list-style: none; }
.mode li { position: relative; padding-left: 26px; margin-bottom: 8px; font-size: 15px; }
.mode li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--green); font-weight: 800;
}
@media (max-width: 720px){ .modes { grid-template-columns: 1fr; } }

/* ===== 画面で見る機能（スクショ showcase） ===== */
.showcase { background: #fff; }
.showcase .sc-row { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 52px; align-items: center; margin-bottom: 56px; }
.showcase .sc-row:last-child { margin-bottom: 0; }
.showcase .sc-row.reverse .sc-shot { order: 2; }
.showcase .sc-shot {
  justify-self: center; width: 248px; background: #1d231f; padding: 9px;
  border-radius: 30px; box-shadow: 0 20px 48px rgba(20,40,24,.20);
}
.showcase .sc-shot img { width: 100%; max-width: none; border-radius: 22px; display: block; }
.showcase .sc-tag {
  display: inline-block; font-size: 12px; font-weight: 700; color: var(--green);
  background: rgba(46,125,50,.10); border-radius: 999px; padding: 4px 13px; margin-bottom: 12px;
}
.showcase h3 { margin: 0 0 12px; font-size: 24px; color: var(--green-dark); }
.showcase .sc-text p { margin: 0 0 14px; color: #3a463e; }
.showcase .sc-text ul { margin: 0; padding-left: 0; list-style: none; }
.showcase .sc-text li { position: relative; padding-left: 26px; margin-bottom: 8px; color: var(--muted); }
.showcase .sc-text li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 800; }
@media (max-width: 820px){
  .showcase .sc-row, .showcase .sc-row.reverse { grid-template-columns: 1fr; gap: 24px; }
  .showcase .sc-row.reverse .sc-shot { order: 0; }
}

/* ===== 特長 ===== */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feat {
  background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 24px;
}
.feat .ic {
  width: 50px; height: 50px; border-radius: 13px; background: rgba(46,125,50,.10);
  display: flex; align-items: center; justify-content: center; margin-bottom: 14px;
  color: var(--green-dark);
}
.feat .ic svg { width: 25px; height: 25px; }
.feat h4 { margin: 0 0 6px; font-size: 17px; }
.feat p { margin: 0; color: var(--muted); font-size: 14px; }
@media (max-width: 820px){ .feat-grid { grid-template-columns: 1fr; } }

/* ===== 使い方 ===== */
.steps-band {
  background: linear-gradient(rgba(19,49,25,.74), rgba(19,49,25,.82)), url("assets/photo-how.jpg") center/cover no-repeat;
}
.steps-band .eyebrow { color: #aed5a6; }
.steps-band h2 { color: #fff; }
.steps-band .lead { color: #d7ead0; }
.steps-band .step h4 { color: #fff; }
.steps-band .step p { color: rgba(255,255,255,.82); }
.steps-band .step .num { background: #fff; color: var(--green-deep); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { text-align: center; }
.step .num {
  width: 52px; height: 52px; border-radius: 50%; background: var(--green-dark); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 22px;
  margin: 0 auto 14px;
}
.step h4 { margin: 0 0 6px; font-size: 17px; }
.step p { margin: 0; color: var(--muted); font-size: 14px; }
@media (max-width: 720px){ .steps { grid-template-columns: 1fr; } }

/* ===== 音声認識の仕組み(tech) ===== */
.tech { background: linear-gradient(rgba(255,255,255,.90), rgba(255,255,255,.93)), url("assets/photo-bg-tech.jpg") center/cover no-repeat; }
.pipeline { display: flex; align-items: stretch; justify-content: center; gap: 6px; flex-wrap: wrap; }
.pipeline .pl-step {
  flex: 1 1 0; min-width: 180px; max-width: 230px; background: var(--bg);
  border: 1px solid var(--line); border-radius: 16px; padding: 22px 18px; text-align: center;
}
.pipeline .pl-ic {
  width: 46px; height: 46px; border-radius: 12px; background: rgba(46,125,50,.10);
  color: var(--green-dark); display: flex; align-items: center; justify-content: center; margin: 0 auto 12px;
}
.pipeline .pl-ic svg { width: 23px; height: 23px; }
.pipeline .pl-step h4 { margin: 0 0 6px; font-size: 16px; }
.pipeline .pl-step p { margin: 0; font-size: 13px; color: var(--muted); }
.pipeline .pl-arrow { align-self: center; color: var(--green); font-size: 28px; font-weight: 700; flex: none; }
.tech-note { max-width: 760px; margin: 30px auto 0; text-align: center; color: var(--muted); font-size: 14px; line-height: 1.85; }
@media (max-width: 820px){
  .pipeline { flex-direction: column; align-items: stretch; gap: 10px; }
  .pipeline .pl-step { max-width: none; }
  .pipeline .pl-arrow { transform: rotate(90deg); }
}

/* ===== 精度向上へのご協力(contribute) ===== */
.contribute {
  background: linear-gradient(rgba(247,250,243,.82), rgba(247,250,243,.58)), url("assets/photo-contribute.jpg") center/cover no-repeat;
}
.contrib-wrap { max-width: 760px; text-align: center; }
.contrib-card {
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  padding: 30px; text-align: left; box-shadow: 0 4px 18px rgba(20,40,24,.05); margin-top: 8px;
}
.contrib-card > p { margin: 0 0 16px; }
.contrib-points { margin: 0 0 16px; padding-left: 0; list-style: none; }
.contrib-points li { position: relative; padding-left: 26px; margin-bottom: 9px; color: #3a463e; }
.contrib-points li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 800; }
.contrib-thanks { margin: 0; color: var(--muted); font-size: 14px; }

/* ===== 法人CTA ===== */
.enterprise {
  background:
    linear-gradient(rgba(19,74,24,.86), rgba(16,52,20,.92)),
    url("assets/photo-enterprise.jpg") center/cover no-repeat;
  color: #fff;
}
.enterprise h2 { color: #fff; }
.enterprise .lead { color: #cfe8c8; }
.ent-points { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 26px; }
.ent-points div { display: inline-flex; align-items: center; gap: 9px; background: rgba(255,255,255,.12); border-radius: 12px; padding: 12px 18px; font-size: 14px; font-weight: 600; }
.ent-points svg { width: 19px; height: 19px; color: #cfe8c8; flex: none; }
.ent-cta { display: inline-block; background: #fff; color: var(--green-dark); text-decoration: none; font-weight: 800; border-radius: 12px; padding: 15px 30px; }
.enterprise .note { color: rgba(255,255,255,.85); font-size: 13px; margin-top: 14px; }

/* ===== よくある質問(FAQ) ===== */
.faq { background: #fff; }
.faq-wrap { max-width: 820px; }
.faq-list { margin-top: 8px; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  cursor: pointer; padding: 20px 4px; font-weight: 700; font-size: 17px; color: var(--ink);
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "＋"; color: var(--green); font-weight: 700; font-size: 22px; line-height: 1; flex: none; }
.faq-item[open] summary::after { content: "－"; }
.faq-item summary:hover { color: var(--green-dark); }
.faq-item .faq-a { padding: 0 4px 22px; color: var(--muted); line-height: 1.85; font-size: 15px; }

/* ===== ダウンロード ===== */
.download {
  text-align: center;
  background:
    linear-gradient(rgba(247,250,243,.90), rgba(247,250,243,.93)),
    url("assets/photo-download.jpg") center/cover no-repeat;
}
/* 両バッジとも余白をトリムした等倍アート。同じ height で同サイズに揃える。 */
.store-badges { display: flex; gap: 20px; justify-content: center; align-items: center; flex-wrap: wrap; }
.store-badges a { display: inline-block; line-height: 0; }
.store-badges img { height: 50px; width: auto; display: block; max-width: none; }
.store-badges a[aria-disabled="true"] { pointer-events: none; opacity: .92; }

/* ===== プロダクトファミリー ===== */
.family { background: var(--cream); }
.fam-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.fam {
  display: block; background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 24px; text-decoration: none; color: var(--ink);
  transition: transform .14s ease, box-shadow .14s ease, border-color .14s ease;
}
a.fam:hover { border-color: var(--green); box-shadow: 0 10px 24px rgba(20,40,24,.10); transform: translateY(-2px); }
.fam h4 { margin: 0 0 8px; font-size: 18px; color: var(--green-dark); }
.fam p { margin: 0 0 14px; font-size: 14px; color: var(--muted); }
.fam .more { font-size: 13px; font-weight: 700; color: var(--green); }
.fam.current { border: 1.5px solid var(--green); background: #f3f8ef; }
.fam .pill { font-size: 11px; background: var(--green); color: #fff; border-radius: 999px; padding: 2px 9px; vertical-align: middle; margin-left: 6px; font-weight: 700; }
@media (max-width: 720px){ .fam-grid { grid-template-columns: 1fr; } }

/* ===== フッター ===== */
footer { background: #fff; border-top: 1px solid var(--line); text-align: center; padding: 44px 20px; color: var(--muted); font-size: 14px; }
footer .credit-logo { height: 40px; margin: 0 auto 10px; width: auto; }
footer .company { margin-top: 6px; }
footer .company a { font-weight: 700; text-decoration: none; }
footer .links { margin-top: 12px; }
footer .links a { margin: 0 10px; }

/* ===== 文書ページ ===== */
.doc { background: #fff; }
.doc .wrap { max-width: 800px; padding: 48px 24px; }
.doc h1 { color: var(--green-dark); font-size: 28px; }
.doc h2 { color: var(--green-dark); font-size: 20px; margin-top: 28px; }
.doc .back { display: inline-block; margin-bottom: 16px; font-weight: 600; text-decoration: none; }
