
#contact {
  width: 80%;
  margin: 0 auto;
  margin-top: 100px;
  margin-bottom: 250px;
}


/* ------------------------------------tell--------------------------------------------- */

.page-title-contact img {
  left: 58.5%;
}

.con-tellWrapper {
  width: 100%;
  background-color: #fff;
  border-radius: 50px;
  padding-top: 80px;
  padding-bottom: 50px;
  position: relative;
}

.sec-con-tellTitle {
  width: 600px;
}

.con-tellWrapper p:nth-of-type(1) {
  width: 90%;
  margin: 0 auto;
  text-align: center;
  font-size: 1.2rem;
  margin-bottom: 5px;
}

.con-tellWrapper p:nth-of-type(2) {
  width: 100%;
  text-align: center;
  font-size: 1rem;
  margin-bottom: 30px;
}

.con-tellWrapper h3 {
  width: 100%;
  text-align: center;
  font-size: 2.5rem;
  font-weight: 500;
}


/* ---------------------------------mail--------------------------------------- */


.con-mailWrapper {
  width: 100%;
  background-color: #fff;
  border-radius: 50px;
  margin-top: 150px;
  padding-top: 80px;
  padding-bottom: 50px;
  position: relative;
}

.sec-con-mailTitle {
  width: 650px;
}

.mail-text01 {
  width: 80%;
  margin: 0 auto;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 10px;
}

.mail-text02 {
  width: 80%;
  margin: 0 auto;
  text-align: center;
  font-size: .8rem;
  margin-bottom: 30px;
}


.mailform-wrapper {
  width: 60%;
  margin: 0 auto;
  margin-top: 80px;
}

#name, #email, #subject, #email_check, #tel #body {
  max-width:600px;
}

.form-control {
  width: 500px;
  border-radius: 10px;
  background-color: #fff;
  border: 1px solid #291A02;
  font-size: 1rem;
  padding: 0 10px;

}

.form-control:focus {
  border-color: #aadbe8;
  outline: 0;
  -webkit-box-shadow: inset 0 0px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.4);
  box-shadow: inset 0 0px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.4);
  background-color:#fff;
}

::-webkit-input-placeholder {
  font-size: 1rem; 
}

:-moz-placeholder {
  font-size: 1rem 
}

::-moz-placeholder {
  font-size: 1rem; 
}

:-ms-input-placeholder {
  font-size: 1rem; 
}

::placeholder{ 
  font-size: 1rem;
}

textarea.form-control {
  height: 300px;
}

.confirm_table {
  margin: 30px 0; 
}

.confirm_table table caption{
  caption-side: top;
}

.confirm {
  float: left;
  margin-right: 20px;
}

.form-group {
  width: 100%;
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
}

.form-itemGroup {
  display: flex;
}

label {
  font-size: 1.2rem;
  font-weight: 500;
  white-space: nowrap;
}

.hissu {
  width: 48px;
  padding: 0 5px;
  background-color: #F86C3D;
  border-radius: 100vh;
  margin: 0 10px;
  margin-top: 8px;
  text-align: center;
  color: #fff;
  font-size: .7rem;
  white-space: nowrap;
}


.input-error {
  display: flex;
  flex-direction: column;
}

p.error, span.error {
  font-size: .8rem;
  color: #F76333;
}


.re-formItem {
  width: 500px;
}

.re-radioItem {
  margin-right: 20px;
  white-space: nowrap;
  font-size: 1rem;
  padding-left: 30px;
  position: relative;
  cursor: pointer;
}


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

.re-radioItem::after {
  position: absolute;
  content: "";
  display: block;
  top: 50%;
  transform: translate( 0, -50%);
  left: 8px;
  width: 16px;
  height: 16px;
  border: 1px solid #291A02;
  border-radius: 50%;
}

.re-radioItem::before {
  position: absolute;
  content: "";
  top: 50%;
  transform: translate( 0, -50%);
  left: 11px;
  width: 10px;
  height: 10px;
  background-color: #F76333;
  border-radius: 50%;
  opacity: 0;
}

input[type=radio]:checked + .re-radioItem::before {
  opacity: 1;
}

label span:hover::after {
  border-color: #F76333;
  transition: .5s;
}


.conform-btnWrapper {
  width: 100%;
  margin-top: 100px;
  padding-bottom: 150px;
  position: relative;
}

.conform-btn {
  width: 420px;
  height: 90px;
  position: absolute;
  left: 50%;
  transform: translate(-50%, 0);
}

