/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --orange: #F4821E;
  --orange-light: #FEF0E3;
  --navy: #1E2D6B;
  --navy-light: #E8EBFA;
  --gray: #B0B0B0;
  --text: #1A1A1A;
  --text-sub: #555;
  --bg: #FFFFFF;
  --section-bg: #F9F9F9;
}
html { scroll-behavior: smooth; }
html, body { overflow-x: hidden; max-width: 100%; }
body {
  font-family: 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Noto Sans JP', 'Yu Gothic', 'Meiryo', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.8;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* 日本語を文節（意味のまとまり）単位で改行。単語途中の変な改行を防ぐ（全要素に継承） */
  word-break: auto-phrase;
  overflow-wrap: break-word;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ── Nav ── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.97);
  border-bottom: 1px solid #eee;
  backdrop-filter: blur(6px);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 48px; max-width: 1280px; margin: 0 auto;
}
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo img { height: 44px; width: auto; mix-blend-mode: multiply; }
.nav-logo-sub { font-size: 11px; letter-spacing: 0.08em; color: var(--gray); font-weight: 700; }
.nav-menu { display: flex; align-items: center; gap: 28px; }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 14px; font-weight: 700; }
.nav-links > a, .nav-item > a { color: var(--navy); transition: color 0.2s; display: inline-flex; align-items: center; gap: 4px; }
.nav-links > a:hover, .nav-item > a:hover { color: var(--orange); }
.caret { font-size: 10px; }

/* dropdown */
.nav-item { position: relative; }
.dropdown-menu {
  position: absolute; top: 100%; left: 0; right: auto; transform: translateY(6px);
  background: #ffffff; border: 1px solid #eef0f4; border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,20,109,0.12);
  padding: 8px; min-width: 200px;
  opacity: 0; visibility: hidden; transition: opacity 0.18s, transform 0.18s;
}
/* 透明のブリッジでリンクとメニューの隙間を埋め、ホバーが切れないようにする */
.dropdown-menu::before { content: ""; position: absolute; left: 0; top: -12px; width: 100%; height: 14px; }
.nav-item:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(2px); }
.dropdown-menu a {
  display: block; padding: 10px 14px; font-size: 14px; font-weight: 600;
  color: var(--navy); border-radius: 6px; transition: background 0.15s, color 0.15s;
}
.dropdown-menu a:hover { background: var(--orange-light); color: var(--orange); }

.nav-cta {
  background: linear-gradient(135deg, #ff9438, var(--orange) 60%, #e06f10);
  color: #fff; padding: 11px 22px; border-radius: 6px;
  font-size: 14px; font-weight: 700; white-space: nowrap;
  box-shadow: 0 4px 14px rgba(244,130,30,0.3);
  transition: transform .2s, box-shadow .2s, filter .2s;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(244,130,30,0.42); filter: brightness(1.05); }

/* hamburger */
.nav-toggle { display: none; }
.nav-burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 6px; }
.nav-burger span { display: block; width: 24px; height: 2px; background: var(--navy); transition: 0.2s; }

