@charset "UTF-8";
/* CSS Document */

/*------
 Common
------*/
html{
	font-size: 62.5%;
	color: #3f3f3f;
	font-family: 'Hiragino Kaku Gothic ProN','ヒラギノ角ゴ ProN W3','ヒラギノ角ゴシック','Hiragino Sans',YuGothic,'Yu Gothic','メイリオ', Meiryo,'Osaka',sans-serif;
}
body{
	font-size: 1.4rem;
	line-height: 1.8;
	background: url("img/bg.jpg");
	background-repeat: repeat;
}
ul{
	list-style: none;
	padding: 0;
}
a{
	color: #3f3f3f;
	text-decoration: none;
}
p{
	text-align: center;
}
.inner{
	width: 92%;
	margin: 0 auto;
	max-width: 1000px;
}
.pc{
	display: block;
}
.sp{
	display: none;
}
@media (max-width: 768px){
	.pc{
		display: none;
	}
	.sp{
		display: block;
	}
}

/*------
 Header
------*/
header{
	background:rgba(255,255,255,0.9);
	height: 80px;
	position: fixed;
	width: 100%;
	z-index: 10;
}
header .inner{
	display: flex;
	justify-content: space-between;
}
header .header_right{
	padding-top: 12px;
}
header .header_right p,
header .header_right a{
	margin: 0;
	text-align: right;
	font-weight: bold;
	color: #00877a;
}
header .header_right p:nth-child(1){
	line-height: 2rem;
} 
header .header_right p:nth-child(2){
	font-size: 3rem;
	line-height: 4.3rem;
}
@media (max-width: 768px){
	header{
		height: 60px;
	}
	header img{
		width: 60%;
	}
}

/*------
 Hamberger Menu
------*/
@media (max-width: 768px){
	.sp_nav_btn{
		position: relative;
		width: 30px;
		z-index: 100;
	}
	.sp_nav_btn span{
		display: block;
		width: 30px;
		border-bottom: 3px solid #00877a;
		position: absolute;
		transition: .35s ease-in-out;
	}
	.sp_nav_btn span:nth-child(1){
		top: 20px;
	}
	.sp_nav_btn span:nth-child(2){
		top: 30px;
	}
	.sp_nav_btn span:nth-child(3){
		top: 40px;
	}
	/*クラス名openが付与された時にspanタグを45度にする*/
	.sp_nav_btn.open span:nth-child(1){
		transform: rotate(-45deg);
		top: 30px;
	}
	.sp_nav_btn.open span:nth-child(2),
	.sp_nav_btn.open span:nth-child(3){
		transform: rotate(45deg);
		top: 30px;
	}
	nav{
		background: rgba(255,255,255,0.95);
		width: 100%;
		position: fixed;
		top: 0;
		left: 0;
		text-align: center;
		padding-top: 60px;
/*		height: 100vh;*/
		transform: translateY(-100%);
		transition: all .6s;
	}
	nav.open{
		transform: translateY(0);
	}		
	nav.open ul{
		display: block;
		background: none;
	}	
	nav.open li{
		border-top: 1px solid #00877a;
		margin: 0;
		padding: 15px 0;
	}			
	nav.open li:last-child{
		background: #00877a;
	}		
	nav.open li a,
	nav.open li a::before{
		color: #00877a;
	}	
	nav.open li:last-child p,
	nav.open li:last-child a{
		color: #fff;
		font-size: 1.2rem;
		margin: 0;
	}	
	nav.open li:last-child a{
		font-size: 2rem;
	}	
	nav.open li:last-child .tel::before{
		background-image: url("img/dial_logo_2.png");
		
	}
	
	nav.open li:last-child a::before{
		display: none;
	}
}

/*------
 Footer
------*/
footer img{
	margin: 0 auto;
}
footer p{
	background: #00877a;
	margin-bottom: 0;
	text-align: center;
	color: #fff;
}
footer a{
	color: #fff;
}