.btn-2 {
  width: 100%;
  height: 100%;
  border-radius: 100vh;
  display: inline-block;
  color:#fff;
  padding: 10px 40px;
  text-decoration: none;
  outline: none;
  background: linear-gradient(100deg, #F76333 0%, #F76333 55%, #FFEC0F  98%);
  background-position: 100% 51%;
  background-size: 200% auto;
  transition: all 0.3s ease-out;
  position: relative;
  box-shadow: 5px 7px 5px rgba(0, 0, 0, 0.1);
}


.btn-2 p{
  font-size: 1.3rem;
  font-weight: 500;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.btn-2:hover {
  color: #fff;
  background-position: 0% 50%;
  transition: .7s;
}


.btn-2 p img {
  width: 25px;
  height: auto;
  margin-left: 12px;
  margin-bottom: 8px;
}







/* -------------------conform---------------------------------------- */

#conform {
  width: 80%;
  margin: 0 auto;
  margin-top: 150px;
  margin-bottom: 100px;
}

.conform-wrapper {
  width: 100%;
  background-color: #fff;
  border-radius: 50px;
  position: relative;
  padding-top: 80px;
  padding-bottom: 50px;
}

.conform-text {
  width: 80%;
  margin: 0 auto;
  text-align: center;
}

.conform-table {
  width: 60%;
  margin: 0 auto;
  margin-top: 50px;
}

.conform-table tr {
  border: 1px solid #707070;
}

.conform-table th {
  font-weight: normal;
  padding: 5px 10px;
  border: 1px solid #707070;
}

.conform-table td {
  padding: 5px 10px;
} 

.conform-btnBox {
  width: 100%;
  height: 100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 80px;

}

.conform-btn2-wrapper {
  width: 50%;
  position: relative;
}

.conform-btn2 {
  width: 280px;
  height: 70px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
}

.conform-btn2 .btn2 p img {
  width: 22px;
  margin-left: 12px;
  margin-bottom: 8px;
}


.comp-text {
  width: 90%;
  margin: 0 auto;
  text-align: center;
  margin-bottom: 50px;
  font-size: 1.2rem;

}



@media (max-width:1500px) {

  .page-title-contact img {
    left: 59%;
  }

  #contact {
    margin-bottom: 150px;
  }

  .sec-con-tellTitle {
    width: 550px;
  }

  .sec-con-mailTitle {
    width: 600px;
  }

  .con-tellWrapper p:nth-of-type(1) {
    font-size: 1.1rem;
  }

  .con-tellWrapper p:nth-of-type(2) {
    font-size: .9rem;
    margin-bottom: 20px;
  }


  .mailform-wrapper {
    width: 70%;
  }

  .mail-text01 {
    font-size: 1.1rem;
    margin-bottom: 20px;
  }
  
  .mail-text02 {
    font-size: .9rem;
    margin-bottom: 30px;
  }


  label {
    font-size: .9rem;
  }

  .conform-btn {
    transform: translate(-50%, 0) scale(.9);
  }


  .hissu {
    font-size: .6rem;
    margin-top: 5px;
    width: 43px;
  }

  .form-control {
    font-size: .9rem;
  }

  .conform-btn {
    transform: scale(.9) translate(-50%, 0);
  }




}



@media (max-width:1200px) {

  .page-title-contact img {
    left: 61.5%;
  }

  #contact {
    margin-bottom: 150px;
    width: 85%;
  }

  .con-tellWrapper {
    padding-top: 50px;
    padding-bottom: 30px;
  }

  .sec-con-tellTitle {
    width: 550px;
  }


  .sec-con-mailTitle {
    width: 600px;
  }

  .con-tellWrapper p:nth-of-type(1) {
    font-size: 1.2rem;
  }

  .con-tellWrapper p:nth-of-type(2) {
    margin-bottom: 20px;
  }

  .mail-text01 {
    font-size: 1.2rem;
    margin-bottom: 10px;
  }
  
  .mail-text02 {
    font-size: .8rem;
    margin-bottom: 30px;
  }

  .mailform-wrapper {
    width: 70%;
  }

  


  .conform-btn {
    transform: translate(-50%, 0) scale(.9);
  }


  .form-control {
    width: 350px;
  }

  .re-formItem {
    width: 350px;
  }

  .re-radioItem {
    margin-right: 10px;
  }
  
  .conform-btnWrapper {
    margin-top: 70px;
    padding-bottom: 100px;
  }







}



