/* Foundation：共通指定値は同じフォルダのtokens.cssを参照する。 */
:root { --header-height: 80px; --visual-width: 1586px; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 24px); }
body { margin: 0; background: var(--color-white); color: var(--color-text); font-family: var(--font-body); font-size: var(--font-size-body); font-weight: 400; line-height: var(--line-height-body); }
h1, h2, h3, p, figure { margin: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; }
svg { display: block; }
:focus-visible { outline: 3px solid var(--focus-color); outline-offset: 3px; }

/* Layout：共通幅と既存LPに合わせたヘッダー。 */
.l-container { width: min(var(--content-width), calc(100% - var(--gutter) * 2)); min-width: 0; margin-inline: auto; }
.l-section { padding-block: var(--section-space); }
.l-section--white { background: var(--color-white); }
.l-section--pale { background: var(--color-pale); }
.l-header { position: sticky; top: 0; z-index: 100; border-bottom: 1px solid var(--color-border); background: rgba(255, 255, 255, .96); box-shadow: 0 6px 24px rgba(7, 27, 61, .04); backdrop-filter: blur(14px); }
.l-header__inner { position: relative; display: flex; align-items: center; width: 100%; min-height: var(--header-height); gap: 24px; padding-inline: 32px; }
.l-header__logo { display: inline-flex; align-items: center; width: 220px; flex: 0 0 auto; }
.l-header__logo img { width: 100%; height: auto; }
.l-header__nav { display: flex; align-items: center; gap: 22px; margin-left: auto; color: var(--color-navy); font-size: 14px; font-weight: 500; }
.l-header__nav > a:not(.c-button) { position: relative; display: inline-flex; align-items: center; gap: 6px; padding-block: 27px 25px; white-space: nowrap; }
.l-header__nav > a:not(.c-button)::after { content: ""; position: absolute; inset: auto 0 18px; height: 2px; background: var(--gradient-gold); transform: scaleX(0); transition: transform .2s; }
.l-header__nav > a:hover::after { transform: scaleX(1); }
.l-header__external { width: 16px; height: 16px; color: var(--color-gold-text); fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.l-header__toggle, .l-header__menu-cta.c-button { display: none; }

/* Object / Component：見出し・ボタン・補足。 */
.c-label { color: var(--color-gold-text); font-size: var(--font-size-label); font-weight: 500; line-height: 1.5; letter-spacing: .05em; }
.c-section-heading { margin: 0 auto var(--heading-gap); text-align: center; }
.c-section-heading h2 { margin-top: 12px; color: var(--color-navy); font-family: var(--font-heading); font-size: var(--font-size-heading); font-weight: 700; line-height: var(--line-height-heading); letter-spacing: .02em; }
.c-section-heading h2::after { content: ""; display: block; width: 56px; height: 2px; margin: 20px auto 0; background: var(--gradient-gold); }
.c-section-heading > p:not(.c-label) { max-width: var(--reading-width); margin: 24px auto 0; font-size: var(--font-size-lead); line-height: 1.85; }
.c-note { color: var(--color-muted); font-size: var(--font-size-note); line-height: 1.75; }
.c-button { position: relative; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; gap: 20px; width: var(--cta-width); max-width: 100%; min-height: var(--cta-height); padding: 16px 24px; border: 1px solid var(--color-gold); border-radius: var(--radius-button); background: var(--gradient-cta); color: var(--color-white); box-shadow: var(--shadow-cta); font-size: var(--font-size-cta); font-weight: 700; line-height: 1.5; text-align: center; transition: box-shadow .2s; }
.c-button__arrow { width: 24px; height: 24px; flex: 0 0 auto; fill: none; stroke: var(--color-gold); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.c-button > span:not(.u-visually-hidden) { min-width: 0; overflow-wrap: anywhere; }
/* 背景の上だけに暗い面を重ね、ちらつきと文字・アイコンの色変化を防ぐ。 */
.c-button:not(.c-button--secondary):not(.p-survey__more-button)::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: rgba(0, 0, 0, .1); opacity: 0; pointer-events: none; transition: opacity .2s; }
.c-button:hover { box-shadow: 0 10px 28px rgba(7, 27, 61, .18); }
.c-button:hover::before { opacity: 1; }
.c-button--compact { width: auto; min-height: 48px; padding: 12px 20px; gap: 0; font-size: 14px; white-space: nowrap; }

/* Object / Project：画像を改変せず、過去LPと同じく中央に全体表示。 */
.p-hero { background: linear-gradient(90deg, #e9f4fc 0%, #ffffff 28%, #ffffff 72%, #e9f4fc 100%); }
/* 高さの上限に合わせて枠の幅も縮め、画像内ボタンとリンク領域を一致させる。 */
.p-hero__visual { position: relative; width: min(100%, var(--visual-width), calc(900px * 1586 / 992)); max-height: 900px; margin-inline: auto; }
.p-hero__picture { display: block; }
.p-hero__image { width: 100%; height: auto; max-height: 900px; object-fit: contain; }
/* 座標は元画像1586×992pxのボタン範囲に対する比率。 */
.p-hero__hotspot { position: absolute; left: 3.8%; top: 73.5%; width: 44.8%; height: 13.2%; border-radius: 999px; }
.p-hero__hotspot:focus-visible { outline: 3px solid var(--color-white); outline-offset: -6px; box-shadow: 0 0 0 3px var(--color-blue); }

/* Object / Project：Bコースの写真サイズ・文字組みに合わせる。配色はCコースを維持。 */
.p-faculty__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 64px; }
.p-faculty__card { display: grid; grid-template-columns: 220px minmax(0, 1fr); align-items: start; gap: 32px; min-height: 220px; height: 100%; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; letter-spacing: .03em; }
.p-faculty__photo { align-self: start; width: 220px; height: 220px; aspect-ratio: 1 / 1; margin: 0; overflow: hidden; border-radius: 8px; background: transparent; }
.p-faculty__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% top; transform: scale(1.18); transform-origin: 50% top; }
.p-faculty__card:nth-child(2) .p-faculty__photo img { transform: scale(1.15); }
/* 幸田氏は元画像全体を枠内に収め、顔の拡大を抑えて胸元まで見せる。 */
.p-faculty__card:nth-child(3) .p-faculty__photo { background: var(--color-white); }
.p-faculty__card:nth-child(3) .p-faculty__photo img { object-fit: contain; object-position: center; transform: none; }
.p-faculty__card:nth-child(4) .p-faculty__photo img { transform: none; }
.p-faculty__body { display: grid; align-content: start; min-width: 0; gap: 0; }
.p-faculty__name { margin: 0 0 10px; color: var(--color-navy); font-family: var(--font-heading); font-size: 28px; font-weight: 600; line-height: 1.4; letter-spacing: .05em; }
.p-faculty__position { display: grid; gap: 2px; margin-bottom: 1.6em; color: var(--color-navy); font-family: var(--font-heading); font-size: 16px; font-weight: 500; line-height: 1.5; overflow-wrap: anywhere; }
.p-faculty__position p { margin: 0; }
.p-faculty__bio { color: var(--color-muted); font-size: 14px; line-height: 1.82; }

/* Object / Project：カリキュラム。情報と凡例・注意書きを保持する。 */
.p-curriculum__tables { display: grid; gap: 48px; }
.p-curriculum__block { min-width: 0; }
.p-curriculum__title { padding: 24px 28px; }
.p-curriculum__title h3 { color: var(--color-navy); font-family: var(--font-heading); font-size: 20px; font-weight: 700; line-height: 1.6; }
.p-curriculum__title h3::before { content: ""; display: inline-block; width: 24px; height: 2px; margin: 0 12px 6px 0; background: var(--gradient-gold); }
.p-curriculum__hint { display: none; margin-block: 12px; color: var(--color-muted); font-size: 14px; }
.p-curriculum__scroll { min-width: 0; max-width: 100%; overflow-x: auto; overscroll-behavior-x: contain; }
.p-curriculum__hint[hidden], .p-curriculum__cell-label { display: none; }
.p-curriculum__cell { min-width: 0; overflow-wrap: anywhere; }
.p-curriculum__table { width: 100%; min-width: 820px; border: 1px solid var(--color-curriculum-frame); border-collapse: collapse; table-layout: fixed; background: var(--color-white); font-size: var(--font-size-table); line-height: 1.7; }
.p-curriculum__date { width: 13%; }
.p-curriculum__theme { width: 40%; }
.p-curriculum__lecturer { width: 16%; }
.p-curriculum__company { width: 31%; }
.p-curriculum__table th { padding: 16px 20px; background: var(--color-navy); color: var(--color-white); font-weight: 700; text-align: left; vertical-align: middle; }
.p-curriculum__table td { padding: 20px; border-bottom: 1px solid var(--color-border); font-weight: 500; vertical-align: middle; overflow-wrap: anywhere; }
.p-curriculum__table tbody tr:last-child td { border-bottom-color: var(--color-curriculum-frame); }
.p-curriculum__table td:first-child { color: var(--color-gold-text); font-weight: 500; }
.p-curriculum__table td:nth-child(2) { color: var(--color-navy); font-weight: 500; }
.p-curriculum__block .c-note { margin-top: 16px; }
.p-curriculum__block .c-note + .c-note { margin-top: 8px; }
/* カリキュラムと特徴のCTAは、面・余白・文の階層を共通にする。 */
.p-curriculum__cta, .p-outcomes__cta { margin-top: 48px; padding: 40px 24px; border-radius: var(--radius-card); background: rgba(255, 255, 255, .85); box-shadow: 0 8px 32px rgba(7, 27, 61, .08); text-align: center; }
.p-curriculum__cta p, .p-outcomes__cta p { max-width: var(--reading-width); margin-inline: auto; line-height: 1.85; }
.p-curriculum__cta .p-curriculum__cta-lead, .p-outcomes__cta .p-outcomes__cta-lead { margin-bottom: 12px; font-family: var(--font-heading); font-size: 24px; font-weight: 700; line-height: 1.6; }
/* BコースのCTA寸法と、右端に独立して配置する丸囲み矢印を採用する。 */
.p-curriculum__cta .c-button, .p-outcomes__cta .c-button { position: relative; width: 390px; max-width: 100%; height: 78px; min-height: 78px; margin-top: 24px; padding: 0 64px 0 32px; gap: 0; border-radius: 5px; font-size: 20px; font-weight: 500; }
.p-curriculum__cta .c-button__arrow, .p-outcomes__cta .c-button__arrow, .p-entry .c-button__arrow { position: absolute; top: 50%; right: 24px; width: 30px; height: 30px; color: var(--color-feature-accent); stroke: currentColor; stroke-width: 2; pointer-events: none; transform: translateY(-50%); }

/* Object / Utility：読み上げとキーボード操作の補助。 */
.u-visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.u-skip-link { position: fixed; left: 16px; top: 8px; z-index: 200; padding: 12px 20px; background: var(--color-white); color: var(--color-navy); transform: translateY(-160%); }
.u-skip-link:focus { transform: translateY(0); }

@media (max-width: 1023px) {
  :root { --header-height: 72px; }
  .l-header__inner { padding-inline: 24px; gap: 16px; }
  .l-header__cta { margin-left: auto; }
  .l-header__toggle { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; flex-direction: column; gap: 5px; width: 44px; height: 44px; padding: 0; border: 1px solid var(--color-gold); border-radius: 2px; background: var(--color-white); cursor: pointer; }
  .l-header__toggle span { display: block; width: 20px; height: 2px; background: var(--color-navy); transition: transform .2s, opacity .2s; }
  .l-header__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .l-header__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .l-header__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .l-header__nav { position: absolute; top: 100%; left: 0; display: flex; flex-direction: column; align-items: stretch; width: 100%; max-height: calc(100vh - var(--header-height)); max-height: calc(100dvh - var(--header-height)); overflow-y: auto; margin: 0; padding: 8px 24px 24px; gap: 0; background: rgba(255, 255, 255, .98); box-shadow: 0 12px 24px rgba(7, 27, 61, .08); border-bottom: 1px solid var(--color-border); opacity: 0; visibility: hidden; pointer-events: none; }
  .l-header__nav.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
  .l-header__nav > a:not(.c-button) { min-height: 48px; padding-block: 14px; }
  .l-header__nav > a:not(.c-button)::after { content: none; }
  .p-faculty__grid { grid-template-columns: 1fr; }
  .p-curriculum__hint { display: block; }
}

@media (max-width: 768px) {
  :root { --header-height: 64px; }
  .l-header__inner { padding-inline: 12px; gap: 12px; }
  .l-header__logo { width: min(49vw, 190px); }
  .l-header__cta { display: none; }
  .l-header__toggle { margin-left: auto; }
  .l-header__menu-cta.c-button { display: inline-flex; margin-top: 12px; }
  .l-header__nav { padding: 8px 20px 16px; transform: translateY(-8px); transition: opacity .24s ease, transform .24s ease, visibility .24s ease; }
  .l-header__nav.is-open { transform: translateY(0); }
  .l-header__nav > a:not(.c-button) { border-bottom: 1px solid rgba(200, 149, 45, .24); }
  /* SP画像1024×1536pxのボタン範囲へリンクを合わせ、画像全体の高さを使う。 */
  .p-hero__visual { width: 100%; }
  .p-hero__visual, .p-hero__image { max-height: none; }
  .p-hero__hotspot { left: 6%; top: 82.7%; width: 88%; height: 10.2%; }
  .p-curriculum__tables { gap: 16px; }
  .p-curriculum__title { padding: 18px 0 14px; }
  .p-curriculum__title h3 { font-size: 18px; line-height: 1.55; }
  .p-curriculum__title h3::before { display: none; }
  .p-curriculum__hint { display: none; }
  .p-curriculum__scroll { overflow: visible; }
  /* Bコースと同じ項目名付きの縦並び。表の見出しと役割は読み上げ用に残す。 */
  .p-curriculum__table { position: relative; display: block; min-width: 0; border: 0; background: transparent; table-layout: auto; font-size: 13px; }
  .p-curriculum__table colgroup { display: none; }
  .p-curriculum__table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .p-curriculum__table tbody { display: grid; width: 100%; gap: 12px; }
  .p-curriculum__table tbody tr { display: block; width: 100%; padding: 8px 14px; border: 1px solid var(--color-curriculum-frame); border-radius: 6px; background: var(--color-white); box-shadow: 0 6px 16px rgba(7, 27, 61, .05); }
  .p-curriculum__table td { display: grid; grid-template-columns: 86px minmax(0, 1fr); align-items: center; width: 100%; gap: 10px; padding: 10px 0; border: 0; border-bottom: 1px solid var(--color-border); font-size: 13px; line-height: 1.55; }
  .p-curriculum__table td:last-child { border-bottom: 0; }
  .p-curriculum__cell-label { display: block; color: var(--color-navy); font-weight: 700; overflow-wrap: anywhere; }
  .p-curriculum__cta, .p-outcomes__cta { margin-top: 48px; padding: 28px 20px; }
  .p-curriculum__cta .p-curriculum__cta-lead, .p-outcomes__cta .p-outcomes__cta-lead { font-size: 18px; line-height: 1.65; }
  .p-curriculum__cta > p:not(.p-curriculum__cta-lead), .p-outcomes__cta > p:not(.p-outcomes__cta-lead) { font-size: 14px; line-height: 1.7; }
}

/* Bコースの最終レスポンシブ指定に合わせ、768px以下は写真＋氏名・肩書、下段に略歴。 */
@media (max-width: 768px) {
  .p-curriculum__cta .c-button, .p-outcomes__cta .c-button { width: 100%; max-width: 330px; height: 64px; min-height: 64px; font-size: 16px; }
  .p-faculty__grid { grid-template-columns: 1fr; grid-auto-rows: auto; gap: 40px; }
  .p-faculty__card { grid-template-columns: 116px minmax(0, 1fr); grid-template-areas: "photo name" "photo position" "bio bio"; gap: 8px 16px; min-height: 0; height: auto; }
  .p-faculty__photo { grid-area: photo; width: 116px; height: 116px; }
  .p-faculty__body { display: contents; }
  .p-faculty__name { grid-area: name; align-self: end; margin: 0; font-size: 21px; text-align: left; }
  .p-faculty__position { grid-area: position; align-self: start; margin: 0; font-size: 13px; line-height: 1.5; text-align: left; }
  .p-faculty__bio { grid-area: bio; width: 100%; margin-top: 6px; font-size: 13px; line-height: 1.75; text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
