/* ONE STEP 共通スタイル（全ページで読み込む） */
:root {
  --navy: #0b1f66;
  --navy-dark: #06124a;
  --orange: #f26b0f;
  --orange-light: #fff3ea;
  --text: #222;
  --muted: #5b6275;
  --bg: #ffffff;
  --bg-soft: #f5f7fc;
  --line: #dde2ef;
  --radius: 14px;
  --max: 1080px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  -webkit-text-size-adjust: 100%;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
a:hover { color: var(--orange); }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 16px; }

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--navy); color: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 60px; gap: 12px; }
.logo { color: #fff; text-decoration: none; font-weight: 800; font-size: 1.35rem; letter-spacing: .04em; }
.logo span { color: var(--orange); }
.logo:hover { color: #fff; }

.nav-toggle {
  display: none; background: none; border: 2px solid #fff; color: #fff;
  border-radius: 8px; padding: 4px 12px; font-size: 1rem; cursor: pointer;
}
.global-nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.global-nav a { display: block; color: #fff; text-decoration: none; padding: 8px 12px; border-radius: 8px; font-weight: 600; }
.global-nav a:hover, .global-nav a[aria-current="page"] { background: rgba(255,255,255,.15); color: #fff; }
.global-nav .nav-cta { background: var(--orange); }
.global-nav .nav-cta:hover { background: #d95c05; }

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .global-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--navy); padding: 8px 16px 16px; }
  .global-nav.is-open { display: block; }
  .global-nav ul { flex-direction: column; }
  .global-nav a { padding: 12px; border-bottom: 1px solid rgba(255,255,255,.12); }
}

/* ---------- ヒーロー ---------- */
.hero { background: linear-gradient(135deg, var(--navy) 0%, #1c3a9e 100%); color: #fff; padding: 48px 0; }
.hero-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; }
.hero h1 { font-size: clamp(1.6rem, 4.5vw, 2.6rem); line-height: 1.35; margin: 0 0 16px; }
.hero h1 .accent { color: #ffb37a; }
.hero p { margin: 0 0 12px; font-size: 1.05rem; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 24px; padding: 0; list-style: none; }
.hero-tags li { background: rgba(255,255,255,.15); border-radius: 999px; padding: 4px 14px; font-size: .9rem; }
.hero-photo img { border-radius: var(--radius); box-shadow: 0 10px 30px rgba(0,0,0,.3); max-height: 520px; width: 100%; object-fit: cover; }
/* 動画は縦長・横長どちらでも切れずに表示する */
.hero-photo video {
  display: block; width: auto; height: auto; max-width: 100%; max-height: 520px; margin: 0 auto;
  border-radius: var(--radius); box-shadow: 0 10px 30px rgba(0,0,0,.3); background: #000;
}
@media (max-width: 820px) { .hero-photo video { max-height: 440px; } }
@media (max-width: 820px) {
  .hero { padding: 32px 0; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-photo img { max-height: 360px; }
}

/* ---------- ボタン ---------- */
.btn {
  display: inline-block; text-decoration: none; font-weight: 700;
  padding: 14px 28px; border-radius: 999px; text-align: center;
  background: var(--orange); color: #fff; box-shadow: 0 4px 0 #b84e05;
}
.btn:hover { color: #fff; transform: translateY(1px); box-shadow: 0 3px 0 #b84e05; }
.btn-outline { background: #fff; color: var(--navy); box-shadow: none; border: 2px solid #fff; }
.btn-outline:hover { color: var(--orange); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- セクション ---------- */
.section { padding: 56px 0; }
.section-soft { background: var(--bg-soft); }
.section h2 {
  font-size: clamp(1.4rem, 3.5vw, 1.9rem); text-align: center; margin: 0 0 8px; color: var(--navy);
}
.section .lead { text-align: center; color: var(--muted); margin: 0 auto 32px; max-width: 720px; }
.section h3 { color: var(--navy); margin: 0 0 8px; font-size: 1.2rem; }

.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; display: flex; flex-direction: column;
}
.card .badge {
  align-self: flex-start; background: var(--orange-light); color: #b84e05;
  font-weight: 700; font-size: .85rem; border-radius: 999px; padding: 2px 12px; margin-bottom: 10px;
}
.card dl { margin: 8px 0 16px; }
.card dt { font-weight: 700; color: var(--muted); font-size: .85rem; }
.card dd { margin: 0 0 8px; }
.card .more { margin-top: auto; font-weight: 700; }

.point-num { display: inline-flex; width: 40px; height: 40px; border-radius: 50%; background: var(--orange); color: #fff; font-weight: 800; align-items: center; justify-content: center; margin-bottom: 8px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.chips li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 4px 14px; }

/* ---------- 講師 ---------- */
.profile { display: grid; grid-template-columns: 260px 1fr; gap: 32px; align-items: start; }
.profile img { border-radius: var(--radius); }
@media (max-width: 720px) { .profile { grid-template-columns: 1fr; } .profile img { max-width: 240px; margin: 0 auto; } }

/* ---------- 表 ---------- */
.table-wrap { overflow-x: auto; }
table.info { width: 100%; border-collapse: collapse; background: #fff; }
table.info th, table.info td { border: 1px solid var(--line); padding: 12px 14px; text-align: left; vertical-align: top; }
table.info th { background: var(--bg-soft); color: var(--navy); white-space: nowrap; width: 9em; }

/* ---------- FAQ ---------- */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 10px; margin-bottom: 10px; padding: 0 18px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 14px 0; color: var(--navy); }
.faq details p { margin: 0 0 16px; }

/* ---------- CTA ---------- */
.cta { background: var(--orange); color: #fff; text-align: center; padding: 48px 0; }
.cta h2 { color: #fff; }
.cta p { margin: 0 0 20px; }
.cta .tel { font-size: 1.6rem; font-weight: 800; color: #fff; text-decoration: none; display: inline-block; margin-top: 12px; }
.cta .btn { background: var(--navy); box-shadow: 0 4px 0 var(--navy-dark); }

/* ---------- 埋め込み（動画・カレンダー・地図） ---------- */
.embed { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; }
.embed-cal { aspect-ratio: 4 / 3; background: #fff; }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 640px) { .embed-cal { aspect-ratio: 3 / 4; } }

/* ---------- お知らせ枠 ---------- */
.notice {
  background: #fff4f4; border: 2px solid #e04848; color: #9b1c1c;
  border-radius: var(--radius); padding: 16px 20px; margin: 0 0 24px;
}
.notice strong { color: #c62828; }
.badge-full { background: #fde2e2 !important; color: #c62828 !important; }
.hero .notice { background: rgba(255,255,255,.95); }

/* 写真を並べる */
.photo { border-radius: var(--radius); margin: 0 auto; }
.plain-list { padding-left: 1.2em; margin: 0; }
.plain-list li { margin-bottom: 4px; }
.columns-2 { columns: 2; column-gap: 32px; }
@media (max-width: 640px) { .columns-2 { columns: 1; } }

/* お問い合わせフォーム */
.form-embed iframe { width: 100%; height: 1400px; border: 0; }

/* ---------- パンくず ---------- */
.breadcrumb { font-size: .85rem; padding: 10px 0; color: var(--muted); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.breadcrumb li + li::before { content: "›"; margin-right: 6px; }

/* ---------- フッター ---------- */
.site-footer { background: var(--navy-dark); color: #d7dcf0; padding: 40px 0 24px; font-size: .92rem; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 6px; }
.copyright { text-align: center; margin-top: 28px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.15); font-size: .8rem; }
@media (max-width: 640px) { .footer-grid { grid-template-columns: 1fr; } }

/* スマホ下部の固定ボタン */
.fixed-cta { display: none; }
@media (max-width: 640px) {
  .fixed-cta {
    display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    box-shadow: 0 -2px 10px rgba(0,0,0,.15);
  }
  .fixed-cta a { text-align: center; padding: 14px 8px; font-weight: 700; color: #fff; text-decoration: none; }
  .fixed-cta .tel-btn { background: var(--navy); }
  .fixed-cta .form-btn { background: var(--orange); }
  body { padding-bottom: 56px; }
}
