@charset "utf-8";

/* ---------------------------------------- 
 - form elements
---------------------------------------- */
.form-section input[type="text"],
.form-section input[type="email"],
.form-section input[type="tel"],
.form-section input[type="password"],
.form-section textarea,
.form-section select {
	width: 100%;
	height: 40px;
	padding: 0 15px;
	border: 1px solid #969ea7;
	box-sizing: border-box;
}
/* textarea */
.form-section select {
	width: auto;
	min-width:35%;
}
/* textarea */
.form-section textarea {
	height: auto;
	min-height: 200px;
}
/* checkbox */
.form-section input[type=checkbox] {
    margin-right: 0.5em;
    position: relative;
    display: inline-block;
    cursor: pointer;
}
.form-section input[type=checkbox]::before {
	display: block;
    width: 18px;
    height: 18px;
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    background: #fff;
    box-sizing: border-box;
	border: 1px solid #969ea7;
	margin-top: -2px; /* 調整 */
}
.form-section input[type=checkbox]:checked::after {
	display: block;
	width: 12px;
    height: 7px;
	content: "";
    position: absolute;
    top: 0;
	left: 3px;	    
    border-left: 3px solid #001bc3;
    border-bottom: 3px solid #001bc3;
    transform: rotate(-45deg);
	margin-top: 2px; /* 調整 */
}
/* radio */
.form-section input[type=radio] {
    margin-right: 0.5em;
    position: relative;
    display: inline-block;
    cursor: pointer;
}
.form-section input[type=radio]::before {
	display: block;
    width: 18px;
    height: 18px;
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    background: #fff;
    box-sizing: border-box;
	border: 1px solid #969ea7;
	border-radius: 50%;
	margin-top: -2px; /* 調整 */
}
.form-section input[type=radio]:checked::after {
	display: block;
	width: 8px;
    height: 8px;
	content: "";
    position: absolute;
    top: 0;
	left: 0;	  
	border-radius: 50%;
	background: #001bc3;
	margin-top: 3px;
    margin-left: 5px;
}
@media screen and (max-width: 768px) {
	.form-section input[type="text"],
	.form-section input[type="email"],
	.form-section input[type="tel"],
	.form-section input[type="password"],
	.form-section textarea,
	.form-section select {
		padding: 0 10px;
	}
}

/* ---------------------------------------- 
 - form-section
---------------------------------------- */
.form-section {
	width: 92%;
	max-width: 1200px;
	margin: 0 auto;
}
.content-section.form-section {
	width: 100%;
}
/* form-flow */
.form-flow {
	padding:0 0 50px;
}
.form-flow ul {
	display: flex;
	width: 100%;
}
.form-flow ul li{
	width: calc(100% / 3);
	text-align: center;
	color: #001bc3;
	position: relative;
	line-height:48px;
	border: 1px solid #001bc3;
	border-right:0;
	box-sizing: border-box;
	background: #fff;
}
.form-flow ul li.current {
	background: #001bc3;
	color: #fff;
}
.form-flow ul li:after {
	content: "";
	width: 0;
	height: 0;
	border-top: 25px solid transparent;
	border-left: 15px solid #001bc3;
	border-bottom: 25px solid transparent;
	position: absolute;
	right: -16px;
	top: -1px;	
	z-index: 1;
}
.form-flow ul li:before {
	content: "";
	width: 0;
	height: 0;
	position: absolute;
	top: -1px;
	right: -15px;	
	border-top: 25px solid transparent;
	border-left: 15px solid #fff;
	border-bottom: 25px solid transparent;	
	z-index: 2;
}
.form-flow ul li.current:before {
	border:0;
}
.form-flow ul li:last-child {
	border-right: 1px solid #001bc3;
}
.form-flow ul li:last-child:before,
.form-flow ul li:last-child:after {
	border:0;
}
/* form-notice */
.form-notice {
	margin-bottom:2.0em;
	text-align: left;
	line-height: 1.8;
}
.form-notice .txt {
	margin-top:1em;
	margin-bottom:1em;
}
.form-notice .txt:first-child {
	margin-top:0;
}
.form-notice .txt:last-child {
	margin-bottom:0;
}
.form-notice ul.notice {
	margin-bottom:1em;
}
.form-notice ul.notice li {
	text-indent: -1.0em;
	margin-left: 1.0em;
	margin-bottom: 0.5em;
}
.form-notice .required span {
	display: inline-block;
	color: #fff;
	font-size: 1.2rem;
	background: #001bc3;
	padding: 3px 10px;
	margin-right:5px;
}
@media screen and (max-width: 768px) {
	/* form-flow */
	.form-flow {
		padding:0 0 2.5em;
	}
	.form-flow ul li{
		font-size: 1.4rem;
		line-height:40px;
	}
	.form-flow ul li:after {
		border-top: 0;
		border-left: 0;
		border-bottom: 0;
		position:static;
		right: 0;
		top: 0;
	}
	.form-flow ul li:before {
		border-top: 0;
		border-left: 0;
		border-bottom: 0;
		position:static;
		right: 0;
		top: 0;
	}
}

