/* ============================================================
   フリーアプリケーション LP — Design Tokens & Styles
   ============================================================ */

:root {
  /* Colors — soft, friendly blue on a cool white */
  --bg:           #f3f6fb;
  --bg-2:         #eaf1fb;
  --surface:      #ffffff;
  --surface-tint: #eef4fe;
  --ink:          #1d3151;   /* navy headings */
  --ink-soft:     #4f5f78;   /* body */
  --muted:        #8593a8;
  --line:         #e4eaf3;
  --line-soft:    #eef2f8;

  --primary:        #3c7eef;
  --primary-strong: #2a62c8;
  --primary-ink:    #1c4aa0;
  --primary-tint:   #e8f1fe;
  --primary-tint-2: #d8e7fd;

  --accent:       #f3a83c;   /* warm amber — used sparingly */
  --accent-tint:  #fdf0d9;
  --ok:           #2ba56d;
  --ok-tint:      #e3f5ec;

  /* Radii */
  --r-xs: 8px;
  --r-sm: 12px;
  --r:    18px;
  --r-lg: 26px;
  --r-xl: 36px;
  --pill: 999px;

  /* Shadows */
  --sh-sm: 0 2px 10px rgba(29,49,81,.06);
  --sh-md: 0 12px 32px rgba(29,49,81,.10);
  --sh-lg: 0 28px 64px rgba(29,49,81,.16);
  --sh-blue: 0 16px 36px rgba(60,126,239,.28);

  /* Type */
  --font-disp: "Zen Maru Gothic", "Noto Sans JP", sans-serif;
  --font-body: "Noto Sans JP", "Zen Maru Gothic", sans-serif;

  --maxw: 1140px;
}

* { box-sizing: border-box; }

html, body { overflow-x: hidden; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink-soft);
  background: var(--bg);
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  letter-spacing: .01em;
}

h1, h2, h3, h4 {
  font-family: var(--font-disp);
  color: var(--ink);
  line-height: 1.4;
  margin: 0;
  font-weight: 700;
  letter-spacing: .02em;
}

p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: clamp(64px, 9vw, 120px) 0; }

/* ---------- Reusable bits ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-disp);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .08em;
  color: var(--primary-ink);
  background: var(--primary-tint);
  padding: 7px 16px;
  border-radius: var(--pill);
}
.eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--primary);
}

.section-head { text-align: center; max-width: 720px; margin: 0 auto clamp(40px, 6vw, 64px); }
.section-head h2 {
  font-size: clamp(1.7rem, 3.6vw, 2.5rem);
  font-weight: 900;
  margin: 20px 0 0;
}
.section-head p { margin-top: 18px; font-size: clamp(15px, 1.6vw, 17px); }

.lead-strong { color: var(--ink); font-weight: 700; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-disp);
  font-weight: 700;
  font-size: 16px;
  border-radius: var(--pill);
  padding: 16px 30px;
  cursor: pointer;
  border: 0;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  white-space: nowrap;
}
.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(3px); }

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--sh-blue);
}
.btn-primary:hover { background: var(--primary-strong); transform: translateY(-2px); }

.btn-ghost {
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--sh-sm);
  border: 1.5px solid var(--line);
}
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--primary-tint-2); color: var(--primary-ink); }

.btn-lg { padding: 19px 38px; font-size: 17px; }

.btn-white { background: #fff; color: var(--primary-ink); box-shadow: var(--sh-md); }
.btn-white:hover { transform: translateY(-2px); }

.btn-outline-white {
  background: rgba(255,255,255,.08);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.5);
}
.btn-outline-white:hover { background: rgba(255,255,255,.16); transform: translateY(-2px); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(243,246,251,.82);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, background .25s ease;
}
.site-header.scrolled {
  background: rgba(255,255,255,.9);
  border-bottom-color: var(--line);
}
.header-inner {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand { display: flex; align-items: center; gap: 11px; }
.brand-icon-img { height: 36px !important; width: auto !important; max-width: none !important; display: block; flex: none; }
.footer-icon-img { height: 42px !important; filter: invert(1); }
.brand-mark {
  width: 38px; height: 38px;
  border-radius: 11px;
  background: var(--primary);
  display: grid; place-items: center;
  box-shadow: var(--sh-blue);
  flex: none;
}
.brand-mark span {
  width: 16px; height: 16px;
  border-radius: 5px;
  background: #fff;
  position: relative;
}
.brand-mark span::after {
  content: "";
  position: absolute; inset: 4px 4px auto auto;
  width: 6px; height: 6px; border-radius: 2px;
  background: var(--accent);
  top: 3px; right: 3px;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text b { font-family: var(--font-disp); font-weight: 900; color: var(--ink); font-size: 18px; letter-spacing: .03em; }
.brand-text small { font-size: 11px; color: var(--muted); letter-spacing: .14em; font-weight: 500; }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a {
  font-size: 14.5px; font-weight: 500; color: var(--ink-soft);
  transition: color .15s ease;
  white-space: nowrap;
}
.nav a:hover { color: var(--primary-ink); }
.header-cta { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.header-cta .btn { padding: 12px 22px; font-size: 14.5px; white-space: nowrap; }
.brand-text b { white-space: nowrap; }

.menu-toggle { display: none; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 7vw, 96px) 0 clamp(64px, 9vw, 120px);
}
.hero::before {
  content: "";
  position: absolute;
  top: -240px; right: -160px;
  width: 720px; height: 720px;
  background: radial-gradient(circle at center, rgba(60,126,239,.16), transparent 62%);
  z-index: 0;
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  bottom: -260px; left: -180px;
  width: 620px; height: 620px;
  background: radial-gradient(circle at center, rgba(243,168,60,.12), transparent 64%);
  z-index: 0;
  pointer-events: none;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}
.hero-copy { max-width: 560px; }
.hero h1 {
  font-size: clamp(1.9rem, 3.4vw, 2.5rem);
  font-weight: 900;
  line-height: 1.42;
  letter-spacing: .01em;
  margin: 22px 0 0;
  word-break: keep-all;
}
.hero h1 .hl {
  position: relative;
  color: var(--primary-ink);
  white-space: nowrap;
}
.hero h1 .hl::after {
  content: "";
  position: absolute;
  left: -2px; right: -2px; bottom: 4px;
  height: 14px;
  background: var(--accent-tint);
  border-radius: 6px;
  z-index: -1;
}
.hero-sub {
  margin-top: 26px;
  font-size: clamp(15px, 1.7vw, 17.5px);
  line-height: 2;
  color: var(--ink-soft);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-trust {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
}
.hero-trust span {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13.5px; font-weight: 500; color: var(--ink-soft);
}
.check-ic {
  width: 19px; height: 19px; border-radius: 50%;
  background: var(--ok-tint);
  display: grid; place-items: center; flex: none;
}
.check-ic::after {
  content: "";
  width: 5px; height: 9px;
  border: solid var(--ok);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) translate(-1px,-1px);
}

/* ---------- Hero visual / mockups ---------- */
.hero-visual { position: relative; min-height: 480px; }

