/* Local review adjustments required by the 261009 implementation instructions. */
.migration-visually-hidden{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}
html{scroll-padding-top:88px}
[id]{scroll-margin-top:0}
@media(max-width:980px){html{scroll-padding-top:64px}}
[hidden]{display:none!important}
/* Interaction remains reviewable while destinations wait for the Sheets. */
[data-pending-url],[data-pending-action]{cursor:help}
.migration-pending-message{position:fixed;z-index:100000;left:50%;bottom:88px;transform:translateX(-50%);max-width:calc(100% - 32px);padding:12px 16px;border:1px solid #bbb;background:#fff;color:#333;box-shadow:0 2px 12px #0003;font-size:13px;line-height:1.6}
.article-ui [data-local-article-cta]{padding-bottom:max(12px,env(safe-area-inset-bottom))}
/* Footer affordances use the existing red style without changing copy. */
[data-footer-toggle]{cursor:pointer}

/* Replace the removed Slick layout only for the plan testimonials. */
#page-plan #choose-plan__slider {
  display: flex;
  align-items: stretch;
  gap: 20px;
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 20px;
  scrollbar-width: thin;
  padding: 6px 20px 18px;
}
#page-plan #choose-plan__slider > .item-slick {
  box-sizing: border-box;
  flex: 0 0 min(670px, calc((100% - 20px) / 2));
  width: auto;
  min-width: 0;
  max-width: none;
  margin: 0;
  scroll-snap-align: start;
}
#page-plan .choose-plan .migration-plan-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: auto;
  margin: 20px 20px 0;
}
#page-plan .migration-plan-controls button {
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid currentColor;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}
#page-plan .migration-plan-controls button:disabled { opacity: .45; cursor: default; }
#page-plan .migration-plan-controls button:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }
#page-plan #choose-plan__slider:focus-visible { outline: 3px solid currentColor; outline-offset: -3px; }
#page-plan [data-plan-position] { min-width: 72px; text-align: center; font-size: 14px; }
@media (max-width: 980px) {
  #page-plan .choose-plan__content { margin-inline: 0; }
  #page-plan #choose-plan__slider { gap: 16px; }
  #page-plan #choose-plan__slider > .item-slick { flex-basis: calc(100% - 12px); padding-inline: 20px; }
  #page-plan #choose-plan__slider .choose-plan__item__info { font-size: 14px; line-height: 1.8; }
  #page-plan #choose-plan__slider .choose-plan__item__info__text { color: inherit; }
}
/* 【追加 2026-10-15】体験者の声の冒頭写真（PC）: 幅は CSS、高さは HTML の height 属性がそのまま使われて縦横比が崩れていた（原サイトも同じ）。PC 幅だけ高さを自動にする（v2: 写真の置き場所は52ページとも .voice-content-catch。v1 の .voice-detail-header は一部ページで当たらなかった） */
@media only screen and (min-width: 981px) {
  #single-voice .voice-content-catch img { height: auto; }
}
/* 【追加 2026-10-15】slick 未初期化のスライダー（/about のラウンジ写真・/schools/shibuya の写真）: 移行版には jQuery/slick が無く、reset.css の
   「初期化前は非表示」が恒久化して空白になるため、未初期化のときは1枚目だけ表示する（slick が入れば従来どおり動く） */
.lounge-slider:not(.slick-initialized), .js-school-slider:not(.slick-initialized) { visibility: visible; }
.lounge-slider:not(.slick-initialized) > :not(:first-child), .js-school-slider:not(.slick-initialized) > :not(:first-child) { display: none; }
.js-school-slider-nav:not(.slick-initialized) { display: none; }
.js-school-slider:not(.slick-initialized) > :first-child { float: none; width: 100%; }
.lounge-slider:not(.slick-initialized) .lounge-item img, .js-school-slider:not(.slick-initialized) img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* 【追加 2026-10-17】テーマJS未同梱の代替（F9）: 講師一覧・体験者カード */
/* 講師一覧（/plan/*）: 本番でも4〜5人が横一列（スライドしない）。slick 未初期化でも横一列にする */
.support-growth__list:not(.slick-initialized) { display: flex; flex-wrap: wrap; justify-content: center; }
.support-growth__list:not(.slick-initialized) .support-growth__item { text-align: center; }
@media only screen and (max-width: 980px) {
  .support-growth__list:not(.slick-initialized) { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 8px; }
  .support-growth__list:not(.slick-initialized) .support-growth__item { flex: 0 0 auto; }
}
/* 体験者カード（/school/*）: 本番はオンライン校＝2枚横並び、新宿西口校＝手動スライダー（13枚）。slick 未初期化でも
   横1列にし、収まらない分は横スクロール（指やトラックパッドで送れる手動スライダー）。2枚なら中央寄せ、スマホは縦1列 */
.voices-people__content__slider:not(.slick-initialized) { display: flex; flex-wrap: nowrap; gap: 24px; width: max-content; max-width: 100%; margin: 0 auto; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 16px; -webkit-overflow-scrolling: touch; }
.voices-people__content__slider:not(.slick-initialized) .item-slick { position: relative; flex: 0 0 auto; scroll-snap-align: start; }
@media only screen and (max-width: 980px) {
  .voices-people__content__slider:not(.slick-initialized) { flex-direction: column; align-items: stretch; gap: 16px; width: auto; overflow: visible; }
}
/* 【追加 2026-10-17】体験者カードの矢印ボタン（F11） */
.migration-voice-controls { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 8px auto 0; }
.migration-voice-controls[hidden], .voices-people__content__slider.slick-initialized + .migration-voice-controls { display: none; }
.migration-voice-controls button { min-height: 44px; padding: 8px 18px; border: 1px solid currentColor; border-radius: 999px; background: #fff; color: inherit; font: inherit; font-size: 14px; line-height: 1.2; cursor: pointer; }
.migration-voice-controls button:disabled { opacity: .45; cursor: default; }
.migration-voice-controls button:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }
/* 【追加 2026-10-17】TOP 体験者カードの読み込み時の重なり対策（F13）: flickity 起動前は題名(.card-title: absolute)の基準が body になり
   ヘッダー直下に金色の文字が重なるため、カードを基準にし、起動前の列は隠す（JS が動かなくても 3 秒後に表示） */
#section-voices .slider-voice-wrapper .card-slider { position: relative; }
#section-voices .slider-bottom:not(.flickity-enabled) { visibility: hidden; animation: migrationVoiceReveal 0s 3s forwards; }
@keyframes migrationVoiceReveal { to { visibility: visible; } }
/* 【追加 2026-10-17】TOP の「0.8 秒後に自動表示」を無効化（F14）: 旧コピー由来の lvReveal（.link-voice / .slider-bottom を 0.8 秒隠す）は
   F13 と二重で、flickity 起動後に再スタートしてカードがもう一度消えるため、ui.css で打ち消す。起動前の非表示は F13 が担う */
#section-voices .link-voice, #section-voices .slider-voice-wrapper .slider-bottom { animation: none; visibility: visible; }
#section-voices .slider-voice-wrapper .slider-bottom:not(.flickity-enabled) { visibility: hidden; animation: migrationVoiceReveal 0s 3s forwards; }
