@charset "UTF-8";

/*
---------------------------------------------------------*/
#form .bg{
	padding: 100px 0 130px;
}
#form .title .ft_shuei {
	color: #354f72;
	font-size: 220%;
	letter-spacing: 0.2em;
	text-align: center;
	margin-bottom: 30px;
}
#form .txt{
	font-family: dnp-shuei-gothic-gin-std, sans-serif;
	font-weight: 600;
	font-style: normal;
	font-size: 125%;
	letter-spacing: 0.18em;
	line-height: 1.8em;
	text-align: center;
	margin-bottom: 0.5em;
}
#form .req_txt {
	color: #d45e41;
	text-align: center;
}
#form .form_title{
	font-size: 181.25%;
	letter-spacing: 0.18em;
	line-height: 1.6em;
	color: #fff;
	
	font-weight: bold;
	text-align: center;
	padding: 0.5em 1em;
	box-sizing: border-box;
	border-radius: 10px;
	margin-bottom: 1.2em;
	background-color: #98cabb;
}

/* Tablet (Portrait)
------------------------------------------*/
@media only screen and (min-width: 768px) and (max-width: 959px) {
#form .bg{
	padding: 70px 0 80px;
}
#form .title .ft_shuei {
	font-size: 170%;
    margin-bottom: 20px;
}
#form .txt{
	font-size: 115%;;
}
}

/* Mobile (Portrait)
------------------------------------------*/
@media only screen and (max-width: 767px) {
#form .bg{
	padding: 10% 0 13%;
}
#form .title .ft_shuei {
    font-size: 5.5vw;
    line-height: 1.6;
    margin-bottom: 3%;
}
#form .txt{
	font-size: 105%;
	letter-spacing: 0.1em;
	margin-bottom: 0.3em;
}
}



/* フォントサイズ
---------------------------------------------------------*/
#form input[type=text],
#form input[type=tel],
#form input[type=email],
#form input[type=date],
#form textarea,
#form select {
	font-size:17px!important;
	letter-spacing: 0.1em!important;
	line-height: 1.4!important;
}
#form input[type="text"],
#form textarea{
	font-size: 16px!important;
	letter-spacing: 0.16em!important;
}
/* Tablet (Portrait)
------------------------------------------*/
@media only screen and (min-width: 768px) and (max-width: 959px) {
#form input[type=text],
#form input[type=tel],
#form input[type=email],
#form input[type=date],
#form textarea,
#form select{
	font-size: 15px!important;
}
#form input[type="text"],
#form textarea{
	font-size: 14px!important;
}
}
/* Mobile (Portrait)
------------------------------------------*/
@media only screen and (max-width: 767px) {
#form input[type=text],
#form input[type=tel],
#form input[type=email],
#form input[type=date],
#form textarea,
#form select{
	font-size: 16px!important;/*16px以下にしないで下さい（拡大防止）*/
	letter-spacing: 0.05em!important;
	line-height: 1.8em!important;
}
#form input[type="text"],
#form textarea{
	font-size: 15px!important;
}
}



/*tbl_form
---------------------------------------------------------*/
#form .form_tbl{
	max-width: 1100px;
	width: 100%;
	margin-inline: auto;
	font-family: dnp-shuei-gothic-gin-std, sans-serif;
	font-weight: 600;
	font-style: normal;
	font-size: 105%;
	letter-spacing: 0.16em;
	line-height: 1.6em;
}
#form .form_tbl th {
	width: 23.2%;
	padding:25px 0; 
}
#form .form_tbl th.val_t{
	vertical-align: top;
	padding-top: 50px;
}
#form .form_tbl td{
	width: 76.8%;
	padding:25px 0; 
}
#form .req {
	color: #d45e41;
}

/* Tablet (Portrait)
------------------------------------------*/
@media only screen and (min-width: 768px) and (max-width: 959px) {
#form .form_tbl th {
	width: 29%;
	padding:20px 0; 
}
#form .form_tbl th.val_t{
	padding-top: 40px;
}
#form .form_tbl td{
	width: 71%;
	padding:20px 0; 
}
}

/* Mobile (Portrait)
------------------------------------------*/
@media only screen and (max-width: 767px) {
#form{
	width: 100%!important;
	max-width: 100%!important;
}
#form .form_tbl,
#form .form_tbl tbody,
#form .form_tbl tr,
#form .form_tbl th,
#form .form_tbl td{
	display: block;
	width: 100%!important;
	max-width: 100%!important;
	box-sizing: border-box;
}
#form .form_tbl th {
	margin-bottom: .5em;
	padding:0;
}
#form .form_tbl th.val_t{
	padding-top: 0;
}
#form .form_tbl td{
	padding:0;
	margin-bottom: 1.8em;
}
#form .form_tbl tr:last-child td{
	margin-bottom: 0;
}
}





