@charset "utf-8";
/* CSS Document */


/*****************************************************************

	色の設定

******************************************************************/
/* ハンバーガーメニューの線 */
#spicon span{
	border-bottom:3px solid #19b236;
}
/* ハンバーガーメニュー【MENU】のテキスト色（いらない場合はdisplay:none;） */
#spicon:before{
    color: #000;
	display: none;
}
/* 開閉後、ハンバーガーメニューの色を変更する場合 */
#spicon span:nth-child(1) {
    width: 80%;
    margin-left: auto;
}
#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: #FFF;
}
/* テキストメニューの色 */
.page_link > li > a {

}
/** リンクをホバーした後の色 **/
.page_link a:hover {
    color: #19b236;
}

/**************************************
	ハンバーガーアイコン
***************************************/

#spicon {
	position:fixed;
	right:80px;
	top:60px;
	background-position:50% 0;
	background-repeat:no-repeat;
	background-size:cover;
	width:63px;
	height:40px;
	z-index:9999;
	cursor:pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;

}
#spicon:before {
    content: "MENU";
    position: absolute;
    top: -25px;
    left: 0;
    width: 100%;
    text-align: center;
    font-size: 12px;
	transition: all .4s;
}
#spicon span {
	width:100%;
	height:2px;
	transition: all .4s;
}

/* ボタンを押した後のボタンのスタイル */
#spicon.m_active span:nth-child(1) {
    transform: translateY(20px) rotate(-30deg);
	width: 100%;
}

#spicon.m_active span:nth-child(2) {
	opacity:0;
}

#spicon.m_active span:nth-child(3) {
    transform: translateY(-15px) rotate(-150deg);
}
#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%;
	overflow-y:scroll;
	padding: 230px 0;
	background-color: #fbfbfb;
	display: none;
}

#close {
	position:absolute;
	text-align:center;
	bottom:-20px;
	left:0;
	width:100%;
	color:#21ceb2;
	font-size:20px;
}

/**************************************
	MENUの中身
***************************************/

.m_width {
	width:90%;
	max-width:1530px;
	margin:0 auto;
	display: grid;
	grid-template-columns: 25% 17% 23% 22%;
	justify-content: space-between;
	gap: 2.5vw;
}
.m_width div {
	display: grid;
	grid-template-columns: repeat(1, 1fr);
	gap: 3vw;
}


.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 {
    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;
}


@media only screen and (max-width: 1024px){
#sp_box {
	display:block;
}    

/**************************************
	MENUの中身
***************************************/
.page_link > li > a{
	font-size:42px;
    z-index: 500;
    padding: 35px 0 35px;
}
.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;
}
.m_width {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 35px;
	column-gap: 6vw;
}
.m_width div {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 35px;
}
#center_box {
	padding: 180px 0;
}
    
}

@media only screen and (max-width: 740px){
/**************************************
	ハンバーガーアイコン
***************************************/

#spicon {
	position:fixed;
	right:20px;
	top:40px;
	width: 41px;
    height: 30px;
}

#center_box {
	padding: 140px 0;
}
#spicon.m_active span:nth-child(1) {
    transform: translateY(11px) rotate(-30deg);
}
    
/**************************************
	MENUの中身
***************************************/
.m_width {
    grid-template-columns: repeat(1, 1fr);
    row-gap: 25px;
}
.m_width div {
    grid-template-columns: repeat(1, 1fr);
    gap: 25px;
}
.menu_link li:nth-child(n + 2) {
    margin-top: 17px;
}

.page_link > li > a{
	font-size:28px;
    padding: 20px 0 20px;
}
.sp_ja {
    font-size: 13px;
    padding-left: 20px;
    top: -6px;
}
.menu_logo {
    top: 30px;
    left: 4vw;
}
.menu_logo img {
	max-width: 300px;
}

    
}


