/* contectここから */

#CONTACT .contact-box .main-txt {
    font-size: 18px;
    text-align: center;
    color: #000;
    line-height: 1.66;
    letter-spacing: 0.05em;
}

#CONTACT .contact-box .contact-btn-werp {
    display: flex;
    margin: 60px 0 50px;
}

#CONTACT .contact-box .contact-btn-werp a {
    width: calc((100% - 20px) / 2);
    margin-right: 20px;
}

#CONTACT .contact-box .contact-btn-werp a:last-child {
    margin-right: 0;
}

#CONTACT .contact-box .contact-btn-werp a .contact-btn {
    background-color: #2F3439;
    padding: 25px 40px;
    border-radius: 20px;
    height: 165px;
}

#CONTACT .contact-box .contact-btn-werp a .contact-btn h3 {
    font-size: 20px;
    text-align: center;
    color: #fff;
    letter-spacing: 0.05em;
}

#CONTACT .contact-box .contact-btn-werp a .contact-btn-tel .tel-werp {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px 0;
}

#CONTACT .contact-box .contact-btn-werp a .contact-btn-tel .tel-werp img {
    width: 35px;
    margin-right: 30px;
}

#CONTACT .contact-box .contact-btn-werp a .contact-btn-tel .tel-werp p {
    color: #FFD833;
    font-size: 40px;
    font-family: "Oswald", sans-serif;
    font-weight: bold;
}

#CONTACT .contact-box .contact-btn-werp a .contact-btn-tel p {
    font-size: 16px;
    color: #fff;
    text-align: center;
    letter-spacing: 0.05em;
}

#CONTACT .contact-box .contact-btn-werp a .contact-btn-yoyaku .yoyaku-werp {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px 0 0 0;
    background-color: #0097E0;
    border-radius: 34px;
    padding: 5px 0;
}

#CONTACT .contact-box .contact-btn-werp a .contact-btn-yoyaku .yoyaku-werp img {
    width: 35px;
    margin-right: 20px;
}

#CONTACT .contact-box .contact-btn-werp a .contact-btn-yoyaku .yoyaku-werp p {
    font-size: 40px;
    font-weight: bold;
    color: #fff;
}

#CONTACT .contact-form-box {
  background-color: #F1F1F1;
  border-radius: 5px;
  padding: 65px 0 100px;

  width: 100%;
  padding-left: calc(100% / 12.00);
  padding-right: calc(100% / 12.00);
}

.confirm_area,
.thanks_area {
    display: none;
}

#CONTACT .Form-Item {
    display: flex;
    width: 100%;
    border-bottom: 2px solid #CBCBCB;
}

#CONTACT .Form-Item:first-child {
    border-top: 2px solid #CBCBCB;
}

#CONTACT .Form-Item .Form-Item-Label {
    background-color: #0a2d5a;
    padding: 30px;
    color: #fff;
    width: 37%;
    max-width: 360px;
}

#CONTACT .Form-Item .Form-Item-Label .title {
    font-size: 20px;
    font-weight: 400;
    padding-right: 10px;
}



#CONTACT .Form-Item .Form-Item-Input {
    padding: 20px 30px;
    width: 65%;
    /* max-width: 360px; */
}

#CONTACT .Form-Item .Form-Item-Input .input-text {
    width: 100%;
    height: 100%;
    border: none;
    padding: 0;
    font-size: 16px;
}

#CONTACT .Form-Item .Form-Item-Input #textarea {
    width: 100%;
    height: 100%;
    border: none;
    font-size: 16px;
}

#CONTACT .Form-Item--check {
    display: block;
    border-bottom: none;
}

#CONTACT .privacy {
    height: 305px;
    overflow-y: scroll;
    padding-right: 10px;
    padding: 40px;
    /* スクロールバーと文字の間に余白を */
    background-color: #fff;
    border: 1px solid #999999;
    margin: 50px 0 20px;
}

#CONTACT .Form-Item--check .privacy .privacy-title {
    font-size: 20px;
    color: #000;
    text-align: center;
    margin-bottom: 30px;
}

#CONTACT .Form-Item--check .privacy p {
    font-size: 16px;
    line-height: 1.75;
    letter-spacing: 0.05em;
    margin-bottom: 40px;
}

#CONTACT .Form-Item--check .privacy .fast-txt {
    margin-bottom: 40px;
}

#CONTACT .Form-Item--check .privacy h5 {
    font-size: 20px;
    color: #000;
    font-weight: bold;
    border-bottom: 1px solid #000;
    padding-bottom: 5px;
    margin-bottom: 10px;
}

