@charset "UTF-8";

/* ===== CSS Reset & Base ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    line-height: 1.7;
    background: #FFF;
}

/* ===== CSS Variables (Design Tokens) ===== */
:root {
    /* Colors */
    --color-border: #C0C0C0;
    --brand-red: #B81212;
    --ink: #1b1f23;
}

/* ===== Utility Classes ===== */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding-inline: 20px;
}

.container.fullbleed {
    padding-inline: 0;
    max-width: none;
}

h2,
p {
    color: #333333;
}

a {
    text-decoration: underline;
    transition: opacity 0.3s ease;
}

a:hover {
    opacity: 0.7;
}

/* PCのみ改行 */
.pc-only {
    display: inline;
}

/* SPのみ改行 */
.sp-only {
    display: none;
}


/* ===== heroセクション ===== */
.logo {
    position: absolute;
    top: clamp(24px, 4vh, 32px);
    left: clamp(24px, 4vw, 32px);
    z-index: 2;
    /* テキストより前面に */
    display: block;
    height: clamp(55px, 8vw, 83px);
    width: auto;
}

.hero__heading {
    background: #fff;
    border: 0;
    border-radius: 4px;
    display: inline-block;
    font-weight: 700;
    line-height: 1.25;
    font-size: clamp(24px, 4vw, 40px);
    padding: 5px 10px;
    opacity: 0;
    transform: scale(0.8);
    /* 80%から始まる */
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.hero__heading.is-show {
    opacity: 1;
    transform: scale(1);
}

.hero__subcopy {
    font-size: clamp(12px, 2vw, 20px);
    color: #fff;
    font-weight: 500;
    line-height: 1.25;
    margin-top: 8px;
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.hero__subcopy.is-show {
    opacity: 1;
    transform: scale(1);
}

.hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
    /* 背景のはみ出し防止 */
}

.hero__visual {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}

.hero__visual img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

.hero .container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
    height: 100%;
}

.hero__inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-top: clamp(152px, 16vh, 200px);
}

.hero__brands {
    display: flex;
    padding-right: 30px;
    /* デザイン補正 */
    align-items: center;
    justify-content: center;
    gap: clamp(16px, 3vw, 32px);
    /* ロゴと×の間隔を可変で調整 */
    margin-bottom: 32px;
}

/* 洋野町 ロゴ（左） */
.logo-hirono {
    display: block;
    width: 180px;
    height: 44px;
    object-fit: contain;
}

/* NEXT REVOLUTION ロゴ（右） */
.logo-nr {
    display: block;
    width: 150px;
    height: 50px;
    object-fit: contain;
}

.hero__brands span {
    color: #fff;
    font-size: 40px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
}


/* ===== Inclusive Message セクション ===== */
.inclusive-message {
    background: var(--brand-red);
    position: relative;
    overflow: hidden;
    min-height: 590px;
    padding-block: 100px 120px;
}

/* 「SPARTA CAMP」を薄く下部に表示 */
.inclusive-message::after {
    content: "SPARTA CAMP SPARTA CAMP SPARTA CAMP";
    position: absolute;
    inset: auto 0 -3vw 0;
    font-family: "Jost", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    font-size: clamp(80px, 10vw, 200px);
    line-height: 1.25;
    color: rgba(255, 255, 255, 0.30);
    white-space: nowrap;
    overflow: hidden;
    pointer-events: none;
    text-align: center;
}

.inclusive-message__inner {
    display: grid;
    grid-template-columns: 45% 55%;
    gap: 40px;
    align-items: center;
    margin-inline: auto;
    width: 100%;
}

.inclusive-message__title {
    color: #fff;
    font-weight: 700;
    line-height: 1.5;
    font-size: clamp(35px, 3.9vw, 54px);
    display: inline-block;
    max-width: 100%;
    overflow: hidden;
    min-height: clamp(160px, 20vw, 250px);
    height: clamp(160px, 20vw, 250px);
    /* タイピング切替時のチラつき防止のため高さ固定 */
    margin: 0;
    transition: opacity 0.3s ease;
}

