/* =========================================================
   生成AI研修 by DERTA — LP
   design ref: 90_design-handoff/DERTA AI研修 LP.dc.html (hifi)
   ========================================================= */

* { box-sizing: border-box; }

body {
  margin: 0;
  overflow-x: hidden;
  background: #f4f6f5;
  color: #3d423f;
  font-family: 'Noto Sans JP', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: #00c194; text-decoration: none; }
a:hover { opacity: .7; }

h1, h2, h3, p { margin: 0; }
button { font-family: inherit; }

/* anchor jump offset for sticky header */
section[id], .course[id], .org-card[id] { scroll-margin-top: 96px; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 48px;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid #e5eae7;
  box-shadow: 0 1px 12px rgba(20, 55, 40, .06);
}
.site-header__left { display: flex; align-items: center; gap: 36px; }
.logo { display: flex; align-items: baseline; gap: 8px; white-space: nowrap; }
.logo:hover { opacity: 1; }
.logo__main { font-size: 19px; font-weight: 900; letter-spacing: -.02em; color: #17211d; }
.logo__by { font-size: 12px; font-weight: 700; color: #8f9a95; letter-spacing: .08em; }
.site-nav { display: flex; gap: 24px; font-size: 14px; font-weight: 500; }
.site-nav a { color: #4b544f; }
.site-header__cta {
  background: #00c194;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 11px 22px;
  border-radius: 999px;
}
.site-header__cta:hover { opacity: .85; }

/* ---------- buttons ---------- */
.btn-row { display: flex; gap: 12px; padding-top: 8px; }
.btn {
  font-size: 15px;
  font-weight: 700;
  padding: 17px 34px;
  border-radius: 999px;
  min-width: 230px;
  text-align: center;
}
.btn--primary {
  background: #00c194;
  color: #fff;
  box-shadow: 0 6px 20px rgba(0, 193, 148, .34);
}
.btn--secondary {
  background: #fff;
  border: 1px solid #d2dad5;
  color: #17211d;
}
.btn:hover { opacity: .85; }

/* ---------- hero ---------- */
.hero { position: relative; height: 640px; background: #eceeec; overflow: hidden; }
.hero__pic { display: contents; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(255,255,255,.94) 0%, rgba(255,255,255,.88) 40%, rgba(255,255,255,.14) 58%, rgba(255,255,255,0) 74%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  height: 100%;
  padding: 0 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 22px;
  max-width: 900px;
}
.hero__badge {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: #00c194;
  padding: 8px 18px;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(0, 193, 148, .3);
}
.hero__badge-dot { width: 7px; height: 7px; border-radius: 50%; background: #ffbe85; display: block; }
.hero__title {
  font-size: 60px;
  line-height: 1.3;
  font-weight: 900;
  letter-spacing: -.03em;
  color: #17211d;
  max-width: 640px;
}
.hero__lead {
  max-width: 600px;
  font-size: 17px;
  line-height: 2;
  font-weight: 500;
  color: #4b544f;
}

/* ---------- sections（共通） ---------- */
.section {
  padding: 88px 48px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.section--white {
  background: #fff;
  border-top: 1px solid #e5eae7;
  border-bottom: 1px solid #e5eae7;
  gap: 36px;
}
.section--dots {
  background-color: #f4f6f5;
  background-image: radial-gradient(#dde5e0 1px, transparent 1px);
  background-size: 22px 22px;
}
.section--stripes {
  background-color: #f4f6f5;
  background-image: linear-gradient(135deg, rgba(20,55,40,.035) 0 1px, transparent 1px 12px);
}
.section--self {
  background: #e4f7f1;
  border-top: 1px solid #cdeee2;
  border-bottom: 1px solid #cdeee2;
}
.section--self .teacher-card { border-color: #cdeee2; }
.section--self .teachers__owl { border-color: #cdeee2; }
.section--self .teachers__bubble { border-color: #cdeee2; box-shadow: 0 1px 2px rgba(10, 107, 83, .06); }
.section--self .teachers__bubble::before { border-right-color: #cdeee2; }
.section--self .teachers__mascot-note { color: #5f8a7b; }
.section__head { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.section__label { font-size: 13px; font-weight: 700; letter-spacing: .1em; color: #00c194; }
.section__title { font-size: 38px; font-weight: 900; line-height: 1.5; color: #17211d; }
.section__title--sm { font-size: 36px; }
.section__title--faq { font-size: 32px; }
.section__lead { font-size: 15px; line-height: 2; color: #6b736e; max-width: 700px; text-wrap: pretty; }
.section__note { font-size: 15px; color: #6b736e; }
.section__note--strong { font-weight: 700; color: #17211d; }
.section__close { font-size: 18px; font-weight: 900; color: #17211d; }

/* ---------- 02 issues ---------- */
.issues__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.issue-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 2px rgba(20, 55, 40, .05);
}
.issue-card__img {
  width: calc(100% - 56px);
  margin: 24px 28px 0;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}
.issue-card__body {
  padding: 16px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.issue-card__tag { font-size: 12px; font-weight: 700; color: #98a29d; }
.issue-card h3 { font-size: 19px; font-weight: 900; line-height: 1.6; color: #17211d; }
.issue-card p { font-size: 14px; line-height: 1.95; color: #6b736e; }

/* ---------- 03 concept ---------- */
.compare__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.compare-card { border-radius: 18px; padding: 32px; display: flex; flex-direction: column; gap: 20px; }
.compare-card--no { background: #f4f6f5; }
.compare-card--yes { background: #12271f; color: #fff; }
.compare-card__head { display: flex; align-items: center; gap: 10px; }
.compare-card__mark {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.compare-card__mark--no { background: #c2c9c5; }
.compare-card__mark--yes { background: #00c194; }
.compare-card__name { font-size: 13px; font-weight: 700; color: #8b948f; }
.compare-card--yes .compare-card__name { color: #6ff2cf; }
.compare-card h3 { font-size: 24px; font-weight: 900; line-height: 1.6; }
.compare-card--no h3 { color: #5b635e; }
.compare-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14px;
  line-height: 1.9;
  color: #6b736e;
}
.compare-card--yes ul { color: #c9d6d0; }
.compare-card li { display: flex; gap: 10px; }
.compare-card li::before { content: "・"; }
.compare-card--no li::before { color: #c2c9c5; }
.compare-card--yes li::before { color: #ffa657; }

/* ---------- 04 quiz ---------- */
.quiz {
  background: #fff;
  border: 1px solid #e5eae7;
  border-radius: 20px;
  padding: 34px 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: 0 6px 18px rgba(20, 55, 40, .05);
}
.quiz__q { font-size: 17px; font-weight: 900; color: #17211d; }
.quiz__options { display: flex; flex-direction: column; gap: 10px; }
.quiz-option {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: #f4f6f5;
  border: 1px solid #e5eae7;
  border-radius: 14px;
  padding: 18px 22px;
  transition: background .15s ease, border-color .15s ease;
}
.quiz-option:hover { background: #e4f7f1; border-color: #9fdec8; }
.quiz-option__label {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 15px;
  font-weight: 700;
  color: #17211d;
  text-align: left;
}
.quiz-option__dots { display: flex; gap: 4px; min-width: 64px; }
.quiz-option__dots i { width: 9px; height: 9px; border-radius: 50%; background: #dbe4df; display: block; }
.quiz-option__dots i.on { background: #00c194; }
.quiz-option__dots i.org { background: #ff7a1a; }
.quiz-option__go { font-size: 13px; font-weight: 700; color: #00c194; white-space: nowrap; }

/* ---------- 05 personal courses ---------- */
.course {
  background: #f4f6f5;
  border: 1px solid #e5eae7;
  border-radius: 18px;
  padding: 30px 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.course__head { display: flex; align-items: center; gap: 14px; }
.course__step {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: #00c194;
  padding: 6px 14px;
  border-radius: 999px;
}
.course__name { font-size: 22px; font-weight: 900; color: #17211d; }
.course__catch { font-size: 15px; font-weight: 700; color: #00c194; }
.course__meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.course__box {
  background: #fff;
  border-radius: 12px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  line-height: 1.9;
  color: #4b544f;
}
.course__box-label { font-size: 11px; font-weight: 700; color: #98a29d; }
.course__curriculum { display: flex; flex-direction: column; gap: 10px; }
.course__curriculum-label { font-size: 12px; font-weight: 700; color: #98a29d; }
.course__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  line-height: 1.9;
  color: #4b544f;
}
.course-item { display: flex; gap: 10px; }
.course-item strong { color: #17211d; }
.course-item__num {
  width: 24px;
  height: 24px;
  min-width: 24px;
  border-radius: 50%;
  background: #e4f7f1;
  color: #00c194;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 4px;
}
.course__takeaway {
  background: #e4f7f1;
  border-radius: 12px;
  padding: 16px 20px;
  font-size: 14px;
  line-height: 1.9;
  color: #0a6b53;
}

/* ---------- 06 org menus ---------- */
.org__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.org-card {
  background: #fff;
  border: 1px solid #e5eae7;
  border-radius: 18px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.org-card--dark {
  background: #12271f;
  border: none;
  color: #fff;
  position: relative;
  box-shadow: 0 14px 40px rgba(18, 39, 31, .22);
}
.org-card__ribbon {
  position: absolute;
  top: -11px;
  left: 32px;
  background: #ff7a1a;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
}
.org-card__badge {
  align-self: flex-start;
  font-size: 11px;
  font-weight: 700;
  padding: 6px 13px;
  border-radius: 999px;
}
.org-card__badge--orange { color: #fff; background: #ff7a1a; }
.org-card__badge--peach { color: #12271f; background: #ffbe85; }
.org-card__title { display: flex; flex-direction: column; gap: 8px; }
.org-card__for { font-size: 13px; font-weight: 700; color: #8b948f; }
.org-card__for--peach { color: #ffbe85; }
.org-card__title h3 { font-size: 24px; font-weight: 900; line-height: 1.6; color: #17211d; }
.org-card--dark .org-card__title h3 { color: #fff; }
.org-card__catch { font-size: 15px; font-weight: 700; color: #00c194; }
.org-card__catch--peach { color: #ffbe85; }
.org-card__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14px;
  line-height: 1.9;
  color: #4b544f;
}
.org-card__list--dark { color: #c9d6d0; }
.org-card__list li { display: flex; gap: 10px; }
.org-card__list li::before { content: "・"; color: #00c194; }
.org-card__list--dark li::before { color: #ffa657; }
.org-card__note { font-size: 12px; color: #98a29d; margin-top: auto; }

/* ---------- 6b branch CTA（AI社員&AIバイトのトンマナ＝赤×黒） ---------- */
.branch {
  background: #fff;
  border-top: 1px solid #e5eae7;
  border-bottom: 1px solid #e5eae7;
  padding: 36px 48px;
  display: flex;
  justify-content: center;
}
.branch__inner {
  width: 100%;
  max-width: 1000px;
  background: #fff1f2;
  border: 1px solid #ffd0d4;
  border-radius: 20px;
  padding: 30px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  box-shadow: 0 6px 18px rgba(143, 31, 39, .06);
}
.branch__pets { height: 92px; width: auto; display: block; flex-shrink: 0; }
.branch__text { display: flex; flex-direction: column; gap: 10px; flex: 1; min-width: 0; }
.branch__badge {
  align-self: flex-start;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: #ff3b45;
  padding: 6px 13px;
  border-radius: 999px;
}
.branch__sub { font-size: 13px; font-weight: 700; color: #8f1f27; }
.branch__title { font-size: 20px; font-weight: 900; line-height: 1.7; color: #17171a; }
.branch__btn {
  background: #ff3b45;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  padding: 16px 30px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 6px 20px rgba(255, 59, 69, .28);
}
.branch__btn:hover { opacity: .85; }

/* ---------- 07 teachers & results ---------- */
.stats__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.stat-card {
  background: #fff;
  border-radius: 16px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 1px 2px rgba(20, 55, 40, .05);
}
.stat-card__tag { font-size: 13px; font-weight: 700; color: #8b948f; }
.stat-card__num { font-size: 38px; font-weight: 900; }
.stat-card__num--green { color: #00c194; }
.stat-card__num--orange { color: #ff7a1a; }
.stat-card__desc { font-size: 14px; line-height: 1.9; color: #6b736e; }
.bar { height: 10px; border-radius: 999px; background: #e4f7f1; display: block; overflow: hidden; }
.bar__fill { display: block; width: 85%; height: 100%; border-radius: 999px; background: #00c194; }
.segments { display: flex; gap: 6px; align-items: center; }
.segments i { flex: 1; height: 10px; border-radius: 999px; background: #fbe6d5; display: block; }
.segments i.on { background: #ff7a1a; }
.teachers__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.teacher-card {
  background: #fff;
  border: 1px solid #e5eae7;
  border-radius: 16px;
  padding: 24px;
  display: flex;
  gap: 18px;
  align-items: center;
}
.teacher-card__photo {
  width: 84px;
  height: 84px;
  min-width: 84px;
  border-radius: 50%;
  overflow: hidden;
  background: #f4f6f5;
  display: block;
}
.teacher-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.teacher-card__body { display: flex; flex-direction: column; gap: 6px; }
.teacher-card__tag { font-size: 11px; font-weight: 700; color: #98a29d; }
.teacher-card__name { font-size: 17px; font-weight: 900; color: #17211d; }
.teacher-card__profile { font-size: 13px; line-height: 1.8; color: #6b736e; }
.teachers__closing { display: flex; align-items: center; gap: 22px; }
.teachers__mascot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.teachers__owl {
  width: 108px;
  height: 108px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #e5eae7;
  object-fit: contain;
  padding: 10px;
  box-sizing: border-box;
  display: block;
}
.teachers__mascot-note { font-size: 11px; font-weight: 700; color: #98a29d; white-space: nowrap; }
.teachers__bubble {
  position: relative;
  background: #fff;
  border: 1px solid #e5eae7;
  border-radius: 16px;
  padding: 20px 26px;
  font-size: 18px;
  font-weight: 900;
  color: #17211d;
  box-shadow: 0 1px 2px rgba(20, 55, 40, .05);
}
.teachers__bubble::before {
  content: "";
  position: absolute;
  left: -10px;
  top: 50%;
  margin-top: -10px;
  border-style: solid;
  border-width: 10px 10px 10px 0;
  border-color: transparent #e5eae7 transparent transparent;
}
.teachers__bubble::after {
  content: "";
  position: absolute;
  left: -8.5px;
  top: 50%;
  margin-top: -10px;
  border-style: solid;
  border-width: 10px 10px 10px 0;
  border-color: transparent #fff transparent transparent;
}

/* ---------- 08 flow ---------- */
.flow__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; align-items: stretch; }
.flow-card {
  background: #f4f6f5;
  border: 1px solid #e5eae7;
  border-radius: 14px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.flow-card__num {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #00c194;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.flow-card__tag { font-size: 11px; font-weight: 700; color: #98a29d; }
.flow-card h3 { font-size: 17px; font-weight: 900; color: #17211d; }
.flow-card p { font-size: 14px; line-height: 1.9; color: #6b736e; }

/* ---------- 09 pricing & combinations ---------- */
.combos__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.combo-card {
  background: #fff;
  border: 1px solid #e5eae7;
  border-radius: 16px;
  padding: 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}
.combo-card--featured { border: 2px solid #00c194; box-shadow: 0 6px 18px rgba(0, 193, 148, .12); }
.combo-card__ribbon {
  position: absolute;
  top: -11px;
  left: 26px;
  background: #00c194;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
}
.combo-card__tag { font-size: 17px; font-weight: 900; color: #17211d; }
.combo-card__flow { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.combo-card__join { font-size: 13px; font-weight: 700; color: #98a29d; }
.combo-chip {
  font-size: 13px;
  font-weight: 700;
  padding: 8px 13px;
  border-radius: 999px;
  white-space: nowrap;
}
.combo-chip--p { background: #e4f7f1; color: #0a6b53; }
.combo-chip--o { background: #fbe6d5; color: #a34f0e; }
.combo-chip--r { background: #fff1f2; color: #8f1f27; border: 1px dashed #ff8f96; }
.combo-card__desc { font-size: 14px; line-height: 1.95; color: #6b736e; margin-top: auto; }
.price-note {
  background: #fff;
  border: 1px solid #e5eae7;
  border-radius: 14px;
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.price-note__title { font-size: 17px; font-weight: 900; color: #17211d; }
.price-note__body { font-size: 14px; line-height: 1.95; color: #6b736e; }
.subsidy {
  background: #e4f7f1;
  border: 1px solid #a9e5d3;
  border-radius: 14px;
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.subsidy__title { font-size: 17px; font-weight: 900; color: #0a6b53; }
.subsidy__body { font-size: 14px; line-height: 1.95; color: #3d5c4e; }

/* ---------- 10 FAQ ---------- */
.faq {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: 56px;
  border-bottom: none;
}
.faq__head { display: flex; flex-direction: column; gap: 14px; }
.faq__list { display: flex; flex-direction: column; }
.faq-item { border-top: 1px solid #e5eae7; }
.faq-item:last-child { border-bottom: 1px solid #e5eae7; }
.faq-item__q {
  width: 100%;
  cursor: pointer;
  background: none;
  border: none;
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  font-size: 16px;
  font-weight: 700;
  color: #17211d;
  text-align: left;
}
.faq-item__toggle { color: #00c194; flex-shrink: 0; }
.faq-item__a {
  display: none;
  padding: 0 0 24px;
  font-size: 14px;
  line-height: 2;
  color: #6b736e;
  max-width: 640px;
}
.faq-item.is-open .faq-item__a { display: block; }
.faq-item.is-open .faq-item__q { padding-bottom: 12px; }

/* ---------- 11 final CTA ---------- */
.final {
  background-color: #f4f6f5;
  background-image: radial-gradient(#dde5e0 1px, transparent 1px);
  background-size: 22px 22px;
  border-top: 1px solid #e5eae7;
  padding: 88px 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  text-align: center;
}
.final__title { font-size: 40px; font-weight: 900; line-height: 1.5; color: #17211d; }
.final__sub { font-size: 15px; line-height: 2; color: #4b544f; }
.final__btns .btn { min-width: 234px; padding: 17px 36px; }

/* ---------- footer（derta.co.jp 準拠のダークニュートラル） ---------- */
.site-footer {
  background: #161616;
  color: #a3a3a3;
  padding: 72px 48px 56px;
  font-size: 13px;
}
.site-footer__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
}
.site-footer__logo-img { display: block; width: 120px; height: 83px; }
.site-footer__company { display: flex; flex-direction: column; gap: 18px; }
.site-footer__company-name { font-size: 20px; font-weight: 700; color: #fff; }
.site-footer__address { margin: 0; font-size: 14px; line-height: 2; color: #d6d6d6; }
.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  padding-top: 48px;
}
.site-footer__left { display: flex; flex-direction: column; gap: 22px; }
.site-footer__contact {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  color: #161616;
  font-size: 14px;
  font-weight: 700;
  padding: 12px 22px;
  border-radius: 999px;
}
.site-footer__contact-arrow {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #161616;
  color: #fff;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.site-footer__copy { color: #8a8a8a; }
.site-footer__sns { display: flex; align-items: center; gap: 16px; }
.site-footer__sns a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.site-footer__sns svg { width: 20px; height: 20px; display: block; }
.site-footer__note {
  border: 1.5px solid #fff;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  width: 26px !important;
  height: 26px !important;
  border-radius: 8px !important;
}
.site-footer__cols { display: flex; gap: 56px; }
.site-footer__col { display: flex; flex-direction: column; gap: 12px; }
.site-footer__col a, .site-footer__col span:not(.site-footer__col-title) { color: #a3a3a3; }
.site-footer__col a:hover { opacity: .7; }
.site-footer__col-title { color: #fff; font-weight: 700; font-size: 15px; }
.site-footer__sister { color: #a3a3a3; }

/* ---------- contact modal ---------- */
.contact-modal {
  border: none;
  border-radius: 20px;
  padding: 0;
  width: min(640px, 92vw);
  box-shadow: 0 24px 80px rgba(18, 39, 31, .3);
}
.contact-modal::backdrop { background: rgba(23, 33, 29, .55); }
.contact-modal__inner {
  position: relative;
  padding: 40px 44px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.contact-modal__close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: #f4f6f5;
  color: #4b544f;
  font-size: 18px;
  cursor: pointer;
}
.contact-modal__close:hover { background: #e4f7f1; }
.contact-modal__head { display: flex; flex-direction: column; gap: 10px; }
.contact-modal__title { font-size: 26px; font-weight: 900; color: #17211d; }
.contact-modal__lead { font-size: 14px; line-height: 1.9; color: #6b736e; }
.contact__form { display: flex; flex-direction: column; gap: 16px; }
.f-label { display: flex; flex-direction: column; gap: 6px; }
.f-txt { font-size: 13px; font-weight: 700; color: #17211d; }
.req { color: #ff7a1a; margin-left: 2px; }
.contact__form input[type="text"],
.contact__form input[type="email"],
.contact__form input[type="tel"],
.contact__form textarea {
  font-family: inherit;
  font-size: 15px;
  color: #17211d;
  border: 1px solid #d2dad5;
  border-radius: 10px;
  padding: 12px 14px;
  background: #fff;
}
.contact__form input:focus, .contact__form textarea:focus {
  outline: none;
  border-color: #00c194;
  box-shadow: 0 0 0 3px rgba(0, 193, 148, .15);
}
.contact__submit { border: none; cursor: pointer; width: 100%; margin-top: 4px; }

/* ---------- reveal ---------- */
.reveal.is-hidden {
  opacity: 0;
  transform: translateY(28px);
}
.reveal {
  transition: opacity .7s cubic-bezier(.22, .61, .36, 1), transform .7s cubic-bezier(.22, .61, .36, 1);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { transition: none; }
  .reveal.is-hidden { opacity: 1; transform: none; }
}

/* =========================================================
   responsive
   ========================================================= */

@media (max-width: 1180px) {
  .site-header { padding-left: 28px; padding-right: 28px; }
  .site-nav { display: none; }
  .section, .branch { padding-left: 28px; padding-right: 28px; }
  .hero__inner { padding-left: 28px; padding-right: 28px; }
  .final { padding-left: 28px; padding-right: 28px; }
  .site-footer { padding-left: 28px; padding-right: 28px; }
  .flow__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .teachers__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .combos__grid { grid-template-columns: minmax(0, 1fr); }
  .issues__grid { gap: 12px; }
  .issue-card h3 { font-size: 17px; }
}

@media (max-width: 900px) {
  .site-header { padding-left: 20px; padding-right: 20px; }
  .section, .branch { padding: 52px 20px; }
  .branch__inner { flex-wrap: wrap; }
  .hero__inner { padding-left: 20px; padding-right: 20px; }
  .final { padding: 52px 20px; }
  .site-footer { padding: 52px 20px 44px; }
  .site-footer__top { flex-direction: column; gap: 28px; padding-bottom: 36px; }
  .site-footer__bottom { flex-direction: column; gap: 32px; padding-top: 36px; }
  .site-footer__cols { flex-wrap: wrap; gap: 28px 44px; }
  .compare__grid, .org__grid, .stats__grid, .teachers__grid,
  .flow__grid, .combos__grid, .course__meta {
    grid-template-columns: minmax(0, 1fr);
  }
  .course__head, .btn-row { flex-wrap: wrap; }
  .branch__inner { flex-wrap: wrap; }
  .hero { height: auto; min-height: 540px; }
  .hero__title { font-size: 36px; }
  .section__title { font-size: 26px; }
  .final__title { font-size: 26px; }
  .quiz-option { flex-direction: column; align-items: flex-start; gap: 10px; }
  .faq { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}

@media (max-width: 720px) {
  .issues__grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 640px) {
  .site-header { padding-left: 16px; padding-right: 16px; }
  .section, .branch { padding: 44px 16px; }
  .final { padding: 44px 16px; }
  .site-footer { padding: 44px 16px 36px; }
  /* ヒーローは重ね置きをやめてテキスト→画像の縦積みに */
  .hero {
    min-height: 0;
    height: auto;
    display: flex;
    flex-direction: column;
    padding: 0;
    background: #fff;
  }
  .hero__bg {
    position: static;
    order: 2;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center;
  }
  .hero__overlay { display: none; }
  .hero__inner {
    position: static;
    height: auto;
    padding: 40px 16px 28px;
    gap: 18px;
  }
  .hero__title { font-size: 27px; line-height: 1.45; }
  .section__title { font-size: 21px; }
  .final__title { font-size: 21px; }
  .btn-row { flex-direction: column; align-self: stretch; width: 100%; }
  .btn { min-width: 0; width: 100%; }
  .compare-card, .course, .org-card, .stat-card,
  .teacher-card, .flow-card, .combo-card, .branch__inner { padding: 22px; }
  .issue-card__body { padding: 14px 22px 22px; }
  .issue-card__img { width: calc(100% - 44px); margin: 18px 22px 0; }
  .teachers__owl { width: 84px; height: 84px; }
  .teachers__bubble { font-size: 15px; padding: 16px 20px; }
  .branch__pets { height: 64px; }
  .stat-card__num { font-size: 26px; }
  .site-header__cta { padding: 9px 14px; font-size: 12px; }
  .faq { gap: 24px; }
  .faq-item__q { font-size: 15px; }
  .contact-modal__inner { padding: 28px 20px; }
  .contact-modal__title { font-size: 21px; }
}