/* ---------------------------------------- 
 - form-box
---------------------------------------- */
.form-box {
	background-color: #fff;
	padding: 40px 80px 80px;
	margin: 40px auto 0;
	text-align: left;
	line-height: 1.6;
}
.content-section .form-box {
	padding: 0;
	margin-top: 0;
}
.form-box a {
	text-decoration: underline;
}
.form-box a:hover {
	text-decoration: none;
}
.form-box .inner {
	max-width: 1000px;
	margin: 0 auto;
}
.form-box .form-flex {
	display:flex;
	align-items: center;
	flex-wrap: wrap;
}
/* table（基本レイアウト） */
.form-box table {
	width:100%;
	table-layout: fixed;
	border-collapse: collapse;
    border-spacing: 0;
}
.form-box table th {
	width:28%;
	border-bottom:solid 1px #969ea7;
	padding:30px 60px 30px 0;
	box-sizing:border-box;
	vertical-align: top;
	position: relative;
}
.form-box table th .required {
	display: inline-block;
	color: #fff;
	font-size: 1.4rem;
	background: #001bc3;
	padding: 0 5px;
	position: absolute;
    right: 15px;
    top: 28px;
}
.form-box table th .example {
	font-size:1.4rem;
}
.form-box table th .notice {
	font-size:1.4rem;
}
.form-box table th .notice li {
	text-indent: -1.0em;
	margin-left:1.0em;
}
.form-box table td {
	width:72%;
	border-bottom:solid 1px #969ea7;
	padding:30px;
	box-sizing:border-box;
}
.form-box table td > .txt {
	margin-top:1.2em;
	margin-bottom:1.2em;
}
.form-box table td > .txt:first-child {
	margin-top:0;
}
.form-box table td > .txt:last-child {
	margin-bottom:0;
}
.form-box table td > ul.list li {
	margin-bottom:0.5em;
}
.form-box table td ul.notice {
	margin-top:1.0em;
}
.form-box table td ul.notice li {
	text-indent:-1.0em;
	margin-left:1.0em;
	font-size:1.4rem;
}
.form-box table td .example {
	margin-top:1.0em;
	font-size:1.4rem;
}
/* table（項目別） */
/* お名前 / フリガナ */
.form-box table td.name .txt {
	margin-right: 1.5em;
}
.form-box table td.name .txt:last-child {
	margin-right: 0;
}
.form-box table td.name input {
	width:200px;
	margin-left: 0.5em;
}
/* 郵便番号 */
.form-box table td.postcode input {
	width: 120px;
}
.form-box table td.postcode div.form-flex { 
	align-items:normal;
}
.form-box table td.postcode button {
	text-align: center;
    box-sizing: border-box;
    cursor: pointer;
    background: #fff;
    padding: 0 1.0em;
    max-width: 150px;
    transition: all 0.3s;
	margin-left:15px;
	color: #001bc3;
	border: solid 1px #001bc3;
}
.form-box table td.postcode button:hover {
	opacity: 0.6;
}
/* 電話番号 */
.form-box table td.tel .tel-separator { 
	margin: 0 0.5em;
}
.form-box table td.tel input {
    width: 25%;
	min-width: 80px;
}
/* メールアドレス */
.form-box table td.mail .again {
	margin: 20px 0 0.5em;
}
.form-box table td.mail input {
	width:100%;
}
/* form-choice-list（radio、checkbox横並び） */
.form-box table td ul.form-choice-list {
	display: flex;
	flex-wrap: wrap;
}
.form-box table td ul.form-choice-list li {
	margin-right: 2em;
	margin-bottom: 0.5em;
}
@media screen and (min-width: 769px) and (max-width: 950px) {
	.form-box table td.name .txt {
		margin-right: 2%;
	}
	.form-box table td.name input { /* お名前 / フリガナ */
		width:calc(100% - 2em);
	}
}
@media screen and (max-width: 768px) {
	.form-box {		
		width: 100%;
		padding: 10px 4% 30px;
		margin-top: 20px;
	}
	.form-box .form-flex {
		display: block;
	}
	/* table（基本レイアウト） */
	.form-box table th {
		display:block;
		width:100%;
		border-bottom:none;
		padding:1.5em 0 1em 0;
		vertical-align:middle;
	}
	.form-box table th .required {
		position:static;
		margin-left:10px;
	}
	.form-box table td {
		display:block;
		width:100%;
		padding:0 0 1.5em 0;
	}
	/* table（項目別） */
	/* お名前 / フリガナ */
	.form-box table td.name .txt {
		margin-right: 0;
		margin-bottom: 0.5em;
	}
	.form-box table td.name input {
		width:80%;
	}
	/* 郵便番号 */
	.form-box table td.postcode input {
		width:10em;
	}
	.form-box table td.postcode button {
		padding: 0 3%;
		max-width: 100px;
		margin-left:10px;
	}
	/* form-choice-list（radio、checkbox横並び） */
	.form-box table td ul.form-choice-list li { /* お問い合わせ種別 */
		margin-right: 0;
		margin-bottom: 0.5em;
	}
}

