:root{
  --bg:#fbfbfd;
  --paper:#ffffff;
  --ink:#0f172a;
  --muted:rgba(15,23,42,.70);
  --line:rgba(15,23,42,.14);
  --hair:rgba(15,23,42,.08);
  --shadow: 0 22px 70px rgba(2,6,23,.08);

  --accent:#1d4ed8;         /* feature accent */
  --accent2:rgba(29,78,216,.12);
  --soon:rgba(15,23,42,.42);

  --w: 1120px;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family: system-ui, -apple-system, "Noto Sans JP", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(900px 420px at 15% 0%, rgba(29,78,216,.09), transparent 60%),
    radial-gradient(760px 380px at 85% 20%, rgba(16,185,129,.08), transparent 60%),
    linear-gradient(180deg, #fbfbfd, #f6f7fb 80%, #fbfbfd);
}

.portal-container{
  width: min(var(--w), calc(100% - 40px));
  margin-inline:auto;
}

.portal-header{
  padding: 26px 0 18px;
  border-bottom: 1px solid var(--hair);
}

.mast{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap: 18px;
}

.mast-left{
  display:flex;
  align-items:center;
  gap: 12px;
}

.mast-mark{
  width: 18px;
  height: 58px;
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(29,78,216,.55), rgba(16,185,129,.35), rgba(139,92,246,.25));
  box-shadow: 0 18px 45px rgba(2,6,23,.12);
}

.mast-org{
  font-weight: 800;
  letter-spacing:.18em;
  font-size: 12px;
  color: rgba(15,23,42,.60);
}

.mast-title{
  font-weight: 900;
  font-size: clamp(22px, 2.8vw, 34px);
  letter-spacing: -.02em;
  line-height: 1.05;
  margin-top: 4px;
}

.mast-sub{
  margin-top: 4px;
  font-size: 12px;
  color: rgba(15,23,42,.60);
  letter-spacing:.06em;
}

.issue{
  text-align:right;
}
.issue-kicker{
  font-size: 12px;
  letter-spacing:.18em;
  color: rgba(15,23,42,.55);
}
.issue-meta{
  margin-top: 8px;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap: 10px;
  color: rgba(15,23,42,.60);
  font-size: 12px;
}
.issue-pill{
  border:1px solid var(--hair);
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.65);
}
.issue-dot{
  width:6px; height:6px;
  border-radius:999px;
  background: rgba(15,23,42,.35);
}

.lead{
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--hair);
}
.lead-text{
  margin:0;
  color: rgba(15,23,42,.72);
  line-height: 1.85;
  max-width: 88ch;
}

.portal-main{
  padding: 18px 0 42px;
}

.toc{
  margin-top: 18px;
  background: rgba(255,255,255,.65);
  border: 1px solid var(--hair);
  border-radius: 18px;
  box-shadow: var(--shadow);
  overflow:hidden;
}

.toc-head{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap: 14px;
  padding: 16px 18px 14px;
  border-bottom: 1px solid var(--hair);
  background: rgba(255,255,255,.55);
}
.toc-title{
  margin:0;
  letter-spacing:.22em;
  font-size: 14px;
  text-transform: uppercase;
  color: rgba(15,23,42,.60);
}
.toc-note{
  font-size: 12px;
  color: rgba(15,23,42,.58);
}

.toc-item{
  border-top: 1px solid var(--hair);
}
.toc-item:first-of-type{ border-top:none; }

.toc-link{
  display:grid;
  grid-template-columns: 86px 1fr;
  gap: 0;
  text-decoration:none;
  color: inherit;
}

.toc-no{
  padding: 18px 16px;
  border-right: 1px solid var(--hair);
  background: rgba(255,255,255,.40);
  font-weight: 900;
  font-size: 18px;
  letter-spacing:.14em;
  color: rgba(15,23,42,.55);
}

.toc-body{
  padding: 18px 18px 16px;
}

.toc-topline{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  flex-wrap:wrap;
}