/* ── Hero (top page) ── */
.hero {
  min-height: 92vh;
  display: flex; align-items: center;
  padding: 140px 48px 80px;
  background:
    radial-gradient(130% 90% at 12% 18%, rgba(244,130,30,0.22), transparent 55%),
    linear-gradient(105deg, rgba(11,19,52,0.92) 0%, rgba(13,22,58,0.66) 48%, rgba(13,22,58,0.30) 100%),
    url("hero.jpg") 84% 34% / cover no-repeat;
  position: relative; overflow: hidden;
}
.hero-content { max-width: 660px; z-index: 1; }
.hero-tag {
  display: inline-block; color: #FFB067;
  font-size: 13px; font-weight: 700;
  padding: 0 0 0 16px; position: relative;
  margin-bottom: 22px; letter-spacing: 0.08em;
}
.hero-tag::before {
  content: ""; position: absolute; left: 0; top: 50%;
  width: 8px; height: 2px; background: var(--orange);
}
.hero-catch-lead {
  font-size: clamp(16px, 2.4vw, 22px); font-weight: 700;
  color: #fff; margin-bottom: 10px; letter-spacing: 0.04em;
}
.hero-catch-lead span { color: var(--orange); }
.hero h1, .hero-catch {
  font-size: clamp(40px, 7vw, 76px);
  font-weight: 900; line-height: 1.18;
  color: #fff; margin-bottom: 20px; letter-spacing: 0.01em;
}
.hero h1 span, .hero-catch span { color: var(--orange); }
.hero-sub {
  font-size: clamp(15px, 2vw, 18px);
  color: rgba(255,255,255,0.9);
  margin-bottom: 34px; font-weight: 400;
  text-shadow: 0 1px 12px rgba(0,0,0,0.35);
}
.hero-punch {
  font-size: clamp(16px, 2.6vw, 22px); font-weight: 900; color: #fff;
  margin-bottom: 18px; line-height: 1.5; letter-spacing: 0.02em;
  text-shadow: 0 1px 12px rgba(0,0,0,0.4);
}
.hero-punch span { color: var(--orange); }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-microcopy {
  margin-top: 16px; font-size: 13px; font-weight: 700; color: #FFB067;
  letter-spacing: 0.03em;
}

