@charset "utf-8";

/*chromeの背景問題*/
input:-webkit-autofill {
box-shadow: 0 0 0 1000px white inset;
}

input::placeholder, textarea::placeholder {
font-family: sans-serif;
color: #999;
}



#contact{
position: relative;
width: 86%;
margin: 30px auto 0 auto;
height: auto;
}


#contact h1{
position: relative;
width: 100%;
margin: 0 auto;
padding: 0 0 10px 0;

/*FONT 375px計算*/
font-size: 13px;
font-size: 3.4666666vw;
font-size: clamp(12px, 3.4666666vw, 14.0px);
font-weight: bold;

/*Neue Haas Grotesk Display Pro 65 Medium*/
font-family: "neue-haas-grotesk-display", sans-serif;
font-weight: 600;
font-style: normal;


line-height: 1.4;
letter-spacing: 0.01em;
}

/*概要エリア*/
.contact_kaisetu{
position: relative;
width: 100%;

min-height: 60px;

margin: 0 auto 20px auto;
font-size: 12px;
line-height:1.8;
letter-spacing: 0.001em;
}

/*確認ページのみ表示*/
.contact_kakunin{
display: none;/*読込み時は非表示*/

position: relative;
width: 100%;
margin: 30px auto 20px auto;
font-size: 12px;
line-height:1.6;
letter-spacing: 0.001em;
}







/*エラー*/
#contact .mw_wp_form .error-message {
display: none;
transition:all 0.8s ease;
opacity:0;
margin:20px 0 40px 0;
}
#contact .mw_wp_form_error .error-message {
display: block;
color: #B70000;
transition:all 0.8s ease;
opacity:1;
margin:20px 0 40px 0;
}

.error{
font-size: 13px !important;
margin:12px 0 0 0px !important;
}
/*エラー*/













#contact .gaiyou{
line-height:2.5;
margin:0px auto 50px auto ;
}



#contact table{
width:100%;
border-collapse: collapse;
border-top:1px solid #ccc;
}

#contact table tr{
display:block;/*縦並び*/
width:100%;
border-bottom:1px solid #ccc;
}

#contact table th span{
color:#d60000;
margin:0 0 0 3px;
}

#contact table th{
display:block;/*縦並び*/
width:100%;
margin:0;
padding:40px 0 12px 0;

text-align:left;

font-size:12px;
font-weight: normal;
line-height: 1.4;
letter-spacing: 0.005em;
color:#000;
}


#contact table td{
display:block;/*縦並び*/
width:100%;
margin:0;
padding: 0;

text-align:left;

font-size:12px;
letter-spacing: 0.005em;
line-height:2.0;
}


#contact input[type="text"] {
border: none;
font-size:13px;
-webkit-border-radius : 0;
-webkit-appearance : none;
-webkit-tap-highlight-color : rgba(0,0,0,0);
letter-spacing: 0.005em;
color:#545454;
height:25px;
margin:0;
padding: 10px;
width:100%;
}



#contact input[type="text"]:focus {
/*border: none;*/
outline: 0;
}



#contact input[type="email"] {
border: none;
font-size:13px;
-webkit-border-radius : 0;
-webkit-appearance : none;
-webkit-tap-highlight-color : rgba(0,0,0,0);
letter-spacing: 0.005em;
color:#545454;
height:25px;
margin:0;
padding: 10px;
width:100%;
}



#contact input[type="email"]:focus {
/*border: none;*/
outline: 0;
}




/*同意するーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー*/
#contact .kojin{
font-size:11px;
}

#contact .doui_check{
margin:18px 0 18px 0;
}


#contact input[type="checkbox"]{
display: none;
}

#contact input[type="checkbox"]:checked{
-webkit-transition: border-color 0.2s linear;
transition: border-color 0.2s linear;
border: 2px solid #bbb;
}

#contact .mwform-checkbox-field-text{
display: block;
color:#000;
line-height: 18px;
margin: 13px 0 0 0;
}


