/* ============================================================
   JOL Sample Landing Page  —  トンマナは jol-jp.com を踏襲
   ============================================================ */
:root {
  --orange: #ff6b1a;
  --orange-2: #ff7020;
  --bg-light: #f3f6fa;
  --bg-pill: #e3ebf2;
  --border: #dde6ef;
  --line: #bbccdb;
  /* テキスト2色ルール（デザインシステム）:
     --text  = 見出し・強調コピー・会社データなど「濃い文字」
     --muted = 説明文・本文パラグラフはすべてこの1色のグレーで統一 */
  --text: #222;
  --muted: #55636e;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: "YuGothic", "Yu Gothic", "Yu Gothic Medium", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  color: var(--text);
  background: #fff;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 64px);
}
.container--narrow { max-width: 960px; }

/* ---------- 共通見出し ---------- */
.eyebrow {
  font-family: Avenir, "Noto Sans JP", sans-serif;
  font-size: clamp(12px, 1vw, 14px);
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--orange);
  text-align: center;
  text-transform: uppercase;
}

.section-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(6px, 0.6vw, 10px);
  font-size: clamp(24px, 2.1vw, 40px);
  font-weight: 700;
  line-height: 1.32;
  text-align: center;
  flex-wrap: wrap;
}
.eyebrow + .section-title { margin-top: clamp(10px, 1vw, 16px); }

.section-lead {
  margin: clamp(16px, 1.4vw, 24px) auto 0;
  max-width: 760px;
  font-size: clamp(14px, 1.05vw, 18px);
  font-weight: 500;
  line-height: 1.9;
  color: var(--muted);
  text-align: center;
}

.inline-logo {
  display: inline-block;
  width: clamp(76px, 6.4vw, 122px);
  height: auto;
  vertical-align: middle;
  transform: translateY(-0.08em);
}
.inline-logo--sm { width: clamp(58px, 5vw, 84px); }

.lead-logo {
  display: inline-block;
  height: 1.05em;
  width: auto;
  vertical-align: -0.14em;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.35s var(--ease-spring), box-shadow 0.35s ease, background 0.3s ease, color 0.3s ease;
  will-change: transform;
}
.btn--white {
  background: #fff;
  color: var(--orange);
  font-size: clamp(15px, 1.1vw, 20px);
  padding: 0 clamp(28px, 3vw, 48px);
  height: clamp(56px, 4.5vw, 72px);
  min-width: clamp(200px, 16vw, 296px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}
.btn--white:hover { transform: translateY(-4px); box-shadow: 0 10px 26px rgba(0, 0, 0, 0.2); }

.btn--ghost {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.85);
  font-size: clamp(15px, 1.1vw, 20px);
  padding: 0 clamp(28px, 3vw, 48px);
  height: clamp(56px, 4.5vw, 72px);
  min-width: clamp(200px, 16vw, 296px);
}
.btn--ghost:hover { transform: translateY(-4px); background: rgba(255, 255, 255, 0.14); }

.btn--orange {
  background: var(--orange);
  color: #fff;
  font-size: clamp(18px, 1.4vw, 24px);
  height: clamp(60px, 4.5vw, 72px);
  min-width: clamp(280px, 27vw, 512px);
  box-shadow: 0 6px 20px rgba(255, 107, 26, 0.3);
}
.btn--orange:hover { transform: translateY(-4px) scale(1.02); box-shadow: 0 12px 30px rgba(255, 107, 26, 0.45); }