/*input
---------------------------------------------------------*/
#form input[type=text],
#form input[type=tel],
#form input[type=email],
#form input[type=date],
#form textarea,
#form select {
	width: 100%;
	background: #f0f0f0;
	font-family: "Helvetica Neue",Arial,"Hiragino Kaku Gothic ProN","Hiragino Sans",Meiryo,sans-serif;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	font-weight: normal;
	border: none;
	outline: none;  
	padding: min(1.25em,1.8em) 2em; 
	box-sizing: border-box;
}
#form input[type=text]:focus,
#form input[type=tel]:focus,
#form input[type=email]:focus,
#form input[type=date]:focus,
#form textarea:focus {
    border-color: #7d7d7d;
	filter: drop-shadow(0 0 10px rgba(0,0,0,0.1));
}
#form textarea {
	display: inline-block;
	height: 18em;
	resize: none;
}
::placeholder {
    color: #cccccc;
}

/*radio*/
#form .wpcf7-list-item {
	position: relative;
	margin-left: 0;
	margin-right: 2em!important;
}
#form .wpcf7-list-item:last-child{
	margin-right: 0!important;
}
#form .wpcf7-list-item label {
	cursor: pointer;
	margin-top: 0.5em;
	margin-bottom: 0.5em;
}
#form .tbl_form .wpcf7-list-item label input{
	position: absolute;
	top:0;
	left: 0;
}
#form .tbl_form .wpcf7-list-item-label{
	display: inline-block;
	padding-left:3.5em;
	box-sizing: border-box;
}
#form input[type="radio"] {
	width: 1.4em;
	height: 1.4em;
	margin-right: 0.5em;
	border-radius: 50%;
	appearance: none;
	background: #f0f0f0;
	position: relative;
	cursor: pointer;
	flex-shrink: 0;
	display: inline-block;
	margin-bottom: -0.2em;
}
#form input[type="radio"]:checked::before {
	content: "";
	position: absolute;
	width: 0.7em;
	height: 0.7em;
	background: #354f72;
	border-radius: 50%;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

/* チェックボックス */
.other-request input[type="checkbox"],
.other-body-metal input[type="checkbox"] {
	display: none;
}

.other-request input[type="checkbox"] + span,
.other-body-metal input[type="checkbox"] + span {
	position: relative;
	display: inline-flex;
	align-items: center;
	padding-left: 2em;
	margin-top: 0.25em;
	margin-bottom: 0.25em;
}

.other-request input[type="checkbox"] + span::before,
.other-body-metal input[type="checkbox"] + span::before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 1.29em;
	height: 1.29em;
	background: #f2f2f2;
	box-sizing: border-box;
}

.other-request input[type="checkbox"]:checked + span::after,
.other-body-metal input[type="checkbox"]:checked + span::after {
	content: "";
	position: absolute;
	left: 0.4em;
	top: 0.2em;
	width: 0.4em;
	height: 0.8em;
	border-right: 0.2em solid #354f72;
	border-bottom: 0.2em solid #354f72;
	transform: rotate(45deg);
}
/*button*/
#form button {
	position: relative;
	display: block;
	height: 5rem;
	cursor: pointer;
	color: #FFF;
	font-size: 18px;
	letter-spacing: 0.1em !important;
	line-height: 1.4 !important;
	font-family: dnp-shuei-gothic-gin-std, sans-serif;
	font-weight: 600;
	font-style: normal;
	border: none;
	border-radius: 2.5em;
	transition: background-color .5s, filter .5s;
	text-align: left;
}
#form button[type="reset"] ,
#form button[type="button"] {
	min-width: 19.2rem;
	text-align: center;
	padding-left: 0;
	padding-right: 0;
	background-color: #ccd1d3;
}

/* date_list */
#form .date_list {
	display: flex;
	align-items: center;
}
#form .date_list{
	margin-bottom: min(2.5em,2.5vw);
}
#form .date_list:last-child{
	margin-bottom: 0;
}
#form .date_list dt{
	margin-right: 1em;
}
#form .ui-datepicker-trigger{
	width: 1.65em;
	margin: 0 0 0 1em;
}
#form .date_list input[type=text],
#form .date_list input{
	width: 18.5em!important;
	max-width: 100%!important;
}
#form .date_list .wpcf7-form-control-wrap {
	display: flex;
    justify-content: start;
    align-items: center;	
}
input[type="date"]::-webkit-calendar-picker-indicator {
    display: none;
}

