* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html {
  height: auto !important;
  min-height: 100%;
  overflow-y: scroll !important;
}
body {
  margin: 0;
  height: auto !important;
  min-height: 100%;
  font-family: "Noto Sans JP", "Yu Gothic", "Meiryo", system-ui, sans-serif;
  color: #142033;
  background: #f6f8fb;
  line-height: 1.8;
  word-break: keep-all;
  overflow-wrap: anywhere;
  overflow-x: hidden !important;
  overflow-y: visible !important;
  overscroll-behavior-y: auto;
  touch-action: pan-y;
}
a { color: inherit; text-decoration: none; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid #dbe3ee;
}
.header-inner {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 900; letter-spacing: .02em; }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; color: #fff; background: var(--accent); font-weight: 950; }
.nav { display: flex; align-items: center; gap: 22px; color: #536176; font-size: 14px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 900;
  background: var(--accent);
  color: #fff;
  box-shadow: 0 12px 24px color-mix(in srgb, var(--accent) 24%, transparent);
}
.btn.secondary {
  color: var(--accent);
  background: #fff;
  border: 1px solid color-mix(in srgb, var(--accent) 38%, #dbe3ee);
  box-shadow: none;
}
.btn.dark { background: #142033; }
.section, .hero {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}
.hero { padding: 78px 0 54px; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
  gap: 54px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 10%, #fff);
  color: color-mix(in srgb, var(--accent) 88%, #142033);
  font-weight: 900;
  font-size: 13px;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  margin: 24px 0 20px;
  line-height: 1.14;
  font-size: clamp(42px, 6vw, 72px);
  letter-spacing: 0;
}
.phrase { display: block; }
.lead { color: #526173; font-size: clamp(17px, 1.8vw, 21px); max-width: 760px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.proof-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}
.proof {
  border: 1px solid #dbe3ee;
  background: rgba(255,255,255,.82);
  border-radius: 16px;
  padding: 16px;
  font-weight: 800;
}
.visual {
  min-height: 430px;
  position: relative;
  border-radius: 34px;
  padding: 28px;
  overflow: hidden;
  background: linear-gradient(145deg, color-mix(in srgb, var(--accent) 12%, #fff), #fff);
  border: 1px solid color-mix(in srgb, var(--accent) 22%, #dbe3ee);
  box-shadow: 0 28px 80px rgba(20,32,51,.12);
}
.visual::before {
  content: "";
  position: absolute;
  inset: -30% auto auto -15%;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 14%, transparent);
}
.screen {
  position: relative;
  z-index: 1;
  background: #fff;
  border: 1px solid #dbe3ee;
  border-radius: 22px;
  padding: 20px;
  box-shadow: 0 18px 44px rgba(20,32,51,.10);
}
.screen-bar { display: flex; gap: 8px; margin-bottom: 18px; }
.screen-bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--accent); opacity: .75; }
.bars { display: grid; gap: 13px; }
.bar { height: 18px; border-radius: 999px; background: #e8eef6; overflow: hidden; }
.bar b { display: block; width: var(--w); height: 100%; background: var(--accent); border-radius: inherit; }
.mascot {
  position: absolute;
  right: 24px;
  bottom: 12px;
  z-index: 2;
  width: min(170px, 34%);
  height: auto;
  filter: drop-shadow(0 18px 18px rgba(20,32,51,.16));
}
.floating-card {
  position: absolute;
  left: 26px;
  bottom: 28px;
  z-index: 3;
  width: min(290px, 58%);
  padding: 18px;
  border-radius: 20px;
  background: rgba(255,255,255,.94);
  border: 1px solid #dbe3ee;
  box-shadow: 0 18px 46px rgba(20,32,51,.13);
}
.floating-card b { display: block; color: var(--accent); }
.section { padding: 56px 0; }
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}
h2 { font-size: clamp(30px, 4vw, 48px); line-height: 1.24; margin-bottom: 10px; }
.muted { color: #657286; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.card {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid #dbe3ee;
  border-radius: 22px;
  padding: 24px;
  min-height: 210px;
}
.card .num {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--accent) 12%, #fff);
  color: var(--accent);
  font-weight: 950;
}
.card h3 { margin: 18px 0 10px; font-size: 22px; line-height: 1.35; }
.card img { position: absolute; right: 16px; top: 14px; width: 82px; height: 82px; object-fit: contain; }
.flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.step {
  padding: 22px;
  border-radius: 20px;
  background: color-mix(in srgb, var(--accent) 8%, #fff);
  border: 1px solid color-mix(in srgb, var(--accent) 24%, #dbe3ee);
  font-weight: 900;
}
.sample {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 22px;
  align-items: stretch;
  background: #fff;
  border: 1px solid #dbe3ee;
  border-radius: 28px;
  padding: 24px;
}
.sample-panel {
  background: color-mix(in srgb, var(--accent) 8%, #fff);
  border-radius: 20px;
  padding: 24px;
}
.sample-table {
  display: grid;
  grid-template-columns: 1.1fr .8fr .8fr;
  overflow: hidden;
  border: 1px solid #dbe3ee;
  border-radius: 18px;
  background: #fff;
}
.sample-table div { padding: 14px 16px; border-bottom: 1px solid #e8eef6; }
.sample-table div:nth-child(-n+3) { background: #f2f6fb; font-weight: 900; }
.quote {
  padding: 28px;
  border-radius: 26px;
  background: #142033;
  color: #fff;
}
.quote b { color: color-mix(in srgb, var(--accent) 82%, #fff); }
.split {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: 20px;
  align-items: start;
}
.panel {
  background: #fff;
  border: 1px solid #dbe3ee;
  border-radius: 26px;
  padding: 28px;
}
.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}
.check-list li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  color: #334155;
}
.check-list li::before {
  content: "";
  width: 20px;
  height: 20px;
  border-radius: 50%;
  margin-top: 5px;
  background: color-mix(in srgb, var(--accent) 18%, #fff);
  border: 6px solid color-mix(in srgb, var(--accent) 72%, #fff);
}
.decision {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.decision-card {
  padding: 22px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid #dbe3ee;
}
.decision-card b {
  display: block;
  color: var(--accent);
  margin-bottom: 8px;
}
.faq-list {
  display: grid;
  gap: 12px;
}
details {
  background: #fff;
  border: 1px solid #dbe3ee;
  border-radius: 18px;
  padding: 18px 20px;
}
summary {
  cursor: pointer;
  font-weight: 900;
  color: #142033;
}
details p {
  margin: 12px 0 0;
  color: #536176;
}
.form-card {
  text-align: left;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  margin-top: 26px;
  padding: 18px;
  border-radius: 22px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.22);
}
.form-card small { color: rgba(255,255,255,.76); }
.cta {
  margin: 62px auto 80px;
  padding: 40px;
  border-radius: 34px;
  background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 58%, #142033));
  color: #fff;
  text-align: center;
}
.cta p { color: rgba(255,255,255,.82); }
.cta .btn { background: #fff; color: var(--accent); }
.source-note {
  margin-top: 18px;
  color: #738095;
  font-size: 12px;
}
.style-learno { --accent: #21a367; }
.style-playse { --accent: #0d7a4f; }
.style-schoo { --accent: #2563eb; }
.style-udemy { --accent: #7c3aed; }
.style-globis { --accent: #0e7490; }
.style-aircourse { --accent: #0891b2; }
.style-etudes { --accent: #6d5dfc; }
.style-playse .hero, .style-schoo .hero, .style-udemy .hero {
  width: 100%;
  padding-left: max(20px, calc((100vw - 1160px) / 2));
  padding-right: max(20px, calc((100vw - 1160px) / 2));
}
.style-playse .hero { background: #08251a; color: #fff; }
.style-playse .lead, .style-playse .muted { color: rgba(255,255,255,.78); }
.style-playse .visual { background: linear-gradient(145deg, #0f3b2d, #0b1f18); border-color: rgba(255,255,255,.18); }
.style-playse .proof { color: #142033; }
.style-schoo .hero { background: linear-gradient(135deg, #eff6ff, #fff); }
.style-udemy .hero { background: #171126; color: #fff; }
.style-udemy .lead { color: rgba(255,255,255,.78); }
.style-udemy .proof { color: #142033; }
.style-udemy .visual { background: #24183a; border-color: rgba(255,255,255,.12); }
.index-hero { padding: 70px 0 36px; }
.index-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.index-card { background: #fff; border: 1px solid #dbe3ee; border-radius: 24px; padding: 22px; }
.index-card h2 { font-size: 24px; }
.links { display: grid; gap: 8px; margin-top: 16px; }
.links a { padding: 10px 12px; background: #f4f7fb; border-radius: 12px; color: #334155; }
.scroll-tools {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 80;
  display: grid;
  gap: 8px;
}
.scroll-tools button {
  min-width: 86px;
  border: 1px solid #dbe3ee;
  border-radius: 999px;
  background: rgba(255,255,255,.94);
  color: #142033;
  padding: 10px 14px;
  font-weight: 900;
  box-shadow: 0 10px 28px rgba(20,32,51,.13);
  cursor: pointer;
}
.scroll-tools button:first-child {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
@media (max-width: 920px) {
  .nav { display: none; }
  .hero-grid, .sample, .split, .form-card { grid-template-columns: 1fr; }
  .proof-row, .grid-3, .grid-4, .flow, .index-grid, .decision { grid-template-columns: 1fr; }
  .visual { min-height: 360px; }
  .floating-card { position: relative; left: auto; bottom: auto; margin-top: 18px; width: 100%; }
  .mascot { width: 130px; right: 16px; bottom: 16px; }
  .section-head { display: block; }
}
@media (max-width: 640px) {
  .header-inner, .section, .hero { width: min(100% - 28px, 1160px); }
  h1 { font-size: clamp(36px, 11vw, 50px); }
  .phrase { display: block; }
  .sample-table { grid-template-columns: 1fr; }
  .sample-table div:nth-child(-n+3) { display: none; }
}