/*------
  PageTopBtn
------*/
#PageTop{
	width: 50px;
	height: 50px;
	position: fixed;
	bottom: 40px;
	right: 30px;
	background: #e95504;
	border-radius: 50%;
	z-index: 10;
}
#PageTop:hover{
	background: #fbca00;
	transition: 0.6s ease;
}
#PageTop  a{
	position: relative;
	display: block;
	width: 60px;
	height: 60px;
}
#PageTop a::before{
	content: '\f102';
	font-family: 'Font Awesome 5 Free';
	font-size: 3rem;
	font-weight: 900;
	color: #fff;
	position: absolute;
	top: -5%;
	right: 42%;
}
@media (max-width: 768px){
	#PageTop{
		bottom: 20px;
		right: 15px;
	}
}

/*------
  main
------*/
/*Common*/
main{
	padding-top: 80px;
}
section{
	margin: 50px 0;
}
h2{
	font-size: 2.4rem;
	text-align: center;
	margin: 30px 0;
	padding: 5px 0;
	color: #fff;
	background: #00877a;
	border-radius: 4px;
	
}
h2::before{
	content: '\f0f3';
	font-family: 'Font Awesome 5 Free';
	font-weight: 900;
	padding-right: 10px;
	color: #fff;
}
.font{
	font-family: 'Libre Baskerville', serif;
	color: #00877a;
}
.tel::before{
	content: '';
	display: inline-block; 
	width: 35px;
	height: 35px;
	background-image: url("img/dial_logo_1.png");
	background-repeat: no-repeat;
	background-size: contain;
	vertical-align: middle;
	margin-right: 8px;
}
@media (max-width: 768px){
	h2{
		font-size: 1.8rem;
	}	
	main{
		padding-top: 60px;
	}
}
/*Main Visual*/
.mv{
	position: relative;
}
.mv img{
	width: 100%;
}
.mv ul{
	margin: 0;
}
.mv p{
	font-size: 3rem;
	color: #fff;
	font-weight: bold;
	padding: 10px 20px;
	position: absolute;
	top: 35%;
	right: -10%;
	transform: translate(-50%,-50%);
}
.mv p:nth-child(3){
	right: -5%;
	background: #e95504;	
	border-radius: 4px;
}
.mv p:nth-child(4){
	top: 55%;
	background: #00877a;
	border-radius: 4px;
}
@media (max-width: 1200px){
	.mv p{
		font-size: 2.4rem;
	}
}
@media (max-width: 1000px){
	.mv p{
		position: absolute;
		top: 28%;
		right: -15%;
	}
	.mv p:nth-child(2){
		right: -10%;
	}
	
}
@media (max-width: 768px){
	.mv p{
		font-size: 2rem;
		top: 60%;
		right: -35%;
	}	
	.mv p:nth-child(3){
		right: -25%;
		
	}
	.mv p:nth-child(4){
		top: 75%;
	}
}

/*Navi*/
nav ul{
	display: flex;
	justify-content: center;
	background: #00877a;
	margin: 0;
}
nav li{
	margin: 10px 30px;
	font-size: 1.8rem;
}
nav li:hover{
	opacity: 0.6;
	transition: 0.6s ease;
}
nav li a{
	color: #fff;
}
nav a:before{
	content: '\f0f3';
	font-family: 'Font Awesome 5 Free';
	font-weight: 900;
	padding-right: 10px;
	color: #fff;
}

/*Service*/
#service h2{
	color: #3f3f3f;
	background: none;
}
#service h2::before{
	display: none;
}
#service img{
	margin: 30px auto 10px;
}
#service img:nth-child(3){
	width: 80%;
}
#service .service_flex{
	display: flex;
	justify-content: center;
}
#service .service_flex p{
	font-size: 1.6rem;
	font-weight: bold;
	color: #fff;
	width: 155px;
	height: 155px;
	background: #e95504;
	border-radius: 50%;
	margin: 20px;
	padding-top: 50px;
}
@media (max-width: 768px){
	#service .service_flex{
		display: block;
		position: relative;
		height: 320px;
	}	
	#service .service_flex p{
		margin: 10px;
	}	
	#service .service_flex p:nth-child(1){
		position: absolute;
		top: 0;
		left: 25%;
	}	
	#service .service_flex p:nth-child(2){
		position: absolute;
		bottom: 0;
		left: 0;
	}	
	#service .service_flex p:nth-child(3){
		position: absolute;
		bottom: 0;
		right: 0;
	}
}

