@charset "utf-8";

/* -----------------------------------------------------------
    コンテンツBG
-------------------------------------------------------------- */
#form{
}
.page-title-simple .page-title-area::after {
    z-index: 1;
}

/* -----------------------------------------------------------
    冒頭注意文
-------------------------------------------------------------- */
.intro-cautxt {
    position: relative;
    padding: 30px 20px;
    /*background: rgba(255,243,238,1);*/
    background: #fff;
    line-height: 1.8;
    text-align: center;
}
.intro-cautxt span {
    color: #e63d3d;
    font-weight: 600;
}

@media screen and (max-width: 768px){
    .intro-cautxt {
        text-align: left;
        padding: 20px;
    }
}

/* -----------------------------------------------------------
    ヘッダー
-------------------------------------------------------------- */
.no-fix .header,
.no-fix #nav-container{
	position: absolute !important;
}

/* -----------------------------------------------------------
    page-title
-------------------------------------------------------------- */
#header.header-no-fixed .header-area .btn-box {
	position: absolute;
}

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

}

/* -----------------------------------------------------------
    form-kome
-------------------------------------------------------------- */

.form-kome {
	font-size: 14px;
	text-indent: -14px;
	padding-left: 14px;
	margin: 15px 0 0;
}

/* -----------------------------------------------------------
    input
-------------------------------------------------------------- */
.radio-list{
    list-style: none;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="password"], 
input[type="date"],
select,
textarea {
	border: 1px solid #ddd;
	padding: 15px;
	font-size: 16px;
	color: #333;
	letter-spacing: 0.03em;
	background: #fff;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;	
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
input[type="password"]:focus,

select:focus,
textarea:focus {
	border: 1px solid #0099dd;
	outline: none;
}

input[type="number"] {
	-moz-appearance:textfield;
}
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

select{
	width: 30%;
	margin: 0 0 0 0;
	background: #fff url(../img/icon_arrow_under.png) no-repeat 95% 50%;
	background-size: 12px auto;
}

.form-table #year {
	width: 30%;
}
	
.form-table #month,
.form-table #days {
	width: 20%;
}

td .select-txt {
	padding: 0 10px;
}

td.area select{
	width: 50%;
	padding: 12px;
	margin: 0 0 0 0;
	background: #fff url(../img/icon_arrow_under.png) no-repeat 95% 50%;
	background-size: 12px auto;
}

select:hover {
	cursor: pointer;
}

option {
	padding: 5px 15px;
}

select option selected {
	color: #999;
}

textarea {
	width: 100%;
	resize: vertical;
	vertical-align: middle;
}

input[type="radio"],
input[type="checkbox"] {
	vertical-align:-1px;
	margin: 0 8px 0 0;
    border-radius: 0;
}

.form-area label:hover {
	cursor: pointer;
}

/* -----------------------------------------------------------
    ラジオボタンカスタマイズ
-------------------------------------------------------------- */
input[type="radio"] + label {
	position: relative;
	cursor: pointer;
	padding-left: 35px;
	display: inline-block;
}

input[type="radio"] + label::before,
input[type="radio"] + label::after {
	content: "";
	display: block; 
	border-radius: 50%;
	position: absolute;
}

input[type="radio"] + label::before {
	background-color: #fff;
	border: 1px solid #bbb;
	border-radius: 50%;
	width: 18px;
	height: 18px;
	left: 5px;
	top: 4px;
}

input[type="radio"] + label::after {
	background-color: #990906;
	border-radius: 50%;
	opacity: 0;
	width: 14px;
	height: 14px;
	left: 8px;
	z-index: 1;
	transition: all .2s ease;
	top: 7px;
}

input[type="radio"]:checked + label::after {
	opacity: 1;
}

/*スクリーンリーダーで設問を読み取るための記述*/
.visually-hidden {
	position: absolute;
	white-space: nowrap;
	border: 0;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	overflow: hidden;
	height: 1px;
	width: 1px;
	margin: -1px;
	padding: 0;
}

.radio-list .none {
	display: none;
}

/* -----------------------------------------------------------
    チェックボックスカスタマイズ
-------------------------------------------------------------- */
#form input[type="checkbox"] + label {
  cursor: pointer;
  padding-left: 30px;
  position: relative;
}


#form input[type="checkbox"] + label::before,
#form input[type="checkbox"] + label::after {
  content: "";
  display: block; 
  position: absolute;
}

#form input[type="checkbox"] + label::before {
  background-color: #fff;
  border-radius: 0%;
  border: 1px solid #bbb;
  width: 18px;
  height: 18px;
  transform: translateY(-50%);
  top: 52%;
  left: 0;
}

#form input[type="checkbox"] + label::after {
  border-bottom: 2px solid #990906;
  border-left: 2px solid #990906;
  opacity: 0;
  height: 5px;
  width: 10px;
  transform: rotate(-45deg);
  top: 8px;
  left: 4px;
}