@media (max-width:900px) {

  @media (min-height: 1000px) {

    .page-title-contact img {
      left: 63%;
    }

    .sec-con-tellTitle {
      width: 450px;
    }

    .con-tellWrapper p:nth-of-type(1) {
      font-size: .9rem;
    }

    .con-tellWrapper p:nth-of-type(2) {
      font-size: .7rem;
    }

    .con-tellWrapper h3 {
      font-size: 1.6rem;
    }


    .sec-con-mailTitle {
      width: 500px;
    }

    .mail-text01 {
      font-size: 1rem;
    }

    .mail-text02 {
      font-size: .7rem;
    }

    .mail-text02 span {
      display: none;
    }

    .mailform-wrapper {
      width: 80%;
    }

    .form-control {
      width: 300px;
    }

    label {
      font-size: .9rem;
    }

    .hissu {
      font-size: .7rem;
    }

    ::-webkit-input-placeholder {
      font-size: .9rem; 
    }
    
    :-moz-placeholder {
      font-size: .9rem 
    }
    
    ::-moz-placeholder {
      font-size: .9rem; 
    }
    
    :-ms-input-placeholder {
      font-size: .9rem; 
    }
    
    ::placeholder{ 
      font-size: .7rem;
    }

    .re-radioItem {
      font-size: .9rem;
    }

    .re-formItem {
      width: 300px;
    }

    .conform-btnWrapper {
      margin-top: 40px;
    }

    .conform-btn {
      transform:  translate(-50%, 0) scale(.8);
    }

    .conform-text {
      font-size: .9rem;
    }

    .conform-table {
      width: 75%;
    }

    .conform-table th {
      font-size: .8rem;
    }

    .conform-table td {
      font-size: .8rem;
    }

    .comp-text {
      font-size: 1rem;
    }




  }

}




@media (max-width:500px) {

  #contact{
    margin-top: 80px;
    margin-bottom: 100px;
  }

  .page-title-contact img {
    left: 71%;
  }

  .sec-con-tellTitle {
    width: 270px;
  }

  .sec-con-tellTitle h2 {
    font-size: 1rem;
  }

  .sec-con-tellTitle .sec-title img {
    width: 14px;
  }

  .con-tellWrapper {
    border-radius: 20px;
    padding-top: 40px;
  }

  .con-tellWrapper p:nth-of-type(1) {
    font-size: .8rem;
    width: 85%;
  }

  .con-tellWrapper p:nth-of-type(2) {
    font-size: .7rem;
  }

  .con-tellWrapper h3 {
    font-size: 1.4rem;
  }

  .con-mailWrapper {
    border-radius: 20px;
    padding-bottom: 20px;
  }

  .con-mailWrapper {
    padding-top: 50px;
  }

  .sec-con-mailTitle {
    width: 280px;
  }

  .sec-con-mailTitle h2 {
    font-size: 1rem;
  }

  .mail-text01 {
    font-size: .8rem;
    width: 85%;
  }

  .mail-text02 {
    font-size: .7rem;
  }

  .mailform-wrapper {
    width: 80%;
    margin-top: 40px;
  }

  .form-group {
    flex-wrap: wrap;
    margin-bottom: 30px;
  }

  label {
    font-size: .8rem;
  }

  .hissu {
    font-size: .5rem;
    width: 35px;
    margin-top: 6px;
  }

  p.error, span.error {
    font-size: .6rem;
  }

  .form-itemGroup {
    margin-bottom: 5px;
  }

  .re-formItem {
    width: 100%;
  }

  .form-control {
    width: 100%;
    border-radius: 5px;
  }

  ::-webkit-input-placeholder {
    font-size: .8rem; 
  }
  
  :-moz-placeholder {
    font-size: .8rem 
  }
  
  ::-moz-placeholder {
    font-size: .8rem; 
  }
  
  :-ms-input-placeholder {
    font-size: .8rem; 
  }

  .re-radioItem {
    font-size: .8rem;
    padding-left: 25px;
  }

  .re-radioItem::after {
    width: 12px;
    height: 12px;
  }

  .re-radioItem::before {
    width: 6px;
    height: 6px;
  }

  .conform-btnWrapper {
    margin-top: 50px;
    margin-bottom: 50px;
    padding-bottom: 30px;
  }

  .conform-btn {
    transform: scale(1) translate(-50%, 0);
    width: 210px;
    height: 50px;
  }
  
  .btn-2 p {
    font-size: .9rem;
  }

  .btn-2 p img {
    width: 16px;
    margin-bottom: 5px;
  }



  #conform  {
    width: 90%;
    margin-top: 80px;
    margin-bottom: 80px;
  }

  .conform-wrapper {
    border-radius: 20px;
    padding-top: 40px;
    padding-bottom: 50px;
  }

  .conform-text {
    font-size: .7rem;
  }

  .conform-table {
    width: 85%;
    margin-top: 30px;
  }

  .conform-table th {
    font-size: .6rem;
  }

  .conform-table td {
    font-size: .6rem;
  }

  .conform-btn2-wrapper {
    width: 100%;
    margin-bottom: 80px;
  }

  .conform-btn2 {
    width: 200px;
    height: 50px;
  }

  .conform-btn2 .btn-2 p {
    font-size: .8rem;
  }

  .conform-btn2 .btn-2 p img {
    width: 15px;
    margin-left: 12px;
    margin-bottom: 5px;
  }

  .conform-titlewrapper {
    width: 220px;
  }

  .comp-text {
    font-size: .8rem;
  }
}