#contact .kiyaku + span{
padding: 0px 0 0 23px;
position:relative;
}

/*最初の円*/
#contact .kiyaku + span::before{
-webkit-transition: opacity 0.2s linear;
transition: opacity 0.2s linear;
content: "";
display: block;
position: absolute;
top: 0;
left: 0;
width: 15px;
height: 15px;
border: 1px solid #000;
border-radius: 50%;
}

/*チェックしたら*/
#contact .kiyaku:checked + span::before{
color: #009a9a;
border: 1px solid #009a9a;
}

#contact .kiyaku:checked + span{
color: #009a9a;
}

/*選択時の小さい円*/
#contact .kiyaku:checked + span::after{
content: "";
display: block;
position: absolute;
top: 3px;
left: 3px;
width: 11px;
height: 11px;
background: #009a9a;
border-radius: 50%;
}






#contact textarea{
border: none;
outline: 0;
font-size:13px;
-webkit-border-radius : 0;
-webkit-appearance : none;
-webkit-tap-highlight-color : rgba(0,0,0,0);
letter-spacing: 0.005em;
color:#545454;
margin:0;
padding: 10px;
width:100%;
height:200px;
}
#contact textarea:focus{
/*border: none;*/
outline: 0;
}



/*ボタンレイアウト SP*/
.submitbtn{
width:100%;
margin:40px 0 80px 0 ;
}





/*送信ボタン　基本SP*/
#contact .submitbtn input{
border: 0;
cursor: pointer;
display: block;
width:100%;
background: #000;
color: #fff;
height: 55px;
line-height: 56px;

/*FONT 375px計算*/
font-size: 13px;
font-size: 3.4666666vw;
font-size: clamp(12px, 3.4666666vw, 14.0px);

letter-spacing:0.0em;
}


/*確認ボタン*/
#contact .btn-confirm{
position: relative;
width:100%;
margin: 0 0 20px 0;
background: #000;
}

/*戻って編集ボタン*/
#contact .btn-back{
width:100%;
margin:0 0px 30px 0px;
background: #f1f1f1 !important;
color:#000 !important;
}

/*送信するボタン*/
#contact .send{
width:100%;
margin:0 0px 30px 0px;
}










/*確認画面に遷移した場合　SP----------------------------------------------------*/
.mw_wp_form_preview{

}

.mw_wp_form_preview table tr{
padding: 0 0 20px 0;
border-bottom: 1px solid #ccc !important;
}



.mw_wp_form_preview table tr.kojin-tr{
display:none !important;
}

.mw_wp_form_preview table td.kojin-tr{
display:none !important;
}

.mw_wp_form_preview .contact_kaisetu{
display:none !important;
}


.mw_wp_form_preview .contact_kakunin{
display:block !important;
}



/*03.サンキュー画面 SP----------------------------------------------------*/

#thankyou{
width: 88%;
margin: 0 auto 0 auto;
padding: 100px 0 0 0;
min-height: 80vh;
}

#thankyou h2{
width: 100%;
margin: 0 ;
padding: 0 0 30px 0;
text-align: left;
font-size: 14px;
}

#thankyou p{
width: 100%;
margin: 0 ;
padding: 0 0 30px 0;

text-align: left;
font-size: 14px;
line-height: 1.8;
}

/*CONTACTという見出しを消す*/
.mw_wp_form_complete h1{
display: none;
}



/*スマホ終了　PC開始（横幅880px以上）
----------------------------------------------------------------------------------------------------------------------------------*/
@media (min-width: 880px) {
#contact{
position: relative;
width: 43%;
margin: 0 5% 0 52%;
}


#contact h1{
position: fixed;
top: 100px;
left: 70px;
margin: 0;
padding: 0;

/*Neue Haas Grotesk Display　55 Roman*/
font-family: "neue-haas-grotesk-display", sans-serif;
font-weight: 500;
font-style: normal;
font-size: 21px;
letter-spacing: 0.01em;
}

