﻿.fixed #global_nav {
	position: static;
}

#contact {
	padding-bottom: 40px;
}

@media (min-width: 770px) {
	#contact .container {
		width: 740px;
		padding-right: 0;
		padding-left:  0;
	}
}

/****************************
  contact_header
*****************************/

p.p_contact_summary {
	margin:  0;
	padding: 20px 0 0;
	vertical-align: middle;
	text-align: center;
	color: #000;
	font-weight: normal;
	font-size: 1.1em;
	line-height: 1.5;
}

@media (max-width: 768px) {
	p.p_contact_summary {
		padding-right: 15px;
		padding-left:  15px;
		text-align: justify;
	}
}

ol.ol_contact_header {
	margin:  0;
	padding: 0;
}
ol.ol_contact_header > li {
	display: inline-block;
	margin:  0;
	padding: 0;
	vertical-align: middle;
	text-align: left;
	line-height: 1;
}
ol.ol_contact_header > li:first-child {
	padding: 0 5px 0 0;
}
ol.ol_contact_header > li > p {
	margin: 0 0 2px;
	font-size: 12px;
	line-height: 1;
}

.wrapper_icon {
	display: inline-block;
	width:  36px;
	height: 36px;
	line-height: 36px;
	margin:  0;
	padding: 0;
	border-radius: 30px;
	background-color: #538dd5;
	vertical-align: middle;
	text-align: center;
	color: #fff;
	font-weight: normal;
	font-size: 24px;
}
.wrapper_icon.envelope {
	font-size: 20px;
}

a.contact_header_tel {
	font-weight: bold;
	font-size: 26px;
}
a.contact_header_email {
	font-weight: bold;
	font-size: 22px;
}

.contact_header {
	margin:  30px 0 0;
	padding: 0;
	background-color: #d3d3d3;
}
.contact_header.first-child {
	margin-top: 20px;
}
.contact_header .container > div {
	display: table;
	width: 100%;
	margin:  0;
	padding: 0;
}
.contact_header .container > div > div.contact_header_left {
	display: table-cell;
	margin:  0;
	padding: 20px 0;
	vertical-align: middle;
	text-align: left;
	font-weight: normal;
	font-size: 1.2em;
	line-height: 1.3;
}
.contact_header .container > div > div.contact_header_right {
	display: table-cell;
	margin:  0;
	padding: 10px 0 17px;
	vertical-align: middle;
	text-align: right;
}

.contact_header .container > div.tel {
	width: initial;
}
.contact_header .container > div.tel > div.contact_header_right {
	padding: 25px 0 25px 40px;
	text-align: left;
}

/* Flow */
.contact_header .container > div > div.contact_header_right ul > li {
	display: inline-block;
	width: 5.5em;
	min-height: 60px;
	margin:  0 0 0 26px;
	padding: 7px 0;
	background-color: #538dd5;
	vertical-align: middle;
	text-align: center;
	color: #fff;
	font-weight: normal;
	font-size: 12px;
	line-height: 15px;
	position: relative;
}

.contact_header .container > div > div.contact_header_right ul > li:not(:first-child)::before {
	position: absolute;
	z-index: 99;
	top: 38%;
	left: -17px;
	color: #538dd5;
	font-family: 'fontawesome';
	font-size: 20px;
	content: '\f105';
}

.contact_header .container > div > div.contact_header_right ul > li::after {
	position: absolute;
	top: 100%;
	left: calc(50% - 7px);
	width:   0;
	height:  0;
	margin:  0;
	padding: 0;
	border: 7px solid transparent;
	border-top: 14px solid #538dd5;
	content: ' ';
}

.contact_header .container > div > div.contact_header_right ul > li span {
	display: inline-block;
	margin:  0 0 4px;
	padding: 2px 4px;
	background-color: #fff;
	color: #538dd5;
	font-weight: bold;
	font-size: 12px;
	line-height: 12px;
}

