
/*------------------------------------------------------------
	共通
------------------------------------------------------------*/

div.ttlBox {
	text-align: center;
	margin-bottom: 30px;
}

div.ttlBox dl {
	position: relative;
}

div.ttlBox dl:after {
	content: '';
	background: #0E837E;
	width: 40px;
	height: 3px;
	position: absolute;
	bottom: 0;
	left: 50%;
	margin-left: -20px;
}

div.ttlBox dl dt {
	display: inline-block;
	background: url(../common/img/logo.svg) left top no-repeat;
	background-size: 100px 35px;
	width: 100px;
	height: 35px;
	margin-right: 3px;
}

div.ttlBox dl dd {
	display: inline-block;
	font-size:1.8rem;
	font-weight: bold;
	color: #0E837E;
	letter-spacing: 1px;
	line-height: 1;
	padding-bottom: 25px;
}

div.ttlBox dl dd span {
	font-size: 3.4rem;
	font-weight: bold;
	color: #F07457;
}


div.ttlBox h3 {
	background: none;/*reset*/
	font-size: 1.3rem;
	line-height: 1.8;/*reset*/
	letter-spacing: 1px;
	color: #000;
	padding: 0;/*reset*/
	margin: 20px 0 10px;
}




/* 大島追加　20170621*/

.pc {
	display:none;
}
.sm {
	display:block;
}


@media only screen and (min-width: 641px) {
	
	div.ttlBox {
		margin-bottom: 40px;
	}
	
	div.ttlBox dl dt {
		background: url(../common/img/logo.svg) left top no-repeat;
		background-size: 116px 40px;
		width: 116px;
		height: 40px;
		margin-right: 5px;
	}
		
	div.ttlBox dl dd {
		font-size:2rem;
		letter-spacing: 2px;
	}
	
	div.ttlBox dl dd span {
		font-size: 4rem;
	}

	div.ttlBox h3 {
		letter-spacing: 1.5px;
	}

/* 大島追加　20170621*/

.pc {
	display:block;
}
.sm {
	display:none;
}

	
}


/*------------------------------------------------------------
	メインビジュアル
------------------------------------------------------------*/

header p.lead {
	color: #fff;
	letter-spacing: -0.3px
}

div.container {
	padding: 40px 0 30px;
}

main {
	/*
	background: url(../img/top/bg_main_sp.jpg) center top no-repeat; 
	background: url(../img/top/bg_main_sp2.jpg) center top no-repeat;
	*/
	background: url(../img/top/bg_main_sp3.jpg) center top no-repeat;
	background-size: cover;
	/* background-size: contain; */
	width: 100%;
	height: 380px;
	display:block;
	position: relative;
}

main header {
	background: none;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 10;
}

div.mainBody {
	position: absolute;
	width: 90%;
	top: 95px;
	left: 5%;
	z-index: 5;
}

div.mainBody h2 {
	width: 265px;
	font-size: 1rem;
	line-height: 1.7;
	letter-spacing: 0;/*reset*/
	text-align: justify;
	text-shadow: 0 0 3px #fff;
	color: #000;
	margin-bottom: 40px;
	padding: 0;/*reset*/
	border-bottom: none;/*reset*/
	position: absolute;
	top: 95px;
	left: 50%;
	margin-left: -100px;
	
}

div.mainBody ul {
	width: 265px;
	position: absolute;
	top: 238px;
/*	top: 90px;*/ /* 大島追加　20170621*/
	left: 50%;
	margin-left: -100px;
}

div.mainBody ul li {
	float: left;
	margin-right: 15px;
}

div.mainBody ul li:last-child {
	margin-right: 0;
}


div.mainBody a.button {
	background: #fff;	
	width: 125px;
	line-height: 30px;
	font-size: 1rem;
}

@media only screen and (min-width: 641px) {
	
	div.container {
		padding: 80px 0 50px;
	}
	
	main {
		background: url(../img/top/bg_main_pc.jpg) center top no-repeat;
		background-size: cover;
		height: 640px;
	}
		
	div.mainBody {
		width: 1080px;
		top: 180px;
		left: 50%;
		margin-left: -520px;
	}
	
	div.mainBody h2 {
		width: auto;
		font-size: 1.3rem;
		letter-spacing: 2.5px;
		line-height: 2.2;
		position: absolute;
		top: 190px;
		left: 430px;
		margin: 0;
	}
	
	
	div.mainBody ul {
		width: auto;
		position: absolute;
		top: 360px;
		left: 430px;
		margin: 0;
	}
	
	div.mainBody ul li {
		float: left;
		margin-right: 30px;
	}
	
	div.mainBody a.button {
		font-size: 1.2rem;
		line-height: 40px;
		width: 180px;
	}
	
	div.mainBody a.button:hover {
		background: #0E837E;
		color: #fff;
	}
	
}


