/*===============================================
●top_tablet.css  画面の横幅が999pxまで
===============================================*/

.smf_no {
	display: none !important;
}

.pc_no {
	display: block !important;
}

.sp_only {
	display: none !important;
}

/*-----------------------------------------------------------------
______2019.3.27追加  トップページカスタム______
-----------------------------------------------------------------*/

/*------------------------
ヘッダー
-----------------------*/

.top_custom #header {
	height: 80px;
	position: fixed;
	border-bottom: 1px solid #01b340;
	background: #fff;
	z-index: 998;
}

.top_custom #header h1#logo {
	top: 5px;
	width: 185px;
}

/*20210816*/

.top_custom #font-area {
	right: 220px;
	width: 105px;
	height: auto;
	bottom: 10px;
}

#font-area ul {
	display: none;
}

.h_hogimon {
	left: -60px;
	width: 68px;
	bottom: -10px !important;
}

#google_translate_element {
	right: 100px;
	top: auto;
	bottom: 10px;
}

/*------------------------
top image
-----------------------*/

.top_custom div#top_img {
	width: 100%;
	/*height: 450px;*/
	margin: 80px auto 30px;
	overflow: hidden !important;
}

.top_custom div#top_img.topimg_sp {
	display: none;
}

#top_img h2 {
	font-size: 7vw;
}

/*------------------------
2020-0414  corona (終わったら消す)
-----------------------*/

.top_custom div#top_img {
	height: 350px;
	overflow: hidden !important;
}

.top_corona_txt {
	padding: 20px;
}

.top_corona_txt dt {
	font-size: 1.5em;
}

.top_corona_txt dd ul li {
	font-size: 1.1em;
	line-height: 1.2;
}

/*------------------------
緊急情報
-----------------------*/

/*------------------------
新着情報
-----------------------*/

.left_box01 {
	flex-basis: 100%;
}

.right_box01 {
	flex-basis: 100%;
	display: flex;
	justify-content: space-between;
}

.right_box01 ul {
	flex-basis: 49%;
}

p.tuto_tab {
	right: 1%;
	top: 7px;
}

dl.dl_news dt, dl.dl_event dt {
	margin: 0 0px 10px 0;
}

dl.dl_news dd, dl.dl_event dd {
	margin: 0 0px 10px 0px;
}

/*---タブ新着バッジ------------------------------*/

span.new_badge.badge_on {
	right: -20px;
}

/*-----------------------------------------------
__Global Navi
-----------------------------------------------*/

.toggleWrap nav {
	position: absolute;
	width: 80%;
	height: auto;
	margin: 0 auto;
	right: 0;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
}

#gl_nv {
	width: 100%;
	height: auto;
	margin: 0 auto;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	position: relative;
}

#gl_nv>li {
	width: 100%;
	height: auto;
	font-weight: bold;
	text-align: right;
	position: relative;
	margin-bottom: 10%;
	border-bottom: 1px solid #fff;
	border-right: none;
	border-left: none;
	overflow: visible;
}

#gl_nv>li a {
	font-size: 3vw;
	display: block;
	color: #fff;
	position: relative;
	transition: all ease .5s;
	opacity: 1;
	line-height: 2;
}

.top_custom nav ul li a::before {
	opacity: 1;
	left: 0px;
}

.top_custom nav ul li a:hover::before {
	opacity: 1;
	left: 0px;
}

.top_custom nav ul li a:hover::after {
	opacity: 0;
}

/*スマホ用ナビボタン*/

.toggleWrap {
	display: none;
	box-sizing: border-box;
	background: #01b340;
	padding: 120px 0 30px 0;
	position: fixed;
	top: 0;
	right: 0;
	width: 50%;
	height: 100vh;
	z-index: 999 !important;
}

/* メニューを閉じる時のスタイル */

.hide {
	opacity: 0;
	visibility: hidden;
	overflow: hidden;
}

/* アニメーションはメニューの開閉時のみ */

.animation {
	-webkit-transition-property: opacity, visibility;
	transition-property: opacity, visibility;
	-webkit-transition-duration: .3s;
	transition-duration: .3s;
	-webkit-transition-timing-function: ease-in;
	transition-timing-function: ease-in;
}

/* メニューオープン時のみ、メニューの後ろのコンテンツをスクロールさせない
iOS safariには別途対応が必要（jQueryに記述）*/

.no-scroll {
	overflow-y: hidden !important;
	overflow-x: hidden !important;
}

#toggle {
	background: #01b340;
	cursor: pointer;
	display: block;
	color: #fff;
	text-align: center;
	width: 80px;
	height: 80px;
	position: fixed;
	top: 0;
	right: 0;
	z-index: 9999;
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: center;
	-webkit-justify-content: center;
	-ms-flex-pack: center;
	justify-content: center;
	-webkit-box-align: center;
	-webkit-align-items: center;
	-ms-flex-align: center;
	align-items: center;
}

.trigger, .trigger span {
	display: inline-block;
	-webkit-transition: all .4s;
	transition: all .4s;
}

