@charset "utf-8";
/* CSS Document */

/* PC時からハンバーガーメニューの場合は#sp_boxのみ削除  */
#open_menu,
#sp_box {
    display: none;
}

/*****************************************************************

	色の設定

******************************************************************/
/* ハンバーガーメニューの線 */
#spicon span {
    border-bottom: 2px solid #121927;
}

/* 開閉後、ハンバーガーメニューの色を変更する場合 */
#spicon.m_active span:nth-child(1) {
    /*border-color: #FFF;*/
}

#spicon.m_active span:nth-child(3) {
    /*border-color: #FFF;*/
}

#spicon.m_active:before {
    /*color: #FFF;*/
}

/* 開閉後の背景の色 */
#center_box {
    background-color: #04447c;
}

/* テキストメニューの色 */
.page_link>li>a {
    color: #fff;
    border-bottom: 1px solid #fff;
    font-family: "noto-sans-cjk-jp", sans-serif;
    font-weight: 500;
    font-style: normal;
}


/**************************************
	ハンバーガーアイコン
***************************************/

#spicon {
    position: fixed;
    right: 60px;
    top: 22px;
    background-position: 50% 0;
    background-repeat: no-repeat;
    background-size: cover;
    width: 32px;
    height: 24px;
    z-index: 9999;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;

}

#spicon span {
    width: 100%;
    height: 2px;
    transition: all .4s;
}

/* ボタンを押した後のボタンのスタイル */
#spicon.m_active span:nth-child(1) {
    transform: translateY(12px) rotate(-45deg);
}

#spicon.m_active span:nth-child(2) {
    opacity: 0;
}

#spicon.m_active span:nth-child(3) {
    transform: translateY(-10px) rotate(-135deg);
}

/* #spicon.m_active:before {
    content: "CLOSE";
} */


/**************************************
	メニューオープン
***************************************/


#open_menu {
    background-position: 50% 0;
    background-repeat: no-repeat;
    background-size: cover;
    position: fixed;
    z-index: 9990;
    top: 0;
    left: 0;
    width: 100%;
}


/***********/

#center_box {
    text-align: center;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    margin: 0;
    height: 100%;
    display: block;
    overflow-y: scroll;
    padding: 180px 0;
}

#close {
    position: absolute;
    text-align: center;
    bottom: -20px;
    left: 0;
    width: 100%;
    color: #21ceb2;
    font-size: 20px;
}

/**************************************
	MENUの中身
***************************************/

.m_width {
    width: 90%;
    max-width: 1200px;
    margin: 10px auto 0;
}

.page_link>li>a,
.switch {
    color: #fff;
    text-decoration: none;
    position: relative;
    display: block;
    font-size: 20px;
    z-index: 500;
    padding: 35px 0 35px;
    font-family: "noto-sans-cjk-jp", sans-serif;
    font-weight: 500;
    font-style: normal;
}

.none_border {
    border-bottom: 1px solid #fff;
}

.pulse2 {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    font-size: 22px;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    transition: .5s ease;
    animation: pulse_off .5s ease forwards;
}

.open .pulse2 {
    animation: pulse .5s ease forwards
}

@keyframes pulse {
    0% {
        transform: translateY(-50%)
    }

    100% {
        transform: translateY(-50%) rotate(360deg)
    }
}

@keyframes pulse_off {
    0% {
        transform: translateY(-50%) rotate(360deg)
    }

    100% {
        transform: translateY(-50%) rotate(0)
    }
}

.displayNone {
    display: none;
    padding-bottom: 35px;
}

.displayNone p:nth-child(n + 2) {
    padding-top: 25px;
}

.displayNone a {
    color: inherit
}

.page_link>li>a {
    text-decoration: none;
    position: relative;
    display: block;
    font-size: 54px;
    z-index: 500;
    line-height: 1.3em;
    padding: 35px 0 35px 0;
}

