@charset "UTF-8";
/* --------------------------------------------------
 * online-course-high-school-4 LP 専用設定
 *
 * スマホ専用。PCブレークポイントは持たない。
 * 幅375pxで固定して中央寄せ（参考: /online-course-high-school/）。
 * 寸法はFigmaの実測値をそのまま px で書く。
 * 画像に追従させる必要がある指定（画像内ボタンの当たり判定・上へのはみ出し量）だけ
 * % を使い、画像の拡縮に一致させている。
 * -------------------------------------------------- */

/* ==========================================================
 * 共通土台
 * ========================================================== */
.och4 {
  box-sizing: border-box;
  width: 100%;
  max-width: 375px;
  margin: 0 auto;
  background: #fff;
  color: #0F2942;
  font-weight: 500;
}

/* 画像の既定値。`:where()` で詳細度を0にしてあるので、
   個別クラス（.och4-xxx-img 等）の1クラス指定で必ず上書きできる */
:where(.och4) :where(img) {
  display: block;
  width: 100%;
  height: auto;
}

/* 固定ヘッダー分のアンカーオフセット */
.och4 [id] {
  scroll-margin-top: 68px;
}

/* スクリーンリーダー専用テキスト */
.och4-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  border: 0;
  white-space: nowrap;
  clip-path: inset(50%);
}

/* 1セクション = 書き出し画像1枚。画像の上に透明リンクを重ねる方式 */
.och4-sec {
  position: relative;
  line-height: 0;
}

/* 上に40px（375px設計値）はみ出すセクション用。%マージンは親の幅基準なので比率が保たれる */
.och4-sec.--bleed-top {
  margin-top: -10.6666667%;
}

/* intro1 と intro2 の重なり用ラッパ。
   2つの画像の継ぎ目は端末幅によって1pxの隙間が生じ、下地の白が覗いてしまう。
   ラッパ側に画像と同じ紺を敷いて、隙間が出ても目立たないようにする。
   高さ 1170px（850 + 360 − 40）のうち、継ぎ目（850px地点）より十分手前の
   68%＝約796px から塗り始める。上端はティッカーとの境目なので塗らない */
