/* CSS Document */

.news_dl {
    display: flex;
    border-bottom: 1px solid #ccc;
	padding-top: 0;
    padding-bottom: 1.5em;
    margin-bottom: 1.5em;
}

.news_dl_dt{
    margin-bottom: 7px;
}

.bunner_space{
	width: 90%;
}

.big_bunner_space{
	width: 90%;
}

@media screen and (max-width:550px) {
	.menu_box{
	width:350px;
    }
	
	.menu_box{
	display: flex;
	justify-content: flex-start;
	align-items: center;
	flex-wrap: wrap;
	margin: 0 auto;
	object-fit: fill;
}

.menu_btn{
	background-color: #fff;
	display: block;
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
	font-size: 0.7em;
	width: 160px;
	height: 160px;
	color: #00468C;
	text-decoration: none;
	margin-right: 30px;
}
	
	.menu_btn:nth-of-type(2n){
	margin-right: 0;
	}
	
	.menu_btn:nth-of-type(3){
	margin-right: 30px;
	}

	.menu_btn:first-of-type,
	.menu_btn:nth-of-type(2),
	.menu_btn:nth-of-type(3),
	.menu_btn:nth-of-type(4){
		margin-bottom: 40px;
	}
}

@media screen and (max-width:400px) {
	.menu_box{
	width:270px;
    }
	
	.menu_box{
	display: flex;
	justify-content: flex-start;
	align-items: center;
	flex-wrap: wrap;
	margin: 0 auto;
	object-fit: fill;
}

.menu_btn{
	background-color: #fff;
	display: block;
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
	font-size: 0.5em;
	width: 125px;
	height: 125px;
	color: #00468C;
	text-decoration: none;
	margin-right: 20px;
}
	
	.menu_btn:nth-of-type(2n){
	margin-right: 0;
	}
	
	.menu_btn:nth-of-type(3){
	margin-right: 20px;
	}

	.menu_btn:first-of-type,
	.menu_btn:nth-of-type(2),
	.menu_btn:nth-of-type(3),
	.menu_btn:nth-of-type(4){
		margin-bottom: 20px;
	}
}

/*　お問い合わせフォーム　*/

.inner-m{
	width: 90%;
	margin-left: auto;
	margin-right: auto;
}

dl{
	flex-direction: column;
	padding-left: 0;
	border-bottom: none;
}

dt{
	font-weight: 600;
	width:100%;
	display: block;
	margin-bottom: 15px;
}

dd{
	width:100%;
}

input,textarea{
	border: 1px solid #ccc;
	border-radius: 5px;
	padding: 5px;
}

.input-width-s{
	width:100%;
}

.input-width{
	width:100%;
}

.input-width-yuubinbangou{
	width: calc(100%-(1em + 10px));
}

/*　ヒストリーページ　*/

.history{
	margin-top: 30px;
	margin-bottom: 60px;
	display: block;
}

.history_main{
	width: 100%;
	margin-left: auto;
	margin-right: auto;
}

.history_content{
width:166px;
margin-right: 78px;
}

.history_content:nth-of-type(3n){
margin-right: 78px;
}

.history_content:nth-of-type(2n){
margin-right: 0;
}

.history_sub{
	margin-top: 20px;
	text-align: center;
	width: 100%;
	margin-left: auto;
	margin-right: auto;
}

@media screen and (max-width:430px) {
	.history_main{
	width: 100%;
	}
	
	.history_content{
	width:100%;
	margin-right: 0;
	}
	
	.history_content_img{
		width: 100%;
		height: auto;
	}
	
	.history_sub{
	margin-top: 20px;
	text-align: center;
	width: 80%;
	margin-left: auto;
	margin-right: auto;
	}
	
	.history_content:nth-of-type(3n){
	margin-right: 10%;
	}

	.history_content:nth-of-type(2n){
	margin-right: 0;
	}
	
}

/*　プロフィールページ　*/

.profile{
	width:90%;
	margin-left: auto;
	margin-right: auto;
	justify-content: space-between;
}

.single-title {
    margin-bottom: 30px;
	font-size: 1.3em;
}
	
	.profile_content{
	width: 45%;
	margin-bottom: 20px;
	margin-left: 0;
	margin-right: 10%;
}

.profile_content_img{
	width: 100%;
	height: auto;
	object-fit: cover;
}
	
	.profile_content:nth-child(3n){
	margin-right: 10%;
}
	.profile_content:nth-child(2n){
	margin-right: 0;
}

.profile_content_p{
	font-size: 0.9em;
}

.content{
    width: 100%;
	padding: 100px 20px;
}

button.close{
	font-size: 2em;
	font-weight: 600;
	position: absolute;
	top:5px;
	right:13px;
}

.popup_img{
	display: block;
	width: 100%;
	margin-left: auto;
	margin-right: auto;
}

/* コンタクト確認ページ */

.flex_btn_area{
	width: 100%;
}

/*　送信完了ページ　*/

.contact_thanks{
	font-size: 140%;
}

.contact_thanks_p{
	font-size: 110%;
}

br.sp_only{
	display: inline-block;
}