* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {

    background: linear-gradient(to bottom, #05070a, #1c2533);
    min-height: 100vh;

    /* 文字を「少しグレーがかった白」に（真っ白より目に優しい） */
    color: #e6e6e6;

    /* フォントを「しっぽり明朝」に設定 */
    font-family: 'Shippori Mincho', serif;

    /* 行間を少し広げて、ゆったり読ませる */
    line-height: 1.8;
}

#header {
    width: 100%;
    height: 100px;
    padding: 0 40px;
    padding-top: 10px;


    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;

    background-color: rgba(5, 7, 10, 0.85);
    /* すりガラスのようなボカシ効果（最新のモダンブラウザ用） */
    backdrop-filter: blur(10px);
}

.header-inner {

    max-width: 1200px;
    height: 100%;
    margin: 0 auto;

    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.logo {
    /* フォント設定などは不要になるので削除してOK */
    min-width: 80px;
    /* 最小サイズを確保 */
    max-width: 120px;
    /* ロゴの横幅（お好みで調整してください） */
    display: flex;
    /* 画像を上下中央に配置するため */
    align-items: center;
}

/* ロゴ画像の設定 */
.logo img {
    width: 100%;
    /* 親の幅(120px)いっぱいに表示 */
    height: auto;
    /* 高さは自動調整 */
    display: block;
    /* 隙間を消すおまじない */
}

#header h2 {

    white-space: nowrap;
    font-size: clamp(0.7rem, 2vw, 1rem);
    /* 画面幅に合わせて文字サイズを自動調整 */
    display: block;
    /* ★none から block に変更して表示！ */

    color: #aaa;
    /* 少し控えめな色に */
    margin-left: 20px;
    /* ★ロゴとの隙間を空ける */
    font-weight: normal;
    /* 太字にしすぎない */
    letter-spacing: 0.1em;
}



.global-nav {
    margin-left: auto;
}

.global-nav ul {

    display: flex;
    list-style: none;
    gap: 40px;
}

.global-nav ul li a {
    color: #aaa;
    font-size: 1rem;
    letter-spacing: 0.05e;
    position: relative;
    text-decoration: none;

}

.global-nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    /* 最初は長さゼロ */
    height: 3px;
    /* 刀の厚み（少し太くする） */

    /* 刀の形：左側を少し丸く、右側（切っ先）を鋭く尖らせる */
    border-radius: 0 50% 50% 0;

    /* 刀の輝き：刃の部分が光っているようなグラデーション */

    background: linear-gradient(to bottom,
            #ff4500 0%,
            /* 燃えるオレンジ */
            #ff0000 100%
            /* 核心の赤 */
        );
    box-shadow: 0 0 8px rgba(255, 69, 0, 0.6);
    /* 炎の揺らぎ */
    transition: width 0.4s ease-out;
    /* 鞘から抜くような少し速めの動き */
}

.global-nav a:hover {
    color: #f3f2f1;
}

.global-nav a:hover::after {
    width: 100%;
    /* 線がニューッと伸びる */
}

.main-visual {
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;

}

/* ====================================
   メインビジュアル
   ==================================== */
.main-visual {
    width: 100%;
    height: 100vh;
    /* 画面いっぱいの高さ */
    display: flex;
    justify-content: center;
    /* 左右中央 */
    align-items: center;
    /* 上下中央 */
    text-align: center;
    position: relative;
    overflow: hidden;

    /* background-image: url('img/53031.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    position: relative;
    z-index: 0; */
}

.bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;

}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(5, 7, 10, 0.6);
    z-index: -1;

}


.main-visual::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    /* 濃紺を半透明で被せる（写真の明るさに応じて 0.6 を調整） */
    background-color: rgba(11, 16, 22, 0.6);

    /* さらに「乗算」モードにすると、写真が背景に馴染んでプロっぽくなる */
    mix-blend-mode: multiply;

    z-index: -1;
    /* 文字より後ろ、画像より手前 */
}

/* メインテキストの箱 */
.main-text {
    z-index: 10;
}

/* メインコピー：「君は今、心の底から...」 */
.main-copy {
    font-size: 3.5rem;
    /* かなり大きく */
    font-weight: 700;
    letter-spacing: 0.3em;
    /* 文字の間隔を広くして威厳を出す */
    line-height: 1.5;
    margin-bottom: 30px;
    color: #fff;
    /* 縦書きに挑戦したい場合はここに追加 */
    /* writing-mode: vertical-rl; */
}