#CONTACT .Form-Item-Label-check {
    background-color: transparent !important;
    width: 100% !important;
    padding: 0 !important;
    text-align: center;
}

#CONTACT .Form-Item-Label-check .checkbox {
    font-size: 20px;
    color: #000;
}

#CONTACT .button-wrap p,
#CONTACT .confirm-btn-wrap {
    display: flex;
    justify-content: center;
    margin-top: 60px;
}

#CONTACT .contact02 .button-wrap p,
#CONTACT .contact02 .confirm-btn-wrap {
    margin-top: 100px;
}

#CONTACT .button-wrap p input,
#CONTACT .confirm-btn-wrap .btn p input {
    width: 226px;
    padding: 15px 0;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    border-radius: 5px;
    border: none;
}

#CONTACT .button-wrap p .clear_button,
#CONTACT .confirm-btn-wrap .btn p .back_button {
    margin-right: 10px;
    background-color: #fff;
    color: #59524D;
    border-radius: 0;
}

#CONTACT .button-wrap p .confirm_button,
#CONTACT .confirm-btn-wrap .btn p .confirm_button {
    margin-left: 10px;
    background-color: #0097E0;
    color: #fff;
    border-radius: 0;
}

#CONTACT .Form-Item-Input p {
  font-size: 16px;
  /* background-color: #fff; */

  input,select {
    /* height: 40px!important; */
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 1em!important;
  }
  select {
    font-size: 16px;
  }
}


#CONTACT .contact02 .Form-Item-Input p {
    background-color: #F1F1F1;
    line-height: 1.75;
}

#CONTACT .section-title {
    font-size: 20px;
    text-align: center;
    margin-bottom: 40px;
}

#CONTACT .thanks_area .section-title {
    font-size: 30px;
    text-align: center;
    padding-bottom: 30px;
    margin-bottom: 30px;
    border-bottom: 2px solid #C9CACA;
    color: #1D8ECF;
}

#CONTACT .thanks_area .thanks-text {
    font-size: 16px;
    text-align: center;
    font-size: 16px;
    text-align: center;
    line-height: 1.75;
    letter-spacing: 0.1em;
    color: #231815;
}

#CONTACT .thanks_area .btn {
    display: block;
    margin: 100px auto 0;
    background-color: #1D8ECF;
    border-radius: 5px;
    padding: 15px 0;
    text-align: center;
    font-weight: bold;
    color: #fff;
    width: 226px;
}

.wpcf7 form.sent .wpcf7-response-output {
    display: none;
}

@media screen and (max-width:1200px) {
  #CONTACT .contact-form-box {
    padding: 50px;
  }
}