.och4-intro {
  background: linear-gradient(to bottom, transparent 0 68%, #0F2942 68%);
}

/* 画像内のボタン位置に重ねる透明リンク（画像は幅で等倍スケールするので % 指定で一致する） */
.och4-flow__cta {
  display: block;
  position: absolute;
  top: 92.0046%;     /* 1611 / 1751 */
  left: 4.2667%;
  width: 91.4667%;
  height: 5.711%;    /* 100 / 1751 */
}

/* ==========================================================
 * och4-cta : ＼たった1分で完了／＋「今すぐ無料受験相談を予約する」
 *
 * 背景色の異なるセクションに置くため画像化せずCSSで組む
 * （Figmaのグループ書き出しは背景色が焼き込まれて使い回せない）。
 * 「入塾までの流れ」のみセクション画像にボタンが焼き込まれており、
 * そこは透明リンク（.och4-flow__cta）を重ねている。
 * ========================================================== */
.och4-cta {
  padding: 24px 16px 0;
}

.och4-cta__caption {
  margin: 0 0 6px;
  color: #0F2942;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.5;
  text-align: center;
}

.och4-cta__btn {
  display: flex;
  position: relative;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 64px;
  padding-right: 30px;
  transition: transform 0.12s ease-out, border-bottom-color 0.12s ease-out;
  border-bottom: 4px solid #DAB436;
  border-radius: 10px;
  background: #FFEA29;
  /* 押し込み時に border を透明にするので、背景を border の下まで描かせない */
  background-clip: padding-box;
  text-decoration: none;
}

/* 押し込むアニメーション。
   ボタン全体を下端の影ぶん（4px）下げつつ、その影を透明にする。
   border の太さは変えないのでレイアウトは動かず、
   黄色い面の下端は元の位置に留まったまま上端だけが沈む。 */
@media (hover: hover) {
  .och4-cta__btn:hover {
    transform: translateY(4px);
    border-bottom-color: transparent;
  }
}

.och4-cta__btn:active {
  transform: translateY(4px);
  border-bottom-color: transparent;
}

.och4-cta__btn-txt {
  color: #0F2942;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  white-space: nowrap;
}

.och4-cta__btn-arrow {
  display: block;
  position: absolute;
  top: 50%;
  right: 17.5px;
  width: 24px;
  height: 24px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: #fff;
}

.och4-cta__btn-arrow::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 54%;
  width: 7px;
  height: 9px;
  transform: translate(-50%, -50%);
  background: #0F2942;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

/* ==========================================================
 * och4-fv : ファーストビュー
 * ========================================================== */
.och4-fv {
  position: relative;
  line-height: 0;
}

/* FVのCTAだけは画像に焼き込まず、実物のボタンを画像の上に重ねる。
   位置は画像に追従させたいので % 指定（left 16/375・top 480/600） */
.och4-fv__cta {
  position: absolute;
  top: 80%;
  left: 4.2667%;
  width: 91.4667%;
  padding: 0;
}

.och4-fv__cta .och4-cta__caption {
  color: #fff;
}

/* ==========================================================
 * och4-ticker : FV直下の合格実績ティッカー（無限横スクロール）
 * ========================================================== */
.och4-ticker {
  padding: 16px 0;
  overflow: hidden;
  background: #F3F7FA;
}

.och4-ticker__track {
  display: flex;
  width: -moz-max-content;
  width: max-content;
  animation: och4-ticker-scroll 26s linear infinite;
}

/* 先頭のカードは左端に揃える（デザイン準拠）。
   右paddingは2周目の先頭カードとの間隔になるので、カード間のgapと同値にする */
.och4-ticker__list {
  display: flex;
  margin: 0;
  padding: 0 8px 0 0;
  list-style: none;
  gap: 8px;
}

.och4-ticker__item {
  display: flex;
  box-sizing: border-box;
  flex-direction: column;
  flex-shrink: 0;
  width: 196px;
  min-height: 156px;
  padding: 12px;
  border-radius: 8px;
  background: #fff;
}

.och4-ticker__txt {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.5714285714;
}

/* 行の下端に2pxの黄色い罫線。
   インライン要素の padding-bottom は行の高さを変えないので、
   これで罫線だけをデザインの位置（行送り22pxに対して下端）まで下げている */
.och4-ticker__marker {
  padding-bottom: 2px;
  background: linear-gradient(to top, #FFEA29 0, #FFEA29 2px, transparent 2px);
}

.och4-ticker__profile {
  display: flex;
  align-items: center;
  margin-top: auto;
  padding-top: 4px;
  gap: 8px;
}

.och4-ticker__photo {
  display: block;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  overflow: hidden;
  border-radius: 50%;
}

.och4-ticker__photo-img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

.och4-ticker__name {
  color: #8D9AA6;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
}

@keyframes och4-ticker-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .och4-ticker__track {
    animation: none;
  }
}

/* ==========================================================
 * och4-media : メディア（令和の虎 + YouTube）
 * online-course-high-school-3 と同仕様
 * ========================================================== */
.och4-media {
  position: relative;
  padding-bottom: 40px;
  overflow: hidden;
  background: #0F2942;
  color: #fff;
}

.och4-media__reiwa {
  position: relative;
  z-index: 2;
  padding: 40px 12px 0;
}

.och4-media__channel {
  position: relative;
  margin-top: -36px;
  padding: 82px 16px 46px;
  overflow: hidden;
}

.och4-media__channel-bg {
  position: absolute;
  z-index: 0;
  top: 0;
  right: 0;
  left: 0;
  line-height: 0;
  aspect-ratio: 375/360;
}

.och4-media__channel-bg-img {
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

.och4-media__channel-title {
  display: flex;
  position: relative;
  z-index: 1;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  gap: 4px;
}

.och4-media__channel-title-laurel {
  flex-shrink: 0;
  width: 26px;
  height: 60px;
}

.och4-media__channel-title-text {
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
}

.och4-media__channel-title-sub {
  display: block;
  font-size: 16px;
}

.och4-media__channel-title-main {
  display: block;
  font-size: 23px;
}

.och4-media__channel-title-em {
  color: #FFED92;
  font-style: normal;
}

.och4-media__channel-image {
  position: relative;
  z-index: 1;
  max-width: 343px;
  margin: 0 auto;
  line-height: 0;
}

.och4-media__channel-image-img {
  border-radius: 4px;
  aspect-ratio: 343/160;
}

.och4-media__videos {
  position: relative;
  z-index: 3;
  margin-top: -70px;
  overflow: hidden;
  pointer-events: none;
  touch-action: pan-y;
}

.och4-media__videos .swiper-wrapper,
.och4-media__shorts .swiper-wrapper {
  margin: 0;
  padding: 0;
  transition-timing-function: linear !important;
  list-style: none;
}

.och4-media__video {
  box-sizing: border-box;
  flex-shrink: 0;
  width: 185px;
  height: 104px;
  overflow: hidden;
  border-radius: 4px;
}

.och4-media__video-img,
.och4-media__short-img {
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

.och4-media__shorts-title {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 20px 0 12px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  gap: 8px;
}

.och4-media__shorts-title-slash {
  width: 6px;
  height: 15px;
}

.och4-media__shorts-title-slash.--right {
  transform: scaleX(-1);
}

.och4-media__shorts {
  overflow: hidden;
  pointer-events: none;
  touch-action: pan-y;
}

.och4-media__short {
  box-sizing: border-box;
  flex-shrink: 0;
  width: 103px;
  overflow: hidden;
  border-radius: 4px;
  aspect-ratio: 107/198;
}

/* ==========================================================
 * och4-interview : 合格体験記
 *
 * 本文は2行だけ見せて「続きを表示する」で開閉する
 * （online-course-high-school-3 と同仕様）。
 * CTAはアコーディオンの中に入れているので、閉じている間は隠れる。
 * ========================================================== */
.och4-interview {
  padding-bottom: 40px;
  background: #fff;
}

.och4-interview__item {
  position: relative;
}

.och4-interview__hero {
  display: block;
}

.och4-interview__body {
  padding: 16px 16px 0;
}

.och4-interview__content {
  position: relative;
  max-height: 3.8em;
  overflow: hidden;
  transition: max-height 0.4s ease;
  font-size: 14px;
  line-height: 1.9;
}

/* 閉じているときは本文の続きを白くフェードさせる */
.och4-interview__content::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1.9em;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.72) 58%, #fff 100%);
  pointer-events: none;
}

.och4-interview__item.is-open .och4-interview__content {
  max-height: 3000px;
}

.och4-interview__item.is-open .och4-interview__content::after {
  display: none;
}

.och4-interview__body-txt {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.9;
}

.och4-interview__marker {
  background: linear-gradient(to top, transparent 8%, #FFEE8C 8%, #FFEE8C 55%, transparent 55%);
  font-weight: 700;
}

/* アコーディオン内のCTA。閉じている間はフォーカスも当たらないように visibility で隠す */
.och4-interview__cta {
  padding: 24px 0 6px;
}

.och4-interview__item:not(.is-open) .och4-interview__cta {
  visibility: hidden;
}

/* 「続きを表示する」テキストボタン */
.och4-interview__toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: -moz-max-content;
  width: max-content;
  margin: 12px auto 0;
  padding: 6px 4px;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  color: #0F2942;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  gap: 6px;
}

.och4-interview__toggle::after {
  content: "";
  display: block;
  width: 0.5em;
  height: 0.5em;
  transform: translateY(-0.15em) rotate(45deg);
  transition: transform 0.25s ease;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
}

.och4-interview__item.is-open .och4-interview__toggle::after {
  transform: translateY(0.15em) rotate(225deg);
}

.och4-interview__toggle:focus-visible {
  outline: 3px solid rgba(0, 169, 222, 0.42);
  outline-offset: 4px;
}

.och4-interview__toggle-close,
.och4-interview__item.is-open .och4-interview__toggle-open {
  display: none;
}

.och4-interview__item.is-open .och4-interview__toggle-close {
  display: inline;
}

/* ==========================================================
 * och4-review : 口コミスライダー（Swiper）
 * online-course-high-school-3 と同仕様
 * ========================================================== */
.och4-review {
  padding: 40px 0;
  background: #F3F7FA;
}

.och4-review__head {
  padding: 0 16px 24px;
  text-align: center;
}

.och4-review__ttl {
  margin: 0 0 12px;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.4;
}

.och4-review__caution {
  margin: 0;
  font-size: 10px;
  font-weight: 400;
  line-height: 1.4;
}

.och4-review__slider {
  padding: 8px 0 0;
  overflow: hidden;
}

.och4-review__slider .swiper-wrapper {
  align-items: flex-start;
}

.och4-review__item {
  box-sizing: border-box;
  width: 240px;
  height: auto;
  padding: 16px;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
}

.och4-review__item-img {
  width: 32px;
  height: 32px;
  margin: 0 0 10px;
  overflow: hidden;
  border-radius: 50%;
}

.och4-review__item-photo {
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

.och4-review__item-info {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  gap: 10px;
}

.och4-review__item-star {
  display: block;
  width: 90px;
  height: 20px;
  line-height: 0;
}

.och4-review__item-star-img {
  height: 100%;
  -o-object-fit: contain;
  object-fit: contain;
}

.och4-review__item-when {
  margin: 0;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4167;
}

.och4-review__item-txt {
  margin: 0;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4167;
}

/* ==========================================================
 * och4-teacher : 講師紹介スライダー（Swiper）
 * online-course-high-school-3（プラグイン kimino-school-teacher-cards が
 * 出力する .ks-teacher-cards）と同仕様。SP専用のため幅は240px固定。
 * ========================================================== */
.och4-teacher {
  padding: 40px 0;
  background: #fff;
}

.och4-teacher__ttl {
  margin: 0 0 24px;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.6;
  text-align: center;
}

.och4-teacher__slider {
  overflow: hidden;
}

.och4-teacher__slider .swiper-wrapper {
  align-items: stretch;
}

.och4-teacher__item {
  display: block;
  box-sizing: border-box;
  width: 240px;
  height: auto;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border-radius: 8px;
  background: transparent;
}

.och4-teacher__item-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1/2;
  border-radius: 8px;
}

/* --- プラグイン無効時のフォールバック（写真＋テキストの旧カード） --- */
.och4-teacher__item.--fallback {
  display: flex;
  position: relative;
  flex-direction: column;
  background: #F3F7FA;
}

.och4-teacher__item-photo {
  aspect-ratio: 240/160;
}

.och4-teacher__item-body {
  flex: 1 1 auto;
  padding: 16px;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
  text-align: justify;
}

.och4-teacher__item-txt {
  margin: 0;
}

/* ==========================================================
 * och4-price : 料金
 * online-course-high-school-3（ly-price）と同仕様
 * ========================================================== */
.och4-price {
  position: relative;
  padding: 64px 0 80px;
  background: #fff;
}

.och4-price__icon {
  width: 44px;
  margin: 0 auto 40px;
  line-height: 0;
}

.och4-price__body {
  position: relative;
  margin-bottom: 24px;
  padding: 34px 16px 24px;
  background: #00A9DE;
}

.och4-price__label {
  display: flex;
  position: absolute;
  z-index: 1;
  top: -16px;
  left: 50%;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  width: 252px;
  height: 36px;
  margin: 0;
  transform: translateX(-50%);
  border-radius: 18px;
  background: #0F2942;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
}

.och4-price__label::after {
  content: "";
  position: absolute;
  z-index: -1;
  bottom: -8px;
  left: 50%;
  width: 26px;
  transform: translateX(-50%);
  background: #0F2942;
  aspect-ratio: 26/18;
  clip-path: polygon(0 0, 50% 100%, 100% 0);
}

.och4-price__tagline {
  position: relative;
  left: -3px;
  width: 306px;
  margin: 0 auto 15px;
  line-height: 0;
}

.och4-price__contents {
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
}

.och4-price__contents-head {
  line-height: 0;
}

.och4-price__contents-body {
  padding: 9px 4px 20px 16px;
}

.och4-price__list {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  list-style: none;
  gap: 7px;
}

.och4-price__item {
  position: relative;
  padding-left: 29px;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.3;
  font-feature-settings: "palt";
}

.och4-price__item::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 20px;
  transform: translateY(-50%);
  background: url(../images/online/check_sp.svg) no-repeat center/contain;
  aspect-ratio: 1/1;
}

