/* -------------------*/
/* -------------------*/
/* Contents style -------------------*/

.contents .section{
	position: relative;
	width: 100%;
	margin: 0 auto;
}
#bg_about{ background: url(../img/about/header_bg_about.jpg) center center no-repeat; background-size: cover; }
#bg_howto{ background: url(../img/howto/header_bg_howto.jpg) center center no-repeat; background-size: cover; }
#bg_service{ background: url(../img/service/header_bg_service.jpg) center center no-repeat; background-size: cover; }
#bg_news{ background: url(../img/news/header_bg_news.jpg) center center no-repeat; background-size: cover; }
#bg_contact{ background: url(../img/contact/header_bg_contact.jpg) center center no-repeat; background-size: cover; }

/* Header -------------------*/

#header_visual{
	position: relative;
	width: 100%;
	height: 470px;
}
#header_visual .page_header{
	width: 100%;
	height: auto;
}
#header_visual .inner{
	width: 100%;
	height: 470px;
	padding-top: 250px;
	color: #fff;
	text-align: center;
}
#header_visual .eng{
	font-size: 50px;
	letter-spacing: 6px;
	font-style: italic;
}
#header_visual .page_title{
	padding-top: 20px;
	font-size: 18px;
	letter-spacing: 4px;
}
@media screen and (max-width: 960px){
	#header_visual{
		height: 400px;
	}
	#header_visual .inner{
		height: 400px;
		padding-top: 240px;
	}
	#header_visual .eng{
		font-size: 40px;
		letter-spacing: 6px;
	}
	#header_visual .page_title{
		padding-top: 2%;
		font-size: 15px;
	}
}
@media screen and (max-width: 650px){
	#header_visual{
		height: 250px;
	}
	#header_visual .inner{
		height: 250px;
		padding-top: 170px;
	}
	#header_visual .eng{
		font-size: 24px;
	}
	#header_visual .page_title{
		font-size: 12px;
	}
}

/* Page Menu -------------------*/

.page_menu{
	position: relative;
	overflow: hidden;
	width: 900px;
	height: auto;
	margin: 40px auto;
}
.page_menu ul{
	width: 101%;
	display: flex;
	justify-content: space-between;
}
.page_menu ul li,
.page_menu ul li a{
	height: 50px;
	line-height: 50px;
	border-radius: 10px;
	color: var(--main-color);
}
.page_menu ul li{
	width: 24%;
	margin-right: 1%;
	letter-spacing: 1px;
}
.page_menu__service ul li{
	width: 49%;
}
.page_menu ul li a{
	width: 100%;
}
.page_menu ul li.carrent{
	color: #fff;
	background: url(../img/common/icon_arrow_white.svg) 93% center no-repeat;
	background-size: 12px 8px;
	background-color: var(--main-color);
}
.page_menu ul li a{
	display: block;
	color: var(--main-color);
	background: url(../img/common/icon_arrow_pink.svg) 93% center no-repeat;
	background-size: 12px 8px;
	background-color: #fff;
	border: 1px solid;
	border-color: var(--main-color);
}
.page_menu ul li a:hover{
	color: #fff;
	background: url(../img/common/icon_arrow_white.svg) 93% center no-repeat;
	background-size: 12px 8px;
	background-color: var(--main-color);
}

@media screen and (max-width: 960px){
	.page_menu{
		width: 90%;
		margin: 5% auto;
	}
	.page_menu ul li,
	.page_menu ul li a{
		height: 40px;
		line-height: 40px;
		border-radius: 10px;
		font-size: 13px;
		letter-spacing: 1px;
	}
	.page_menu ul li{
		width: 49%;
	}
	.page_menu ul li{
		margin-bottom: 12px;
	}
}
@media screen and (max-width: 650px){
	.page_menu{
		margin: 5% auto 0;
	}
	.page_menu ul{
		width: 102%;
		flex-wrap: wrap;
	}
	.page_menu ul li,
	.page_menu__service ul li{
		width: 48%;
	}
	.page_menu ul li{
		margin-right: 2%;
		margin-bottom: 3%;
	}
	.page_menu ul li,
	.page_menu ul li a{
		font-size: 11px;
		text-align: left;
		border-radius: 8px;
	}
	.page_menu ul li a,
	.page_menu ul li.carrent{
		padding-left: 12px;
	}
}
.news_menu{
	position: relative;
	width: 100%;
	height: auto;
	margin: 40px auto;
}
.news_menu ul{
	display: table;
	table-layout: fixed;
	border-collapse: separate;
	border-spacing: 20px 0;
	width: 900px;
	margin: 0 auto;
}
.news_menu ul li{
	display: table-cell;
	vertical-align: middle;
	width: auto;
	font-size: 13px;
	text-align: center;
	border-right: 1px dotted #aaa;
}
.news_menu ul li:last-child{
	border-right: none;
}
.news_menu ul li a{
	color: #666;
	padding-right: 18px;
	margin-left: -18px;
	background: url(../img/common/icon_menu_pink.svg) right center no-repeat;
	background-size: 12px 8px;
}
@media screen and (max-width: 960px){
	.news_menu{
		margin: 5% auto;
	}
	.news_menu ul{
		width: 100%;
	}
}