#form input[type="checkbox"]:checked + label::after {
  opacity: 1;
}


/* -----------------------------------------------------------
    button / submit
-------------------------------------------------------------- */

#form input[type="submit"],
#form input[type="button"] {
	display: block;
	letter-spacing: 0.05em;
	margin: 0 auto;
	-webkit-transition: 0.5s;
	-moz-transition: 0.5s;
	-o-transition: 0.5s;
	-ms-transition: 0.5s;
	transition: 0.5s;
	border: none;
	outline: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	color: #FFF;
	font-size: 18px;
	font-weight: bold;
	width: 300px;
	padding: 20px 30px 22px 30px;
	text-align: center;
	box-shadow: 2px 2px 3px #ccc;
	border-radius: 50px;
}

#form input[type="submit"],
#form input[type="button"]{
	min-width: 300px;
}

.submit_btn {
	color: #fff !important;
	background: #990906;
}

.submit_org {
	background: #FF8C53;
}
input[type="submit"].submit_gray,
input[type="button"].submit_gray{
	color: #333 !important;
	width: 400px;
	background: #F5F5F5;
	padding: 18px 10px 22px 10px;
	text-align: center;
	box-shadow: 2px 2px 3px #DDD;
}
.submit_magenta {
	background: #3EC473;
}
.submit_green {
	background: #F45C18;
}

input[type="submit"]:hover,
input[type="button"]:hover{
	cursor: pointer;
	opacity: 0.8;
}

/*		送信ボタン		*/
.form_btn_area {
	padding: 50px 0 70px 0;
	text-align: center;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px 30px;
	flex-direction: row-reverse;
}
.form_btn_area .fl {
	float: left;
}
.form_btn_area .fr {
	float: right;
}

.form_btn_txt {
	margin: 0 0 40px;
	line-height: 1.8;
	width: 100%;
}

.form_btn_txt a {
	color: #990906;
	font-weight: 500;
}

.form_btn_txt a:hover {
	opacity: 0.6;
}

.error_message{
	text-align:center;
	padding:130px 0 40px;
	line-height:1.8;
}


/* -----------------------------------------------------------
    入力画面共通  /  table
-------------------------------------------------------------- */
.form-table {
	width: 100%;
	font-size: 16px;
	line-height: 1.8;
	border-top: 1px #ddd solid;
	/*margin: 80px 0 50px;*/
	/*margin: 80px 0 0;*/
	/*border-top: 1px #EDEDE8 solid;*/
    margin: 20px 0 0;
}

.form-table.first {
	border-top: 1px #ddd solid;
	/*margin: 80px 0 0;*/
}

.accordion-wrap {
	display: none;
}

.table-open {
	display: block;
	padding: 30px 0;
	border-bottom: 1px #ddd solid;
	text-align: center;
}

.table-open .btn {
	display: inline-block;
	padding: 15px 20px;
	min-width: 260px;
	border: 1px solid #444;
	line-height: 1.5;
	cursor: pointer;
	transition: all .4s;
	position: relative;
}

.table-open .btn::after {
	content: "\2b";
	display: inline-block;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	right: 15px;
	color: #444;
}

.table-open .btn:hover {
	opacity: .7;
}

.table-open.active {
	display: none;
}

/*.form-table tr {
	display: inherit;
}
.confirm .form-table tr {
	display: block;
}*/
.form-table th {
	padding: 20px 0 20px 0;
	width: 200px;
	vertical-align: text-top;
	font-weight: bold;
	text-align: left;
    border-bottom: 1px #ddd solid;
}
.form-table th::before {
	top: 42px;
}

.form-table td {
	padding: 20px 50px 20px 50px;
    border-bottom: 1px #ddd solid;
}

.form-table td .unit {
	margin-left: 10px;
}

.form-th-title {
	display: inline-block;
	/*padding: 5px 0 0;*/
}

.form-th-title span{
	font-size: 12px;
	color: #666;
}

.form-th-notes {
	float: right;
	display: inline-block;
	margin: 0;
	padding: 3px 12px;
	font-size: 12px;
	font-weight: bold;
	color: #fff !important;
	background: #990906;
}
.form-th-notes.est {
	float: none;
	padding: 6px 10px;
	margin: 0 0 0 10px;
	vertical-align: middle;
}
.form-th-notes.any {
	background: #1294D5;
}

.form-table input[type="text"],
.form-table input[type="password"],
.form-table input[type="tel"],
.form-table input[type="email"], 
.form-table input[type="date"]{
	width: 100%;
	line-height: normal;
}
.form-table input[type="number"] {
	width: 30%;
}

/*		生年月日		*/
input[type="text"].birth {
	width: 40%;
}


/*		姓名		*/
input[type="text"].half {
	width: 36%;
	margin: 0 20px 0 10px;
}
input[type="text"].half.l {
	margin: 0 20px 0 10px;
}


