@charset "utf-8";

/* =====================
root
===================== */

:root{
    --primary-white: #FDFDFD;
    --primary-red: #C64528;
    --primary-yellow:#BFA679;
    --primary-lightYellow:#D3C2A3;
    --primary-blue:#003268;
    --primary-pink:#E4B3A8;
    --primary-black:#333333;
    --contentWithSp:80%;
    --contentPaddingSp:10%;
}


/* =====================
背景スペース 
===================== */

.main {
    position: relative;
}

.contents {
    position: relative;
}

.contents::before {
    content: '';
    background-color: var(--primary-lightYellow, #D3C2A3);
    display: block;
    width: 80vw;
    height: 113%;
    max-height: 2406px;
    border-radius: 20px;
    position: absolute;
    z-index: -2;
    /* top: -129px; */
    left: 50%;
    transform: translateX(-50%);
    bottom: -81px;
}

@media screen and (min-width:426px) {

    .contents::before {
        width: 69.44vw;
        max-width: 1000px;
        height: 83.33vw;
        max-height: 1200px;
        z-index: -2;
        top: -129px;
        left: 5%;
        transform: translateY(0);
    }

    .contents::after {
        content: '';
        background-color: var(--primary-lightYellow, #D3C2A3);
        display: block;
        width: 69.44vw;
        max-width: 1000px;
        height: 83.33vw;
        max-height: 1200px;
        border-radius: 20px;
        position: absolute;
        z-index: -2;
        bottom: -194px;
        right: 5%;
    }

}

@media screen and (max-width:769px) {

    .contents::before {
        top: -100px;
    }

    .contents::after {
        bottom: -100px;
    }

}

/* =====================
next_page 
===================== */

/* next_page */
.next_page_list {
    margin-top: 35px;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    padding-right: 10%;
}

.next_page {
    position: relative;
}

.page1,
.page3 {
    padding: 20px;
    border-radius: 50%;
    background-color: var(--primary-white, #FDFDFD);
    border: 3px solid var(--primary-blue, #003268);
    position: relative;
    transition: ease .2s;
}

.page1 span,
.page3 span {
    position: absolute;
    display: block;
    margin: auto;
    color: var(--primary-blue, #003268);
    font-size: 2.0rem;
    font-weight: 700;
    line-height: 1;
    top: 50%;
    right: 50%;
    transform: translate(50%, -50%);
}

.page2 {
    padding: 20px;
    border-radius: 50%;
    background-color: var(--primary-blue, #003268);
    border: 3px solid var(--primary-blue, #003268);
    position: relative;

}

.page1:hover,
.page3:hover {
    background: var(--primary-red , #C64528);
    border: 3px solid var(--primary-red , #C64528A8);
}

.page2 span {
    position: absolute;
    display: block;
    margin: auto;
    color: var(--primary-white, #FDFDFD);
    font-size: 2.0rem;
    font-weight: 700;
    line-height: 1;
    top: 50%;
    right: 50%;
    transform: translate(50%, -50%);
}

@media screen and (min-width:769px) {
    .page1,.page2,.page3 {
        padding: 30px;
    }

    .page1:hover,
    .page3:hover {
        background: var(--primary-red , #C64528);
    }
    
    
    .next_page_list {
        display: flex;
        justify-content: flex-end;
        margin-top: 0;
        gap: 10px;
        padding-right: 13%;
    }

}

/* =====================
to top_btn
===================== */

/* トップに戻る */

.btn_content {
    display: inline-block;
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    margin-top: 213px;
}

.top_btn {
    max-width: 100px;
}

/* ボタンの設定 */

.btn_common {
    position: relative;
    padding: 20px 27px 20px 13px;
    color: var(--primary-blue, #003268);
    font-size: 1.6rem;
    font-weight: 700;
    text-decoration: none;
    background-color: var(--primary-white, #FDFDFD);
    border: 3px solid var(--primary-blue, #003268);
    border-radius: 100px;
    transition: ease .2s;
}

.btn_common span {
	position: relative;
	z-index: 3;
}


.btn_common::after {
    content: '';
    position: absolute;
    top: 44%;
    right: 15px;
    width: 10px;
    height: 10px;
    border-top: 2px solid #003268;
    border-right: 2px solid #003268;
    transform: rotate(45deg);
    transition: all .3s;
}

.btn_common:hover {
    color: var(--primary-white , #FDFDFD);
    background-color: var(--primary-blue , #003268);
}

.btn_common:hover::after {
    border-top: 2px solid var(--primary-white, #FDFDFD);
    border-right: 2px solid var(--primary-white, #FDFDFD);
    right: 11px;
}

@media screen and (min-width:769px) {

    /* ボタン */
    
.top_btn {
    max-width: 150px;
}

.btn_content {
    gap: 40px;
}

.btn_common {
    padding: 26px 117px 26px 75px;
}

.btn_common::after {
    width: 15px;
    height: 15px;
    top: 40%;
    right: 75px;
    border-top: 3px solid #003268;
    border-right: 3px solid #003268;
}

.btn_common:hover::after {
    border-top: 3px solid var(--primary-white, #FDFDFD);
    border-right: 3px solid var(--primary-white, #FDFDFD);
    right: 50px;
}

}

@media screen and (min-width:1000px) {

    .btn_content {
        margin-top: 300px;
    }

}