/* -------------------*/
/* -------------------*/
/* How to Use -------------------*/

#howto{
	position: relative;
	width: 100%;
}
#howto #step_area{
	width: 960px;
	height: auto;
	min-height: 1507px;
	overflow: hidden;
	margin: 0 auto;
	background: url(../img/howto/bg.jpg) left top no-repeat;
}
#howto #step_area .inner{
	float: right;
	width: 670px;
	height: auto;
	padding: 60px 0;
	text-align: left;
}
#step_area .step_box{
	width: 100%;
	padding-bottom: 50px;
	margin-bottom: 50px;
	border-bottom: 2px dotted #eee;
}
#step_area .step_box .title{
	width: 100%;
	height: auto;
	margin-bottom: 30px;
}
#step_area .step_box .title .eng{
	display: inline-block;
	padding-right: 10px;
	letter-spacing: 2px;
	color: var(--main-color);
	font-size: 22px;
	font-weight: bold;
}
#step_area .step_box .title h3{
	display: inline-block;
	letter-spacing: 2px;
	font-size: 20px;
}
#step_area .step_box .text{ padding-left: 10px; }
#step_area .step_box .text p{ line-height: 1.8; }
#step_area .step_box .text .marker{
	font-weight: bold;
	background: linear-gradient(transparent 40%, #fffa96 0%);
}
#step_area .step_box .tel_box{
	padding: 24px 30px;
	margin-top: 20px; 
	background-color: #fce7ee;
}
#step_area .step_box .tel_box dl{
	padding-bottom: 10px;
}
#step_area .step_box .tel_box dd{
	padding: 12px 0;
	margin-left: 16px;
	font-size: 30px;
	font-weight: bold;
	color: var(--main-color);
}
#step_area .step_box .tel_box dd img{
	width: 34px;
	height: auto;
	margin-right: 8px;
}
#step_area .step_box .tel_box p{
	display: inline-block;
}

@media screen and (max-width: 960px){
	#howto #step_area{ width: 90%; min-height: auto; background: url(../img/howto/bg.jpg) left center no-repeat; background-size: auto 75%; }
	#howto #step_area .inner{ width: 75%; padding: 5% 0; }
	#step_area .step_box{ padding-bottom: 6%; margin-bottom: 6%; }
	#step_area .step_box .title{ margin-bottom: 3%; }
	#step_area .step_box .title .eng{ font-size: 20px; }
	#step_area .step_box .title h3{ font-size: 18px; }
	#step_area .step_box .tel_box{ padding: 3% 5%; margin-top: 2%; }
	#step_area .step_box .tel_box p{ padding-left: 3%; }
}
@media screen and (max-width: 650px){
	#howto #step_area{ height: auto; min-height: 1250px; margin-bottom: 10%; background: url(../img/howto/bg.jpg) center bottom no-repeat; background-size: auto 80%; }
	#howto #step_area .inner{ width: 100%; padding: 8% 0 0; margin-bottom: 20%; }
	#step_area .step_box .text{ padding: 0; }
	#step_area .step_box .title{ margin-bottom: 2%; }
	#step_area .step_box .title .eng, #step_area .step_box .title h3{ font-size: 14px; line-height: 1.8 }
	#step_area .step_box .title .eng{ padding-right: 2%; letter-spacing: 0; }
	#step_area .step_box .text p{ font-size: 13px; line-height: 1.8; }
	#step_area .step_box .tel_box{ padding: 4% 5%; }
	#step_area .step_box .tel_box dl{ padding-bottom: 2%; }
	#step_area .step_box .tel_box dd{ padding: 2% 0; font-size: 26px; }
	#step_area .step_box .tel_box dd img{ width: 30px; }
	#step_area .step_box .tel_box p{ padding: 2% 0 0; font-size: 12px; }
}

