body {font-size: 20px;}
a img {transition: .3s;}
a img:hover {opacity: .7;}
p, td {text-align: left;}
p {
	margin-bottom: 2em;
	line-height: 1.8;
}
h2 {
    font-size: 58px;
    font-weight: bold;
	margin: 1em 0;
}
h2 span {color: #FF7A33;}

h3, h4, h5 {
	font-size: 25px;
    margin: 1em 0 0.5em;
    line-height: 1.5;
    font-weight: bold;
}
h4 {font-size: 20px;}
h5 {
	font-size: 16px;
	text-align: left;
}
.show_xs {display: none;}
.center, .center p {text-align: center;}

nav {display: none;}
.container {
	text-align: center;
	padding: 0;
}
#header_logo {
	transition: .7s;
	top: -90px;
	padding: 15px 0;
}
#header_logo.fixed {
	position: fixed;
	width: 100%;
	top: 0;
    left: 0;
    background: rgba(255,255,255,.95);
    z-index: 2;
}
#header_logo a img {margin-left: 10px;}
#header_logo a:nth-child(2) img {margin-left: 128px;}

.page-content {}
.page-content img {max-width: 100%;}

.w1200 {
	max-width: 1200px;
	margin: auto;
}
.row.no_padding div {padding: 0;}

.billboard {background: url(img/bg_billboard.jpg) center top / cover;}

#ten_years {
	background: url(img/gradation_o.png) top / contain;
	padding: 3em 0;
}
#ten_years > img:first-child {margin-right: 50px;}

.two_columns {
	background: #6AC5D7;
	margin: 0;
	padding-bottom: 60px;
    padding-right: calc((100% - 1200px) / 2);
    padding-left: calc((100% - 1200px) / 2);
}
.two_columns h3 {
	text-align: center;
	color: #fff;
    font-weight: bold;
    margin: 0 0 1em;
    font-size: 30px;
    line-height: 2;
}
.two_columns hide-xs img {margin-top: -1px;}
.two_columns h3 span{ font-size: 80%;}
.two_columns div:first-child {padding-bottom: 30px;}
.two_columns div:last-child {border-left: 1px solid #fff;}
.two_columns img.delay {max-width: 382px;}

.hd_blue, .hd_pink {
	background: #1D2087;
	color: #fff;
	font-size: 58px;
	padding: .5em 0;
    font-weight: bold;
}
.hd_blue span {color: #FF7A33;}
.hd_pink {background: #EF8194;}

#onayami_list li {
	background: #009EE7;
	color: #fff;
	padding: 1em;
	margin-bottom: 2em;
}
#onayami_list li h3 {
    font-size: 36px;
    text-align: left;
    margin: 0 0 0 20%;
    font-weight: bold;
    color: #FFEF00;
}
#onayami_list li h3 img {
    vertical-align: baseline;
    margin-right: 0.5em;
}
#onayami_list li h4 {
    margin: 0 0 0 23%;
    text-align: left;
}
#onayami_list > div {
	max-width: 700px;
    text-align: left;
    margin: auto;
    margin-left: calc(20% + 50px);
    font-size: 90%;
}
#onayami_list div div {color: #009EE7;}

h2#reason {
	background: none;
	color: #000;
}
h2#reason span {
	color: #F6B42C;
	font-size: 130%;
}
.reason {
	background: no-repeat url(img/bg_reason.jpg) center top / cover;
	overflow: hidden;
	font-size: 16px;
}
.reason > div {
	max-width: 900px;
	margin: 4em auto;
	padding: 1em 3em;
	background: rgba(255,255,255,.95);
	border-radius: 10px;
}
.reason hr {
	border-color: #00A6D4;
    border-style: dashed;
}
.reason h3 {
	color: #009EE7;
	font-size: 56px;
    text-align: left;
    padding-left: 120px;
    position: relative;
}
.reason h3 span {
	color: #F6B42C;
	font-size: 120%;
}
.reason h3 img {
    position: absolute;
    left: 0px;
    top: -10px;
    max-width: 101px;
}
.anchor {
	background: #69CFE2;
    color: #fff;
    padding: 1em;
    margin: 0;
}
.autoplay {
	margin: auto;
	padding: 1.5em 0;
}

