@charset "UTF-8";

/* タイトル
-----------------------------------*/
#img_pagettl{
	background-image: url(../img/reason/ttl_bg02.jpg);
}

/* top
-----------------------------------*/
#top{
	padding: 40px 0 0;
}
#top .wrap{
	max-width: 1400px;
}
#top .lead{
	font-size: 2rem;
}
#top .block{
	margin-top: 35px;
	overflow: hidden;
}
#top .ttlbox{
	height: 500px;
	background: url(../img/reason/top_block3_bg.jpg) no-repeat center center /cover;
	position: relative;
}
#top .block2 .ttlbox{
	background-image: url(../img/reason/top_block4_bg.jpg);
}
#top .ttl{
	font-size: 5rem;
	color: #fff;
	line-height: 1.1;
	text-align: center;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	width: 100%;
}
#top .ttl .num{
	display: block;
	margin: 0 auto 20px;
}
#top .flex{
	max-width: 1000px;
	margin: 35px auto 0;
	display: flex;
	justify-content: space-between;
}
#top .flex .img{
	width: 300px;
	margin-right: 30px;
}
#top .flex .txt{
	font-size: 2rem;
	flex: 1;
}
@media screen and (max-width: 768px) {
	#top{
		padding: 30px 0 30px;
	}
	#top .lead{
		font-size: 1.4rem;
	}
	#top .block{
		margin-top: 30px;
	}
	#top .ttlbox{
		height: auto;
		padding: 20px 0;
	}
	#top .ttl{
		font-size: 2.4rem;
		line-height: 1.3;
		position: static;
		transform: translate(0,0);
	}
	#top .ttl .num{
		width: 35px;
		margin: 0 auto 10px;
	}
	#top .flex{
		margin: 20px auto 0;
		display: block;
	}
	#top .flex .img{
		width: 60%;
		max-width: 300px;
		margin: 0 auto 10px;
	}
	#top .flex .txt{
		font-size: 1.4rem;
	}
}

/* example
-----------------------------------*/
#example{
	padding: 50px 0 30px;
}
#example .wrap{
	max-width: 1400px;
}
#example ul{
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	margin-top: 25px;
}
#example ul::before,
#example ul::after{
	content: '';
	display: block;
	max-width: 318px;
	width: 24%;
}
#example ul::before{
	order: 1;
}
#example ul li{
	max-width: 318px;
	width: 24%;
}
#example ul li:nth-child(n+5){
	margin-top: 25px;
}
#example a{
	display: block;
}
#example ul li .img{
	margin-bottom: 8px;
}
#example .btn{
	margin-top: 20px;
}
@media screen and (min-width: 769px) {
	#example a:hover .txt{
		text-decoration: underline;
	}
}
@media screen and (max-width: 768px) {
	#example{
		padding: 30px 0 30px;
	}
	#example ul{
		display: block;
		margin-top: 0px;
	}
	#example ul::before,
	#example ul::after{
		display: none;
	}
	#example ul li{
		max-width: 100%;
		width: 100%;
		border-bottom: solid 1px #d6d5d2;
	}
	#example ul li:nth-child(n+5){
		margin-top: 0;
	}
	#example ul li a{
		padding: 15px 0;
		display: flex;
		justify-content: space-between;
		align-items: flex-start;
	}
	#example ul li .img{
		margin-bottom: 0;
		width: 38%;
	}
	#example ul li .txt{
		width: 57%;
	}
	#example .btn{
		margin-top: 20px;
	}
}

/* ボタン
-----------------------------------*/
.blackbtn{
	/*line-height: 48px;*/
	color: #fff;
	text-align: center;
	/*height: 50px;*/
	width: 550px;
	background: #000;
	border: 1px solid #0f1e00;
	display: block;
	/*margin: auto;*/
	margin:20px 0 0 0;
	transition: .3s;
	border-radius: 5px;
	font-size: 16px;
	padding: 10px 0 10px 15px;
}
.ie .blackbtn{
	padding-top: 4px;
}
.r_arrow{
	position: relative;
}
.r_arrow::after{
	content: '';
	position: absolute;
	top: 50%;
	right: 20px;
	transform: translateY(-50%) rotate(-45deg);
	width: 8px;
	height: 8px;
	border-bottom: 1px solid #fff;
	border-right: 1px solid #fff;
	transition: .3s;
}
@media screen and (min-width: 769px) {
	.blackbtn:hover{
		color: #0f1e00;
		background: #fff;
	}
	.blackbtn.r_arrow:hover::after{
		border-color: #0f1e00;
	}
}
@media screen and (max-width: 768px) {
	.blackbtn{
		/*line-height: 45px;
		height: 45px;*/
		width: 100%;
		font-size: 12px;
		line-height: 16px;
	}
}

#ryukyu.section{
	margin: 60px 0 0 0;
	padding: 0;
}

@media screen and (max-width: 768px) {
	#ryukyu.section{
	margin: 10px 0 0 0;
}
}