/*-----------------------------------------------------------------------------------------------
display
-----------------------------------------------------------------------------------------------*/

#contact .cont_box,
#thanks .cont_box,
#thanks .data_box,
#thanks .thanks_mess,
#contact .cont_box dl,
#contact .cont_box dl dt,
#contact .cont_box dl dd,
#contact .cont_box dl dd label,
#contact .cont_box dl dd select,
#contact .cont_box dl dd input[type=text],
#contact .cont_box dl dd input[type=tel],
#contact .cont_box dl dd input[type=email],
#contact .cont_box dl dd input[type=checkbox],
#contact .cont_box input[type=submit],
#contact.confirm .btn_box,
.cf-turnstile,
#thanks a{
  display: flex;
}

#contact .cont_box,
#thanks .cont_box,
#thanks .data_box,
#thanks .thanks_mess,
#contact .cont_box dl,
#contact .cont_box dl dt,
#contact .cont_box dl dd,
#contact .cont_box dl dd label,
#contact .cont_box dl dd select,
#contact .cont_box dl dd input[type=text],
#contact .cont_box dl dd input[type=tel],
#contact .cont_box dl dd input[type=email],
#contact .cont_box dl dd input[type=checkbox],
#contact .cont_box input[type=submit],
#thanks a{
  flex-wrap: wrap;
}

/*-----------------------------------------------------------------------------------------------
align-items
-----------------------------------------------------------------------------------------------*/
#contact .cont_box dl dt,
#contact .cont_box dl dd,
#thanks .cont_box,
#contact .cont_box dl dd label,
#contact .cont_box dl dd select,
#contact .cont_box dl dd input[type=text],
#contact .cont_box dl dd input[type=tel],
#contact .cont_box dl dd input[type=email],
#contact .cont_box dl dd input[type=checkbox],
#contact .cont_box input[type=submit] {
  align-items: center;
}

/*-----------------------------------------------------------------------------------------------
justify-content
-----------------------------------------------------------------------------------------------*/
#contact .title_box,
#thanks .title_box,
#contact .cont_box input,
#contact.confirm .title_cont,
#contact.confirm .btn_box,
#thanks .title_cont,
.cf-turnstile {
  justify-content: center;
}

#contact .cont_box dl dt {
  justify-content: flex-end;
}

#contact .cont_box dl dt {
  justify-content: initial;
}


@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation:portrait) {
 #thanks .title_box{
    justify-content: initial;
  }
}

/*【iPad 横向きのみ】*/
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: landscape) {
 #thanks .title_box{
    justify-content: initial;
  }
}

/*【スマホ】iphone16*/
@media only screen and (max-width: 767px) {
 #thanks .title_box{
    justify-content: initial;
  }
}

/*【スマホ】iphone12*/
@media only screen and (max-width: 375px) {}



/*-----------------------------------------------------------------------------------------------
position
-----------------------------------------------------------------------------------------------*/
#thanks .thanks_mess{
  position: relative;
}

#thanks .thanks_mess img{
  position: absolute;
}

#thanks .thanks_mess img{
  right: 10px;
}

#thanks .thanks_mess img{
  bottom: 0;
}


/*【スマホ】iphone16*/
@media only screen and (max-width: 767px) {
  #thanks .thanks_mess{
    position: initial;
  }

  #thanks .thanks_mess img{
    position: initial;
  }
}

/*【スマホ】iphone12*/
@media only screen and (max-width: 375px) {}


/*-----------------------------------------------------------------------------------------------
width
-----------------------------------------------------------------------------------------------*/
#contact .cont_box dl,
#contact .cont_box dl dd select,
#contact .cont_box dl dd input[type=text],
#contact .cont_box dl dd input[type=tel],
#contact .cont_box dl dd input[type=email],
#contact .cont_box dl dd textarea,
#contact .cont_box dl dd label,
#contact.confirm .btn_box,
#thanks .thanks_mess,
#thanks  dl dt,
#thanks  dl dd,
.cf-turnstile {
  width: 100%;
}

.cont_box,
#contact .cont_box dl dd,
#thanks dl{
  width: 70%;
}

#thanks .data_box{
  width: 40%;
}

#contact .cont_box input[type=submit],
#contact .cont_box dl dt,
#contact.confirm .title_cont,
#thanks .thanks_mess img,
#thanks .thanks_mess a{
  width: 30%;
}

#contact.confirm .cont_box input[type=submit],
#contact.confirm .cont_box button {
  width: 20%;
}

#contact .title_cont{
  width: 10%;
}

#contact .cont_box dl dd input[type=checkbox] {
  width: 30px
}


@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation:portrait) {
  #thanks .data_box{
    width: 95%;
  }
}

/*【iPad 横向きのみ】*/
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: landscape) {
    #thanks .data_box{
    width: 70%;
  }
}

