/* =========================================================================
   / （学校トップ）固有。学校トップ.dc.html の Hero（写真版）/ VALUE / MANAGEMENT
   Hero は共通 Hero コンポーネントとは別物（背景・比率・ブレークポイントが違う）。
   ========================================================================= */

/* ---- Hero（写真版。Tweaks「イラスト」版は使わない） ---- */
.top-hero {
  position: relative; overflow: hidden; background: var(--surface-alt); display: flex; flex-direction: column;
  min-height: clamp(500px, 58vw, 588px); padding: clamp(40px, 4.5vw, 64px) var(--pad-x); scroll-margin-top: 70px;
}
.top-hero__bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 42%;
  filter: blur(3px) saturate(1.06) contrast(1.02); transform: scale(1.06);
}
.top-hero__veil {
  position: absolute; inset: 0;
  background: linear-gradient(96deg, rgba(255, 255, 255, .97) 0%, rgba(255, 255, 255, .93) 36%, rgba(255, 255, 255, .74) 56%, rgba(255, 255, 255, .5) 78%, rgba(255, 255, 255, .42) 100%);
}
.top-hero__band {
  position: relative; flex: 1; width: 100%; max-width: 1200px; margin: 0 auto; display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .78fr); gap: clamp(28px, 4vw, 56px); align-items: center;
}
.top-hero__copy { max-width: 34em; }
.top-hero__eyebrow {
  display: inline-flex; align-items: center; gap: 12px; color: var(--accent);
  font-size: 13px; font-weight: 700; letter-spacing: .06em; margin-bottom: 22px;
}
.top-hero__eb-line { display: block; flex: none; width: 34px; height: 2px; background: var(--accent); }
.top-hero__title {
  font-size: clamp(30px, 3.6vw, 50px); font-weight: 700; line-height: 1.38; letter-spacing: .03em;
  margin: 0 0 20px; color: var(--ink-heading); text-wrap: pretty;
}
.top-hero__lead { font-size: clamp(14px, 1.1vw, 16px); color: var(--ink-reading); line-height: 1.95; margin: 0 0 30px; max-width: 29em; }
.top-hero .top-hero__cta { margin-bottom: clamp(24px, 3vw, 34px); }
.top-hero__cta .btn--ghost { background: rgba(255, 255, 255, .92); }
.top-hero__figures { position: relative; }
.top-hero__main { position: relative; border-radius: 20px; overflow: hidden; box-shadow: 0 28px 64px rgba(20, 22, 30, .2); }
/* slot state hero-main: s=0.65768 x=2.3113% y=-1.5300%（cover 基準）を image-slot.js と同じ式で再現 */
.top-hero__main-frame { position: relative; display: block; width: 100%; height: auto; aspect-ratio: 4/3; overflow: hidden; border-radius: 20px; }
.top-hero__main-frame img {
  position: absolute; width: 65.7677%; height: 103.1292%; left: 52.3113%; top: 48.4700%;
  transform: translate(-50%, -50%); max-width: none; display: block;
}
.top-hero__sub {
  position: absolute; width: clamp(112px, 12vw, 164px); border-radius: 16px; overflow: hidden;
  border: 4px solid var(--frame-white); box-shadow: 0 18px 40px rgba(20, 22, 30, .18);
}
.top-hero__sub--1 { left: clamp(-64px, -5vw, -20px); bottom: clamp(-24px, -2vw, -10px); }
.top-hero__sub--2 { right: clamp(-64px, -5vw, -20px); top: clamp(-24px, -2vw, -10px); }
.top-hero__sub img { display: block; width: 100%; height: auto; aspect-ratio: 1/1; object-fit: cover; background: var(--frame-white); border-radius: 12px; }

@media (max-width: 960px) {
  .top-hero__band { grid-template-columns: 1fr; align-items: start; }
  .top-hero__figures { max-width: 420px; margin-top: 8px; }
}
@media (max-width: 620px) { .top-hero__sub { display: none; } }
@media (max-width: 999px) { .top-hero { padding: 32px clamp(18px, 4vw, 40px) 40px; } }
@media (max-width: 640px) {
  .top-hero { min-height: 0; }
  .top-hero__band { gap: 28px; }
  .top-hero__copy { text-align: center; max-width: none; margin: 0 auto; }
  .top-hero__copy p { margin-left: auto; margin-right: auto; }
  .top-hero__eyebrow { display: block; text-align: center; }
  .top-hero__eb-line { display: inline-block; vertical-align: middle; position: relative; top: -.05em; margin-right: 12px; }
  .top-hero__eb-text { display: inline; }
  .top-hero__figures { width: 100%; max-width: min(520px, 100%); justify-self: center; margin-top: 0; }
}
@media (max-width: 734px) { .top-hero { padding: 24px 18px 32px; } }

/* ---- VALUE（#pillars） ---- */
.pillars__title {
  font-size: clamp(26px, 3.8vw, 44px); font-weight: 700; line-height: 1.5; letter-spacing: .05em;
  margin: 0 0 20px; color: var(--ink-heading); text-wrap: pretty;
}
.pillars__lead { font-size: clamp(14px, 1.15vw, 16.5px); color: var(--ink-secondary); line-height: 1.95; margin: 0 auto; max-width: 40em; }
@media (max-width: 734px) { .pillars__lead br { display: none; } }

/* ---- MANAGEMENT ---- */
.sec-title + .mgmt__lead { line-height: 1.85; }
.mgmt__steps { --min: 220px; margin-bottom: clamp(40px, 5vw, 60px); }
.mgmt__img { margin-bottom: 18px; background: var(--frame-white); }
.mgmt-settings {
  background: var(--surface); border: 1px solid var(--border); border-radius: 20px;
  padding: clamp(24px, 3vw, 36px) clamp(22px, 3vw, 40px); box-shadow: var(--shadow-card);
}
.mgmt-settings__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 18px; margin-bottom: 18px; }
.mgmt-settings__title { font-size: clamp(17px, 1.6vw, 20px); font-weight: 900; color: var(--ink-heading); margin: 0; line-height: 1.5; }
.mgmt-settings__note { font-size: 13.5px; color: var(--ink-muted); line-height: 1.8; margin: 0; }
.mgmt-settings__list { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 10px 32px; }