.och4-price__marker {
  background: linear-gradient(to top, transparent 16%, #FFED92 16%, #FFED92 60%, transparent 60%);
  font-size: 14px;
  font-weight: 700;
}

.och4-price__bottom-txt {
  margin: 0 0 24px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.6;
  text-align: center;
}

.och4-price__bottom-marker {
  background: linear-gradient(to top, transparent 12%, #FFED92 12%, #FFED92 62%, transparent 62%);
}

.och4-price .och4-cta {
  padding-top: 0;
}

/* ==========================================================
 * och4-hosyo : 30日間全額返金保証
 * main.css の .c-hosyo からSP向け指定だけを移植（rem は px に換算）
 * ========================================================== */
.och4-hosyo {
  width: 100%;
  /* 上40pxは白地。「どんな理由でもOK！」の吹き出しがここに16pxはみ出す（デザイン実測） */
  padding-top: 40px;
  background: #fff;
}

.och4-hosyo__inner {
  background: #00A9DE;
}

.och4-hosyo__left {
  position: relative;
  padding: 44px 16px 12px;
}

.och4-hosyo__baloon {
  display: flex;
  position: absolute;
  top: -16px;
  left: 50%;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  width: 200px;
  height: 36px;
  margin: 0;
  padding-bottom: 2px;
  transform: translateX(-50%);
  border-radius: 18px;
  background: #0F2942;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.4375;
}

.och4-hosyo__baloon::before {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  width: 21px;
  height: 18px;
  transform: translateX(-50%);
  background: #0F2942;
  clip-path: polygon(0 0, 50% 100%, 100% 0);
}

.och4-hosyo__label {
  display: block;
  position: relative;
  z-index: 0;
  width: 100%;
  max-width: 324px;
  margin: 0 auto 19px;
  overflow: hidden;
  aspect-ratio: 648/292;
}

.och4-hosyo__label-img {
  height: 100%;
  -o-object-fit: contain;
  object-fit: contain;
}

.och4-hosyo__left-txt {
  box-sizing: border-box;
  max-width: 343px;
  margin: 0 auto;
  padding: 13px 20px;
  border-radius: 4px;
  background: #fff;
  color: #0F2942;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4286;
  text-align: center;
}

.och4-hosyo__left-txt-bold {
  position: relative;
  z-index: 1;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4375;
}

.och4-hosyo__left-txt-bold::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 7px;
  left: 50%;
  width: 100%;
  height: 12px;
  transform: translateX(-50%);
  background: #FFED92;
}

.och4-hosyo__list {
  display: flex;
  max-width: 311px;
  margin: 0 auto 6px;
  padding: 0;
  list-style: none;
  gap: 4px;
}

.och4-hosyo__item {
  display: flex;
  box-sizing: border-box;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: calc(33.3333333333% - 2.6666666667px);
  border: 1px solid #fff;
  border-radius: 50%;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  aspect-ratio: 1/1;
}

.och4-hosyo__arrow-txt {
  margin: 0 0 7px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
}

.och4-hosyo__arrow {
  width: 74px;
  margin: 0 auto -8px;
  background: url(../images/hosyo/arrow-sp.png) no-repeat center/100% auto;
  aspect-ratio: 74/22;
}

.och4-hosyo__bottom {
  position: relative;
  padding: 19px 24px 17px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.81);
}

