/* 支給PDFのブランドコピーを優先し、文字を待たせず表示する。 */
/* 編集済みの端末別動画を中央に置き、再生前・停止時も同じ構図の画像を表示する。 */
.hero--video .hero__poster,.hero--video .hero__video{position:absolute;inset:0;width:100%;height:100%}
.hero--video .hero__poster{display:block}
.hero--brand.hero--video .hero__image{display:block;width:100%;height:100%;object-position:center;filter:none}
.hero--video .hero__video{z-index:1;object-position:center;filter:none;opacity:0;transition:opacity .35s ease}
.hero--video.has-media-ready .hero__video{opacity:1}
.hero--video .hero__overlay{z-index:2;pointer-events:none}
/* 小さな黒いドットを薄く重ね、拡大映像の質感とサイトの黒をなじませる。 */
.hero--video .hero__overlay::after{content:"";position:absolute;inset:0;background-image:radial-gradient(rgb(0 0 0/.32) .65px,transparent .9px);background-size:4px 4px;opacity:.28}
.hero--brand .hero__grid{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;min-height:100svh;padding-top:calc(var(--header) + 50px);padding-bottom:60px}
.hero--brand .hero__content{align-self:auto;width:100%;padding:0}
.hero--brand .hero__title{font-size:clamp(70px,8vw,124px);line-height:1;letter-spacing:-.035em;margin:26px 0 30px;max-width:900px}
.hero--brand .hero__title>span{display:block;opacity:1;transform:none}
.brand-yellow,.brand-concept h2 span{color:#ffed00}
.hero--brand .hero__lead{margin:0;animation:none}
.hero--brand .hero__lead strong{display:block;font-size:clamp(22px,2.5vw,32px);margin-bottom:20px}
.hero--brand .hero__lead>span{font-size:17px;line-height:2}
.hero--brand .hero__actions{width:min(650px,100%);margin-top:32px;animation:none}
.hero--brand .hero__overlay{background:linear-gradient(90deg,rgba(0,0,0,.65),rgba(0,0,0,.08)),linear-gradient(0deg,#000,transparent 65%)}
.brand-concept{background:#090909;padding:100px 0}
.brand-concept__grid{display:grid;grid-template-columns:1fr 1fr;gap:70px;align-items:center}
.brand-concept h2{font-size:clamp(32px,3.7vw,56px);line-height:1.5;letter-spacing:-.03em;margin:35px 0}
.brand-concept__copy>p:not(.section-label){font-size:16px;line-height:2.2;margin:24px 0}
.brand-concept figure{margin:0}.brand-concept img{width:100%;height:auto;display:block}
.brand-concept figcaption{padding:25px 0;border-bottom:1px solid #444}
.brand-concept figcaption small{display:block;font-size:11px;letter-spacing:.15em;color:#ffed00;margin-bottom:12px}
.brand-concept figcaption strong{font-size:clamp(18px,2vw,25px)}
@media(max-width:767px){
.hero--brand .hero__grid{justify-content:flex-start;padding-top:calc(var(--header) + 38px);padding-bottom:42px}
.hero--brand .hero__title{font-size:clamp(40px,12.4vw,92px);line-height:1.08;margin:28px 0 32px;letter-spacing:-.045em}
.hero--brand .hero__lead strong{font-size:21px}.hero--brand .hero__lead>span{font-size:14px}
.hero--brand .hero__actions{gap:12px;margin-top:30px}.hero--brand .hero__actions .button{min-height:54px}
.hero--brand .hero__overlay{background:linear-gradient(90deg,rgba(0,0,0,.4),transparent),linear-gradient(0deg,#000,rgba(0,0,0,.08) 85%)}
.brand-concept{padding:64px 0}.brand-concept__grid{grid-template-columns:1fr;gap:36px}.brand-concept h2{font-size:34px}.brand-concept__copy>p:not(.section-label){font-size:14px}
}
.hero--brand .hero__title{font-family:Arial,"Helvetica Neue",sans-serif;font-weight:900}
@media(min-width:768px) and (max-width:1100px){.hero--brand .hero__title{font-size:clamp(70px,10vw,105px)}.brand-concept__grid{gap:36px;grid-template-columns:1.05fr 1fr}.brand-concept h2{font-size:36px}.brand-concept__copy>p:not(.section-label){font-size:14px}.hero--brand .hero__image{object-position:72% center}}
@media(min-width:1101px){.hero--brand .hero__content{max-width:900px}.hero--brand .hero__image{object-position:70% center}}

/* スマホFVは固定の上寄せではなく、利用可能な高さの中央へコピーを配置する。 */
@media(max-width:767px){
 .hero--brand .hero__grid{min-height:100svh;justify-content:center;padding-top:calc(var(--header) + 36px);padding-bottom:48px}
 .hero--brand .hero__title{margin-top:22px;margin-bottom:26px}
 .hero--brand .hero__lead strong{margin-bottom:16px}
 .hero--brand .hero__actions{margin-top:26px}
}
@media(max-width:767px) and (max-height:700px){
 .hero--brand .hero__grid{padding-top:calc(var(--header) + 26px);padding-bottom:30px}
 .hero--brand .hero__title{margin-top:18px;margin-bottom:20px}
 .hero--brand .hero__lead strong{margin-bottom:12px}
 .hero--brand .hero__actions{margin-top:22px}
}

/* ヘッダー内のロゴに余白を確保。既存インライン寸法より優先する。 */
.site-header .site-logo .ksg-brand-image{width:142px!important;height:auto!important}
@media(max-width:767px){
 .site-header .site-logo .ksg-brand-image{width:126px!important;height:auto!important}
 /* 長い画面でもCTA下の空白が増えないよう、コピー群を下基準で配置する。 */
 .hero--brand .hero__grid{justify-content:flex-end;padding-top:calc(var(--header) + 32px);padding-bottom:clamp(32px,5svh,48px)}
}
@media(max-width:767px){.hero--brand .hero__grid{transform:none!important}}

/* 英字書体の試用。ここから末尾までを外すと直前のデザインへ戻せる。 */
:root{--display:Arial,"Helvetica Neue",sans-serif}
.section-title,.trial__title,.prepare-card h3,.division-card h3,.why-row h3,.course-step__station strong,.news-section-header h2{font-family:var(--display);font-weight:900;letter-spacing:-.035em;line-height:1.08}
.section-title,.trial__title{overflow-wrap:normal;word-break:normal}
.section-label,.hero__eyebrow,.desktop-nav,.mobile-menu__nav,.marquee,.course-step__run{font-family:var(--display)}
.section-label,.hero__eyebrow{font-weight:700;letter-spacing:.12em}
.prepare-card h3,.why-row h3,.course-step__station strong{font-weight:800}
@media(max-width:767px){
 .section-title{font-size:clamp(30px,9.4vw,46px)}
 .course__intro .section-title{font-size:clamp(33px,10vw,48px)}
 .trial__title{font-size:clamp(42px,12vw,64px)}
 .course-step__station strong{font-size:clamp(13px,3.6vw,18px)}
}

/* スマホのフッターは情報をまとめ、縦一列の長い積み上げを避ける。 */
@media(max-width:767px){
 .site-footer .site-footer__inner{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:auto auto auto;gap:22px 16px;padding-block:30px 22px;min-height:0}
 .footer-brand{grid-column:1;grid-row:1;min-width:0}
 .footer-brand .ksg-brand-image{width:128px!important;height:auto!important}
 .footer-brand>p{margin-top:10px;font-size:10px;line-height:1.6}
 .footer-social{grid-column:2;grid-row:1;min-width:0;align-self:center}
 .footer-social>p:first-child{font-size:10px;letter-spacing:.1em}
 .footer-social__status{font-size:11px;line-height:1.8;overflow-wrap:anywhere}
 .footer-social a{display:inline-block;padding-block:8px}
 .site-footer .footer-nav{grid-column:1/-1;grid-row:2;width:100%}
 .site-footer .footer-nav ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px}
 .site-footer .footer-nav li{min-width:0}
 .site-footer .footer-nav a{display:flex;min-height:44px;width:100%;border-bottom:1px solid #292929;font-size:12px}
 .site-footer .footer-meta{grid-column:1/-1;grid-row:3;display:block;padding-top:18px;margin:0}
 .footer-meta p{font-size:10px;line-height:2}
 .footer-meta small{display:block;font-size:9px;line-height:1.7;margin-top:10px}
}

/* フッターの縦装飾とリンク下線を除き、区切りは外周と規約欄だけにする。 */
.site-footer::before{content:none;display:none}
.site-footer .footer-nav a{border-bottom:0}
.site-footer .footer-meta{border-top:1px solid #292929}

/* 開いたメニューは大見出しと区別し、項目一覧として読みやすくする。 */
.mobile-menu__link{font-size:clamp(20px,4.8vw,28px);font-weight:600;letter-spacing:0;line-height:1.4;min-height:54px}
@media(max-width:767px){.mobile-menu__inner{padding-top:calc(var(--header) + 24px)}.mobile-menu__title{margin-bottom:18px}.mobile-menu__link{font-size:22px;min-height:50px}.mobile-menu .menu-cta{margin-top:24px}}

/* 種目名を主役にし、ランとの組み合わせは冒頭で説明する。 */
.course-format{display:block;color:var(--yellow,#f4f500);font-size:clamp(17px,1.6vw,23px);line-height:1.7;margin-bottom:18px}
.course-step__run{font-family:Arial,sans-serif;font-size:clamp(15px,1.4vw,21px);font-weight:700;line-height:1.5;overflow-wrap:anywhere}
@media(max-width:767px){
.course-step{grid-template-columns:42px minmax(0,1fr) 70px}
.course-step__index{grid-column:1;grid-row:1}
.course-step__run{grid-column:2;grid-row:1;font-size:16px;padding:18px 10px}
.course-step__station{grid-column:3;grid-row:1;padding:18px 8px;justify-content:center;align-items:center}
.course-step__station strong{display:none}
.course-step__station span{font-size:12px;white-space:nowrap}
.course-step figure{grid-column:1/-1;grid-row:2}
}

/* モバイルの全種目で写真枠を統一し、画像の元比率による高さの差を防ぐ。 */
@media(max-width:767px){
.course-list .course-step figure{position:relative;width:100%;height:auto;min-height:0;aspect-ratio:1.8/1;overflow:hidden}
.course-list .course-step figure img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;object-position:center}
}

/* PDFの競技フォーマット図：二つの枠と8回反復の帯。 */
.course-format--diagram{display:block;color:#f5f5f2;font-size:13px;line-height:1.5;margin-bottom:22px}
.course-format__pair{display:grid;grid-template-columns:minmax(0,1fr) 34px minmax(0,1fr);align-items:stretch}
.course-format__box{display:flex;flex-direction:column;justify-content:center;gap:12px;border:1px solid #42423d;padding:16px 13px;min-width:0}
.course-format__value{display:flex;align-items:baseline;gap:3px;font-size:42px;line-height:1.1;letter-spacing:-.04em;font-weight:800}
.course-format__value small{font-size:25px;font-weight:700;letter-spacing:-.04em}
.course-format__value--run{color:var(--acid,#f4f500);font-size:52px}
.course-format__plus{display:flex;align-items:center;justify-content:center;color:#92928b;font-size:28px;font-weight:400}
.course-format__repeat{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:10px;padding:10px 15px;border-left:3px solid var(--acid,#f4f500);background:#191a17}
.course-format__repeat strong{color:var(--acid,#f4f500);font-size:28px;white-space:nowrap}
@media(min-width:768px){.course__intro>p:last-child{min-width:0}.course-format__pair{grid-template-columns:minmax(0,1fr) 26px minmax(0,1fr)}.course-format__box{padding:14px 10px}.course-format__value{font-size:36px}.course-format__value--run{font-size:46px}.course-format__value small{font-size:21px}}

/* 広い画面では説明図を狭い第四列から独立させ、見出しと二列で配置する。 */
@media(min-width:768px){
.course__intro{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);column-gap:clamp(32px,6vw,96px);row-gap:30px;align-items:center}
.course__intro .section-label{grid-column:1/-1;grid-row:1}
.course__intro .section-title{grid-column:1;grid-row:2;margin:0;font-size:clamp(42px,5.2vw,76px);line-height:1.08}
.course__intro>p:last-child{grid-column:2;grid-row:2;align-self:center;justify-self:end;width:100%;max-width:500px;margin:0;font-size:13px}
.course-format__pair{grid-template-columns:minmax(0,1fr) 34px minmax(0,1fr)}
.course-format__box{padding:20px 18px;min-height:126px}
.course-format__value{font-size:46px}.course-format__value--run{font-size:56px}.course-format__value small{font-size:26px}
}
@media(min-width:768px) and (max-width:1023px){
.course__intro{column-gap:28px;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.course__intro .section-title{font-size:clamp(36px,5vw,50px)}
.course-format__box{padding:16px 12px;min-height:114px}.course-format__pair{grid-template-columns:minmax(0,1fr) 26px minmax(0,1fr)}
.course-format__value{font-size:38px}.course-format__value--run{font-size:48px}.course-format__value small{font-size:23px}
}

/* 競技の基本ルールを補足ではなく、種目一覧の前の主情報として扱う。 */
@media(min-width:768px){
.course__intro{grid-template-columns:1fr;row-gap:28px}
.course__intro .section-label{grid-column:1;grid-row:1}
.course__intro .section-title{grid-column:1;grid-row:2;font-size:clamp(42px,5vw,72px)}
.course__intro .section-title br{display:none}
.course__intro .section-title .motion-line{display:inline}
.course__intro>p:last-child{grid-column:1;grid-row:3;justify-self:start;width:100%;max-width:none;margin-top:10px}
.course-format--diagram{max-width:none;margin-bottom:18px}
.course-format__pair{grid-template-columns:minmax(0,1fr) 64px minmax(0,1fr)}
.course-format__box{align-items:center;padding:28px;gap:14px;min-height:170px;background:#080808;font-size:16px}
.course-format__value{font-size:64px}.course-format__value--run{font-size:72px}.course-format__value small{font-size:32px}
.course-format__plus{font-size:40px}
.course-format__repeat{padding:16px 28px;font-size:16px}
.course-format__repeat strong{font-size:36px}
}
@media(min-width:768px){
.course__intro .section-title{font-size:clamp(36px,4vw,58px)}
.course__intro .section-title .motion-line{display:inline-block;margin-right:.25em}
.course-format__repeat{justify-content:center;gap:32px}
}

/* 競技説明を適切な密度の一体型インフォグラフィックに整える。 */
@media(min-width:768px){
.course__intro{row-gap:20px;margin-bottom:40px}
.course__intro .section-title{font-size:clamp(34px,3.7vw,54px);letter-spacing:-.035em}
.course__intro>p:last-child{max-width:1040px;justify-self:start;margin-top:8px;font-size:12px;line-height:1.7}
.course-format--diagram{display:grid;grid-template-columns:minmax(0,2fr) minmax(180px,.8fr);align-items:stretch;gap:0;border:1px solid #383832;background:#0b0c0a;margin-bottom:14px}
.course-format__pair{grid-template-columns:minmax(0,1fr) 36px minmax(0,1fr);padding:22px 24px}
.course-format__box{border:0;background:transparent;min-height:0;padding:0 12px;gap:8px;align-items:flex-start;justify-content:center;font-size:13px}
.course-format__value{font-size:52px}.course-format__value--run{font-size:56px}.course-format__value small{font-size:24px}
.course-format__plus{font-size:26px;color:#797b70}
.course-format__repeat{margin:0;border-left:1px solid #555631;background:#191b0c;flex-direction:column-reverse;justify-content:center;align-items:center;gap:5px;padding:18px 20px;font-size:12px}
.course-format__repeat strong{font-size:52px;line-height:1.1;letter-spacing:-.04em}
}
