@charset "utf-8";

/* ==========================================================
   メインビジュアル（タイトルエリア・背景画像あり）
========================================================== */
.first-view {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-image: url(../../images/top/a-2021.jpg);
    /* 背景画像 */
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    /* 画像の比率を保ったまま枠を埋める */
    text-align: center;

    /* 画面いっぱいの高さ(100vh)だったのを、適度な高さに変更して小さくしました */
    height: 400px;
    padding: 20px;
}

.first-view-text {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.first-view-text h1 {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 40px;
    line-height: 1.4;
    font-weight: bold;
    color: #ffffff;
    letter-spacing: 2px;
    text-shadow: 1px 1px 10px #ff8dff;
    /* 元のピンクの影を維持 */
}

/* ==========================================================
   カードスタイルエリア（導入文とボタン）
========================================================== */
.lead {
    max-width: 750px;
    margin: 40px auto 80px;
    background-color: #333333;
    /* ダークテーマのカード背景色 */
    border-radius: 16px;
    /* 角丸 */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    /* フワッと浮き上がる影 */
    padding: 50px 60px;
}

/* テキスト（導入文） */
.lead p {
    line-height: 1.8;
    text-align: center;
    color: #e0e0e0;
    font-size: 16px;
    margin-bottom: 40px;
}

/* ==========================================================
   ボタンエリア
========================================================== */
.link-button-area {
    text-align: center;
    margin-top: 20px;
}

/* ピンク色のボタン */
.link-button {
    background-color: #ff8dff;
    color: #ffffff;
    display: inline-block;
    width: 100%;
    max-width: 320px;
    padding: 16px 24px;
    border-radius: 30px;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 15px;
    font-weight: bold;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ホバー（マウスオーバー）時の動き */
.link-button:hover {
    background-color: #e070e0;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(255, 141, 255, 0.35);
}

.link-button:active {
    transform: translateY(1px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* ==========================================================
   モバイル（スマホ）用調整
========================================================== */
@media (max-width: 800px) {
    .first-view {
        background-image: url(../../images/top/a-2021_m.jpg);
        /* スマホ用背景画像 */

        /* スマホで160vhと非常に大きかった高さをスッキリさせました */
        height: 60vh;
        padding: 20px;
    }

    .first-view-text h1 {
        font-size: 24px;
        line-height: 1.5;
    }

    .lead {
        margin: 30px 20px 60px;
        padding: 30px 20px;
        border-radius: 12px;
    }

    .lead p {
        text-align: left;
        font-size: 15px;
        line-height: 1.7;
        margin-bottom: 30px;
    }

    .link-button {
        max-width: 100%;
    }
}