/* Flow disabled */
.contact_header .container > div > div.contact_header_right ul > li.disabled {
	background-color: rgba(12, 163, 172, 0.3);
}
.contact_header .container > div > div.contact_header_right ul > li.disabled::after {
	border-top: 14px solid rgba(12, 163, 172, 0.3);
}
.contact_header .container > div > div.contact_header_right ul > li.disabled span {
	opacity: .6;
}
.contact_header .container > div > div.contact_header_right ul > li.disabled div {
	color: rgba(255, 255, 255, .8);
}

@media (max-width: 768px) {
	.contact_header {
		margin-bottom: 20px;
	}
}
@media (max-width: 500px) {
	.contact_header .container > div {
		display: block;
	}
	.contact_header .container > div > div.contact_header_left {
		display: block;
		padding: 10px 0 0;
	}
	.contact_header .container > div > div.contact_header_right {
		display: block;
		padding: 10px 0 20px;
		text-align: left;
	}
	.contact_header .container > div > div.contact_header_right ul > li {
		margin: 0 26px 0 0;
	}

	.contact_header .container > div.tel > div.contact_header_right {
		padding-left: 0;
	}
}

@media (max-width: 320px) {
	a.contact_header_tel {
		font-size: 22px;
	}
	a.contact_header_email {
		font-size: 18px;
	}
}

/****************************
  input
*****************************/

dl.dl_contact {
	display: table;
	width: 100%;
	margin:  0;
	padding: 0;
}
dl.dl_contact > dt, 
dl.dl_contact > dd {
	display: table-cell;
	margin: 0;
	vertical-align: middle;
	font-weight: normal;
	font-size: 1.1em;
	line-height: 1.5;
}
dl.dl_contact > dt {
	width: 13em;
	padding: 1em;
	background-color: #efefef;
	text-align: left;
}
dl.dl_contact > dd {
	padding: 1em 0 1em 1.5em;
	text-align: left;
}

dl.dl_contact > dt > span {
	float: right;
}
dl.dl_contact > dt > span {
	display: inline-block;
	margin:  2px 0 0 .4em;
	padding: 0 .3em;
	border-radius: 2px;
	background-color: #898989;
	color: #fff;
	font-weight: bold;
	font-size: 12px;
	line-height: 1.5;
}
dl.dl_contact > dt > span.required {
	background-color: #e83828;
}

dl.dl_contact.va_top > dt, 
dl.dl_contact.va_top > dd {
	vertical-align: top;
}
dl.dl_contact.va_top > dt {
	padding-top: 1.3em;
}

@media (max-width: 768px) {
	dl.dl_contact {
		display: block;
	}
	dl.dl_contact > dt, 
	dl.dl_contact > dd {
		display: block;
		padding: 0 0 2em;
	}
	dl.dl_contact > dt {
		width: auto;
		padding: 0 0 .8em;
		background-color: #fff;
	}
	dl.dl_contact > dt > span {
		float: none;
	}
}

/****************************
  form
*****************************/

.form-control {
	display: inline-block;
	width: 100%;
	height: 34px;
	padding: 6px 8px;
	color: #000;
	font-size: 15px;
	line-height: 1.42857143;
	border: 1px solid #aaa;
	border-radius: 4px;
	background-color: #fff;
	-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
	        box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
	-webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
	     -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
	        transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}
.form-control:focus {
	outline: 0;
	border-color: #66afe9;
	-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, .6);
	        box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, .6);
}

.form-control.num {
	width: 20%;
}
.form-control.pref {
	width: initial;
}

textarea.form-control {
	height: auto;
}

input[type="radio"] {
	vertical-align: 1px;
}
input[type="radio"] + label {
	padding-left: .2em;
}

::-moz-placeholder {
	color: #ccc;
	opacity: 1;
}
:-ms-input-placeholder {
	color: #ccc;
}
::-webkit-input-placeholder {
	color: #ccc;
}

p.p_helpblock {
	margin: 0;
	padding: .7em 0 0 0;
	color: #999;
	font-size: .9em;
	line-height: 1.4;
}
p.p_helpblock .fa {
	padding-right: .3em;
	color: #ffa200;
}

