/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   JOWA SCHOOL — common.css
   共通スタイル（ヘッダー・フッター・ベース）
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

/* ── DESIGN TOKENS ── */
:root {
  --teal:       #0E7490;   /* ブランドティール */
  --teal-dark:  #0A5568;   /* ダークティール（ヘッダー・濃背景） */
  --teal-bright:#06B6D4;   /* ブライトシアン（アクセント） */
  --coral:      #F97316;   /* CTAコーラルオレンジ */
  --coral-dark: #EA6C0A;   /* CTAホバー */
  --white:      #FFFFFF;
  --ice:        #F0FDFA;   /* body背景（ティールがかった白） */
  --ice-deep:   #CCFBF1;   /* セクション区切り用薄ティール */
  --ink:        #0C1A1F;   /* 本文テキスト */
  --sub:        #4A6670;   /* サブテキスト */
  --rule:       #B2DADE;   /* ボーダー */

  --font-disp: 'Plus Jakarta Sans', 'Inter', sans-serif;
  --font-body: 'Noto Sans JP', sans-serif;

  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
}

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 15px; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--ice);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ── HEADER ── */
.hd {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: var(--teal-dark);
  height: 52px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 32px;
  box-shadow: 0 1px 0 rgba(255,255,255,.08);
}
.hd-logo {
  font-family: var(--font-disp);
  font-size: 17px; font-weight: 800;
  color: var(--white); letter-spacing: .02em;
}
.hd-logo b { color: var(--teal-bright); }
.hd-logo span {
  font-size: 11px; font-weight: 600;
  color: rgba(255,255,255,.55);
  letter-spacing: .1em; margin-left: 6px;
  text-transform: uppercase;
}
.hd-nav {
  display: flex; align-items: center; gap: 24px;
}
.hd-nav a {
  font-size: 12px; font-weight: 600;
  color: rgba(255,255,255,.7); letter-spacing: .04em;
  transition: color .15s;
}
.hd-nav a:hover, .hd-nav a.active { color: var(--white); }
.hd-cta {
  background: var(--coral);
  color: var(--white) !important;
  padding: 7px 18px; border-radius: 100px;
  font-size: 12px; font-weight: 700;
  transition: background .15s !important;
}
.hd-cta:hover { background: var(--coral-dark) !important; }

/* ── FOOTER ── */
.ft {
  background: var(--teal-dark);
  color: rgba(255,255,255,.75);
}
.ft-cta {
  background: var(--teal);
  padding: 48px 48px;
}
.ft-cta-inner {
  max-width: 1120px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px; flex-wrap: wrap;
}
.ft-cta-label {
  font-family: var(--font-disp);
  font-size: clamp(18px,2vw,24px);
  font-weight: 800; color: var(--white);
  margin-bottom: 6px; letter-spacing: -.01em;
}
.ft-cta-sub {
  font-size: 14px; color: rgba(255,255,255,.72); line-height: 1.65;
}
.ft-cta-btn {
  display: inline-block;
  background: var(--coral);
  color: var(--white);
  padding: 14px 32px; border-radius: 100px;
  font-size: 14px; font-weight: 700;
  transition: background .15s, transform .15s;
  white-space: nowrap;
}
.ft-cta-btn:hover { background: var(--coral-dark); transform: translateY(-1px); }
.ft-cta-btn-sub {
  display: inline-block;
  background: transparent;
  color: var(--white);
  padding: 13px 28px; border-radius: 100px;
  font-size: 14px; font-weight: 700;
  border: 2px solid rgba(255,255,255,.45);
  transition: border-color .15s;
  white-space: nowrap;
}
.ft-cta-btn-sub:hover { border-color: rgba(255,255,255,.9); }

.ft-main { padding: 48px 48px 32px; }
.ft-main-inner {
  max-width: 1120px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr repeat(3,auto);
  gap: 48px;
}
.ft-logo {
  font-family: var(--font-disp);
  font-size: 20px; font-weight: 800;
  color: var(--white); margin-bottom: 4px;
}
.ft-logo b { color: var(--teal-bright); }
.ft-tagline {
  font-size: 13px; color: rgba(255,255,255,.55);
  line-height: 1.7; margin-bottom: 12px;
}
.ft-meta { font-size: 12px; color: rgba(255,255,255,.4); }
.ft-col-title {
  font-size: 11px; font-weight: 700;
  color: rgba(255,255,255,.45); letter-spacing: .1em;
  text-transform: uppercase; margin-bottom: 14px;
}
.ft-col-links { display: flex; flex-direction: column; gap: 10px; }
.ft-col-links a {
  font-size: 13px; color: rgba(255,255,255,.65);
  transition: color .15s;
}
.ft-col-links a:hover { color: var(--white); }

.ft-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 48px;
}
.ft-bottom-inner {
  max-width: 1120px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
}
.ft-copy { font-size: 12px; color: rgba(255,255,255,.3); }
.ft-bottom-nav { display: flex; gap: 20px; }
.ft-bottom-nav a { font-size: 12px; color: rgba(255,255,255,.35); transition: color .15s; }
.ft-bottom-nav a:hover { color: rgba(255,255,255,.7); }

/* ── SECTION COMMON ── */
.sec-title {
  font-family: var(--font-disp);
  font-size: clamp(24px,2.8vw,40px);
  font-weight: 800; color: var(--ink);
  line-height: 1.2; letter-spacing: -.025em;
}
.sec-eyebrow {
  display: inline-block;
  font-family: var(--font-disp);
  font-size: 11px; font-weight: 700;
  letter-spacing: .16em; color: var(--teal);
  text-transform: uppercase; margin-bottom: 10px;
}
.sec-lead {
  font-size: 15px; color: var(--sub);
  line-height: 1.85; margin-top: 14px;
}

/* ── TAG / BADGE ── */
.badge {
  display: inline-flex; align-items: center;
  font-size: 11px; font-weight: 700;
  letter-spacing: .06em; padding: 3px 10px;
  border-radius: 100px;
}
.badge-teal { background: rgba(14,116,144,.1); color: var(--teal); }
.badge-coral { background: var(--coral); color: var(--white); }
.badge-ice { background: var(--ice-deep); color: var(--teal-dark); }

/* ── BUTTON ── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--coral); color: var(--white);
  padding: 14px 32px; border-radius: 100px;
  font-size: 14px; font-weight: 700;
  transition: background .15s, transform .15s;
}
.btn-primary:hover { background: var(--coral-dark); transform: translateY(-1px); }
.btn-outline {
  display: inline-flex; align-items: center; gap: 6px;
  background: transparent; color: var(--teal);
  padding: 13px 28px; border-radius: 100px;
  border: 2px solid var(--teal);
  font-size: 14px; font-weight: 700;
  transition: background .15s, color .15s;
}
.btn-outline:hover { background: var(--teal); color: var(--white); }

/* ── CONTENT WRAP ── */
.content-wrap { max-width: 1120px; margin: 0 auto; padding: 0 48px; }

@media (max-width: 1024px) {
  .ft-main-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .hd { padding: 0 20px; }
  .hd-nav a:not(.hd-cta) { display: none; }
  .ft-cta { padding: 36px 24px; }
  .ft-main { padding: 36px 24px 24px; }
  .ft-main-inner { grid-template-columns: 1fr; gap: 28px; }
  .ft-bottom { padding: 16px 24px; }
  .content-wrap { padding: 0 24px; }
}
