@charset "UTF-8";

/* 下層ページ　共通仕様 */
.sub-page-title {
  font-size: 2em;
  font-weight: bold;
  margin-bottom: clamp(50px, 4vw, 80px);
}

/* ページトップ */
.page-title-area {
  padding: 2.5vw 5vw 1.5vw;
  background: linear-gradient(to bottom right, #F5FAFF, #97C8EB);
  overflow: hidden;
}

.page-title-area-iiner {
  width: 100%;
  margin: 0 auto;
}

.page-title--01 {
  font-size: 8em;
  font-weight: bold;
  color: #97c8eb7d;
  line-height: 0.7;
  margin-bottom: 15px;
}

.page-title--02 {
  font-size: 1.8em;
  font-weight: bold;
  color: #004C99;
}


/* メールフォームでのお問い合わせ */
.contact__title {
  margin-bottom: clamp(70px, 4vw, 120px);
}

.contact-title--color {
  color: #004C99;
}

.contact-title--font-size {
  font-size: 0.95em;
  padding-left: 1%;
}

.contact__icon-area {
  max-width: 900px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 auto;
}

.contact__icon-01,
.contact__icon-02,
.contact__icon-03 {
  width: 28%;
  height: 55px;
  position: relative;
}

.white-icon {
  background-color: #fcfcfc;
  color: #004C99;
  border: solid 1px #004C99;
  font-weight: 600;
}

.blue-icon {
  background-color: #004C99;
  color: #fcfcfc;
  font-weight: 500;
}

.contact-icon__text {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.3em;
  font-weight: 500;
  width: 100%;
  text-align: center;
  word-break: keep-all;
  overflow-wrap: break-word;
}

.contact__icon-01 .contact-icon__text {
  padding: 0 7%;
}


.contact__icon-triangle {
  height: 40px;
  width: 25px;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  background-color: #cfe3f5;
}

.contact__icon-triangle.blue {
  background-color: #004C99;
}

.contact__mail-form-explain {
  width: 100%;
  width: max-content;
  max-width: 500px;
  margin: clamp(40px, 4vw, 120px) auto clamp(40px, 4vw, 100px);
}

.contact__mail-form-explain span {
  color: #ff0000;
  font-weight: 600;
}

.contact-form__inner {
  border: solid 1px #d3d3d3;
  background-color: #f7f7f739;

}

.contact-form__question-group {
  width: 100%;
  padding: 4%;
}

.contact-form__question-group:not(:last-of-type) {
  border-bottom: solid 1px #d3d3d3;
}

.contact-form__question {
  width: 25%;
  font-weight: bold;
}

.contact-form__answer {
  width: 75%;
  padding: 1%;
}

.contact-form__question-group input {
  border: solid 1px #d3d3d3;
}

.contact-form__question-group textarea {
  border: solid 1px #d3d3d3;
  height: 200px;
}

.contact-form__corporate-type {
  width: 100%;
  margin-top: 5%;
}

.contact-form__corporate-type * {
  width: 100%;
  display: block;
}

.contact-form__corporate-type label {
  margin-bottom: 1%;
}

.contact-form__message-group .contact-form__question-group {
  border: none;
}

.contact-form__message-group .contact-form__img-area input {
  border: none;
}


.contact-form__message-group input {
  width: max-content;
}

.contact-form__img-area {
  padding: 2% 4% 4%;
}

.contact-form__img-form{
  width: 100%;
}

.contact-form__img-text {
  font-size: 0.8em;
  margin-top: 1%;
}

.required::after {
  content: "＊";
  color: #ff0000;
  padding-left: 1%;
}

.contact-form__btn {
  display: block;
  margin: clamp(30px, 5vw, 80px) auto 0;
}


/* プラグイン */

/* 共通 */
.contact-form__inner br {
  display: none;
}

.wpcf7-list-item {
  display: inline-block;
  margin: 0 0 0 1em;
}

.contact-form__question-group input {
  padding: 1.5%;
}


/* ラジオボタン */
.radio-group {
  display: flex;
}

.radio-group .wpcf7-list-item:first-of-type {
  margin-left: 0;
}

.radio-group .wpcf7-form-control-wrap {
  width: 100%;
}


/* 名前 */
.name-group p,
.kana-group p,
.tel-group p,
.mail-group p {
  width: 100%;
  display: flex;
}

.name-group .contact-form__answer,
.kana-group .contact-form__answer,
.tel-group .contact-form__answer,
.mail-group .contact-form__answer {
  width: 100%;
}

.wpcf7-form-control-wrap {
  width: 75%;
}

.contact-form__question-group input {
  font-size: 1em;
  letter-spacing: 0.05em;
}

/* お問い合わせ内容 */
.message-group .contact-form__question-group p {
  display: flex;
}

.message-group .img-group {
  display: flex;
}

.message-group .img-group p {
  display: block;
}

.message-group textarea {
  width: 100%;
  font-size: 1em;
  letter-spacing: 0.05em;
}

.img-group>p {
  width: 25%;
}


/* 電話でのお問い合わせ */
.contact-tel {
  background-color: #F7F7F7;
  padding-bottom: clamp(50px,7vw,130px);
}

.contact-tel__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 2vw;
}