/*------------------------------------------------------------
	NEWS TICKER
------------------------------------------------------------*/

div#newsTickerArea {
	background: #27AFA9;
	width: 100%;
	height: 50px;
}

div#newsTickerArea div.ticker {
	width: 90%;
	text-align: left;
	box-sizing: border-box;
	padding: 0 10px;
	margin: 0 auto;
	position: relative;
	overflow: hidden;
}

div#newsTickerArea div.tickerr ul {
  width: 100%;
  height: auto;
  position: relative;
}

div#newsTickerArea div.ticker ul li {
  width: 100%;
  box-sizing: border-box;
  display: none;
}

div#newsTickerArea div.ticker ul li,
div#newsTickerArea div.ticker ul li a {
	font-size: 1.1rem;
	color: #fff;
	text-decoration: none;
	line-height: 50px;
	overflow: hidden;
	font-weight: bold;
}

div#newsTickerArea div.ticker ul li a:hover {
	text-decoration: underline;
}

div#newsTickerArea div.ticker ul li:before {
	content: '';
	font-family: "fontawesome";
	content: "\f0da";
	margin-right: 8px;
}

div#newsTickerArea div.ticker p.tickerTtl {
	display: none;
}


@media only screen and (min-width: 641px) {	
	div#newsTickerArea {
		height:70px;
	}
	div#newsTickerArea div.ticker {
		width: 1080px;
		text-align: left;
		box-sizing: border-box;
		padding: 0 10px;
		margin: 0 auto;
		position: relative;
		overflow: hidden;
	}

	div#newsTickerArea div.ticker ul li,
	div#newsTickerArea div.ticker ul li a {
		line-height: 70px;
		font-weight: normal;
	}
	
	div#newsTickerArea div.ticker ul li {
		font-size: 1.7rem;
		padding-left: 210px;
	}
	
	div#newsTickerArea div.ticker ul li a {
		font-size: 1.7rem;
	}
	
	div#newsTickerArea div.ticker p.tickerTtl {
		display: block;
		background: #0E837E;
		width: 170px;
		letter-spacing: 1px;
		line-height: 70px;
		font-weight: bold;
		text-align: center;
		color: #fff;
		position: absolute;
		left: 0;
		font-size:1.6rem;
	}


}


/*------------------------------------------------------------
	３つの理由
------------------------------------------------------------*/

div#reasonArea section div img {
	width: 240px;
	height: 240px;
	margin: 0 auto 20px;
}

div#reasonArea section dl {
	width: 290px;
	margin: 0 auto;
}

div#reasonArea section dl dt {
	font-size: 1.6rem;
	font-weight: bold;
	letter-spacing: 1px;
	text-align: center;
	margin-bottom: 20px;
	
}

div#reasonArea section dl dd {
	text-align: justify;
	line-height: 2;
}


/*------------------------------------------------------------
	サービス（３つ）
------------------------------------------------------------*/

div#serviceArea section div {
	padding: 30px 30px;
	border: 1px solid #27AFA9;
}

div#serviceArea section div figure {
	width: 100%;
	margin-bottom: 20px;
	overflow: hidden;
}

div#serviceArea section div dl {
	margin-bottom: 20px;	
}

div#serviceArea section div dl dt {
	font-size: 1.6rem;
	font-weight: bold;
	line-height: 2;
	letter-spacing: 1px;
	text-align: center;	
	margin-bottom: 15px;
}

div#serviceArea section div dl dd {
	text-align: justify;
	line-height: 2;
}

div#serviceArea section div dl dd ul li {
	text-indent: -1em;
	padding-left: 1em;
}

div#serviceArea section div a {
	width: 240px;
	margin: 0 auto;
}

div.bgGrn div.contents {
	margin-bottom: 10px;
}