/* サブコピー：「日本のビジネスマンよ...」 */
.main-sub-copy {
    font-size: 1.2rem;
    letter-spacing: 0.5em;
    /* さらに広く */
    color: #ccc;
    font-family: 'Noto Sans JP', sans-serif;
}

/* 装飾：背景に薄く「ENJIN」のロゴや文字を置くのもアリ */
.main-visual::before {
    content: 'ENJIN';
    position: absolute;
    font-size: 15vw;
    /* 画面幅に合わせた巨大な文字 */
    font-weight: 900;
    color: rgba(255, 255, 255, 0.1);
    /* ほとんど見えないくらいの薄さ */
    z-index: 1;
    white-space: nowrap;


}


/* ====================================
   Mission
   ==================================== */

.mission-section {
    /* width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative; */

    /* グラデーションの上に、うっすら画像を重ねる魔法の記述 */
    background-image: linear-gradient(to bottom, rgba(5, 7, 10, 0.8), rgba(28, 37, 51, 0.9)),
        /* 上から黒を被せる */
        url('img/black_smoke.webp');
    /* ダウンロードした画像 */

    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
    /* 背景と画像を馴染ませる */

    width: 100%;
    min-height: 100vh;
    /* 画面いっぱいの高さを確保 */
    display: flex;
    /* Flexboxを開始 */
    flex-direction: column;
    /* 要素を縦（上から下）に並べる */
    justify-content: center;
    /* 【垂直方向】の中央寄せ */
    align-items: center;
    /* 【水平方向】の中央寄せ */
    padding: 100px 0;


    /* 前面のテキストが背景に隠れないようにする */
    .section-title-vertical,
    .mission-content {
        position: relative;
        z-index: 1;
        /* 背景より手前に表示 */
    }

    .mission-content {
        padding-top: 100px;
        /* display: flex; */
        justify-content: space-between;
        align-items: flex-start;
        gap: 60px;
    }

    .section-title-vertical {
        writing-mode: vertical-rl;
        text-orientation: upright;

        font-size: 4rem;
        font-family: 'Kaisei Decol', serif;
        font-weight: 900;
        margin: 0 auto;
        letter-spacing: 0.15em;
        opacity: 0;
        transform: translateY(30px);
        transition: all 1.2s ease-out;


        /* ゆっくりと現れる */
    }

    /* スクロールして表示された時にこのクラスをJSでつける（後述） */
    .section-title-vertical.is-show {
        opacity: 1;
        transform: translateY(0);
    }

    /* ミッションの本文 */
    .mission-text-box {
        max-width: 600px;
        margin-top: 100px;
        /* タイトルと少し位置をズラして松栄風に */
    }

    .mission-lead {

        font-size: 1.5rem;
        line-height: 1.6;
        margin-bottom: 40px;
        color: #fff;
        border-left: 1px solid #ff4500;
        /* 縦に細い「火種」の線を入れる */
        padding-left: 30px;
    }

    .mission-text {
        font-size: 1.5rem;
        line-height: 1.6;
        margin-bottom: 40px;
        color: #fff;
        border-left: 1px solid #ff4500;
        /* 縦に細い「火種」の線を入れる */
        padding-left: 30px;
    }



}

/* ====================================
   Program
   ==================================== */

.program-section {
    padding: 100px 50px;

    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.3));

}

.section-title {
    font-size: 4rem;
    font-family: 'Kaisei Decol', serif;
    font-weight: 900;
    margin: 0 auto;
    letter-spacing: 0.15em;
    opacity: 0;
    transform: translateY(30px);
    transition: all 1.2s ease-in;


}

.section-title.is-show {
    opacity: 1;
    transform: translateY(0);
}

.enviroment {
    padding-bottom: 100px;
}

.condition-items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.condition-card {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.03);
    /* うっすら背景色 */
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px 30px;
    transition: all 0.4s;
    position: relative
}

.enviroment h2 {
    text-align: center;
    font-size: 4rem;
    font-family: 'Shippori Mincho', serif;
    font-weight: 900;
    margin: 0 auto;
    letter-spacing: 0.15em;



}



