/*
 * JUN SPORTS HOKKAIDO 2027 — BEYOND GYMNASTICS
 * 既存site.cssのデザイントークンのみ使用。
 * NEWSのphero、STORYのphoto、PARTNERのpt-why / roles / CTAを継承。
 * このCSSは新設コンテンツの配置・レスポンシブだけを補完する。
 */

/* TOP：OUR STORYとATHLETESの間。独自のカードUIは使用しない。 */
.jsh-beyond { background: var(--ink); color: var(--paper); border-top: 1px solid var(--line); }
.jsh-beyond__heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px 48px; margin-bottom: 38px; }
.jsh-beyond__heading h2 { margin: 8px 0 0; font-size: clamp(38px, 5vw, 76px); font-weight: 900; line-height: 1.15; }
.jsh-beyond__heading p { flex: 0 1 390px; margin: 0; color: var(--soft); font-size: 15px; line-height: 2; }
.jsh-beyond__layout { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 0 48px; }
.jsh-beyond__photo { min-width: 0; min-height: 440px; margin: 0; position: relative; background: var(--ink-2); overflow: hidden; isolation: isolate; }
.jsh-beyond__photo img { position: absolute; inset: 0; height: 100%; width: 100%; object-fit: cover; filter: grayscale(1) contrast(1.2) brightness(.55); z-index: -2; }
.jsh-beyond__photo::after { content: ""; position: absolute; left: -15%; right: -15%; bottom: 24%; height: 13px; background: var(--red); transform: rotate(var(--axis)); z-index: -1; }
.jsh-beyond__photo-word { position: absolute; left: 26px; bottom: 42px; font-family: var(--display); font-weight: 900; font-size: clamp(68px, 7vw, 118px); letter-spacing: -.015em; line-height: .78; }
.jsh-beyond__links { border-top: 3px solid var(--paper); display: flex; flex-direction: column; }
.jsh-beyond__links a { flex: 1; display: grid; grid-template-columns: 62px minmax(0, 1fr) 30px; align-items: center; gap: 10px 16px; padding: 23px 0; border-bottom: 1px solid var(--line); text-decoration: none; transition: border-color .2s; }
.jsh-beyond__links a:hover, .jsh-beyond__links a:focus-visible { color: var(--paper); border-color: var(--red); }
.jsh-beyond__num { font: 900 53px/.9 var(--display); color: var(--red); }
.jsh-beyond__item { min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.jsh-beyond__item small { font: 800 16px/1.2 var(--display); letter-spacing: .14em; color: var(--mute); }
.jsh-beyond__item strong { font-weight: 900; font-size: clamp(17px, 2vw, 24px); line-height: 1.45; }
.jsh-beyond__item em { font-style: normal; color: var(--soft); font-size: 13px; line-height: 1.6; }
.jsh-beyond__arrow { font: 900 27px/1 var(--display); transition: transform .2s; }
.jsh-beyond__links a:hover .jsh-beyond__arrow { transform: translate(3px, -3px); color: var(--red); }

/* INNER：見出しはNEWSのpheroそのもの。タイトルのみスマホ幅に適合。 */
.jsh-initiative .phero__title { font-size: clamp(54px, 8.4vw, 116px); }
.jsh-initiative .phero__lead { max-width: 780px; }
.jsh-initiative .pt-why__body strong { font-weight: 900; }
.jsh-initiative .jsh-anchor-list { margin-top: 26px; }
.jsh-initiative .jsh-anchor-list a { color: var(--ink); }
.jsh-initiative .jsh-anchor-list a:hover { color: var(--red-ink); }
.jsh-section-title { width: 100%; font-weight: 900; font-size: clamp(32px, 4.4vw, 60px) !important; line-height: 1.2 !important; }
.jsh-feature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(30px, 5vw, 72px); align-items: center; }
.jsh-feature--reverse { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.jsh-feature--reverse .jsh-feature__image { order: 2; }
.jsh-feature--reverse .jsh-feature__text { order: 1; }
.jsh-feature__image { width: 100%; max-width: none; min-width: 0; aspect-ratio: 5/4; margin: 0; }
.jsh-feature__image img { width: 100%; height: 100%; object-fit: cover; }
.jsh-feature__text { min-width: 0; }
.jsh-feature__text h3 { margin: 12px 0 20px; font-size: clamp(29px, 3.1vw, 46px); font-weight: 900; line-height: 1.3; }
.jsh-feature__text p { margin: 0 0 16px; font-size: 16px; line-height: 2; color: var(--soft); }
.jsh-feature__text .btn, .jsh-feature__text .more-link { margin-top: 12px; }
.jsh-kicker { display: inline-block; font: 800 16px/1.4 var(--display); letter-spacing: .12em; color: var(--red); }
.jsh-initiative .paper .jsh-feature__text p { color: var(--ink-2); }
.jsh-initiative .paper .jsh-caution { color: var(--mute); }
.jsh-initiative .jsh-caution { font-size: 13px; line-height: 1.9; color: var(--mute); }
.jsh-initiative .paper .jsh-feature__text .jsh-kicker, .jsh-initiative .paper .eyebrow { color: var(--red-ink); }

/* 既存pt-roles / score sheetの「罫線＋大きな数字」を踏襲 */
.jsh-process { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 3px solid var(--paper); }
.jsh-process li { padding: 24px 20px 20px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.jsh-process li span { font: 900 48px/1 var(--display); color: var(--red); }
.jsh-process li b { font-size: 17px; font-weight: 900; }
.jsh-process li small { font-size: 13px; color: var(--soft); line-height: 1.6; }
.jsh-initiative .paper .jsh-process { border-top-color: var(--ink); }
.jsh-initiative .paper .jsh-process li { border-bottom-color: var(--soft); }
.jsh-initiative .paper .jsh-process li small { color: var(--ink-2); }
.jsh-explainer { margin-top: 56px; padding: 26px 0 0; border-top: 3px solid var(--ink); }
.jsh-explainer p { font-size: clamp(16px, 2.1vw, 22px); font-weight: 900; margin: 12px 0 0; line-height: 1.8; }
.jsh-explainer p span { color: var(--red-ink); margin: 0 .25em; }
.jsh-statement { margin-top: 45px; padding-top: 28px; border-top: 4px solid var(--red); }
.jsh-statement p { font-size: clamp(19px, 2.1vw, 27px); font-weight: 700; line-height: 1.8; }
.jsh-statement p strong { color: var(--red); font-weight: 900; }
.jsh-outcomes { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 32px; margin-top: 46px; padding: 18px 0; border-top: 3px solid var(--paper); border-bottom: 1px solid var(--line); }
.jsh-outcomes span { font-size: 12px; font-weight: 900; color: var(--soft); }
.jsh-outcomes p { margin: 0; font-weight: 900; line-height: 1.8; }
.jsh-outcomes i { color: var(--red); font-style: normal; margin: 0 .4em; }
.jsh-initiative .paper .jsh-outcomes { border-top-color: var(--ink); border-bottom-color: var(--soft); }
.jsh-initiative .paper .jsh-outcomes span { color: var(--ink-2); }
.jsh-largecopy { font-size: clamp(18px, 2.2vw, 26px); max-width: 840px; line-height: 1.9; }
.jsh-contact-row { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px 52px; align-items: end; margin-top: 56px; padding-top: 42px; border-top: 3px solid var(--ink); }
.jsh-contact-row h3 { margin: 12px 0 14px; font-size: clamp(25px, 3vw, 39px); font-weight: 900; line-height: 1.4; }
.jsh-contact-row p { max-width: 650px; margin: 0; line-height: 1.9; }
.jsh-contact-row .actions { flex-direction: column; }
.jsh-contact-row .btn { width: 100%; min-height: 56px; text-align: center; }

/* PC / タブレット / スマートフォン：site.cssのブレークポイントに合わせる */
@media (max-width: 1000px) {
  .jsh-beyond__layout { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 28px; }
  .jsh-beyond__links a { grid-template-columns: 46px minmax(0,1fr) 22px; padding: 19px 0; }
  .jsh-beyond__num { font-size: 44px; }
  .jsh-beyond__photo-word { font-size: 70px; }
}
@media (max-width: 800px) {
  .jsh-beyond__heading { align-items: start; }
  .jsh-beyond__layout { grid-template-columns: 1fr; gap: 30px; }
  .jsh-beyond__photo { min-height: 310px; }
  .jsh-beyond__photo-word { font-size: clamp(68px, 12vw, 105px); }
  .jsh-feature, .jsh-feature--reverse { grid-template-columns: 1fr; gap: 28px; }
  .jsh-feature--reverse .jsh-feature__image, .jsh-feature--reverse .jsh-feature__text { order: initial; }
  .jsh-feature__image { aspect-ratio: 16/9; }
  .jsh-process { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .jsh-contact-row { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .jsh-beyond { padding: 70px 0; }
  .jsh-beyond__heading { margin-bottom: 26px; }
  .jsh-beyond__photo { min-height: 270px; }
  .jsh-beyond__photo-word { left: 18px; bottom: 34px; font-size: clamp(62px, 13vw, 82px); }
  .jsh-beyond__links a { grid-template-columns: 46px minmax(0,1fr) 18px; gap: 10px; padding: 23px 0; }
  .jsh-beyond__num { font-size: 43px; }
  .jsh-beyond__item strong { font-size: 18px; }
  .jsh-initiative .phero__title { font-size: clamp(47px, 10vw, 62px); }
  .jsh-initiative .phero__in { padding-top: 72px; padding-bottom: 66px; }
  .jsh-initiative .sec { padding: 70px 0; }
  .jsh-section-title { font-size: clamp(30px, 8vw, 42px) !important; }
  .jsh-feature__image { aspect-ratio: 5/4; }
  .jsh-feature__text h3 { font-size: 28px; }
  .jsh-feature__text p { font-size: 15px; }
  .jsh-process { margin-top: 32px; }
  .jsh-process li { padding-right: 10px; }
  .jsh-process li b { font-size: 15px; }
  .jsh-process li span { font-size: 42px; }
  .jsh-outcomes { margin-top: 30px; }
  .jsh-outcomes p { font-size: 14px; }
  .jsh-initiative .jsh-anchor-list a { padding: 0 12px; font-size: 12px; }
}
/* LiveScoreの詳細は、既存のパートナーページと同じpt-actsを継承 */
.jsh-initiative .jsh-capabilities { margin-top: 40px; }
.jsh-initiative .jsh-capabilities .k { color: var(--paper); }
/* 縦長の英字タイトルが320px端末でも切れないよう調整 */
@media (max-width: 375px) {
  .jsh-initiative .phero__title { font-size: clamp(38px, 12vw, 45px); }
}


/* 新規3項目追加による画面幅不足を防止。
   ボタン、色、文字、背景は既存ヘッダーのまま。 */
@media (max-width: 1240px) {
  .hd__nav { display: none; }
  .hd__toggle { display: inline-flex; }
}
