/* =====================================================
   2026-10-22 先方修正（修正希望_トップのページ.pdf・詳細ページ3本）の追加分
   ・全ページで最後に読む（config.php の polish.css の後）。このファイルを外せば修正前の見た目に戻る
   ・色・余白・角丸は style.css／polish.css の :root の値だけを使う。影・枠線の装飾は使わない
   ===================================================== */

@media (max-width: 1000px) { .pc-br { display: none; } }

/* ---------- TOP：ファーストビュー（写真3枚・文字は1種類） ---------- */
.fx-fv { height: calc(100vh - var(--header-h) - 96px); height: calc(100svh - var(--header-h) - 96px); min-height: 560px; max-height: 860px; }
.fx-fv__body { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; justify-content: center; padding: 0 max(var(--gutter), calc((100% - var(--content)) / 2)) 72px; color: var(--white); pointer-events: none; }
.fx-fv__body a { pointer-events: auto; }
.fx-fv__sub { font-size: 18px; font-weight: 500; letter-spacing: .12em; color: var(--on-dark-muted); }
.fx-fv__name { margin-top: 10px; font-family: var(--font-en); font-size: clamp(44px, 5.4vw, 80px); font-weight: 600; line-height: 1.1; letter-spacing: .02em; }
.fx-fv__catch { margin-top: 20px; font-size: clamp(20px, 2vw, 28px); font-weight: 700; line-height: 1.5; letter-spacing: .08em; word-break: keep-all; font-feature-settings: "palt"; }
.fx-fv__lead { max-width: 640px; margin-top: 20px; font-size: 15px; line-height: 2; color: var(--on-dark-muted); }
.fx-fv .fv__pager { bottom: 100px; }

/* ---------- TOP：お知らせ（ファーストビューの下端に重ねる・サムネイル無し） ---------- */
.fx-fvnews { position: relative; z-index: 3; margin-top: -72px; padding: 0 var(--gutter); }
.fx-fvnews__in { display: grid; grid-template-columns: 150px minmax(0, 1fr) auto; align-items: center; gap: 0 40px; max-width: var(--content); margin: 0 auto; padding: 22px 40px; background: var(--white); border-radius: var(--radius); }
.fx-fvnews__en { font-family: var(--font-en); font-size: 28px; font-weight: 500; line-height: 1.2; letter-spacing: .06em; }
.fx-fvnews__ja { margin-top: 2px; font-size: 12px; font-weight: 500; letter-spacing: .12em; color: var(--muted); }
.fx-fvnews__list li + li { border-top: 1px solid var(--line); }
.fx-fvnews__list a { display: grid; grid-template-columns: auto auto minmax(0, 1fr); align-items: center; gap: 0 16px; padding: 11px 0; color: var(--ink); }
.fx-fvnews__list time { font-family: var(--font-en); font-size: 13px; letter-spacing: .04em; color: var(--muted); }
.fx-fvnews__list .news__cat { margin-left: 0; }
.fx-fvnews__list p { min-width: 0; overflow: hidden; font-size: 14px; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; transition: color .25s; }
.fx-fvnews__list a:hover p { color: var(--accent); }
.fx-fvnews__more { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; white-space: nowrap; color: var(--accent); }