.trigger {
	position: relative;
	width: 35px;
	height: 27px;
}

.trigger span {
	position: absolute;
	left: 0;
	width: 100%;
	height: 3px;
	background-color: #fff;
	border-radius: 4px;
}

.trigger span:nth-of-type(1) {
	top: 0;
}

.trigger span:nth-of-type(2) {
	top: 12px;
}

.trigger span:nth-of-type(2)::after {
	position: absolute;
	top: 0;
	left: 0;
	content: '';
	width: 100%;
	height: 3px;
	background-color: #fff;
	border-radius: 4px;
	-webkit-transition: all .4s;
	transition: all .4s;
}

.trigger span:nth-of-type(3) {
	bottom: 0;
}

.trigger.active span:nth-of-type(1) {
	-webkit-transform: translateY(8px) scale(0);
	transform: translateY(8px) scale(0);
}

.trigger.active span:nth-of-type(2) {
	-webkit-transform: rotate(-45deg);
	transform: rotate(-45deg);
}

.trigger.active span:nth-of-type(2)::after {
	-webkit-transform: rotate(90deg);
	transform: rotate(90deg);
}

.trigger.active span:nth-of-type(3) {
	-webkit-transform: translateY(-8px) scale(0);
	transform: translateY(-8px) scale(0);
}

.top_custom nav ul li:nth-child(6) {
	display: block;
}

/*-----------------------------------------------
__カレンダーまわり
-----------------------------------------------*/

.flex_calender {
	flex-wrap: wrap;
}

.calen_moshimo_wrap {
	flex-basis: 45%;
}

.right_box01 ul.ul_fb {
	flex-basis: 52%;
}

/*.right_box01 ul.ul_moshimo {
    width: 100%;
    flex-basis: 100%;
    display: flex;
}
.right_box01 ul.ul_moshimo li:first-child {
    border: none;
    background: #a6daff;
    padding: 0;
    margin: 0;
    height: 45px;
    border-radius: 10px 0 0 10px;
    border-top: 2px solid #53acea;
    border-bottom: 2px solid #53acea;
    border-left: 2px solid #53acea;
    text-align: center;
    position: relative;
    color: #fff;
    flex-basis: 45%;
}

.right_box01 ul.ul_moshimo li:first-child p {
    line-height: 45px;
    margin:0px;
    font-size: 1.1em;
    font-weight: bold;
}
.right_box01 ul.ul_moshimo li {
    border-top: 2px solid #53acea;
    border-bottom: 2px solid #53acea;
    border-left: none;
    border-right: none;
    background: none;
    padding-bottom: 3px;
    text-align: center;
    padding: 15px;
    position: relative;
    color: #333;
    font-size: 1.2em;
    flex-basis: 25%;
}
.right_box01 ul.ul_moshimo li:last-child {
    background: none;
    border-right: 2px solid #53acea;
    border-radius: 0 10px 10px 0;
}*/

/*-----------------------------------------------
__Facebookk
-----------------------------------------------*/

li.li_fb {
	padding: 0 !important;
}

/*-----------------------------------------------
__コンテンツボックス
-----------------------------------------------*/

.contents_box01 {
	margin: 0px auto 20px;
}

.contents_box01 ul li {
	width: 100%;
	height: auto;
	flex-basis: 32%;
	margin: 0 0px 20px;
	transition: all ease-in-out .3s;
	position: relative;
}

.contents_box01 ul li:nth-child(3n+2):last-child {
	margin-left: auto;
	margin-right: 34%;
}

p.p_cts {
	font-size: 1.1em;
}

/*-----------------------------------------------
__お役立ち情報
-----------------------------------------------*/

.right_box01.oyakudachi {
	flex-basis: 49%;
	flex-wrap: wrap;
}

.right_box01.oyakudachi ul {
	flex-basis: 100%;
}

ul.side_link01.ul_foreign {
	display: none;
}

/*-----------------------------------------------
__人口
-----------------------------------------------*/

.left_box02 ul.ul_jinko {
	width: 100%;
	margin-bottom: 10px;
	flex-basis: 100%;
}

.left_box02 ul.ul_jinko li dl {
	width: 100%;
}

/*-----------------------------------------------
__プロフィール
-----------------------------------------------*/

.left_box02 {
	flex-basis: 49%;
	flex-wrap: wrap;
}

ul.side_link01.ul_prof {
	flex-basis: 100%;
}

/*-----------------------------------------------
__ガイドライン
-----------------------------------------------*/

#smf_only01 {
	display: block;
	width: 95%;
	color: #1e882e;
	text-align: center;
	padding-top: 25px;
	margin: 0 auto;
	clear: both;
}

#smf_only01 p {
	margin-bottom: 25px;
}

#smf_only01 ul {
	width: 90%;
	text-align: center;
	margin: 0 auto 15px;
	display: flex;
	justify-content: space-around;
}

#smf_only01 li {
	font-size: 0.8em;
	flex-basis: 30%;
}

/*-----------------------------------------------
__フッター
-----------------------------------------------*/