.och4-hosyo__bottom::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  background: url(../images/hosyo/img-sp.png) no-repeat center/100% auto;
  aspect-ratio: 174/141;
}

.och4-hosyo__bottom-inner {
  position: relative;
  z-index: 1;
  max-width: 343px;
  margin: 0 auto;
}

.och4-hosyo__right-txt {
  position: relative;
  z-index: 1;
  margin: 0 0 4px;
  color: #0F2942;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4375;
}

.och4-hosyo__marker {
  display: inline;
  background: linear-gradient(transparent 59%, #FFED92 59%);
}

.och4-hosyo__caution {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #0F2942;
  font-size: 10px;
  font-weight: 400;
  line-height: 1.4;
}

.och4-hosyo__cta {
  padding: 24px 16px 40px;
  background: #fff;
}

/* ==========================================================
 * och4-faq : よくある質問アコーディオン
 * online-course-high-school-3（ly-faq）と同仕様
 * JS: templates/script.js.php の .accordion-head（jQuery slideToggle）
 * ========================================================== */
.och4-faq {
  padding: 40px 16px;
  background: #F3F7FA;
}

.och4-faq__ttl {
  margin: 0 0 24px;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}

.och4-faq__item {
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 2px 0 rgba(111, 152, 157, 0.1);
}

.och4-faq__item:nth-child(n+2) {
  margin-top: 12px;
}

.och4-faq__item-head {
  position: relative;
  padding: 18px 36px 17px 48px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  cursor: pointer;
}

.och4-faq__item-head::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 16px;
  width: 20px;
  height: 20px;
  background: url(../images/fix202310/q.png) no-repeat center/contain;
}