@media screen and (max-width:768px) {
  #CONTACT #clear_btn {margin-bottom: 0;}
    #CONTACT .contact-box .main-txt {
        font-size: 15px;
        text-align: left;
        color: #000;
        line-height: 1.5;
        letter-spacing: 0.05em;
    }

    #CONTACT .contact-box .contact-btn-werp {
        display: block;
        margin: 25px 0 50px;
    }

    #CONTACT .contact-box .contact-btn-werp a .contact-btn {
        background-color: #2F3439;
        padding: 20px;
        border-radius: 10px;
        height: auto;
    }

    #CONTACT .contact-box .contact-btn-werp a .contact-btn-tel .tel-werp {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 10px 0;
    }

    #CONTACT .contact-box .contact-btn-werp a .contact-btn-tel .tel-werp img {
        width: 20px;
        margin-right: 20px;
    }

    #CONTACT .contact-box .contact-btn-werp a .contact-btn-tel .tel-werp p {
        color: #FFD833;
        font-size: 30px;
        font-family: "Oswald", sans-serif;
    }

    #CONTACT .contact-box .contact-btn-werp a .contact-btn-tel p {
        font-size: 15px;
        color: #fff;
        text-align: center;
        letter-spacing: 0.05em;
    }

    #CONTACT .contact-box .contact-btn-werp a .contact-btn-yoyaku .yoyaku-werp {
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 10px 0 0 0;
        background-color: #0097E0;
        border-radius: 34px;
        padding: 10px 0;
    }

    #CONTACT .contact-box .contact-btn-werp a .contact-btn-yoyaku .yoyaku-werp img {
        width: 17.5px;
        margin-right: 10px;
    }

    #CONTACT .contact-box .contact-btn-werp a .contact-btn-yoyaku .yoyaku-werp p {
        font-size: 20px;
        font-weight: bold;
        color: #fff;
    }

    #CONTACT .contact-box .contact-btn-werp a {
        margin-right: 0;
        width: 100%;
        display: block;
        height: auto;
        margin-bottom: 20px;
    }

    #CONTACT .contact-box .contact-btn-werp a:nth-child(2) {
        margin-bottom: 0;
    }

    #CONTACT .contact-form-box {
        background-color: #F1F1F1;
        border-radius: 5px;
        padding: 50px 20px;

    }

    #CONTACT .Form-Item {
        display: block;
        width: 100%;
        border-bottom: none;
        /* border-bottom: 2px solid #CBCBCB; */
    }

    #CONTACT .Form-Item .Form-Item-Label {
        background-color: #0a2d5a;
        padding: 15px 20px;
        color: #fff;
        width: 100%;
        /* border-bottom: 2px solid #CBCBCB; */
    }

    #CONTACT .contact02 .Form-Item .Form-Item-Input {
        padding: 40px 20px;
        width: 100%;
        background-color: #F1F1F1;
        margin: 0;
    }

    #CONTACT .Form-Item .Form-Item-Input {
      /* padding: 15px 0px; */
      padding: 0;
      width: 100%;
      /* background-color: #fff; */
      margin: 10px 0 20px;
    }


    #CONTACT .Form-Item-Input p {
        font-size: 15px;
        background-color: #fff;
        padding: 0;
        margin: 0;
    }

    #CONTACT .Form-Item .Form-Item-Input .input-text {
        width: 100%;
        height: 100%;
        border: none;
        padding: 0;
        font-size: 15px;
    }

    #CONTACT .Form-Item .Form-Item-Input #textarea {
        width: 100%;
        height: 100%;
        border: none;
        font-size: 15px;
    }

    #CONTACT .Form-Item .Form-Item-Label .title {
        font-size: 20px;
        font-weight: 400;
        padding-right: 20px;
    }
    #CONTACT .Form-Item:first-child {border-bottom: none!important;border: none!important;}

    #CONTACT .privacy {
        height: 421px;
        overflow-y: scroll;
        padding-right: 10px;
        padding: 20px;
        background-color: #fff;
        border: 1px solid #999999;
        margin: 50px 0;
    }

    #CONTACT .Form-Item--check .privacy .privacy-title {
        font-size: 20px;
        color: #000;
        text-align: center;
        margin-bottom: 20px;
    }

    #CONTACT .Form-Item--check .privacy p {
        font-size: 15px;
        line-height: 1.75;
        letter-spacing: 0.05em;
        margin-bottom: 20px;
    }

    #CONTACT .Form-Item--check .privacy .fast-txt {
        margin-bottom: 20px;
    }

    #CONTACT .Form-Item--check .privacy h5 {
        font-size: 20px;
        color: #000;
        font-weight: bold;
        border-bottom: 1px solid #000;
        padding-bottom: 10px;
        margin-bottom: 10px;
    }

    #CONTACT .Form-Item-Label-check .checkbox {
        font-size: 15px;
        color: #000;
    }

    input[type="checkbox" i] {
        margin-right: 20px;
    }

    #CONTACT .button-wrap p,
    #CONTACT .confirm-btn-wrap {
        display: block;
        margin-top: 50px;
    }

    #CONTACT .button-wrap p .clear_button,
    #CONTACT .confirm-btn-wrap .btn p .back_button {
        background-color: #fff;
        color: #59524D;
        margin: 0 auto 20px;
        display: block;
    }

    #CONTACT .button-wrap p .confirm_button,
    #CONTACT .confirm-btn-wrap .btn p .confirm_button {
        background-color: #0a2d5a;
        color: #fff;
        margin: 0 auto;
        display: block;
        border-radius: 0;
    }

    #CONTACT .Form-Item-Label-check {
        border: none !important;
    }

    #CONTACT .Form-Item--check {
        border: none !important;
    }



    #CONTACT .thanks_area .section-title {
        font-size: 22.5px;
        text-align: center;
        padding-bottom: 15px;
        margin-bottom: 15px;
        border-bottom: 1px solid #C9CACA;
        color: #1D8ECF;
    }

    #CONTACT .thanks_area .thanks-text {
        font-size: 16px;
        text-align: center;
        font-size: 15px;
        text-align: left;
        line-height: 1.75;
        letter-spacing: 0.1em;
        color: #231815;
    }

    #CONTACT .thanks_area .btn {
        display: block;
        margin: 50px auto 0;
        background-color: #1D8ECF;
        border-radius: 5px;
        padding: 15px 0;
        text-align: center;
        font-weight: bold;
        color: #fff;
        width: 200px;
    }
}





