@charset "utf-8";
.ptf {font-family: ab-suzume, sans-serif;font-style: normal; font-weight:900; letter-spacing:15px; font-size:min(calc(0.1 * 80vw), 80px); line-height:min(calc(0.1 * 55vw), 55px);}
* {font-family: dnp-shuei-mgothic-std, sans-serif;font-weight: 600;font-style: normal;}

.backgroundwhite{position: absolute;background-color: white;height:100%;width:900px;z-index:1;top:0;margin: auto; left:0; right:0;}

/*top*/
.contacttop{max-width: 1000px;margin: 0 auto;width:90%;padding-top:30px;z-index: 2;position: relative;}

/*トップタイトル↓*/
.contacttopbackgroundcolor{margin-top:-8%;min-height:300px;height: min(calc((100 / 1920) * 360vw), 360px);width:100%;background-color:#D6EBF7;z-index:0;}
.contacttoptxt{padding-top:7%;max-width: 1000px; width:90%;margin: auto; left:0; right:0;z-index:1;}
.contacttoptxt_1{color:white;font-size:7rem;font-weight: bold;margin-left:3%;position:relative;}
.contacttoptxt_2{color:#00478A; font-weight: bold;  font-size:min(calc(0.1 * 26vw), 26px); line-height:min(calc(0.1 * 26vw), 26px);}
.topillust{position:absolute;width:16%;top:32%;z-index:-1;left:-6%;}
/*トップタイトル↑*/


/*4*/
.section2{position:relative;background-color:#FEF4DF;z-index:0;}
.section2inner{z-index:5;max-width: 1000px;margin: 0 auto;position:relative;width:90%;padding-bottom:10%;}

.form-table {width:80%; margin: 0 auto 30px auto; right:0; left:0;}
.form-table th {color:#00478A; text-align: left; font-size:14px;} 
.form-table td {width:60%;}
.form-table th,
.form-table td {border-bottom: 3px solid white; padding: 25px;}
.form-table tr:nth-child(odd) th,
.form-table tr:nth-child(odd) td {background: #D6EBF7;}
.form-table tr:nth-child(even) th,
.form-table tr:nth-child(even) td {background: #F2F2F2;}

/*フォーム他*/
.section2 p{text-align: center; color:#00478A;font-size:1.5rem;padding-top:5%;margin-bottom: 5%;}
.check{white-space:nowrap;display: flex; justify-content: center; margin-top: 30px;margin-bottom: 30px;}
.check input{position:relative;top:6px;margin-right: 5px;}
.lastbutton{display:flex;justify-content:center;margin:auto; right:0; left:0;color:white; background-color: #0085CD; border: 4px solid #b5dcf0;font-size:14px; width:40%;text-align: center;padding: 13px 23px;border-radius: 33px;}
.section2 a{text-decoration: none;}
.lastbuttonicon{position:relative;left:33%}

.syusei{text-align: center;margin-top:5%;  text-decoration: underline;font-weight: bold;}
.errors {padding:50px 0; }
.errors p.error_messe {padding:0; margin:20px 0; line-height:20px; text-align:center;} 

/*SP版*/
@media screen and (max-width : 999px ){
  .contacttop{width:95%;padding-top:2%;}
  .backgroundwhite {width:70%;}
  .section2 p {text-align:left; font-size:14px;}
  .lastbutton {width:80%;}
  .form-table {display:block; margin:0 auto 20px auto; width:100%; }
  .form-table tr {display:inline-block; padding:20px; width:100%; box-sizing:border-box; margin:5px auto;}
  .form-table tr:nth-child(odd) {background: #D6EBF7;}
  .form-table tr:nth-child(even) {background: #F2F2F2;}
  .form-table th,
  .form-table td {border:0; display:block; padding:0; width:100%;}
}
@media screen and (max-width: 668px){
  /*トップタイトル↓*/
  .contacttoptxt_2{font-size:2rem;}
  .contacttoptxt_1{font-size: 4rem;}
  .contacttopbackgroundcolor{height:calc((100 / 1920) * 668vw);min-height:0;}
  .topillust{width:26%;top:23%;}
  /*トップタイトル↑*/
}