.inclusive-message__body {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.8;
    color: #fff;
    max-width: 569px;
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* タイトルのタイピング切替時の位置変動を防ぐ */
    position: relative;
    z-index: 1;
}

.inclusive-message__body p {
    margin: 0 0 10px;
    color: #fff;
    align-items: flex-start;
}

.typing-wrap {
    position: relative;
    min-height: 100%;
    height: 100%;
    /* 親の固定高さを継承してチラつき防止 */
    margin-top: 8px;
}

.typing-line {
    display: inline-block;
    white-space: nowrap;
    min-height: 100%;
}


/* ===== About Hirono セクション ===== */
.about-hirono {
    padding-top: 80px;
}

#about-hirono .section-head {
    text-align: left;
    padding-left: clamp(32px, 8vw, 210px);
}

#about-hirono .eyebrow {
    text-transform: uppercase;
    font-weight: 800;
    color: var(--brand-red);
    font-size: clamp(16px, 2vw, 24px);
    margin-bottom: 8px;
}

#about-hirono h2 {
    font-weight: 700;
    font-size: clamp(32px, 2.6vw, 40px);
    line-height: 1.25;
    margin: 0 0 24px;
}

.about-hirono__items {
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid var(--color-border);
}

.about-item {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 70px;
    align-items: center;
    grid-template-areas: "content media";
    border-top: 1px solid var(--color-border);
    /* 各アイテムの上だけ線を引く（重複回避） */
}