/*解説エリア*/
.contact_kaisetu{
position: fixed;
top: 150px;
left: 70px;

width: calc( 50vw - 150px );
width: -webkit-calc( 50vw - 150px );

margin: 0;
padding: 0;

font-size: 14px;
line-height:1.7;
letter-spacing: 0.0;
}


.contact_kakunin{
display: none;/*読込み時は非表示*/

position: fixed;
top: 150px;
left: 70px;

width: calc( 50vw - 150px );
width: -webkit-calc( 50vw - 150px );

margin: 0;
padding: 0;

font-size: 14px;
line-height:1.7;
letter-spacing: 0.0;
}




#contact table{
margin: 100px 0 0 0;
padding: 0;
width: 100%;
border-collapse: collapse;
border: none;
}

#contact table tr{
display:block;/*縦並び*/
width: 100%;
border: none;
}

#contact table th{
position:relative;
/*display:table-cell;横並び*/
width: 100%;
vertical-align: middle;
padding:0 0 10px 0;
margin:0;

-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
-o-box-sizing: border-box;
-ms-box-sizing: border-box;
box-sizing: border-box;

font-size: 14px;
letter-spacing: 0.005em;
line-height: 1.4;
font-weight: normal;
}





/*入力画面、確認画面2種類で使われる*/
#contact table td{
/*display:table-cell;横並び*/
width: 100%;
vertical-align: middle;
margin: 0 0 0 0;
padding:0 0 30px 0;

font-size: 14px;
font-weight: normal;

-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
-o-box-sizing: border-box;
-ms-box-sizing: border-box;
box-sizing: border-box;
}




#contact input[type="text"] {
-webkit-border-radius : 0;
-webkit-appearance : none;
-webkit-tap-highlight-color : rgba(0,0,0,0);

height:25px;
margin:0;
padding: 10px;

width: calc( 100% - 20px );
width: -webkit-calc( 100% - 20px );
border: solid 1px #ccc;

font-size: 14px;
letter-spacing: 0.005em;
color:#545454;
}



#contact input[type="text"]:focus {
/*border: none;*/
outline: 0;
}


#contact input[type="email"] {
-webkit-border-radius : 0;
-webkit-appearance : none;
-webkit-tap-highlight-color : rgba(0,0,0,0);

height:25px;
margin:0;
padding: 10px;

width: calc( 100% - 20px );
width: -webkit-calc( 100% - 20px );
border: solid 1px #ccc;

font-size: 14px;
letter-spacing: 0.005em;
color:#545454;
}


#contact input[type="email"]:focus {
/*border: none;*/
outline: 0;
}


#contact textarea{
border: none;
outline: 0;
font-size: 14px;
-webkit-border-radius : 0;
-webkit-appearance : none;
-webkit-tap-highlight-color : rgba(0,0,0,0);
letter-spacing: 0.005em;
color:#545454;
margin:0;
padding: 10px 10px 10px 10px;
width:100%;
height:300px;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
-o-box-sizing: border-box;
-ms-box-sizing: border-box;
box-sizing: border-box;
border: solid 1px #ccc;
}



#contact textarea:focus{
/*border: none;*/
outline: 0;
}






/*同意するーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー*/



#contact .kojin{
font-size:13px;
line-height: 1.8;
}

/*チェックボタン*/
#contact .doui_check{
margin:12px 0 0 0;
}


#contact input[type="checkbox"]{
display: none;
}


#contact input[type="checkbox"]:checked{
-webkit-transition: border-color 0.2s linear;
transition: border-color 0.2s linear;
border: 2px solid red;
}


#contact .mwform-checkbox-field-text{
color:#000;
}


/*同意する　PC*/
#contact .kiyaku + span{
padding: 0 0 0 23px;
position:relative;
cursor: pointer;
}

#contact .kiyaku + span:hover {
cursor: pointer;
opacity:0.5;
transition-duration: 0.5s;
}

