/* ==========================================================
   TOPページ専用（site.css の後に読み込んで上書き）
   ＝静的モック index.html のインラインCSSのうち、共通部分との差分
   ========================================================== */
.fv { position: relative; background: #fff; overflow: hidden; }
.fv-in { position: relative; width: min(1320px, calc(100% - 64px)); margin-inline: auto; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; min-height: min(78vh, 640px); padding: 18px 0 30px; }
.fv-copy { position: relative; z-index: 3; }
.fv-logo { display: block; line-height: 0; }
.fv-logo-img { display: block; width: clamp(500px, 50.5vw, 730px); max-width: none; height: auto; transform: translateX(-2.4%); }
.fv-ttl { font-size: clamp(1.5rem, 2.6vw, 2.5rem); line-height: 1.32; letter-spacing: .03em; margin-top: 1.1em; }
.fv-sub { font-size: clamp(.82rem, 1.05vw, .96rem); line-height: 1.95; margin-top: 1.1em; word-break: auto-phrase; }
.fv-cta { display: inline-flex; align-items: center; gap: 1.6em; margin-top: 1.5em; height: 56px; padding: 0 1.9em 0 2.1em; background: #000; color: #fff; border-radius: 999px; font-size: .9rem; letter-spacing: .08em; transition: background .25s ease; }
.fv-cta i { font-style: normal; font-family: var(--font-en); }
.fv-cta:hover { background: var(--c-blue); }
.fv-visual { position: relative; height: min(66vh, 560px); margin-left: clamp(-140px, -12vw, -60px); }
.fv-photo, .fv-lime { position: absolute; inset: 0; clip-path: polygon(19% 0, 100% 0, 100% 100%, 0 100%); }
.fv-photo { overflow: hidden; border-radius: 0 12px 12px 0; }
.fv-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* FV背景のフェード切替（PC .fv-photo / SP .spkv-brand 共通） */
.fv-fade { position: absolute; inset: 0; z-index: 0; }
.fv-fade img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; opacity: 0; transition: opacity 1.4s ease; }
.fv-fade img.is-active { opacity: 1; }
.fv-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.42) 0%, rgba(0,0,0,0) 46%); }
.fv-lime { background: var(--c-lime); transform: translateX(-104px); z-index: -1; }
.fv-lime::after { content: ""; position: absolute; inset: 0; background: rgba(255,255,255,.28); clip-path: polygon(0 0, 46% 0, 22% 100%, 0 100%); }
.fv-hand { position: absolute; right: clamp(20px, 3vw, 44px); top: clamp(22px, 5vh, 56px); z-index: 2; color: #fff; text-align: right; }
.fv-hand .hand { display: block; font-size: clamp(1.4rem, 2.2vw, 2rem); line-height: 1.35; text-shadow: 0 2px 14px rgba(0,0,0,.45); }
.fv-hand small { display: block; margin-top: .9em; font-family: var(--font-en); font-size: .62rem; letter-spacing: .18em; line-height: 1.7; opacity: .92; }
.fv-visual { z-index: 1; }
@media (max-width: 1099px) {
  .fv-visual { margin-left: -40px; }
}
/* ===== エンターテイメントキャリアプラットフォームとは？ ===== */
.about-pf { padding: 56px 0 64px; }
.about-pf .h2 h2 { word-break: auto-phrase; }
.about-pf .h2 h2 .sp { display: none; }
.about-pf-body { max-width: 860px; margin-top: 26px; }
.about-pf-lead { font-size: clamp(1.1rem, 1.7vw, 1.4rem); line-height: 1.6; letter-spacing: .03em; word-break: auto-phrase; }
.about-pf-lead em { font-style: normal; color: var(--c-blue); }
.about-pf-txt { font-size: .92rem; line-height: 2; margin-top: 1.2em; word-break: auto-phrase; }
.about-pf-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 1.8em; }
.about-pf-steps div { border: 2px solid var(--c-blue); border-radius: 8px; padding: 14px 16px; text-align: center; }
.about-pf-steps b { display: block; font-family: var(--font-en); font-size: 1rem; letter-spacing: .14em; color: var(--c-blue); }
.about-pf-steps span { display: block; font-size: .78rem; line-height: 1.6; margin-top: .3em; }
.about-pf-more { margin-top: 1.8em; }
@media (max-width: 1099px) {
  .about-pf { padding: 44px 0 48px; }
  .about-pf .h2 h2 .sp { display: inline; }
  .about-pf-steps { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .about-pf-steps div { display: flex; align-items: center; gap: 12px; text-align: left; padding: 12px 14px; }
  .about-pf-steps b { flex: 0 0 7.5em; }
  .about-pf-steps span { margin-top: 0; }
}
.ccards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 30px; }
.ccard { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; scroll-margin-top: 110px; }
.ccard .ph { display: block; aspect-ratio: 2 / 1; background: var(--ph-bg, #f3f3f3); overflow: hidden; border-bottom: 1px solid var(--line); }
.ccard .ph img { width: 100%; height: 100%; object-fit: contain; display: block; transition: transform .7s var(--ease); }
.ccard .ph:hover img { transform: scale(1.03); }
.ccard .tx { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 22px; }
.ccard .hd { display: flex; align-items: flex-start; gap: 12px; }
.ccard .no { font-family: var(--font-en); font-size: 2.3rem; line-height: .88; color: #e3e3e3; flex-shrink: 0; }
.ccard h3 { font-size: 1.08rem; line-height: 1.4; letter-spacing: .02em; word-break: auto-phrase; }
.ccard .sub { font-size: .8rem; line-height: 1.6; margin-top: .3em; word-break: auto-phrase; text-wrap: balance; }
.crs-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 18px; }
.crs-tags span { font-size: .7rem; letter-spacing: .04em; padding: .28em .75em; border: 1.5px solid var(--c-lime); border-radius: 4px; }
.crs-btn { display: inline-flex; align-items: center; justify-content: space-between; gap: 1.2em; height: 44px; padding: 0 1em 0 1.2em; margin-top: auto; border: 1.5px solid #000; border-radius: 6px; background: #fff; color: #000; font-size: .78rem; letter-spacing: .06em; transition: background .25s ease, color .25s ease; }
.bigb.bigb--banner { padding: 0; min-width: 0; background: var(--ph-bg, #f3f3f3); }
.bigb.bigb--banner::before, .bigb.bigb--banner::after { content: none; }
.bigb.bigb--banner img { filter: none !important; object-fit: contain; }
.topic .ph--banner { background: var(--ph-bg, #f3f3f3); }
.topic .ph--banner img { object-fit: contain; transform: none !important; }
@media (max-width: 1099px) {
  .ccards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1099px) {
  .pc { display: none; }
  .fv-in { grid-template-columns: minmax(0, 1fr); width: calc(100% - 32px); min-height: 0; padding: 14px 0 6px; gap: 18px; }
  .fv-logo-img { width: 100%; }
  .fv-ttl { font-size: 1.35rem; margin-top: .9em; }
  .fv-sub { font-size: .82rem; margin-top: .8em; }
  .fv-cta { height: 50px; width: 100%; justify-content: space-between; padding: 0 1.4em 0 1.6em; margin-top: 1.1em; }
  .fv-visual { height: 240px; margin-left: 0; margin-top: 8px; }
  .fv-photo, .fv-lime { clip-path: polygon(10% 0, 100% 0, 100% 100%, 0 100%); }
  .fv-photo { border-radius: 10px; }
  .fv-lime { transform: translateX(-22px); }
  .fv-hand { right: 14px; top: 14px; }
  .fv-hand .hand { font-size: 1.05rem; }
  .fv-hand small { font-size: .5rem; margin-top: .5em; }
  .ccards { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .ccard { scroll-margin-top: 80px; }
  .crs-btn { width: 100%; }
  .bigb.bigb--banner { min-height: 0; padding: 0; aspect-ratio: 2 / 1; }
}
.spkv { display: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@media (max-width: 767px) {
  .fv { display: none; }
  .spkv { display: block; padding: 0 0 6px; background: #fff; }
  /* 固定表示のブランドロゴ（カルーセルの上に常時表示） */
  /* 背景写真（PCのFVと同じステージ写真）＋暗めのグラデーションで白文字を読ませる */
  .spkv-brand { position: relative; overflow: hidden; margin: 0 0 14px; padding: 44px 20px 40px; text-align: center; color: #fff; }
  .spkv-brand::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,.55) 100%); }
  .spkv-brand > :not(.fv-fade) { position: relative; z-index: 2; }
  .spkv-logo { display: block; line-height: 0; }
  .spkv-logo img { display: block; width: min(100%, 360px); height: auto; margin-inline: auto; filter: drop-shadow(0 4px 16px rgba(0,0,0,.45)); }
  .spkv-ttl { font-size: clamp(1.5rem, 7vw, 1.9rem); line-height: 1.45; letter-spacing: .04em; margin-top: 1em; white-space: nowrap; text-shadow: 0 2px 12px rgba(0,0,0,.5); }
  .spkv-sub { font-size: .8rem; line-height: 1.7; margin-top: .3em; opacity: .95; text-shadow: 0 2px 10px rgba(0,0,0,.5); }
  .spkv-view { position: relative; overflow: hidden; }
  .spkv-track { display: flex; gap: 8px; transition: transform .55s var(--ease); will-change: transform; touch-action: pan-y; }
  /* コースはバナー画像のみ（テキストなし） */
  .spkv-slide { flex: 0 0 86%; display: block; overflow: hidden; background: var(--ph-bg, #f3f3f3); border: 1px solid var(--line); border-radius: 12px; }
  .spkv-slide > img { width: 100%; aspect-ratio: 2 / 1; object-fit: contain; display: block; -webkit-user-drag: none; user-select: none; }
  .spkv-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 40px; height: 40px; display: grid; place-items: center; border: 0; background: var(--c-lime); color: #fff; font-size: 1.1rem; }
  .spkv-arrow--prev { left: 0; }
  .spkv-arrow--next { right: 0; }
  .spkv-bars { display: flex; gap: 6px; padding: 12px 16px 0; }
  .spkv-bars .kv-dot { flex: 1; width: auto; height: 5px; background: #dcdcdc; }
  .spkv-bars .kv-dot.is-active { background: var(--c-lime); }
  .spcta { display: grid; grid-template-columns: 1fr; gap: 8px; padding: 16px 16px 4px; } /* 資料請求を非表示中のため1カラム */
  .spcta-b { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 60px; padding: 8px 12px 8px 14px; font-size: .8rem; line-height: 1.35; letter-spacing: .04em; }
  .spcta-b i { font-size: 1.75rem; flex-shrink: 0; }
  .spcta-b--line { background: #fff; border: 2px solid #000; color: #000; }
  .spcta-b--lime { background: var(--c-lime); border: 2px solid var(--c-lime); color: #fff; }
}

/* ===== 承認済みTOPの見た目を厳密に保つための打ち消し =====
   共通CSSはこの5つに文節改行(auto-phrase)を効かせているが、
   静的モックのTOPは効かせていない＝改行位置が変わるため、TOPだけ元に戻す。 */
.box li, .faq-a-inner, .msg-note, .two .tx p, .vlist { word-break: normal; }

/* ===== 2026.10 修正：U18バナー削除後は無料相談会バナーを1枚で表示 ===== */
.big2--single { grid-template-columns: minmax(0, 1fr); }
/* 内定実績企業（15社）はPCで2列に */
.box .box-cols { columns: 2; column-gap: 24px; }
.box .box-cols li { break-inside: avoid; }
@media (max-width: 767px) { .box .box-cols { columns: 1; } }

/* ===== 年代別コース：3枠（高校生／専門・大学生／社会人）。画像は上・文章は下の縦型カード ===== */
.two--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.two--3 a { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; }
.two--3 .ph--soon { display: grid; place-items: center; background: repeating-linear-gradient(-45deg, #f3f3f3 0 12px, #ececec 12px 24px); }
.two--3 .ph--soon span { font-size: .86rem; letter-spacing: .12em; color: #999; padding: .5em 1.2em; border: 1px dashed #bbb; border-radius: 999px; background: #fff; }
@media (max-width: 1099px) { .two--3 { grid-template-columns: minmax(0, 1fr); } }
/* 画像内に文字があるため、SPでも4:3のまま全体を表示し、拡大演出もかけない */
.two--3 .ph { aspect-ratio: 4 / 3; }
.two--3 .ph img { transform: none !important; }

/* ===== 内定実績企業：ロゴ＋社名（LPと同様のタイル表示） ===== */
.box.offer { margin-top: 20px; }
.offer-logos { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 22px 16px; margin-top: 6px; }
.offer-logos li { display: flex; flex-direction: column; align-items: center; gap: .6em; padding: 0; border: 0; }
.offer-ph { width: 100%; aspect-ratio: 1; display: grid; place-items: center; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.offer-ph img { width: 100%; height: 100%; object-fit: contain; display: block; }
.offer-nm { font-size: .72rem; line-height: 1.5; text-align: center; letter-spacing: .02em; word-break: auto-phrase; }
.offer-note { font-size: .72rem; color: #777; margin-top: 1.4em; }
.cols2--single { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 767px) {
  .offer-logos { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 10px; }
  .offer-nm { font-size: .64rem; }
}
/* 長い社名は枠内で折り返す（SPで隣と重ならないように） */
.offer-logos li { min-width: 0; }
.offer-nm { width: 100%; overflow-wrap: anywhere; word-break: normal; }