.toc-label{
  font-size: 12px;
  letter-spacing:.18em;
  text-transform: uppercase;
  color: rgba(15,23,42,.55);
}

.toc-tags{
  display:flex;
  gap: 8px;
  flex-wrap:wrap;
}

.tag{
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--hair);
  background: rgba(255,255,255,.65);
  color: rgba(15,23,42,.70);
}

.tag.is-live{
  border-color: rgba(29,78,216,.22);
  background: rgba(29,78,216,.10);
  color: rgba(29,78,216,.95);
}

.tag.is-soon{
  border-style: dashed;
  color: rgba(15,23,42,.52);
}

.toc-h{
  margin: 10px 0 8px;
  font-size: clamp(18px, 2.4vw, 26px);
  letter-spacing: -.02em;
  line-height: 1.15;
}

.toc-desc{
  margin:0;
  color: rgba(15,23,42,.72);
  line-height: 1.85;
  max-width: 90ch;
}

.toc-foot{
  margin-top: 12px;
  display:flex;
  align-items:center;
  gap: 8px;
  color: rgba(15,23,42,.58);
  font-size: 13px;
}
.toc-arrow{
  font-weight: 900;
}
.toc-cta{
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* FEATUREだけ、ほんの少し強調 */
.toc-feature .toc-no{
  color: rgba(29,78,216,.85);
  background:
    radial-gradient(140px 140px at 30% 20%, var(--accent2), transparent 70%),
    rgba(255,255,255,.45);
}
.toc-feature .toc-h{
  color: rgba(15,23,42,.96);
}
.toc-feature .toc-link:hover{
  background: rgba(255,255,255,.75);
}

/* 準備中は少し落とす */
.toc-link.is-soon .toc-no,
.toc-link.is-soon .toc-h,
.toc-link.is-soon .toc-desc{
  color: rgba(15,23,42,.62);
}
.toc-link.is-soon:hover{
  background: rgba(255,255,255,.68);
}

/* Footer */
.portal-footer{
  margin-top: 18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  padding: 12px 2px 0;
  color: rgba(15,23,42,.58);
}
.footer-title{
  font-size: 12px;
  letter-spacing:.06em;
}
.footer-sub{
  margin-top: 4px;
  font-size: 12px;
}
.footer-top{
  color: rgba(15,23,42,.62);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Responsive */
@media (max-width: 860px){
  .mast{ flex-direction:column; align-items:flex-start; }
  .issue{ text-align:left; }
  .issue-meta{ justify-content:flex-start; }
  .toc-link{ grid-template-columns: 72px 1fr; }
  .toc-no{ padding: 16px 14px; }
}

@media (max-width: 520px){
  .toc-link{ grid-template-columns: 1fr; }
  .toc-no{
    border-right: none;
    border-bottom: 1px solid var(--hair);
    display:flex;
    align-items:center;
    justify-content:flex-start;
    gap: 10px;
  }
}
/* ---- Coming soon emphasis ---- */
.toc-link.is-soon{
  cursor: default;
}

.toc-link.is-soon .toc-cta.is-soon{
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(11,18,32,.18);
  font-weight: 800;
  letter-spacing: .02em;
}

.toc-link.is-soon .tag.is-soon{
  font-weight: normal;
  border-width: 2px;
}
/* ---- Coming soon (yellow tone) ---- */
.toc-link.is-soon{
  cursor: default;
}

/* 「準備中」タグ（小さいバッジ） */
.tag.is-soon{
  background: rgba(245, 198, 10, .18);   /* 薄い黄 */
  border: 1px solid rgba(245, 198, 10, .45);
  color: rgba(120, 90, 0, .95);          /* 黄土 */
  font-weight: 800;
}

/* 下部の「準備中」表示（CTA） */
.toc-cta.is-soon{
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(245, 198, 10, .14);
  border: 2px solid rgba(245, 198, 10, .55);
  color: rgba(120, 90, 0, .95);
  font-weight: 900;
  letter-spacing: .02em;
}