@charset "utf-8";
/* CSS Document */

/* PC時からハンバーガーメニューの場合は#sp_boxのみ削除  */
#open_menu {
	display:none;
}

/*****************************************************************

	色の設定

******************************************************************/
/* ハンバーガーメニューの線 */
#spicon span{
	border-bottom:2px solid #FFF;
}
/* ハンバーガーメニュー【MENU】のテキスト色（いらない場合はdisplay:none;） */
/* 開閉後、ハンバーガーメニューの色を変更する場合 */
#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: #f9f6f4;
}
/**************************************
	ハンバーガーアイコン
***************************************/

#spicon {
	position:fixed;
	right:0;
	top:0;
    background: url("../images/menu_icon_bg.webp") left 0/12px 11px repeat;
    border-radius: 0 0 0 30px;
	width:80px;
	height:80px;
	z-index:9999;
	cursor:pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 28px 24px;

}
#spicon span {
	width:100%;
	height:2px;
	transition: all .4s;
}

/* ボタンを押した後のボタンのスタイル */
#spicon.m_active span:nth-child(1) {
    transform: translateY(10px) rotate(-45deg);
}

#spicon.m_active span:nth-child(2) {
	opacity:0;
}

#spicon.m_active span:nth-child(3) {
    transform: translateY(-5px) rotate(-135deg);
}
/**************************************
	メニューオープン
***************************************/


#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 {
	position:fixed;
	left:0;
	top:0;
	width:100%;
	margin:0;
    height: 100%;
	display:block;
	overflow-y:scroll;
}
#center_box::-webkit-scrollbar {
    display: none;
}

/**************************************
	MENUの中身
***************************************/
.sp_relative {
    padding: 120px 0;
    min-height: 100%;
    position: relative;
}
.sp_container {
    width: 90%;
    max-width: 1640px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
.sp_logo {
    width: 230px;
}
.sp_right {
    width: calc(100% - 280px);
    max-width: 1300px;
    padding-top: 90px;
}
.menu_flex {
    display: flex;
    justify-content: space-between;
    max-width: 980px;
    font-size: 18px;
}
.menu_list li a {
    color: inherit;
    transition: 0.3s ease;
    display: flex;
    align-items: center;
}
.menu_list li a:hover {
    color: #ea8466;
}
.menu_list li a:before {
    content: "";
    border-bottom: 2px solid #ea8466;
    width: 12px;
    margin-right: 10px;
    flex-shrink: 0;
}
.menu_list li:nth-child(n+2) {
    margin-top: 35px;
}
.menu_right {
    max-width: 660px;
    flex-grow: 2;
}
.sub_menu {
    background-color: #FFF;
    border-radius: 30px;
    padding: clamp(20px, 7%, 35px) clamp(20px, 7%, 50px);
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}
.sub_menu a {
    color: inherit;
    font-size: 16px;
    position: relative;
    padding-left: 15px;
}
.sub_menu a:before {
    content: "";
    background-color: #ea8466;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    position: absolute;
    top: 7px;
    left: 0;
}
.sub_menu ul {
    width: 48%;
}
.sub_menu li:nth-child(n+2) {
    margin-top: 25px;
}
.privacy_menu {
    width: 90%;
    max-width: 1560px;
    margin: 0 auto;
    text-align: right;
    font-size: 14px;
    position: relative;
    z-index: 500;
    padding-top: 20px;
}
.privacy_menu a {
    color: #FFF;
}
.sp_absolute1 {
    position: absolute;
    left: 0;
    bottom: 80px;
    width: 30%;
}
.sp_absolute2 {
    position: absolute;
    right: 0;
    bottom: 0;
    text-align: right;
    width: 80%;
}
@media only screen and (max-width: 1600px) {
    .privacy_menu {
        font-size: 16px;
    }
}
@media only screen and (max-width: 1024px) {
    .sp_container {
        display: block;
    }
    .sp_logo {
        width: 120px;
        margin: 0 auto;
        position: absolute;
        top: -100px;
        left: 0;
    }
    .sp_logo img {
        width: 100%;
        height: auto;
    }
    .sp_right {
        width: 100%;
        max-width: 1300px;
        padding-top: 90px;
    }
    .menu_flex {
        column-gap: 30px;
    }
    .privacy_menu {
        font-size: 14px;
    }
}
@media only screen and (max-width: 768px) {
    .sp_relative {
        padding: 140px 0;
    }
    .sp_container {
        display: block;
    }
    .sp_logo {
        width: 80px;
        top: -130px;
    }
    .sp_right {
        width: 100%;
        max-width: 1300px;
        padding-top: 0;
    }
    .menu_flex {
        display: block;
        column-gap: 30px;
    }
    .menu_list {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
    }
    .menu_list li {
        width: 48%;
    }
    .menu_list li a {
        color: inherit;
        transition: 0.3s ease;
        display: flex;
        align-items: center;
    }
    .menu_list li a:hover {
        color: #ea8466;
    }
    .menu_list li a:before {
        content: "";
        border-bottom: 2px solid #ea8466;
        width: 12px;
        margin-right: 10px;
        flex-shrink: 0;
    }
    .menu_list li:nth-child(2) {
        margin-top: 0;
    }
    .menu_list li:nth-child(n+3) {
        margin-top: 35px;
    }
    .menu_right {
        margin-top: 45px;
    }
    .sub_menu {
        padding: 30px 0 30px 30px;
        flex-wrap: wrap;
        margin-top: 20px;
        row-gap: 20px;
        display: flex;
    }
    .sub_menu a {
        font-size: 16px;
        letter-spacing: 0;
    }
    .sub_menu ul {
        width: auto;
        flex-grow: 2;
    }
    .sub_menu li:nth-child(n+2) {
        margin-top: 20px;
    }
    .privacy_menu {
        font-size: 17px;
        padding-top: 0;
        position: absolute;
        bottom: 10%;
        right: 20px;
    }
    .privacy_menu a {
        color: #FFF;
    }
}