/* -------------------*/
/* -------------------*/
/* News -------------------*/

/* 一覧ページ -------------------*/

#posts_list{
	position: relative;
	width: 100%;
	height: auto;
	overflow: hidden;
}
#posts_list .news_area{
	width: 960px;
	margin: 0 auto 80px;
}
#posts_list ul{
	position: relative;
}
#posts_list li{
	float: left;
	width: 240px;
	height: auto;
	overflow: hidden;
	text-align: left;
	padding-top: 20px;
	border-right: 1px solid #fff;
}
#posts_list li:hover{ opacity: 0.8; filter:alpha(opacity=80); -moz-opacity: 0.8; }
#posts_list li { text-decoration: none; outline: none; }
#posts_list li::before, #posts_list li::after { position: absolute; z-index: -1; display: block; content: ''; }
#posts_list li, #posts_list li::before, #posts_list li::after { -webkit-transition: all .2s; transition: all .2s; }

#posts_list li a{
	display: block;
	color: #888;
}
#posts_list li .thumb{
		width: 240px;
		height: 160px;
		position: relative;
		overflow: hidden;
}
#posts_list li .cover{
	position: absolute;
		left: 50%;
		top: 50%;
		width: 100%;
		height: 100%;
		margin: -80px 0 0 -50%;
		text-align: center;
}
#posts_list li .cover img{
	min-height: 160px;
	min-width: 10%;
	vertical-align: bottom;
}
#posts_list li .cover img:hover{
	opacity: 10;
}
#posts_list li .caption{
	width: 240px;
	height: 140px;
	padding: 20px 20px 0;
	font-size: 13px;
}
.news_area li:nth-child(odd) .caption{ background-color: #fef7f9; }
.news_area li:nth-child(even) .caption{ background-color: #fdeff4; }

#posts_list li .caption .cat{
	font-weight: bold;
	color: #777;
}
#posts_list li .caption .dete{
	padding-left: 10px;
	color: var(--main-color);
	font-style: italic;
	font-weight: normal;
}
#posts_list li .caption .title{
	padding: 10px 0 0;
	line-height: 2;
	color: #888;
	text-align: justify;
	text-justify: inter-ideograph;
}
@media screen and (max-width: 960px){
	#posts_list .news_area{
		width: 96%;
		margin: 0 auto 5%;
	}
	#posts_list li{
		width: 100%;
		padding-top: 0;
		border-right: none;
		border-bottom: 1px solid #fff;
	}
	#posts_list li .thumb{
		float: left;
		width: 30%;
		height: 140px;
	}
	#posts_list li .cover{
		height: auto;
		line-height: auto;
		margin: -70px 0 0 -50%;
	}
	#posts_list li .cover img{
		width: 100%;
		min-width: 200px;
		min-height: 140px;
		vertical-align: top;
	}
	#posts_list li .caption{
		float: right;
		width: 70%;
		height: 140px;
		padding: 3% 3% 0;
	}
}
@media screen and (max-width: 650px){
	#posts_list .news_area{
		width: 90%;
		margin: 0 auto 10%;
	}
	#posts_list li .thumb{
		width: 40%;
		height: 88px;
	}
	#posts_list li .cover{
		margin: -44px 0 0 -50%;
	}
	#posts_list li .cover img{
		min-width: 100px;
		min-height: 88px;
	}
	#posts_list li .caption{
		width: 60%;
		height: 88px;
		padding: 4% 3%;
	}
	#posts_list li .caption .title{
		padding: 6px 0 0;
		line-height: 1.5;
		color: #6e6e6e;
	}
	#posts_list li .caption .title,#posts_list li .caption .cat,#posts_list li .caption .dete{
		font-size: 11px;
	}
	/* メニュー */
	.news_menu{
		width: 96%;
	}
	.news_menu ul{
		width: 100%;
		display: block;
	}
	.news_menu ul li{
		display: inline-block;
		width: auto;
		padding: 3% 0 6%;
		padding-right: 2%;
		font-size: 11px;
		text-align: left;
		font-weight: bold;
		border-right: 0;
	}
	.news_menu ul li:last-child{
		border-right: none;
	}
	.news_menu ul li a{
		background: url(../img/common/icon_menu_pink.svg) left center no-repeat;
		background-size: 10px 7px;
		padding: 0 0 0 12px;
		margin: 0;
	}
}