.btn--outline {
  background: #fff;
  color: var(--orange);
  border: 2px solid var(--orange);
  font-size: clamp(15px, 1.1vw, 18px);
  padding: 0 clamp(28px, 3vw, 44px);
  height: clamp(52px, 4vw, 62px);
  min-width: clamp(220px, 18vw, 300px);
}
.btn--outline:hover { transform: translateY(-4px); background: var(--orange); color: #fff; box-shadow: 0 10px 26px rgba(255, 107, 26, 0.32); }

/* ============================================================
   固定ヘッダー
   ============================================================ */
.site-nav {
  position: fixed;
  top: clamp(16px, 2.1vw, 40px);
  left: clamp(16px, 3.75vw, 72px);
  right: clamp(16px, 3.75vw, 72px);
  z-index: 100;
  height: clamp(56px, 3.6vw, 69px);
  padding: 0 clamp(20px, 1.9vw, 36px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.24);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition: background 0.5s ease;
}
.site-nav.is-light { background: rgba(201, 209, 214, 0.44); }

.site-nav__logo {
  position: relative;
  display: flex;
  align-items: center;
  width: clamp(64px, 4.2vw, 80px);
  transition: transform 0.35s var(--ease-spring);
}
.site-nav__logo:hover { transform: scale(1.06); }
.site-nav__logo-img { width: 100%; height: auto; transition: opacity 0.5s ease; }
.site-nav__logo-img--orange { position: absolute; inset: 0; opacity: 0; }
.site-nav.is-light .site-nav__logo-img--white { opacity: 0; }
.site-nav.is-light .site-nav__logo-img--orange { opacity: 1; }

.site-nav__links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.6vw, 44px);
}
.site-nav__link {
  color: #fff;
  font-size: clamp(14px, 1.05vw, 18px);
  font-weight: 700;
  line-height: 1.8;
  text-decoration: none;
  position: relative;
  transition: color 0.5s ease;
  white-space: nowrap;
}
.site-nav.is-light .site-nav__link { color: var(--orange); }
.site-nav__link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease-out);
}
.site-nav__link:hover::after { transform: scaleX(1); }

