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

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

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

	色の設定

******************************************************************/
/* ハンバーガーメニューの線 */
#spicon span{
	border-bottom:2px solid #fff;
}
/* ハンバーガーメニュー【MENU】のテキスト色（いらない場合はdisplay:none;） */
#spicon:before{
    color: #fff;
}
/* 開閉後、ハンバーガーメニューの色を変更する場合 */
#spicon.m_active span:nth-child(1) {
    border-color: #215FAF;
}
#spicon.m_active span:nth-child(3) {
    border-color: #215FAF;
}
#spicon.m_active:before {
    color: #215FAF;
}
/* 開閉後の背景の色 */
#center_box {
    background-color: #FFF;
}
/* テキストメニューの色 */
.page_link > li > a {
    color: #000;
    border-bottom: 1px solid #373531;
}
/** リンクをホバーした後の色 **/
.page_link a:hover {
    opacity: 0.7;
}


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

#spicon {
	position:fixed;
	right: 0;
	top: 0;
	background-position:50% 0;
	background-repeat:no-repeat;
	background-size:cover;
	width:120px;
	height:120px;
	z-index:9999;
	cursor:pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
	align-items: center;
	gap: 10px;
	background-color: #82A8E2;
	padding-bottom: 20px;

}
#spicon:before {
    content: "menu";
    position: absolute;
    top: 67px;
    left: 0;
    width: 100%;
    text-align: center;
    font-size: 15px;
	font-family: "Montserrat-Medium";
	transition: all .4s;
}
#spicon span {
	width: 41%;
	height:2px;
	transition: all .4s;
}

/* ボタンを押した後のボタンのスタイル */
#spicon.m_active {
    background-color: unset;
	right: 15px;
	color: #215FAF;
}
#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(-12px) 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 {
	position:fixed;
    right:0;
	top:0;
	width:50%;
	max-width: 564px;
	margin:0;
	height:100%;
	display:block;
	overflow-y:scroll;
	padding: 110px 3vw;
	background-color: #EEF5FF;
}


#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;
	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;
}

/*spmenu*/
#center_box {

}

#center_box p {
  letter-spacing: normal;
}

#center_box .menu_calendar {
  margin-top: 2.5vw;
}

.menu_link {
  display: grid;
  gap: 1.2vw;
}

.menu_link li a {
  font-size: clamp(16px, 1.18vw, 22px);
  color: #215FAF;
}

.menu_contact {
  display: grid;
  gap: 10px;
  margin-top: 2vw;
}

.header {
  padding: 40px 4vw;
  width: 100%;
}

#h_tel {
  position: absolute;
  top: 30px;
  right: 155px;
  z-index: 1;
}


.catch {
  position: absolute;
  top: 50%;
  left: 9%;
  transform: translateY(-50%);
  width: clamp(250px, 41vw, 769px);
}

.menu_calendar {
  width: 100%;
}

.menu_calendar tr td {
  border-bottom: 1px solid #333;
  font-size: clamp(14px, 0.855vw, 16px);
  color: #333;
  letter-spacing: normal;
  padding: 10px 0;
}

.menu_calendar tr td:nth-child(1) {
  width: 16%;
  text-align: center;
}

.menu_calendar tr td:nth-child(n + 2) {
  width: 10%;
  text-align: end;
}

.menu_calendar tr td:last-child {
  padding-right: 10px;
}

.menu_calendar tr:last-child td {
  color: #333;
}
.menu_contact img{
	width: 85%;
	height: auto;
	display: block;
	margin: 0 auto;
}
.aomaru{
	color: #215FAF!important;
}

@media only screen and (max-width: 1024px){
#sp_box {
	display:block;
}
#spicon {
    width: 111px;
    height: 111px;
}

/**************************************
	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;
}
#center_box {
    width: 59%;
}

    
}

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

#spicon {
	position:fixed;
	width: 79px;
	height: 79px;
	padding-bottom: 15px;
}

#center_box {
	padding:80px 4vw;
}

#spicon:before {
    top: 46px;
    font-size: 12px;
}

#spicon.m_active {
    right: 0;
}
    
/**************************************
	MENUの中身
***************************************/
#center_box {
	width: 100%;
}
.page_link > li > a{
	font-size:28px;
    padding: 20px 0 20px;
}
.sp_ja {
    font-size: 13px;
    padding-left: 20px;
    top: -6px;
}

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

}