/*		郵便番号		*/
input[type="number"].input_zip {
	width: 30%;
	margin: 0 0 0 10px;
}
.zip_btn {
	width: 30%;
	margin: 15px 0 0;
	text-align: center;
}
.zip_btn a {
	display: block;
	padding: 10px 0;
	color: #fff;
	background: #7FB2AA;
}

td.area .name_txt{
	margin: 0 0 5px;
	font-size: 14px;
}

/*		調査ご希望日時		*/
/*#datepicker1,
#datepicker2,
#datepicker3 {
	
    background-image: url(../img/ico_calendar.png);
    background-repeat: no-repeat;
    background-position: top 50% left 10px;
    padding-left: 35px;
	
    width: 200px;
    margin: 5px 10px 5px 0;
}*/

/*		お問い合わせ		*/
.radio-list li:not(:last-child) label {
    padding-bottom: 10px; /*行間のちらつき防止*/
}


/*		注釈		*/
.form-td-notes {
	display: inline-block;
	margin: 0 0 0 15px;
	font-size: 12px;
}
.form-td-notes02 {
	margin: 15px 0;
	font-size: 12px;
}
.form-td-notes03 {
	margin: 15px 0 0;
	font-size: 12px;
}
.form-td-notes04 {
	margin: 7px 0 15px;
	font-size: 12px;
}
.form-td-notes05 {
	margin: 0 0 15px;
	font-size: 12px;
}

.ftop .txt-area {
	margin: 100px 0 0;
	position: relative;
}

.ftop .txt-area .inner1100 {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.ftop .txt-area .txt-wrap {
	margin: 60px 0 0;
}

.ftop .txt-area .deco-wrap:first-child {
	display: inline-block;
	position: absolute;
	top: -20px;
	left: calc( ( 100% - ( 1100px + 200px ) ) / 2 );
	background: url("../img/deco-butterfly01.png") center/cover, no-repeat;
	width: 200px;
	height: 70px;
	z-index: 1;
}

.ftop .txt-area .deco-wrap:nth-child(2){
	display: inline-block;
	position: absolute;
	bottom: -15px;
	right: calc( ( 100% - ( 1100px + 100px ) ) / 2 );
	background: url("../img/deco-flower01.png") center/cover, no-repeat;
	transform: rotate(190deg);
	width: 134px;
	height: 121px;
	z-index: 1;
}

.ftop .txt-area .copy {
	font-size: 3.0rem;
	letter-spacing: .2rem;
	text-align: left;
}

.ftop .txt-area .basic-txt {
	margin-top: 30px;
}


/* -----------------------------------------------------------
    file
-------------------------------------------------------------- */
.file-wrap .form_td_notes02 {
	line-height: 2;
	font-size: 1.6rem;
	letter-spacing: .08em;
}

.file__label-wrap {
	align-items: center;
	display: flex;
	gap: 15px;
	margin-bottom: 20px;
}

.file__label {
	border-radius: 60px;
	border: 1px solid var(--blue);
	cursor: pointer;
	color: var(--blue);
	display: block;
	font-weight: bold;
	font-size: 1.8rem;
	line-height: 1.5;
	text-align: center;
	transition: opacity 0.3s ease;
	width: 260px;
	position: relative;
	padding: 15px 0.5em;
}

.file__label::before {
	content: "\f061";
	color: var(--blue);
	font: 900 1.8rem/1 "Font Awesome 5 Free";
	position: absolute;
	top: 50%;
	-webkit-transform: translateY(-50%);
	transform: translateY(-50%);
	right: 15px;
}

.file__label:hover {
	opacity: 0.7;
}

input[type=file] {
	display: none;
}

.file__none {
	font-size: 1.6rem;
	line-height: 1.5;
	text-align: center;
	word-break: break-all;
}

.file-wrap p[class^="form_td_notes"] {
	line-height: 1.8;
	letter-spacing: .05em;
	margin-top: 0;
}

/* -----------------------------------------------------------
	確認画面共通
-------------------------------------------------------------- */
.confirm .txt-area {
	padding: 60px 0 30px;
	text-align: center;
	font-weight: 600;
}

/* -----------------------------------------------------------
    完了画面共通
-------------------------------------------------------------- */

.thanks .form-area .txt-area {
	padding: 100px 0 0;
}

.thanks .form-area .txt-area .complete-title {
	font-size: 2.6rem;
	font-weight: bold;
	text-align: center;
	line-height: 1.6;
	padding: 0 0 40px;
}

.thanks .form-area .txt-area .complete-txt {
	margin: 0 0 15px;
	line-height: 1.8;
	text-align: center;
}

.thanks .form-area .txt-area .back-link {
	margin: 30px 0 100px;
	text-align: center;
	width: 100%;
}

.thanks .form-area .txt-area .back-link a {
	font-weight: 600;
}

.thanks .form-area .txt-area .back-link a:hover {
	opacity: .7;
}

.thanks .form-area .txt-area .back-link .fas {
	display: inline-block;
	margin-right: 5px;
}