.site-nav__link--cta {
  padding: 8px 20px;
  border-radius: 999px;
  background: var(--orange);
  color: #fff !important;
  line-height: 1.4;
}
.site-nav__link--cta::after { display: none; }
.site-nav__link--cta:hover { background: #ff7d34; }
.site-nav.is-light .site-nav__link--cta { color: #fff !important; }

/* --- ハンバーガー --- */
.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  padding: 0; margin: -4px -8px -4px 0;
  border: none; background: none; cursor: pointer;
  color: #fff;
  transition: color 0.5s ease;
  -webkit-tap-highlight-color: transparent;
}
.site-nav.is-light .nav-toggle { color: var(--orange); }
.nav-toggle span {
  display: block; width: 24px; height: 2.5px;
  border-radius: 2px; background: currentColor;
  transition: transform 0.3s var(--ease-out), opacity 0.2s ease;
}
.site-nav.is-open .nav-toggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.site-nav.is-open .nav-toggle span:nth-child(2) { opacity: 0; }
.site-nav.is-open .nav-toggle span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .site-nav__links {
    position: absolute;
    top: calc(100% + 12px);
    right: 0; left: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    min-width: 230px;
    padding: 10px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: 0 14px 34px rgba(34, 62, 92, 0.18);
    opacity: 0; visibility: hidden;
    transform: translateY(-8px);
    transform-origin: top right;
    transition: opacity 0.28s var(--ease-out), transform 0.28s var(--ease-out), visibility 0.28s;
    pointer-events: none;
  }
  .site-nav.is-open .site-nav__links {
    opacity: 1; visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }
  .site-nav__links .site-nav__link {
    color: var(--orange);
    font-size: 16px; line-height: 1.4;
    padding: 13px 16px; border-radius: 10px;
    transition: background 0.2s ease;
  }
  .site-nav__links .site-nav__link:hover,
  .site-nav__links .site-nav__link:active { background: var(--bg-light); }
  .site-nav__link::after { display: none; }
  .site-nav__link--cta { text-align: center; }
  .site-nav__links .site-nav__link--cta:hover { background: #ff7d34; }
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  background-image: url("assets/hero-bg.png"), linear-gradient(160deg, #ff8a3d 0%, #ff6b1a 55%, #f95d0e 100%);
  background-size: 100% auto, cover;
  background-position: top center;
  background-repeat: no-repeat;
  background-color: #ff6b1a;
  min-height: 52.4vw;
  color: #fff;
  overflow: hidden;
}
.hero__inner {
  max-width: 1920px;
  margin: 0 auto;
  padding: clamp(88px, 4.2vw, 100px) clamp(24px, 4.8vw, 92px) clamp(72px, 7vw, 120px);
}
.hero__body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(32px, 4vw, 80px);
  margin-top: clamp(40px, 6vw, 116px);
}
.hero__copy { flex: 0 1 auto; }
.hero__eyebrow {
  display: inline-block;
  font-size: clamp(12px, 1vw, 16px);
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.hero__title {
  margin-top: clamp(18px, 1.6vw, 26px);
  font-size: clamp(32px, 3.4vw, 66px);
  font-weight: 700;
  line-height: 1.32;
  letter-spacing: 0.01em;
}
.hero__lead {
  margin-top: clamp(24px, 2.4vw, 44px);
  font-size: clamp(15px, 1.25vw, 24px);
  font-weight: 700;
  line-height: 1.8;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(16px, 1.3vw, 24px);
  margin-top: clamp(36px, 4vw, 64px);
}
.hero__visual {
  position: relative;
  flex: 0 0 auto;
  width: clamp(300px, 38.5vw, 738px);
  aspect-ratio: 738 / 489;
}
.hero__mac {
  position: absolute; top: 0; right: 0;
  width: 89%;
  border-radius: clamp(10px, 1vw, 20px);
  box-shadow: 0 4px 28px rgba(0, 0, 0, 0.16);
  overflow: hidden;
}
.hero__phone {
  position: absolute;
  width: 20.6%;
  border-radius: clamp(10px, 1vw, 20px);
  border: 1px solid var(--border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.26);
  overflow: hidden;
  bottom: 0;
}
.hero__phone img, .hero__mac img { width: 100%; height: 100%; object-fit: cover; }
.hero__phone--1 { left: 0; }
.hero__phone--2 { left: 26%; }

/* ============================================================
   About（JOLとは？）— マスコット＋お悩み吹き出し
   ============================================================ */
.about {
  position: relative;
  background: var(--bg-light);
  padding: clamp(64px, 6.5vw, 120px) 0 clamp(56px, 5vw, 96px);
  text-align: center;
  overflow: hidden;
}
.about__mascot {
  position: absolute;
  bottom: clamp(8px, 2vw, 40px);
  width: clamp(240px, 37vw, 580px);
  height: auto;
  pointer-events: none;
  z-index: 1;
  filter: drop-shadow(0 18px 24px rgba(34, 62, 92, 0.12));
}
.about__mascot--left { left: clamp(-70px, -3vw, -20px); }
.about__mascot--right { right: clamp(-70px, -3vw, -20px); }
.about .container { position: relative; z-index: 2; }
.about__catch {
  margin-top: clamp(32px, 3vw, 56px);
  font-size: clamp(20px, 1.7vw, 32px);
  font-weight: 700;
}
.about__text {
  margin-top: clamp(24px, 2.2vw, 40px);
  font-size: clamp(15px, 1.2vw, 24px);
  font-weight: 500;
  line-height: 2;
  color: var(--muted);
}

/* --- お悩み吹き出しピル --- */
.pills {
  position: relative;
  max-width: 940px;
  height: 244px;
  margin: clamp(28px, 3vw, 48px) auto 0;
}
.pill {
  position: absolute;
  transform: translateX(-50%);
  background: #fff;
  border: 1px solid #d0d3d7;
  border-radius: 14px;
  padding: 12px 24px;
  font-size: clamp(13px, 1vw, 16px);
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(34, 62, 92, 0.08);
  animation: floaty 5s ease-in-out infinite alternate;
}
.pill::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0; height: 0;
  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
  border-top: 9px solid #fff;
  filter: drop-shadow(0 1px 0 #d0d3d7);
}
.pill:nth-child(2) { animation-delay: -1s; }
.pill:nth-child(3) { animation-delay: -2s; }
.pill:nth-child(4) { animation-delay: -3s; }
.pill:nth-child(5) { animation-delay: -1.6s; }

/* ============================================================
   Solutions（できること）
   ============================================================ */
.solutions {
  background: var(--bg-light);
  padding: clamp(72px, 7vw, 128px) 0;
}
.sol-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 1.8vw, 32px);
  margin-top: clamp(44px, 4vw, 72px);
}
.sol {
  background: #fff;
  border: 2px solid transparent;
  border-radius: 18px;
  padding: clamp(26px, 2.4vw, 40px) clamp(22px, 2vw, 32px);
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s ease, border-color 0.45s ease;
}
.sol:hover { transform: translateY(-8px); box-shadow: 0 20px 44px rgba(34, 62, 92, 0.12); border-color: #ffd8c2; }
.sol__head { display: flex; align-items: center; gap: clamp(12px, 1vw, 16px); }
.sol__icon {
  flex: 0 0 auto;
  width: clamp(46px, 3.6vw, 56px);
  height: clamp(46px, 3.6vw, 56px);
  display: grid; place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, #ff8a3d, #ff6b1a);
  color: #fff;
}
.sol__icon svg { width: 56%; height: 56%; }
.sol h3 { font-size: clamp(17px, 1.35vw, 22px); font-weight: 700; line-height: 1.35; }
.sol p { margin-top: clamp(14px, 1.2vw, 18px); font-size: clamp(14px, 1vw, 16px); color: var(--muted); line-height: 1.75; }

/* ============================================================
   Features（機能2カード）
   ============================================================ */
.features {
  background: #ebf0f6;
  padding: clamp(80px, 5.9vw, 113px) 0 clamp(64px, 4.4vw, 84px);
}
.features__sub {
  font-size: clamp(17px, 1.6vw, 28px);
  font-weight: 700;
  text-align: center;
  line-height: 1.4;
  color: var(--text);
}
.features > .container > .section-title { margin-top: clamp(14px, 1.2vw, 22px); }
.features__cards {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: clamp(24px, 2.3vw, 44px);
  margin-top: clamp(44px, 4vw, 76px);
  flex-wrap: wrap;
}
.tag {
  display: inline-block;
  background: #ffdac6;
  color: var(--orange);
  font-size: clamp(16px, 1.05vw, 20px);
  font-weight: 700;
  line-height: 1.32;
  padding: 4px 20px;
  border-radius: 4px;
}
.fcard {
  background: #fff;
  border-radius: 20px;
  width: min(632px, 100%);
  padding: clamp(28px, 2.4vw, 44px) clamp(20px, 2vw, 32px) clamp(24px, 2vw, 36px);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s ease;
}
.fcard:hover { transform: translateY(-8px); box-shadow: 0 20px 44px rgba(34, 62, 92, 0.12); }
.fcard__brand { height: clamp(42px, 3.8vw, 56px); width: auto; }
.fcard__phone-wrap {
  margin-top: clamp(18px, 1.8vw, 30px);
  display: flex;
  justify-content: center;
}
.fcard__shot { overflow: hidden; }
.fcard__shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.fcard__shot--phone {
  width: clamp(190px, 15vw, 236px);
  aspect-ratio: 235 / 484;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: 0 6px 22px rgba(34, 62, 92, 0.14);
}
.tilt-hover { transition: transform 0.45s var(--ease-spring); }
.tilt-hover:hover { transform: translateY(-6px) rotate(-1.2deg) scale(1.03); }
.fcard__title {
  margin-top: clamp(22px, 2.2vw, 40px);
  font-size: clamp(21px, 1.8vw, 32px);
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
  letter-spacing: 0.03em;
}
.fcard__grid {
  margin-top: clamp(20px, 1.8vw, 32px);
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(14px, 1vw, 20px);
}
.fbox {
  background: #ebf0f6;
  border-radius: 8px;
  padding: clamp(16px, 1.1vw, 20px) clamp(16px, 1.1vw, 21px);
  min-height: clamp(124px, 7.9vw, 152px);
}
.fbox h4 { color: var(--orange); font-size: clamp(17px, 1.05vw, 20px); font-weight: 700; line-height: 1.45; letter-spacing: 0.03em; }
.fbox p { margin-top: clamp(6px, 0.5vw, 10px); font-size: clamp(14px, 0.85vw, 16px); font-weight: 500; line-height: 1.52; letter-spacing: 0.03em; color: var(--muted); }
/* 機能ボックスはカードと一緒にすぐ出す（スタッガー遅延なし・短めのフェード） */
.fbox.reveal { transition-duration: 0.5s; transition-delay: 0s; transform: translateY(18px); }

/* ============================================================
   対応する教育シーン
   ============================================================ */
.scene {
  background: #fff;
  padding: clamp(72px, 7vw, 128px) 0;
}
.scene-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(18px, 1.6vw, 28px);
  margin-top: clamp(44px, 4vw, 72px);
}
.scene-card {
  position: relative;
  background: var(--bg-light);
  border-radius: 18px;
  padding: clamp(28px, 2.6vw, 40px) clamp(20px, 1.8vw, 28px) clamp(24px, 2.2vw, 34px);
  overflow: hidden;
  text-align: center;
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s ease;
}
.scene-card:hover { transform: translateY(-8px); box-shadow: 0 20px 44px rgba(34, 62, 92, 0.12); }
.scene-card__no {
  display: block;
  font-family: Avenir, "Noto Sans JP", sans-serif;
  font-size: clamp(28px, 2.6vw, 44px);
  font-weight: 700;
  color: #ffcbaf;
  line-height: 1;
}
.scene-card h3 { margin-top: clamp(10px, 1vw, 16px); font-size: clamp(16px, 1.25vw, 21px); font-weight: 700; line-height: 1.45; }
.scene-card p { margin-top: clamp(10px, 0.9vw, 14px); font-size: clamp(13px, 0.95vw, 15px); color: var(--muted); line-height: 1.7; }

