@charset "UTF-8";

/* =========================================================
   CIA Search LP v1
   CISA LPの操作性を踏襲しつつ、顕在層専用に簡素化
   ========================================================= */
:root {
  --cia-color: #E68040;
  --cia-dark: #B85B26;
  --cia-light: #FFF4EC;
  --abitus-navy: #003366;
  --abitus-navy-2: #05264a;
  --cta-yellow: #ffcc00;
  --text-color: #253142;
  --text-muted: #64748b;
  --bg-gray: #f4f7f9;
  --line: #e2e8f0;
  --white: #fff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: 'Noto Sans JP', "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  color: var(--text-color);
  line-height: 1.7;
  background: #fff;
  overflow-x: hidden;
}
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
strong { color: var(--abitus-navy); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  padding: 6px 3.5%;
  background: rgba(255,255,255,.98);
  box-shadow: 0 2px 14px rgba(15,23,42,.08);
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  white-space: nowrap;
}
.brand-logo {
  display: block;
  width: auto;
  height: 30px;
  flex-shrink: 0;
}
.brand-course {
  padding-left: 14px;
  border-left: 1px solid var(--line);
  color: var(--abitus-navy);
  font-size: .82rem;
  font-weight: 700;
}
.header-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin: 0 18px;
  flex: 1;
}
.header-nav a {
  font-size: .85rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.header-nav a:hover { color: var(--cia-color); }
.header-cta { display: flex; gap: 12px; align-items: center; flex-shrink: 0; }
.btn-header {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 28px;
  border-radius: 999px;
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  transition: .25s ease;
  white-space: nowrap;
  border: 2px solid transparent;
}
.btn-doc { color: #fff; background: var(--abitus-navy); }
.btn-seminar { color: #111; background: var(--cta-yellow); }
.btn-header:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,.14); }

/* 共通CTA（FV・最下部CTA） */
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 16px 30px;
  border-radius: 999px;
  font-size: 1.08rem;
  font-weight: 900;
  text-decoration: none;
  transition: .25s ease;
  box-shadow: 0 8px 20px rgba(15,23,42,.1);
  border: 2px solid transparent;
}
.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 13px 28px rgba(15,23,42,.17);
}
.cta-doc { color: #fff; background: var(--abitus-navy); }
.cta-seminar { color: #111; background: var(--cta-yellow); }

/* FV */
.fv {
  position: relative;
  overflow: hidden;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

/* PC：コピー・人物・実績を含めた一枚絵 */
.fv-desktop {
  position: relative;
  width: 100%;
  line-height: 0;
}
.fv-desktop-image {
  display: block;
  width: 100%;
  height: auto;
}
.fv-desktop-cta {
  position: absolute;
  /* 「標準10カ月（最短3カ月）・平均400時間」の右隣。
     紺色のスーツ上に黄色CTAがかかる位置で、ノートPCでもFV内に収める。 */
  left: 65.5%;
  top: 75%;
  bottom: auto;
  z-index: 3;
  width: 380px;
  max-width: 31vw;
  line-height: 1.6;
  transform: translateY(-50%);
}
.fv-desktop-cta .cta-button {
  width: 100%;
  min-width: 0;
  min-height: 62px;
  padding: 17px 30px;
  font-size: 1.5rem;
  font-weight: 900;
  box-shadow: 0 10px 28px rgba(0,0,0,.24);
}
.fv-desktop-note {
  position: absolute;
  left: 4.7%;
  bottom: 1.5%;
  z-index: 2;
  margin: 0;
  color: #31445a;
  font-size: clamp(.58rem, .58vw, .72rem);
  line-height: 1.4;
}

/* 画面上は非表示だが、画像内メインコピーの見出し構造を保持 */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* SP：専用FV画像 */
.fv-mobile { display: none; }
.fv-mobile-visual {
  position: relative;
  width: 100%;
  line-height: 0;
  overflow: hidden;
  background: #fff;
}
.fv-mobile-image {
  display: block;
  width: 100%;
  height: auto;
}
.fv-mobile-cta {
  position: absolute;
  left: 50%;
  bottom: 35%;
  z-index: 3;
  width: min(78%, 420px);
  transform: translateX(-50%);
  line-height: 1.6;
}
.fv-mobile-cta .cta-button {
  width: 100%;
  min-width: 0;
  min-height: 58px;
  padding: 16px 24px;
  font-size: 1.15rem;
  font-weight: 900;
  box-shadow: 0 10px 26px rgba(0,0,0,.24);
}

/* NEWS / banner */
.trend-lead-block { padding: 44px 5%; background: var(--cia-light); border-bottom: 1px solid #F0D4C1; }
.trend-inner { max-width: 1000px; margin: 0 auto; }
.trend-tag {
  display: inline-block;
  margin-bottom: 12px;
  padding: 4px 14px;
  color: #fff;
  background: var(--cia-color);
  border-radius: 4px;
  font-size: .72rem;
  font-weight: 900;
}
.trend-title {
  margin: 0 0 14px;
  padding-left: 18px;
  border-left: 5px solid var(--cia-color);
  color: var(--abitus-navy);
  font-size: 1.45rem;
  line-height: 1.45;
}
.trend-body { margin: 0 0 10px; color: #445269; font-size: 1rem; }
.trend-note, .section-note { margin: 0; color: var(--text-muted); font-size: .75rem; }

.main-banner-swiper {
  width: 100%;
  max-width: 1000px;
  margin: 30px auto;
  overflow: hidden !important;
  padding: 0 0 40px 0 !important;
  box-sizing: border-box;
}
.main-banner-swiper .swiper-wrapper { display: flex !important; }
.main-banner-swiper .swiper-slide {
  opacity: 1 !important;
  transform: none !important;
  height: auto !important;
}
.main-banner-card {
  display: block;
  height: 100%;
  color: inherit;
  text-decoration: none;
}
.main-banner-swiper .swiper-slide img {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: auto !important;
  opacity: 1 !important;
  transform: none !important;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,.05);
}
.main-banner-fallback {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 4px 15px rgba(0,0,0,.05);
  box-sizing: border-box;
}
.main-banner-fallback span {
  color: var(--cia-color);
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .08em;
}
.main-banner-fallback strong {
  color: var(--abitus-navy);
  font-size: 1.15rem;
  line-height: 1.55;
}
.main-banner-fallback small { color: var(--text-muted); }
.main-banner-swiper .swiper-pagination {
  left: 0 !important;
  text-align: center !important;
}
.main-banner-swiper .swiper-pagination-bullet-active {
  background: var(--abitus-navy) !important;
}

.benefits-banner { padding: 56px 5% 48px; background: #fff; }
.benefits-inner {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding: 38px 30px 30px;
  text-align: center;
  border: 2px solid var(--abitus-navy);
  border-radius: 14px;
}
.benefits-badge {
  position: absolute;
  top: -22px;
  left: 50%;
  transform: translateX(-50%);
  padding: 7px 28px;
  border-radius: 999px;
  background: var(--abitus-navy);
  color: #fff;
  font-size: 1.05rem;
  font-weight: 900;
  white-space: nowrap;
}
.benefits-inner h2 { margin: 5px 0 12px; color: var(--abitus-navy); font-size: 1.4rem; line-height: 1.45; }
.benefits-inner p { margin: 0; color: #445269; }
.benefits-note { display: block; margin-top: 8px; color: var(--text-muted); font-size: .75rem; }

/* Common sections */
.content-sec { padding: 88px 0; border-bottom: 1px solid var(--line); }
.bg-cia-light { background: var(--cia-light); }
.sec-inner { width: min(1000px, 90%); margin: 0 auto; }
.sec-title-wrap { margin-bottom: 38px; text-align: center; }
.sec-title { display: block; margin-bottom: 7px; color: var(--abitus-navy); font-size: 1.15rem; font-weight: 900; letter-spacing: .04em; }
/* CISA LPと同じ見出しサイズ：主要セクション */
#about .sec-title,
#exam .sec-title,
#reasons .sec-title,
#students .sec-title,
#career .sec-title,
#compare .sec-title,
#support .sec-title,
#faq .sec-title {
  margin-bottom: 10px;
  font-size: 1.8rem;
  letter-spacing: 1px;
}
.sec-title-highlight { margin: 0; color: var(--cia-color); font-size: clamp(2rem, 4vw, 2.7rem); line-height: 1.3; font-weight: 900; }
.sec-lead { max-width: 850px; margin: 0 auto 46px; color: #445269; text-align: center; font-size: 1.02rem; }

.quick-grid, .learning-grid, .data-grid, .support-grid, .answer-grid { display: grid; gap: 20px; }
.quick-grid { grid-template-columns: repeat(4, 1fr); }
.quick-card, .learning-card, .data-card, .support-card, .answer-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 7px 22px rgba(15,23,42,.05);
}
.quick-card { position: relative; padding: 26px 22px 24px; overflow: hidden; }
.quick-num { position: absolute; top: 10px; right: 14px; color: rgba(230,128,64,.10); font-size: 2.5rem; font-weight: 900; }
.quick-card h3 { position: relative; margin: 0 0 10px; color: var(--abitus-navy); font-size: 1.05rem; }
.quick-card p { position: relative; margin: 0; color: #526174; font-size: .9rem; }

.answer-grid { grid-template-columns: repeat(3, 1fr); margin-bottom: 34px; }
.answer-card { padding: 26px; }
.answer-label { display: inline-block; margin-bottom: 14px; padding: 5px 14px; border-radius: 999px; background: var(--cia-light); color: var(--cia-dark); font-size: 1rem; line-height: 1.35; font-weight: 900; }
.answer-card h3 { margin: 0 0 12px; color: var(--abitus-navy); font-size: 1.25rem; }
.answer-card p { margin: 0; color: #526174; font-size: .91rem; }
.answer-emphasis { margin-top: 18px; padding-top: 16px; border-top: 1px dashed #EBCDB8; color: var(--abitus-navy); font-weight: 700; }
.answer-emphasis strong { color: var(--cia-color); font-size: 1.9rem; }
.answer-emphasis-small { font-size: .86rem; }
.answer-emphasis-rates { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; text-align: center; }
.answer-emphasis-rates span { font-size: .76rem; line-height: 1.4; }
.answer-emphasis-rates strong { display: block; margin-top: 2px; font-size: 1.45rem; line-height: 1.2; }
.answer-abitus-point { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.answer-abitus-label { display: inline-flex; align-items: center; min-height: 26px; padding: 3px 10px; border-radius: 999px; background: var(--abitus-navy); color: #fff; font-size: .75rem; font-weight: 900; line-height: 1.3; }
.answer-abitus-benefit { color: var(--abitus-navy); font-size: 1.04rem; font-weight: 900; line-height: 1.55; }
.answer-abitus-benefit strong { color: var(--cia-color); font-size: 1.7rem; line-height: 1.2; }

.exam-table-wrap { overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: 0 7px 22px rgba(15,23,42,.05); }
.exam-table-head, .exam-table-row { display: grid; grid-template-columns: .8fr 2.2fr 1fr 1fr; align-items: center; }
.exam-table-head { background: var(--abitus-navy); color: #fff; font-weight: 900; }
.exam-table-head span, .exam-table-row span, .exam-table-row strong { padding: 16px 18px; }
.exam-table-row + .exam-table-row { border-top: 1px solid var(--line); }
.exam-table-row strong { color: var(--cia-color); }
.exam-table-row span:nth-child(3), .exam-table-row span:nth-child(4), .exam-table-head span:nth-child(3), .exam-table-head span:nth-child(4) { text-align: center; }

.inline-cta-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin: 55px auto 0;
  text-align: center;
}
/* 受講生データ直前の中間CTA */
.student-pre-cta {
  margin-top: 0;
  margin-bottom: 56px;
}
.inline-cta-lead {
  margin: 0 0 20px;
  color: var(--abitus-navy);
  font-size: 1.8rem;
  font-weight: 900;
  letter-spacing: 1px;
}
.inline-cta-wrap {
  display: flex;
  justify-content: center;
  gap: 24px;
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  box-sizing: border-box;
}
.btn-inline {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 18px 40px;
  border-radius: 999px;
  font-size: 1.25rem;
  font-weight: 900;
  white-space: nowrap;
  text-decoration: none;
  transition: .25s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,.12);
  border: 2px solid transparent;
}
.btn-inline-doc { color: #fff; background: var(--abitus-navy); }
.btn-inline-seminar { color: #111; background: var(--cta-yellow); }
.btn-inline:hover { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(15,23,42,.12); }

/* CTA hover：資料請求と説明会予約のカラーを反転。
   背景画像・CIAカラー帯の上でも同化しないよう、反対色の枠線と強めの影を付与。 */
@media (hover: hover) and (pointer: fine) {
  .btn-doc:hover,
  .cta-doc:hover,
  .btn-inline-doc:hover {
    color: #111;
    background: var(--cta-yellow);
    border-color: var(--abitus-navy);
    box-shadow: 0 10px 24px rgba(0,0,0,.24);
  }

  .btn-seminar:hover,
  .cta-seminar:hover,
  .btn-inline-seminar:hover {
    color: #fff;
    background: var(--abitus-navy);
    border-color: var(--cta-yellow);
    box-shadow: 0 10px 24px rgba(0,0,0,.28);
  }
}

/* Reasons */
.secret-block { margin: 0 auto 84px; }
.secret-block:last-child { margin-bottom: 0; }
.reason-header { display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 48px; margin-bottom: 28px; }
.reason-title-area { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.secret-num { padding: 4px 15px; border-radius: 4px; background: var(--cia-color); color: #fff; font-size: 1rem; font-weight: 700; }
.reason-text-wrap { display: flex; flex-direction: column; line-height: 1.4; }
.reason-sub { color: #536174; font-size: 1rem; font-weight: 700; line-height: 1.4; }
.reason-main { color: var(--abitus-navy); font-size: 3rem; font-weight: 900; line-height: 1.4; letter-spacing: 1px; margin-top: 0; }
.reason-desc-area { color: #444; font-size: .95rem; line-height: 1.8; flex: 1; }
.reason-desc-area p { margin: 0 0 10px; color: inherit; font-size: inherit; line-height: inherit; }
.reason-swiper { width: 100%; padding: 12px 0 50px !important; overflow: visible !important; }
.reason-swiper .swiper-slide { height: auto; }
.reason-visual {
  height: 100%;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 32px;
  border-radius: 18px;
  background: linear-gradient(145deg, #fff, #f7f9fb);
  border: 1px solid var(--line);
  box-shadow: 0 12px 30px rgba(15,23,42,.08);
  opacity: .45;
  transform: scale(.92);
  transition: .4s ease;
}
.reason-swiper .swiper-slide-active .reason-visual { opacity: 1; transform: scale(1); }
.reason-visual span { color: var(--cia-color); font-size: .7rem; font-weight: 900; letter-spacing: .14em; }
.reason-visual strong { margin: 9px 0 12px; color: var(--abitus-navy); font-size: 1.5rem; line-height: 1.35; }
.reason-visual p { margin: 0; color: #58677a; font-size: .9rem; }
.reason-visual--image {
  min-height: 0;
  padding: 0;
  overflow: hidden;
  background: #fff;
}
.reason-visual--image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: inherit;
}
.reason-swiper .swiper-button-next, .reason-swiper .swiper-button-prev {
  width: 46px;
  height: 46px;
  margin-top: -23px;
  border-radius: 50%;
  background: var(--cia-color);
  color: #fff !important;
}
.reason-swiper .swiper-button-next:after, .reason-swiper .swiper-button-prev:after { font-size: 1rem; font-weight: 900; }
.reason-swiper .swiper-pagination-bullet-active { background: var(--cia-color) !important; width: 24px; border-radius: 4px; }

/* Learning */
.learning-grid { grid-template-columns: repeat(2, 1fr); }
.learning-card { position: relative; min-height: 190px; padding: 30px; overflow: hidden; }
.learning-index { position: absolute; right: 20px; top: 8px; color: rgba(230,128,64,.08); font-size: 4.6rem; font-weight: 900; line-height: 1; }
.learning-card h3 { position: relative; margin: 0 0 12px; color: var(--abitus-navy); font-size: 1.25rem; }
.learning-card p { position: relative; margin: 0; color: #526174; }

/* Data */
.data-grid { grid-template-columns: repeat(3, 1fr); }
.data-card { padding: 30px; text-align: center; border-top: 5px solid var(--cia-color); }
.data-card > strong { display: block; color: var(--cia-color); font-size: 3.5rem; line-height: 1; }
.data-card > strong small { font-size: .4em; }
.data-card h3 { margin: 12px 0; color: var(--abitus-navy); }
.data-card p { margin: 0; color: #526174; text-align: left; font-size: .9rem; }

/* Career bars */
.career-bars { max-width: 820px; margin: 0 auto 18px; padding: 30px; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: 0 8px 26px rgba(15,23,42,.06); }
.career-bar-row + .career-bar-row { margin-top: 20px; }
.career-bar-label { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 7px; color: #445269; font-size: .9rem; }
.career-bar-label strong { color: var(--cia-color); }
.career-bar-track { height: 14px; border-radius: 999px; background: #edf1f5; overflow: hidden; }
.career-bar-track span { display: block; width: calc(var(--value) * 1%); height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--abitus-navy), var(--cia-color)); }

/* Comparison - no horizontal scrolling */
.compare-grid { overflow: hidden; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 8px 26px rgba(15,23,42,.06); }
.compare-row { display: grid; grid-template-columns: 1.05fr 1.55fr 1.35fr; background: #fff; }
.compare-row + .compare-row { border-top: 1px solid var(--line); }
.compare-row > div { padding: 17px 18px; }
.compare-head { color: #fff; background: var(--abitus-navy); font-weight: 900; text-align: center; }
.compare-logo-cell { display: flex; align-items: center; justify-content: center; }
.compare-logo { width: auto; height: 26px; margin: 0 auto; }
.compare-label { display: flex; align-items: center; background: #f8fafc; color: var(--abitus-navy); font-weight: 900; }
.compare-abitus { background: var(--cia-light); color: #344256; text-align: center; }
.compare-self { color: #657387; text-align: center; }
.compare-mark { display: block; margin-bottom: 7px; font-size: 1.55rem; font-weight: 900; line-height: 1; text-align: center; }
.compare-mark-good { color: var(--cia-color); }
.compare-mark-bad { color: #7b8797; }
.compare-copy { display: block; line-height: 1.65; text-align: left; }
.compare-sp-brand, .compare-sp-label { display: none; }

/* Support — CISA LPと同じカード構成。アクセントはCIAカラー */
.support-grid { grid-template-columns: repeat(3, 1fr); gap: 25px; }
.support-card {
  height: 100%;
  box-sizing: border-box;
  padding: 30px;
  text-align: center;
  background: #fff;
  border: 0;
  border-bottom: 4px solid #eee;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,.05);
  transition: .3s ease;
}
.support-card:hover {
  border-bottom-color: var(--cia-color);
  transform: translateY(-5px);
}
.support-card-icon {
  display: block;
  width: 150px;
  max-width: 58%;
  height: auto;
  margin: 0 auto 18px;
}
.support-card h3 {
  margin: 0 0 15px;
  padding-bottom: 10px;
  color: var(--abitus-navy);
  font-size: 1.2rem;
  font-weight: 900;
  border-bottom: 2px solid var(--cia-color);
}
.support-card p {
  margin: 0;
  color: #555;
  text-align: left;
  font-size: .95rem;
  line-height: 1.7;
}

/* FAQ */
.faq-inner { max-width: 900px; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-list details { border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: 0 5px 18px rgba(15,23,42,.04); }
.faq-list summary { position: relative; padding: 20px 54px 20px 22px; color: var(--abitus-navy); font-weight: 900; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); color: var(--cia-color); font-size: 1.5rem; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { margin: 0; padding: 0 22px 22px; color: #526174; font-size: .92rem; }

/* Bottom CTA / footer */
.bottom-cta { padding: 80px 5%; color: #fff; text-align: center; background: var(--cia-color); }
.bottom-cta-inner { max-width: 900px; margin: 0 auto; }
.bottom-kicker { display: block; margin-bottom: 10px; color: #e6c8db; font-size: .9rem; font-weight: 900; }
.bottom-cta h2 { margin: 0 0 14px; font-size: clamp(1.8rem, 4vw, 2.5rem); line-height: 1.4; }
.bottom-cta p { margin: 0 auto 26px; max-width: 720px; opacity: .85; }
.bottom-cta-buttons { display: flex; justify-content: center; gap: 24px; max-width: 760px; margin: 0 auto; }
.bottom-cta-buttons .cta-button { flex: 1; min-height: auto; padding: 18px 40px; font-size: 1.25rem; }
.site-footer { padding: 32px 5%; text-align: center; background: #f8fafc; border-top: 1px solid var(--line); }
.footer-links { display: flex; justify-content: center; gap: 28px; margin-bottom: 12px; }
.footer-links a { color: #64748b; font-size: .82rem; text-decoration: none; }
.copyright { margin: 0; color: #94a3b8; font-size: .76rem; }
.pageto p { display:none; }
.pagetop { position: fixed; right: 18px; bottom: 18px; z-index: 1001; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--cia-color); color: #fff; text-decoration: none; opacity: 0; visibility: hidden; transform: translateY(8px); transition: .25s ease; }
.pagetop.show { opacity: .85; visibility: visible; transform: translateY(0); }

/* PC〜ノートPCでCTAの見え方を統一。
   位置・高さ・文字サイズは同一とし、狭い画面では右端からはみ出さないよう横幅のみmax-widthで制御。 */
@media (max-width: 1440px) and (min-width: 901px) {
  .fv-desktop-cta {
    left: 65.5%;
    top: 75%;
    width: 380px;
    max-width: 31vw;
  }
  .fv-desktop-cta .cta-button {
    min-height: 62px;
    padding: 17px 30px;
    font-size: 1.5rem;
  }
}

@media (max-width: 1120px) {
  .brand-course { display: none; }
  .header-nav { gap: 13px; }
  .btn-header { padding: 12px 20px; font-size: .95rem; }
}

@media (max-width: 900px) {
  .header-nav { display: none; }
  .quick-grid { grid-template-columns: repeat(2, 1fr); }
  .fv-desktop { display: none; }
  .fv-mobile { display: block; }
}

@media (max-width: 768px) {
  html { scroll-padding-top: 160px; }
  body { padding-bottom: 76px; }

  /* CISA LPと同様、SPではグロナビを2列で常時表示 */
  .site-header {
    flex-direction: column;
    min-height: 0;
    height: auto;
    padding: 8px 0;
    gap: 0;
  }
  .brand { display: none; }
  .header-nav {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 8px 16px;
    margin: 0;
    box-sizing: border-box;
  }
  .header-nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 4px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    background: var(--bg-gray);
    font-size: .85rem;
    line-height: 1.35;
    text-align: center;
    box-sizing: border-box;
  }
  .header-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    display: none;
    gap: 10px;
    width: 100%;
    padding: 12px 16px;
    background: rgba(255,255,255,.97);
    box-shadow: 0 -5px 16px rgba(15,23,42,.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(100%);
    pointer-events: none;
    transition: .25s ease;
  }
  .header-cta.is-visible { display: flex; opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }
  .btn-header { flex: 1; padding: 12px 10px; font-size: .95rem; }

  .fv-mobile-cta {
    bottom: 35%;
    width: 80%;
  }
  .fv-mobile-cta .cta-button {
    min-height: 56px;
    padding: 15px 20px;
    font-size: 1.08rem;
  }

  .trend-lead-block { padding: 36px 5%; }
  .trend-title { font-size: 1.2rem; }
  .trend-body { font-size: .92rem; }
  .main-banner-section { padding-top: 20px; }
  .main-banner-swiper { overflow: hidden !important; }

  .benefits-banner { padding: 52px 5% 36px; }
  .benefits-inner { padding: 34px 18px 22px; }
  .benefits-badge { top: -18px; padding: 6px 16px; font-size: .88rem; }
  .benefits-inner h2 { font-size: 1.1rem; }
  .benefits-inner p { text-align: left; font-size: .88rem; }

  .content-sec { padding: 66px 0; }
  .sec-inner { width: 90%; }
  .sec-title-wrap { margin-bottom: 30px; }
  .sec-title { font-size: 1rem; }
  #about .sec-title,
  #exam .sec-title,
  #reasons .sec-title,
  #students .sec-title,
  #career .sec-title,
  #compare .sec-title,
  #support .sec-title,
  #faq .sec-title { font-size: 1.2rem; }
  .sec-title-highlight { font-size: 1.8rem; }
  .sec-lead { margin-bottom: 34px; text-align: left; font-size: .92rem; }

  .quick-grid, .answer-grid, .learning-grid, .data-grid, .support-grid { grid-template-columns: 1fr; }
  .answer-label { font-size: .95rem; padding: 5px 13px; }
  .quick-card, .answer-card, .learning-card, .data-card, .support-card { padding: 24px 20px; }

  .exam-table-head { display: none; }
  .exam-table-row { grid-template-columns: 1fr 1fr; padding: 12px 0; }
  .exam-table-row strong, .exam-table-row span { padding: 6px 14px; text-align: left !important; }
  .exam-table-row strong { grid-column: 1 / -1; font-size: 1.05rem; }
  .exam-table-row span:nth-child(2) { grid-column: 1 / -1; color: var(--abitus-navy); font-weight: 900; }
  .exam-table-row span:nth-child(3)::before { content: "問題数："; color: var(--text-muted); font-size: .75rem; }
  .exam-table-row span:nth-child(4)::before { content: "試験時間："; color: var(--text-muted); font-size: .75rem; }

  .inline-cta-container { margin-top: 40px; }
  .student-pre-cta { margin-top: 0; margin-bottom: 44px; }
  .inline-cta-lead { margin-bottom: 15px; font-size: 1.2rem; }
  .inline-cta-wrap {
    flex-direction: column;
    gap: 12px;
    width: 100%;
    margin-top: 35px;
    padding: 0 10px;
    box-sizing: border-box;
  }
  .btn-inline {
    width: 100%;
    padding: 16px 20px;
    font-size: 1.15rem;
    white-space: normal;
    box-sizing: border-box;
  }

  .reason-header { grid-template-columns: 1fr; gap: 18px; }
  .reason-main { font-size: 2.2rem; }
  .reason-swiper { padding-bottom: 0 !important; overflow: hidden !important; }
  .reason-swiper .swiper-wrapper { display: flex !important; flex-direction: column !important; gap: 18px; transform: none !important; }
  .reason-swiper .swiper-slide { width: 100% !important; margin: 0 !important; }
  .reason-swiper .swiper-slide-duplicate { display: none !important; }
  .reason-visual { min-height: auto; padding: 24px; opacity: 1; transform: none; }
  .reason-swiper .swiper-pagination, .reason-swiper .swiper-button-next, .reason-swiper .swiper-button-prev { display: none !important; }
  .secret-block { margin-bottom: 64px; }

  .career-bars { padding: 22px 18px; }
  .career-bar-label { font-size: .82rem; }

  .compare-grid { border: 0; box-shadow: none; overflow: visible; background: transparent; }
  /* PC用の青背景ヘッダー（比較項目 / Abitusロゴ / 独学）はSPでは表示しない */
  .compare-head { display: none !important; }
  .compare-row { display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 14px; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 5px 18px rgba(15,23,42,.04); }
  .compare-row + .compare-row { border-top: 1px solid var(--line); }
  .compare-label { grid-column: 1 / -1; justify-content: center; padding: 11px 15px !important; text-align: center; }
  .compare-abitus, .compare-self { position: relative; padding: 15px 13px 16px !important; font-size: .82rem; text-align: center; }
  .compare-sp-brand, .compare-sp-label { display: flex; align-items: center; justify-content: center; min-height: 24px; margin: 0 auto 9px; }
  .compare-sp-brand img { display: block; width: auto; height: 20px; max-width: 88px; }
  .compare-sp-label { color: var(--text-muted); font-size: .76rem; font-weight: 900; }
  .compare-mark { margin-bottom: 7px; font-size: 1.5rem; }
  .compare-copy { line-height: 1.6; }

  .bottom-cta { padding: 62px 5%; }
  .bottom-cta-buttons { flex-direction: column; gap: 12px; padding: 0 10px; }
  .bottom-cta-buttons .cta-button { width: 100%; padding: 16px 20px; font-size: 1.15rem; white-space: normal; box-sizing: border-box; }
  .pagetop { bottom: 90px; }
}
/* =========================================
   CTAカラー入れ替え
   資料請求：イエロー
   説明会予約：ネイビー
   ========================================= */

/* 資料請求 */
.btn-doc,
.btn-inline-doc,
.cta-doc {
  background: #ffcc00 !important;
  color: #111 !important;
}

/* 資料請求 hover */
.btn-doc:hover,
.btn-inline-doc:hover,
.cta-doc:hover {
  background: #ffe066 !important;
  color: #111 !important;
}

/* 無料説明会予約 */
.btn-seminar,
.btn-inline-seminar,
.cta-seminar {
  background: #003366 !important;
  color: #fff !important;
}

/* 無料説明会予約 hover */
.btn-seminar:hover,
.btn-inline-seminar:hover,
.cta-seminar:hover {
  background: #004488 !important;
  color: #fff !important;
}