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

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

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

	色の設定

******************************************************************/
/* ハンバーガーメニューの線 */
#spicon span{
	border-bottom:2px solid #000;
}
/* ハンバーガーメニュー【MENU】のテキスト色（いらない場合はdisplay:none;） */
#spicon:before{
    color: #000;
}
/* 開閉後、ハンバーガーメニューの色を変更する場合 */
#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 {
    color: #524d38;
}
/** リンクをホバーした後の色 **/
.page_link a:hover {
    color: #20addd;
}

/**************************************
	ハンバーガーアイコン
***************************************/

#spicon {
	position:fixed;
	right:45px;
	top:30px;
	background-position:50% 0;
	background-repeat:no-repeat;
	background-size:cover;
	width:40px;
	height:25px;
	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(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 {
	background: #f8f1ed;
	position:fixed;
	right:0;
	top:0;
	width:42%;
	margin:0;
	height:100%;
	display:none;
	overflow-y:scroll;
	padding:80px 7vw;
}

#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:0 auto;
}


.page_link > li > a{
	text-decoration:none;
	position:relative;
	display:block;
    z-index: 500;
}
.page_link li {
    position: relative;
}
.page_link li:nth-child(n + 2) {
    margin-top: 40px;
}
.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: 22px;
    display: block;
}

#center_box .access_calendar tr td {
	padding: 10px;
	font-size: 16px;
}

    

@media only screen and (max-width: 1550px){
	#center_box {
		padding: 80px 4vw;
	}
	#center_box .access_calendar tr td {
		padding: 10px;
		font-size: 14px;
	}
}
@media only screen and (max-width: 1024px){
#sp_box {
	display:block;
}    

/**************************************
	MENUの中身
***************************************/
#center_box .font17 {
    font-size: 14px;
}
#center_box .access_calendar tr td {
    padding: 7px;
    font-size: 13px;
}
.page_link li {
    position: relative;
}
.sp_ja {
    font-size: 15px;
    position: relative;
}
.page_link {
	text-align:left;
	padding-top:0;
}
.page_link a {
    transition: 0s ease;
}
.ja_all {
    font-size: 17px;
}
.page_link li:nth-child(n + 2) {
    margin-top: 25px;
}
    
}

@media only screen and (max-width: 740px){
/**************************************
	ハンバーガーアイコン
***************************************/

#spicon {
	position:fixed;
	right:15px;
	top:30px;
}

#center_box {
	padding:80px 4vw;
	width: 84%;
}
.menu_tel img {
	max-width: 230px;
}
/**************************************
	MENUの中身
***************************************/

.sp_ja {
    font-size: 13px;
    padding-left: 20px;
    top: -6px;
}

/** 日本語のみの場合 **/
.ja_all {
    font-size: 16px;
    display: block;
}

    
    
}