/* ============================================================
   Reasons（大切にしている3つ）
   ============================================================ */
.reasons {
  background: var(--bg-light);
  padding: clamp(72px, 7vw, 128px) 0;
}
.reason-list {
  max-width: 940px;
  margin: clamp(44px, 4vw, 72px) auto 0;
  display: flex;
  flex-direction: column;
  gap: clamp(18px, 1.8vw, 28px);
}
.reason {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.4vw, 40px);
  background: #fff;
  border-radius: 18px;
  padding: clamp(26px, 2.6vw, 42px) clamp(24px, 2.6vw, 48px);
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s ease;
}
.reason:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(34, 62, 92, 0.1); }
.reason__num {
  flex: 0 0 auto;
  font-family: Avenir, "Noto Sans JP", sans-serif;
  font-size: clamp(40px, 4.4vw, 72px);
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(135deg, #ff8a3d, #ff6b1a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.reason__body h3 { font-size: clamp(18px, 1.6vw, 26px); font-weight: 700; line-height: 1.4; }
.reason__body p { margin-top: clamp(8px, 0.9vw, 14px); font-size: clamp(14px, 1.05vw, 17px); color: var(--muted); line-height: 1.8; }

/* ============================================================
   Flow（導入の流れ）
   ============================================================ */
.flow {
  background: #fff;
  padding: clamp(72px, 7vw, 128px) 0;
}
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(18px, 1.6vw, 28px);
  margin-top: clamp(44px, 4vw, 72px);
  counter-reset: step;
}
.step {
  position: relative;
  background: var(--bg-light);
  border-radius: 18px;
  padding: clamp(26px, 2.4vw, 38px) clamp(20px, 1.8vw, 28px) clamp(24px, 2.2vw, 34px);
}
.step::after {
  content: "";
  position: absolute;
  top: 50%;
  right: clamp(-18px, -0.9vw, -14px);
  width: 14px; height: 14px;
  border-top: 3px solid #ffbf9a;
  border-right: 3px solid #ffbf9a;
  transform: translateY(-50%) rotate(45deg);
}
.steps .step:last-child::after { display: none; }
.step__num {
  display: inline-block;
  font-family: Avenir, "Noto Sans JP", sans-serif;
  font-size: clamp(12px, 1vw, 14px);
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #fff;
  background: var(--orange);
  padding: 5px 14px;
  border-radius: 999px;
}
.step h3 { margin-top: clamp(14px, 1.2vw, 20px); font-size: clamp(16px, 1.25vw, 20px); font-weight: 700; line-height: 1.45; }
.step p { margin-top: clamp(8px, 0.8vw, 12px); font-size: clamp(13px, 0.95vw, 15px); color: var(--muted); line-height: 1.7; }

/* ============================================================
   CTA banner
   ============================================================ */
.cta-section { background: #fff; padding: clamp(20px, 2vw, 40px) 0 clamp(40px, 4vw, 72px); }
.cta-banner {
  background: linear-gradient(90deg, #ff6416 0%, #ffaa16 100%);
  border-radius: 16px;
  max-width: 1306px;
  margin: 0 auto;
  padding: clamp(40px, 3.3vw, 64px) clamp(20px, 2vw, 40px) clamp(48px, 3.6vw, 70px);
  text-align: center;
  color: #fff;
}
.cta-banner__title { font-size: clamp(21px, 1.7vw, 32px); font-weight: 700; line-height: 1.32; }
.cta-banner__sub { margin-top: clamp(12px, 1.2vw, 22px); font-size: clamp(14px, 1.05vw, 20px); font-weight: 700; line-height: 1.32; }
.cta-banner__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: clamp(16px, 1.3vw, 24px); margin-top: clamp(28px, 2.4vw, 46px); }
.grad-text { background: linear-gradient(90deg, #ff6416 0%, #ffaa16 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ============================================================
   Check（日本語検定かんたん診断）
   ============================================================ */
.check {
  background: #f6fbff;
  padding: clamp(64px, 3.5vw, 66px) 0 clamp(72px, 4.5vw, 86px);
  overflow: hidden;
}
.check__content .tag { margin-bottom: clamp(20px, 2vw, 36px); }
.check__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(40px, 5vw, 96px);
}
.check__visual { position: relative; flex: 0 0 auto; width: clamp(280px, 26vw, 480px); aspect-ratio: 480 / 470; }
.phone-mock { position: absolute; width: 44%; aspect-ratio: 203 / 411; filter: drop-shadow(0 16px 25px rgba(0, 0, 0, 0.08)); }
.phone-mock--left { left: 4%; top: 44%; translate: 0 -50%; rotate: -12deg; z-index: 1; }
.phone-mock--right { left: 47%; top: 53%; translate: 0 -50%; rotate: 8deg; z-index: 2; }
.phone-mock__screen { position: absolute; inset: 2.1% 5.3%; width: 89.4%; height: 95.8%; object-fit: cover; object-position: top; border-radius: clamp(10px, 1.2vw, 16px); }
.phone-mock__frame { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; pointer-events: none; }
.check__content { flex: 0 1 auto; }
.check__title { color: var(--orange); font-size: clamp(28px, 2.3vw, 44px); font-weight: 700; line-height: 1.32; }
.check__sub { margin-top: clamp(16px, 1.3vw, 26px); font-size: clamp(18px, 1.5vw, 28px); font-weight: 700; line-height: 1.32; }
.check__badges { display: flex; gap: clamp(20px, 1.9vw, 37px); margin-top: clamp(28px, 2.2vw, 40px); }
.badge {
  font-family: "Noto Sans JP", "YuGothic", "Yu Gothic", sans-serif;
  width: clamp(104px, 7.7vw, 148px); height: clamp(104px, 7.7vw, 148px);
  border-radius: 50%;
  background: #fff;
  border: 4px solid var(--orange-2);
  color: var(--orange-2);
  font-size: clamp(19px, 1.5vw, 28px);
  font-weight: 700; line-height: 1.3;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  box-shadow: 0 6px 20px rgba(255, 107, 26, 0.3);
  transition: transform 0.4s var(--ease-spring);
}
.badge:hover { transform: translateY(-6px) scale(1.05); }
.check__content .btn--orange { margin-top: clamp(32px, 2.6vw, 48px); }

/* ============================================================
   Media（お役立ちコラム）
   ============================================================ */
.media { background: #fff; padding: clamp(72px, 7vw, 128px) 0; }
.media-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2vw, 36px);
  margin-top: clamp(44px, 4vw, 72px);
}
.mcard {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 2px solid #d3ddea;
  border-radius: 18px;
  padding: clamp(24px, 2.2vw, 34px) clamp(22px, 2vw, 30px);
  text-decoration: none;
  color: inherit;
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s ease, border-color 0.45s ease;
}
.mcard:hover { transform: translateY(-8px); box-shadow: 0 20px 44px rgba(34, 62, 92, 0.12); border-color: #ffcbaf; }
.mcard__tag {
  align-self: flex-start;
  font-size: clamp(11px, 0.85vw, 13px);
  font-weight: 700;
  color: var(--orange);
  background: #fff1e9;
  padding: 4px 12px;
  border-radius: 999px;
}
.mcard h3 { margin-top: clamp(14px, 1.2vw, 20px); font-size: clamp(16px, 1.2vw, 19px); font-weight: 700; line-height: 1.55; }
.mcard__more { margin-top: auto; padding-top: clamp(16px, 1.4vw, 22px); font-size: clamp(13px, 1vw, 15px); font-weight: 700; color: var(--orange); }
.media__more-wrap { text-align: center; margin-top: clamp(36px, 3.5vw, 60px); }

/* ============================================================
   FAQ
   ============================================================ */
.faq { background: var(--bg-light); padding: clamp(72px, 7vw, 128px) 0; }
.faq-list { margin-top: clamp(40px, 3.6vw, 60px); display: flex; flex-direction: column; gap: clamp(12px, 1.1vw, 16px); }
.faq-item {
  background: #fff;
  border: 2px solid transparent;
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.faq-item[open] { border-color: #ffcbaf; box-shadow: 0 10px 28px rgba(34, 62, 92, 0.08); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: clamp(18px, 1.6vw, 26px) clamp(20px, 1.8vw, 30px);
  font-size: clamp(15px, 1.2vw, 19px);
  font-weight: 700;
  line-height: 1.5;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before {
  content: "Q";
  flex: 0 0 auto;
  width: clamp(28px, 2.2vw, 34px);
  height: clamp(28px, 2.2vw, 34px);
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  font-family: Avenir, sans-serif;
  font-size: clamp(15px, 1.2vw, 18px);
}
.faq-item summary::after {
  content: "";
  flex: 0 0 auto;
  margin-left: auto;
  width: 11px; height: 11px;
  border-right: 2.5px solid var(--orange);
  border-bottom: 2.5px solid var(--orange);
  transform: rotate(45deg);
  transition: transform 0.3s var(--ease-out);
}
.faq-item[open] summary::after { transform: rotate(-135deg); }
.faq-item__body {
  padding: 0 clamp(20px, 1.8vw, 30px) clamp(20px, 1.7vw, 28px) clamp(56px, 4.4vw, 74px);
}
.faq-item__body p { font-size: clamp(14px, 1.05vw, 16px); color: var(--muted); line-height: 1.85; }

/* ============================================================
   Company（会社概要）
   ============================================================ */
.company { background: #fff; padding: clamp(72px, 7vw, 120px) 0; }
.company-table {
  margin: clamp(40px, 3.6vw, 60px) auto 0;
  max-width: 720px;
  border-top: 1px solid var(--border);
}
.company-table > div {
  display: flex;
  gap: clamp(16px, 2vw, 40px);
  padding: clamp(18px, 1.6vw, 26px) clamp(8px, 1vw, 16px);
  border-bottom: 1px solid var(--border);
}
.company-table dt {
  flex: 0 0 clamp(96px, 10vw, 150px);
  font-size: clamp(14px, 1.05vw, 16px);
  font-weight: 700;
  color: var(--orange);
}
.company-table dd { font-size: clamp(14px, 1.05vw, 16px); font-weight: 500; line-height: 1.7; color: var(--text); }

/* ============================================================
   Final CTA
   ============================================================ */
.final-cta {
  background: linear-gradient(120deg, #ff8a3d 0%, #ff6b1a 60%, #f95d0e 100%);
  color: #fff;
  padding: clamp(72px, 7vw, 128px) 0;
  text-align: center;
}
.final-cta__title { font-size: clamp(24px, 2.4vw, 42px); font-weight: 700; line-height: 1.4; }
.final-cta__lead { margin-top: clamp(20px, 1.8vw, 30px); font-size: clamp(14px, 1.15vw, 19px); font-weight: 500; line-height: 1.9; }
.final-cta__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: clamp(16px, 1.3vw, 24px); margin-top: clamp(32px, 3vw, 52px); }

/* ============================================================
   Footer
   ============================================================ */
.footer {
  background: linear-gradient(150deg, #ff8a3d, #f95d0e);
  background-image: url("assets/footer-bg.png");
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: clamp(56px, 5vw, 90px) 0 clamp(52px, 4vw, 64px);
}
.footer__inner { width: 100%; }
.footer__top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: clamp(32px, 3vw, 60px);
  padding-bottom: clamp(32px, 3vw, 52px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}
.footer__logo { width: 100px; height: auto; }
.footer__tagline { margin-top: clamp(14px, 1.2vw, 20px); font-size: clamp(13px, 1vw, 15px); font-weight: 700; line-height: 1.7; }
.footer__nav {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: clamp(10px, 1vw, 16px) clamp(28px, 3vw, 56px);
  align-content: start;
}
.footer__nav a {
  color: #fff;
  text-decoration: none;
  font-size: clamp(13px, 1vw, 15px);
  font-weight: 700;
  opacity: 0.92;
  transition: opacity 0.25s ease;
}
.footer__nav a:hover { opacity: 1; text-decoration: underline; }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: clamp(20px, 1.8vw, 32px);
}
.footer__address { font-family: "Noto Sans JP", "YuGothic", sans-serif; font-size: 12.5px; font-weight: 700; letter-spacing: 0.02em; line-height: 1.6; }
.footer__copy { font-family: Avenir, "Noto Sans JP", sans-serif; font-size: 12.5px; font-weight: 700; letter-spacing: 0.03em; }

/* ============================================================
   Animations
   ============================================================ */
@keyframes heroIn {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-in { animation: heroIn 1s var(--ease-out) both; animation-delay: calc(var(--d, 0) * 0.18s + 0.1s); }

.reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); transition-delay: calc(var(--d, 0) * 0.1s); }
.reveal.is-in { opacity: 1; transform: translateY(0); }

.pop { opacity: 0; scale: 0.5; transition: opacity 0.6s ease, scale 0.7s var(--ease-spring), transform 0.4s var(--ease-spring); transition-delay: calc(var(--d, 0) * 0.12s), calc(var(--d, 0) * 0.12s), 0s; }
.pop.is-in { opacity: 1; scale: 1; }

@keyframes floaty { from { translate: 0 0; } to { translate: 0 -12px; } }
@keyframes floatyCentered { from { translate: 0 -50%; } to { translate: 0 calc(-50% - 12px); } }
.float-slow { animation: floaty 5.5s ease-in-out infinite alternate; }
.float-mid { animation: floaty 4.5s ease-in-out infinite alternate; animation-delay: -1.2s; }
.float-fast { animation: floaty 3.8s ease-in-out infinite alternate; animation-delay: -2.4s; }
.phone-mock.float-slow, .phone-mock.float-mid { animation-name: floatyCentered; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1100px) {
  .hero__body { flex-direction: column; align-items: flex-start; gap: 0; }
  .hero__copy { display: contents; }
  .hero__eyebrow { order: 0; }
  .hero__title { order: 1; }
  .hero__lead { order: 2; }
  .hero__visual { order: 3; align-self: center; width: min(560px, 96%); margin: clamp(28px, 6vw, 48px) 0 clamp(8px, 2vw, 16px); }
  .hero__actions { order: 4; }

  .about__mascot { width: clamp(150px, 24vw, 300px); }
  .sol-grid { grid-template-columns: repeat(2, 1fr); }
  .scene-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step::after { display: none; }
  .media-grid { grid-template-columns: repeat(2, 1fr); }

  .check__inner { flex-direction: column; }
  .check__content { display: flex; flex-direction: column; align-items: center; text-align: center; }
}

@media (max-width: 900px) {
  .about__mascot { display: none; }
  .pills {
    position: static;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: clamp(24px, 5vw, 40px);
  }
  .pill { position: static; transform: none; white-space: normal; text-align: center; max-width: 92%; }
}

@media (max-width: 700px) {
  .sol-grid { grid-template-columns: 1fr; }
  .scene-grid { grid-template-columns: 1fr; }
  .media-grid { grid-template-columns: 1fr; }
  .reason { flex-direction: column; align-items: flex-start; text-align: left; gap: clamp(6px, 1.5vw, 12px); }
  .footer__top { flex-direction: column; }
}

@media (max-width: 640px) {
  .hero__title { font-size: clamp(26px, 7.4vw, 32px); }
  .hero__lead { font-size: 13.5px; line-height: 1.85; margin-top: clamp(18px, 4vw, 28px); }
  .hero__lead br, .about__text br { display: none; }
  .about__text { font-size: 14px; line-height: 1.85; }
  .hero__actions .btn, .btn--white, .btn--ghost { width: 100%; }
  .check__badges { gap: 14px; }
  .badge { width: 96px; height: 96px; font-size: 17px; }
  .company-table > div { flex-direction: column; gap: 4px; }
  .footer__bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-in, .float-slow, .float-mid, .float-fast { animation: none; }
  .reveal, .pop { opacity: 1; transform: none; scale: 1; transition: none; }
  .faq-item summary::after { transition: none; }
}