div.bgGrn div.contents a.btnWht {
	background: #fff;
	font-size: 1.2rem;
	line-height: 2;
	letter-spacing: 0;
	padding: 10px 0;
	border-radius: 4px;
}

div.bgGrn div.contents a.btnWht:hover {
	background: #0E837E;
}

	
@media only screen and (min-width: 641px) {
	
	div#serviceArea section div {
		padding-bottom: 70px;
		position: relative;
	}
	
	div#serviceArea section div figure {
		height: 174px;
		overflow: hidden;
	}
	
	div#serviceArea section div figure img {
		max-width: 100%;
		height: auto;
		-webkit-transition:0.3s ease-in-out;
		-moz-transition:0.3s ease-in-out;
		-ms-transition:0.3s ease-in-out;
		-o-transition:0.3s ease-in-out;
		transition:0.3s ease-in-out;
	}
	
	div#serviceArea section div figure img:hover {
		-webkit-transform:scale(1.1,1.1);
		-moz-transform:scale(1.1,1.1);
		-ms-transform:scale(1.1,1.1);
		-o-transform:scale(1.1,1.1);
		transform:scale(1.1,1.1);
		opacity:0.8;
		filter: alpha(opacity=80);
		-ms-filter: "alpha( opacity=80 )";
		background: #fff;
	}
	
	div#serviceArea section div a {
		width: 260px;
	}
	
	div#serviceArea div.fullwidth {
		padding-bottom: 0;
	}
	
	div#serviceArea div.fullwidth figure {
		width: 50%;
		height: 340px;
		margin-bottom: 0;
		float: left;
	}

	div#serviceArea div.fullwidth dl {
		width: 50%;
		float: left;
		padding: 40px;
		margin-bottom: 0;
	}
	
	div#serviceArea section div a.button {
		position: absolute;
		bottom: 30px;
	}
	
	div.bgGrn div.contents {
		margin-bottom: 20px;
	}
	
	div.bgGrn div.contents a.btnWht {
		font-size: 1.8rem;
		letter-spacing: 1px;
		padding: 20px 0;
	}
	
	section#middle {
		padding: 0 20%;
		margin-bottom: 60px;
	}
	
	section#middle h4 {
		text-align: center;
	}
	
	
}


/*------------------------------------------------------------
	MOTTOについて
------------------------------------------------------------*/

h4 {
	font-size:1.6rem;
	line-height: 2;
	text-align: center;
	letter-spacing: 0.5px;
	padding: 0;
	border-bottom: none;
}

h4:after {
	content: none;
}

div#aboutArea section div p {
	text-align: justify;
	line-height: 2;
}

div.bgDot {
	display: none;
	background:url(../common/img/bg_dot.png) repeat left top;
	width: 100%;
	height: 600px;
	position: absolute;
	top: 940px;
	z-index: -10;
}

@media only screen and (max-width: 641px) {

	div.order01 {
		order: 1;
	}
	
	div.order02 {
		order: 2;
	}
	
	div.order03 {
		order: 3;
	}
	
	div.order04 {
		order: 4;
	}
	
	div.order05 {
		order: 5;
	}
	
	div.order06 {
		order: 6;
	}

}

@media only screen and (min-width: 641px) {
	
	h4 {
		font-size:1.8rem;
		text-align: left;
		letter-spacing: 2px;
		margin: 30px 0 20px;
	}

	
	div#aboutArea section div.order02,
	div#aboutArea section div.order06 {
		padding-left: 80px;
	}
	
	div#aboutArea section div.order04 {
		padding-right: 80px;
	}
	
	div.bgDot {
		display: block;
		background:url(../common/img/bg_dot.png) repeat left top;
		width: 100%;
		height: 340px;
		position: absolute;
		top: 550px;
		z-index: -10;
	}
}


/*------------------------------------------------------------
	Message
------------------------------------------------------------*/

div#messageArea p {
	font-weight: bold;
	line-height: 2.2;
	letter-spacing: 1px;
	color: #000;
	text-align: center;
	margin-bottom: 20px;
}

div#messageArea a.button {
	width: 260px;
	line-height: 52px;
	margin: 0 auto;
}

div#messageArea div.threeFifthLeft ul {
	margin-bottom: 20px;
}

div#messageArea div.threeFifthLeft ul li {
	width: 23%;
	float: left;
	margin: 0 2% 10px 0;
}

div#messageArea div.threeFifthLeft ul li:nth-child(4n) {
	margin-right: 0;
}

