:root{
  --bg:#f7fafc;
  --surface:#ffffff;
  --text:#1f2937;
  --muted:#6b7280;
  --line:#e5e7eb;

  --accent:#2ec4b6;
  --accent2:#60a5fa;

  --alert:#ef4444;
  --alertDark:#b91c1c;

  --shadow: 0 10px 30px rgba(17, 24, 39, .08);
  --shadow2: 0 16px 46px rgba(17, 24, 39, .12);
  --radius: 18px;
}

*{box-sizing:border-box}
html,body{height:100%}

body{
  margin:0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans JP", sans-serif;
  background:
    radial-gradient(1200px 700px at 20% -10%, rgba(46,196,182,.20), transparent 60%),
    radial-gradient(1000px 600px at 90% 0%, rgba(96,165,250,.18), transparent 55%),
    linear-gradient(180deg, rgba(255,255,255,.0), rgba(46,196,182,.06) 60%, rgba(96,165,250,.06)),
    var(--bg);
  color:var(--text);
  line-height:1.8;
}

a{color:inherit}
.wrap{max-width:980px;margin:0 auto;padding:18px}

.list{padding-left:18px}

/* アクセシビリティ */
:focus-visible{
  outline: 3px solid rgba(46,196,182,.35);
  outline-offset: 2px;
  border-radius: 10px;
}

header{
  position:sticky; top:0;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  z-index:10;
}
.nav{
  display:flex; gap:12px; flex-wrap:wrap;
  align-items:center; justify-content:space-between;
}
.brand{font-weight:800; letter-spacing:.02em}
.menu{display:flex; gap:10px; flex-wrap:wrap}
.menu a{
  text-decoration:none;
  padding:8px 10px;
  border:1px solid var(--line);
  border-radius:999px;
  background: rgba(255,255,255,.75);
}
.menu a:hover{
  border-color: rgba(46,196,182,.45);
  box-shadow: 0 8px 16px rgba(46,196,182,.10);
}

.hero{padding:26px 0 10px}

.card{
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding:16px;
  box-shadow: var(--shadow);
  position:relative;
}

.card.top-accent::before{
  content:"";
  position:absolute;
  left:0; top:0; right:0;
  height:6px;
  background: linear-gradient(90deg, rgba(46,196,182,.85), rgba(96,165,250,.85));
  border-top-left-radius: var(--radius);
  border-top-right-radius: var(--radius);
}

h1{font-size:28px; margin:0 0 10px}
h2{font-size:20px; margin:18px 0 8px}
h3{font-size:16px; margin:14px 0 8px}
p{margin:8px 0}

.small{font-size:13px; color:var(--muted)}

.badge{
  display:inline-block;
  padding:6px 12px;
  border:1px solid rgba(46,196,182,.25);
  border-radius:999px;
  font-size:12px;
  color:#0f766e;
  background: rgba(46,196,182,.10);
}

.hr{height:1px;background:var(--line);margin:14px 0}

/* ボタン */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  text-decoration:none;
  padding:12px 14px;
  border-radius:14px;
  border:1px solid rgba(46,196,182,.30);
  background: #ffffff;
  font-weight:900;
}
.btn.primary{
  background: linear-gradient(90deg, rgba(46,196,182,.26), rgba(96,165,250,.22));
  border-color: rgba(46,196,182,.35);
}
.btn.secondary{
  background: rgba(239,68,68,.10);
  border-color: rgba(239,68,68,.25);
}
.btn.dark{
  background:#111827;
  color:#ffffff;
  border-color:rgba(255,255,255,.25);
  box-shadow:0 10px 18px rgba(17,24,39,.18);
}
.btn:hover{
  box-shadow: 0 10px 22px rgba(46,196,182,.12);
  transform: translateY(-1px);
}
.btn:active{transform: translateY(0)}

/* ✅ 2択導線 */
.route-grid{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}
.route-btn{
  flex:1;
  min-width:220px;
  text-align:center;
}

/* 小リンク */
.link{
  color:#0f766e;
  text-decoration:underline;
  font-weight:900;
}
.link:hover{opacity:.85}

/* 画像配置エリア */
.hero-media{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
}
@media (max-width:640px){
  .hero-media{grid-template-columns:1fr;}
}
.media{
  border-radius: 16px;
  overflow:hidden;
  border:1px solid var(--line);
  background: linear-gradient(180deg, rgba(46,196,182,.10), rgba(96,165,250,.08));
  min-height:160px;
  position:relative;
}
.media.big{
  grid-column: 1 / -1;
  min-height:220px;
}
.media img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

/* 広告 */
.ad-label{
  font-size:12px;
  color:var(--muted);
  margin-bottom:8px;
  display:inline-block;
  padding:4px 10px;
  border:1px solid var(--line);
  border-radius:999px;
  background:#fff;
}

