:root{
  --bg:#fbfaf7;
  --card:#ffffff;
  --text:#1f2937;
  --muted:#6b7280;
  --line:rgba(17,24,39,.10);
  --accent:#2563eb;
  --accent2:#111827;
  --soft:#f1f5ff;
  --warn:#b45309;
  --ok:#065f46;
  --shadow:0 12px 40px rgba(17,24,39,.08);
  --radius:18px;
}

/* reset */
*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family:'Noto Sans JP',system-ui,-apple-system,Segoe UI,sans-serif;
  color:var(--text);
  background:
    radial-gradient(1200px 600px at 12% 8%, #eef2ff 0%, rgba(238,242,255,0) 62%),
    radial-gradient(900px 500px at 88% 18%, #fff7ed 0%, rgba(255,247,237,0) 56%),
    var(--bg);
  line-height:1.75;
}
img{ max-width:100%; height:auto; display:block; }
a{ color:var(--accent); text-decoration:none; }
a:hover{ text-decoration:underline; }

/* wrap */
.wrap{
  max-width:980px;
  margin:0 auto;
  padding:20px 18px 64px;
}

/* topbar */
.topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:14px 2px;
  position:sticky;
  top:0;
  backdrop-filter:blur(10px);
  background:rgba(251,250,247,.78);
  border-bottom:1px solid var(--line);
  z-index:10;
}
.brand{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:220px;
}
.dot{
  width:12px;
  height:12px;
  border-radius:999px;
  background:linear-gradient(135deg,#60a5fa,#a78bfa);
  box-shadow:0 6px 18px rgba(37,99,235,.18);
}
.brand b{ font-weight:800; letter-spacing:.2px; }
.brand small{ display:block; color:var(--muted); margin-top:2px; font-size:12px; }

.nav{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  justify-content:flex-end;
  font-size:13px;
}
.nav a{
  padding:7px 10px;
  border-radius:999px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.7);
  color:var(--text);
}
.nav a:hover{
  background:#fff;
  text-decoration:none;
}

/* layout */
.layout{
  margin-top:18px;
  display:grid;
  grid-template-columns:1.4fr .6fr;
  gap:16px;
  align-items:start;
}
@media (max-width:900px){
  .layout{ grid-template-columns:1fr; }
  .brand{ min-width:auto; }
}

/* card */
.card{
  background:rgba(255,255,255,.92);
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:0 10px 30px rgba(17,24,39,.06);
  overflow:hidden;
  margin-bottom:16px;
}
.card .inner{ padding:18px; }

h2{ margin:22px 0 10px; font-size:18px; letter-spacing:.2px; }
h3{ margin:18px 0 8px; font-size:15px; }
.lead{ font-size:15px; margin:10px 0 0; }

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

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

/* toc */
.toc{ position:sticky; top:78px; }
.toc h3{ margin:0 0 10px; font-size:14px; color:var(--muted); letter-spacing:.2px; }
.toc a{
  display:block;
  padding:10px 12px;
  border-radius:12px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.75);
  margin-bottom:8px;
  color:var(--text);
  font-size:14px;
}
.toc a:hover{
  background:#fff;
  text-decoration:none;
}

/* note */
.note{
  margin-top:12px;
  padding:14px;
  border-radius:14px;
  border:1px solid rgba(37,99,235,.16);
  background:rgba(241,245,255,.75);
}
.note.warn{
  border:1px solid rgba(180,83,9,.22);
  background:rgba(255,247,237,.85);
}
.note.warn b{ color:var(--warn); }

.tag{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(6,95,70,.18);
  background:rgba(236,253,245,.75);
  color:var(--ok);
  font-weight:800;
  font-size:12px;
  margin-right:6px;
}

.checklist{ margin:10px 0 0; padding-left:18px; }
.checklist li{ margin:8px 0; }

/* table */
.table{
  width:100%;
  border-collapse:collapse;
  margin-top:10px;
  overflow:hidden;
  border-radius:14px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.9);
}
.table th,.table td{
  padding:10px;
  border-bottom:1px solid var(--line);
  text-align:left;
  font-size:14px;
  vertical-align:top;
}
.table th{
  color:var(--muted);
  font-weight:700;
  background:rgba(17,24,39,.02);
  width:34%;
}
.table tr:last-child td,.table tr:last-child th{ border-bottom:none; }

/* grid */
.grid2{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
  margin-top:12px;
}
@media (max-width:680px){
  .grid2{ grid-template-columns:1fr; }
}

.shot{
  border:1px solid var(--line);
  border-radius:14px;
  background:#fff;
  overflow:hidden;
}
.shot img{ width:100%; height:auto; }
.shot .cap{ padding:10px 12px; color:var(--muted); font-size:13px; }
.shot.mt{ margin-top:12px; }

.proof-links{
  margin:10px 0 0;
  padding-left:18px;
}
.proof-links li{ margin:6px 0; }

/* buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:14px;
  border-radius:14px;
  border:1px solid rgba(37,99,235,.25);
  background:linear-gradient(180deg, rgba(37,99,235,.12), rgba(37,99,235,.06));
  color:var(--accent2);
  font-weight:800;
  letter-spacing:.2px;
  text-decoration:none;
}
.btn:hover{ background:linear-gradient(180deg, rgba(37,99,235,.14), rgba(37,99,235,.08)); text-decoration:none; }

.official-links{
  margin-top:14px;
  display:grid;
  gap:10px;
}

/* video */
.video-note{ margin:0 0 10px; color:var(--muted); font-size:13px; }
.videoWrap{
  position:relative;
  width:100%;
  padding-top:56.25%;
  border-radius:16px;
  overflow:hidden;
  border:1px solid var(--line);
  background:#000;
}
.videoWrap iframe{
  position:absolute;
  top:0; left:0;
  width:100%; height:100%;
}
.sns-proof{
  margin-top:14px;
  border:1px solid var(--line);
  border-radius:14px;
  overflow:hidden;
  background:#fff;
}
.sns-proof img{ width:100%; height:auto; object-fit:contain; }
.sns-proof .caption{ margin:0; padding:10px 12px; font-size:12px; color:var(--muted); }

/* note-card */
.note-card{
  margin-top:16px;
  padding:16px;
  border-radius:16px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.92);
}
.note-card__head{ margin-bottom:10px; }
.note-title{ margin:0; font-size:16px; }
.note-text{ margin:0 0 12px; color:var(--text); }

.img-card{
  margin:0;
  border:1px solid var(--line);
  border-radius:14px;
  overflow:hidden;
  background:#fff;
}
.img-cap{
  padding:10px 12px;
  font-size:12px;
  color:var(--muted);
  border-top:1px solid var(--line);
}

/* official video block separator */
#official-video{
  margin-bottom:28px;
  padding-bottom:20px;
  border-bottom:1px solid rgba(0,0,0,.12);
}

/* YouTube link row (center + larger) */
#official-video .yt-logo-row{
  display:flex;
  justify-content:center;
  margin-top:12px;
}
#official-video .yt-logo-link{
  display:inline-flex;
  align-items:center;
  gap:12px;
  padding:10px 16px;
  border-radius:12px;
  border:1px solid rgba(0,0,0,.12);
  background:#fff;
  color:#1a73e8;
  font-weight:700;
  text-decoration:none;
}
#official-video .yt-logo-link:hover{ text-decoration:underline; opacity:.92; }
#official-video .yt-logo-img{
  height:34px !important;  /* ← 一回り大きめ。さらに上げたいなら 36-40 */
  width:auto !important;
  max-width:none !important;
}
#official-video .yt-logo-text{ white-space:nowrap; font-size:16px; }

/* AI plans */
#ai-plans .plan-table-wrap{
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
  margin-top:10px;
  border:1px solid rgba(0,0,0,.10);
  border-radius:12px;
  background:#fff;
}
#ai-plans .plan-table{
  width:100%;
  border-collapse:collapse;
  min-width:560px;
}
#ai-plans .plan-table th,
#ai-plans .plan-table td{
  padding:12px;
  border-bottom:1px solid rgba(0,0,0,.08);
  text-align:left;
  vertical-align:middle;
  white-space:normal;
}
#ai-plans .plan-table th{
  font-weight:700;
  background:rgba(0,0,0,.03);
}
#ai-plans .plan-table td:first-child,
#ai-plans .plan-table th:first-child{
  white-space:nowrap;
  font-weight:700;
}
#ai-plans .plan-table tbody tr:last-child td{ border-bottom:none; }

#ai-plans .plan-grid{
  margin-top:16px;
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:12px;
}
@media (max-width:720px){
  #ai-plans .plan-grid{ grid-template-columns:1fr; }
}
#ai-plans .plan-card{
  margin:0;
  border:1px solid rgba(0,0,0,.10);
  border-radius:14px;
  overflow:hidden;
  background:#0b0f14;
}
#ai-plans .plan-card img{ width:100%; height:auto; }
#ai-plans .plan-cap{
  padding:8px 10px;
  background:rgba(255,255,255,.04);
  color:#e8eef6;
}
#ai-plans .plan-name{
  display:block;
  font-weight:800;
  margin-bottom:3px;
  font-size:14px;
}
#ai-plans .plan-meta{
  display:block;
  font-size:12px;
  opacity:.88;
}

/* make AI Daily wide on desktop */
#ai-plans .plan-card--wide{
  grid-column:1 / -1;
}

/* inputs in simulator */
.input{
  width:100%;
  padding:10px;
  margin-top:6px;
  border:1px solid var(--line);
  border-radius:12px;
  background:#fff;
  font-size:14px;
}
.btn-cell{ align-self:end; }

.chartWrap{
  height:320px;
  margin-top:16px;
}

/* footer */
.foot{
  margin-top:18px;
  padding-top:14px;
  border-top:1px dashed rgba(17,24,39,.18);
  color:var(--muted);
  font-size:12.5px;
}
body {
  font-family: "Noto Sans JP", sans-serif;
}

.layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 24px;
}

.nav a,
.toc a {
  display: block;
  padding: 6px 0;
  text-decoration: none;
}

.toc a:hover,
.nav a:hover {
  text-decoration: underline;
}

.register-banner-link img {
  max-width: 100%;
  border-radius: 8px;
}