/*住所*/
.zip_box{
    margin-bottom:1em;
	display:flex!important;
}
.zip_box .zip_hyphen{
	padding: 0 0.7em;
}
.zip_mark{
	margin-right: .5em;	
}
.zip_box input{
    max-width:10em;
}
.address_box textarea{
    width:100%;
}
#form input[type="text"].short{
	width: 12em;
	margin-right: 1em;
}
#form textarea.short{
	height: 12em;
}

/* Tablet (Portrait)
------------------------------------------*/
@media only screen and (min-width: 768px) and (max-width: 959px) { 
#form input[type="radio"] {
	width: 1.6em;
	height: 1.6em;
}
#form input[type="radio"]:checked::before {
	width: 1.15em;
	height: 1.15em;
}
/*button*/
#form button {
	font-size: 15px;
}
#form button[type="reset"] ,
#form button[type="button"] {
	min-width: 17rem;
}
}

/* Mobile (Portrait)
------------------------------------------*/
@media only screen and (max-width: 767px) {
#form input[type=text],
#form input[type=tel],
#form input[type=email],
#form input[type=date],
#form textarea,
#form select {
	padding:.7em 1.5em; 
}
#form textarea {
	height: 11em;
}
#form textarea.max_textarea{
	height: 15em;
}

/*button*/
#form button {
	font-size: 15px;
}
#form button {
	font-size: 16px;
    letter-spacing: 0.05em !important;
    line-height: 1.8em !important;
    height: 16vw;
}
#form button[type="reset"] ,
#form button[type="button"] {
	min-width: 100%;
}

/* date_list */
#form .date_list {
	display: flex;
	align-items: center;
}
#form .date_list{
	margin-bottom: 1em;
}
#form .date_list:last-child{
	margin-bottom: 0;
}
#form .date_list dt{
	margin-right: 1em;
}
#form .ui-datepicker-trigger{
	width: 1.65em;
	margin: 0 0 0 1em;
}
#form .date_list input[type=text],
#form .date_list input{
	width: 12em!important;
}
#form .date_list .wpcf7-form-control-wrap {
	display: flex;
    justify-content: start;
    align-items: center;	
}
input[type="date"]::-webkit-calendar-picker-indicator {
    display: none;
}

}



/* privacy
-----------------------------------------------------------------------------*/
#form .privacy{
	padding-top: 100px;
	margin-top: 75px;
	margin-bottom: 50px;
	border-top: 1px solid #ccc;
}
#form .privacy .open_container{
	max-width: 1050px;
	margin-left: auto;
	margin-right: auto;
}
#form .privacy .open_btn{
	font-size:110%;
	letter-spacing: 0.16em;
	text-align: center;
	color: #fff;
	background-color: #354f72;
	padding: 0.6em 1em;
}
#form .privacy .open_btn .icon_open{
	border: 1px solid #fff;
	border-radius: 50%;
	margin-left: 0.5em;
	font-size: 90%;
}
#form .privacy .open_box{
	text-align: left;
	background-color: #f2f2f3;
	padding: 35px 4%;
}
#form .privacy .open_box > div{
	max-width: 975px;
	margin: 0 auto;
}
#form .privacy .open_box > div > p{
	font-size: 95%;
	letter-spacing: 0.13em;
	line-height: 1.6em;
}
#form .privacy dl{
	max-width: 790px;
	margin-left: auto;
	margin-right: auto;
}
#form .privacy dl dt{
	color: #354f72;
	margin-top: 1.2em;
}
#form .privacy dd{
	font-size: 90%;
	letter-spacing: 0.13em;
	line-height: 1.6em;
}

/* Tablet (Portrait)
------------------------------------------*/
@media only screen and (min-width: 768px) and (max-width: 959px) {
#form .privacy{
	padding-top: 70px;
	margin-top: 55px;
	margin-bottom: 30px;
}
#form .privacy .open_box{
	padding: 25px 4%;
}
}