/*Guide*/
#guide h3{
	background: #3f3f3f;
	border-radius: 4px;
	font-size: 1.8rem;
	font-weight: normal;
	color: #fff;
	text-align: center;
	margin: 30px 0;
	padding: 5px 0;
}
#guide .guide_flex{
	display: flex;
	justify-content: center;
}
#guide .guide_content{
	width: 60%;
	margin: 50px 30px;
}
#guide .guide_content h4{
	font-size: 1.8rem;
}
#guide .guide_content p{
	text-align: left;
}
#guide .guide_img{
	width: 40%;
	position: relative;
}
#guide .guide_img p{
	position: absolute;
	top: -10%;
	left: -10%;
	font-size: 5rem;
	
}
#guide .guide_img img{
	width: 100%;
}
#guide .guide_03 h4{
	font-size: 1.6rem;
	text-align: center;
	border-bottom: 1px solid #3f3f3f;
}
#guide .guide_03 p:nth-child(4){
	text-align: left;
	padding: 0 50px;
}
#guide .guide_03 table{
	width: 100%;
	text-align: center;
	border-collapse: collapse;
	border-spacing: 0;
}
#guide .guide_03 tr:nth-child(2n+1){
	background: #f2f2f2;
}
#guide .guide_03 tr:nth-child(2n){
	background: #fff;
}
#guide .guide_03 th{
	padding: 10px;
	background: #969696;
	border: 1px solid #969696;
	color: #fff;
}
#guide .guide_03 td{
	padding: 10px;
	border: solid 1px #969696;
	width: 50%;
}
@media (max-width: 768px){
	#guide h3{
		   font-size: 1.6rem;
	}	
	#guide .guide_flex{
		display: block;
	}
	#guide .guide_content{
		width: 100%;
		margin: 0;
	}
	#guide .guide_content h4{
		font-size: 1.6rem;
		text-align: center;
		margin: 15px 0;
	}
	#guide .guide_content p{
		text-align: left;
	}
	#guide .guide_img{
		width: 90%;
		margin: 0 auto;
	}		
	#guide .guide_img p{
		font-size: 4rem;
		top: -20%;
	    left: -5%;
	}
	#guide .guide_03 p:nth-child(4){
		padding: 0;
	}
}

/*Case*/
#case .case_flex{
	display: flex;
	justify-content: center;
	margin-top: 30px;
}

#case .case_flex h3{
	text-align: center;
	font-size: 1.8rem;
	font-weight: bold;
	margin-top: 5px;
} 
#case .case_flex span{
	border-bottom: 1px solid #3f3f3f;
	display: block;
	text-align: center;
	padding-top: 15px;
}
#case .case_flex h4{
	background: #3f3f3f;
	border-radius: 4px;
	color: #fff;
	font-size: 1.6rem;
	font-weight: normal;
	text-align: center;
} 
#case .case_flex p{
	text-align: left;
}
#case .case_flex p::before{
	content: '\f0da';
	font-family: 'Font Awesome 5 Free';
	font-weight: 900;
	padding-right: 10px;
}
#case .case_flex .yajirushi{
	margin: 0 auto;
	width: 10%;
}
#case .case_flex .hidden{
	display: none;
}
.tab_open{
	display: block;
	padding: 10px;
	border: 1px solid #3f3f3f;
	background: #fff;
	border-radius: 4px;
	margin: 5px 0;
	font-weight: bold;
	position: relative;
}
.tab_open::before,
.tab_open::after{
	content: '';
	width: 20px;
	height: 3px;
	background: #3f3f3f;
	position: absolute;
	top: 50%;
	right: 5%;
	transform: translateY(-50%);
}
.tab_open::after {
	transform: translateY(-50%) rotate(90deg);
	transition: .5s;
}
.hidden:checked + .tab_open::after {
	transform: translateY(-50%) rotate(0);
}
.tab_close {
	display: block;
	height: 0;
	overflow: hidden;
	padding: 0;
	opacity: 0;
	transition: 0.5s;
}
.hidden:checked + .tab_open + .tab_close {
	height: auto;	
	opacity: 1;
}
#case .case_flex .case_01,
#case .case_flex .case_02,
#case .case_flex .case_03{
	width: calc(100%/3);
	margin: 0 20px;
}
@media (max-width: 768px){
	#case .case_flex{
		display: block;
	}
	#case .case_flex img{
		width: 100%;
	}	
	#case .case_flex .case_01,
	#case .case_flex .case_02,
	#case .case_flex .case_03{
		width: 100%;
		margin: 30px 0;
	}
}