.warning_tooltip {
	display: inline-block;
	margin:  .2em 0 1em;
	padding: .7em .7em .6em;
	color: #fff;
	font-family: 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
	font-weight: bold;
	font-size: .9em;
	line-height: 1.1;
	background-color: #c00;
	position: relative;
}
.warning_tooltip::after {
	position: absolute;
	top: 100%;
	left: 10%;
	width:  0;
	height: 0;
	margin:  0;
	padding: 0;
	border: .5em solid transparent;
	border-top: .8em solid #c00;
	content: ' ';
}

label {
	margin:  0;
	padding: 0 .5em 0 .4em;
	color: #000;
	font-size: 1em;
	line-height: 1;
}

#contact_agree {
	margin:  0;
	padding: 15px 0;
	background-color: #d3d3d3;
	text-align: center;
	font-size: 1.2em;
	line-height: 1;
}

/****************************
  confirmation
*****************************/

dl.dl_confirmation {
	display: table;
	width: 100%;
	margin:  0;
	padding: 0;
}
dl.dl_confirmation > dt, 
dl.dl_confirmation > dd {
	display: table-cell;
	margin: 0;
	vertical-align: top;
	font-size: 1em;
	line-height: 1.5;
}
dl.dl_confirmation > dt {
	width: 12em;
	padding: 1em;
	border-bottom: 1px solid #d3d3d3;
	background-color: #efefef;
	text-align: left;
	font-weight: normal;
}
dl.dl_confirmation > dd {
	padding: 1em 0 1em 1.5em;
	border-bottom: 1px solid #d3d3d3;
	text-align: left;
}

dl.dl_confirmation.first {
	margin-top: 30px;
}
dl.dl_confirmation.first > dt, 
dl.dl_confirmation.first > dd {
	border-top: 2px solid #d3d3d3;
}
dl.dl_confirmation.last > dt, 
dl.dl_confirmation.last > dd {
	border-bottom: 2px solid #d3d3d3;
}

@media (max-width: 500px) {
	dl.dl_confirmation > dt {
		width: 8.5em;
		padding: 1em .5em;
	}
	dl.dl_confirmation > dd {
		padding: 1em 0 1em .5em;
	}
}

/****************************
  button
*****************************/

.wrapper_button {
	display: table;
	height: 46px;
	margin:  30px auto 0;
	padding: 0;
	text-align: center;
}
.wrapper_button > div {
	display: table-cell;
	width: 190px;
	margin:  0;
	padding: 0;
	vertical-align: middle;
	text-align: center;
	color: #000;
	font-size: 20px;
}
.wrapper_button > div > .wait {
	display: none;
	vertical-align: middle;
	text-align: center;
}

.wrapper_button.confirmation {
	margin: 40px auto 0;
}

.wrapper_button > div > button[type="button"] {
	height: 46px;
	margin:  0;
	padding: 0 1em;
	border: none;
	border-radius: 6px;
	background-color: #538dd5;
	vertical-align: middle;
	text-align: center;
	color: #fff;
	font-weight: bold;
	font-size: 18px;
	line-height: 46px;
	cursor: pointer;
	-webkit-appearance: button;
	-webkit-user-select: none;
            user-select: none;
	transition: all 0.3s;
}
.wrapper_button > div > button[type="button"]:hover {
	background-color: var(--blue-base_over);
}
.wrapper_button > div > button[type="button"]:active {
	background-color: var(--blue-base_out);
	-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.07), 0 0 8px rgba(0, 0, 0, 0.3) inset;
	        box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.07), 0 0 8px rgba(0, 0, 0, 0.3) inset;
}
.wrapper_button > div > button[type="button"]:disabled {
	background-color: rgba(12, 163, 172, 0.5);
	cursor: default;
}

/****************************
  thanks
*****************************/

h1.h1_thanks {
	margin:  0;
	padding: 30px 0 15px;
	text-align: center;
	color: #000;
	font-weight: normal;
	font-size: 30px;
	line-height: 1.2;
}

h2.h2_thanks {
	margin:  0;
	padding: 0;
	text-align: center;
	font-weight: normal;
	font-size: 1.2em;
	line-height: 2;
	color: #333;
}