/* Mobile (Portrait) 
------------------------------------------*/ 
@media only screen and (max-width: 767px) { 
#form .privacy{
	padding-top: 10%;
	margin-top: 10%;
	margin-bottom: 7%;
}
#form .privacy .open_container{
	max-width: 100%;
}
#form .privacy .open_btn{
	font-size:110%;
	letter-spacing: 0.1em;
}
#form .privacy .open_box{
	padding: 6% 5%;
}
#form .privacy .open_box > div{
	max-width: 100%;
}
#form .privacy .open_box > div > p{
	letter-spacing: 0.1em;
}
#form .privacy dl{
	max-width: 100%;
}
#form .privacy dl dt{
	letter-spacing: 0.16em;
	margin-top: 1em;
}
#form .privacy dd{
	letter-spacing: 0.1em;
}
}



/*submit_box
---------------------------------------------------------*/
#form .submit_box {
	text-align: center;
}
#form .submit_box .btn_list {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 0 1em;
}
#form .submit_box .btn_list li {
	display: inline-block;
	min-width: 19.2rem!important;
	max-width: 19.2rem!important;
	box-sizing: border-box;
	width: 100%;
	white-space: nowrap;
	border-radius: 2.5em;
	overflow: hidden;
	isolation: isolate;
	position: relative;
	z-index: 1;
}
#form .submit_box .btn_list li:first-child{
	min-width: 27rem!important;
	max-width: 27rem!important;
}
#form .submit_box .btn_list li:first-child::after  {
	content: "";
	position: absolute;
}
#form .submit_box .btn_list span {
	display: none;
}
#form .submit_box .btn_list li input{
	font-size: 18px;
	font-family: dnp-shuei-gothic-gin-std, sans-serif;
	font-weight: 600;
	font-style: normal;
	text-align: center!important;
	letter-spacing: 0.1em !important;
	line-height: 1.4 !important;
	width: 100%;
	height: 5rem;
	padding: 0 1.8rem;
	box-sizing: border-box;
	display: block;
	background: none;
	border: none;
	color: #fff;
	background-color: #354f72;
}
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.payment-required .wpcf7-response-output{
	border-color: #d45e41;
	color: #d45e41;
	padding: 0.8em 1em;
	max-width: 900px;
	box-sizing: border-box;
	text-align: center;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 0;
}

/* Tablet (Portrait)
------------------------------------------*/
@media only screen and (min-width: 768px) and (max-width: 959px) {
#form .submit_box .btn_list li {
	min-width: 17rem!important;
	max-width: 17rem!important;
}
#form .submit_box .btn_list li:first-child{
	min-width: 25rem!important;
	max-width: 25rem!important;
}
#form .submit_box .btn_list li input{
	font-size: 15px;
}
}

/* Mobile (Portrait) 
------------------------------------------*/ 
@media only screen and (max-width: 767px) { 
	#form .submit_box .btn_list{
		display: block;
	}
#form .submit_box .btn_list li {
	min-width: 100%!important;
	max-width: 100%!important;
}
#form .submit_box .btn_list li:first-child{
	min-width: 100%!important;
	max-width: 100%!important;
}
#form .submit_box .btn_list li input{
	font-size: 16px!important;
	letter-spacing: 0.05em!important;
	line-height: 1.8em!important;
	height: 16vw;
}
#form .submit_box .btn_list {
	gap: 0 1vw;
}
}



/*wpcf7-not-valid-tip
---------------------------------------------------------*/
.valid_box{
	position: relative;
}
.valid_box.other-request > p .wpcf7-form-control-wrap{
	display: block;
}
.wpcf7-not-valid-tip{
	position: absolute;
	width: 11em;
	text-align: center;
	background: #c1272d;
	padding: 2px 0.5em 2px;
	box-sizing: border-box;
	border-radius: 3px;
	color: #fff;
	font-size: 80%;
	font-weight: normal;
	letter-spacing: .03em;
	line-height: 1.4em;
	display: inline-block;
	left: 0 !important;
	top: calc(100% + 2px) !important;
	bottom: auto !important;
	right: auto !important;
	margin: 0 !important;
}
.valid_box.other-request > p .wpcf7-form-control-wrap .wpcf7-not-valid-tip{
	top: calc(100% - 0.2em) !important;
}
.textarea-tip .wpcf7-not-valid-tip{
	top: calc(100% - 1.2em) !important;
}
.date_list .wpcf7-not-valid-tip{
	top: calc(100% - 1.2em) !important;
}
.wpcf7-not-valid-tip::before{
	content: "";
	position: absolute;
	left: 10px;
	bottom: calc(100% - 2px);
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 0 5px 10px 5px;
	border-color: transparent transparent #c1272d transparent;
}