.ad-grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap:14px;
  margin-top:10px;
}
@media (max-width:760px){
  .ad-grid{grid-template-columns:1fr;}
}

.ad-item{
  position:relative;
  border:1px solid var(--line);
  border-radius:18px;
  background:#fff;
  overflow:hidden;
  box-shadow: 0 10px 24px rgba(17,24,39,.06);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.ad-item::before{
  content:"";
  position:absolute;
  inset:-60px -60px auto auto;
  width:180px;
  height:180px;
  background:
    radial-gradient(circle at 30% 30%, rgba(46,196,182,.22), transparent 60%),
    radial-gradient(circle at 70% 70%, rgba(96,165,250,.20), transparent 62%);
  transform: rotate(8deg);
  pointer-events:none;
}
.ad-item:hover{
  transform: translateY(-2px);
  box-shadow: var(--shadow2);
  border-color: rgba(46,196,182,.35);
}

.ad-head{
  position:relative;
  padding:14px 14px 10px;
  border-bottom: 1px solid rgba(229,231,235,.9);
  background: linear-gradient(180deg, rgba(46,196,182,.08), rgba(96,165,250,.05));
}
.ad-title{
  font-weight:950;
  margin:0;
  font-size:15px;
  line-height:1.4;
}
.ad-desc{
  margin:6px 0 0;
  color:var(--muted);
  font-size:12px;
}
.ad-media{
  position:relative;
  padding:12px 14px 14px;
  display:flex;
  align-items:center;
  justify-content:center;
  min-height: 220px;
}

footer{
  margin-top:26px;
  padding:18px 0 30px;
  border-top:1px solid var(--line);
  color:var(--muted);
}

.notice{
  border-left:4px solid var(--accent);
  padding:10px 12px;
  background: rgba(46,196,182,.08);
  border-radius:12px;
}

/* ✅ step3用 */
.inp{
  width:100%;
  border-radius: 14px;
  border: 1px solid rgba(15,23,42,.12);
  padding: 10px 12px;
  background: rgba(255,255,255,.88);
  font-size: 14px;
}
.statusBanner{
  display:flex;
  gap:14px;
  align-items:flex-start;
  padding:16px 16px;
  border-radius:18px;
  border:2px solid rgba(15,23,42,.12);
  margin-top:14px;
  box-shadow: 0 18px 40px rgba(2, 6, 23, .10);
}
.statusBanner.ok{
  border-color: rgba(16,185,129,.45);
  background: linear-gradient(135deg, rgba(16,185,129,.18), rgba(255,255,255,.92));
  box-shadow: 0 22px 48px rgba(16,185,129, .18);
}
.statusBanner.ng{
  border-color: rgba(239,68,68,.45);
  background: linear-gradient(135deg, rgba(239,68,68,.12), rgba(255,255,255,.92));
  box-shadow: 0 22px 48px rgba(239,68,68, .14);
}
.statusIcon{
  font-size: 34px;
  line-height: 1;
  width: 44px;
  height: 44px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius: 14px;
  background: rgba(255,255,255,.85);
  border: 1px solid rgba(15,23,42,.10);
}
.statusTitle{
  font-size: 1.3rem;
  font-weight: 900;
  letter-spacing: .02em;
}
.statusText{
  margin-top: 6px;
  font-size: 1.05rem;
  font-weight: 700;
  color: rgba(15,23,42,.92);
}

/* ✅ 進捗（STEP1/2） */
.progress{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin:0 0 12px;
}
.step-pill{
  display:flex;
  align-items:center;
  gap:10px;
  padding:10px 12px;
  border-radius:999px;
  border:1px solid var(--line);
  background:#fff;
}
.step-pill .n{
  width:28px;height:28px;
  display:inline-flex;
  align-items:center;justify-content:center;
  border-radius:999px;
  background: rgba(96,165,250,.16);
  font-weight:900;
}
.step-pill .t{display:block;font-weight:900;font-size:12px;line-height:1.1}
.step-pill .s{display:block;font-size:11px;color:var(--muted);margin-top:2px;line-height:1.1}
.step-pill.active{
  border-color: rgba(46,196,182,.45);
  box-shadow:0 10px 22px rgba(46,196,182,.12);
}
.step-pill.active .n{
  background: rgba(46,196,182,.20);
  color:#0f766e;
}

/* ✅ コピペ枠（mitsumori） */
.copybox{
  border:1px solid var(--line);
  border-radius:16px;
  padding:12px;
  background: rgba(46,196,182,.06);
}

/* ✅ テーブル（比較表） */
.tbl{
  width:100%;
  border-collapse:collapse;
  font-size:14px;
}
.tbl th, .tbl td{
  text-align:left;
  padding:10px;
  border-bottom:1px solid rgba(0,0,0,.08);
  vertical-align:top;
}
.tbl th{
  background: rgba(243,244,246,.7);
  font-weight:900;
}