.och4-faq__item-head::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 16px;
  width: 8px;
  height: 6px;
  transform: translateY(-50%);
  transition: transform 0.4s ease;
  background: #BCC3C3;
  clip-path: polygon(0 0, 50% 100%, 100% 0);
}

.och4-faq__item-head.is-active::after {
  transform: translateY(-50%) rotate(180deg);
}

.och4-faq__item-body {
  display: none;
  position: relative;
  padding: 12px 12px 24px 48px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
}

.och4-faq__item-body.is-open {
  display: block;
}

.och4-faq__item-body::before {
  content: "";
  position: absolute;
  top: 15px;
  left: 16px;
  width: 20px;
  height: 20px;
  background: url(../images/fix202310/a.png) no-repeat center/contain;
}

.och4-faq__bold {
  font-weight: 700;
}

/* .och4-faq 側で左右16pxを取っているので、CTAの左右paddingは打ち消す
   （そのままだと二重になりボタンが343px→311pxに縮んで文字が矢印に重なる） */
.och4-faq__cta {
  padding-right: 0;
  padding-left: 0;
}

/* ==========================================================
 * och4-form : お問合せフォーム
 * CF7のフィールド装飾は main.css の共通指定に依存するため
 * 内側は ly-contact__* を流用し、見た目の調整だけここでスコープする
 * ========================================================== */