/*Setplan*/
#setplan h2{
	color: #3f3f3f;
	background: none;
}
#setplan h2::before{
	display: none;
}
#setplan .setplan_flex{
	display: flex;
	justify-content: center;
}
#setplan .setplan_flex img{
	width: 40%;
	height: 100%
}
#setplan .setplan_content{
	margin-top: 50px;
}
#setplan .setplan_content h2{
	font-size: 2rem;
}
#setplan .setplan_content p{
	text-align: left;
	margin: 40px 30px;
}
#setplan .setplan_content a{
	color: #e95504;
	font-size: 1.5rem;
	font-weight: bold;
	margin: 0 3px;
}
#setplan .setplan_content a:hover{
	color: #00877a;
	transition: 0.6s ease;
}
@media (max-width: 768px){
	#setplan .setplan_flex{
		display: block;
	}	
	#setplan .setplan_flex h2{
		margin: 0;
	}	
	#setplan .setplan_flex img{
		width: 100%;
	}	
	#setplan .setplan_content{
		margin: 0;
	}	
	#setplan .setplan_content p{
		margin: 0;
	}
	
}

/*Request*/
#request li{
	position: relative;
	padding: 0 0 10px 30px;
}
#request li:before{
	content: '';
	width: 3px;
	background: #cccccc;
	display: block;
	position: absolute;
	top: 26px;
	bottom: 0;
	left: 6px;
}
#request .btn_01,
#request .btn_02{
	content: '';
	display: inline-block;
	position: absolute;
	top: 5px;
	left: 0;
	width: 15px;
	height: 15px;
	border-radius: 50%;
	background: #fbca00;
}

#request .btn_02{
	background: #00877a;
}
#request .label{
	padding: 3px 0 8px 0;
	margin-bottom: 8px;
	color: #00877a;
	font-size: 1.2rem;
	font-weight: bold;
}
#request .title{
	font-size: 1.8rem;
	font-weight: bold;
	line-height: 3rem;
	margin-bottom: 15px;
}
#request .content{
	line-height: 1.5rem;
	margin-top: 30px;
	padding: 0 0 30px;
	border-bottom: 1px dashed #cccccc;
}
#request .content .tel_box p,
#request .content .tel_box a{
	color: #00877a;
	font-size: 1.6rem;
	font-weight: bold;
}
#request form p{
	text-align: left;
	margin-top: 30px;
}
#request .content .tel_box a{
	font-size: 3rem;
}
#request .content dl dt{
	width: 120px;
	float: left;
	clear: both;
	padding: 15px 0 20px;
}
#request .content dl dd{
	padding: 10px 0;	
}
#request .content dl dd input[type="text"],
#request .content dl dd input[type="email"],
#request .content dl dd input[type="tel"],
#request .content dl dd textarea{
	width: 90%;
	padding: 6px 10px;
	border-radius: 4px;
	border: 1px solid #3f3f3f;
}
#request .content input[type="submit"]{
	display: block;
	width: 30%;
	background: #00877a;
	color: #fff;
	border: none;
	border-radius: 4px;
	padding: 15px 0;
	margin: 0 auto;
}
@media (max-width: 768px){
	#request .content dl dt{
		padding: 10px 0;
	}	
	#request .content dl dd{
		margin: 0;
	}	
	#request .content dl dd input[type="text"],
	#request .content dl dd input[type="email"],
	#request .content dl dd input[type="tel"],
	#request .content dl dd textarea,
	#request .content input[type="submit"]{
		width: 100%;
	}	
}

/*Company*/
#company .company_flex{
	display: flex;
	justify-content: center;
}
#company .company_flex iframe{
	height: auto;
}
#company .company_flex img{
	margin-left: 30px;
	width: 50%;
	height: 100%;
}
@media (max-width: 768px){
	#company .company_flex{
		display: block;	
	}	
	#company .company_flex img{
		margin: 0;
		padding-top: 20px;
		width: 100%;
	}
}

.caution p {
	color: red;
}

.title_success {
	font-size: 1.8rem;
	font-weight: bold;
	line-height: 3rem;
	margin-bottom: 15px;
	color: #e95504;
}

.p_success {
	text-align: left;
}