.contact-tel__number {
  width: 100%;
  text-align: center;
}

.contact-tel__number img {
  width: 30px;
  margin-right: 3px;
  transform: translateY(10%);
}

.contact-tel__number a {
  font-size: 2em;
  font-weight: bold;
  text-decoration: underline;
  text-underline-offset: 10%;
  text-decoration-thickness: 2px;
}

.contact-tel__time {
  font-size: 1.1em;
}


/* 確認ボタン */
.contact-form__btn p {
  width: 100%;
  height: 100%;
}

.blue-btn-text {
  background-color: transparent;
}


.wpcf7-submit {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  z-index: 10;
  text-align: left;
  padding-left: 30px;
}

/* 警告文 */
.wpcf7-not-valid-tip {
  color: #dc3232;
  font-size: .8em;
  font-weight: normal;
  display: block;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
  border: none;
  text-align: center;
  font-size: 1em;
  color: #dc3232;
}

.wpcf7-spinner {
  display: none;
}

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


@media(max-width:780px) {

  /* 下層ページ　共通仕様 */
  .sub-page-title {
    font-size: 1.8em;
  }


  /* ページトップ */
  .page-title-area {
    padding: 20px 5vw 15px;
  }


  .page-title--01 {
    font-size: 5em;
    margin-bottom: 7px;
  }

  .page-title--02 {
    font-size: 1.5em;
  }


  /* お問い合わせ */
  .contact__mail-form-explain {
    width: 100%;
  }


  .contact-form__question-group {
    flex-direction: column;
  }

  .contact-form__question {
    width: 100%;
    margin-bottom: 2%;
  }

  .contact-form__answer {
    width: 100%;
  }

  .contact-form__corporate-type {
    margin-top: 2%;
  }

  .contact-tel__content {
    gap: 3px;
  }


  .contact-tel__number img {
    width: 22px;
    margin-right: 2px;
  }

  .contact-tel__number a {
    font-size: 1.8em;
  }

  .contact-tel__time {
    font-size: 1em;
  }


  /* プラグイン */

  /* 共通 */
  .contact-form__question-group input {
    padding: 5px;
  }


  /* ラジオボタン */
  .radio-group .contact-form__answer {
    padding-left: 0;
  }

  .radio-group .wpcf7-text.contact-form__answer {
    padding-left: 1%;
  }

  /* 名前 */
  .name-group p,
  .kana-group p,
  .tel-group p,
  .mail-group p {
    flex-wrap: wrap;
  }

  .name-group p>*,
  .kana-group p>*,
  .tel-group p>*,
  .mail-group p>* {
    width: 100%;
  }

  .wpcf7-form-control-wrap {
    width: 75%;
  }


  /* お問い合わせ内容 */
  .message-group .contact-form__question-group p {
    flex-wrap: wrap;
  }

  .message-group .contact-form__question-group p>* {
    width: 100%;
  }

  .message-group .img-group {
    flex-wrap: wrap;
  }

  .message-group textarea {
    width: 100%;
  }

  .img-group>p {
    width: 25%;
  }




}




@media(max-width:500px) {
  .sub-page-title {
    font-size: 1.3em;
    font-weight: bold;
    margin-bottom: clamp(50px, 4vw, 80px);
  }

  .contact__title {
    padding-bottom: 4px;

  }

  .under-bar::after {
    width: 35px;
    height: 4px;
  }

  .contact-icon__text {
    font-size: 0.9em;
  }

  .wpcf7-form-control.wpcf7-file.contact-form__answer {
   font-size: .8em; 
  }

  .wpcf7 form.invalid .wpcf7-response-output,
  .wpcf7 form.unaccepted .wpcf7-response-output,
  .wpcf7 form.payment-required .wpcf7-response-output {
    border: none;
    text-align: center;
    font-size: .8em;
    color: #dc3232;
  }
}