/* ---------- TOP：立地と動画 ---------- */
.fx-loc__lead { margin-top: -24px; text-align: center; font-size: 16px; line-height: 2; color: #57534c; }
.fx-loc__movie { max-width: 960px; margin: 56px auto 0; }
.fx-loc__label { margin-bottom: 16px; text-align: center; font-size: 14px; font-weight: 700; letter-spacing: .12em; }

/* ---------- TOP：宿舎概要（厳選した情報だけ） ---------- */
.fx-ov__grid { display: grid; grid-template-columns: 7fr 5fr; gap: 0 64px; align-items: center; }
.fx-ov__ph { position: relative; aspect-ratio: 4 / 3; background: var(--gray) center / cover no-repeat; border-radius: var(--radius); }
.fx-ov__body .oc__tag { margin-top: 0; }
.fx-ov__name { margin: 16px 0 0; font-family: var(--font-en); font-size: clamp(30px, 3vw, 40px); font-weight: 600; line-height: 1.2; letter-spacing: .02em; }
.fx-ov__kana { margin-top: 8px; font-size: 12px; letter-spacing: .16em; color: var(--muted); }
.fx-ov__ja { margin-top: 6px; font-size: 15px; font-weight: 700; letter-spacing: .08em; }
.fx-ov__dl { margin: 28px 0 0; border-top: 1px solid var(--line); }
.fx-ov__dl > div { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.fx-ov__dl dt { font-size: 13px; font-weight: 700; letter-spacing: .06em; color: var(--accent); }
.fx-ov__dl dd { margin: 0; font-size: 14px; line-height: 1.8; }
.fx-ov__dl dd small { font-size: 12px; color: var(--muted); }
.fx-ov__btn { height: 56px; margin-top: 32px; padding: 0 32px; }

/* ---------- TOP：コンセプト ---------- */
.fx-statement { margin: -8px 0 104px; text-align: center; font-size: clamp(22px, 2.6vw, 36px); font-weight: 700; line-height: 1.6; letter-spacing: .1em; word-break: keep-all; font-feature-settings: "palt"; }
/* 01：学部・学年・国籍の図 */
.fx-c1 { display: grid; grid-template-columns: 5fr 6fr; gap: 0 80px; align-items: center; }
.fx-venn { display: block; width: 100%; max-width: 360px; margin: 0 auto; overflow: visible; }
.fx-venn circle { fill: rgba(201, 169, 43, .07); stroke: var(--gold); stroke-width: 1.5; }
.fx-venn text { font-family: var(--font-ja); font-size: 20px; font-weight: 700; letter-spacing: .12em; text-anchor: middle; fill: var(--ink); }
.fx-venn__notes { display: grid; gap: 14px; margin-top: 32px; }
.fx-venn__notes li { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 12px; font-size: 13px; line-height: 1.8; color: #57534c; }
.fx-venn__notes b { font-size: 14px; letter-spacing: .06em; color: var(--accent); }
.fx-c1__body .cx__no { margin-top: 0; }
.fx-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.fx-badges li { padding: 5px 20px; font-size: 14px; font-weight: 700; letter-spacing: .12em; color: var(--white); background: var(--accent); border-radius: 999px; }
.fx-c1__ph { display: grid; grid-template-columns: 3fr 2fr; gap: 16px; align-items: end; margin-top: 32px; }
.fx-c1__ph div { aspect-ratio: 4 / 3; background: var(--gray) center / cover no-repeat; border-radius: var(--radius); }
.fx-c1__ph div:last-child { aspect-ratio: 1; }
/* 02：共用空間4つ（押すと説明のポップアップ） */
.fx-c2 { margin-top: 128px; }
.fx-c2__head { max-width: 720px; }
.fx-c2__head .cx__no, .fx-c3__head .cx__no { margin-top: 0; }
.fx-fac { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 24px; margin-top: 40px; }
.fx-fac__btn { display: flex; flex-direction: column; width: 100%; height: 100%; padding: 0; font: inherit; text-align: left; color: var(--ink); background: none; border: 0; cursor: pointer; }
.fx-fac__ph { position: relative; display: block; aspect-ratio: 4 / 3; background: var(--gray) center / cover no-repeat; border-radius: var(--radius); transition: opacity .3s; }
.fx-fac__btn:hover .fx-fac__ph { opacity: .86; }
.fx-fac__ph em, .fx-pop__img em { position: absolute; right: 10px; bottom: 10px; padding: 2px 10px; font-size: 11px; font-style: normal; letter-spacing: .06em; color: var(--white); background: rgba(14, 22, 34, .55); border-radius: 999px; }
.fx-fac__tags, .fx-pop__tags { display: flex; flex-wrap: wrap; margin-top: 16px; font-size: 12px; font-weight: 700; letter-spacing: .06em; color: var(--accent); }
.fx-fac__tags span + span::before, .fx-pop__tags span + span::before { content: "｜"; margin: 0 4px; color: var(--accent-soft); }
.fx-fac__name { margin-top: 6px; font-size: 18px; font-weight: 700; letter-spacing: .06em; }
.fx-fac__text { margin-top: 8px; font-size: 13px; line-height: 1.85; color: #57534c; }
.fx-fac__more { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 14px; font-size: 13px; font-weight: 700; color: var(--accent); }
.fx-fac__more::after { content: "+"; display: grid; place-items: center; width: 20px; height: 20px; font-size: 15px; font-weight: 500; line-height: 1; color: var(--white); background: var(--accent); border-radius: 50%; transition: transform .25s var(--ease); }
.fx-fac__btn:hover .fx-fac__more::after { transform: rotate(90deg); }
/* ポップアップ（共用空間・メニュー例などで共通） */
.fx-pop { position: fixed; inset: 0; z-index: 110; display: flex; align-items: center; justify-content: center; padding: 40px 24px; background: rgba(14, 22, 34, .72); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.fx-pop.is-open { opacity: 1; visibility: visible; }
.fx-pop__box { position: relative; display: grid; grid-template-columns: 3fr 2fr; width: min(1040px, 100%); max-height: calc(100vh - 80px); overflow: auto; background: var(--white); border-radius: var(--radius); }
.fx-pop__img { position: relative; min-height: 380px; background: var(--gray) center / cover no-repeat; }
.fx-pop__body { padding: 44px 36px 40px; }
.fx-pop__name { font-size: 22px; font-weight: 700; letter-spacing: .06em; }
.fx-pop__name small { margin-left: 10px; font-size: 12px; font-weight: 500; color: var(--muted); }
.fx-pop__tags { margin: 8px 0 18px; }
.fx-pop__close { position: absolute; top: 12px; right: 12px; z-index: 1; width: 44px; height: 44px; padding: 0; background: rgba(255, 255, 255, .92); border: 0; border-radius: 50%; cursor: pointer; }
.fx-pop__close::before, .fx-pop__close::after { content: ""; position: absolute; left: 13px; right: 13px; top: 21px; height: 2px; background: var(--ink); transform: rotate(45deg); }
.fx-pop__close::after { transform: rotate(-45deg); }
body.is-pop { overflow: hidden; }
/* 03：RAの存在 */
.fx-c3 { display: grid; grid-template-columns: 5fr 7fr; gap: 0 72px; align-items: start; margin-top: 128px; }
.fx-c3__sub { margin: -4px 0 16px; font-size: 15px; font-weight: 700; letter-spacing: .08em; color: var(--accent); }
.fx-c3 .text + .text { margin-top: 12px; }
.fx-roles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.fx-roles__ph { aspect-ratio: 1; background: var(--gray) center / cover no-repeat; border-radius: 50%; }
.fx-roles h4 { margin: 20px 0 8px; font-size: 16px; font-weight: 700; letter-spacing: .06em; text-align: center; font-feature-settings: "palt"; }
.fx-roles p { font-size: 13px; line-height: 1.85; color: #57534c; }
.fx-c3 .more-row { grid-column: 1 / -1; }

/* ---------- TOP：お知らせ・お役立ち情報（サムネイル付き） ---------- */
.fx-info { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 32px; }
.fx-info a { display: block; color: var(--ink); }
.fx-info__ph { display: block; aspect-ratio: 16 / 10; background: var(--gray) center / cover no-repeat; border-radius: var(--radius); transition: opacity .3s; }
.fx-info__ph.is-banner { background-size: contain; }
.fx-info a:hover .fx-info__ph { opacity: .86; }
.fx-info__meta { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.fx-info__meta time { font-family: var(--font-en); font-size: 13px; letter-spacing: .04em; color: var(--muted); }
.fx-info__meta .news__cat { margin-left: 0; }
.fx-info__title { display: block; margin-top: 8px; font-size: 15px; font-weight: 700; line-height: 1.7; transition: color .25s; }
.fx-info a:hover .fx-info__title { color: var(--accent); }

/* ---------- TOP：入寮までの流れ（7ステップ） ---------- */
.flow.tl.fx-flow7 { grid-template-columns: repeat(7, minmax(0, 1fr)); }
.fx-flow7 h3 { font-feature-settings: "palt"; }

@media (max-width: 1000px) {
  .fx-fv { height: calc(100svh - var(--header-h) - 120px); min-height: 480px; max-height: none; }
  .fx-fv__body { justify-content: flex-end; padding-bottom: 96px; }
  .fx-fv__sub { font-size: 13px; }
  .fx-fv__name { margin-top: 6px; font-size: min(44px, 10.6vw); }
  .fx-fv__catch { margin-top: 12px; font-size: 17px; letter-spacing: .04em; }
  .fx-fv__lead { margin-top: 12px; font-size: 13px; line-height: 1.85; }
  .fx-fv .fv__pager { top: 20px; bottom: auto; left: auto; right: var(--gutter); }
  .fx-fvnews { margin-top: -64px; }
  .fx-fvnews__in { grid-template-columns: minmax(0, 1fr) auto; gap: 8px 16px; padding: 16px 20px 8px; }
  .fx-fvnews__head { display: flex; align-items: baseline; gap: 10px; }
  .fx-fvnews__en { font-size: 22px; }
  .fx-fvnews__more { grid-column: 2; grid-row: 1; padding: 9px 0; }
  .fx-fvnews__list { grid-column: 1 / -1; }
  .fx-fvnews__list a { grid-template-columns: auto minmax(0, 1fr); gap: 4px 10px; padding: 12px 0; }
  .fx-fvnews__list .news__cat { justify-self: start; }
  .fx-fvnews__list p { grid-column: 1 / -1; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; white-space: normal; font-size: 13px; line-height: 1.7; }
  .fx-loc__lead { margin-top: -12px; text-align: left; font-size: 14px; }
  .fx-loc__movie { margin-top: 32px; }
  .fx-ov__grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .fx-ov__btn { width: 100%; }
  .fx-statement { margin-bottom: 56px; font-size: 20px; letter-spacing: .06em; }
  .fx-c1 { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .fx-venn { max-width: 280px; }
  .fx-venn__notes li { grid-template-columns: 1fr; gap: 2px; }
  .fx-c1__ph { gap: 10px; }
  .fx-c2, .fx-c3 { margin-top: 80px; }
  .fx-fac { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 14px; margin-top: 28px; }
  .fx-fac__tags { margin-top: 12px; font-size: 11px; letter-spacing: 0; }
  .fx-fac__name { font-size: 15px; letter-spacing: .02em; }
  .fx-fac__text { font-size: 12px; }
  .fx-pop { align-items: flex-end; padding: 0; }
  .fx-pop__box { grid-template-columns: minmax(0, 1fr); max-height: 92vh; border-radius: var(--radius) var(--radius) 0 0; }
  .fx-pop__img { min-height: 0; aspect-ratio: 4 / 3; }
  .fx-pop__body { padding: 24px 20px 32px; }
  .fx-pop__name { font-size: 19px; }
  .fx-c3 { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .fx-roles { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .fx-roles li { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 0 16px; align-items: center; }
  .fx-roles__ph { grid-row: 1 / 3; }
  .fx-roles h4 { margin: 0 0 4px; text-align: left; font-size: 15px; }
  .fx-info { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .flow.tl.fx-flow7 { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- 宿舎概要：目次だけの帯（数字の帯はトリ） ---------- */
.fx-ovtop { padding-top: 40px; padding-bottom: 0; }
.fx-ovtop .ovx-nav { margin-top: 0; }

/* ---------- 宿舎概要：パースのギャラリー（動画の代わり） ---------- */
.fx-gal__main { aspect-ratio: 16 / 10; background: var(--gray) center / cover no-repeat; border-radius: var(--radius); transition: background-image .3s; }
.fx-gal__cap { margin-top: 10px; font-size: 13px; font-weight: 500; letter-spacing: .06em; color: var(--muted); }
.fx-gal__thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.fx-gal__thumbs button { display: block; padding: 0; background: none; border: 0; border-radius: 8px; cursor: pointer; }
.fx-gal__thumbs span { display: block; aspect-ratio: 4 / 3; background: var(--gray) center / cover no-repeat; border-radius: 8px; opacity: .55; transition: opacity .25s; }
.fx-gal__thumbs button:hover span, .fx-gal__thumbs [aria-pressed="true"] span { opacity: 1; }
.fx-gal__thumbs [aria-pressed="true"] span { box-shadow: 0 0 0 2px var(--accent); }
.fx-gal + .ovx-ctitle { margin-top: 32px; }

/* ---------- 宿舎概要：共用空間（5つ。写真が無いものは IMAGE COMING SOON）と、その他のサービス ---------- */
.fx-common.thumbs.is-gallery { margin-top: 0; }
.fx-common .ph.is-soon { background-color: var(--gray); }
.lightbox__desc { max-width: min(720px, 82vw); margin: 10px auto 0; font-size: 14px; line-height: 1.9; text-align: left; color: var(--on-dark-muted); }
.fx-svc { margin-top: 72px; }
.fx-svc__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 20px; padding-top: 24px; border-top: 1px solid var(--line); }
.fx-svc__list li { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 24px; align-items: center; }
.fx-svc__ph { display: grid; place-items: center; aspect-ratio: 1; background: var(--gray) center / cover no-repeat; border-radius: var(--radius); }
.fx-svc__ph.is-icon { color: var(--accent); }
.fx-svc__ph.is-icon svg { width: 56px; height: 56px; }
.fx-svc__t { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 16px; font-weight: 700; letter-spacing: .04em; }
.fx-svc__t em { padding: 1px 10px; font-size: 11px; font-style: normal; font-weight: 700; color: var(--white); background: var(--accent); border-radius: 999px; }
.fx-svc__t em.is-paid { color: var(--accent); background: var(--accent-pale); }
.fx-svc__d { margin-top: 8px; font-size: 14px; line-height: 1.85; color: #57534c; }

@media (max-width: 1000px) {
  .fx-ovtop { padding-top: 24px; }
  .fx-gal__thumbs { gap: 6px; }
  #gallery .fx-common.thumbs.is-gallery.is-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 10px; }
  .lightbox__desc { max-width: calc(100vw - 100px); font-size: 13px; }
  .fx-svc { margin-top: 48px; }
  .fx-svc__list { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .fx-svc__list li { grid-template-columns: 88px minmax(0, 1fr); gap: 16px; }
  .fx-svc__ph.is-icon svg { width: 44px; height: 44px; }
  .fx-svc__t { font-size: 15px; }
  .fx-svc__d { font-size: 13px; }
}

/* ---------- RA：本文が3段落になったので段落の間をあける ---------- */
.ra2__head .text + .text { margin-top: 12px; }

/* ---------- 3つのサポート：食事の時間を04の中に（2026-10-22） ---------- */
.fx-mealtime { display: flex; flex-wrap: wrap; gap: 4px 20px; margin-top: 10px; font-weight: 700; color: var(--ink); }

/* ---------- 入寮の流れ：スマホの上部の目次は7ステップになり名前が入りきらないので、番号の丸だけにする（2026-10-22） ---------- */
@media (max-width: 1000px) {
  .fwe__side a { font-size: 0; }
  .fwe__side a span { font-size: 12px; }
}

/* ---------- ポップアップ：写真の無い1列の型（メニュー例など。2026-10-22） ---------- */
.fx-pop.is-noimg .fx-pop__box { grid-template-columns: minmax(0, 1fr); width: min(880px, 100%); }
.fx-pop.is-noimg .fx-pop__img { display: none; }

/* ---------- 3つのサポート：メニュー例（写真の扱いを確認中のため隠している） ---------- */
.fx-menu__btn { display: inline-flex; align-items: center; gap: 10px; margin-top: 20px; padding: 6px 0 10px; font: inherit; font-size: 15px; font-weight: 700; letter-spacing: .08em; color: var(--accent); background: none; border: 0; cursor: pointer; }
.fx-menu__plus { position: relative; width: 22px; height: 22px; background: var(--accent); border-radius: 50%; transition: transform .25s var(--ease); }
.fx-menu__plus::before, .fx-menu__plus::after { content: ""; position: absolute; left: 6px; right: 6px; top: 10px; height: 2px; background: var(--white); }
.fx-menu__plus::after { transform: rotate(90deg); }
.fx-menu__btn:hover .fx-menu__plus { transform: rotate(90deg); }
.fx-menu__text { margin-top: 8px; }
.fx-menu__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 14px; margin-top: 24px; }
.fx-menu__ph { display: block; aspect-ratio: 4 / 3; background: var(--gray) center / cover no-repeat; border-radius: 10px; }
.fx-menu__cap { display: block; margin-top: 8px; font-size: 13px; font-weight: 500; letter-spacing: .04em; }

/* ---------- TOP：よくあるご質問（回答文が届くまで隠している） ---------- */
.fx-faq__list { max-width: 960px; margin: 0 auto; border-top: 1px solid var(--line); }
.fx-faq__item { border-bottom: 1px solid var(--line); }
.fx-faq__item summary { display: grid; grid-template-columns: 40px minmax(0, 1fr) 24px; align-items: center; gap: 16px; padding: 22px 8px; font-size: 16px; font-weight: 700; letter-spacing: .04em; list-style: none; cursor: pointer; }
.fx-faq__item summary::-webkit-details-marker { display: none; }
.fx-faq__item summary:hover .fx-faq__t { color: var(--accent); }
.fx-faq__q { display: grid; place-items: center; width: 40px; height: 40px; font-family: var(--font-en); font-size: 17px; font-weight: 600; color: var(--white); background: var(--dark); border-radius: 50%; }
.fx-faq__q.is-a { color: var(--accent); background: var(--accent-pale); }
.fx-faq__icon { position: relative; width: 20px; height: 20px; }
.fx-faq__icon::before, .fx-faq__icon::after { content: ""; position: absolute; left: 3px; right: 3px; top: 9px; height: 2px; background: var(--accent); transition: transform .25s var(--ease); }
.fx-faq__icon::after { transform: rotate(90deg); }
.fx-faq__item[open] .fx-faq__icon::after { transform: rotate(0deg); }
.fx-faq__a { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 16px; padding: 0 8px 24px; }
.fx-faq__a p { padding-top: 8px; font-size: 15px; line-height: 1.9; color: #57534c; }
.fx-faq__more { max-width: 960px; margin: 32px auto 0; text-align: right; font-size: 14px; }
.fx-faq__more a { display: inline-flex; align-items: center; gap: 10px; margin-left: 4px; font-weight: 700; color: var(--accent); }

@media (max-width: 1000px) {
  .fx-menu__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 10px; }
  .fx-faq__item summary { grid-template-columns: 32px minmax(0, 1fr) 20px; gap: 12px; padding: 18px 0; font-size: 15px; }
  .fx-faq__q { width: 32px; height: 32px; font-size: 15px; }
  .fx-faq__a { grid-template-columns: 32px minmax(0, 1fr); gap: 12px; padding: 0 0 20px; }
  .fx-faq__a p { padding-top: 4px; font-size: 14px; }
  .fx-faq__more { text-align: left; }
}

/* =====================================================
   2026-10-22 夜：多デバイス点検（Chrome 14端末＋Edge）で見つかった割れの修正
   ===================================================== */
/* ヘッダー：iPad Pro 縦（1024px）などでメニューが「コンセプ／ト」と割れていた → 割らない。1180px以下は文字と間隔を詰める */
.hd__nav a { white-space: nowrap; }
@media (min-width: 1001px) and (max-width: 1180px) {
  .hd { gap: 16px; }
  .hd__nav { gap: 12px; }
  .hd__nav a { font-size: 12px; letter-spacing: 0; }
  .hd__icon { width: 48px; }
}
/* TOP の入寮までの流れ：1240px以下の PC・タブレットは7列だと「入寮いただけま／す」と割れる → 4列×2段 */
@media (min-width: 1001px) and (max-width: 1240px) {
  .flow.tl.fx-flow7 { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 48px; }
}
/* 料金の札（個室①〜③）・キャンパス名：語の途中で割らない（極小画面で「女性専用フロ／ア」「りんくうキャン／パス」） */
.plans .ov-price__label small, .lc-cards__name { word-break: keep-all; overflow-wrap: anywhere; }
@media (max-width: 360px) {
  .lc-cards__name { font-size: 12px; letter-spacing: 0; }
  .lc-cards li { padding-left: 6px; padding-right: 6px; } /* 320px で「キャンパ／ス」と割れていた */
  .plans .ov-price { column-gap: 8px; padding: 14px 14px; } /* 320px で「女性専用フロ／ア」と割れていた → 金額を少し小さくして札の幅を空ける */
  .plans .ov-price__main b { font-size: 24px; }
  .plans .ov-price__label small { font-size: 11px; }
  .more__link { gap: 10px; font-size: 13px; letter-spacing: .02em; }
}
/* 下部の「各種お申し込み」：320px で「入寮のお申し込み」がボタンからはみ出して隣に重なっていた（以前から）→ 360px以下は1列 */
@media (max-width: 360px) {
  .cc__grid { grid-template-columns: minmax(0, 1fr); }
}
/* TOP の3つのサポート：1024px 前後で右の2つの文字の列が細く「安心・／セキュリティ」と割れていた → 写真を小さくして文字の幅を空ける */
@media (min-width: 1001px) and (max-width: 1240px) {
  .sx { gap: 0 40px; }
  .sx li:not(.sx__main) a { grid-template-columns: 128px minmax(0, 1fr); gap: 20px; }
}
/* TOP のお知らせ・お役立ち情報：タブレット縦（600〜1000px）で1列だとサムネイルが画面いっぱいに大きい → 2列 */
@media (min-width: 600px) and (max-width: 1000px) {
  .fx-info { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; }
}
/* TOP の3つのサポート：320〜380px で「安心・／セキュリティ」と割れていた → 右の写真を小さく、見出しを少し小さく */
@media (max-width: 380px) {
  .sx li:not(.sx__main) a { grid-template-columns: 88px minmax(0, 1fr); gap: 14px; }
  .sx li:not(.sx__main) h3 { font-size: 18px; letter-spacing: .04em; }
}
/* フッターのリンク：Safari（文節改行に未対応）の 1024px で「公式サ／イト」と割れていた → 語の途中で割らない */
.fb__nav a { word-break: keep-all; overflow-wrap: anywhere; }

/* TOP の3つのサポート（PC）：右の 02 が上下中央に寄って左の写真とずれて見える → 02 の開始位置を左の写真の上端にそろえる（2026-10-23 本人指示） */
@media (min-width: 1001px) {
  .sx { grid-template-rows: auto auto; align-items: start; }
  .sx li:not(.sx__main) { align-self: start; }
  .sx li:not(.sx__main):nth-child(2) { padding-top: 0; }
}

/* ---------- 支給待ちの仮の枠（2026-10-23）：中身は config.php で差し替え ---------- */
.btn.is-wait { cursor: default; opacity: .55; pointer-events: none; }
.fx-wait { color: var(--muted); }
/* TOP 立地：キャンパスマップ・コピー②・学部ごとのPDF */
.fx-map { display: grid; grid-template-columns: 3fr 2fr; gap: 0 48px; align-items: center; max-width: 960px; margin: 48px auto 0; }
.fx-map__img { background: var(--white); border-radius: var(--radius); overflow: hidden; }
.fx-map__img img { display: block; width: 100%; height: auto; }
.fx-map__body .fx-loc__label { margin-bottom: 12px; text-align: left; }
.fx-map__btn { margin-top: 24px; }
/* RA：募集要項と申込 */
.fx-recruit { margin-top: 96px; }
.fx-recruit__tbl { max-width: 880px; margin: 0 auto; }
.fx-recruit__cta { display: flex; justify-content: center; margin-top: 40px; }
.fx-recruit__cta .btn { height: 56px; padding: 0 32px; }
/* サポート：写真⑧⑨ */
.fx-secph.thumbs.is-gallery.is-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 720px; margin: 0 0 40px; }
@media (max-width: 1000px) {
  .fx-map { grid-template-columns: minmax(0, 1fr); gap: 20px; margin-top: 32px; }
  .fx-map__btn { width: 100%; white-space: normal; height: auto; min-height: 48px; text-align: center; }
  .fx-recruit { margin-top: 64px; }
  .fx-recruit__cta .btn { width: 100%; white-space: normal; height: auto; min-height: 52px; padding: 8px 16px; text-align: center; }
  .fx-secph.thumbs.is-gallery.is-3 { margin-bottom: 28px; gap: 10px; }
}

/* ---------- TOP コンセプト01：説明会資料 p9・参照データ①の型（2026-10-23） ----------
   PC：左に「学年」「学部」の説明、中央に塗りの円3つ、右に「国籍」の説明と丸い写真。下に点線の矢印から3つの札 */
.fx-c1 { display: block; }
.fx-c1__head { max-width: 720px; }
.fx-c1__head .cx__no { margin-top: 0; }
.fx-dg { display: grid; grid-template-columns: minmax(0, 1fr) 340px minmax(0, 1fr) 260px; grid-template-areas: "grade venn nation ph" "faculty venn nation ph" "out out out ph"; gap: 24px 40px; align-items: center; margin-top: 48px; }
.fx-dg__note.is-grade { grid-area: grade; align-self: end; }
.fx-dg__note.is-faculty { grid-area: faculty; align-self: start; }
.fx-dg__note.is-nation { grid-area: nation; }
.fx-dg__venn { grid-area: venn; display: block; width: 100%; height: auto; overflow: visible; }
.fx-dg__venn circle { fill: var(--gold); stroke: var(--white); stroke-width: 4; }
.fx-dg__venn text { font-family: var(--font-ja); font-size: 24px; font-weight: 700; letter-spacing: .12em; text-anchor: middle; fill: var(--white); }
.fx-dg__t { padding-bottom: 8px; font-size: 18px; font-weight: 700; letter-spacing: .1em; color: var(--ink); border-bottom: 1px dashed var(--accent-soft); font-feature-settings: "palt"; }
.fx-dg__d { margin-top: 10px; font-size: 14px; line-height: 1.9; color: #57534c; }
.fx-dg__ph { grid-area: ph; position: relative; height: 100%; min-height: 420px; }
.fx-dg__ph span { position: absolute; display: block; aspect-ratio: 1; background: var(--gray) center / cover no-repeat; border-radius: 50%; }
.fx-dg__ph span:first-child { top: 0; right: 0; width: 240px; }
.fx-dg__ph span:last-child { bottom: 0; left: 0; width: 180px; border: 6px solid var(--white); }
.fx-dg__out { grid-area: out; display: flex; align-items: center; justify-content: center; gap: 20px; }
.fx-dg__arrow { position: relative; width: 56px; height: 2px; border-top: 2px dotted var(--gold); }
.fx-dg__arrow::after { content: ""; position: absolute; right: -4px; top: -7px; border-left: 10px solid var(--gold); border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.fx-dg .fx-badges { margin: 0; gap: 12px; }
.fx-dg .fx-badges li { padding: 12px 32px; font-size: 18px; letter-spacing: .16em; border-radius: 10px; }
@media (min-width: 1001px) and (max-width: 1240px) {
  .fx-dg { grid-template-columns: minmax(0, 1fr) 300px minmax(0, 1fr) 200px; gap: 24px 28px; }
  .fx-dg__ph span:first-child { width: 190px; }
  .fx-dg__ph span:last-child { width: 140px; }
  .fx-dg .fx-badges li { padding: 10px 22px; font-size: 16px; }
}
@media (max-width: 1000px) {
  .fx-dg { grid-template-columns: minmax(0, 1fr); grid-template-areas: "venn" "grade" "faculty" "nation" "out" "ph"; gap: 20px; margin-top: 32px; }
  .fx-dg__venn { max-width: 280px; margin: 0 auto 8px; }
  .fx-dg__note.is-grade, .fx-dg__note.is-faculty { align-self: auto; }
  .fx-dg__t { font-size: 16px; }
  .fx-dg__d { font-size: 13px; }
  .fx-dg__out { flex-direction: column; gap: 12px; margin-top: 4px; }
  .fx-dg__arrow { width: 2px; height: 32px; border-top: 0; border-left: 2px dotted var(--gold); }
  .fx-dg__arrow::after { right: auto; left: -7px; top: auto; bottom: -4px; border-left: 6px solid transparent; border-right: 6px solid transparent; border-top: 10px solid var(--gold); border-bottom: 0; }
  .fx-dg .fx-badges { justify-content: center; gap: 8px; }
  .fx-dg .fx-badges li { padding: 8px 16px; font-size: 15px; letter-spacing: .08em; }
  .fx-dg__ph { display: grid; grid-template-columns: 3fr 2fr; gap: 12px; align-items: end; min-height: 0; }
  .fx-dg__ph span, .fx-dg__ph span:first-child, .fx-dg__ph span:last-child { position: static; width: 100%; border: 0; }
}

/* 2026-10-23 先方素材の反映：キャンパスマップは横長で文字が細かいので全幅に、説明とボタンは下に／写真⑧〜⑪は4列 */
.fx-map { grid-template-columns: minmax(0, 1fr); gap: 20px; }
.fx-map__img { display: block; } /* 枠線の装飾はしない（地図自体に背景がある） */
.fx-map__body { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; }
.fx-map__body .fx-loc__label { margin: 0; }
.fx-map__body .text { flex: 1 1 320px; }
.fx-map__btn { margin-top: 0; }
.fx-secph.thumbs.is-gallery.is-3 { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: none; }
@media (max-width: 1000px) {
  .fx-map__body { display: block; }
  .fx-map__btn { margin-top: 16px; }
  .fx-secph.thumbs.is-gallery.is-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* メニュー例が8枚になったので PC は4列×2段（2026-10-23） */
@media (min-width: 1001px) { .fx-menu__list { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* 2026-10-28 先方指示：正式名称の順（大阪公立大学 国際交流宿舎 を OMU I-Dorm Sugimoto の上に） */
.fb__name span { margin: 0 0 2px; }
.fx-ov__ja { margin-top: 16px; }
.fx-ov__ja + .fx-ov__name { margin-top: 6px; }

/* 2026-10-28 先方指示：宿舎概要の外観は1枚に（ギャラリーは4枚）→ 小さい写真は4列 */
.fx-gal__thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
/* 2026-10-28：シミュレーション削除で共用空間の段がグレーに → アイコンの枠が背景に溶けないよう白に */
.sec.is-gray .fx-svc__ph.is-icon { background-color: var(--white); }

/* 2026-10-28 先方指示：詳細ページ上部の写真の色彩をもう少し淡く
   写真は ::before に写して（background を継承）そこにだけ filter をかけ、見出しの背後の覆いは ::after に移す（文字には filter がかからない）
   覆いは sub.css の .55 から .45 へ少しだけ弱める（白い見出しが読める濃さは残す） */
.kv::before { z-index: 0; background: inherit; filter: saturate(.75) brightness(1.06); }
.kv::after { content: ""; position: absolute; inset: 0; z-index: 0; background: rgba(20, 28, 40, .45); }
.kv__in { z-index: 1; }

/* 2026-10-28 先方指示：入寮の流れ STEP01 は「見学のご予約」の下に「ご相談・お問合せ」を縦に並べる */
.fwe__cta .more__link + .more__link { display: flex; width: fit-content; margin-top: 12px; }
/* 2026-10-28 先方指示：STEP02 の「早めの入寮申込がおすすめです」は本文と区別して強調（枠線なし・淡い地色） */
.fx-flow-note { margin-top: 24px; padding: 18px 22px; font-size: 14px; line-height: 1.85; color: var(--ink); background: var(--accent-pale); border-radius: var(--radius); }
.fx-flow-note p { margin: 0; }
.fx-flow-note__t { margin-bottom: 6px !important; font-weight: 700; color: var(--accent-deep); }
.fx-flow-note strong { font-weight: 700; }
@media (max-width: 1000px) { .fx-flow-note { padding: 16px 18px; font-size: 13px; } }

/* RA の数字の注記（2026-10-29） */
.fx-ra-asof { margin-top: 12px; text-align: right; font-size: 12px; color: var(--on-dark-muted); }

/* 個人情報保護方針（2026-10-29）：固定ページの本文（旧テーマの格子クラス付き）をそのまま出すので、本文の要素に読みやすい型を当てる */
.fx-policy { max-width: 880px; font-size: 15px; line-height: 2; color: #57534c; }
.fx-policy p:empty { display: none; }
.fx-policy p + p { margin-top: 12px; }
.fx-policy h2 { margin: 56px 0 16px; padding-bottom: 10px; font-size: 20px; font-weight: 700; letter-spacing: .06em; color: var(--ink); border-bottom: 1px solid var(--line); font-feature-settings: "palt"; }
.fx-policy h3 { margin: 28px 0 10px; font-size: 16px; font-weight: 700; color: var(--ink); }
.fx-policy ul, .fx-policy ol { margin: 12px 0; padding-left: 1.5em; }
.fx-policy ul { list-style: disc; }
.fx-policy ol { list-style: decimal; }
.fx-policy li + li { margin-top: 4px; }
.fx-policy a { color: var(--accent); text-decoration: underline; }
@media (max-width: 1000px) {
  .fx-policy { font-size: 14px; }
  .fx-policy h2 { margin-top: 40px; font-size: 18px; }
}