.triangle {
	position: absolute;
	width: 100%;
	z-index: 1;
	padding: 0 !important;
	left: 0;
}
.customers_voice {
	max-width: 850px;
	margin: 100px auto;
	font-size: 90%;
}
.customers_voice > div > p:first-child {
	color: #EF8194; 
}
#footer_banner {
	background: url(img/bg_footer_banner.jpg) center / contain;
	max-width: 1200px;
	margin: auto;
}
#footer_banner img {vertical-align: top;}
#footer_banner img:nth-child(2) {margin-top: 20px;}

#footer_banner a img {
	margin: -70px 20px 0;
}

#form {
	margin: 2em auto 3em;
	padding-bottom: 1em;
	background: #F6F6F6;
}
#form > img:first-child {margin-bottom: 1em;}
form {
	max-width: 600px;
	margin: 0 auto 2em;
}
.btn-success {
	width: 90%;
	max-width: 380px;
	height: 70px;
	background: no-repeat url(img/send.png) center / contain;
	text-indent: -9999px;
	border: none;
	transition: .3s;
}
.btn-success:hover, .btn-success:focus, .btn-success:active {
	opacity: .7;
	background-color: white;
	border: none;
}

.mb30 {
	max-width: 600px;
    margin: auto;
}
.confirm th {font-size: 90%;}

#footer {
	background: #69CFE3;
	overflow: hidden;
}
#footer a {color: #fff;}
#footer > div {
	width: 1000px;
	margin: 2em auto;
	color: #fff;
	text-align: left;
	font-size: 80%;
}
#footer div > p:nth-child(2) {font-size: 18px;}
#footer > div > img {margin-bottom: 1em;}
#footer th, #footer td {padding: 0.2em 0;}
#footer th {width: 7em;}
#footer > div > img {max-width: 352px;}
.footer_photo {float: right;}

.copy {
	background: #00A6D4;
	color: #fff;
	padding: 1em 0;
	margin: auto;
	font-size: 70%;
}
.copy div {
	max-width: 1000px;
	text-align: left;
	margin: auto;
	position: relative;
}
.copy > div > img {
	position: absolute;
	bottom: -1em;
	right: 0;
}

.delay {
	opacity: 0;
	transition: 0.6s;
	margin: 50px auto -50px;
}
span.delay {display: inline-block;}
.delay.d1 {transition-delay: .5s;}
.delay.d2 {transition-delay: 1s;}
.delay.d3 {transition-delay: 1.5s;}
.delay.on {
	opacity: 1;
	margin: 0 auto 0;
}
a img.delay.on:hover {
	transition: .3s;
	opacity: .7;
	transition-delay: 0s;
}

