/* CSS Document */

.inner{
	width: 90%;
	margin-left:auto;
	margin-right: auto;
}

.inner_2{
	width: 90%;
	margin-left:auto;
	margin-right: auto;
}

.gl_nav{
	width: 90%;
}

.bunner_space{
	width: 80%;
}

.big_bunner_space{
	width: 75%;
}

.gl_nav_ul{
	display: none;
}

.uk-button{
	width: 30px;
	height: 30px;
	display: block!important;
	color: #fff!important;
	padding: 0!important;
	margin-top: auto;
	margin-bottom: auto;
}

.uk-offcanvas-bar{
	background-color: #F6F6F6!important;
	width: 100%!important;
}

.uk-button-default {
    background-color: transparent;
    border: none!important;
}

.uk-button-default:focus,
.uk-button-default:hover{
	color: #fff!important;
}

i.fa-navicon{
	display: block;
	width: 30px;
	height: 30px;
}

.uk-offcanvas-close{
	color: #111!important;
}

ul.hamberger_ul{
	padding: 0;
	margin: 40px 0;
}

ul.hamberger_ul li{
	list-style-type: none;
	margin-bottom: 1.5em;
}

ul.hamberger_ul li a:link,
ul.hamberger_ul li a:visited,
ul.hamberger_ul li a:active{
	color: #111;
	font-size: 1.3em;
	text-decoration: none;
	margin: 0;
	transition-duration: 0.3s;
}

ul.hamberger_ul li a:hover{
	color: #ccc;
	transition-duration: 0.3s;
}

/* トップの四角メニュー */

.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: 200px;
	height: 200px;
	color: #00468C;
	text-decoration: none;
	margin-right: 70px;
}

.menu_box{
	width:740px;
}

.menu_btn:nth-of-type(3){
	margin-right: 0;
}

.menu_btn:first-of-type,
.menu_btn:nth-of-type(2),
.menu_btn:nth-of-type(3){
	margin-bottom: 70px;
}

@media screen and (max-width:740px) {
	.menu_box{
	width:470px;
    }
	
	.menu_btn:nth-of-type(2n){
	margin-right: 0;
	}
	
	.menu_btn:nth-of-type(3){
	margin-right: 70px;
	}

	.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: 70px;
	}
}


/*　トップページバナースペース　*/

@media screen and (max-width:800px) {
	.bunner_space{
	width: 80%;	
}

.bunner{
	width:45%;
	margin-right:10%;
	margin-bottom: 40px;
}
	
.bunner:nth-of-type(3n){
	margin-right:10%;
}

.bunner:nth-of-type(2n){
	margin-right: 0;
}
}

@media screen and (max-width:400px) {
	.bunner_space{
	width: 80%;	
}

.bunner{
	width:100%;
	margin-right:0;
	margin-bottom: 30px;
}
	
.bunner:nth-of-type(3n){
	margin-right:0;
}

.bunner:nth-of-type(2n){
	margin-right: 0;
}
}

/*　ヒストリーページ　*/

.history_main{
	width: 65%;
}

.flex_flex_start{
	display: flex;
	justify-content: flex-start;
	flex-wrap: wrap;
}

.history_content{
	display: block;
	text-decoration: none;
	transition-duration: 0.3s;
}

/*　プロフィールページ　*/

.profile{
	width:900px;
	margin-left: auto;
	margin-right: auto;
	justify-content: space-between;
}


.profile_content{
	width: 235px;
	margin-bottom: 30px;
	margin-left: 0;
	margin-right: 97.5px;
}

.profile_content:nth-child(3n){
	margin-right: 0;
}

.profile_content_p{
	text-align: center;
	margin: 10px;
}

/*　プロフィールページの画像ポップアップ　*/

.content{
    width: 60%;
}

button.close{
	font-size: 2em;
	font-weight: 600;
	position: absolute;
	top:8px;
	right:13px;
}

.popup_img{
	display: block;
	width: 100%;
	margin-left: auto;
	margin-right: auto;
}