.about-item__content {
    grid-area: content;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-item__media {
    grid-area: media;
}

/* 偶数行（02,04）は左右反転 */
.about-item:nth-child(even) {
    grid-template-columns: 0.9fr 1.1fr;
    grid-template-areas: "media content";
}

.about-item__media img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.about-item__content-inner {
    display: flex;
    align-items: flex-end;
    margin-bottom: 16px;
}

/* 奇数（01,03）→ 左に 210px の余白 */
.about-item:nth-child(odd) .about-item__content {
    padding-left: clamp(32px, 8vw, 210px);
}

.about-item__index {
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1;
    font-size: clamp(64px, 6vw, 80px);
    -webkit-text-stroke: 2px var(--brand-red);
    color: transparent;
}

.about-item__title {
    font-weight: 800;
    color: var(--brand-red);
    font-size: clamp(24px, 2vw, 28px);
    margin: 8px 0 0;
    padding-left: 8px;
    letter-spacing: 0.05em;
}

.about-item__text {
    color: var(--ink);
    line-height: 1.75;
    font-weight: 500;
    font-size: 16px;
    text-align: justify;
    max-width: 48ch;
    letter-spacing: 0.05em;
}

/* Firefox fallback */
@supports not (-webkit-text-stroke: 2px var(--brand-red)) {
    .about-item__index {
        color: rgba(192, 0, 25, .18);
        filter: drop-shadow(0 0 0 var(--brand-red));
    }
}

/* ===== Free Lectures セクション ===== */

/* セクション全体：背景ワードクラウド用の配置設定 */
.free-lectures {
    position: relative;
    background: #f7f7f7;
    font-family: 'Noto Sans JP', sans-serif;
}

/* コンテナ：フルワイド表示/前景テキストを背景ワードクラウドより上に */
.free-lectures .container {
    max-width: none;
    width: 100%;
    padding-inline: 0;
    position: relative;
    z-index: 1;
}

/* グリッドレイアウト：左上（無料受講料）、右上（やる気に〜）、下段全幅（土日〜） */
.free-lectures__inner {
    position: relative;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    /* 左カラム広め、右カラム狭め */
    grid-template-rows: auto auto;
    /* 上段・下段の2行 */
    gap: 40px;
    padding-block: 100px;
    padding-inline: 40px;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 65vh;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}

/* 背景ワードクラウド：セクション全体に散りばめる装飾テキスト */
.free-lectures__wordcloud {
    position: absolute;
    inset: 0;
    pointer-events: none;
    /* クリック不可 */
    user-select: none;
    /* 選択不可 */
    overflow: hidden;
    z-index: 0;
    /* 前景テキストより後ろ */
    padding-inline: clamp(18px, 3.5vw, 52px);
}

/* 背景ワードクラウドの各テキスト：初期は薄く表示 */
.free-lectures__wordcloud .w {
    position: absolute;
    font-weight: 900;
    color: #a0a3aa;
    letter-spacing: .02em;
    line-height: 1;
    white-space: nowrap;
    opacity: 0.25;
    transition: opacity 0.8s ease, transform 0.8s ease, font-size 1.2s cubic-bezier(0.23, 1, 0.32, 1);
    transform: translate3d(0, 0, 0) scale(1);
}

/* モーション配慮：アニメーション無効化設定時は静的表示 */
@media (prefers-reduced-motion: reduce) {
    .free-lectures__wordcloud .w {
        transition: none;
        transform: none;
        opacity: .28;
    }
}

/* ========== 背景ワードクラウドの個別配置（p01〜p15） ========== */

/* 人生が */
.p01 {
    top: 11%;
    left: 30%;
}

/* 変わる */
.p02 {
    top: 22%;
    left: 30%;
}

/* やる気しか無い */
.p03 {
    top: 35%;
    left: 29%;
}

/* スキルを */
.p04 {
    top: 64%;
    left: 3%;
}

/* 身につける */
.p05 {
    top: 72%;
    left: 3%;
}

/* 一歩踏み出す勇気 */
.p06 {
    top: 82%;
    left: 3%;
}

/* 夢を語り */
.p07 {
    top: 42%;
    left: 28%;
}

/* まくれ */
.p08 {
    top: 53%;
    left: 35%;
}

/* 地方移住（縦書き） */
.p09 {
    top: 11%;
    left: 50%;
}

/* スパルタキャンプ */
.p10 {
    top: 46%;
    left: 57%;
}

/* やべえええええぇ */
.p11 {
    top: 52%;
    left: 65%;
}

/* プログラミング未経験者大歓迎 */
.p12 {
    top: 59%;
    left: 2%;
}

/* 楽しんだもん勝ち */
.p13 {
    top: 58%;
    left: 55%;
}

/* 自然豊かな（縦書き）*/
.p14 {
    top: 24%;
    left: 93%;
}

/* 環境で学べる（縦書き） */
.p15 {
    top: 35%;
    left: 87%;
}

/* 背景ワードクラウドの縦書き設定 */
.free-lectures__wordcloud .w.vertical-text {
    writing-mode: vertical-rl;
    text-orientation: upright;
    letter-spacing: 0.1em;
    line-height: 1.2;
}

/* ========== 前景テキスト（メインコンテンツ） ========== */

/* 左上：「無料」「受講料」の縦書き巨大タイポ */
.free-lectures__left {
    grid-column: 1;
    grid-row: 1;
    display: flex;
    flex-direction: row;
    /* 受講料（左）、無料（右）の横並び */
    align-items: flex-start;
    justify-self: start;
    align-self: start;
    gap: clamp(16px, 2.5vw, 32px);
    text-align: left;
    z-index: 20;
    /* 背景より前面 */
    position: relative;
    margin-top: 0;
    padding-left: 40px;
}

/* 右上：「やる気に満ちた〜出会える。」3行見出し */
.free-lectures__right {
    grid-column: 2;
    grid-row: 1;
    justify-self: start;
    align-self: start;
    text-align: left;
    margin-top: 0px;
    padding-right: 40px;
}

/* 「無料」テキスト：縦書き・赤文字・特大 */
.free-lectures__free {
    writing-mode: vertical-rl;
    text-orientation: upright;
    line-height: .9;
    display: inline-block;
    color: var(--brand-red, #B81212);
    font-weight: 900;
    font-size: clamp(50px, 11vw, 165px);
    letter-spacing: .02em;
    z-index: 10;
    position: relative;
    text-shadow: 0 0 1px var(--brand-red, #B81212);
    transition: font-size 1.2s cubic-bezier(0.23, 1, 0.32, 1), transform 0.3s ease;
}

/* 「受講料」テキスト：縦書き・黒文字・大 */
.free-lectures__label {
    writing-mode: vertical-rl;
    text-orientation: upright;
    line-height: 1;
    display: inline-block;
    color: #222;
    font-weight: 900;
    font-size: clamp(44px, 9vw, 128px);
    margin-top: 0;
    z-index: 10;
    position: relative;
    text-shadow: 0 0 1px #222;
    transition: font-size 1.2s cubic-bezier(0.23, 1, 0.32, 1), transform 0.3s ease;
}

/* 右上見出し：「やる気に満ちた〜出会える。」3行表示 */
.free-lectures__headline {
    font-weight: 900;
    letter-spacing: .02em;
    line-height: 1.2;
    font-size: clamp(30px, 5.5vw, 85px);
    color: #222;
    white-space: nowrap;
    z-index: 10;
    position: relative;
    text-shadow: 0 0 1px #222;
    transition: font-size 1.2s cubic-bezier(0.23, 1, 0.32, 1), transform 0.3s ease;
}

/* 見出し内の各行をブロック化 */
.free-lectures__headline span {
    display: block;
}

/* 2行目「最高の仲間に」のみ赤文字 */
.free-lectures__headline .accent {
    color: var(--brand-red, #B81212);
    text-shadow: 0 0 1px var(--brand-red, #B81212);
}

/* ========== 下段：「土日」「集中講義」「平日質問サポートあり」 ========== */

/* 下段エリア：グリッド全幅、下揃え */
.free-lectures__bottom {
    grid-column: 1 / -1;
    grid-row: 2;
    padding: 0 40px 0 220px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 30px;
    max-width: 100%;
    overflow: hidden;
}

/* 「土日」テキスト：赤文字・特大 */
.free-lectures__weekend-left,
.free-lectures__weekend-right {
    margin: 0;
    font-weight: 900;
    color: var(--brand-red, #B81212);
    font-size: clamp(60px, 12vw, 160px);
    letter-spacing: .03em;
    line-height: 1.1;
    z-index: 10;
    position: relative;
    white-space: nowrap;
    text-shadow: 0 0 1px var(--brand-red, #B81212);
    transition: font-size 1.2s cubic-bezier(0.23, 1, 0.32, 1), transform 0.3s ease;
}

/* 「集中講義」テキスト：中サイズに縮小＆下げる */
.free-lectures__weekend-right {
    font-size: clamp(40px, 6.5vw, 100px);
    white-space: nowrap;
    margin-top: 24px;
}

/* 「集中講義」と「平日サポート」の縦並びコンテナ */
.free-lectures__right-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 0;
    max-width: min-content;
}

/* 「平日質問サポートあり」テキスト：黒文字・小サイズ */
.free-lectures__support {
    margin: 0;
    font-weight: 900;
    color: #222;
    font-size: clamp(18px, 3.2vw, 48px);
    letter-spacing: .02em;
    text-align: left;
    z-index: 10;
    position: relative;
    text-shadow: 0 0 1px #222;
    white-space: nowrap;
    transition: font-size 1.2s cubic-bezier(0.23, 1, 0.32, 1), transform 0.3s ease;
}

/* ========== 背景ワードクラウドのサイズ階層定義（s1〜s5） ========== */

.free-lectures__wordcloud .w.s1 {
    font-size: clamp(16px, 2vw, 32px);
}

.free-lectures__wordcloud .w.s2 {
    font-size: clamp(22px, 2.6vw, 40px);
}

.free-lectures__wordcloud .w.s3 {
    font-size: clamp(28px, 3.2vw, 48px);
}

.free-lectures__wordcloud .w.s4 {
    font-size: clamp(38px, 4.5vw, 64px);
}

.free-lectures__wordcloud .w.s5 {
    font-size: clamp(48px, 5.5vw, 80px);
}

/* サイズ変化アニメーション */
#free-lectures .w.size-animate {
    animation: randomScale var(--random-duration, 2000ms) cubic-bezier(0.4, 0, 0.2, 1) infinite alternate;
}

@keyframes randomScale {
    from { transform: scale(1); }
    to { transform: scale(var(--random-scale, 1.06)); }
}

/* 背景ワード：点灯中に“ふわっ”と濃く＆少し上へ */
#free-lectures .free-lectures__wordcloud .w.is-on {
    opacity: 0.88;
    filter: blur(0);
}

/* 前面（赤・黒）文字：初期ははっきり */
#free-lectures .free-lectures__left .w,
#free-lectures .free-lectures__headline .w,
#free-lectures .free-lectures__bottom .w {
    opacity: 0.88;
    transform: translate3d(0, 0, 0) scale(1);
    filter: none;
    transition: transform .35s cubic-bezier(.25, .75, .25, 1),
                opacity .6s ease;
    backface-visibility: hidden;
    will-change: transform, opacity;
}

/* 前面（赤・黒）文字：点灯で“ふわっ”と強調 */
#free-lectures .free-lectures__left .w.is-on,
#free-lectures .free-lectures__headline .w.is-on,
#free-lectures .free-lectures__bottom .w.is-on {
    opacity: 1;
}


/* ===== Learning Content セクション ===== */

/*共通英語見出し*/
.eyebrow {
    text-transform: uppercase;
    font-weight: 700;
    color: var(--brand-red);
    font-size: 18px;
}

/*共通見出し*/
.section-head h2 {
    font-weight: 700;
    font-size: clamp(32px, 3vw, 40px);
}

.content {
    background: #f7f7f7;
    padding-block: clamp(56px, 3vh, 96px);
}

.section-head {
    text-align: center;
}

/* 学習内容・宿泊会場セクションの線 */
#learning-content .section-divider,
#accommodation .section-divider {
    width: 100vw;
    height: 1px;
    margin: 24px auto;
    background-color: var(--color-border);
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

.learning-content__title {
    font-weight: 500;
    font-size: clamp(20px, 3vw, 28px);
    text-align: center;
}

.learning-content__grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: start;
    gap: 64px;
    padding-top: clamp(20px, 3vh, 28px);
}

.learning-content__intro {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
}

.learning-content__brand img {
    height: clamp(85px, 20vw, 90px);
    width: auto;
    margin-bottom: 8px;
}

.learning-content__card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .06);
    padding: 24px;
}