.och4-form {
  background: #F3F7FA;
}

/* 電子パンフレットのバナー。共通の .c-brochure はPC幅で別画像・別比率に
   切り替わるので使わず、SP画像（750x808 → 375x404）だけを置く */
.och4-form__brochure {
  line-height: 0;
}

.och4-form .ly-contact__top-body {
  box-sizing: border-box;
  max-width: none;
  padding: 32px 16px;
  background: #0F2942;
  text-align: center;
}

.och4-form .ly-contact__top-body--ttl {
  margin: 0;
  color: #fff;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.4;
}

.och4-form .ly-contact__top-body--txt {
  margin: 8px 0 0;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
}

.och4-form .ly-contact__body {
  box-sizing: border-box;
  max-width: none;
  padding: 24px 16px 48px;
  background: #F3F7FA;
}

.och4-form .ly-contact__body-txt {
  margin: 0 0 24px;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.6;
}

.och4-form .none-online {
  display: none !important;
}

/* ==========================================================
 * och4-header : 追従する専用ヘッダー
 *
 * 共通の .l-header は使わず、Figmaのスマホデザインをそのまま固定で組む。
 * `.och4-header__inner` 自身をコンテナにすることで、本文（.och4）と
 * まったく同じ 375px基準・最大500px の等倍スケールになる。
 * ========================================================== */
