/* top.css — TOPページ固有スタイル（base.css の後に読み込む） */
:root{
  --green:#287a3c;
  --green-2:#eaf6ed;
  --navy:#183b65;
  --text:#202124;
  --muted:#667085;
  --line:#dfe7df;
  --orange:#f47a16;
  --bg:#f7faf7;
}
.phone{
  width:min(100%,430px);
  min-height:100vh;
  margin:0 auto;
  background:#fff;
  box-shadow:0 0 28px rgba(0,0,0,.12);
}
.header{
  height:64px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 18px;
  border-bottom:1px solid #edf0ed;
  background:#fff;
  position:sticky;
  top:0;
  z-index:5;
}
.brand{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:800;
  line-height:1.1;
}
.brand-mark{
  width:38px;height:38px;border-radius:12px;
  display:grid;place-items:center;
  background:var(--green-2);
  font-size:24px;
}
.brand small{display:block;font-size:13px}
.brand strong{display:block;font-size:19px}
.menu{
  width:42px;height:42px;border:0;background:#fff;border-radius:12px;
  font-size:27px;line-height:1;cursor:pointer;
}
.hero{
  padding:24px 18px 20px;
  background:
    radial-gradient(circle at 90% 12%, #e7f3ff 0 18%, transparent 19%),
    linear-gradient(180deg,#f4fbff 0%,#fff 100%);
}
.eyebrow{
  display:inline-block;
  padding:8px 13px;
  border:1px solid #bcdabf;
  border-radius:999px;
  font-size:15px;
  font-weight:800;
  color:var(--green);
  background:#fff;
}
.hero h1{
  margin:15px 0 6px;
  font-size:30px;
  line-height:1.2;
  letter-spacing:-.03em;
  color:var(--navy);
}
.hero h1 span{
  display:block;
  color:var(--green);
  font-size:48px;
  margin-top:3px;
}
.hero p{
  margin:10px 0 0;
  font-size:18px;
  font-weight:700;
  line-height:1.55;
}
.hero-note{
  margin-top:16px;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:8px;
}
.hero-note div{
  min-height:68px;
  padding:10px 7px;
  border:1px solid #e5ebe5;
  border-radius:14px;
  background:rgba(255,255,255,.94);
  text-align:center;
  font-size:14px;
  font-weight:700;
  line-height:1.4;
}
.hero-note b{
  display:block;
  margin-bottom:5px;
  font-size:23px;
}
.section{
  padding:22px 14px 12px;
}
.section-title{
  margin:0 4px 16px;
  text-align:center;
  font-size:20px;
  line-height:1.45;
}
.section-title span{color:var(--green)}
.grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}
.card{
  position:relative;
  min-height:208px;
  padding:14px 12px 12px;
  border:1px solid var(--line);
  border-radius:18px;
  background:#fff;
  box-shadow:0 6px 18px rgba(31,70,42,.06);
  display:flex;
  flex-direction:column;
}
.card.popular{
  border:2px solid #f0a04a;
  padding:13px 11px 11px;
}
.badge{
  position:absolute;
  top:10px;left:10px;
  padding:5px 8px;
  border-radius:999px;
  background:#fff1dd;
  color:#d76800;
  font-size:13px;
  font-weight:900;
}
.icon{
  width:58px;height:58px;
  margin:22px auto 8px;
  border-radius:18px;
  display:grid;place-items:center;
  background:var(--green-2);
  font-size:32px;
}
/* バッジ付きカードは、文字拡大でバッジが縦に伸びた分アイコンを下げる */
.card.popular .icon{margin-top:30px}
.card h2{
  margin:2px 0 7px;
  font-size:18px;
  line-height:1.42;
  letter-spacing:-.02em;
}
.card h2 em{
  color:var(--green);
  font-style:normal;
}
.card p{
  margin:0;
  color:var(--muted);
  font-size:15px;
  line-height:1.55;
  flex:1;
}
.meta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  margin-top:12px;
  font-size:14px;
  color:#59636e;
  font-weight:700;
}
.start{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  margin-top:9px;
  border-radius:12px;
  background:var(--green);
  color:#fff;
  font-size:16px;
  font-weight:900;
}
.wide{
  grid-column:1/-1;
  min-height:auto;
  display:grid;
  grid-template-columns:68px 1fr;
  gap:12px;
  align-items:center;
}
.wide .icon{margin:0}
.wide h2{font-size:20px}
.wide .start{grid-column:1/-1;margin-top:4px}
.info{
  margin:20px 14px 0;
  padding:17px;
  border-radius:18px;
  background:#f4f8f3;
  border:1px solid #dce9da;
}
.info h2{
  margin:0 0 12px;
  font-size:18px;
  color:var(--green);
}
.info ul{
  margin:0;
  padding:0;
  list-style:none;
}
.info li{
  position:relative;
  padding-left:25px;
  font-size:16px;
  line-height:1.55;
}
.info li+li{margin-top:8px}
.info li:before{
  content:"✓";
  position:absolute;left:0;top:0;
  width:18px;height:18px;border-radius:50%;
  display:grid;place-items:center;
  background:var(--green);color:#fff;
  font-size:14px;font-weight:900;
}
.cta-wrap{
  padding:18px 14px 26px;
}
.cta-copy{
  text-align:center;
  font-size:16px;
  font-weight:800;
  line-height:1.5;
  color:#4f6654;
  margin-bottom:10px;
}
.cta{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:64px;
  border-radius:16px;
  background:linear-gradient(180deg,#ff972e,#ef6f00);
  color:#fff;
  font-size:19px;
  line-height:1.35;
  font-weight:900;
  text-align:center;
  box-shadow:0 8px 18px rgba(239,111,0,.24);
}
.sub-link{
  display:block;
  margin-top:13px;
  text-align:center;
  color:#176e78;
  font-size:16px;
  font-weight:800;
  text-decoration:underline;
  text-underline-offset:3px;
}
@media(max-width:360px){
  .hero h1{font-size:27px}
  .hero h1 span{font-size:42px}
  .card{min-height:216px}
  .card h2{font-size:17px}
  .card p{font-size:14px}
}