.condition-card:hover {
    transform: translateY(-5px);
    border-color: #ff4500;
    box-shadow: 0 10px 30px rgba(255, 69, 0, 0.1)
}

.condition-card h3 {
    font-size: 1.5rem;
    color: #fff;
    font-family: 'Shippori Mincho', serif;
    margin-bottom: 25px;

    /* ★ここが超重要！これがないと線が迷子になります */
    position: relative;

    padding-bottom: 15px;
}

.condition-card h3::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: #ff4500;
    transition: width 0.3s;

}

.condition-card:hover h3::after {
    width: 100%;
}




.program-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 50px 0;
}

.program-card {
    width: 48%;
    position: relative;
    /* 文字を絶対配置するための基準 */
    cursor: pointer;
    /* 枠線や背景色はなくし、画像と文字だけで見せる */
    border: none;
    background: transparent;
    /* ホバー時の装飾用 */
}

.program-card:hover {
    transform: translateY(-5px);
    /* 四隅の色を一括で「火種オレンジ」に変える */
    background-image:
        linear-gradient(#a97310, #a97310), linear-gradient(#a97310, #a97310),
        linear-gradient(#a97310, #a97310), linear-gradient(#a97310, #a97310),
        linear-gradient(#a97310, #a97310), linear-gradient(#a97310, #a97310),
        linear-gradient(#a97310, #a97310), linear-gradient(#a97310, #a97310);

    /* 内側をぼんやり光らせる */
    box-shadow: inset 0 0 20px rgba(255, 69, 0, 0.1);
}

.card-img {
    width: 100%;
    height: 300px;
    /* 写真を少し大きく魅せる */
    position: relative;
    overflow: hidden;

    /* 画像の「右・下・左」の角を丸くする */
    border-radius: 0 30px 30px 30px;

    /* ★魔法の呪文：左上の角だけを「円形」に切り抜くマスク */
    -webkit-mask: radial-gradient(circle at top left, transparent 80px, black 81px);
    mask: radial-gradient(circle at top left, transparent 80px, black 81px);

    transition: all 0.4s;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}

.program-card:hover .card-img img {
    transform: scale(1.1);
    /* 画像ズーム */
}

.program-card:hover .card-img {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    /* 影を落とす */
}

/* テキストエリア */
.card-text {
    padding: 30px;
}

.card-text h3 {
    position: absolute;
    top: 0;
    left: 0;
    width: 90px;
    /* 切り抜きサイズに合わせる */
    height: 90px;
    padding-top: 10px;

    /* 文字のレイアウト */
    display: flex;
    flex-direction: column;
    /* 縦並びにする */
    align-items: flex-start;
    line-height: 1.2;

    /* デザイン */
    color: #ff4500;
    /* 火種オレンジ */
    font-family: 'Shippori Mincho', serif;
    z-index: 10;
}

.card-text h3::first-line {
    font-size: 1.4rem;
    font-weight: 700;
}

/* 日本語部分（遭遇, 知識...）を小さくするための調整 */
/* HTML側で改行<br>を入れる前提のスタイルです */
.card-text h3 {
    font-size: 0.9rem;
    color: #aaa;
    /* 日本語は少し薄く */
}

/* 見出しの横に装飾線をつける */
.card-text h3::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: #ff4500;
    margin-right: 10px;
    transform: rotate(45deg);
    /* ひし形にする */
}

.card-text p {
    margin-top: 20px;
    /* 画像との距離 */
    font-size: 0.95rem;
    line-height: 1.8;
    color: #ccc;
    font-family: 'Noto Sans JP', sans-serif;
    padding-left: 10px;
    /* 少しインデントして上品に */
    border-left: 2px solid #333;
    /* 控えめな縦線 */
    transition: border-color 0.3s;
}

.program-card:hover .card-text p {
    border-left-color: #ba3e10;
    /* ホバーで線が光る */
    color: #fff;
}

/* スマホ対応 */
@media screen and (max-width: 767px) {
    .program-card {
        width: 100%;
        margin-bottom: 40px;
    }

    .card-img {
        height: 220px;
    }
}




/* ====================================
   topics
   ==================================== */
.topics-section {

    padding: 100px 0;
    background: linear-gradient(to bottom, #1b5dad, #0b1016)
}

.top-title {
    padding-left: 30px;
    padding-right: 30px;
}

.top-title h2 {
    font-size: 2rem;
    color: #fff;
    font-family: 'Shippori Mincho', serif;
    margin-bottom: 25px;

    /* ★ここが超重要！これがないと線が迷子になります */
    position: relative;

    padding-bottom: 15px;
}

.top-title h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: #ff4500;
    transition: width 0.3s;

}

.top-title h2:hover::after {
    width: 100%;
}


.topics-list {
    padding-left: 30px;
    padding-right: 30px;
    display: flex;
    justify-content: space-between;
    gap: 40px 0;
    margin-top: 60px;
}

.topic-item {
    width: 31%;
    cursor: pointer;
    border-radius: 12px;
    background-color: rgba(255, 255, 255, 0.02);
    /* うっすら白い背景 */
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    overflow: hidden;
    /* 角丸からはみ出さないように */

    /* 枠線は廃止！代わりに影で浮遊感を出す */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.topic-item:hover {
    transform: translateY(-8px);
    background-color: rgba(255, 255, 255, 0.05);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
}


.topic-img {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.topic-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}

.topic-item:hover .topic-img img {
    transform: scale(1.08);
}

.topic-body {
    padding: 25px;
}

.topic-date {
    display: block;
    font-size: 0.8rem;
    color: #888;
    font-family: 'Noto Sans JP', sans-serif;
    margin-bottom: 12px;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;

}

.topic-date::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: #ff4500;

    margin-right: 10px;
    transform: rotate(45deg);
}

.topic-title {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #e6e6e6;
    font-family: 'Shippori Mincho', serif;
    transition: color 0.3s;

    /* 矢印を出すための準備 */
    position: relative;
    padding-right: 20px;
}

.topic-titile::after {
    content: '→';
    position: absolute;
    right: 0;
    top: 0;
    color: #ff4500;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease-out;
    font-family: sans-serif;


}

.topic-item:hover .topic-title::after {
    opacity: 1;
    transform: translateX(5px);
}

.topic-item:hover .topic-title {
    color: #fff;
    /* 文字もパキッと白く */
}


/* スマホ対応 */
@media screen and (max-width: 767px) {
    .topic-item {
        grid-template-columns: 1fr;
        gap: 40px;
        width: 100%;
        margin-bottom: 30px;

    }

    .topic-title {
        font-size: 1rem;
    }
}


/* ====================================
   members
   ==================================== */

.members-section {
    padding-top: 100px;
    /* padding-left: 30px;
    padding-right: 30px; */
    background: linear-gradient(to bottom, #05070a, #3a547e);
    padding-bottom: 100px;
}

.members-section .inner {
    max-width: 80%;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.members-section .inner h2 {
    font-size: 4rem;
    font-family: 'Shippori Mincho', serif;
    margin-bottom: 20px;
    letter-spacing: 0.05em;
}


.members-grid {
    display: flex;
    justify-content: center;

    gap: 40px;
    margin-top: 60px;
}

.member-card {
    width: 600px;
    padding: 40px 20px;

    background-color: rgba(255, 255, 255, 0.02);
    border-radius: 16px;
    /* 少し大きめの角丸で優しさを強調 */

    /* 枠線は無くし、影でふんわり浮かせる */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);

    transition: all 0.4s ease;
    cursor: pointer;
}




.member-card:hover {
    transform: translateY(-10px);
    background-color: rgba(255, 255, 255, 0.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4)
}


.member-card img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;

    border: 3px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s;
}

.member-card:hover img {
    border-color: #ff4500;
    transform: scale(1.05);
    /* 少しズームして表情を見せる */
}


/* 名前 */
.member-name {
    font-size: 1.3rem;
    color: #fff;
    font-family: 'Shippori Mincho', serif;
    margin-bottom: 8px;
    letter-spacing: 0.05em;
}

/* 役職 */
.member-role {
    font-size: 0.85rem;
    color: #b7aaa5;
    /* ここにブランドカラーを使ってアクセントに */
    font-family: 'Noto Sans JP', sans-serif;
    text-transform: uppercase;
    /* 英語を大文字にしてスタイリッシュに */
    letter-spacing: 0.1em;
    font-weight: 700;
}


/* スマホ対応 */
@media screen and (max-width: 767px) {
    .members-grid {

        flex-direction: column;
        align-items: center;

        gap: 30px;
    }

    .member-card {


        width: 100%;
        /* スマホでは横幅いっぱい */
        max-width: 350px;
        /* 広がりすぎ防止 */
    }
}


/* ====================================
   activity
   ==================================== */
.activity-section {
    padding: 120px 0;
    background-color: #0b1016;
    background-image: radial-gradient(#b84545 1px, transparent 1px);
    background-size: 20px 20px;
    /* 小さなドットパターン */
    overflow: hidden;
    /* はみ出し防止 */

}

.activity-class .inner h2 {
    font-size: 4rem;
    text-align: center;
    font-family: 'Shippori Mincho', serif;
    margin-bottom: 20px;
    letter-spacing: 0.05em;
}

.activity-class .inner .sub-title {
    font-size: 1.2rem;
    text-align: center;
    font-family: 'Shippori Mincho', serif;
    margin-bottom: 20px;
    letter-spacing: 0.05em;
}

.activity-section .inner p {
    font-size: 1rem;
}

.activity-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 60px;
    /* カード同士の間隔を広めに */
    margin-top: 80px;
}

/* ポラロイド風カード */
.activity-card {
    width: 300px;
    background-color: #c87f1f;
    /* あえての「白」でコントラスト最強に！ */
    padding: 15px 15px 30px 15px;
    /* 写真の周りの余白（ポラロイド枠） */

    /* 影を強めにつけて「置いてある感」を出す */
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.5);

    /* ★POPポイント1：初期状態で少し傾ける */
    transform: rotate(-3deg);

    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* ★POPポイント2：バネのような動き */
    position: relative;
    cursor: pointer;
}

/* 2枚目、4枚目...（偶数番目）は逆向きに傾ける */
.activity-card:nth-child(even) {
    transform: rotate(2deg) translateY(20px);
    /* 角度を変えて、位置も少しズラす */
}

/* ホバー時の動き：傾きを直して、手前に大きく飛び出す */
.activity-card:hover {
    transform: rotate(0) scale(1.15);
    /* 傾き0、拡大 */
    z-index: 10;
    /* 他のカードより上に */
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    /* 影を巨大にして浮遊感 */
}

/* --- テープで留めているような演出（擬似要素） --- */
.activity-card::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 30px;
    background-color: rgba(255, 69, 0, 0.8);
    /* 火種オレンジの半透明テープ */
    opacity: 0.8;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

/* 画像エリア */
.activity-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 20px;
    border: 1px solid #eee;
    /* 写真自体の薄い枠 */
}

/* テキストエリア（白背景なので文字は黒！） */
.activity-title {
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
    /* 黒文字 */
    font-family: 'Shippori Mincho', serif;
    margin-bottom: 10px;
    text-align: center;
}

.activity-description {
    font-size: 0.85rem;
    color: #f0eded;
    /* グレー文字 */
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    padding: 0 10px;
}

/* --- スマホ対応 --- */
@media screen and (max-width: 767px) {
    .activity-list {
        flex-direction: column;
        align-items: center;
        gap: 60px;
    }

    .activity-card {
        width: 80%;
        /* スマホでは傾きを少し控えめに */
        transform: rotate(-2deg);
    }

    .activity-card:nth-child(even) {
        transform: rotate(2deg);
    }
}


/* ====================================
   Contact / Entry (最後の決断)
   ==================================== */
.contact-section {
    padding: 150px 0;
    text-align: center;
    /* 決意を促す深い黒背景 */
    background: linear-gradient(to bottom, #0b1016, #000000);
}

.contact-section .inner h2 {
    font-size: 3rem;
    text-align: center;
    font-family: 'Shippori Mincho', serif;
    margin-bottom: 20px;
    letter-spacing: 0.05em;
}

.contact-message {
    font-size: 2rem;
    color: #fff;
    font-family: 'Shippori Mincho', serif;
    margin-bottom: 60px;
    line-height: 2;
}

/* 申し込みボタンのコンテナ */
.entry-btn-container {
    display: inline-block;
    position: relative;
}

/* ★最強のEntryボタン */
.entry-btn-container a {
    display: inline-block;
    width: 300px;
    padding: 20px 0;

    font-size: 1.5rem;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
    letter-spacing: 0.2em;

    /* グラデーションボタン */
    background: linear-gradient(45deg, #ff4500, #ff8c00);
    border-radius: 50px;
    /* 丸いボタン */

    /* 発光させる影 */
    box-shadow: 0 0 20px rgba(255, 69, 0, 0.6);
    transition: all 0.3s;
}

/* ホバー時の発光強化 */
.entry-btn-container a:hover {
    transform: scale(1.05);
    box-shadow: 0 0 40px rgba(255, 69, 0, 1);
    /* ピカーッと光る */
}

.btn-subtext {
    margin-top: 15px;
    font-size: 0.8rem;
    color: #888;
}

/* ====================================
   Footer
   ==================================== */
#footer {
    background-color: #000;
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright {
    font-size: 0.8rem;
    color: #555;
    font-family: 'Noto Sans JP', sans-serif;
    letter-spacing: 0.1em;
}

/* ページトップボタン */
.page-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #333;
    color: #fff;
    text-decoration: none;

    /* ど真ん中に矢印を置く */
    display: flex;
    justify-content: center;
    align-items: center;

    border-radius: 50%;
    z-index: 100;
    opacity: 0.7;
    transition: all 0.3s;
    font-size: 1.5rem;
}

.page-top:hover {
    background: #ff4500;
    /* ホバーでオレンジ */
    opacity: 1;
    transform: translateY(-5px);
}



/* ====================================
   スマホ用レイアウト (767px以下)
   ==================================== */
@media screen and (max-width: 767px) {
    #header {
        padding: 0 15px;
        /* 左右の余白を狭くする */
        height: 60px;
        /* ヘッダーの高さを少し低くする */
    }

    .header-inner {
        padding: 0;
    }

    /* ロゴのサイズをスマホ用に小さくする */
    .logo {
        width: 60px;
    }

    /* ★ここがポイント：H2をスマホでは非表示にするか、文字を極小にする */
    #header h2 {
        display: none;
        /* スマホではロゴのみにしてスッキリさせるのが松栄風です */
    }

    /* メニューの間隔を狭くし、文字を小さくする */
    .global-nav ul {
        gap: 15px;
    }

    .global-nav a {
        font-size: 0.75rem;
    }

    /* メインコピーの文字サイズをスマホに合わせる */
    .main-copy {
        font-size: 1.8rem;
        letter-spacing: 0.1em;
        padding: 0 20px;
    }



    /* style.css の @media screen and (max-width: 767px) 内に追加 */

    /* 1. ハンバーガーボタンの見た目 */
    .hamburger {
        margin-left: auto;
        display: block;
        width: 30px;
        height: 25px;
        position: relative;
        cursor: pointer;
        z-index: 100;
        /* ロゴなどより上に */
    }

    .hamburger span {
        display: block;
        width: 100%;
        height: 2px;
        background-color: #fff;
        position: absolute;
        transition: all 0.4s;
        /* 動く時間を設定 */
    }

    .hamburger span:nth-child(1) {
        top: 0;
    }

    .hamburger span:nth-child(2) {
        top: 11px;
    }

    .hamburger span:nth-child(3) {
        bottom: 0;
    }

    /* 2. メニューをスマホでは隠しておく */
    .global-nav {
        position: fixed;
        top: 0;
        right: -100%;
        /* ★画面の外（右側）に隠す */
        width: 100%;
        height: 100vh;
        background: rgba(5, 7, 10, 0.95);
        /* 背景色 */
        transition: all 0.4s;
    }

    /* 3. ボタンが押された（activeになった）時のメニューの動き */
    .global-nav.active {
        right: 0;
        /* ★画面内に戻ってくる */
    }

    /* 4. スマホのメニュー内のリストを縦並びにする */
    .global-nav ul {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        height: 100%;
        gap: 40px;
    }

    /* 5. ボタンが押された時の「三本線 → ×印」への変化 */
    .hamburger.active span:nth-child(1) {
        transform: translateY(11px) rotate(-45deg);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-12px) rotate(45deg);
    }


}

/* PC版ではボタンを消しておく（メディアクエリの外に書く） */



@media screen and (min-width: 768px) {
    .hamburger {
        display: none;
    }
}

@media screen and (max-width:767px) {
    .condition-items {
        grid-template-columns: 1fr;
        gap: 40px;

    }
}

.condition-card {
    padding: 30px 20px;
}