/* オンラインスクール構築ガイド ── 教科書デザインシステム(濃紺基調) */
:root {
  --primary: #1B4F72;
  --secondary: #2E86C1;
  --light: #EBF5FB;
  --gold: #F1C40F;
  --accent: #E74C3C;
  --text: #2C3E50;
  --border: #D5DBDB;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", sans-serif;
  color: var(--text);
  line-height: 1.85;
  font-size: 16px;
  background: #fff;
}
.wrap { max-width: 860px; margin: 0 auto; padding: 0 20px; }

.pr-bar {
  background: #F4F6F7;
  color: #5D6D7E;
  font-size: 12px;
  text-align: center;
  padding: 6px 10px;
}

.site-header { background: var(--primary); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; padding-top: 14px; padding-bottom: 14px; }
.brand { color: #fff; font-weight: 700; font-size: 18px; text-decoration: none; }
.nav { display: flex; flex-wrap: wrap; gap: 4px 14px; }
.nav a { color: var(--light); text-decoration: none; font-size: 13.5px; padding: 4px 2px; }
.nav a:hover { color: var(--gold); }
.nav-cta { background: var(--gold); color: var(--primary) !important; border-radius: 999px; padding: 4px 14px !important; font-weight: 700; }

.article { padding: 32px 20px 56px; }
.article h1 { color: var(--primary); font-size: 1.7em; line-height: 1.45; border-bottom: 4px solid var(--primary); padding-bottom: 10px; }
.article h2 { color: var(--primary); font-size: 1.3em; line-height: 1.5; border-left: 8px solid var(--secondary); padding-left: 12px; margin-top: 2.2em; }
.article h3 { color: var(--secondary); font-size: 1.1em; margin-top: 1.8em; }
.article a { color: var(--secondary); }
.lead { font-size: 1.05em; color: #34495E; }
.date { color: #85929E; font-size: 13px; }

.article table { border-collapse: collapse; width: 100%; margin: 1.2em 0; font-size: 14px; }
.article th { background: var(--primary); color: #fff; padding: 9px 12px; border: 1px solid var(--primary); text-align: left; }
.article td { padding: 9px 12px; border: 1px solid var(--border); vertical-align: top; }
.article tr:nth-child(even) td { background: #F8F9F9; }
.table-scroll { overflow-x: auto; }

blockquote, .box {
  margin: 1.2em 0; padding: 14px 18px;
  background: var(--light); border-left: 6px solid var(--secondary); border-radius: 6px;
  font-size: 0.95em;
}
.box-warn { background: #FEF9E7; border-left-color: #E67E22; }
.box-important { background: #FDEDEC; border-left-color: var(--accent); }

.cta {
  margin: 2.2em 0; padding: 26px 24px; text-align: center;
  background: linear-gradient(160deg, var(--primary), #143A55);
  border-radius: 12px; color: #fff;
}
.cta p { margin: 0 0 14px; font-weight: 700; font-size: 1.05em; color: #fff; }
.btn {
  display: inline-block; background: var(--gold); color: var(--primary);
  font-weight: 700; font-size: 1.05em; text-decoration: none;
  padding: 14px 34px; border-radius: 999px;
}
.btn:hover { filter: brightness(1.06); }
.btn-sub { display: inline-block; background: #fff; color: var(--primary); font-weight: 700; text-decoration: none; padding: 12px 28px; border-radius: 999px; }
.cta-note { font-size: 12px; color: #D6EAF8; margin-top: 12px !important; font-weight: 400 !important; }

.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 1.2em 0; }
.card { border: 1px solid var(--border); border-radius: 10px; padding: 16px 18px; }
.card h3 { margin-top: 0.2em; }

.site-footer { background: #17202A; color: #D5D8DC; margin-top: 40px; }
.site-footer .wrap { padding: 26px 20px; }
.site-footer a { color: #AED6F1; }
.fine { font-size: 12px; color: #85929E; }

@media (max-width: 640px) {
  .grid2 { grid-template-columns: 1fr; }
  .site-header .wrap { flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* === 実スクリーンショット（実体験の証拠）=== */
figure.shot { margin: 1.6em 0; }
figure.shot img {
  width: 100%; height: auto; display: block;
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 6px 22px rgba(27, 79, 114, 0.10);
}
figure.shot figcaption {
  margin-top: 10px; font-size: 12.5px; color: #5D6D7E; line-height: 1.7;
  text-align: center;
}
.shot-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 1.6em 0; }
.shot-grid figure.shot { margin: 0; }
.proof {
  margin: 1.8em 0; padding: 22px 24px;
  background: linear-gradient(180deg, #f4f9fd, #eef5fb);
  border: 1px solid #d3e3f0; border-radius: 12px;
}
.proof h3 { margin: 0 0 6px; color: var(--primary); font-size: 1.05em; }
.proof p { margin: 0 0 10px; font-size: 14px; }
.proof .shot-grid { margin-top: 14px; }
@media (max-width: 640px) { .shot-grid { grid-template-columns: 1fr; } }