/*【スマホ】iphone16*/
@media only screen and (max-width: 767px) {

  #contact .cont_box dl dt,
  #contact .cont_box dl dd,
  #thanks .data_box dl,
  #thanks .data_box img{
    width: 100%;
  }

  #contact .data_box,
  #thanks .data_box,
  .cont_box {
    width: 95%;
  }

  #thanks .title_cont,
  #contact .title_cont {
    width: 76%;
  }
}

/*【スマホ】iphone12*/
@media only screen and (max-width: 375px) {}

/*-----------------------------------------------------------------------------------------------
height
-----------------------------------------------------------------------------------------------*/
#contact .cont_box dl dd textarea {
  height: 300px;
}

#contact .cont_box dl dd input[type=checkbox] {
  height: 30px
}

/*-----------------------------------------------------------------------------------------------
font-szie
-----------------------------------------------------------------------------------------------*/
#thanks .thanks_mess h3{
  font-size: 120%;
}

#contact .cont_box dl dt span {
  font-size: 70%;
}

/*【スマホ】iphone16*/
@media only screen and (max-width: 767px) {
  #contact .title_box h2,
  #thanks .thanks_mess h3{
    font-size: 110%;
  }
}

/*-----------------------------------------------------------------------------------------------
font-weight
-----------------------------------------------------------------------------------------------*/
/*-----------------------------------------------------------------------------------------------
margin
-----------------------------------------------------------------------------------------------*/
.cont_box,
#contact .cont_box input[type=submit],
#thanks a {
  margin: 50px auto 0;
}

#contact.confirm .btn_box input[type=submit] {
  margin: 0 !important;
}

#contact.confirm .btn_box button {
  margin-right: 20px;
}

#contact.confirm .btn_box,
.cf-turnstile {
  margin-top: 30px;
}

#thanks .thanks_mess dt{
  margin-bottom: 20px;
}

#contact .cont_box dl dt span,
#contact .cont_box dl dd input[type=checkbox] {
  margin-right: 5px;
}

/*【スマホ】iphone16*/
@media only screen and (max-width: 767px) {

  #contact .data_box,
  .cont_box {
    margin: 0 auto 0;
  }
}

/*-----------------------------------------------------------------------------------------------
padding
-----------------------------------------------------------------------------------------------*/
#contact dl dt,
#contact dl dd,
#contact .cont_box input[type=submit],
#contact.confirm .btn_box input[type=submit],
#contact.confirm .btn_box button {
  padding: 10px 0;
}

#contact .cont_box dl dt span{
  padding: 2px 5px;
}

#thanks a{
  padding: 10px 30px;
}

#contact .cont_box dl dd,
#contact .cont_box dl dd select,
#contact .cont_box dl dd input,
#contact .cont_box dl dd textarea{
  padding: 10px;
}

#thanks .thanks_mess{
  padding: 50px;
}

/*【スマホ】iphone16*/
@media only screen and (max-width: 767px) {
  #thanks .thanks_mess{
    padding: 50px 30px 0;
  }
}

/*-----------------------------------------------------------------------------------------------
color
-----------------------------------------------------------------------------------------------*/
#contact .cont_box dl dt span,
#contact .cont_box input[type=submit],
#contact.confirm .btn_box input[type=submit],
#contact.confirm .btn_box button,
#thanks a{
  color: #fff;
}

/*-----------------------------------------------------------------------------------------------
background
-----------------------------------------------------------------------------------------------*/
#contact .cont_box dl dt span {
  background: #C30D23;
}

#contact .cont_box input[type=submit],
#contact.confirm .btn_box input[type=submit],
#thanks a{
  background: #03225C;
}

#contact .cont_box input[type=submit]:hover,
#contact.confirm .btn_box input[type=submit]:hover,
#thanks a:hover{
  background: #294777;
}

#contact.confirm .btn_box button {
  background: #7d7d7d;
}

#contact.confirm .btn_box button:hover {
  background: #9f9f9f;
}

/*-----------------------------------------------------------------------------------------------
text-shadow
-----------------------------------------------------------------------------------------------*/
/*-----------------------------------------------------------------------------------------------
border
-----------------------------------------------------------------------------------------------*/
#contact dl dt,
#contact dl dd {
  border-bottom: 1px solid #DEE3EE;
}

#thanks .thanks_mess{
  border: 1px solid #DEE3EE;
}

#contact .cont_box input[type=submit],
#contact.confirm .btn_box input[type=submit],
#contact.confirm .btn_box button {
  border: none;
}

/*-----------------------------------------------------------------------------------------------
border-radius
-----------------------------------------------------------------------------------------------*/
#contact .cont_box dl dt span,
#thanks a{
  border-radius: 3px;
}

#contact .cont_box input[type=submit],
#contact.confirm .btn_box input[type=submit],
#contact.confirm .btn_box button,
#thanks .thanks_mess{
  border-radius: 5px;
}

/*-----------------------------------------------------------------------------------------------
text-align
-----------------------------------------------------------------------------------------------*/