@charset "UTF-8";

.signup-card {
    max-width: 400px;
    margin: 2rem auto;
    border-radius: 15px;
    overflow: hidden;
}

.btn-register {
    margin-top: 30px;
    background-color: #3366A5;
    color: white;
    font-weight: bold;
    padding: 0.8rem;
}

.btn-register:hover {
    background-color: #a51218;
    color: white;
}

.toggle-password {
    cursor: pointer;
}

.footer-logo {
    text-align: center;
    margin-top: 30px;
    padding-bottom: 40px;
}

.footer-logo img {
    margin-top: 2em;
    width: 200px;
    height: auto;
}

/* 特典モーダル：ときがわ町の春の風景（青空・菜の花・桜）をイメージ */
.modal-content-happy {
    background: linear-gradient(180deg,
            #4FA9FF 0%,
            /* 深い青空 */
            #87CEEB 30%,
            /* 澄んだ空 */
            #FFF9C4 70%,
            /* 菜の花の黄色 */
            #F8BBD0 100%
            /* 桜のピンク */
        ) !important;
    border: none !important;
    min-height: 100vh;
    /* 画面いっぱいに広げる */
    width: 100vw;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 特典モーダル：配置と余白を調整 */
.modal-content-happy { 
    background: linear-gradient(180deg, 
        #4FA9FF 0%,   /* 深い青空 */
        #87CEEB 30%,  /* 澄んだ空 */
        #FFF9C4 70%,  /* 菜の花の黄色 */
        #F8BBD0 100%  /* 桜のピンク */
    ) !important;
    border: none !important;
    min-height: 100vh;
    width: 100vw;
    margin: 0;
    display: flex;
    flex-direction: column; /* 上から順に並べる */
    align-items: center;
    justify-content: flex-start; /* 上端から配置を開始 */
    padding-top: 15vh; /* 画面上部から15%分の余白を作る（ここでお好みの高さに調整できます） */
}

/* 念のため、中のボディ自体の余白もリセット */
.modal-content-happy .modal-body {
    padding-top: 0;
}

/* テキスト：日中の空に映える濃い目の色 */
.happy-text {
    font-weight: bold;
    color: #3366A5;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
}

/* 100Pt：太陽の光を浴びたような輝き */
.modal-pts-big {
    font-size: 5rem;
    font-weight: 900;
    color: #FF6F61;
    /* 暖かみのあるコーラルオレンジ */
    text-shadow:
        3px 3px 0px #ffffff,
        6px 6px 15px rgba(0, 0, 0, 0.1);
    margin: 15px 0;
    animation: bounce-anim 2s ease-in-out infinite alternate;
}

@keyframes bounce-anim {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-10px);
    }
}

/* 桜の花びらのスタイル */
.sakura {
    position: fixed;
    background-color: #ffdbed;
    /* 桜色 */
    border-radius: 100% 0 100% 100%;
    /* 花びらの形 */
    width: 15px;
    height: 15px;
    top: -20px;
    z-index: 2100;
    pointer-events: none;
    animation: fall 10s infinite linear, sway 3s infinite ease-in-out;
}

@keyframes fall {
    0% {
        top: -20px;
    }

    100% {
        top: 110vh;
    }
}

@keyframes sway {
    0% {
        transform: translateX(0) rotate(0deg);
    }

    50% {
        transform: translateX(50px) rotate(45deg);
    }

    100% {
        transform: translateX(0) rotate(90deg);
    }
}

/* モーダル内の閉じるボタン等の色も調整が必要な場合 */
.modal-header,
.modal-footer {
    border: none;
}

.btn-close-white {
    filter: invert(1) grayscale(100%) brightness(200%);
}

.btn-dark {
    background-color: #2d5773;
}