.footer_link {
	display: none;
}

#footer_box div {
	width: 100%;
	margin: 0 auto;
}

#footer_box div div.left {
	border-right: none;
	margin: 0 auto;
	float: none;
	width: 95%;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
	position: relative;
}

span.f_logo {
	flex-basis: 100%;
	text-align: center;
	margin: 0 auto 15px;
}

#footer_box div div.left img {
	height: auto;
	width: 130px;
	margin: 0 auto;
}

#footer_box address {
	padding-left: 0;
	font-size: 1.1em;
	margin-bottom: 15px;
	font-style: normal;
	flex-basis: 100%;
	text-align: center;
	line-height: 1.5;
}

#footer_box dl {
	padding-left: 0;
	font-size: 0.95em;
	flex-basis: 100%;
	margin: 0 auto 15px;
	text-align: center;
	line-height: 1.2;
}

#footer_box dt {
	font-weight: bold;
	float: none;
	margin: 0 0 10px;
}

#footer_box dd {
	padding-left: 0;
	margin-bottom: 10px;
}

/*-----------------------------------------------
__バナー
-----------------------------------------------*/

/*#bn_notice {
    display: none;
}*/

/*__20210319改修
----------------------------------------------*/

.left_box01 {
	max-width: 100%;
}

.notice_box {
	height: auto;
	max-height: 300px;
}

.right_box01 {
	max-width: 100%;
}

.calen_moshimo_wrap {
	flex-basis: 100%;
	max-width: 100%;
}

.right_box01 ul.ul_fb {
	flex-basis: 100%;
	max-width: 100%;
}

li.li_fb iframe {
	width: 100%;
	max-width: 500px;
	margin: 0 auto;
	height: 500px;
	text-align: center;
	display: block;
	box-sizing: border-box;
	padding: 15px 0;
}

.right_box01 ul li:first-child p {
	margin-bottom: 0 !important;
}

.calen_moshimo_wrap {
	flex-basis: 100%;
	max-width: 100%;
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}

.calen_moshimo_wrap ul {
	flex-basis: 49%;
	max-width: 49%;
}

ul.side_link01.ul_shiseisho {
	flex-basis: 100%;
	max-width: 100%;
}

ul.side_link01.school_list {
	flex-basis: 100%;
	max-width: 100%;
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}

.right_box01 ul.school_list li:first-child {
	flex-basis: 100%;
	max-width: 100%;
}

.right_box01 ul.school_list li.li_sakasho {
	flex-basis: 50%;
	max-width: 50%;
	border-right: 1px dashed #ddd;
	border-radius: 0 0 0 10px;
	border-left: 2px solid #f4ab42;
	border-bottom: 2px solid #f4ab42;
}

.right_box01 ul.school_list li.li_sakachu {
	flex-basis: 50%;
	max-width: 50%;
	border-radius: 0 0 10px 0;
	border-left: none;
	border-right: 2px solid #f4ab42;
	border-bottom: 2px solid #f4ab42;
}

.ul_calender {
	order: 1;
	flex-basis: 100% !important;
	max-width: 100% !important;
}

.ul_moshimo {
	order: 2;
	flex-basis: 100% !important;
	max-width: 100% !important;
	flex-wrap: wrap;
	display: flex !important;
	border: 2px solid #02b340;
	border-radius: 12px;
}

.ul_moshimo li:first-child {
	flex-basis: 100%;
	max-width: 100%;
}

.ul_moshimo li {
	border-top: none !important;
	border-right: none !important;
	border-left: none !important;
	border-bottom: none !important;
	flex-basis: 33.333%;
	max-width: 33.333%;
}

.ul_foreign {
	flex-wrap: wrap;
	display: flex !important;
	flex-basis: 100% !important;
	max-width: 100% !important;
	border: 2px solid #02b340;
	border-radius: 12px;
	order: 3;
}

.ul_foreign li:first-child {
	flex-basis: 100%;
	max-width: 100%;
}

.ul_foreign li {
	border-top: none !important;
	border-right: none !important;
	border-left: none !important;
	border-bottom: none !important;
	flex-basis: 33.333%;
	max-width: 33.333%;
}

.ul_foreign li:last-child {
	border-bottom: none !important;
}

.ul_shiseisho {
	order: 4;
}

.ul_oyakudachi {
	order: 5;
	flex-basis: 100% !important;
	max-width: 100% !important;
}

.school_list {
	order: 6;
}

.ul_prof {
	order: 7;
}

.ul_jinko {
	order: 8;
}

a.bn_manabi {
	order: 9;
}

.prof_jinko_wrap {
	flex-basis: 100%;
	max-width: 100%;
	flex-wrap: wrap;
	display: flex;
}

.prof_jinko_wrap .ul_prof {
	flex-basis: 49%;
	max-width: 49%;
}

.prof_jinko_wrap .ul_jinko {
	flex-basis: 49%;
	max-width: 49%;
}

.banners_box._pc {
	display: none !important;
}

.banners_box._sp {
	display: flex !important;
}