.page_link>li>a::after {
    content: "";
    background: url(../images/arrow_white.svg) left 0/100% 100% no-repeat;
    width: 10px;
    height: 16px;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}

.page_link li {
    position: relative;
}

.sp_ja {
    font-size: 18px;
    padding-left: 40px;
    position: relative;
    top: -7px;
}

.page_link {
    text-align: left;
}

.page_link a {
    transition: 0.3s ease;
}

/** 日本語のみの場合 **/
.ja_all {
    font-size: 24px;
    display: block;
}

.sp_menu_btn {
    margin: 60px auto 0;
    max-width: 480px;
    width: 100%;
    position: relative;
}

.sp_menu_btn a {
    display: block;
    width: 100%;
    padding: 25px;
    text-align: center;
    background-color: #9b8047;
    color: #fff;
    font-size: 20px;
    font-weight: 500;
    font-style: normal;
    border: 2px solid #9b8047;
    border-radius: 3px;
    transition: 0.3s ease;
}

.sp_menu_btn a span::before {
    content: "";
    background: url(../images/contact_mail.png) left 0/100% 100% no-repeat;
    width: 28px;
    height: 21px;
    position: absolute;
    left: -40px;
    top: 50%;
    transform: translateY(-50%);
    transition: 0.3s ease;
}

.sp_menu_btn span {
    position: relative;
    left: 20px;
}


@media only screen and (max-width: 1024px) {
    #sp_box {
        display: block;
    }

    /**************************************
	MENUの中身
***************************************/
    .page_link>li>a {
        font-size: 20px;
        z-index: 500;
        padding: 30px 0 30px;
    }

    .page_link li {
        position: relative;
    }

    .sp_ja {
        font-size: 18px;
        padding-left: 40px;
        position: relative;
        top: -7px;
    }

    .page_link {
        text-align: left;
        padding-top: 0;
    }

    .page_link a {
        transition: 0s ease;
    }

    .contentWrap p a {
        position: relative;
        font-size: 20px;
        color: #fff;
        font-family: "noto-sans-cjk-jp", sans-serif;
        font-weight: 300;
        font-style: normal;
        display: block;
    }

    .contentWrap p a::after {
        content: "";
        background: url(../images/arrow_white.svg) left 0/100% 100% no-repeat;
        width: 10px;
        height: 16px;
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
    }

}

@media only screen and (max-width: 740px) {
    /**************************************
	ハンバーガーアイコン
***************************************/

    #spicon {
        position: fixed;
        right: 20px;
        top: 22px;
    }

    #center_box {
        padding: 80px 0;
    }

    /**************************************
	MENUの中身
***************************************/

    .page_link>li>a {
        font-size: 18px;
        padding: 25px 0 25px;
    }

    .contentWrap p a {
        font-size: 16px;
    }

    .displayNone p:nth-child(n + 2) {
        padding-top: 15px;
    }

    .sp_ja {
        font-size: 13px;
        padding-left: 20px;
        top: -6px;
    }

    .page_link>li>a,
    .switch {
        padding: 20px 0 20px;
        font-size: 16px;
    }

    /** 日本語のみの場合 **/
    .ja_all {
        font-size: 18px;
        display: block;
    }

    .sp_menu_btn {
        margin: 40px auto 0;
    }

    .sp_menu_btn a {
        padding: 20px;
        font-size: 15px;
    }

    .sp_menu_btn a span::before {
        content: "";
        background: url(../images/contact_mail.png) left 0/100% 100% no-repeat;
        width: 23px;
        height: 18px;
        position: absolute;
        left: -30px;
        top: 50%;
        transform: translateY(-50%);
        transition: 0.3s ease;
    }

    .page_link>li>a::after {
        width: 8px;
        height: 14px;
    }

    .pulse2 {
        font-size: 18px;
    }

    .contentWrap p a::after {
        width: 8px;
        height: 14px;
    }


}