.learning-content__cardtitle {
    font-weight: 800;
    font-size: clamp(16px, 2vw, 20px);
    margin: 0 0 12px;
}

.learning-content__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.learning-content__list li {
    position: relative;
    padding-left: 30px;
    margin: 12px 0;
    line-height: 1.7;
}

.learning-content__list li::before {
    content: "✔";
    position: absolute;
    left: 0;
    top: 0.1em;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #3B82F6;
    color: #fff;
    font-size: 12px;
    font-weight: 900;
}

/* view moreボタン */
.learning-content__actions {
    margin-top: 16px;
    align-self: flex-end;
}

.btn {
    display: inline-block;
    padding: 10px 16px;
    font-size: 16px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn--primary {
    background: var(--brand-red);
    color: #fff;
    line-height: 1;
}

.btn--primary:hover {
    background: #a00015;
    transform: translateY(-2px);
}

/* ===== Accommodation セクション ===== */
.accommodation__grid {
    display: grid;
    grid-template-columns: 0.7fr 1.3fr;
    gap: 40px;
    align-items: start;
    padding-top: clamp(64px, 10vh, 80px);
}

.accommodation__logo img {
    display: block;
    inline-size: clamp(180px, 20vw, 230px);
    height: auto;
}

.accommodation__desc {
    gap: 8px;
    display: flex;
    flex-direction: column;
    line-height: 1.75;
}

.accommodation__title {
    font-weight: 700;
    font-size: clamp(18px, 2.2vw, 20px);
}

.accommodation__facility {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-top: 24px;
}

.accommodation__sub {
    font-size: 13px;
    line-height: 1.75;
}

.accommodation__actions {
    flex-shrink: 0;
    align-self: flex-end;
}

.accommodation__card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .06);
    padding: 24px;
    margin-top: 40px;
}

