/********** contact **********/
body {
  background: #f5f7f7;
}
#contact {
  text-align: center;
}
#contact a {
    color: #036eb8;
}
.contacttext {
  margin: 30px auto 3em;
}
.contacttext .tel {
  margin: 10px auto;
}
.contact_ttl {
  padding: 40px 0 0 0;
  font-size: 36px;
  font-weight: bold;
  color: #036eb8;
}
.contact_ttl>span{
  display: inline-block;
}
.contactform dl {
  margin-bottom: 4em;
  color: #333;
}
.contactform dl:last-of-type{
  margin-bottom: 2em;
}
  
h3 {
    font-size: 22px;
    padding: 5px 20px;
    margin: 30px 0 20px;
    padding: 10px;
    background: #fff;
    border-left: #51a81e solid 3px;
    text-align: left;
}
.contact_form-title{
  padding: 0.5em 0.4em;
  margin-bottom: 2.4em;
  color: #fff;
  font-size: 150%;
  font-weight: 700;
  line-height: 1.5;
  background: #036eb8;
}
.form-title{
  margin: 0 auto 0.2em;
  font-size: 110%;
  font-weight: 700;
  text-align: left;
}
.contactform{
  padding: 1.8em 2em 2em;
  margin: 0 auto;
  width: 100%;
  max-width: 890px;
  border: 3px solid #036eb8;
  border-radius: 0;
  background: #fff;
}
  .contactform dl dd {
    padding: 24px 0 22px 40%;
    border-bottom: 1px solid #ccc;
    text-align: left;
    word-wrap: break-word;
  }
  .contactform dl dd.-attention{
    padding: 24px 0 61px 40%;
  }
  .contactform dl dt:first-of-type,
  .contactform dl dd:first-of-type{
    border-top: 1px solid #ccc;
  }
  .contactform dl dt {
    clear: left;
    float: left;
    width: 37%;
    font-weight: bold;
    text-align: left;
    padding: 22px 0 22px 1em;
  }
  .bg-req{
    background: #FBF3DC;
  }
  .bg-opt{
    background: #f0f0f0;
  }
  .contactform dl dt .req,.contactform dl dt .opt {
  
      float: right;
  
  }
  .contactform span.req {
      margin-left: 4px;
      background-color: #FC6774;
      color: #FFF;
      font-size: .8em;
      letter-spacing: .1em;
      padding: 3px 4px;
      vertical-align: middle;
      border-radius: 3px;
      -webkit-border-radius: 3px;
      -moz-border-radius: 3px;
      background-image: none;
  
  }
  .contactform span.opt {
    margin-left: 4px;
    background-color: #9FCBDF;
    color: #FFF;
    font-size: .8em;
    letter-spacing: .1em;
    padding: 3px 4px;
    vertical-align: middle;
    border-radius: 3px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    background-image: none;
  }
  .contactform dl .mailcheck {
    clear: initial;
    float: none;
    width: 100%;
    font-weight: bold;
    text-align: left;
    padding: 22px 0;
    border-bottom: 1px dashed #ccc;
  }
  .contactform span.post input {
    width: auto !important;
    margin-bottom: 6px;
  }
  .contactform input[type="text"],
  .contactform input[type="tel"],
  .contactform input[type="email"],
  .contactform textarea,
  .contactform input[type="submit"],
  .contactform select{
    background: #fff;
    border: 2px solid #C7C7C7;
    border-radius: 5px;
    color: #0C2245;
    height: 30px;
    text-align: left;
    text-indent: 5px;
    vertical-align: middle;
    width: 80%;
    min-width: 20px;
    font-size: 100%;
  }
  .contactform textarea{
    height: 8em;
  }
  .contactform .submit {
      margin: 20px 0;
      text-align: center;
  }
  .contactform input[type="submit"] {
    width: 48%;
    height: inherit;
    text-align: center;
    font-weight: normal;
    background: #FF6060;
    border: none;
    color: #fff;
    font-weight: 700;
    padding: 20px;
    cursor: pointer;
    font-size: 18px;
    letter-spacing: 0.2em;
  }
  .contactform .attention{
    display: block;
    margin-top: 0.5em;
    font-size: 80%;
    font-weight: 400;
    line-height: 1.5;
  }
  .wpcf7-radio label{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.3em;
  }
  
  .privacy {
    font-size: 14px;
    margin: 0 0 20px 0;
  
  }
  .privacy a {
    color: #FC6774;
    font-size: 14px;
    
  }
  .lesson input{
    min-height: auto;
  }


  .selectbox {
    position:relative;
    }
    select{
    -webkit-appearance:none;
    appearance:none;
    width:80%;
    box-sizing:border-box;
    font-size:1em;
    border:#ccc 1px solid;
    border-radius:0;
    background:#fff;
    }
    .selectbox::after{
    content:"";
    display:block;
    width:10px;
    height:10px;
    position:absolute;
    right: 16%;
    top:45%;
    border-bottom:#333 2px solid;
    border-right:#333 2px solid;
    transform:rotate(45deg)translateY(-30%);
    }
    
    .selectbox::after{
    border: bottom #333 3px solid;
    border: right #333 3px solid;
    } 
  
  input[type=submit] {
    display: block;
    width: 500px;
    margin: 0 auto;
    padding: 12px;
    border-radius: 40px;
    color: #000;
    font-weight: bold;
    background: #F5F56F;
    transition: .8s;
  }
  input[type=submit]:hover{
    border-bottom-width:0;
    transform:translateY(4px)
  }
  .checkmark {
    display: block;
  }
  .checkmark label {
    display: flex;
    justify-content: center;
  }
  .checkmark label input {
    margin: 0 6px 0 0;
    display: block;
    width: 20px;
  }