/* 個別ページ -------------------*/

#posts{
	position: relative;
	width: 100%;
}
#posts .post_wrap{
	width: 800px;
	height: auto;
	overflow: hidden;
	margin: 0 auto;
	text-align: left;
}
#posts .post{
	width: 100%;
	padding-bottom: 80px;	
}
#posts .post .cat a, #posts .post .dete{
	font-size: 13px;
}
#posts .post .cat a{
	font-weight: bold;
	color: #777;
}
#posts .post .dete{
	padding-left: 10px;
	color: var(--main-color);
	font-style: italic;
}
#posts .post .headline{
	width: 100%;
	font-size: 18px;
	line-height: 1.5;
	margin-top: 20px;
	padding-bottom: 10px;
	background: url(../img/news/headline_bg.png) left bottom repeat-x;
}
#posts .post .post_body{
	margin: 30px auto;
	line-height: 2;
}
.post_body p img{
	margin-bottom: 10px;
}
@media screen and (max-width: 960px){
	#posts .post_wrap{ width: 90%; }
	#posts .post{ padding-bottom: 5%; }
	#posts .post .dete{ font-weight: bold; }
	#posts .post .headline{ margin-top: 2%; }
	#posts .post .post_body{ margin: 3% auto; }
}
@media screen and (max-width: 650px){
	#posts .post{
		padding-bottom: 5%;	
	}
	#posts .post .cat a, #posts .post .dete{
		font-size: 11px;
		letter-spacing: 0;
	}
	#posts .post .headline{
		font-size: 13px;
	}
	#posts .post .headline{
		margin-top: 5%;
	}
	#posts .post .post_body{
		margin: 5% auto;
		font-size: 12px;
		letter-spacing: 0;
	}
}

/* ページネション -------------------*/

.post_footer{
	position: relative;
	width: 960px;
	margin: 0 auto;
}
#pagination{
	width: 100%;
	height: auto;
	font-size: 13px;
	padding: 20px 0 100px;
	border-top: 1px dashed #ddd;
}
#pagination span, #pagination a{
	display: inline-block;
	width: auto;
	padding: 10px;
}
#pagination a{ text-decoration: underline; }
#pagination a:hover{ text-decoration: none; }
#pagination .current{ color: #aaa; }

#posts .pager{
	width: 100%;
	height: auto;
	padding: 20px 0 100px;
	margin: 0 auto;
	text-align: center;
	border-top: 1px solid #ddd;
}
#posts .pager div{
	display: inline-block;
	font-size: 12px;
}
#posts .pager div a{ color: #545454; }
#posts .pager div a:hover{ text-decoration: underline; }
#posts .pager .prev{ float: left; }
#posts .pager .next{ float: right; }

@media screen and (max-width: 960px){
	.post_footer{ width: 96%; }
	#pagination{ margin-top: 5%; padding: 2% 0 15%; }
	#posts .pager{ padding: 3% 0 15%; }
}
@media screen and (max-width: 650px){
	.post_footer{ width: 90%; }
	#posts .pager{ padding: 5% 0 20%; }
	#posts .pager div{ font-size: 11px; }
}


/* -------------------*/
/* -------------------*/
/* Contact -------------------*/

#contact{
	position: relative;
	width: 100%;
}
#contact .inner{
	width: 900px;
	height: auto;
	padding: 60px 0 0;
	margin: 0 auto 60px;
	text-align: left;
	border-bottom: 1px dashed #ddd;
}
#contact .inner h3{
	font-size: 24px;
	letter-spacing: 2px;
	padding-bottom: 30px;
}
#contact .inner p.text{
	line-height: 2;
	margin-bottom: 40px;
	padding-bottom: 50px;
	border-bottom: 1px dashed #ddd;
}
#mail_form dl, #mail_form dt, #mail_form dd{
	width: 100%;
	height: auto;
}
#mail_form dt{
	font-weight: bold;
}
#mail_form dd{
	margin: 6px auto 30px;
}
#mail_form dd input,
#mail_form dd textarea{
	box-sizing: border-box;
	width: 100%;
	height: auto;
	padding: 14px;
	margin-top: 10px;
	font-weight: bold;
	color: #444;
	letter-spacing: 1px;
	border: 1px solid #ddd;
	background-color: #fafafa;
}