/* ── 事実バー ── */
.facts { padding: 0; background: #fff; border-bottom: 1px solid #eee; }
.facts-inner {
  max-width: 900px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr);
}
.fact { text-align: center; padding: 26px 16px; border-right: 1px solid #eee; }
.fact:last-child { border-right: none; }
.fact .big { font-size: clamp(19px, 2.3vw, 26px); font-weight: 900; color: var(--navy); line-height: 1.25; }
.fact .big span { color: var(--orange); }
.fact .lbl { font-size: 12px; color: var(--text-sub); line-height: 1.6; margin-top: 8px; }
@media (max-width: 560px) {
  .fact { padding: 22px 8px; }
  .fact .lbl { font-size: 11px; }
}
.btn-primary {
  background: linear-gradient(135deg, #ff9438 0%, var(--orange) 55%, #e06f10 100%);
  color: #fff; padding: 16px 36px; border-radius: 6px;
  font-size: 16px; font-weight: 700;
  box-shadow: 0 8px 22px rgba(244,130,30,0.35);
  transition: transform .2s, box-shadow .2s, filter .2s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(244,130,30,0.45); filter: brightness(1.04); }
.btn-secondary {
  border: 1px solid rgba(255,255,255,0.7); color: #fff;
  padding: 15px 32px; border-radius: 4px;
  font-size: 16px; font-weight: 700; transition: background 0.2s, color 0.2s;
}
.btn-secondary:hover { background: #fff; color: var(--navy); }

/* ── Promo banner (slide giveaway) ── */
.promo { display: block; background: linear-gradient(100deg, var(--orange) 0%, #ff9d4d 100%); }
.promo-inner {
  max-width: 1080px; margin: 0 auto;
  display: flex; align-items: center; gap: 28px;
  padding: 22px 48px; color: #fff;
}
.promo-badge {
  flex-shrink: 0; background: #fff; color: var(--orange);
  font-size: 13px; font-weight: 900; padding: 8px 16px; border-radius: 4px;
  letter-spacing: 0.04em;
}
.promo-text { flex: 1; }
.promo-title { font-size: clamp(17px, 2.4vw, 24px); font-weight: 900; line-height: 1.4; }
.promo-title span { text-decoration: underline; text-underline-offset: 4px; }
.promo-sub { font-size: 13px; opacity: 0.92; margin-top: 4px; }
.promo-cta {
  flex-shrink: 0; background: var(--navy); color: #fff;
  padding: 12px 24px; border-radius: 4px; font-weight: 700; font-size: 15px;
  transition: background 0.2s;
}
.promo:hover .promo-cta { background: #16224f; }

/* ── Vision band（思い） ── */
.vision-band {
  background: var(--section-bg, #faf7f2);
  padding: 72px 48px;
  text-align: center;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}
.vision-band-inner { max-width: 760px; margin: 0 auto; }
.vb-label {
  font-size: 12px; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--orange); margin-bottom: 14px;
}
.vision-band h2 {
  font-size: clamp(24px, 3.4vw, 40px); font-weight: 900;
  color: var(--navy); line-height: 1.4; margin-bottom: 22px;
}
.vision-band h2 span {
  color: var(--orange);
  background: linear-gradient(transparent 62%, rgba(244,130,30,0.18) 62%);
}
.vision-band p {
  font-size: clamp(14px, 1.7vw, 16px); color: var(--text-sub);
  line-height: 2.1; margin-bottom: 28px;
}
.vb-link {
  display: inline-block; font-size: 14px; font-weight: 800;
  color: var(--navy); text-decoration: none;
  border-bottom: 2px solid var(--orange); padding-bottom: 3px;
  transition: color 0.18s, border-color 0.18s;
}
.vb-link:hover { color: var(--orange); }

/* ── Offer card（15分500円） ── */
.offer { padding: 56px 48px; }
.offer-card {
  max-width: 1040px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr auto; gap: 44px; align-items: center;
  background: #fff; border: 1px solid #ece7df; border-left: 6px solid var(--orange);
  border-radius: 12px; padding: 38px 44px;
  box-shadow: 0 6px 24px rgba(0,20,109,0.06);
}
.offer-eyebrow {
  display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: 0.08em;
  color: var(--orange); margin-bottom: 12px;
}
.offer-title { font-size: clamp(20px, 2.5vw, 27px); font-weight: 900; color: var(--navy); line-height: 1.5; margin-bottom: 12px; }
.offer-desc { font-size: 14px; color: var(--text-sub); line-height: 1.95; max-width: 560px; }
.offer-action { text-align: center; }
.offer-price { font-size: 42px; font-weight: 900; color: var(--navy); line-height: 1; margin-bottom: 16px; white-space: nowrap; }
.offer-yen { font-size: 22px; font-weight: 900; margin-right: 1px; }
.offer-unit { font-size: 14px; font-weight: 700; color: var(--text-sub); }
.offer-btn {
  display: inline-block; background: var(--orange); color: #fff; font-weight: 800; font-size: 15px;
  padding: 14px 46px; border-radius: 8px; text-decoration: none;
  box-shadow: 0 4px 12px rgba(244,130,30,0.22);
  transition: background .18s, transform .18s, box-shadow .18s;
}
.offer-btn:hover { background: #d96f13; transform: translateY(-2px); box-shadow: 0 7px 18px rgba(244,130,30,0.28); }
.offer-note { font-size: 12px; color: var(--gray); margin-top: 10px; }
@media (max-width: 720px) {
  .offer { padding: 40px 20px; }
  .offer-card { grid-template-columns: 1fr; gap: 24px; padding: 28px 24px; text-align: center; }
  .offer-desc { margin: 0 auto; }
  .offer-btn { display: block; }
}

/* ── Instagram section ── */
.insta { background: #fff; }
.insta-inner { max-width: 1080px; margin: 0 auto; }
.insta-embed { max-width: 640px; margin: 36px auto 0; }
.insta-fallback {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; text-align: center; text-decoration: none;
  padding: 56px 28px; border-radius: 14px; color: #fff;
  background: linear-gradient(120deg, #f58529 0%, #dd2a7b 50%, #8134af 100%);
  box-shadow: 0 8px 24px rgba(221,42,123,0.22);
  transition: transform 0.18s, box-shadow 0.18s;
}
.insta-fallback:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(221,42,123,0.3); }
.insta-ig { font-size: clamp(20px, 3vw, 28px); font-weight: 900; letter-spacing: 0.01em; }
.insta-fallback-text { font-size: 14px; font-weight: 700; opacity: 0.95; }

/* ── Page hero (sub pages) ── */
.page-hero {
  padding: 140px 48px 56px; background: var(--navy); color: #fff;
  position: relative; overflow: hidden;
}
.page-hero-inner { max-width: 1080px; margin: 0 auto; position: relative; z-index: 1; }
.page-hero .en { font-size: 12px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: #FFB067; margin-bottom: 10px; }
.page-hero h1 { font-size: clamp(28px, 4vw, 44px); font-weight: 900; letter-spacing: 0.01em; }
.page-hero p { font-size: 15px; color: rgba(255,255,255,0.75); margin-top: 12px; max-width: 620px; }

/* ── Section commons ── */
section { padding: 88px 48px; }
.section-label {
  font-size: 12px; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--orange);
  margin-bottom: 14px; padding-left: 20px; position: relative;
}
.section-label::before {
  content: ""; position: absolute; left: 0; top: 50%;
  width: 12px; height: 2px; background: var(--orange);
}
.section-title {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800; color: var(--navy);
  margin-bottom: 14px; line-height: 1.4; letter-spacing: 0.01em;
}
.section-desc { font-size: 16px; color: var(--text-sub); max-width: 560px; margin-bottom: 52px; line-height: 1.9; }

/* ── Features ── */
.features { background: var(--section-bg); }

/* ── How it works ── */
.steps { display: flex; flex-direction: column; gap: 0; }
.step { display: flex; gap: 24px; align-items: flex-start; padding: 28px 0; border-bottom: 1px solid #eee; }
.step:last-child { border-bottom: none; }
.step-num {
  width: 44px; height: 44px; flex-shrink: 0; border-radius: 50%;
  background: var(--navy); color: #fff; font-size: 18px; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
}
.step-body h3 { font-size: 17px; font-weight: 800; color: var(--navy); margin-bottom: 6px; }
.step-body p { font-size: 14px; color: var(--text-sub); }

/* ── Courses ── */
.courses { background: var(--section-bg); }
.courses-inner { max-width: 1080px; margin: 0 auto; }

/* ── Section links (top page quick nav) ── */
.linkcards {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px,1fr));
  gap: 20px; max-width: 1080px; margin: 0 auto;
}
.linkcard {
  background: #fff; border: 1px solid #e8e8e8; border-radius: 8px;
  padding: 28px 26px; transition: border-color 0.2s, transform 0.2s;
  display: flex; flex-direction: column; gap: 8px;
}
.linkcard:hover { border-color: var(--orange); transform: translateY(-3px); }
.linkcard .en { font-size: 11px; font-weight: 700; letter-spacing: 0.15em; color: var(--orange); text-transform: uppercase; }
.linkcard h3 { font-size: 18px; font-weight: 800; color: var(--navy); }
.linkcard p { font-size: 13px; color: var(--text-sub); line-height: 1.7; }
.linkcard .arrow { margin-top: auto; font-size: 13px; font-weight: 700; color: var(--navy); }

/* ── CTA Banner ── */
.cta-banner { background: var(--navy); padding: 80px 48px; text-align: center; color: #fff; }
.cta-banner h2 { font-size: clamp(24px, 3vw, 40px); font-weight: 900; margin-bottom: 12px; }
.cta-banner h2 span { color: var(--orange); }
.cta-banner p { font-size: 16px; color: rgba(255,255,255,0.7); margin-bottom: 36px; }
.btn-cta-main {
  display: inline-block;
  background: linear-gradient(135deg, #ff9438 0%, var(--orange) 55%, #e06f10 100%);
  color: #fff; padding: 18px 52px; border-radius: 6px; font-size: 18px; font-weight: 800;
  box-shadow: 0 10px 28px rgba(244,130,30,0.4);
  transition: transform .2s, box-shadow .2s, filter .2s;
}
.btn-cta-main:hover { transform: translateY(-3px); box-shadow: 0 16px 38px rgba(244,130,30,0.5); filter: brightness(1.04); }
.cta-note { font-size: 13px; color: rgba(255,255,255,0.5); margin-top: 14px; }

/* ── Footer ── */
footer { background: #111; color: rgba(255,255,255,0.6); padding: 40px 48px; }
.footer-inner {
  max-width: 1080px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px; font-size: 13px;
}
.footer-logo { color: var(--orange); font-size: 20px; font-weight: 900; }
.footer-logo span { color: #fff; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { color: rgba(255,255,255,0.5); transition: color 0.2s; }
.footer-links a:hover { color: var(--orange); }

/* ── Responsive ── */
@media (max-width: 900px) {
  .grid-2 { grid-template-columns: 1fr !important; }
}
@media (max-width: 820px) {
  .nav { padding: 10px 20px; }
  .nav-burger { display: flex; z-index: 130; }
  /* burger → X when open */
  .nav-toggle:checked ~ .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle:checked ~ .nav-burger span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked ~ .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  /* dim overlay：ページ全体を暗転（ドロワーの背後・site-headerに付与） */
  .site-header::after {
    content: ""; position: fixed; inset: 0; background: rgba(0,0,0,0.4);
    opacity: 0; visibility: hidden; transition: opacity 0.25s; z-index: 110;
  }
  .site-header:has(.nav-toggle:checked)::after { opacity: 1; visibility: visible; }
  .nav-menu {
    position: fixed; top: 0; right: 0; height: 100dvh; width: min(82vw, 300px);
    background: #fff; flex-direction: column; align-items: stretch; justify-content: flex-start;
    gap: 0; padding: 78px 22px 28px; box-shadow: -8px 0 24px rgba(0,0,0,0.15);
    transform: translateX(105%); transition: transform 0.25s; overflow-y: auto; z-index: 120;
  }
  .nav-toggle:checked ~ .nav-menu { transform: translateX(0); }
  .nav-links { flex-direction: column; align-items: stretch; gap: 0; width: 100%; font-size: 15px; }
  .nav-item, .nav-links { width: 100%; }
  .nav-links > a, .nav-item > a { padding: 15px 6px; border-bottom: 1px solid #f0f0f0; justify-content: space-between; }
  .nav-item > a .caret { display: none; }
  .dropdown-menu {
    position: static; transform: none; opacity: 1; visibility: visible;
    box-shadow: none; border: none; border-left: 2px solid var(--orange-light);
    padding: 6px 0 10px 14px; margin-left: 6px; min-width: 0;
  }
  .dropdown-menu a { padding: 9px 8px; font-size: 14px; color: var(--text-sub); }
  .nav-cta { margin-top: 20px; text-align: center; padding: 14px; font-size: 15px; }
  section { padding: 60px 20px; }
  .hero { padding: 116px 20px 56px; min-height: 78vh; }
  .hero-catch, .hero h1 { font-size: clamp(34px, 11vw, 48px); }
  .page-hero { padding: 112px 20px 40px; }
  .promo-inner { flex-direction: column; align-items: flex-start; gap: 14px; padding: 22px 20px; }
  .promo-cta { align-self: stretch; text-align: center; }
  .cta-banner { padding: 60px 20px; }
  footer { padding: 32px 20px; }
  .footer-inner { flex-direction: column; text-align: center; }
  /* price tables fit small screens */
  .courses-inner table th { width: auto !important; padding: 12px 8px !important; font-size: 13px; }
  .courses-inner table td { padding: 12px 12px !important; font-size: 13px; }
}

/* ── スクロール演出（ふわっと出る） ── */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); will-change: opacity, transform; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ── マーカー風ハイライト ── */
.mark { background: linear-gradient(transparent 58%, rgba(244,130,30,0.30) 58%); padding: 0 2px; }

/* ── カードのホバー質感 ── */
.linkcard, .feature-card, .voice-card, .course-card { transition: transform .22s cubic-bezier(.2,.7,.2,1), box-shadow .22s, border-color .22s; }
.linkcard:hover, .voice-card:hover, .course-card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(13,22,58,0.12); }

/* ── CTAバナーにグラデ ── */
.cta-banner { background: linear-gradient(135deg, #16224f 0%, var(--navy) 55%, #24357f 100%); }

/* ── 事実バーの数字に下線アクセント ── */
.fact .big { position: relative; display: inline-block; padding-bottom: 8px; }
.fact .big::after { content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: 26px; height: 3px; border-radius: 2px; background: var(--orange); }