.info {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.info .row {
    padding: 12px 0;
    border-top: 1px solid rgba(0, 0, 0, .06);
}

.info .row:first-child {
    border-top: none;
}

.info dt {
    font-weight: 800;
    margin-bottom: 6px;
}

.info dd {
    margin: 0;
    line-height: 1.9;
}

.sp-gap {
    display: block;
    height: 1.2em;
}

/* ===== Map セクション ===== */
.map.map--fullbleed {
    width: 100%;
    margin-left: 50%;
    transform: translateX(-50%);
    padding: 0;
    margin-block: 0;
}

.map__frame {
    aspect-ratio: 18 / 5;
    width: 100%;
    max-width: 100%;
    margin: 0;
    border-radius: 0;
    box-shadow: none;
    overflow: hidden;
}

.map__frame iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    filter: grayscale(1) contrast(1.1) brightness(.96);
}

/* ===== Camp Overview セクション ===== */
#camp-overview .section-head {
    margin-bottom: clamp(40px, 6vh, 64px);
}

.camp-overview {
    background: #fff;
    padding: 80px 0;
}

.camp-overview__table {
    display: block;
}

.camp-overview__table .row {
    position: relative;
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 24px;
    align-items: start;
    padding: 14px 0;
    border-top: 2px solid #cccccc;
}

