:root {
  --bg: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --line: #e5e7eb;
  --main: #1f7a3a;
  --accent: #2aa6ff;
  --soft: #ecfdf5;
  --hero-img: url("../img/hero-jan.jpg");
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
  line-height: 1.7;
  padding-bottom: 92px;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

/* 上部バー */
.topbar {
  background: #0f172a;
  color: #ffffff;
  font-size: 14px;
}

.topbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 10px 0;
}

.topbar__left,
.topbar__right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-weight: 700;
}

.topbar__note {
  opacity: 0.92;
}

.topbar__link {
  opacity: 0.92;
}

.topbar__link:hover {
  opacity: 1;
  text-decoration: underline;
}

/* ヘッダー */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  min-height: 78px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.logo__mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: var(--main);
  color: #fff;
  font-size: 15px;
  box-shadow: var(--shadow);
}

.logo__text {
  font-size: 18px;
  font-weight: 800;
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.nav a {
  color: var(--muted);
  font-weight: 600;
}

.nav a:hover {
  color: var(--text);
}

.header__cta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* ボタン */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: 0.2s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--main);
  color: #fff;
  box-shadow: var(--shadow);
}

.btn--primary:hover {
  opacity: 0.95;
}

.btn--line {
  background: #06c755;
  color: #fff;
  box-shadow: var(--shadow);
}

.btn--ghost {
  background: #fff;
  color: var(--text);
  border-color: var(--line);
}

.btn--lg {
  padding: 14px 22px;
  font-size: 16px;
}

/* ヒーロー */
.hero {
  padding: 54px 0 44px;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 34px;
  align-items: center;
}

.hero__copy {
  min-width: 0;
}

.hero__title {
  margin: 8px 0 14px;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.2;
  letter-spacing: 0.01em;
}

.hero__lead {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 16px;
}

.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 22px 0 18px;
}

.hero__social {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.social {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  font-weight: 700;
  color: var(--muted);
}

.hero__visual {
  min-width: 0;
}

.hero__image {
  width: 100%;
  min-height: 400px;
  background-image: var(--hero-img);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero__stat {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 16px;
}

.stat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px;
  box-shadow: var(--shadow);
  text-align: center;
}

.stat__num {
  font-weight: 800;
  font-size: 18px;
}

.stat__label {
  color: var(--muted);
  font-size: 14px;
}

/* 共通セクション */
.section {
  padding: 72px 0;
}

.section--alt {
  background: #f8fafc;
}

.section--cta {
  background: linear-gradient(135deg, var(--soft), #ffffff);
}

.section__title {
  margin: 0 0 10px;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.3;
}

.section__lead {
  margin: 0 0 28px;
  color: var(--muted);
}

/* グリッド */
.grid3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

/* カード */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.card__title {
  margin: 0 0 10px;
  font-size: 20px;
}

.card__text {
  margin: 0;
  color: var(--muted);
}

.card--course .link {
  display: inline-block;
  margin-top: 14px;
  color: var(--main);
  font-weight: 700;
}

/* 実績 */
.pill {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 16px 18px;
  text-align: center;
  box-shadow: var(--shadow);
  font-weight: 700;
}

/* CTA */
.cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.cta__title {
  margin: 0 0 8px;
  font-size: clamp(24px, 3vw, 34px);
}

.cta__text {
  margin: 0;
  color: var(--muted);
}

.cta__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* 口コミ */
.quote {
  margin: 0 0 10px;
  font-size: 17px;
  font-weight: 700;
}

.muted {
  color: var(--muted);
  margin: 0;
}

/* FAQ */
.faq {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px 20px;
  box-shadow: var(--shadow);
}

.faq + .faq {
  margin-top: 14px;
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
}

.faq p {
  margin: 12px 0 0;
  color: var(--muted);
}

/* アクセス */
.access {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: stretch;
}

.access__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.map iframe {
  width: 100%;
  min-height: 360px;
  border: 0;
  border-radius: 18px;
}

/* フッター */
.footer {
  padding: 30px 0 90px;
  background: #0f172a;
  color: #fff;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

.footer__brand {
  font-size: 18px;
  font-weight: 800;
}

.footer__small {
  color: #cbd5e1;
  font-size: 14px;
}

.footer__right {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.footer__link {
  color: #e2e8f0;
}

/* 画面下固定CTA */
.sticky {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  display: flex;
  gap: 10px;
  justify-content: center;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
}

.sticky__btn {
  flex: 1;
  max-width: 220px;
  text-align: center;
  border-radius: 999px;
  padding: 14px 18px;
  font-weight: 800;
}

.sticky__btn--line {
  background: #06c755;
  color: #fff;
}

.sticky__btn--primary {
  background: var(--main);
  color: #fff;
}

/* タブレット以下 */
@media (max-width: 980px) {
  .hero__inner,
  .access,
  .grid3 {
    grid-template-columns: 1fr;
  }

  .cta {
    flex-direction: column;
    align-items: stretch;
  }

  .header__inner {
    flex-wrap: wrap;
    padding: 12px 0;
  }

  .nav {
    width: 100%;
    justify-content: center;
  }

  .header__cta {
    width: 100%;
    justify-content: center;
  }

  .hero__stat {
    grid-template-columns: 1fr;
  }
}

/* スマホ最適化 */
@media (max-width: 768px) {
  body {
    padding-bottom: 84px;
  }

  .header {
    position: static;
  }

  .topbar__right {
    display: none;
  }

  .hero {
    padding: 34px 0 28px;
  }

  .section {
    padding: 56px 0;
  }

  .hero__title {
    font-size: 30px;
  }

  .hero__lead {
    font-size: 15px;
  }

  .topbar__inner,
  .topbar__left {
    justify-content: center;
  }

  .header__inner {
    min-height: auto;
  }

  .header__cta {
    display: none;
  }

  .nav {
    gap: 12px;
    font-size: 14px;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .hero__social {
    display: none;
  }

  .sticky {
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
    gap: 8px;
  }

  .sticky__btn {
    max-width: none;
    padding: 12px 12px;
    font-size: 14px;
  }

  .footer {
    padding-bottom: 96px;
  }
}

/* 小さいスマホ */
@media (max-width: 640px) {
  .btn,
  .sticky__btn {
    font-size: 15px;
  }

  .card,
  .faq {
    padding: 18px;
  }

  .pill {
    border-radius: 18px;
  }
}