.device-pc {
  position: relative;
  z-index: 1;
  width: 100%;
  background: var(--surface);
  border-radius: 16px 16px 14px 14px;
  box-shadow: var(--sh-lg);
  border: 1px solid var(--line);
  overflow: hidden;
}
.pc-bar {
  height: 38px;
  display: flex; align-items: center; gap: 7px;
  padding: 0 15px;
  background: #f7f9fc;
  border-bottom: 1px solid var(--line-soft);
}
.pc-bar i { width: 11px; height: 11px; border-radius: 50%; background: #d9e0ec; }
.pc-bar i:nth-child(1){ background:#ffbcb0; } .pc-bar i:nth-child(2){ background:#ffe0a3; } .pc-bar i:nth-child(3){ background:#bfe6c6; }
.pc-bar .url {
  margin-left: 10px; flex: 1; max-width: 260px;
  height: 22px; border-radius: 7px;
  background: #fff; border: 1px solid var(--line);
  display: flex; align-items: center; padding: 0 10px;
  font-size: 11px; color: var(--muted); font-family: var(--font-body);
}

.device-phone {
  position: absolute;
  z-index: 2;
  right: -14px; bottom: -36px;
  width: 210px;
  background: #0f1729;
  border-radius: 30px;
  padding: 8px;
  box-shadow: var(--sh-lg);
}
.phone-screen {
  position: relative;
  border-radius: 23px;
  overflow: hidden;
  background: #f4f7fb;
  aspect-ratio: 210 / 430;
}
.phone-notch {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 86px; height: 19px; background: #0f1729;
  border-radius: 0 0 14px 14px; z-index: 5;
}

.phone-switch-row {
  position: absolute;
  left: 0; bottom: -64px; width: 100%;
  display: flex; justify-content: center; gap: 8px;
}
.phone-switch-row b {
  display: none;
}

/* ============================================================
   APP MOCKUP UI (shared by PC + phone)
   ============================================================ */
.appui { font-family: var(--font-body); color: var(--ink); }
.appui-top {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line-soft);
}
.appui-top .at-ic {
  width: 26px; height: 26px; border-radius: 8px;
  background: var(--primary-tint); flex: none;
  display: grid; place-items: center;
}
.appui-top .at-ic b { width: 11px; height: 11px; border-radius: 3px; background: var(--primary); }
.appui-top h5 { font-family: var(--font-disp); font-weight: 700; font-size: 14px; margin: 0; color: var(--ink); }
.appui-top .at-search {
  margin-left: auto; height: 24px; width: 90px; border-radius: 7px;
  background: #f1f5fb; border: 1px solid var(--line);
}

/* PC dashboard layout */
.pc-body { display: flex; min-height: 320px; }
.pc-side {
  width: 152px; flex: none;
  background: #fafbfe;
  border-right: 1px solid var(--line-soft);
  padding: 16px 12px;
}
.pc-side .ps-row {
  display: flex; align-items: center; gap: 9px;
  padding: 9px 10px; border-radius: 9px; margin-bottom: 3px;
}
.pc-side .ps-row.on { background: var(--primary-tint); }
.pc-side .ps-row i { width: 14px; height: 14px; border-radius: 4px; background: #d6deeb; flex: none; }
.pc-side .ps-row.on i { background: var(--primary); }
.pc-side .ps-row span { height: 8px; border-radius: 4px; background: #d6deeb; }
.pc-side .ps-row.on span { background: var(--primary-tint-2); }
.pc-main { flex: 1; padding: 18px 20px; min-width: 0; }

.stat-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-bottom: 18px; }
.stat-card {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 13px 14px;
}
.stat-card .sc-num { font-family: var(--font-disp); font-weight: 900; font-size: 22px; color: var(--ink); line-height: 1; }
.stat-card .sc-lbl { font-size: 11px; color: var(--muted); margin-top: 6px; }
.stat-card.alt .sc-num { color: var(--primary); }
.stat-card.alt2 .sc-num { color: var(--accent); }

.tbl { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.tbl .tr {
  display: grid; grid-template-columns: 24px 1.4fr 1fr 78px;
  align-items: center; gap: 10px;
  padding: 11px 14px;
  border-bottom: 1px solid var(--line-soft);
}
.tbl .tr:last-child { border-bottom: 0; }
.tbl .tr.head { background: #f8fafd; }
.tbl .tr.head span { height: 7px; background: #cfd8e7; border-radius: 4px; }
.tbl .av { width: 22px; height: 22px; border-radius: 50%; background: var(--primary-tint-2); }
.tbl .ln { height: 8px; border-radius: 4px; background: #dde4f0; }
.tbl .ln.s { width: 60%; }
.chip {
  justify-self: start;
  font-size: 10.5px; font-weight: 700; font-family: var(--font-disp);
  padding: 3px 10px; border-radius: var(--pill);
  background: var(--ok-tint); color: var(--ok);
}
.chip.b { background: var(--primary-tint); color: var(--primary-ink); }
.chip.a { background: var(--accent-tint); color: #b97516; }

/* Phone screens (mobile app list) */
.phone-app { position: absolute; inset: 0; padding: 26px 0 0; opacity: 0; transform: translateY(8px); transition: opacity .5s ease, transform .5s ease; pointer-events: none; }
.phone-app.active { opacity: 1; transform: none; }
.pa-top { display: flex; align-items: center; gap: 8px; padding: 10px 14px 8px; }
.pa-top .pa-ic { width: 22px; height: 22px; border-radius: 7px; background: var(--primary); flex: none; display:grid; place-items:center; }
.pa-top .pa-ic b { width: 9px; height: 9px; background: #fff; border-radius: 3px; }
.pa-top h6 { font-family: var(--font-disp); font-weight: 700; font-size: 12.5px; margin: 0; color: var(--ink); }
.pa-mini { padding: 4px 14px 10px; display: flex; gap: 7px; }
.pa-mini .pm {
  flex: 1; background: #fff; border: 1px solid var(--line); border-radius: 10px;
  padding: 8px 9px;
}
.pa-mini .pm b { font-family: var(--font-disp); font-weight: 900; font-size: 15px; color: var(--primary); display:block; line-height:1; }
.pa-mini .pm small { font-size: 9px; color: var(--muted); }
.pa-list { padding: 2px 12px; display: flex; flex-direction: column; gap: 7px; }
.pa-card {
  background: #fff; border: 1px solid var(--line); border-radius: 11px;
  padding: 9px 11px; display: flex; align-items: center; gap: 9px;
}
.pa-card .pc-av { width: 26px; height: 26px; border-radius: 50%; background: var(--primary-tint-2); flex: none; }
.pa-card .pc-tx { flex: 1; min-width: 0; }
.pa-card .pc-tx i { display: block; height: 7px; border-radius: 4px; background: #dbe2ee; }
.pa-card .pc-tx i:first-child { width: 70%; height: 8px; background: #c4cedd; margin-bottom: 5px; }
.pa-card .pc-st { font-size: 8px; font-weight: 700; font-family: var(--font-disp); padding: 2px 5px; border-radius: var(--pill); flex: 0 0 auto; white-space: nowrap; min-width: max-content; }
.pa-card .pc-st.g { background: var(--ok-tint); color: var(--ok); }
.pa-card .pc-st.b { background: var(--primary-tint); color: var(--primary-ink); }
.pa-card .pc-st.a { background: var(--accent-tint); color: #b97516; }
.pa-fab {
  position: absolute; right: 14px; bottom: 16px;
  width: 38px; height: 38px; border-radius: 13px;
  background: var(--primary); box-shadow: var(--sh-blue);
  display: grid; place-items: center;
}
.pa-fab::before, .pa-fab::after { content:""; position:absolute; background:#fff; border-radius:2px; }
.pa-fab::before { width: 15px; height: 2.5px; }
.pa-fab::after { width: 2.5px; height: 15px; }

.phone-label {
  position: absolute;
  left: -18px; top: 30px;
  z-index: 3;
  background: #fff;
  box-shadow: var(--sh-md);
  border-radius: var(--pill);
  padding: 8px 16px 8px 12px;
  display: flex; align-items: center; gap: 9px;
  font-family: var(--font-disp); font-weight: 700; font-size: 13px; color: var(--ink);
  border: 1px solid var(--line-soft);
}
.phone-label .pl-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }

.hero-dots { position: absolute; left: 0; bottom: -8px; width: 100%; display: flex; justify-content: center; gap: 7px; z-index: 3; }
.hero-dots button {
  width: 8px; height: 8px; border-radius: 50%; border: 0; padding: 0;
  background: var(--primary-tint-2); cursor: pointer; transition: all .2s ease;
}
.hero-dots button.on { background: var(--primary); width: 22px; border-radius: var(--pill); }

/* ============================================================
   LOGO / TRUST STRIP
   ============================================================ */
.strip { padding: 30px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.strip-inner { display: flex; align-items: center; justify-content: center; gap: clamp(20px,4vw,52px); flex-wrap: wrap; }
.strip-inner .sl { font-size: 13px; color: var(--muted); font-weight: 500; }
.strip-stat { display: flex; align-items: baseline; gap: 8px; }
.strip-stat b { font-family: var(--font-disp); font-weight: 900; font-size: 26px; color: var(--ink); }
.strip-stat b em { color: var(--primary); font-style: normal; }
.strip-stat span { font-size: 12.5px; color: var(--ink-soft); }
.strip-div { width: 1px; height: 30px; background: var(--line); }

/* ============================================================
   PROBLEMS
   ============================================================ */
.problems { background: var(--surface); }
.prob-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.prob-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 26px 24px;
  display: flex; gap: 15px; align-items: flex-start;
  transition: transform .2s ease, box-shadow .2s ease;
}
.prob-card:hover { transform: translateY(-3px); box-shadow: var(--sh-md); }
.prob-q {
  width: 34px; height: 34px; border-radius: 11px; flex: none;
  background: var(--surface); border: 1px solid var(--line);
  display: grid; place-items: center;
  font-family: var(--font-disp); font-weight: 900; color: var(--primary); font-size: 15px;
}
.prob-card p { font-size: 15.5px; color: var(--ink); font-weight: 500; line-height: 1.7; }
.prob-bridge { text-align: center; margin-top: 48px; }
.prob-bridge .arrow-down {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--primary); margin: 0 auto 22px;
  display: grid; place-items: center; box-shadow: var(--sh-blue);
}
.prob-bridge .arrow-down::after {
  content:""; width: 11px; height: 11px;
  border: solid #fff; border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg); margin-top: -5px;
}
.prob-bridge h3 { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 900; }
.prob-bridge h3 b { color: var(--primary-ink); }

/* ============================================================
   SOLUTION (3 step visual)
   ============================================================ */
.solution { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%); }
.sol-flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; position: relative; }
.sol-card {
  background: var(--surface); border-radius: var(--r-lg);
  padding: 32px 28px; box-shadow: var(--sh-sm);
  border: 1px solid var(--line); text-align: center;
  position: relative;
}
.sol-icon {
  width: 64px; height: 64px; border-radius: 20px;
  margin: 0 auto 20px; display: grid; place-items: center;
  background: var(--primary-tint);
}
.sol-icon.amber { background: var(--accent-tint); }
.sol-card h3 { font-size: 19px; font-weight: 700; margin-bottom: 12px; }
.sol-card p { font-size: 14.5px; }
.sol-num { font-family: var(--font-disp); font-weight: 900; color: var(--primary-tint-2); font-size: 13px; letter-spacing: .1em; }

/* simple monoline icons (basic shapes only) */
.ic { width: 30px; height: 30px; position: relative; }
.ic-chat::before { content:""; position:absolute; inset:2px 2px 8px 2px; border:2.5px solid var(--primary); border-radius:9px; }
.ic-chat::after { content:""; position:absolute; left:8px; bottom:2px; width:8px; height:8px; background:var(--primary); clip-path: polygon(0 0,100% 0,0 100%); }
.ic-build { box-sizing:border-box; }
.ic-build::before { content:""; position:absolute; inset:3px; border:2.5px solid var(--primary); border-radius:7px; }
.ic-build::after { content:""; position:absolute; left:50%; top:50%; transform:translate(-50%,-50%); width:11px; height:11px; border:2.5px solid var(--primary); border-radius:3px; }
.ic-touch::before { content:""; position:absolute; left:9px; top:2px; width:12px; height:18px; border:2.5px solid var(--accent); border-radius:8px; }
.ic-touch::after { content:""; position:absolute; left:13px; top:10px; width:4px; height:4px; border-radius:50%; background:var(--accent); }

/* ============================================================
   CAPABILITIES (app types grid)
   ============================================================ */
.caps { background: var(--surface); }
.caps-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.cap-card {
  background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--r); padding: 22px 18px;
  display: flex; flex-direction: column; gap: 14px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  cursor: default;
}
.cap-card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-color: var(--primary-tint-2); background: #fff; }
.cap-ic {
  width: 46px; height: 46px; border-radius: 14px;
  background: var(--primary-tint); display: grid; place-items: center;
}
.cap-ic.amber { background: var(--accent-tint); }
.cap-card h4 { font-size: 15px; font-weight: 700; }
.cap-card p { font-size: 12.5px; color: var(--muted); line-height: 1.7; }
.cap-card.wide { background: var(--primary-tint); border-color: var(--primary-tint-2); }
.cap-card.wide .cap-ic { background: #fff; }
.cap-card.wide h4 { color: var(--primary-ink); }
.cap-card.wide p { color: var(--primary-ink); opacity: .8; }

/* small glyphs for cap icons — basic shapes/lines */
.g { width: 22px; height: 22px; position: relative; }
.g i { position: absolute; background: var(--primary); border-radius: 2px; }
.cap-ic.amber .g i { background: var(--accent); }
/* person */
.g-person i:nth-child(1){ left:7px; top:1px; width:8px; height:8px; border-radius:50%; }
.g-person i:nth-child(2){ left:3px; bottom:1px; width:16px; height:9px; border-radius:7px 7px 4px 4px; }
/* calendar */
.g-cal i:nth-child(1){ left:2px; top:3px; width:18px; height:17px; border-radius:4px; background:transparent; border:2.2px solid var(--primary); }
.g-cal i:nth-child(2){ left:2px; top:7px; width:18px; height:2.2px; }
.g-cal i:nth-child(3){ left:6px; top:0; width:2.2px; height:5px; }
.g-cal i:nth-child(4){ right:6px; top:0; width:2.2px; height:5px; }
.cap-ic.amber .g-cal i:nth-child(1){ border-color: var(--accent); background:transparent; }
/* doc */
.g-doc i:nth-child(1){ left:4px; top:1px; width:14px; height:20px; border-radius:3px; background:transparent; border:2.2px solid var(--primary); }
.g-doc i:nth-child(2){ left:8px; top:7px; width:6px; height:2px; }
.g-doc i:nth-child(3){ left:8px; top:11px; width:6px; height:2px; }
.cap-ic.amber .g-doc i:nth-child(1){ border-color: var(--accent); background:transparent; }
/* clock (daily report) */
.g-note i:nth-child(1){ left:1px; top:1px; width:20px; height:20px; border-radius:50%; background:transparent; border:2.2px solid var(--primary); }
.g-note i:nth-child(2){ left:10px; top:4px; width:2px; height:7px; border-radius:2px; }
.g-note i:nth-child(3){ left:10px; top:10px; width:6px; height:2px; border-radius:2px; }
.cap-ic.amber .g-note i:nth-child(1){ border-color:var(--accent); }
/* mail */
.g-mail i:nth-child(1){ left:2px; top:4px; width:18px; height:14px; border-radius:3px; background:transparent; border:2.2px solid var(--primary); }
.g-mail i:nth-child(2){ left:4px; top:7px; width:14px; height:6px; background:transparent; border-bottom:2.2px solid var(--primary); border-left:2.2px solid var(--primary); border-right:2.2px solid var(--primary); border-radius:0 0 3px 3px; }
/* box */
.g-box i:nth-child(1){ left:3px; top:3px; width:16px; height:16px; border-radius:3px; background:transparent; border:2.2px solid var(--primary); }
.g-box i:nth-child(2){ left:3px; top:10px; width:16px; height:2.2px; }
.g-box i:nth-child(3){ left:10px; top:3px; width:2.2px; height:7px; }
/* checklist (task) */
.g-task i:nth-child(1){ left:2px; top:2px; width:6px; height:6px; border-radius:1px; background:transparent; border:2px solid var(--primary); }
.g-task i:nth-child(2){ left:11px; top:4px; width:8px; height:2px; border-radius:2px; }
.g-task i:nth-child(3){ left:2px; top:9px; width:6px; height:6px; border-radius:1px; }
.g-task i:nth-child(4){ left:11px; top:11px; width:8px; height:2px; border-radius:2px; }
.g-task i:nth-child(5){ left:2px; top:16px; width:6px; height:6px; border-radius:1px; background:transparent; border:2px solid var(--primary); }
.cap-ic.amber .g-task i:nth-child(1),
.cap-ic.amber .g-task i:nth-child(5){ border-color:var(--accent); background:transparent; }
/* grid (dashboard) */
.g-grid i { width:7px; height:7px; border-radius:2px; }
.g-grid i:nth-child(1){ left:3px; top:3px; } .g-grid i:nth-child(2){ right:3px; top:3px; }
.g-grid i:nth-child(3){ left:3px; bottom:3px; } .g-grid i:nth-child(4){ right:3px; bottom:3px; }
/* sheet -> app (table) */
.g-sheet i:nth-child(1){ left:2px; top:3px; width:18px; height:17px; border-radius:3px; background:transparent; border:2.2px solid var(--accent); }
.g-sheet i:nth-child(2){ left:2px; top:9px; width:18px; height:2px; background:var(--accent); }
.g-sheet i:nth-child(3){ left:9px; top:3px; width:2px; height:17px; background:var(--accent); }

/* ============================================================
   FREE TRIAL CONTENTS
   ============================================================ */
.trial { background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
.trial-inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px,5vw,64px); align-items: center; }
.trial-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.trial-item {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-sm); padding: 16px 18px;
  display: flex; align-items: center; gap: 12px;
  font-weight: 500; color: var(--ink); font-size: 14.5px;
}
.trial-item .check-ic { width: 22px; height: 22px; }
.trial-note {
  margin-top: 22px; padding: 16px 20px; border-radius: var(--r-sm);
  background: var(--primary-tint); color: var(--primary-ink);
  font-size: 13.5px; line-height: 1.8;
}
.trial-visual { position: relative; }
.trial-card {
  background: var(--surface); border-radius: var(--r-lg);
  box-shadow: var(--sh-lg); border: 1px solid var(--line); overflow: hidden;
}

/* ============================================================
   WHY US / REASONS
   ============================================================ */
.why { background: var(--surface); }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.why-card {
  border: 1px solid var(--line); border-radius: var(--r);
  padding: 28px 26px; background: var(--bg);
  transition: transform .2s ease, box-shadow .2s ease;
}
.why-card:hover { transform: translateY(-3px); box-shadow: var(--sh-md); }
.why-num {
  font-family: var(--font-disp); font-weight: 900; font-size: 14px;
  color: #fff; background: var(--primary);
  width: 34px; height: 34px; border-radius: 11px;
  display: grid; place-items: center; margin-bottom: 18px;
}
.why-card:nth-child(2) .why-num, .why-card:nth-child(4) .why-num { background: var(--accent); }
.why-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.why-card p { font-size: 14px; }

/* ============================================================
   FLOW (7 steps)
   ============================================================ */
.flow { background: linear-gradient(180deg, var(--bg), var(--bg-2)); }
.flow-track { display: flex; flex-direction: column; gap: 0; position: relative; max-width: 820px; margin: 0 auto; }
.flow-step {
  display: grid; grid-template-columns: 64px 1fr; gap: 24px;
  padding: 0 0 36px;
  position: relative;
}
.flow-step:last-child { padding-bottom: 0; }
.flow-step::before {
  content: ""; position: absolute;
  left: 31px; top: 56px; bottom: 0;
  width: 2px; background: var(--primary-tint-2);
}
.flow-step:last-child::before { display: none; }
.flow-badge {
  width: 64px; height: 64px; border-radius: 20px;
  background: var(--surface); border: 2px solid var(--primary-tint-2);
  display: grid; place-items: center; position: relative; z-index: 1;
  font-family: var(--font-disp); font-weight: 900; color: var(--primary); font-size: 22px;
  box-shadow: var(--sh-sm);
}
.flow-step.step-final::before { display: none; }
.flow-step.step-final .flow-badge { background: var(--primary); border-color: var(--primary); color: #fff; box-shadow: var(--sh-blue); }
.flow-body {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r); padding: 20px 24px; margin-top: 2px;
}
.flow-body h3 { font-size: 17px; font-weight: 700; margin-bottom: 7px; display:flex; align-items:center; gap:10px; }
.flow-body .step-tag { font-size: 11px; font-family: var(--font-disp); font-weight:700; color: var(--primary); background: var(--primary-tint); padding: 2px 10px; border-radius: var(--pill); }
.flow-body p { font-size: 14px; }
.flow-step.step-final .flow-body { border-color: var(--primary-tint-2); background: var(--primary-tint); }

/* ============================================================
   PLANS (management)
   ============================================================ */
.plans { background: var(--surface); }
.plan-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.plan-card {
  border: 1.5px solid var(--line); border-radius: var(--r-lg);
  padding: 36px 34px; background: var(--bg); position: relative;
  transition: transform .2s ease, box-shadow .2s ease;
}
.plan-card:hover { transform: translateY(-3px); box-shadow: var(--sh-md); }
.plan-card.feature { background: var(--primary-tint); border-color: var(--primary-tint-2); }
.plan-tag {
  display: inline-block; font-family: var(--font-disp); font-weight: 700; font-size: 12px;
  color: var(--primary-ink); background: #fff; padding: 5px 14px; border-radius: var(--pill);
  margin-bottom: 16px;
}
.plan-card.feature .plan-tag { background: var(--primary); color: #fff; }
.plan-card h3 { font-size: 22px; font-weight: 900; margin-bottom: 8px; }
.plan-card .plan-desc { font-size: 14px; margin-bottom: 22px; min-height: 48px; }
.plan-sub { font-family: var(--font-disp); font-weight: 700; font-size: 13px; color: var(--ink); margin: 0 0 12px; }
.plan-ul { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 10px; }
.plan-ul li { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; color: var(--ink-soft); }
.plan-ul li .check-ic { width: 19px; height: 19px; margin-top: 2px; }
.plan-fit { background: #fff; border-radius: var(--r-sm); padding: 16px 18px; }
.plan-card.feature .plan-fit { background: rgba(255,255,255,.6); }
.plan-fit b { font-family: var(--font-disp); font-size: 12.5px; color: var(--ink); display: block; margin-bottom: 8px; }
.plan-fit span { font-size: 12.5px; color: var(--ink-soft); display:block; line-height:1.7; }

/* ============================================================
   PRICING
   ============================================================ */
.pricing { background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
.price-tabs { display: flex; justify-content: center; gap: 8px; margin-bottom: 36px; }
.price-tab {
  font-family: var(--font-disp); font-weight: 700; font-size: 15px;
  padding: 12px 28px; border-radius: var(--pill); border: 1.5px solid var(--line);
  background: var(--surface); color: var(--ink-soft); cursor: pointer; transition: all .2s ease;
}
.price-tab.on { background: var(--primary); color: #fff; border-color: var(--primary); box-shadow: var(--sh-blue); }

.price-panel { display: none; }
.price-panel.on { display: block; animation: fadeUp .4s ease; }

.free-banner {
  text-align: center; max-width: 620px; margin: 0 auto;
  background: var(--surface); border-radius: var(--r-lg); border: 1px solid var(--line);
  box-shadow: var(--sh-md); padding: 44px 40px;
}
.free-banner .free-big { font-family: var(--font-disp); font-weight: 900; font-size: clamp(2.4rem,6vw,3.6rem); color: var(--primary); line-height: 1; }
.free-banner h3 { font-size: 20px; margin: 6px 0 18px; }
.free-banner .free-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; text-align: left; margin-top: 22px; }
.free-banner .free-list .trial-item { background: var(--bg); }

.price-table {
  max-width: 720px; margin: 0 auto;
  background: var(--surface); border-radius: var(--r-lg);
  border: 1px solid var(--line); box-shadow: var(--sh-md); overflow: hidden;
}
.price-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 30px; border-bottom: 1px solid var(--line-soft); gap: 20px;
}
.price-row:last-child { border-bottom: 0; }
.price-row .pr-name { font-family: var(--font-disp); font-weight: 700; font-size: 16px; color: var(--ink); }
.price-row .pr-name small { display:block; font-family: var(--font-body); font-weight: 400; font-size: 12.5px; color: var(--muted); margin-top: 3px; }
.price-row .pr-val { font-family: var(--font-disp); font-weight: 900; font-size: 21px; color: var(--ink); white-space: nowrap; }
.price-row .pr-val em { font-size: 13px; font-style: normal; color: var(--muted); font-weight: 500; }
.price-row.hot { background: var(--primary-tint); }
.price-row.hot .pr-val { color: var(--primary-ink); }
.price-note { max-width: 720px; margin: 22px auto 0; font-size: 12.5px; color: var(--muted); line-height: 1.9; }
.price-inquiry { max-width: 600px; margin: 36px auto 0; text-align: center; padding: 40px 32px; background: var(--bg); border: 1.5px solid var(--border); border-radius: 16px; }
.price-inquiry-label { font-family: var(--font-disp); font-weight: 700; font-size: 13px; color: var(--primary); letter-spacing: .08em; margin-bottom: 12px; }
.price-inquiry-text { font-size: 15px; color: var(--muted); line-height: 1.8; margin-bottom: 24px; }

/* ============================================================
   FAQ
   ============================================================ */
.faq { background: var(--surface); }
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  border: 1px solid var(--line); border-radius: var(--r);
  background: var(--bg); overflow: hidden; transition: border-color .2s ease, box-shadow .2s ease;
}
.faq-item.open { border-color: var(--primary-tint-2); box-shadow: var(--sh-sm); background: #fff; }
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  display: flex; align-items: center; gap: 16px;
  padding: 22px 24px; font-family: var(--font-disp); font-weight: 700;
  font-size: 16px; color: var(--ink);
}
.faq-q .q-mark {
  width: 28px; height: 28px; border-radius: 9px; flex: none;
  background: var(--primary-tint); color: var(--primary-ink);
  display: grid; place-items: center; font-weight: 900; font-size: 14px;
}
.faq-q .q-tog {
  margin-left: auto; flex: none; width: 22px; height: 22px; position: relative;
}
.faq-q .q-tog::before, .faq-q .q-tog::after {
  content:""; position:absolute; top:50%; left:50%; transform:translate(-50%,-50%);
  background: var(--primary); border-radius: 2px; transition: transform .25s ease;
}
.faq-q .q-tog::before { width: 13px; height: 2.5px; }
.faq-q .q-tog::after { width: 2.5px; height: 13px; }
.faq-item.open .q-tog::after { transform: translate(-50%,-50%) rotate(90deg); opacity: 0; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a-inner { padding: 0 24px 24px 68px; font-size: 14.5px; line-height: 1.9; }

/* ============================================================
   FINAL CTA
   ============================================================ */
.final {
  background: var(--ink);
  position: relative; overflow: hidden;
  color: #fff; text-align: center;
}
.final::before {
  content:""; position:absolute; top:-200px; left:50%; transform:translateX(-50%);
  width: 760px; height: 760px;
  background: radial-gradient(circle, rgba(60,126,239,.34), transparent 60%);
}
.final::after {
  content:""; position:absolute; bottom:-220px; right:-120px;
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(243,168,60,.18), transparent 62%);
}
.final-inner { position: relative; z-index: 1; max-width: 740px; margin: 0 auto; }
.final .eyebrow { background: rgba(255,255,255,.12); color: #cfe0fb; }
.final .eyebrow .dot { background: var(--accent); }
.final h2 { color: #fff; font-size: clamp(1.9rem, 4.4vw, 3rem); font-weight: 900; line-height: 1.45; margin: 22px 0 0; }
.final h2 .hl { color: #8fb8fb; }
.final p { color: rgba(255,255,255,.82); margin-top: 24px; font-size: 16px; line-height: 2; }
.final-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 38px; }
.final-trust { margin-top: 28px; font-size: 13px; color: rgba(255,255,255,.6); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: #16243d; color: rgba(255,255,255,.66); padding: 64px 0 36px; font-size: 13.5px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer .brand-text b { color: #fff; }
.footer .brand-text small { color: rgba(255,255,255,.5); }
.footer-blurb { margin-top: 18px; max-width: 320px; line-height: 1.9; color: rgba(255,255,255,.6); }
.footer-col h5 { font-family: var(--font-disp); color: #fff; font-size: 14px; margin-bottom: 16px; font-weight: 700; }
.footer-col a { display: block; padding: 6px 0; color: rgba(255,255,255,.66); transition: color .15s ease; }
.footer-col a:hover { color: #fff; }
.footer-legal { padding-top: 28px; }
.footer-legal p { font-size: 12px; line-height: 1.9; color: rgba(255,255,255,.5); }
.footer-copy { margin-top: 24px; font-size: 12px; color: rgba(255,255,255,.4); }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal { transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
html.has-js .reveal:not(.in) { opacity: 0; transform: translateY(26px); }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
/* デスクトップのみ改行禁止（モバイルでは通常折り返し） */
@media (min-width: 961px) {
  .nowrap-desktop { white-space: nowrap; font-size: clamp(1.7rem, 3.2vw, 2.3rem); }
}

@media (max-width: 960px) {
  .nav { display: none; }
  .hero { overflow: visible; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 100%; min-width: 0; }
  .hero-visual { margin-top: 24px; min-height: 440px; max-width: 460px; min-width: 0; }
  .prob-grid, .why-grid, .caps-grid { grid-template-columns: repeat(2, 1fr); }
  .caps-grid { grid-template-columns: repeat(2,1fr); }
  .cap-card.wide { grid-column: span 2; }
  .sol-flow { grid-template-columns: 1fr; }
  .trial-inner { grid-template-columns: 1fr; }
  .plan-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .device-phone { width: 185px; right: 0; bottom: -28px; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 18px; }
  .header-cta .btn.btn-ghost { display: none; }
  .prob-grid, .why-grid, .caps-grid, .trial-list, .free-banner .free-list { grid-template-columns: 1fr; }
  .strip-div { display: none; }
  .price-row { flex-direction: column; align-items: flex-start; gap: 8px; }
  .footer-top { grid-template-columns: 1fr; }
  .flow-step { grid-template-columns: 52px 1fr; gap: 16px; }
  .flow-step::before { left: 25px; }
  .flow-badge { width: 52px; height: 52px; font-size: 18px; }
  .faq-a-inner { padding-left: 24px; }

  /* ---- Hero fixes ---- */
  .hero h1 { font-size: clamp(1.35rem, 5vw, 1.75rem); word-break: break-all; overflow-wrap: break-word; }
  .hero h1 span { white-space: normal !important; }
  .hero-sub { font-size: 13.5px; line-height: 1.85; }
  .hero-sub br { display: none; }
  .hero-actions { flex-direction: column; gap: 10px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .eyebrow { font-size: 11.5px; padding: 5px 12px; }

  /* ---- Hero visual ---- */
  .hero-visual { min-height: 0; max-width: 280px; margin: 32px auto 0; padding-bottom: 40px; position: relative; }
  .device-pc { display: none; }
  .device-phone { position: relative; right: auto; bottom: auto; width: 200px; margin: 0 auto; display: block; }

  /* ---- Caps grid ---- */
  .cap-card.wide { grid-column: auto; }
}

/* ============================================================
   資料請求セクション
   ============================================================ */
.brochure {
  background: linear-gradient(135deg, #1d3151 0%, #2a4a7a 100%);
  color: #fff;
}
.brochure-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

/* --- 書類ビジュアル --- */
.brochure-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 32px 0;
}
.doc-stack {
  position: relative;
  width: 220px;
  height: 290px;
}
.doc {
  position: absolute;
  width: 220px;
  height: 280px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 8px 32px rgba(0,0,0,.28);
}
.doc-back {
  transform: rotate(-6deg) translate(-10px, 12px);
  background: #d0dff8;
  opacity: .7;
}
.doc-mid {
  transform: rotate(-2deg) translate(-4px, 6px);
  background: #e8f1fe;
  opacity: .85;
}
.doc-front {
  transform: rotate(1deg);
  display: flex;
  flex-direction: column;
  padding: 24px 20px 20px;
  gap: 16px;
}
.doc-logo-img {
  width: 130px;
  height: auto;
  filter: invert(19%) sepia(41%) saturate(690%) hue-rotate(189deg) brightness(80%);
}
.doc-lines {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.doc-lines span {
  display: block;
  height: 8px;
  border-radius: 4px;
  background: #dde6f4;
}
.doc-lines span:nth-child(1) { width: 100%; }
.doc-lines span:nth-child(2) { width: 85%; }
.doc-lines span:nth-child(3) { width: 92%; }
.doc-lines span:nth-child(4) { width: 70%; }
.doc-lines span:nth-child(5) { width: 80%; }
.doc-tag {
  font-size: 10px;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-tint);
  border-radius: 4px;
  padding: 4px 8px;
  text-align: center;
  letter-spacing: .04em;
}

/* --- コピー --- */
.brochure .eyebrow { background: rgba(255,255,255,.15); color: #cfe0fb; }
.brochure .eyebrow .dot { background: var(--accent); }
.brochure-title {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 900;
  line-height: 1.45;
  color: #fff;
  margin: 12px 0 16px;
}
.brochure-desc {
  font-size: 15px;
  line-height: 1.85;
  color: rgba(255,255,255,.82);
  margin-bottom: 28px;
}
.brochure-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.brochure-note {
  font-size: 13px;
  color: rgba(255,255,255,.6);
}

@media (max-width: 768px) {
  .brochure-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .brochure-visual { padding: 0; }
  .doc-stack { width: 180px; height: 240px; }
  .doc { width: 180px; height: 230px; }
  .doc-logo-img { width: 100px; }
  .brochure-title { font-size: 1.4rem; }
  .brochure-actions { flex-direction: column; align-items: flex-start; }
  .brochure-actions .btn { width: 100%; justify-content: center; }
}

/* ============================================================
   無料診断セクション
   ============================================================ */
.shindan { background: var(--bg-2); }
.shindan-wrap { max-width: 720px; }

/* ---- 7ステップインジケーター ---- */
.shindan-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin: 36px 0 32px;
  overflow-x: auto;
  padding-bottom: 4px;
}
.shindan-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  opacity: .3;
  transition: opacity .3s;
  flex-shrink: 0;
}
.shindan-step.active { opacity: 1; }
.step-num {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--line);
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .3s, color .3s;
}
.shindan-step.active .step-num {
  background: var(--primary);
  color: #fff;
}
.step-label {
  font-size: 10px;
  color: var(--ink-soft);
  white-space: nowrap;
}
.shindan-step-line {
  flex: 1;
  min-width: 12px;
  max-width: 48px;
  height: 2px;
  background: var(--line);
  margin: 0 2px;
  margin-bottom: 16px;
  flex-shrink: 1;
}

/* ---- カード ---- */
.shindan-card {
  background: #fff;
  border-radius: var(--r-xl);
  border: 1.5px solid var(--line);
  padding: 36px 40px;
  box-shadow: 0 4px 20px rgba(60,126,239,.07);
}
.shindan-card.hidden { display: none; }

.shindan-q-badge {
  font-size: 11px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: .1em;
  margin-bottom: 8px;
}
.shindan-q {
  font-size: 17px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 20px;
  line-height: 1.55;
}
.shindan-sub {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  margin-left: 6px;
}

/* ---- 選択ボタン ---- */
.shindan-choices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.shindan-choice {
  background: var(--surface-tint);
  border: 1.5px solid var(--line);
  border-radius: var(--r-lg);
  padding: 13px 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: background .18s, border-color .18s, transform .15s;
  font-family: inherit;
  line-height: 1.4;
}
.shindan-choice:hover {
  background: var(--primary-tint);
  border-color: var(--primary);
  transform: translateY(-1px);
}
.shindan-choice.selected {
  background: var(--primary-tint);
  border-color: var(--primary);
  color: var(--primary-ink);
}

.shindan-next-wrap {
  margin-top: 20px;
  text-align: right;
}
.shindan-next-btn {
  min-width: 140px;
}

/* ---- 結果カード ---- */
.shindan-result-inner {
  text-align: center;
  padding: 8px 0 24px;
}
.shindan-result-icon { font-size: 44px; margin-bottom: 10px; }
.shindan-result-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: .08em;
  margin-bottom: 6px;
}
.shindan-result-app {
  font-size: 22px;
  font-weight: 900;
  color: var(--ink);
  line-height: 1.4;
  margin-bottom: 24px;
}

/* 3指標グリッド */
.shindan-metrics {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 12px;
  margin-bottom: 24px;
}
.shindan-metric {
  background: var(--surface-tint);
  border-radius: var(--r-md);
  padding: 14px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.metric-label {
  font-size: 11px;
  color: var(--muted);
  font-weight: 600;
}
.metric-value {
  font-size: 24px;
  font-weight: 900;
  color: var(--primary);
  line-height: 1.2;
}
.metric-unit {
  font-size: 11px;
  color: var(--ink-soft);
}

/* おすすめ機能 */
.shindan-features {
  background: var(--ok-tint);
  border-radius: var(--r-md);
  padding: 16px 20px;
  margin-bottom: 28px;
  text-align: left;
}
.shindan-features-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--ok);
  margin-bottom: 10px;
}
.shindan-features-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.feat-tag {
  background: #fff;
  border: 1px solid var(--ok);
  border-radius: 100px;
  padding: 4px 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ok);
}

.shindan-result-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.shindan-disclaimer {
  font-size: 11px;
  color: var(--muted);
  text-align: center;
  line-height: 1.6;
  margin-top: 4px;
}

/* 問い合わせフォームUI */
.shindan-form-wrap {
  border-top: 1px solid var(--line);
  margin-top: 32px;
  padding-top: 28px;
}
.shindan-form-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 16px;
  text-align: center;
}
.shindan-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.sf-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.sf-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-soft);
}
.sf-input {
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  padding: 10px 14px;
  font-size: 14px;
  font-family: inherit;
  color: var(--ink);
  outline: none;
  transition: border-color .18s;
}
.sf-input:focus { border-color: var(--primary); }
.sf-submit {
  margin-top: 8px;
  width: 100%;
}

@media (max-width: 600px) {
  .shindan-card { padding: 24px 18px; }
  .shindan-choices { grid-template-columns: 1fr; }
  .shindan-step-line { min-width: 8px; max-width: 24px; }
  .shindan-metrics { grid-template-columns: 1fr; }
  .metric-value { font-size: 20px; }
}