.camp-overview__table .row::before {
    content: "";
    position: absolute;
    left: 0;
    top: -2px;
    width: 200px;
    height: 2px;
    background-color: #B81212;
}

/* 最終行の線（SP対応含む） */
.camp-overview__table .row:last-child::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    height: 2px;
    width: 200px;
    background-color: #B81212;
}

.camp-overview__table .row:last-child {
    border-bottom: 2px solid #cccccc;
}

.camp-overview__table dt {
    color: var(--brand-red, #B81212);
    font-weight: 800;
    letter-spacing: 0.02em;
    line-height: 1.6;
}

/* ===== FAQ セクション ===== */
#faq .section-head {
    margin-bottom: clamp(40px, 6vh, 64px);
}

#faq h2,
#faq .eyebrow {
    color: #fff;
}

.faq {
    background: var(--brand-red);
    position: relative;
    overflow: hidden;
}

.background-text-hirono {
    content: "in HIRONO";
    font-family: 'Impact';
    position: absolute;
    left: 40px;
    bottom: 35px;
    transform: translate(-47%, -50%) rotate(-270deg);
    font-size: 10em;
    color: rgba(255, 255, 255, 0.1);
    white-space: nowrap;
    pointer-events: none;
    z-index: 1;
}

.background-text-camp {
    content: "SPARTA CAMP";
    font-family: 'Impact';
    position: absolute;
    right: 35px;
    top: 430px;
    transform: translate(47%, -50%) rotate(-270deg);
    font-size: 10em;
    color: rgba(255, 255, 255, 0.1);
    white-space: nowrap;
    pointer-events: none;
    z-index: 1;
}

.faq__list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.faq__item {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .08);
    padding: 32px 50px;
}