#contact .kiyaku + span:hover > ::before{
cursor: pointer;
opacity:0.5;
transition-duration: 0.5s;
}


/*最初の円*/
#contact .kiyaku + span::before{
-webkit-transition: opacity 0.2s linear;
transition: opacity 0.2s linear;
content: "";
display: block;
position: absolute;
top: 0;
left: 0;
width: 15px;
height: 15px;
border: 1px solid #000;
border-radius: 50%;
}

/*チェックしたら*/
#contact .kiyaku:checked + span::before{
color: #009a9a;
border: 1px solid #009a9a;
}

#contact .kiyaku:checked + span{
color: #009a9a;
}

/*選択時の小さい円*/
#contact .kiyaku:checked + span::after{
content: "";
display: block;
position: absolute;
top: 3px;
left: 3px;
width: 11px;
height: 11px;
background: #009a9a;
border-radius: 50%;
}






/*ボタン基本*/
/*ボタンレイアウト*/
.submitbtn{
width: 100%;
margin: 0px auto 80px auto;
}




/*送信ボタン　基本*/
#contact .submitbtn input{
border: 0;
cursor: pointer;
width: 100%;
margin: 0;
padding: 0;
background: #000;
color: #fff;
height: 55px;
line-height: 56px;
font-size:14px;
letter-spacing:0.0em;
outline: 0;/*クリックした時の青い境界線を消す*/
text-align:center;
}


.mw_wp_form_input #contact .submitbtn input{
width: 90%;
}


#contact .submitbtn input .btn-confirm:hover {
background: #666;
color: #fff;
transition: all 0.8s;
}


#contact .submitbtn input.btn-back:hover {
background: #666;
color: #000;
transition: all 0.8s;
}



#contact .btn-confirm:hover {
opacity: 0.6;
transition: all 0.5s;
}






/*確認画面に遷移した場合　PC----------------------------------------------------*/
.mw_wp_form_preview{

}

.mw_wp_form_preview table tr{
padding: 0 0 20px 0;
border-bottom: 1px solid #ccc !important;
}

.mw_wp_form_preview table th{
padding: 20px 0 10px 0 !important;
}


.mw_wp_form_preview table td{
padding: 0 0 0 0 !important;
}

.mw_wp_form_preview table tr.kojin-tr{
display:none !important;
}

.mw_wp_form_preview table td.kojin-tr{
display:none !important;
}

.mw_wp_form_preview .contact_kaisetu{
display:none !important;
}


.mw_wp_form_preview .contact_kakunin{
display:block !important;
}



/*ボタンPCは２列　（送信する　戻る）にレイアウト*/
.mw_wp_form_confirm .submitbtn{
width: 100%;
margin: 40px 0 80px 0;

display: -webkit-flex;
display: flex;
flex-wrap: wrap;
flex-direction: row-reverse;/*横並び・右から左*/
}



/*確認ボタン*/
.mw_wp_form_confirm .submitbtn .next_btn{
flex-basis: 47%;
margin: 0 0 0 6%;
padding: 0;
}

/*戻るボタン*/
.mw_wp_form_confirm .submitbtn .back_btn{
flex-basis: 47%;
margin:0 0 0 0;
padding: 0;
}




/*03.サンキュー画面 SP----------------------------------------------------*/


#thankyou{
position: relative;
top: 150px;
left: 0px;

width: calc( 100% - 40px );
width: -webkit-calc( 100% - 40px);
min-height: 100vh;

margin: 0;
padding: 0;
}


#thankyou h2{
width: 100%;
text-align: left;
font-size: 18px;
padding: 0 0 30px 0;
margin: 0 auto 0 auto;
letter-spacing: 0.0em;
}

#thankyou p{
font-size: 14px;
line-height: 1.6;
text-align: left;
}

/*CONTACTという見出しを消す*/
.mw_wp_form_complete h1{
display: none;
}








}/*880px以上終了！*/