.confirmation {
  width: 100%;
  max-width: 440px;
  margin: 30px auto 0 auto;
  text-align: left;
}


/* floating */
.floating-banner{
  top: 60%;
}
.floating-list_line a{
  border-radius: 0 0 0 1em;
  border-bottom: 1px solid #fff;
  border-left: 1px solid #fff;
}

/* LINEボタンなし */
.floating-list_tel button{
  border-bottom: 1px solid #fff;
  border-radius: 1em 0 0 1em;
}
/* /floating */

.contactAttention__title{
  padding: .3em;
  margin: 0 auto;
  display: block;
  width: 100%;
  max-width: 450px;
  color: #fff;
  font-size: 1.05em;
  line-height: 1.6;
  background: #FC6774;
  border: none;
  text-align: center;
}
.contactAttention{
  padding: .7em .8em 1em;
  margin: 0 auto 1.5em;
  width: 100%;
  max-width: 450px;
  color: #333;
  font-size: 0.93em;
  background: #fff;
}
.contactAttention__title svg{
  display: inline-block;
  padding-bottom: 0.15em;
}
.contactTel{
  margin: 1.5em auto 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(3, 1fr);
  grid-column-gap: 1.5em;
  grid-row-gap: .2em;
  width: 100%;
  max-width: 400px;
}
.contactTel__item a{
  cursor: pointer;
}
.contactTel__item a:hover .contactTel__itemShopTel{
  text-decoration: underline;
}
.contactTel__itemBox{
  display: flex;
}
.contactTel__itemShop{
  color: #333;
  font-weight: 700;
}
.contactTel__itemShop::after{
  content: '：';
}

  @media screen and (max-width: 690px) {
    .contact_ttl {
      font-size: 20px;
      margin: 0 0 16px 0;
    }
    .contacttext {
      text-align: left;
    }
  .contactbox {
    text-align: left;
  }
  .contactform{
    padding: 1.8em 0.8em 2em;
  }
  .contactform dl dt {
    float: none;
    width: 100%;
    padding: 12px 5px;
  }
  .contactform dl dd:first-of-type{
    border-top: none;
  }
  .contactform dl .mailcheck {
    float: none;
    padding: 12px 0;
    line-height: 1.3;
    font-size: 14px;
    color: #666;
  }
  .contactform dl dd,
  .contactform dl dd.-attention {
    padding: 0px 2% 22px;
  }
  
    button, input, select, textarea,
    .contactform input[type="text"],
    .contactform input[type="email"],
    .contactform input[type="tel"],
    .contactform input[type="submit"],
    .contactform select,
    .contactform textarea {
      width: 100%;
    }
    .lesson input{
        width: auto;
        min-height: auto;
    }
    .contactform dl dt .req, .contactform dl dt .opt {
      float: none;
    }
    .selectbox::after {
      top: 20%;
    }

    /* floating */
    .floating-banner{
      top: auto;
    }
    .floating-list li {
      /* LINEありのとき */
      /* width: calc(100% / 2); */
      /* LINEなしのとき */
      width: calc(100% / 1);
    }
    /* /floating */
    .grecaptcha-badge{
      bottom: 4.4em !important;
    }
  }

  
  