@charset "utf-8";
/* CSS Document */

body{
	font-family: 'Roboto', sans-serif;
}

.container1{
	max-width:1000px;
	margin:0 auto;
}

header{
	background-color: #8d8e37;
	padding:10px;
}
header .container1{
	display: inline-flex;
	justify-content:space-between;
}
header a{
	color:#FFF;
	text-decoration: none;
}
header nav a{
	margin:0 10px;
}

header .logo{
	font-weight:700;
}
header .icon{
	display:none;
}
header #select_lang{
	display: none;
}

main{}


#member_news .item{
	padding:50px 20px;
	border-bottom:dashed 1px #DDD;
}
#member_news .item h1{
	font-size: 2em;
	line-height: 130%;
}
#member_news .item h5{
	color:#999;
}
#member_news .item img{
	margin:20px 0;
}
#member_news .item p{
	color:#999;
	line-height: 150%;
}

#form{
	margin:50px 20px;
}
#form .container1{
	max-width: 500px;
	padding:40px 25px;
	box-shadow: 0 15px 30px rgba(0,0,0,.2);
	border-radius: 30px;
}
#form h1{
	font-size: 2em;
	margin-bottom:30px;
}
fieldset{
	margin-bottom: 20px;
}
fieldset label{
	display: block;
	font-size: .9em;
	margin-bottom: 5px;
	color:#666;
}
fieldset input,textarea{
	width:100%;
	padding:8px 12px;
	border:none;
	background-color:#EEE;
	border-radius: 15px;
	font-family: 'Roboto', sans-serif;
}
textarea{
	height:90px;
	resize:none;
}
button{
	border:none;
	color:#FFF;
	padding:10px 20px;
	background-color:#333;
	border-radius: 30px;
	cursor: pointer;
	margin-right: 5px;
	font-family: 'Roboto', sans-serif;
	margin-bottom: 15px;
}
button:hover{
	background-color:#EEE;
	color:#333;
}
form *:focus{
	outline:none;
}

#banner{
	height: 450px;
	background-position: center;
	background-size: cover;
	display: flex;
	justify-content: center;
	align-items: center;
}
#banner h1{
	color:rgba(255,255,255,.5);
	font-size: 2.25em;
	font-family: 'Yellowtail', cursive;
}

#teachings {}
.container2{
	max-width:1000px;
	margin:0 auto;
	display: flex;
	flex-wrap:wrap;
}
.teachings{
	background-color: #3f4d6d;
	margin:10px;
	display: flex;
	flex-wrap:wrap;
}
.container2 a{
	color:#FFF;
	text-decoration: none;
	display: inline-flex;
	justify-content: center;
}
.small {
	background-color: #8d8e37;
	padding:10px;
	width:29.33%;
	border-radius: 10px;
	margin:2%;
}
.small{
	display: flex;
	flex-wrap:wrap;
	justify-content:space-between;
	align-items:center;
}
.small a{
	background-color: #171562;
	color:#b3a93e;
	margin-bottom: 10px;
	padding-top: 10px;
	margin-right: 5px;
	font-size: .8em; text-align:center;
	width:40px;
	height:30px;
	border-radius: 15px;
}
.medium {
	background-color: #8d8e37;
	padding:10px;
	width:45.33%;
	border-radius: 10px;
	margin:2%;
}
.medium a{
	background-color: #171562;
	color:#b3a93e;
	margin-bottom: 10px;
	padding-top: 10px;
	margin-right: 5px;
	font-size: .8em; text-align:center;
	
	border-radius: 15px;
}	
	
	
#news .container1{
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	padding: 20px;
	font-size: .95em;
}
#news .item{
	width:33.33%;
	margin:20px 10px;
}
#news .item h1{
	font-size: 1.25em;
	color:#069;
	font-weight:700;
}

#news .item img{
	max-width:100%;
	margin:10px 0;
}

#news .item p{
	color:#999;
	line-height: 150%;
}

#teachings .container2{
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	padding: 10px;
	font-size: 2em;
}
.teachings{
	background-color: #3f4d6d;
	margin:10px;
	display: flex;
	flex-wrap:wrap;
}
.container2 a{
	color:#FFF;
	text-decoration: none;
	display: inline-flex;
}
.small {
	background-color: #D5D5A6;
	padding:10px;
	width:29%;
	border-radius: 10px;
	margin:2%;
}
.small{
	display: flex;
	flex-wrap:wrap;
	justify-content:space-between;
	align-items:center;
}
.small a{
	background-color: #171562;
	color:#D5D5A6;
	margin-bottom: 10px;
	padding: 5px;
	margin-right: 5px;
	font-size: .8em; 
	text-align:center;
	width:40px;
	height:30px;
	display:inline;
	flex-wrap:wrap;
	border-radius: 5px;
}
.medium {
	background-color: #D5D5A6;
	padding:10px;
	width:44%;
	border-radius: 10px;
	margin:2%;
}

a.button {
    padding: 1px 6px;
    border: 1px outset buttonborder;
    border-radius: 3px;
    color: buttontext;
    background-color: buttonface;
    text-decoration: none;
}



#faq{
	background-color: #eee;
	text-align: center;
	padding:50px 0;
}
#faq h1{
	font-size: 1.5em;
	font-weight: 700;
	margin-bottom: 20px;
}
#faq li{
	border-top:dashed 1px #CCC;
	padding:25px 20px;
}
#faq li.open{
	background-color: #FFF;
	box-shadow: 0px 8px 16px rgba(0,0,0,.15);
}
#faq .q{
	cursor:pointer;
}
#faq .q:hover{
	color:#069;
	font-weight: 700;
}
#faq .a{
	color:#999;
	line-height: 150%;
	margin-top: 10px;
}

footer{
	background-color: #333;
	color:#CCC;
	text-align: center;
	padding:20px;
}
footer a{
	color:#FFF;
	text-decoration: none;
	display: inline-flex;
}





















@media (max-width:540px){
	body{}

	.container{
		width:100%;
	}

	header{
		text-align: center;
	}
	header .container{
		flex-wrap: wrap;
	}
	header nav{
		margin-top:15px;
		width: 100%;
		display: none;
	}
	header nav a{
		display: block;
		border-top:solid 1px #FFF;
		padding:15px 0;
		margin:0;
	}
	header .logo{
		font-size: 2em;
	}
	header .icon{
		display: block;
	}
	header .icon img{
		height: 32px;
	}
	header .icon img.close{
		display:none;
	}
	main{}

	#banner{
		height: 550px;
	}
	#news .container{
		padding: 0;
	}
	#news .item{
		width:100%;
		margin:0;
		padding:40px 20px;
		border-bottom: dashed 1px #DDD;
	}
	#teachings .container2{
		padding:0;
	}
	#teachings .medium{
		width:100%;
		margin:0;
		padding:40px 20px;
		border-bottom: dashed 1px #DDD;
	}
	#teachings .small{
		width:100%;
		margin:0;
		padding:40px 20px;
		border-bottom: dashed 1px #DDD;
	}
	
	
	
}








































