/* ============================================================
   高校生の皆さんへ（/forstudents/）— CSS
   すべて .hs-lp の中に閉じ込めて、テーマやElementorと干渉させない
   文字サイズはpxで指定する（テーマがスマホ幅で基準サイズを14pxに下げるため、remは使わない）
   ============================================================ */

/* ----- RESET & BASE ----- */
.hs-lp,
.hs-lp *,
.hs-lp *::before,
.hs-lp *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.hs-lp {
  --hs-navy: #0D1B2A;
  --hs-blue: #4FC3F7;
  --hs-blue-dark: #0277BD;
  --hs-gold: #FFD24A;
  --hs-gold-dark: #E0A800;
  --hs-text: #1A2433;
  --hs-text-sub: #5B6878;
  --hs-gray: #F2F3F5;
  --hs-line: #D9DDE2;
  --hs-radius: 14px;
  --hs-font: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
  --hs-font-en: 'Oswald', 'Noto Sans JP', sans-serif;

  font-family: var(--hs-font);
  color: var(--hs-text);
  background: #FFFFFF;
  line-height: 1.8;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

.hs-lp img { max-width: 100%; height: auto; display: block; }
.hs-lp a { color: inherit; text-decoration: none; }
.hs-lp ul, .hs-lp ol { list-style: none; }
.hs-lp b, .hs-lp strong { font-weight: 700; }
.hs-lp .hs-nowrap { white-space: nowrap; }
/* サイト全体のフォント設定（Use Any Font）が h1〜h6 にチーム英字フォントを !important で当てているため、
   見出しの英字も本文と同じ日本語フォントに戻す */
.hs-lp :is(h1, h2, h3, h4, h5, h6) { font-family: var(--hs-font) !important; }

/* 見出しや短い文はHTML側で文節ごとに<wbr>を入れてあり、その要素では単語の途中で改行しない */
.hs-lp :has(> wbr) { word-break: keep-all; overflow-wrap: anywhere; text-wrap: balance; }
.hs-lp :is(h1, h2, h3, h4) { text-wrap: balance; }
.hs-lp p { text-wrap: pretty; }
.hs-lp .hs-sp { display: none; }
@media (max-width: 600px) { .hs-lp .hs-sp { display: inline; } }

/* ----- LAYOUT ----- */
.hs-container { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.hs-container--narrow { max-width: 760px; }

.hs-section { padding: 88px 0; scroll-margin-top: 80px; }
.hs-section--tint { background: var(--hs-gray); }
.hs-section--dark { background: var(--hs-navy); color: #FFFFFF; }
@media (max-width: 600px) { .hs-section { padding: 64px 0; } }

.hs-label {
  font-family: var(--hs-font-en);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.25em;
  color: var(--hs-blue-dark);
  text-align: center;
  margin-bottom: 8px;
}
.hs-section--dark .hs-label { color: var(--hs-blue); }

.hs-title {
  font-size: clamp(26px, 4.4vw, 38px);
  font-weight: 900;
  line-height: 1.4;
  text-align: center;
  margin-bottom: 20px;
}
.hs-title--left { text-align: left; }

.hs-lead {
  max-width: 720px;
  margin: 0 auto 44px;
  text-align: center;
  color: var(--hs-text-sub);
}
.hs-lead--left { text-align: left; margin-left: 0; margin-bottom: 28px; }
.hs-section--dark .hs-lead { color: #C9D4DF; }
@media (max-width: 600px) { .hs-lead { text-align: left; } }

/* ----- CARD ----- */
/* 枠線・影・背景は付けず、区切りは下線1本と余白だけ。
   背景の図形はカードの中身に関係なく、並び順（何番目か）で4種類を順に割り当てる */
.hs-card {
  position: relative;
  isolation: isolate;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--hs-line);
}
.hs-card::before {
  content: "";
  position: absolute;
  z-index: -1;
  right: 10px;
  bottom: 18px;
  width: 64px;
  height: 64px;
  background: var(--hs-text);
  opacity: 0.05;
  pointer-events: none;
}
.hs-card:nth-of-type(4n+1)::before { border-radius: 50%; }
.hs-card:nth-of-type(4n+2)::before { transform: rotate(45deg) scale(0.8); }
.hs-card:nth-of-type(4n+3)::before { clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.hs-card:nth-of-type(4n)::before { background: none; border: 12px solid var(--hs-text); border-radius: 50%; }
@media (max-width: 600px) {
  .hs-card::before { width: 48px; height: 48px; right: 6px; }
  .hs-card:nth-of-type(4n)::before { border-width: 9px; }
}
.hs-section--dark .hs-card { border-bottom-color: rgba(255, 255, 255, 0.2); }
.hs-section--dark .hs-card::before { background: #FFFFFF; opacity: 0.07; }
.hs-section--dark .hs-card:nth-of-type(4n)::before { background: none; border-color: #FFFFFF; }

/* ----- BUTTONS & LINKS ----- */
.hs-btn {
  display: inline-block;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 999px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.hs-btn--gold { background: var(--hs-gold); color: var(--hs-navy) !important; box-shadow: 0 4px 0 var(--hs-gold-dark); }
.hs-btn--gold:hover { transform: translateY(2px); box-shadow: 0 2px 0 var(--hs-gold-dark); }
.hs-btn--lg { font-size: 18px; padding: 18px 44px; }

.hs-links { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: center; margin-top: 40px; }
.hs-link {
  font-weight: 700;
  color: var(--hs-blue-dark) !important;
  border-bottom: 2px solid currentColor;
  padding-bottom: 2px;
}
.hs-link::after { content: "\00A0→"; }
.hs-link:hover { opacity: 0.7; }

/* ----- HERO ----- */
.hs-hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  color: #FFFFFF;
  background: var(--hs-navy);
  overflow: hidden;
}
.hs-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  object-position: center 30%;
}
/* 写真の上の文字を読みやすくするための単色の暗幕 */
.hs-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(13, 27, 42, 0.72);
}
.hs-hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 80px 20px;
}
.hs-eyebrow {
  font-family: var(--hs-font-en);
  letter-spacing: 0.3em;
  color: var(--hs-blue);
  font-weight: 600;
  margin-bottom: 16px;
}
.hs-hero-title {
  font-size: clamp(35px, 7vw, 64px);
  font-weight: 900;
  line-height: 1.25;
  color: #FFFFFF;
  margin-bottom: 20px;
}
.hs-hero-lead { max-width: 540px; font-size: 17px; color: #E3EAF1; margin-bottom: 36px; }

.hs-track { display: grid; grid-template-columns: repeat(2, minmax(0, 320px)); gap: 16px; }
.hs-track-btn {
  display: block;
  padding: 18px 22px;
  border-radius: var(--hs-radius);
  background: var(--hs-gold);
  color: var(--hs-navy) !important;
  box-shadow: 0 4px 0 var(--hs-gold-dark);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.hs-track-btn--alt { background: var(--hs-blue); box-shadow: 0 4px 0 var(--hs-blue-dark); }
.hs-track-btn:hover { transform: translateY(2px); box-shadow: 0 2px 0 var(--hs-gold-dark); }
.hs-track-btn--alt:hover { box-shadow: 0 2px 0 var(--hs-blue-dark); }
.hs-track-label { display: block; font-size: 18px; font-weight: 900; }
.hs-track-label::after { content: "\00A0↓"; }
.hs-track-sub { display: block; font-size: 13px; font-weight: 500; line-height: 1.5; margin-top: 4px; }

@media (max-width: 600px) {
  .hs-hero { min-height: 0; }
  .hs-hero-inner { padding: 64px 16px 48px; }
  .hs-hero::after { background: rgba(13, 27, 42, 0.78); }
  .hs-track { grid-template-columns: 1fr; }
}

/* ----- SUBNAV ----- */
.hs-subnav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--hs-line);
  backdrop-filter: blur(6px);
}
.hs-subnav ul {
  display: flex;
  gap: 4px;
  max-width: 1080px;
  margin: 0 auto;
  padding: 10px 16px;
  overflow-x: auto;
  scrollbar-width: none;
}
.hs-subnav ul::-webkit-scrollbar { display: none; }
.hs-subnav a {
  display: block;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  color: var(--hs-text-sub);
}
.hs-subnav a:hover { color: var(--hs-navy); background: var(--hs-gray); }
.hs-subnav a.is-active { color: #FFFFFF; background: var(--hs-navy); }

/* ----- NUMBERS ----- */
.hs-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px 28px; }
.hs-stat {
  display: flex;
  flex-direction: column;
  text-align: center;
}
.hs-stat-value { font-size: 18px; font-weight: 700; color: var(--hs-navy); line-height: 1.3; }
.hs-stat-value b { font-family: var(--hs-font-en); font-size: 42px; margin: 0 2px; color: var(--hs-blue-dark); }
.hs-stat-name { font-weight: 700; margin-top: 8px; }
.hs-stat-note { font-size: 14px; color: var(--hs-text-sub); margin-top: 6px; line-height: 1.6; }
.hs-motto { text-align: center; margin-top: 36px; font-size: 17px; }
.hs-motto strong { color: var(--hs-blue-dark); }
@media (max-width: 860px) { .hs-stats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .hs-stat-value b { font-size: 34px; } }
.hs-stat-value b { white-space: nowrap; }
/* 幅の狭いスマホ（iPhone SEなど）：大きな数字と英字見出しが折り返さないよう少し詰める */
@media (max-width: 360px) {
  .hs-stat-value b { font-size: 28px; }
  .hs-eyebrow { letter-spacing: 0.16em; }
}

/* ----- BEGINNER: VOICES ----- */
.hs-voices { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px 32px; }
.hs-voice { display: flex; flex-direction: column; }
.hs-voice-from {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 8px;
  font-weight: 900;
  font-size: 15px;
  background: var(--hs-navy);
  color: #FFFFFF;
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.hs-voice-from .hs-arrow { color: var(--hs-gold); }
.hs-voice-quote { font-size: 17px; font-weight: 700; line-height: 1.7; color: var(--hs-navy); margin-bottom: 12px; }
.hs-voice-skill { font-size: 14px; color: var(--hs-text-sub); margin-bottom: 16px; }
.hs-voice-meta {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 2px 12px;
  font-size: 14px;
  color: var(--hs-text-sub);
}
.hs-voice-name { font-weight: 700; color: var(--hs-text); font-size: 15px; }
@media (max-width: 760px) { .hs-voices { grid-template-columns: 1fr; } }

.hs-story {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 32px;
  align-items: center;
  margin-top: 48px;
}
.hs-story-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; height: auto !important; border-radius: var(--hs-radius); }
.hs-story-label { font-family: var(--hs-font-en); letter-spacing: 0.25em; color: var(--hs-blue-dark); font-size: 14px; }
.hs-story-title { font-size: 22px; font-weight: 900; line-height: 1.5; margin: 6px 0 18px; color: var(--hs-navy); }
.hs-story-steps li {
  display: grid;
  grid-template-columns: 3.4em 1fr;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--hs-line);
  font-size: 15px;
}
.hs-story-steps li:last-child { border-bottom: 0; }
.hs-story-steps b { color: var(--hs-blue-dark); font-weight: 900; }
@media (max-width: 760px) {
  .hs-story { grid-template-columns: 1fr; gap: 20px; }
  .hs-story-img { aspect-ratio: 16 / 9; }
}

/* ----- EXPERIENCED ----- */
.hs-section--dark .hs-title { color: #FFFFFF; }
.hs-captain {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 28px;
  align-items: center;
  margin-bottom: 36px;
}
.hs-captain-img { width: 180px; height: 180px !important; object-fit: cover; border-radius: 50%; background: #FFFFFF; }
.hs-captain-role { font-size: 14px; color: var(--hs-blue); font-weight: 700; }
.hs-captain-name { font-size: 26px; font-weight: 900; color: #FFFFFF; line-height: 1.4; }
.hs-captain-meta { font-size: 14px; color: #C9D4DF; margin-bottom: 14px; }
.hs-captain-quote { border-left: 4px solid var(--hs-gold); padding-left: 16px; font-weight: 700; line-height: 1.8; }
@media (max-width: 640px) {
  .hs-captain { grid-template-columns: 1fr; text-align: center; }
  .hs-captain-img { width: 140px; height: 140px !important; margin: 0 auto; }
  .hs-captain-quote { text-align: left; }
}

.hs-points { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 32px; }
.hs-point h3 { font-size: 18px; font-weight: 900; color: var(--hs-blue); margin-bottom: 8px; }
.hs-point p { font-size: 15px; color: #DCE4EC; }
@media (max-width: 640px) { .hs-points { grid-template-columns: 1fr; } }

.hs-exchange {
  margin-top: 40px;
  text-align: center;
}
.hs-exchange h3 { font-size: 20px; font-weight: 900; color: #FFFFFF; margin-bottom: 10px; }
.hs-exchange p { max-width: 680px; margin: 0 auto 22px; color: #DCE4EC; font-size: 15px; text-align: left; }

/* ----- STUDY ----- */
.hs-majors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 28px; }
.hs-major { display: flex; flex-direction: column; }
.hs-major-dept {
  background: var(--hs-navy);
  color: #FFFFFF;
  font-weight: 900;
  line-height: 1.5;
  padding: 14px 18px;
  border-radius: 8px;
}
.hs-major-text { padding: 16px 0 12px; font-size: 15px; }
.hs-major-who { margin-top: auto; font-size: 13px; color: var(--hs-text-sub); }
.hs-major-who b { color: var(--hs-text); font-size: 15px; }
@media (max-width: 860px) { .hs-majors { grid-template-columns: 1fr; } }

/* ----- TIMELINE ----- */
.hs-timeline { position: relative; max-width: 760px; margin: 0 auto; }
.hs-timeline::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 8px;
  bottom: 8px;
  width: 3px;
  background: var(--hs-line);
}
.hs-step { position: relative; padding: 0 0 36px 52px; }
.hs-step:last-child { padding-bottom: 0; }
.hs-step::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 4px;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 5px solid var(--hs-blue);
}
.hs-step--goal::before { background: var(--hs-gold); border-color: var(--hs-navy); }
.hs-step-when { font-family: var(--hs-font-en); font-weight: 600; color: var(--hs-blue-dark); letter-spacing: 0.05em; }
.hs-step-title { font-size: 20px; font-weight: 900; line-height: 1.5; margin-bottom: 6px; color: var(--hs-navy); }
.hs-step p { font-size: 15px; }
.hs-step-link { display: inline-block; margin-top: 8px; font-weight: 700; font-size: 15px; color: var(--hs-blue-dark) !important; }
.hs-step-link::after { content: "\00A0→"; }

/* ----- STAFF ----- */
.hs-staff { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.hs-staff .hs-label { text-align: left; }
.hs-parts { margin-bottom: 28px; }
.hs-parts li {
  display: grid;
  grid-template-columns: 3.6em 1fr;
  column-gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--hs-line);
  font-weight: 700;
}
.hs-parts b { grid-row: span 2; font-family: var(--hs-font-en); font-size: 21px; color: var(--hs-blue-dark); align-self: center; }
.hs-parts span { font-size: 14px; font-weight: 400; color: var(--hs-text-sub); }
.hs-staff-img { width: 100%; border-radius: var(--hs-radius); aspect-ratio: 4 / 5; object-fit: cover; height: auto !important; }
@media (max-width: 860px) {
  .hs-staff { grid-template-columns: 1fr; gap: 32px; }
  .hs-staff-img { aspect-ratio: 16 / 10; order: -1; }
}

/* ----- EVENTS ----- */
.hs-events { max-width: 760px; margin: 0 auto; }
.hs-events li { padding-top: 16px; }
.hs-events a {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
}
.hs-events a:hover .hs-event-name { text-decoration: underline; }
.hs-event-tag {
  font-size: 13px;
  font-weight: 700;
  color: var(--hs-blue-dark);
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 2px 10px;
  white-space: nowrap;
}
.hs-event-name { font-weight: 700; line-height: 1.6; }
.hs-events time { font-size: 14px; color: var(--hs-text-sub); white-space: nowrap; }
@media (max-width: 600px) {
  .hs-events a { grid-template-columns: 1fr; gap: 6px; }
  .hs-event-tag { justify-self: start; }
}

/* ----- FAQ ----- */
.hs-faq details { border-bottom: 1px solid var(--hs-line); }
.hs-faq summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  font-weight: 700;
  padding: 20px 44px 20px 36px;
}
.hs-faq summary::-webkit-details-marker { display: none; }
.hs-faq summary::before {
  content: "Q";
  position: absolute;
  left: 0;
  top: 17px;
  font-family: var(--hs-font-en);
  font-size: 21px;
  color: var(--hs-blue-dark);
}
.hs-faq summary::after {
  content: "+";
  position: absolute;
  right: 8px;
  top: 14px;
  font-size: 26px;
  font-weight: 400;
  color: var(--hs-text-sub);
  transition: transform 0.2s ease;
}
.hs-faq details[open] summary::after { transform: rotate(45deg); }
.hs-faq details p { padding: 0 8px 22px 36px; color: var(--hs-text-sub); }

/* ----- CTA ----- */
.hs-cta {
  background: var(--hs-navy);
  color: #FFFFFF;
  text-align: center;
  padding: 88px 0;
  scroll-margin-top: 80px;
}
.hs-cta-title { font-size: clamp(26px, 4.4vw, 37px); font-weight: 900; color: #FFFFFF; margin-bottom: 16px; }
.hs-cta-text { max-width: 640px; margin: 0 auto 32px; color: #C9D4DF; text-align: left; }
.hs-sns { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hs-sns a {
  display: block;
  padding: 8px 22px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
}
.hs-sns a:hover { background: rgba(255, 255, 255, 0.1); }
.hs-cta-note { margin-top: 28px; font-size: 14px; color: #C9D4DF; }
.hs-cta-note a { color: var(--hs-blue) !important; text-decoration: underline !important; }
