/* =========================================================
   CodeRing トップページ
   カラー:
     ネイビー   #16324f
     ティール   #1fa9bd
     グリーン   #2f8f76
     アクセント #5fd4c4
     テキスト薄 #5a7184
     ボーダー   #e3ecea
     背景薄     #f4f9f8
   ========================================================= */

* { box-sizing: border-box; }

body {
  margin: 0;
  background: #fff;
  font-family: 'Noto Sans JP', sans-serif;
  color: #16324f;
  font-size: 15px;
  line-height: 1.8;
}

html { scroll-behavior: smooth; }

/* 非表示のツールチップ等が画面外にはみ出しても横スクロールを発生させない
   （overflow-x: hidden と違い clip は position: sticky を壊さない） */
html, body { overflow-x: clip; }

a { color: #1a8fa3; text-decoration: none; }
a:hover { color: #0f6b7a; }

img { max-width: 100%; }

/* ---------- 共通 ---------- */
.section-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 80px 24px;
}

.section-head { text-align: center; margin-bottom: 44px; }

.section-eyebrow {
  font-size: 12px;
  letter-spacing: .3em;
  color: #1fa9bd;
  font-weight: 700;
}
.eyebrow-light { color: #5fd4c4; }

.section-title {
  font-family: 'Shippori Mincho', serif;
  font-size: 32px;
  font-weight: 600;
  margin: 8px 0 10px;
}
.title-light { color: #fff; }

.section-lead { color: #5a7184; font-size: 14px; margin: 0; }
.lead-light { color: #a9c0d4; }

.btn {
  display: inline-block;
  border-radius: 999px;
  font-weight: 700;
  white-space: nowrap;
  transition: background .3s ease, color .3s ease, border-color .3s ease;
}
.btn-green {
  background: #2f8f76;
  color: #fff;
  padding: 10px 22px;
  font-size: 13.5px;
  border: 1px solid #2f8f76;
}
.btn-green:hover { background: #fff; color: #2f8f76; }
.btn-teal { background: #1fa9bd; color: #fff; padding: 12px 30px; font-size: 14.5px; }
.btn-teal:hover { background: #178fa1; color: #fff; }
.btn-white { background: #fff; color: #16324f; border: 1px solid #c8d8d4; }
.btn-white:hover { background: #f4f9f8; color: #16324f; }
.btn-lg { padding: 15px 44px; font-size: 16px; }
.btn-sm { padding: 9px 26px; font-size: 13.5px; }

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid #e3ecea;
  box-shadow: 0 1px 12px rgba(22, 50, 79, .05);
  transition: transform .3s;
}
.site-header.is-hidden { transform: translateY(-100%); }

.header-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark { width: 40px; height: 40px; border-radius: 9px; display: block; }
.brand-logo { height: 26px; display: block; }

.global-nav {
  display: flex;
  gap: 22px;
  margin-left: auto;
  font-size: 13.5px;
  font-weight: 500;
  align-items: center;
}
.global-nav .nav-cta { display: none; }

/* PC時: ホバーで下線が左から伸びるアニメーション */
@media (min-width: 1025px) {
  .global-nav a:not(.nav-cta) {
    position: relative;
    padding: 3px 0;
    transition: color .25s ease;
  }
  .global-nav a:not(.nav-cta)::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, #1fa9bd, #5fd4c4);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .3s cubic-bezier(.22, .61, .36, 1);
  }
  .global-nav a:not(.nav-cta):hover::after,
  .global-nav a.is-current::after {
    transform: scaleX(1);
    transform-origin: left;
  }
}

.nav-toggle { display: none; }

/* ---------- ヒーロー ---------- */
.hero-visual { position: relative; }
.hero-img { display: block; width: 100%; height: auto; }

.hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 3.6%;
  transform: translateY(-3%);
  max-width: 48%;
}

.hero-title {
  font-family: 'Shippori Mincho', serif;
  font-weight: 700;
  color: #16324f;
  font-size: clamp(28px, 4.4vw, 76px);
  line-height: 1.5;
  letter-spacing: .04em;
  margin: 0;
}

.hero-sub {
  font-weight: 700;
  color: #33506b;
  font-size: clamp(14px, 1.75vw, 32px);
  letter-spacing: .08em;
  margin: 0;
}

.hero-bar { background: #16324f; color: #fff; }

.hero-bar-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 28px;
  justify-content: center;
}

.hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  font-size: 13.5px;
  font-weight: 500;
}
.hero-features span { display: flex; align-items: center; gap: 7px; }
.hero-features i { color: #5fd4c4; font-style: normal; }

/* ---------- 実績 ---------- */
.stats { border-bottom: 1px solid #e3ecea; }

.stats-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 44px 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  text-align: center;
}

.stat-num {
  font-family: 'Shippori Mincho', serif;
  font-size: 40px;
  font-weight: 700;
  color: #1fa9bd;
}
.stat-num span { font-size: 20px; }
.stat-label { font-size: 13px; color: #5a7184; }

/* ---------- 選ばれる理由 ---------- */
.why-group {
  border: 1px solid #e3ecea;
  border-radius: 28px;
  background: #f9fcfb;
  padding: 28px;
  box-shadow: 0 8px 28px rgba(22, 50, 79, .05);
}

.why-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 28px;
}

.why-card {
  border: 1px solid #e3ecea;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #fff;
}
.why-card > img { width: 100%; height: 210px; object-fit: cover; display: block; }

.why-card-body {
  padding: 28px 30px 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.why-card-body h3 { font-weight: 700; font-size: 19px; color: #16324f; margin: 0; }
.why-card-body p { margin: 0; font-size: 14px; color: #5a7184; }

.tag-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: auto; padding-top: 8px; }
.tag {
  font-size: 12px;
  background: #e8f6f4;
  color: #2f8f76;
  border-radius: 999px;
  padding: 4px 14px;
  font-weight: 700;
}

/* 比較表 */
.compare {
  background: #16324f;
  border-radius: 20px;
  padding: 44px 40px 28px;
  box-shadow: 0 10px 26px rgba(22, 50, 79, .12);
}

.compare-title {
  font-family: 'Shippori Mincho', serif;
  font-size: 24px;
  font-weight: 600;
  color: #fff;
  text-align: center;
  margin: 0 0 30px;
}

/* CodeRing列ヘッダーの飛び出し＋ホバー拡大がクリップされないよう上下に余白を確保 */
.compare-scroll { overflow-x: auto; padding-top: 26px; padding-bottom: 14px; }

.compare-grid {
  display: grid;
  grid-template-columns: 150px 1.15fr 1fr;
  font-size: 14px;
  min-width: 640px;
}

/* CodeRing列: 1つの要素にまとめ、行の高さはsubgridで他列と同期 */
.cmp-col-main { display: contents; }
@supports (grid-template-rows: subgrid) {
  .cmp-col-main {
    display: grid;
    grid-column: 2;
    grid-row: 1 / span 5;
    grid-template-rows: subgrid;
    position: relative;
    z-index: 1;
    transform-origin: center;
  }
}

.cmp-head-main {
  background: #1fa9bd;
  color: #fff;
  font-weight: 700;
  text-align: center;
  font-size: 17px;
  padding: 16px 20px;
  border-radius: 14px 14px 0 0;
  margin: -12px 10px 0;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .28);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.cmp-head-main img { width: 24px; height: 24px; border-radius: 6px; }

.cmp-head-other {
  background: #3d5670;
  color: #c3d2df;
  font-weight: 700;
  text-align: center;
  padding: 16px 20px;
  border-radius: 12px 12px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cmp-label {
  padding: 18px 8px 18px 4px;
  color: #a9c0d4;
  font-weight: 700;
  border-top: 1px solid rgba(255, 255, 255, .12);
  display: flex;
  align-items: center;
}

.cmp-main {
  background: #fff;
  margin: 0 10px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .28);
  padding: 18px 20px;
  text-align: center;
  color: #16324f;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-top: 1px solid #eef3f2;
}
.cmp-main i { color: #1fa9bd; font-size: 19px; font-style: normal; }
.cmp-main-last { border-radius: 0 0 14px 14px; }

.cmp-other {
  background: #2a4362;
  padding: 18px 20px;
  text-align: center;
  color: #8fa6ba;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-top: 1px solid rgba(255, 255, 255, .08);
}
.cmp-other i { font-size: 15px; font-style: normal; }
.cmp-other-last { border-radius: 0 0 12px 12px; }

/* ---------- サポート ---------- */
.support {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #edf6f7 0%, #f4f9f6 55%, #eef7f3 100%);
}

/* やわらかな色の光（ブランドカラーのにじみ） */
.support::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(420px 420px at 8% 18%, rgba(31, 169, 189, .12), transparent 65%),
    radial-gradient(380px 380px at 94% 12%, rgba(47, 143, 118, .11), transparent 65%),
    radial-gradient(500px 500px at 88% 88%, rgba(107, 90, 168, .09), transparent 65%),
    radial-gradient(320px 320px at 12% 92%, rgba(95, 212, 196, .12), transparent 65%);
}

/* ITスクールらしい薄い方眼グリッド */
.support::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(22, 50, 79, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 50, 79, .04) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 45%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 45%, #000 30%, transparent 100%);
}

.support .section-inner { padding: 72px 24px; position: relative; z-index: 1; }

.support-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.support-card {
  background: #fff;
  border: 1px solid #e3ecea;
  border-radius: 14px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 2px 6px rgba(22, 50, 79, .05), 0 12px 28px rgba(22, 50, 79, .09);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

/* ホバーでふわっと浮き上がる（出現アニメーション完了後の transform 指定より優先させる） */
@media (hover: hover) {
  .support-grid .support-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 10px rgba(22, 50, 79, .06), 0 22px 44px rgba(22, 50, 79, .14);
    border-color: #cfe5e1;
  }
}
.support-icon {
  width: 52px;
  height: 52px;
  box-sizing: border-box;
  padding: 13px;
  border-radius: 14px;
  background: linear-gradient(135deg, #e6f5f7, #e8f6f4);
  color: #1a8fa3;
}
.support-card h3 { font-weight: 700; font-size: 16px; margin: 0; }
.support-card p { margin: 0; font-size: 13.5px; color: #5a7184; }

/* ---------- コース ---------- */
.course-list { display: flex; flex-direction: column; gap: 56px; }

.course { display: flex; flex-direction: column; gap: 18px; }

.course-banner {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  min-height: 230px;
  display: flex;
  align-items: center;
}
.banner-reverse { justify-content: flex-end; }

.course-img { position: absolute; top: 0; bottom: 0; width: 100%; height: 100%; object-fit: cover; }
.img-right { right: 0; }
.img-left { left: 0; object-position: left center; }

.course-fade { position: absolute; top: 0; bottom: 0; width: 100%; }
.fade-right { right: 0; }
.fade-left { left: 0; }

.course-copy {
  position: relative;
  padding: 36px 40px;
  max-width: 46%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.course-name { display: flex; align-items: baseline; gap: 16px; }
.course-no { font-family: 'Shippori Mincho', serif; font-size: 38px; letter-spacing: .06em; }
.course-title { font-family: 'Shippori Mincho', serif; font-weight: 600; font-size: 22px; }
.course-copy p { margin: 0; font-size: 13.5px; line-height: 2; }
.course-weeks { font-size: 12px; border: 1px solid; border-radius: 999px; padding: 3px 14px; font-weight: 700; }

.course-meta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.meta-label {
  font-size: 11px;
  border-radius: 6px;
  padding: 4px 10px;
  font-weight: 700;
  letter-spacing: .06em;
}
.meta-chip { font-size: 12.5px; border: 1px solid; border-radius: 999px; padding: 4px 14px; }
.meta-for { font-size: 12.5px; color: #5a7184; margin-left: auto; }
.meta-for b { font-weight: 700; }

/* コース01: 基礎（グリーン） */
.course-basic .course-banner { background: #eef5ee; }
.course-basic .fade-right { background: linear-gradient(90deg, #eef5ee 0%, #eef5ee 30%, rgba(238,245,238,.85) 46%, rgba(238,245,238,0) 74%); }
.course-basic .course-no, .course-basic .course-title { color: #2f7d5b; }
.course-basic .course-copy p { color: #3f5f50; }
.course-basic .course-weeks { border-color: #2f7d5b; color: #2f7d5b; }
.course-basic .meta-label { background: #eef5ee; color: #2f7d5b; }
.course-basic .meta-chip { border-color: #bcd8c6; color: #2f5b44; }
.course-basic .meta-for b { color: #2f7d5b; }

/* コース02: 開発系（ブルー） */
.course-dev .course-banner { background: #edf1fa; }
.course-dev .fade-left { background: linear-gradient(270deg, #edf1fa 0%, #edf1fa 30%, rgba(237,241,250,.85) 46%, rgba(237,241,250,0) 74%); }
.course-dev .course-no, .course-dev .course-title { color: #3d5a9e; }
.course-dev .course-copy p { color: #41527a; }
.course-dev .course-weeks { border-color: #3d5a9e; color: #3d5a9e; }
.course-dev .meta-label { background: #edf1fa; color: #3d5a9e; }
.course-dev .meta-chip { border-color: #c3cfe8; color: #41527a; }
.course-dev .meta-for b { color: #3d5a9e; }

/* コース03: インフラ系（パープル） */
.course-infra .course-banner { background: #f2effa; }
.course-infra .fade-right { background: linear-gradient(90deg, #f2effa 0%, #f2effa 30%, rgba(242,239,250,.85) 46%, rgba(242,239,250,0) 74%); }
.course-infra .course-no, .course-infra .course-title { color: #6b5aa8; }
.course-infra .course-copy p { color: #544a78; }
.course-infra .course-weeks { border-color: #6b5aa8; color: #6b5aa8; }
.course-infra .meta-label { background: #f2effa; color: #6b5aa8; }
.course-infra .meta-chip { border-color: #d4cdea; color: #544a78; }
.course-infra .meta-for b { color: #6b5aa8; }

/* ---------- 学習の流れ ---------- */
.flow { background: #f4f9f8; position: relative; overflow: hidden; }
.flow .section-inner { padding: 72px 24px; position: relative; }

/* 背景の装飾図形 */
.flow-deco { position: absolute; inset: 0; pointer-events: none; }
.deco { position: absolute; display: block; }

.deco-ring { border-radius: 50%; border: 2px solid; }
.deco-circle { border-radius: 50%; }
.deco-square { border-radius: 14%; }
.deco-dots {
  background-image: radial-gradient(currentColor 1.5px, transparent 1.5px);
  background-size: 16px 16px;
  opacity: .18;
}

.deco-1 { width: 220px; height: 220px; top: 4%; left: -60px; color: #1fa9bd; border-color: rgba(31, 169, 189, .16); }
.deco-2 { width: 90px; height: 90px; top: 16%; right: 8%; background: rgba(47, 143, 118, .1); }
.deco-3 { width: 130px; height: 130px; top: 38%; left: 4%; background: rgba(107, 90, 168, .08); transform: rotate(18deg); }
.deco-4 { width: 180px; height: 120px; top: 8%; left: 30%; color: #1fa9bd; }
.deco-5 { width: 150px; height: 150px; bottom: 24%; right: -40px; color: #2f8f76; border-color: rgba(47, 143, 118, .18); }
.deco-6 { width: 90px; height: 90px; bottom: 6%; left: 12%; background: rgba(31, 169, 189, .1); transform: rotate(-14deg); }
.deco-7 { width: 260px; height: 260px; bottom: -90px; right: 22%; background: rgba(31, 169, 189, .07); }
.deco-8 { width: 140px; height: 160px; bottom: 30%; left: -30px; color: #6b5aa8; }

.timeline { position: relative; max-width: 880px; margin: 0 auto; }

.timeline-line {
  position: absolute;
  top: 0;
  bottom: 48px;
  left: 50%;
  width: 56px;
  transform: translateX(-50%);
  /* 上は淡く、ゴールに向かって少しずつ色づくグラデーション */
  background: linear-gradient(180deg,
    rgba(191, 227, 222, .12) 0%,
    rgba(191, 227, 222, .34) 45%,
    rgba(127, 199, 189, .5) 100%);
}

/* 終端の下向き矢印（ゴールへ向かう表現） */
.timeline-line::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-left: 46px solid transparent;
  border-right: 46px solid transparent;
  border-top: 40px solid rgba(127, 199, 189, .5);
}

.timeline > .step { position: relative; }
.timeline .step + .step { margin-top: 64px; }
.timeline { padding: 24px 0 96px; }

.step {
  display: grid;
  grid-template-columns: 1fr 56px 1fr;
  align-items: center;
  column-gap: 28px;
}

.step-text { display: flex; flex-direction: column; gap: 6px; }
.step-text.align-right { text-align: right; align-items: flex-end; }
.step-text h3 { font-weight: 700; font-size: 17px; margin: 0; }
.step-text p { font-size: 13px; color: #5a7184; max-width: 320px; margin: 0; }

.step-node { display: flex; justify-content: center; }
.step-node span {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #16324f;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Shippori Mincho', serif;
  font-size: 16px;
  box-shadow: 0 0 0 5px #fff;
}
.node-goal span { background: #2f8f76; }

.step-media img {
  width: 300px;
  height: 180px;
  object-fit: cover;
  border-radius: 14px;
  display: block;
}
.step-media { justify-self: start; }
.step-media.align-end { justify-self: end; }
.step-media.align-end img { margin-left: auto; }

/* ---------- 講師 ---------- */
.instructor-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.instructor {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.instructor-photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: #e8f0ee;
  color: #b6cdc7;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.instructor-photo svg { width: 72px; height: 72px; }
.instructor-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }

.instructor-name { font-weight: 700; font-size: 15px; }
.instructor-role { font-size: 12px; color: #1fa9bd; font-weight: 500; }
.instructor p { margin: 0; font-size: 12.5px; color: #5a7184; }

/* ---------- 受講生の声 ---------- */
.voices {
  background: #16324f url('../images/call_7rnfFnO5wKUQWou4LslAZFKy.webp') center / cover no-repeat;
}

.voice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.voice-card {
  background: #fff;
  border-radius: 14px;
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.voice-headline {
  font-family: 'Zen Kurenaido', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #16324f;
  line-height: 1.5;
}

.voice-card p { margin: 0; font-size: 13.5px; color: #5a7184; flex: 1; }

.voice-person {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid #eef3f2;
  padding-top: 14px;
}

.voice-initial {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #e8f6f4;
  color: #2f8f76;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  flex: none;
}

.voice-who { font-size: 12px; color: #5a7184; line-height: 1.5; }
.voice-who b { font-weight: 700; color: #16324f; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; padding: 80px 24px; }
.faq .section-head { margin-bottom: 36px; }
.faq .section-title { margin-bottom: 0; }

.faq-list { display: flex; flex-direction: column; gap: 12px; }

.faq-item {
  border: 1px solid #e3ecea;
  border-radius: 12px;
  overflow: hidden;
  transition: border-color .3s;
}
.faq-item.is-open { border-color: #9fd6de; }

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  background: #fff;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  color: #16324f;
  transition: background .3s, color .3s;
}
.faq-q:hover { background: #f4f9f8; }

/* 回答が開いている質問欄 */
.faq-item.is-open .faq-q,
.faq-item.is-open .faq-q:hover { background: #e6f5f7; color: #0f6b7a; }

.q-mark { color: #1fa9bd; font-family: 'Shippori Mincho', serif; font-size: 17px; }
.q-text { flex: 1; }
.q-toggle { color: #1fa9bd; font-size: 18px; transition: transform .35s ease; }
.faq-item.is-open .q-toggle { transform: rotate(45deg); }

/* 開閉: grid-template-rows 0fr↔1fr で高さをなめらかに伸縮 */
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .4s cubic-bezier(.33, 1, .53, 1);
  background: #fff;
}
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }

.faq-a-inner {
  overflow: hidden;
  min-height: 0;
  display: flex;
  gap: 14px;
  padding: 0 20px;
  font-size: 14px;
  color: #5a7184;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity .3s ease, transform .3s ease, padding .4s cubic-bezier(.33, 1, .53, 1);
}
.faq-item.is-open .faq-a-inner {
  padding: 4px 20px 18px;
  opacity: 1;
  transform: none;
  transition: opacity .35s ease .1s, transform .35s ease .1s, padding .4s cubic-bezier(.33, 1, .53, 1);
}
.a-mark { color: #2f8f76; font-family: 'Shippori Mincho', serif; font-size: 17px; }
.faq-a-inner > span:last-child { flex: 1; }

/* ---------- CTA・フッター ---------- */
.footer-cta { position: relative; overflow: hidden; }

.footer-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* 上端はFAQの白と完全に同化させ、下へ向かって徐々に写真を見せる */
.footer-veil {
  position: relative;
  background: linear-gradient(180deg,
    #fff 0%,
    rgba(255, 255, 255, .96) 10%,
    rgba(255, 255, 255, .72) 26%,
    rgba(255, 255, 255, .45) 48%,
    rgba(255, 255, 255, .25) 100%);
}

.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 120px 24px 70px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
}

.footer-title {
  font-family: 'Shippori Mincho', serif;
  font-size: 34px;
  font-weight: 600;
  margin: 0;
  color: #16324f;
}

.footer-lead { margin: 0; font-size: 14.5px; color: #33506b; max-width: 560px; }

.footer-btns { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

.site-footer {
  margin-top: 110px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
  padding-bottom: 28px;
}

.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-mark { width: 52px; height: 52px; border-radius: 12px; display: block; }
.footer-logo-set { display: flex; flex-direction: column; gap: 5px; align-items: flex-start; }
.footer-logo { height: 30px; display: block; }
.footer-tag { font-size: 10px; letter-spacing: .3em; color: #1a8fa3; font-weight: 700; }

.footer-slogan { font-size: 13px; color: #33506b; letter-spacing: .06em; }

.footer-info {
  display: none; /* 住所・電話番号・メールアドレスは非表示 */
  font-size: 12.5px;
  color: #33506b;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  line-height: 2;
}

.footer-sns { display: flex; gap: 26px; align-items: center; margin-top: 6px; }
.footer-sns a { color: #16324f; display: flex; }
.footer-sns a:hover { color: #1a8fa3; }

.footer-links {
  font-size: 12px;
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 4px;
}
.footer-links a { color: #33506b; }
.footer-links a:hover { color: #1a8fa3; }
.footer-links span { color: #c8d8d4; }

.footer-copy { font-size: 11px; color: #5a7184; letter-spacing: .08em; margin-top: 18px; }

/* ---------- 先頭へ戻る ---------- */
.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 86px;
  z-index: 59;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: #16324f;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(22, 50, 79, .3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .3s, transform .3s, visibility .3s, background .2s;
}
.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover { background: #1fa9bd; }

/* ---------- 追従CTA ---------- */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 60;
  background: rgba(22, 50, 79, .96);
  color: #fff;
  backdrop-filter: blur(6px);
  transition: transform .3s;
}
.sticky-cta.is-hidden { transform: translateY(100%); }

.sticky-cta-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.sticky-cta-inner span { font-size: 13.5px; font-weight: 500; }

/* =========================================================
   出現アニメーション
   （視差効果を減らす設定のユーザーには適用しない）
   ========================================================= */
@media (prefers-reduced-motion: no-preference) {
  /* キーフレーム方式: クラスが初回描画前に付いても必ず再生される */
  [data-animate] { opacity: 0; }
  [data-animate].is-inview {
    animation: reveal-up .7s cubic-bezier(.22, .61, .36, 1) both;
    animation-delay: var(--reveal-delay, 0ms);
  }
  /* 再生完了後はアニメーションを外し、通常のホバー等が効く状態に戻す */
  [data-animate].is-done {
    animation: none;
    opacity: 1;
    transform: none;
  }
  @keyframes reveal-up {
    from { opacity: 0; transform: translateY(26px); }
    to   { opacity: 1; transform: none; }
  }
  /* ヒーロー写真はゆっくりズームアウトしながらフェードイン */
  .hero-img {
    animation: hero-zoom 1.8s cubic-bezier(.22, .61, .36, 1) both;
  }
  @keyframes hero-zoom {
    from { opacity: 0; transform: scale(1.05); }
    to   { opacity: 1; transform: scale(1); }
  }
}

/* =========================================================
   レスポンシブ
   ========================================================= */
@media (max-width: 960px) {
  .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 24px 12px; }
  .why-cards { grid-template-columns: 1fr; }
  .support-grid { grid-template-columns: repeat(2, 1fr); }
  .instructor-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
  .voice-grid { grid-template-columns: repeat(2, 1fr); }
}

/* 1024px以下: ハンバーガーメニューに切り替え */
@media (max-width: 1024px) {
  /* ヘッダー: ハンバーガーメニュー */
  .header-cta { display: none; }
  .nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    margin-left: auto;
    width: 42px;
    height: 42px;
    padding: 9px;
    background: none;
    border: 1px solid #e3ecea;
    border-radius: 9px;
    cursor: pointer;
  }
  .nav-toggle span {
    display: block;
    height: 2px;
    background: #16324f;
    border-radius: 2px;
    transition: transform .25s, opacity .25s;
  }
  .nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.is-open span:nth-child(2) { opacity: 0; }
  .nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .global-nav {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid #e3ecea;
    padding: 8px 20px 20px;
    font-size: 15px;
    /* 上からスライドして降りてくる */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-16px);
    pointer-events: none;
    transition: opacity .3s ease, transform .35s cubic-bezier(.22, .61, .36, 1), visibility .35s;
  }
  .global-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
  }
  .global-nav a { padding: 13px 4px; border-bottom: 1px solid #eef3f2; }

  /* メニュー項目は上から順に流れて出現 */
  .global-nav a {
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity .3s ease, transform .3s ease;
  }
  .global-nav.is-open a { opacity: 1; transform: none; }
  .global-nav.is-open a:nth-child(1) { transition-delay: .05s; }
  .global-nav.is-open a:nth-child(2) { transition-delay: .1s; }
  .global-nav.is-open a:nth-child(3) { transition-delay: .15s; }
  .global-nav.is-open a:nth-child(4) { transition-delay: .2s; }
  .global-nav.is-open a:nth-child(5) { transition-delay: .25s; }
  .global-nav.is-open a:nth-child(6) { transition-delay: .3s; }
  .global-nav.is-open a:nth-child(7) { transition-delay: .35s; }
  .global-nav .nav-cta {
    display: inline-block;
    margin-top: 16px;
    text-align: center;
    border-bottom: none;
    padding: 12px 22px;
  }
}

@media (max-width: 760px) {
  .section-inner { padding: 56px 20px; }
  .section-title { font-size: 25px; }

  /* ヘッダーをコンパクトに */
  .header-inner { padding: 7px 16px; gap: 16px; }
  .brand-mark { width: 30px; height: 30px; border-radius: 7px; }
  .brand-logo { height: 19px; }
  .nav-toggle { width: 36px; height: 36px; padding: 8px; gap: 4px; }
  .nav-toggle.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav-toggle.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

  /* ヒーロー */
  .hero-copy { max-width: 86%; }
  .hero-title { font-size: clamp(24px, 6.4vw, 40px); }
  .hero-sub { font-size: clamp(12px, 3vw, 18px); }

  /* 実績 */
  .stat-num { font-size: 32px; }

  /* 選ばれる理由グループ: 枠なし・背景白のフラット表示 */
  .why-group {
    padding: 0;
    border: none;
    border-radius: 0;
    background: #fff;
    box-shadow: none;
  }

  /* 比較表 */
  .compare { padding: 32px 18px 28px; border-radius: 16px; }
  .compare-title { font-size: 20px; }
  .compare-grid { grid-template-columns: 96px 1.15fr 1fr; min-width: 560px; font-size: 13px; }

  /* サポート: 2列で並べる（カードはコンパクトに） */
  .support-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .support-card { padding: 18px 14px; gap: 8px; }
  .support-card h3 { font-size: 13.5px; }
  .support-card p { font-size: 11.5px; }
  .support-icon { width: 42px; height: 42px; padding: 10px; border-radius: 11px; }

  /* コース: テキスト→イラストの順に反転して積む */
  .course-banner { min-height: 0; display: flex; flex-direction: column-reverse; position: relative; }
  .course-img { position: static; width: 100%; height: 190px; display: block; }
  .course-fade { display: none; }

  /* テキスト部の背景色をイラスト上部へ溶け込ませて境界をぼかす */
  .course-banner::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 110px;
    height: 80px;
    pointer-events: none;
  }
  .course-basic .course-banner::after { background: linear-gradient(180deg, #eef5ee 0%, rgba(238, 245, 238, 0) 100%); }
  .course-dev .course-banner::after { background: linear-gradient(180deg, #edf1fa 0%, rgba(237, 241, 250, 0) 100%); }
  .course-infra .course-banner::after { background: linear-gradient(180deg, #f2effa 0%, rgba(242, 239, 250, 0) 100%); }
  .course-copy { max-width: none; padding: 22px 22px 26px; }
  .course-no { font-size: 30px; }
  .course-title { font-size: 19px; }
  .course-copy p br { display: none; }
  .meta-for { margin-left: 0; }

  /* 学習の流れ: 左寄せタイムライン */
  .timeline-line { left: 0; transform: none; width: 44px; bottom: 40px; }
  .timeline-line::after {
    border-left-width: 36px;
    border-right-width: 36px;
    border-top-width: 32px;
  }
  .timeline { padding-bottom: 76px; }
  .step {
    grid-template-columns: 44px 1fr;
    column-gap: 18px;
    grid-template-areas: "node text" ". media";
    align-items: start;
  }
  .step-node { grid-area: node; }
  .step-node span { box-shadow: 0 0 0 5px #f4f9f8; }
  .step-text { grid-area: text; }
  .step-text.align-right { text-align: left; align-items: flex-start; }
  .step-media { grid-area: media; justify-self: start !important; margin-top: 12px; }
  .step-media:empty { display: none; }
  .step-media img { width: 100%; max-width: 300px; height: auto; aspect-ratio: 5 / 3; margin-left: 0; }
  .timeline .step + .step { margin-top: 40px; }

  /* 講師 */
  .instructor-grid { grid-template-columns: repeat(2, 1fr); }
  .instructor-photo { width: 110px; height: 110px; }
  .instructor-photo svg { width: 56px; height: 56px; }

  /* 受講生の声 */
  .voice-grid { grid-template-columns: 1fr; }

  /* FAQ */
  .faq { padding: 56px 20px; }

  /* フッター */
  .footer-inner { padding: 80px 20px 56px; }
  /* 見出し・リード文が1行に収まるよう画面幅に連動してサイズ調整 */
  .footer-title { font-size: clamp(16px, 5.2vw, 20px); }
  .footer-lead { font-size: clamp(10.5px, 3.3vw, 12.5px); }
  .site-footer { margin-top: 70px; }
  .footer-btns { flex-direction: column; width: 100%; max-width: 340px; }
  .footer-btns .btn { width: 100%; text-align: center; }

  /* フッターリンク: 縦並び（区切り線は非表示） */
  .footer-links { flex-direction: column; gap: 14px; align-items: center; }
  .footer-links span { display: none; }

  /* 追従CTA */
  .sticky-cta-inner { padding: 10px 16px; gap: 10px; }
  .sticky-cta-inner span { display: none; }
  .sticky-cta-inner .btn { width: 100%; max-width: 340px; text-align: center; }
}

/* =========================================================
   比較表: CodeRing列のホバーアニメーション
   （CodeRing列 .cmp-col-main のみが拡大する）
   ========================================================= */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .cmp-col-main {
    transition: transform .35s cubic-bezier(.33, 1, .53, 1);
  }
  .cmp-col-main:hover {
    transform: scale(1.04);
  }
  .cmp-head-main,
  .cmp-main {
    transition: box-shadow .35s ease;
  }
  .cmp-col-main:hover .cmp-head-main,
  .cmp-col-main:hover .cmp-main {
    box-shadow: 0 16px 38px rgba(0, 0, 0, .42);
  }
}

/* =========================================================
   学習管理アプリ紹介ページ (app.html)
   ========================================================= */
.global-nav .is-current { color: #0f6b7a; font-weight: 700; }

/* ヒーロー */
.app-hero {
  background:
    radial-gradient(600px 400px at 85% 20%, rgba(31, 169, 189, .25), transparent 65%),
    radial-gradient(500px 400px at 10% 90%, rgba(95, 212, 196, .16), transparent 65%),
    linear-gradient(150deg, #16324f 0%, #1d3f60 60%, #1a4a63 100%);
  color: #fff;
  overflow: hidden;
}

.app-hero-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 88px 24px;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 48px;
  align-items: center;
}

.app-hero-title {
  font-family: 'Shippori Mincho', serif;
  font-size: clamp(30px, 3.6vw, 46px);
  font-weight: 600;
  line-height: 1.6;
  margin: 10px 0 16px;
}

.app-hero-lead {
  color: #c3d2df;
  font-size: 15px;
  margin: 0 0 28px;
  max-width: 480px;
}

/* スマホモックアップ */
.app-hero-visual { display: flex; justify-content: center; }

.phone-mock {
  width: 270px;
  border-radius: 36px;
  background: #0d2338;
  padding: 12px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .35), 0 0 0 1px rgba(255, 255, 255, .08);
  transform: rotate(3deg);
}

.phone-screen {
  background: #f4f9f8;
  border-radius: 26px;
  padding: 18px 16px 20px;
  color: #16324f;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pm-header { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; }
.pm-header img { width: 26px; height: 26px; border-radius: 7px; }

.pm-progress {
  background: #fff;
  border: 1px solid #e3ecea;
  border-radius: 14px;
  padding: 14px;
}
.pm-progress-label { font-size: 11px; color: #5a7184; font-weight: 500; }
.pm-progress-num { font-family: 'Shippori Mincho', serif; font-size: 30px; font-weight: 700; color: #1fa9bd; line-height: 1.3; }
.pm-progress-num span { font-size: 14px; }
.pm-bar { height: 8px; background: #e3ecea; border-radius: 999px; overflow: hidden; margin: 8px 0 6px; }
.pm-bar-fill { width: 42%; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #5fd4c4, #1fa9bd); }
.pm-progress-note { font-size: 10.5px; color: #5a7184; }

.pm-video {
  background: #fff;
  border: 1px solid #e3ecea;
  border-radius: 14px;
  padding: 12px;
  display: flex;
  gap: 10px;
  align-items: center;
}
.pm-thumb {
  width: 56px;
  height: 40px;
  border-radius: 8px;
  background: #16324f;
  color: #5fd4c4;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex: none;
}
.pm-video-title { font-size: 12px; font-weight: 700; }
.pm-video-sub { font-size: 10.5px; color: #5a7184; }

.pm-question {
  background: #e8f6f4;
  border-radius: 12px;
  padding: 11px 12px;
  font-size: 11px;
  font-weight: 700;
  color: #2f8f76;
  display: flex;
  align-items: center;
  gap: 8px;
}
.pm-q-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #2f8f76;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  flex: none;
}

/* 特長リスト */
.feature-list { display: flex; flex-direction: column; gap: 48px; max-width: 980px; margin: 0 auto; }

.feature-row {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 40px;
  align-items: center;
}
.feature-row-reverse { grid-template-columns: 1fr 300px; }
.feature-row-reverse .feature-visual { order: 2; }
.feature-row-reverse .feature-text { order: 1; }

.feature-visual {
  height: 200px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-visual svg { width: 84px; height: 84px; }
.fv-teal { background: linear-gradient(135deg, #e0f3f6, #ecf9f7); color: #1a8fa3; }
.fv-green { background: linear-gradient(135deg, #e3f2ec, #eef8f2); color: #2f8f76; }
.fv-purple { background: linear-gradient(135deg, #ece8f8, #f4f1fb); color: #6b5aa8; }
.fv-navy { background: linear-gradient(135deg, #e4ebf3, #eff4f9); color: #33506b; }

.feature-no {
  font-family: 'Shippori Mincho', serif;
  font-size: 15px;
  color: #1fa9bd;
  letter-spacing: .2em;
  font-weight: 700;
}
.feature-text h3 { font-size: 21px; font-weight: 700; margin: 6px 0 10px; }
.feature-text p { margin: 0; font-size: 14px; color: #5a7184; max-width: 560px; }

@media (max-width: 860px) {
  .app-hero-inner { grid-template-columns: 1fr; padding: 56px 20px; gap: 40px; }
  .app-hero-visual { order: 2; }
  .phone-mock { transform: rotate(0deg); }

  .feature-row,
  .feature-row-reverse { grid-template-columns: 1fr; gap: 18px; }
  .feature-row-reverse .feature-visual { order: 0; }
  .feature-row-reverse .feature-text { order: 1; }
  .feature-visual { height: 150px; }
  .feature-visual svg { width: 64px; height: 64px; }
}

/* =========================================================
   コース個別ページ (course-*.html)
   ========================================================= */
body.cp-basic {
  --cp: #2f7d5b; --cp-bg: #eef5ee; --cp-border: #bcd8c6; --cp-text: #2f5b44;
  --cp-fade: linear-gradient(90deg, #eef5ee 0%, #eef5ee 34%, rgba(238, 245, 238, .85) 48%, rgba(238, 245, 238, 0) 78%);
}
body.cp-dev {
  --cp: #3d5a9e; --cp-bg: #edf1fa; --cp-border: #c3cfe8; --cp-text: #41527a;
  /* 開発系は画像が左・テキストが右のためグラデーションも反転 */
  --cp-fade: linear-gradient(270deg, #edf1fa 0%, #edf1fa 34%, rgba(237, 241, 250, .85) 48%, rgba(237, 241, 250, 0) 78%);
}
body.cp-infra {
  --cp: #6b5aa8; --cp-bg: #f2effa; --cp-border: #d4cdea; --cp-text: #544a78;
  --cp-fade: linear-gradient(90deg, #f2effa 0%, #f2effa 34%, rgba(242, 239, 250, .85) 48%, rgba(242, 239, 250, 0) 78%);
}

/* ヒーロー: 画像を全面に敷き、テキスト側へグラデーションで溶け込ませる */
.course-hero {
  position: relative;
  background: var(--cp-bg);
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: 420px;
}

.course-hero-img {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: 66%;
  height: 100%;
  object-fit: cover;
}
body.cp-dev .course-hero-img { right: auto; left: 0; object-position: left center; }
body.cp-dev .course-hero-copy { margin-left: auto; }

.course-hero-fade {
  position: absolute;
  inset: 0;
  background: var(--cp-fade);
  pointer-events: none;
}

.course-hero-inner {
  position: relative;
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 72px 24px;
}

.course-hero-copy { max-width: 46%; }

.course-hero-eyebrow {
  font-family: 'Shippori Mincho', serif;
  font-size: 15px;
  letter-spacing: .25em;
  color: var(--cp);
  font-weight: 700;
}

.course-hero-title {
  font-family: 'Shippori Mincho', serif;
  /* 最長のコース名（12文字）がコピー幅内で折り返さないサイズ */
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 600;
  color: var(--cp);
  line-height: 1.5;
  margin: 10px 0 14px;
}

.course-hero-lead { color: var(--cp-text); font-size: 14.5px; margin: 0 0 20px; max-width: 520px; }

.course-hero-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.course-hero-chips span {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--cp);
  border: 1px solid var(--cp);
  border-radius: 999px;
  padding: 4px 16px;
  background: rgba(255, 255, 255, .55);
}

.cp-eyebrow { color: var(--cp); }

/* カリキュラム */
.curriculum { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }

.curriculum-item {
  display: flex;
  gap: 22px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid #e3ecea;
  border-radius: 14px;
  padding: 22px 26px;
  box-shadow: 0 4px 14px rgba(22, 50, 79, .05);
}

.cur-week {
  flex: none;
  font-family: 'Shippori Mincho', serif;
  font-weight: 700;
  font-size: 15px;
  color: #fff;
  background: var(--cp);
  border-radius: 10px;
  padding: 8px 14px;
  white-space: nowrap;
}

.cur-body h3 { font-size: 16.5px; font-weight: 700; margin: 2px 0 6px; }
.cur-body p { margin: 0; font-size: 13.5px; color: #5a7184; }

/* 身につくスキル */
.cp-skills-band { background: var(--cp-bg); }
.cp-skills-band .section-inner { padding: 64px 24px; }

.skill-chips { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; max-width: 720px; margin: 0 auto; }
.skill-chip {
  font-size: 14px;
  font-weight: 700;
  color: var(--cp);
  background: #fff;
  border: 1px solid var(--cp-border);
  border-radius: 999px;
  padding: 9px 22px;
  box-shadow: 0 3px 10px rgba(22, 50, 79, .05);
}

/* こんな方におすすめ */
.rec-list { max-width: 640px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.rec-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 1px solid #e3ecea;
  border-radius: 12px;
  padding: 16px 22px;
  font-weight: 700;
  font-size: 15px;
}
.rec-check {
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--cp);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 他のコース */
.cp-others { background: #f4f9f8; }
.cp-others .section-inner { padding: 64px 24px; }

.other-courses { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }
.other-course {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  border: 1px solid #e3ecea;
  border-radius: 14px;
  padding: 20px 28px;
  font-family: 'Shippori Mincho', serif;
  font-weight: 600;
  font-size: 17px;
  box-shadow: 0 4px 14px rgba(22, 50, 79, .05);
  transition: transform .3s ease, box-shadow .3s ease;
}
.other-course.cp-basic { color: #2f7d5b; }
.other-course.cp-dev { color: #3d5a9e; }
.other-course.cp-infra { color: #6b5aa8; }
.other-course .oc-arrow { transition: transform .3s ease; }
@media (hover: hover) {
  .other-courses .other-course:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(22, 50, 79, .12);
  }
  .other-course:hover .oc-arrow { transform: translateX(4px); }
}

/* トップページのコースカード内リンク */
.course-detail-link { font-size: 13px; font-weight: 700; }
.course-basic .course-detail-link { color: #2f7d5b; }
.course-dev .course-detail-link { color: #3d5a9e; }
.course-infra .course-detail-link { color: #6b5aa8; }
.course-detail-link:hover { text-decoration: underline; }

@media (max-width: 860px) {
  /* モバイル: 画像を上に、テキストを下に積む */
  .course-hero { display: block; min-height: 0; }
  .course-hero-img { position: static; width: 100%; height: 220px; display: block; }
  .course-hero-fade { display: none; }
  .course-hero-inner { padding: 30px 20px 44px; }
  .course-hero-copy { max-width: none; }
  .curriculum-item { flex-direction: column; gap: 10px; padding: 18px 20px; }
  .cur-week { align-self: flex-start; }
}

/* アプリ特長: 実際のアプリ画面スクリーンショット */
.feature-visual.fv-shot {
  background: none;
  height: auto;
  padding: 0;
}
.fv-shot img {
  display: block;
  width: 100%;
  border-radius: 16px;
  border: 1px solid #dbe5ec;
  box-shadow: 0 16px 38px rgba(22, 50, 79, .16);
}
/* 縦長のスマホ画面は高さを抑えて中央配置 */
.feature-visual.fv-shot-tall { display: flex; justify-content: center; }
.fv-shot-tall img { width: auto; max-height: 360px; }

/* =========================================================
   カウンセリング予約モーダル
   ========================================================= */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(13, 26, 43, .55);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
}
.modal-overlay.is-open { opacity: 1; visibility: visible; }

.modal-card {
  position: relative;
  background: #fff;
  border-radius: 20px;
  width: 100%;
  max-width: 560px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  padding: 30px 32px 26px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .3);
  transform: translateY(18px) scale(.97);
  transition: transform .35s cubic-bezier(.22, .61, .36, 1);
}
.modal-overlay.is-open .modal-card { transform: none; }

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 50%;
  background: #f4f9f8;
  color: #5a7184;
  font-size: 15px;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.modal-close:hover { background: #e3ecea; color: #16324f; }

.modal-eyebrow { font-size: 11px; letter-spacing: .3em; color: #1fa9bd; font-weight: 700; }
.modal-title {
  font-family: 'Shippori Mincho', serif;
  font-size: 22px;
  font-weight: 600;
  margin: 4px 0 6px;
}
.modal-lead { font-size: 12.5px; color: #5a7184; margin: 0 0 14px; }

.modal-form { display: flex; flex-direction: column; gap: 11px; }

.mf-field { display: flex; flex-direction: column; gap: 4px; }
.mf-field label { font-size: 13px; font-weight: 700; }
.mf-field label em {
  font-style: normal;
  font-size: 10.5px;
  color: #fff;
  background: #d9704f;
  border-radius: 5px;
  padding: 1px 7px;
  margin-left: 6px;
  vertical-align: 1px;
}

.mf-field input,
.mf-field select,
.mf-field textarea {
  font-family: inherit;
  font-size: 14px;
  color: #16324f;
  border: 1px solid #dbe5ec;
  border-radius: 10px;
  padding: 9px 13px;
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.mf-field input:focus,
.mf-field select:focus,
.mf-field textarea:focus {
  outline: none;
  border-color: #1fa9bd;
  box-shadow: 0 0 0 3px rgba(31, 169, 189, .15);
}
.mf-field textarea { resize: vertical; }

.mf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.mf-agree { display: flex; align-items: center; gap: 9px; font-size: 13px; cursor: pointer; }
.mf-agree input { width: 17px; height: 17px; accent-color: #2f8f76; }
.mf-agree em {
  font-style: normal;
  font-size: 10.5px;
  color: #fff;
  background: #d9704f;
  border-radius: 5px;
  padding: 1px 7px;
  margin-left: 2px;
}

.mf-submit { margin-top: 4px; width: 100%; cursor: pointer; font-family: inherit; }

/* 送信完了ビュー */
.modal-done-view { text-align: center; padding: 24px 0 8px; }
.md-check {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #e8f6f4;
  color: #2f8f76;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}
.modal-done-view .modal-lead { margin-bottom: 26px; }
.md-close { cursor: pointer; font-family: inherit; }

@media (max-width: 560px) {
  .modal-card { padding: 24px 18px 20px; max-height: calc(100vh - 80px); }
  .mf-row { grid-template-columns: 1fr; gap: 11px; }

  .modal-title { font-size: 20px; }
  .modal-lead { font-size: 11px; }

  /* iOS Safariは入力欄のフォントが16px未満だとフォーカス時に自動ズームするため16pxにする */
  .mf-field input,
  .mf-field select,
  .mf-field textarea {
    font-size: 16px;
    padding: 9px 12px;
  }
}

/* =========================================================
   プライバシーポリシーページ (privacy.html)
   ========================================================= */
.policy-head { background: #f4f9f8; border-bottom: 1px solid #e3ecea; }
.policy-head-inner { max-width: 820px; margin: 0 auto; padding: 56px 24px 48px; }

.policy-title {
  font-family: 'Shippori Mincho', serif;
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 600;
  margin: 8px 0 14px;
}
.policy-lead { font-size: 14px; color: #5a7184; margin: 0; }

.policy-body { max-width: 820px; margin: 0 auto; padding: 48px 24px 72px; }

.policy-sec { margin-bottom: 36px; }
.policy-sec h2 {
  font-family: 'Shippori Mincho', serif;
  font-size: 19px;
  font-weight: 600;
  margin: 0 0 10px;
  padding: 8px 0 8px 14px;
  border-left: 4px solid #1fa9bd;
  background: #f4f9f8;
  border-radius: 0 8px 8px 0;
  padding-right: 14px;
}
.policy-sec p { margin: 0 0 10px; font-size: 14px; color: #33506b; }
.policy-sec ul { margin: 0; padding-left: 22px; font-size: 14px; color: #33506b; }
.policy-sec li { margin-bottom: 5px; }

.policy-date { font-size: 13px; color: #5a7184; text-align: right; margin: 40px 0 0; }
.policy-back { margin-top: 36px; }
.policy-back a { font-size: 14px; font-weight: 700; }

.policy-footer {
  background: #f4f9f8;
  border-top: 1px solid #e3ecea;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 44px 24px 32px;
}

/* =========================================================
   専門用語ツールチップ（data-tip 属性で吹き出し表示）
   ========================================================= */
[data-tip] {
  position: relative;
  cursor: help;
}

/* 吹き出し本体 */
[data-tip]::after {
  content: attr(data-tip);
  position: absolute;
  bottom: calc(100% + 11px);
  left: 50%;
  transform: translateX(calc(-50% + var(--tip-shift, 0px))) translateY(5px);
  width: max-content;
  max-width: 270px;
  background: #16324f;
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: normal;
  text-align: left;
  white-space: normal;
  padding: 10px 14px;
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(22, 50, 79, .3);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
  pointer-events: none;
  z-index: 30;
}

/* 吹き出しの三角 */
[data-tip]::before {
  content: '';
  position: absolute;
  bottom: calc(100% + 5px);
  left: 50%;
  transform: translateX(-50%) translateY(5px);
  border: 6px solid transparent;
  border-top-color: #16324f;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
  pointer-events: none;
  z-index: 30;
}

[data-tip]:hover::after,
[data-tip]:focus-visible::after {
  opacity: 1;
  visibility: visible;
  transform: translateX(calc(-50% + var(--tip-shift, 0px))) translateY(0);
}
[data-tip]:hover::before,
[data-tip]:focus-visible::before {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

[data-tip]:focus-visible {
  outline: 2px solid #1fa9bd;
  outline-offset: 2px;
}

/* スマホ時のみ有効な改行 */
.br-sp { display: none; }
@media (max-width: 760px) {
  .br-sp { display: inline; }
}

/* =========================================================
   比較表: スマホ用カード積みレイアウト
   ========================================================= */
.compare-cards { display: none; }

@media (max-width: 760px) {
  /* 3列の表は隠し、カード積みに切り替え */
  .compare-scroll { display: none; }

  .compare-cards {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  /* 凡例バナー */
  .cc-legend {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #1fa9bd;
    color: #fff;
    border-radius: 12px;
    padding: 12px 16px;
    margin-bottom: 4px;
  }
  .cc-legend img { width: 22px; height: 22px; border-radius: 6px; }
  .cc-legend b { font-size: 14.5px; font-weight: 700; }
  .cc-legend span { font-size: 11.5px; font-weight: 500; color: rgba(255, 255, 255, .85); }

  .cc-item {
    background: #1e3a5c;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .22);
  }

  .cc-label {
    color: #fff;
    font-weight: 700;
    font-size: 12.5px;
    letter-spacing: .06em;
    padding: 9px 16px;
  }

  .cc-main,
  .cc-other {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 13px 14px 13px 16px;
  }

  .cc-main {
    background: #fff;
    color: #16324f;
    font-weight: 700;
    font-size: 13.5px;
  }
  .cc-main i { color: #1fa9bd; font-size: 17px; font-style: normal; }

  .cc-other {
    background: #2a4362;
    color: #8fa6ba;
    font-size: 12.5px;
    border-top: 1px solid rgba(255, 255, 255, .06);
  }
  .cc-other i { font-size: 13px; font-style: normal; }

  .cc-text { display: flex; align-items: center; gap: 8px; }

  .cc-badge {
    flex: none;
    background: #e6f5f7;
    color: #1a8fa3;
    font-size: 10.5px;
    font-weight: 700;
    border-radius: 7px;
    padding: 4px 10px;
  }

  .cc-badge-other {
    flex: none;
    background: #3b5471;
    color: #9db1c4;
    font-size: 10.5px;
    font-weight: 700;
    border-radius: 7px;
    padding: 4px 10px;
  }
}

/* =========================================================
   受講生の声: スマホ時は横スライド（スワイプ）
   ========================================================= */
@media (max-width: 760px) {
  .voice-grid {
    display: flex;
    grid-template-columns: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 14px;
    padding: 4px 2px 6px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .voice-grid::-webkit-scrollbar { display: none; }

  .voice-card {
    flex: 0 0 82%;
    scroll-snap-align: center;
  }

  /* 横スクロール圏外のカードが非表示のままにならないよう、出現アニメーションは無効化 */
  .voice-grid > [data-animate] {
    opacity: 1;
    animation: none;
  }

  /* スワイプできることを示すヒント */
  .voice-grid + .voice-swipe-hint,
  .voice-swipe-hint {
    text-align: center;
    font-size: 11.5px;
    color: #a9c0d4;
    letter-spacing: .1em;
    margin-top: 12px;
  }
}
.voice-swipe-hint { display: none; }
@media (max-width: 760px) {
  .voice-swipe-hint { display: block; }
}

/* =========================================================
   キャリアロードマップ (#career)
   ========================================================= */
/* 右肩上がりの成長を感じさせる背景 */
.career {
  position: relative;
  overflow: hidden;
  background: linear-gradient(115deg, #f4f9f8 0%, #eef6f5 45%, #e6f2f3 100%);
}

/* ゴール（右上）へ向かう光のにじみ */
.career::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(560px 420px at 88% 16%, rgba(31, 169, 189, .14), transparent 65%),
    radial-gradient(360px 300px at 78% 34%, rgba(232, 161, 58, .07), transparent 65%),
    radial-gradient(460px 380px at 6% 88%, rgba(95, 212, 196, .12), transparent 65%),
    radial-gradient(300px 260px at 30% 12%, rgba(22, 50, 79, .05), transparent 65%);
}

/* 右上へ駆け上がる斜めのライン */
.career::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    -60deg,
    rgba(31, 169, 189, .06) 0 2px,
    transparent 2px 34px
  );
  mask-image: linear-gradient(115deg, transparent 25%, #000 75%);
  -webkit-mask-image: linear-gradient(115deg, transparent 25%, #000 75%);
}

.career .section-inner { position: relative; z-index: 1; }

/* PC: 階段グラフ */
.career-chart {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  align-items: end;
}

.career-col { display: flex; flex-direction: column; }

.career-col-head { text-align: center; padding-bottom: 14px; }
.cr-step { font-size: 11px; letter-spacing: .14em; color: #1fa9bd; font-weight: 700; }
.cr-step-gold { color: #e8a13a; }
.cr-title { font-weight: 700; font-size: 15px; color: #16324f; margin-top: 4px; }
.cr-desc { font-size: 12px; color: #5a7184; margin-top: 4px; }

.career-bar {
  border-radius: 14px 14px 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
}
.cr-amount { font-family: 'Shippori Mincho', serif; font-weight: 700; color: #16324f; }
.cr-amount span { font-size: 14px; }
.cr-note { font-size: 11px; }

.cr-bar-1 { background: #fff; border: 1px solid #e3ecea; height: 90px; }
.cr-bar-1 .cr-amount { font-size: 20px; }
.cr-bar-1 .cr-note { color: #5a7184; }

.cr-bar-2 { background: #dff0ee; border: 1px solid #c8e4e0; height: 130px; }
.cr-bar-2 .cr-amount { font-size: 24px; }
.cr-bar-2 .cr-note { color: #3f6b63; }

.cr-bar-3 { background: #bfe3e9; border: 1px solid #a5d6de; height: 175px; }
.cr-bar-3 .cr-amount { font-size: 24px; }
.cr-bar-3 .cr-note { color: #33626e; }

.cr-bar-4 {
  background: #16324f;
  height: 225px;
  gap: 4px;
  box-shadow: 0 14px 30px rgba(22, 50, 79, .25);
}
.cr-bar-4 .cr-unit-label { font-size: 11px; letter-spacing: .14em; color: #5fd4c4; font-weight: 700; }
.cr-bar-4 .cr-amount { font-size: 34px; color: #fff; }
.cr-bar-4 .cr-amount span { font-size: 17px; }
.cr-bar-4 .cr-note { color: #a9c0d4; }

.career-baseline {
  height: 4px;
  background: linear-gradient(90deg, #e3ecea, #1fa9bd 60%, #16324f);
  border-radius: 2px;
}

/* スマホ用縦タイムライン（PCでは非表示） */
.career-steps { display: none; }

/* 下部CTA・注記 */
.career-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.career-cta span { font-size: 13px; color: #5a7184; }
.career-cta a { font-size: 13px; font-weight: 700; color: #1a8fa3; }

.career-note { text-align: center; margin-top: 14px; font-size: 11px; color: #8fa3b3; }

@media (max-width: 760px) {
  /* 階段グラフを隠し、縦タイムラインに切り替え */
  .career-chart,
  .career-baseline { display: none; }

  .career-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
  }

  .career-line {
    position: absolute;
    top: 8px;
    bottom: 8px;
    left: 19px;
    width: 3px;
    background: linear-gradient(180deg, #e3ecea, #1fa9bd 60%, #16324f);
    border-radius: 2px;
  }

  .career-step { display: flex; gap: 16px; position: relative; padding-bottom: 18px; }

  .cs-dot {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Shippori Mincho', serif;
    font-size: 14px;
    font-weight: 700;
    flex: none;
    border: 3px solid #f4f9f8;
    position: relative;
  }
  .cs-dot-1 { background: #fff; color: #5a7184; }
  .cs-dot-2 { background: #dff0ee; color: #2f7d5b; }
  .cs-dot-3 { background: #bfe3e9; color: #33626e; }
  .cs-dot-4 { background: #16324f; color: #5fd4c4; }

  .cs-card {
    flex: 1;
    border-radius: 14px;
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 4px;
  }
  .cs-title { font-weight: 700; font-size: 15px; color: #16324f; }
  .cs-desc { font-size: 12px; color: #5a7184; }
  .cs-amount { font-family: 'Shippori Mincho', serif; font-size: 22px; font-weight: 700; color: #16324f; margin-top: 4px; }
  .cs-amount span { font-size: 13px; }
  .cs-note { font-size: 11px; color: #5a7184; }

  .cs-card-1 { background: #fff; border: 1px solid #e3ecea; }
  .cs-card-2 { background: #dff0ee; border: 1px solid #c8e4e0; }
  .cs-card-2 .cs-desc, .cs-card-2 .cs-note { color: #3f6b63; }
  .cs-card-3 { background: #bfe3e9; border: 1px solid #a5d6de; }
  .cs-card-3 .cs-desc, .cs-card-3 .cs-note { color: #33626e; }
  .cs-card-4 {
    background: #16324f;
    border: 1px solid #16324f;
    box-shadow: 0 14px 30px rgba(22, 50, 79, .25);
  }
  .cs-card-4 .cs-title, .cs-card-4 .cs-amount { color: #fff; }
  .cs-card-4 .cs-desc, .cs-card-4 .cs-note { color: #a9c0d4; }
}

/* =========================================================
   ヘッダー「コース」ドロップダウンメニュー
   ========================================================= */
/* モバイル: ラッパーを透過し、ドロップダウンは使わない */
.nav-item-dropdown { display: contents; }
.nav-dropdown { display: none; }

@media (min-width: 1025px) {
  .nav-item-dropdown {
    display: block;
    position: relative;
  }

  /* ホバーの橋渡し用の透明領域込みで配置 */
  .nav-dropdown {
    display: block;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(6px);
    padding-top: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, transform .3s cubic-bezier(.22, .61, .36, 1), visibility .3s;
    z-index: 60;
  }
  .nav-item-dropdown:hover .nav-dropdown,
  .nav-item-dropdown:focus-within .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
  }

  .nav-dropdown-card {
    width: 320px;
    background: rgba(255, 255, 255, .92);
    -webkit-backdrop-filter: blur(14px) saturate(1.5);
    backdrop-filter: blur(14px) saturate(1.5);
    border: 1px solid rgba(227, 236, 234, .8);
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(22, 50, 79, .18);
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 2px;
  }

  .global-nav .nd-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    border-radius: 11px;
    transition: background .2s;
  }
  .global-nav .nd-link::after { display: none; } /* ナビの下線アニメを無効化 */

  .nd-no {
    font-family: 'Shippori Mincho', serif;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: .04em;
    flex: none;
  }
  .nd-body { display: flex; flex-direction: column; gap: 1px; }
  .nd-body b { font-size: 13.5px; color: #16324f; font-weight: 700; }
  .nd-body small { font-size: 11px; color: #5a7184; }

  .nd-basic .nd-no { color: #2f7d5b; }
  .nd-basic:hover { background: #eef5ee; }
  .nd-dev .nd-no { color: #3d5a9e; }
  .nd-dev:hover { background: #edf1fa; }
  .nd-infra .nd-no { color: #6b5aa8; }
  .nd-infra:hover { background: #f2effa; }
}

/* フォーム送信まわり（ハニーポット・エラー表示） */
.mf-honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.mf-error {
  margin: 0;
  font-size: 12.5px;
  font-weight: 700;
  color: #c0492c;
  background: #fdf0ec;
  border: 1px solid #f0cfc4;
  border-radius: 9px;
  padding: 9px 13px;
  white-space: pre-line;
}
.mf-submit:disabled { opacity: .6; cursor: wait; }

/* モーダル表示中のスクロール連鎖・横揺れ防止（iOS対策） */
.modal-overlay { overscroll-behavior: contain; touch-action: pan-y; }
.modal-card { overscroll-behavior: contain; overflow-x: hidden; }

/* フッター: キャッチコピー / SNSは非公開のため非表示 */
.footer-tagline {
  font-size: 14px;
  font-weight: 700;
  color: #16324f;
  letter-spacing: .05em;
}
.footer-sns { display: none; }

/* フッター: 運営会社（リンクなしテキスト） */
.footer-links .fl-company { color: #33506b; }

/* 講師: 名前削除後の間隔調整 */
.instructor-role { font-size: 13px; font-weight: 700; }

/* フッター: 運営会社（リンク行の下の独立行） */
.footer-company {
  font-size: 12px;
  color: #33506b;
  letter-spacing: .04em;
  margin-top: -12px;
}
.policy-footer .footer-company { margin-top: -6px; }

/* 受講生の声: 顔写真枠（写真が入るまではシルエット表示） */
.voice-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #e8f6f4;
  color: #a8cfc7;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex: none;
}
.voice-avatar svg { width: 24px; height: 24px; }
.voice-avatar img { width: 100%; height: 100%; object-fit: cover; }


/* ===== ヒーロー: H1内のキーワード行（見た目は従来の hero-sub） ===== */
.hero-title .hero-sub { display: block; font-family: 'Noto Sans JP', sans-serif; margin-top: 14px; line-height: 1.6; }

/* ===== コースページ拡充 ===== */
.cp-overview { display: grid; grid-template-columns: 1.35fr 1fr; gap: 40px; align-items: start; max-width: 1000px; margin: 0 auto; }
.cp-overview-text p { font-size: 15px; line-height: 1.95; color: #33506b; margin: 0 0 16px; }
.cp-overview-text p:last-child { margin-bottom: 0; }
.cp-info {
  background: #fff;
  border: 1px solid var(--cp-border);
  border-radius: 16px;
  padding: 8px 24px;
  box-shadow: 0 4px 14px rgba(22, 50, 79, .05);
}
.cp-info dl { margin: 0; }
.cp-info dl > div { display: flex; gap: 14px; padding: 13px 0; border-bottom: 1px solid #e3ecea; font-size: 14px; line-height: 1.6; }
.cp-info dl > div:last-child { border-bottom: 0; }
.cp-info dt { flex: none; width: 92px; font-weight: 700; color: var(--cp); }
.cp-info dd { margin: 0; color: #33506b; }

.cur-topics { margin: 10px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 5px; }
.cur-topics li { position: relative; padding-left: 16px; font-size: 13.5px; line-height: 1.7; color: #33506b; }
.cur-topics li::before { content: ""; position: absolute; left: 0; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--cp); }

.cp-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 1000px; margin: 0 auto; }
.cp-step {
  background: #fff;
  border: 1px solid #e3ecea;
  border-radius: 16px;
  padding: 26px 24px;
  box-shadow: 0 4px 14px rgba(22, 50, 79, .05);
}
.cp-step-no { font-family: 'Shippori Mincho', serif; font-weight: 700; color: var(--cp); font-size: 13px; letter-spacing: .12em; margin-bottom: 8px; }
.cp-step h3 { font-size: 16.5px; margin: 0 0 8px; line-height: 1.5; }
.cp-step p { margin: 0; font-size: 13.5px; color: #5a7184; line-height: 1.8; }

.cp-career { background: var(--cp-bg); }
.cp-career .section-inner { padding: 64px 24px; }
.cp-career-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 1000px; margin: 0 auto; }
.cp-career-card { background: #fff; border: 1px solid var(--cp-border); border-radius: 16px; padding: 26px 28px; }
.cp-career-card h3 { font-size: 16.5px; margin: 0 0 12px; color: var(--cp); }
.cp-career-card ul { margin: 0; padding-left: 18px; font-size: 14px; color: #33506b; line-height: 1.9; }
.cp-career-card p { margin: 0; font-size: 14px; color: #33506b; line-height: 1.9; }
.cp-career-card a { color: var(--cp); font-weight: 700; white-space: nowrap; }

.cp-faq .section-eyebrow { color: var(--cp); }

@media (max-width: 860px) {
  .cp-overview { grid-template-columns: 1fr; gap: 24px; }
  .cp-steps { grid-template-columns: 1fr; }
  .cp-career-grid { grid-template-columns: 1fr; }
  .cp-info dt { width: 88px; }
}
