@charset "uft-8";

#life_pre {
    display: flex;
    justify-content: space-between;
    max-width: 1146px;
    margin: 0 auto;
}

.life_mk_img {
    margin-top: 127px;
    text-align: center;
    max-width: 636px;
    width: 100%;
    height: 100%;
    aspect-ratio: 934 / 567;
    border-radius: 40px;
    background-color: #FFFCEE;
}

.life_mk_img img {
    padding-top: 8%;
    max-width: 536px;
    width: 86%;
    height: 81%;
    object-fit: cover;
}

.life_jg_pc {
    text-align: center;
    padding-top: 100px;
}

.life_jg_pc img {
    padding-top: 55px;
    width: 636px;

}

.life_memo {
    margin-top: 127px;
    width: 384px;
    height: 1131px;
    border-radius: 40px;
    border: 3px solid #FFD63A;
    background-color: #FFFCEE;
}

.modal {
    display: none;
}

#pcModal #spModal {
    display: none;
}

.modal_btn_text {
    display: none;
}

.check_btn1 {
    display: none;
}

@media screen and (max-width: 1100px) {
    #life_pre {
        padding: 0 3%;
        flex-direction: column;
        align-items: center;

    }

    .life_pre_wrap {
        width: 90%;
    }

    .life_mk_img {
        max-width: initial;
    }

    #openModal {
        justify-content: center;
    }

    .modal_btn_text {
        display: block;
    }

    .check_btn1 {
        display: block;
    }

    .modal_pcbtn {
        position: relative;
        margin: 0 auto;
        margin: 20% 3% 0 3%;
        width: 174px;
        height: 44px;
        background-color: #fc6349;
        border-radius: 32px;
        cursor: pointer;
        border: 3px solid transparent;
    }

    .modal_btn_text {
        padding-left: 20px;
        text-align: center;
        font-size: 16px;
        line-height: 42px;
        font-weight: 800;
        color: #FFFCEE;
    }


    /* モーダルウィンドウの基本スタイル */
    .modal {
        display: none;
        /* デフォルトでは非表示に設定 */
        position: fixed;
        /* モーダルがページ全体に固定されるように設定 */
        top: 0;
        /* ページの最上部からスタート */
        left: 0;
        /* ページの最左端からスタート */
        width: 100%;
        /* モーダルが画面全体の幅を占める */
        height: 100vh;
        /* モーダルが画面全体の高さを占める */
        background-color: rgba(41, 40, 36, 0.4);
        /* 背景を半透明の黒に設定（モーダルの背後が見えるように） */
        overflow-y: scroll;
        z-index: 3;
    }

    .modal::-webkit-scrollbar {
        display: none;
    }

    .modal-content {
        position: relative;
        margin: 0 auto;
        width: 70%;
        /* モーダルの幅 */
    }

    .modal_img {
        margin: 100px 0;
        display: flex;
        justify-content: center;
    }

    .modal_img p {
        padding-bottom: 10px;
        font-weight: 800;
    }

    /* モーダルを閉じるボタン（×）のスタイル */
    #pcClose {
        position: sticky;
        /* モーダル内で絶対位置に配置 */
        display: flex;
        /* ボタン内のテキストが中央に配置されるようにフレックスボックスを使用 */
        align-items: center;
        /* ボタン内のテキストを縦方向に中央揃え */
        justify-content: center;
        /* ボタン内のテキストを横方向に中央揃え */
        top: 10%;
        /* モーダル内容の上部から離れた位置に配置 */
        right: 16%;
        /* モーダル内容の右端から離れた位置に配置 */
        font-size: 28px;
        /* 閉じるボタンのフォントサイズ */
        font-weight: 800;
        /* 閉じるボタンのフォントを太字に設定 */
        cursor: pointer;
        /* ホバー時にポインタが表示されるように設定 */
        color: #FFFCEE;
        /* 閉じるボタンのテキストカラーを白に設定 */
        width: 40px;
        /* ボタンの幅 */
        height: 40px;
        /* ボタンの高さ */
        background-color: #72716E;
        /* ボタンの背景色をダークグレーに設定 */
        border: #72716E;
        /* ボタンの境界線を背景と同じ色に設定 */
        border-radius: 50%;
        /* ボタンを丸くするための半径 */
    }

    .life_jg_pc {
        display: none;
    }

    .life_memo {
        margin-top: 80px;
        width: 90%;
        height: 100%;
    }
}

@media screen and (max-width: 767px) {
    .life_mk_img {
        margin-top: 57px;
    }
}