#CONTACT {
  margin-top: 50px;
  .section_title {

    text-align: center;
    .en {font-size: 15px;font-weight: bold;color: #0071bc;display: block;}
    .jp {font-size: 30px;display: block;font-weight: bold;}
  }
  .wpcf7-list-item-label,
  .privacy_check,
  .button-wrap {
    font-weight: 500;
  }


  .form-note {
    font-size: 15px;
    font-weight: 500;
    line-height: 1.5;
    margin-top: 25px;
    p{margin: inherit;margin-top: 0;}
  }

  .wpcf7 {
    margin-top: 45px;
  }

  .privacy_check {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 50px;
    gap: 1em;
    font-size: 15px;
  }

  .Form-Item-Input {
    #textarea {
      padding: 1em;
    }
  }

  .Form-Item-Label-Required {
    background-color: #ed1c24;
    color: #fff;
    font-family: serif;
    padding: 5px 10px;
    font-size: 14px;
  }

  .button-wrap.btn p input {
    border-radius: 0;
    font-family: "Noto Serif JP", serif;
    font-optical-sizing: auto;
    font-weight: 200;
    font-style: normal;

    &.confirm_button {background-color: #0a2d5a;color: #fff;}
  }
  .Form-Item-Input {
    padding-left: 0;
    padding-right: 0;
  }

  .Form-Item-Input p {
    input,select {
      height: 50px!important;
    }
    select {
      appearance: none;
      border: none;
      font-size: 15px;
      border-radius: 0;
    }
  }

  .Form-Item-Label.Form-Item-Label-check {

    margin-top: 1em;
    font-size: 15px;
    color: #0a2d5a;
    a {color: #0a2d5a;}
  }

  .wpcf7-list-item input[type="checkbox"] {
    position: absolute;
    white-space: nowrap;
    width: 1px;
    height: 1px;
    overflow: hidden;
    border: 0;
    padding: 0;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    margin: -1px;
  }

  /* 2. ラベル全体のレイアウト（位置合わせ） */
  .wpcf7-list-item label {
    position: relative;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
  }

  /* 3. チェックボックスの「枠」を作る */
  .wpcf7-list-item-label::before {
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 10px;
    vertical-align: middle;
    border: 2px solid #05b4d7;
    background: #fff;
    transition: all 0.2s;
    flex-shrink: 0;
  }

  /* 4. チェックが入った時の「枠」の変化 */
  input[type="checkbox"]:checked + .wpcf7-list-item-label::before {
    background: #05b4d7; /* チェック時の背景色 */
    border-color: #05b4d7;
  }

  /* 5. チェックが入った時の「レ点」を作る */
  .wpcf7-list-item-label::after {
    content: "";
    position: absolute;
    left: 12px;
    top: 30%;
    transform: translateY(-60%) rotate(45deg);
    width: 6px;
    height: 11px;
    border-right: 2px solid #fff; /* レ点の色 */
    border-bottom: 2px solid #fff;
    opacity: 0;
    transition: all 0.2s;
  }

  /* チェックが入ったらレ点を表示 */
  input[type="checkbox"]:checked + .wpcf7-list-item-label::after {
    opacity: 1;
  }
}
@media screen and (min-width:768px) {
  #CONTACT {
    .section_title {
      .en {font-size: 20px;}
      .jp {font-size: 40px;}
    }
    .form-note {
      text-align: center;
      font-size: 20px;
      margin-top: 45px;
    }
    .wpcf7 {
    }

    .privacy_check {
      margin-top: 30px;
      font-size: 20px;
    }

    .Form-Item-Input {
      #textarea {
        padding: 1em;
      }
      input,select {
        height: 40px!important;
      }
    }

    .Form-Item-Label.Form-Item-Label-check {
      margin-left: auto;
      margin-right: auto;
      max-width: inherit;
    }

    .confirm-btn-wrap .btn p input {
      border-radius: 0;
    }

    .Form-Item-Label.Form-Item-Label-check {
      font-size: 20px;
      a {color: #0a2d5a;}
    }

    .wpcf7-list-item-label::after {
      left: 6px;
      top: 50%;
    }
  }
}
/* contectここまで */