.och4-header {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  background: #fff;
  box-shadow: 0 2px 4px rgba(15, 41, 66, 0.1);
}

.och4-header__inner {
  display: flex;
  position: relative;
  box-sizing: border-box;
  align-items: center;
  width: 100%;
  max-width: 375px;
  height: 68px;
  margin: 0 auto;
  padding: 0 18px 0 20px;
}

/* ヘッダーは position: fixed なので、本文冒頭に同じ高さの余白を確保する */
.och4-header__spacer {
  height: 68px;
}

.och4-header__brand {
  min-width: 0;
}

.och4-header__catch {
  margin: 0 0 3px;
  color: #0F2942;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.25;
  white-space: nowrap;
}

.och4-header__logo {
  display: block;
  width: 100%;
  max-width: 117px;
}

.och4-header__logo-img {
  display: block;
  width: 100%;
  height: auto;
}

.och4-header__cta {
  display: block;
  flex-shrink: 0;
  width: 160px;
  margin-left: 12px;
  text-decoration: none;
}

.och4-header__cta-caption {
  display: block;
  margin-bottom: 2px;
  color: #0F2942;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
  text-align: center;
  white-space: nowrap;
}

.och4-header__cta-img {
  display: block;
  width: 100%;
  height: auto;
}

/* ハンバーガー。開閉のクラス付け替えは共通JS（.l-hamburger）に任せる */
.och4-page .och4-header__menu {
  display: flex;
  position: static;
  flex-direction: column;
  flex-shrink: 0;
  align-items: center;
  width: auto;
  height: auto;
  margin-left: auto;
  cursor: pointer;
}

.och4-header__menu-bar {
  display: block;
  position: relative;
  width: 24px;
  height: 2.5px;
  border-radius: 1.25px;
  background: #0F2942;
}

.och4-header__menu-bar::before,
.och4-header__menu-bar::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 100%;
  transition: transform 0.4s ease;
  border-radius: 1.25px;
  background: #0F2942;
}

.och4-header__menu-bar::before {
  top: -7px;
}

.och4-header__menu-bar::after {
  top: 7px;
}

.och4-header__menu.is-active .och4-header__menu-bar {
  background: transparent;
}

.och4-header__menu.is-active .och4-header__menu-bar::before,
.och4-header__menu.is-active .och4-header__menu-bar::after {
  top: 0;
}

.och4-header__menu.is-active .och4-header__menu-bar::before {
  transform: rotate(45deg);
}

.och4-header__menu.is-active .och4-header__menu-bar::after {
  transform: rotate(-45deg);
}

.och4-header__menu-txt {
  margin-top: 14px;
  color: #0F2942;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.3;
  white-space: nowrap;
}

.och4-header__menu-close,
.och4-header__menu.is-active .och4-header__menu-open {
  display: none;
}

.och4-header__menu.is-active .och4-header__menu-close {
  display: inline;
}

/* 固定ヘッダー分の余白は .och4-header__spacer で取るので main 側は消す */
.och4-page main {
  padding-top: 0;
}

/* ドロワー内のCTA。ナビのボタン幅（311px）に揃える */
.och4-nav__cta {
  max-width: 343px;
  margin: 0 auto;
  padding: 24px 0 0;
}