#mail_form span.hissu{
	padding: 3px 6px;
	margin-right: 10px;
	color: #fff;
	font-size: 13px;
	font-weight: normal;
	background-color: var(--main-color);
}
#mail_form .check{ font-weight: bold; }

/* プレースホルダ */
:-moz-placeholder{ vertical-align: top; color: #ccc; opacity: 1; }
::-moz-placeholder{ vertical-align: top; color: #ccc; opacity: 1; }
::-webkit-input-placeholder{ vertical-align: top; color: #ccc; }
:-ms-input-placeholder{ vertical-align: top; color: #ccc; }
:placeholder-shown{ vertical-align: top; color: #ccc; }

/* ラジオボタン */
#mail_form dd label{
	display: inline-block;
	padding: 12px 30px 20px 0;
}
#mail_form dd label input{
	width: auto;
	border: 0;
	padding: 0;
	margin-right: 6px;
}
/* 承認確認 */
#mail_form .check{
	margin-top: 40px;
	text-align: center;
}
#mail_form .wpcf7-acceptance{
	padding-right: 6px;
}
/* 送信ボタン */
#mail_form .btn_more{
	width: 100%;
	margin: 40px auto 100px;
	text-align: center;
}
input.wpcf7-submit{
	width: 300px;
	height: 64px;
	line-height: 64px;
	border-radius: 32px;
	margin: 0 10px;
	color: var(--main-color);
	font-size: 16px;
	letter-spacing: 2px;
	font-weight: bold;
	border: 2px solid var(--main-color);
	background: url(../img/common/icon_arrow_pink.svg) 90% center no-repeat;
	background-size: 10px 14px;
	background-color: #fff;
}
input.wpcf7-submit:hover{
	color: #fff;
	background: url(../img/common/icon_arrow_white.svg) 91% center no-repeat;
	background-size: 10px 14px;
	background-color: var(--main-color);
}
.wpcf7-mail-sent-ok{
	width: 100%;
	padding: 20px 0;
	text-align: center;
	background-color: #fff;
	border: 2px solid #e73656;
}
/* Errors */
.screen-reader-response, .wpcf7-not-valid-tip, .wpcf7-validation-errors, .wpcf7-response-output{ margin: 10px 0; color: red; }

@media screen and (max-width: 960px){
	#contact .inner{
		width: 90%;
		padding: 5% 0 0;
		margin: 0 auto 5%;
	}
	#contact .inner h3{
		padding-bottom: 3%;
	}
	#contact .inner p.text{
		line-height: 1.8;
		margin-bottom: 5%;
		padding-bottom: 3%;
	}
	#mail_form dd input, #mail_form dd textarea{
		margin-top: 2%;
	}
	#mail_form span.hissu{
		font-size: 12px;
	}
}
@media screen and (max-width: 650px){
	#contact .inner{
		padding: 8% 0 0;
		margin: 0 auto 5%;
	}
	#contact .inner h3{
		padding-bottom: 5%;
		font-size: 16px;
		text-align: center;
	}
	#contact .inner p.text{
		font-size: 12px;
		line-height: 1.5;
		margin-bottom: 8%;
		padding-bottom: 8%;
	}
	#contact .inner p.text br{ display: none; }
	
	 #mail_form dt, #mail_form dd{
		font-size: 13px;
	}
	#mail_form dd{
		margin-bottom: 8%;
	}
	#mail_form dd input, #mail_form dd textarea{
		margin-top: 3%;
		padding: 16px 12px;
		letter-spacing: 0;
	}
	#mail_form span.hissu{
		font-size: 11px;
		margin-right: 8px;
	}
	/* ラジオボタン */
	#mail_form dd label{
		width: 100%;
		padding: 0;
	}
	/* 承認確認 */
	#mail_form .check{
		margin-top: 5%;
		font-size: 12px;
		line-height: 1.5;
	}
	/* 送信ボタン */
	input.wpcf7-submit{
		width: 100%;
		height: 60px;
		line-height: 60px;
		border-radius: 30px;
		margin: 0 auto;
		font-size: 13px;
	}
	/* Errors */
	.screen-reader-response, .wpcf7-not-valid-tip, .wpcf7-validation-errors, .wpcf7-response-output{ margin: 3% 0; }
}