@media only screen and (min-width: 641px) {
	
	div#messageArea div.threeFifthLeft ul li img:hover {
		opacity:0.8;
		filter: alpha(opacity=80);
		-ms-filter: "alpha( opacity=80 )";
		background: #fff;
	}

	div#messageArea p {
		font-size: 1.4rem;
		text-align: left;
		line-height: 2.4;
		letter-spacing: 3px;
		margin-bottom: 30px;
	}
	
	div#messageArea section div:last-child {
		padding-left: 30px;
	}
	
	div#messageArea a.button {
		width: 300px;
		margin: 0 ;
	}

}


/*------------------------------------------------------------
	ガイド
------------------------------------------------------------*/


div#guideArea section div {
	border: 1px solid #0E837E;
}

div#guideArea section#payment div:last-child {
	margin-bottom: 30px;
}

div#guideArea section dl dt.sp {
	display: none;
}

div#guideArea section dl dt.pc {
	background: #0E837E;
 	display: block;
	font-size:1.4rem;
	font-weight: bold;
	color: #fff;
	line-height: 40px;
	letter-spacing: 2px;
	text-align: center;
}

div#guideArea section dl dd {
	font-size: 1.2rem;
	text-align: justify;
	padding: 15px 20px;
}

div#guideArea section dl dd.center {
	text-align: center;
	font-size: 1.1rem;
}

div#guideArea section dl dd img {
	margin: 0 auto;
}


@media only screen and (max-width: 641px) {
	
	div#guideArea section div {
		width: 100%;
		margin-right: 0;
		margin: 0 0 5px;
	}
	
	div#guideArea section dl dt.pc {
		display: none;
	}
	
	div#guideArea section dl dt.sp {
		display: block;
	}
	
	div#guideArea section dl dt.sp a {
		background: #0E837E;
	 	display: block;
		font-size:1.4rem;
		font-weight: bold;
		line-height: 40px;
		letter-spacing: 2px;
		text-align: center;
		text-decoration: none;
		position: relative;
		color: #fff;
		text-align: left;
		padding-left: 20px;
	}
	
	div#guideArea section dl dt a {
	}
	
	.accordion-menu a.is-open::after,
	.accordion-menu a.is-close::after {
	  font-family: fontawesome;
	  font-size: 1.4rem;
	  position: absolute;
	  right: 10px;
	}
	
	.accordion-menu a.is-open::after {
	  content: "\f077";
	}
	.accordion-menu a.is-close::after {
	  content: "\f078";
	}
}


/*------------------------------------------------------------
	NEWS
------------------------------------------------------------*/

dl.newsBox {
	border-bottom: 1px dotted #ccc;
	margin-bottom: 20px;
}

dl.newsBox dt {
	font-size: 1.2rem;
	font-weight: bold;
	color: #0E837E;
	margin-bottom: 5px;
}

dl.newsBox dd {
	padding-bottom: 10px;
	text-indent: -15px;
	padding-left: 20px;
}

dl.newsBox dd:before {
	content: '\f0da';
	font-family: 'fontawesome';
	margin-right: 10px;
}

dl.newsBox dd a {
	text-decoration: none;
}

dl.newsBox dd a:hover {
	text-decoration: underline;
}

div.fbBox {
	background: #fff;
	width: 100%;
	height: 420px;
	padding: 20px;
}


/* 2017-07-04 add by suzuki, enable only sp */
@media only screen and (max-width: 640px) {
	/*
	--緑版ロゴやっぱりなしで
	header h1{
		
		background: url(../img/top/motto_logo_new3.svg) left top no-repeat;
		
	}
	*/
	
	/*
	2017-07-07 add by suzuki,
	文字枠の位置を調整 横幅320pxを基準に調整
	文字枠のwidthを可変にしようとしたが、テキスト内の改行が変になるのでやめておく
	*/
	div.mainBody{
		width: 92%;
	}
	div.mainBody h2{
		max-width: 255px;/* 265px */
		position: relative;
		right: 10px;
		left: auto;
		margin: 0 0 0 auto;
	}
	div.mainBody ul{
		max-width: 255px;
		position: relative;
		top: 100px;
		left: 0;
		margin: 0 10px 0 auto;
	}
	div.mainBody ul li{
		margin-right: 5px;
	}
	
	
}