.faq__question {
    color: var(--brand-red, #B81212);
    font-weight: 800;
    font-size: clamp(18px, 2.4vw, 22px);
    margin: 0 0 24px;
    padding: 0 0 10px;
    border-bottom: 3px solid var(--brand-red, #B81212);
    display: flex;
    align-items: flex-end;
    gap: 8px;
    line-height: 1.6;
}

.faq__q {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: 28px;
    margin-bottom: -2px;
}

.faq__answer {
    line-height: 2;
}

.faq__answer p {
    color: var(--brand-red, #B81212);
}

/* ===== Footer セクション ===== */
.footer-partners {
    padding: 96px 0;
}

.footer-partners__grid {
    display: grid;
    grid-template-columns: 0.8fr 1.6fr;
    gap: 15px;
    align-items: start;
}

.footer__logos {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
    justify-content: center;
}

.footer__logos .logo-hirono {
    height: 56px;
    width: auto;
}

.footer__logos .logo-nr {
    height: 64px;
    width: auto;
}

.footer__desc h3 {
    font-weight: 700;
    font-size: clamp(20px, 2.4vw, 24px);
    margin: 0 0 8px;
}

.footer__desc p {
    line-height: 1.8;
    margin: 0 0 12px;
    max-width: none;
}

.footer__desc {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 100%;
}

.footer-partners .btn {
    align-self: flex-end;
    margin-top: 24px;
    width: auto;
}

.footer-cta {
    position: relative;
    background-image: url("../images/footer_pc.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
    padding: 96px 0;
    display: flex;
    flex-direction: column;
    gap: 96px;
}

/*背景 半透明黒フィルター*/
.footer-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, .20), rgba(0, 0, 0, .40));
}

.footer-cta__inner {
    position: relative;
    text-align: center;
}

.footer__label {
    font-size: 16px;
    letter-spacing: 0.12em;
    opacity: 0.9;
    color: #fff;
}

.footer__countdown {
    font-weight: 500;
    font-size: clamp(38px, 5.6vw, 49px);
    margin: 0 0 12px;
    color: #fff;
}

.footer__period {
    margin: 0 0 18px;
    opacity: 0.92;
    color: #fff;
    font-size: 16px;
}

.footer__entry {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 395px;
    height: auto;
    padding: 10px;
    margin: 16px auto;
    background: #fff;
    color: #333;
    font-size: 48px;
    border-radius: 8px;
    text-align: center;
    line-height: 1.2;
    transition: transform .2s ease, box-shadow .2s ease;
    font-family: "Jost", sans-serif;

    /* 光スイープ ここから */
    position: relative;
    overflow: hidden;
    transform: translateZ(0);
}

.footer__entry::after {
    content: "";
    position: absolute;
    inset: 0 auto 0 -30%;
    width: 30%;
    transform: skewX(-20deg);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .7), transparent);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        left: -40%
    }

    60%,
    100% {
        left: 140%
    }
}

/* 微呼吸 */
.footer__entry {
    animation: breathe 4s ease-in-out infinite;
}

@keyframes breathe {

    0%,
    100% {
        transform: scale(1)
    }

    50% {
        transform: scale(1.02)
    }
}

/* モーション配慮 */
@media (prefers-reduced-motion: reduce) {

    .footer__entry,
    .footer__entry::after {
        animation: none
    }
}

/* 光スイープここまで */

.footer__tagline {
    color: #fff;
    font-size: clamp(12px, 3vw, 20px);
}

.footer__legal {
    position: absolute;
    right: 32px;
    bottom: 32px;
    text-align: left;
    font-size: 12px;
    line-height: 1.5;
    opacity: 0.85;
}

.footer__legal p {
    color: #fff;
    line-height: 1.5;
}

/* 締切後の見た目 */
.footer-cta.is-closed .footer__label {
    font-weight: 800;
    font-size: clamp(18px, 3vw, 24px);
}

.footer-cta.is-closed .footer__label::after {
    content: "（受付終了）";
    margin-left: 0.25em;
}

.footer-cta.is-closed .footer__countdown {
    display: none;
}

.footer-cta.is-closed .footer__entry {
    pointer-events: none;
    opacity: 0.45;
}

.js-animation {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.js-animation.is-show {
    opacity: 1;
    transform: translateY(0);
}