/* ---------------------------------------- 
 - submit-box
---------------------------------------- */
.submit-box {
	margin:0 auto;
	text-align:center;
	margin-top:65px;
}
.submit-ttl {
	font-size:2.2rem;
	font-weight:bold;
	margin-bottom: 1em;
}
.submit-lead {
	margin-bottom: 1.5em;
}
.submit-lead a {
	color: #001bc3;
}
.submit-btn {
	display: flex;
	justify-content: center;
	margin-top: 40px;
}
.submit-btn li {
	margin:0 15px;
	width:300px;
}
.submit-btn li a,
.submit-btn li button{
    border: none;
	cursor: pointer;
	font: inherit;
    line-height: 1.6;
    display: inline-block;
	text-decoration: none;
	box-sizing: border-box;
	background-color: #001bc3;
	width: 100%;
	text-align: center;
	padding: 12px;
	color: #fff;
	transition: .3s;
}
.submit-btn li a.conf,
.submit-btn li button.conf {
	background: #001bc3;
	color: #fff;
	border: none;
}
.submit-btn li a.reset,
.submit-btn li button.reset {
	border:solid 1px #001bc3;
	background: #fff;
	color:#001bc3;
}
.submit-btn li a:hover,
.submit-btn li button:hover {
	opacity: 0.6;
}
@media screen and (max-width: 768px) {
	.submit-box {
		margin-top:30px;
	}
	.submit-ttl {
		font-size:1.8rem;
	}
	.submit-lead {
		font-size:1.4rem;
		text-align: left;
	}
	.submit-btn {
		display: block;
		margin-top:30px;
	}
	.submit-btn li {
		padding:0 0;
		font-size:1.6rem;
		width:80%;
		max-width:300px;
		margin:0 auto 1.5em;
	}
	.submit-btn li:last-child {
		margin-bottom:0;
	}
	.submit-btn li a,
	.submit-btn li button {
		padding: 7px;
	}
}

/* ---------------------------------------- 
 - thanks-box（完了画面）
---------------------------------------- */
.thanks-box {
	text-align:center;
	margin:0 auto;
	max-width: 750px;
}
.thanks-lead {
	font-size:1.8rem;
}
.thanks-box .link-btn {
	margin:50px auto 0;
}
@media screen and (max-width: 768px) {
	.thanks-lead {
		font-size:1.6rem;
	}
}