@media screen and (max-width: 1580px) {
	.text_1 {width: 33%;}
	.text_2 {width: 30%;}
	.text_3 {width: 24%;}
}
@media screen and (min-width: 768px) {
	@viewport {width: 1200px !important;}
	body, .container, #header_logo.fixed {
		min-width: 1200px;
		width: 100%;
	}
	#ten_years img.d1 {max-width: 458px;}
	#onayami {max-width: 536px;}
	#onayami_list li h3 img {max-width: 30px;}
	
	.iphone .page-content {margin-top: 67px;}
	.iphone #header_logo {
		position: absolute;
		top: -500px !important;
	}
	.iphone nav {
		display: block;
		background: #fff;
	}
	.iphone .navbar-collapse.collapse {display: none !important;}
	.iphone .navbar-collapse.collapse.in {display: block !important;}
	.iphone nav .container {text-align: left;}
	.iphone .navbar-header, .navbar-nav {
		margin: 0 !important;
		width: 100%;
	}
	.iphone .navbar-brand {
		float: none;
		padding: 0;
	}
	.iphone .navbar-brand img {
		width: 200px;
		margin: 4px 2% 0 0;
		display: inline-block;
	}
	.iphone .header_button {
		width: inherit;
		height: 50px;
		float: right;
		margin: 8px 10px 0 0;
	}
	.iphone .navbar-toggle {
		display: block;
		height: 50px;
		width: 60px;
	}
	.iphone .navbar-nav>li {float: none;}
	.iphone .navbar-toggle .icon-bar {
		width: initial;
		margin: 6px 0;
	}
}
@media screen and (max-width: 767px) {
	body {font-size: 14px;}
	nav {display: block;}
	body > .container {margin-top: 50px;}
	.hide_xs {
		display: none;
		z-index: 0;
	}
	.show_xs {display: inline-block;}
	#header_logo {
		position: absolute;
		top: -500px !important;
	}
	h2 {font-size: 22px;}
	h2.anchor {
		font-size: 26px;
		padding: 0.5em;
	}
	h3, h4 {
		text-align: left;
		padding: 0 !important;
	}
	h3 {font-size: 20px;}
	h4 {font-size: 16px;}
	.navbar-default {background: #fff;}
	nav .container {text-align: left;}
	.navbar-header, .navbar-nav {margin: 0 !important;}
	.navbar-brand {
		float: none;
		padding: 0;
	}
	.navbar-brand img {
		max-width: 180px;
		margin: 8px;
		display: inline-block;
	}
	.header_button {
		width: 44px;
		float: right;
		margin: 8px 10px 0 0;
	}
	#ten_years {padding: 2em 1em;}
	#ten_years > img:first-child {
		width: 60%;
		margin: 0;
	}
	#ten_years > img:last-child {margin-top: 20px;}
	.two_columns {padding-bottom: 0;}
	.two_columns h3 {font-size: 18px;}
	.two_columns .col-sm-6 {
		padding: 30px 15px;
		border-bottom: 1px solid rgba(255,255,255,.3);
	}
	.two_columns div:last-child {border-left: none;}
	.two_columns img {width: 80%;}
	.hd_blue, .hd_pink {font-size: 6.5vw;}
	.soudan_shindan {margin: 15px 0 0 !important;}
	.slider {margin-bottom: 1em;}
	.staff h3 {text-align: center;}
	.hd_trouble {padding: 1em 0 !important;}
	.hd_reason {margin: 0 !important;}
	#onayami_list > div {
		margin: 0 15px;
		line-height: 1.8;
	}
	#onayami_list li h3 {
		font-size: 5vw;
		margin: 0;
	}
	#onayami_list li h3 img {
		margin-bottom: -4px;
		width: 20px;
	}
	#onayami_list li h4 {margin: 0;}
	#reason span {display: block;}
	h2#reason {
		padding: 0;
		margin-top: 60px;
	}
	.reason {background: none;}
	.reason > div {
		padding: 1em 1.5em;
		/*height: 1500px;*/
		height: initial;
		margin: 0;
	}
	.reason h3 {font-size: 27px;}
	.reason h3 img {
		position: relative;
		margin: 2.5vw .5em 0 0;
	    width: 15vw;
	}
	.reason h3:nth-of-type(3) img {
		margin: 5.5vw .5em 0 0;
	    float: left;
	}
	.customers_voice > div {
		padding: 0 1.5em;
		height: initial;
	}
	.customers_voice {margin: 20px auto;}
	.customers_voice > div > p:first-child {margin-top: 1em;}
	.customers_voice h3 div {display: inline;}
	.customers_voice img.show_xs {margin-bottom: 1em;}
	#footer_banner {
		background: none;
		margin: 10px;
	}
	#footer_banner img:nth-child(2) {
		width: 50vw;
		margin-bottom: 20px;
	}
	#footer_banner a img {margin: 0 0 20px;}
	.form-horizontal .form-group {
		margin-right: 0;
		margin-left: 0;
	}
	
	#footer > div {
		width: initial;
		margin: 2em;
	}
	#footer > div > img {max-width: 100%;}
	.copy {font-size: 50%;}
	.copy > div > img {display: none;}
	.copy > div {text-align: center;}
	.delay.d1, .delay.d2, .delay.d3, .delay.d4 {transition-delay: 0s;}
	.delay.d1s {transition-delay: .5s;}
}
@media screen and (max-width: 350px) {
	h2 {font-size: 28px;}
	h3, .reason h3 {font-size: 22px;}
	.customers_voice h3 {font-size: 24px;}
	#onayami_list li h3 {font-size: 17px;}
	.faq h3 {font-size: 20px;}
	h4 {font-size: 13px;}
	.step > div {padding-top: 0;}
	.step p {font-size: 13px;}
	.step h3 {
	    font-size: 13px;
	    margin-top: 1em;
	}
}

@media (orientation: landscape){
	.reason > div > h3:first-child > div > br.show_xs {display: none;}
	h2#reason {font-size: 30px;}
	h2#reason span {display: inline;}
}
