/* =========================
   contact page
========================= */
.contact-page{
  padding-bottom: 80px;
}

.contact-intro{
  padding: 80px 0 40px;
}

.contact-intro__inner{
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.contact-intro__sub{
  margin: 0 0 10px;
  font-size: 1.3rem;
  letter-spacing: .15em;
  color: #6fc7d7;
}

.contact-intro__title{
  margin: 0 0 18px;
  font-size: clamp(2.4rem, 3vw, 3.2rem);
  font-weight: 700;
  line-height: 1.5;
}

.contact-intro__text{
  margin: 0;
  font-size: 1.6rem;
  line-height: 2;
}

.contact-section{
  padding: 40px 0 100px;
}

.contact-form-box{
  max-width: 920px;
  margin: 0 auto;
  padding: 40px 24px;
  background: #fff;
  border: 1px solid #e6f2f6;
  border-radius: 26px;
  box-sizing: border-box;
}

/* =========================
   Contact Form 7
========================= */
.wpcf7{
  width: 100%;
}

.wpcf7 form{
  margin: 0;
}

.wpcf7 h3{
  margin: 0 0 24px;
  font-size: 2.2rem;
  line-height: 1.6;
  font-weight: 700;
  color: #222;
}

.wpcf7 h3:not(:first-of-type){
  margin-top: 48px;
}

/* dl */
.wpcf7 dl{
  margin: 0 0 24px;
  padding: 0;
}

.wpcf7 dt{
  margin: 0 0 10px;
  padding: 0;
}

.wpcf7 dd{
  margin: 0;
  padding: 0;
}

.wpcf7 dt p,
.wpcf7 dd p{
  margin: 0;
}

.wpcf7 dt p{
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.6rem;
  line-height: 1.6;
  font-weight: 700;
  color: #222;
}

/* required badge */
.req{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #6fc7d7;
  color: #fff;
  font-size: 1.2rem;
  line-height: 1;
  font-weight: 700;
}

/* form control wrap */
.wpcf7-form-control-wrap{
  display: block;
  width: 100%;
}

/* inputs */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea{
  display: block;
  width: 100%;
  padding: 16px 18px;
  border: 1px solid #d6eaf0;
  border-radius: 12px;
  background: #fff;
  font-size: 1.6rem;
  line-height: 1.8;
  color: #222;
  box-sizing: border-box;
  transition: border-color .25s ease, box-shadow .25s ease;
}

.wpcf7 textarea{
  min-height: 220px;
  resize: vertical;
}

.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="tel"]:focus,
.wpcf7 textarea:focus{
  outline: none;
  border-color: #6fc7d7;
  box-shadow: 0 0 0 3px rgba(111, 199, 215, 0.15);
}

/* privacy */
.privacy{
  margin: 0 0 20px;
  padding: 20px 18px;
  border: 1px solid #e6f2f6;
  border-radius: 14px;
  background: #f5fbfd;
}

.privacy p{
  margin: 0;
  font-size: 1.4rem;
  line-height: 2;
  color: #444;
}

/* acceptance */
.wpcf7 dl.pri{
  margin-bottom: 12px;
}

.wpcf7 dl.pri dt{
  margin-bottom: 8px;
}

.wpcf7 dl.pri dd{
  margin: 0;
}

.wpcf7 .check{
  display: block;
}

.wpcf7 .wpcf7-checkbox{
  display: block;
}

.wpcf7 .wpcf7-list-item{
  display: block;
  margin: 0;
}

.wpcf7 .wpcf7-list-item label{
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  margin: 0;
}

.wpcf7 input[type="checkbox"]{
  margin: 4px 0 0;
  accent-color: #6fc7d7;
}

.wpcf7 .wpcf7-list-item-label{
  display: block;
  font-size: 1.5rem;
  line-height: 1.8;
}

.wpcf7 .last{
  margin: 0 0 28px;
  font-size: 1.4rem;
  line-height: 1.9;
  color: #555;
}

/* submit */
.wpcf7 .btn{
  margin-top: 32px;
  text-align: center;
}

.wpcf7 .btn p{
  margin: 0;
}

.wpcf7 .submit-btn,
.wpcf7 input[type="submit"].submit-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 240px;
  min-height: 60px;
  padding: 14px 30px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #7fd7e5 0%, #5cc2d4 45%, #42aeca 100%);
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  font-weight: 700;
  cursor: pointer;
  transition: opacity .3s ease, transform .3s ease;
}

.wpcf7 .submit-btn:hover,
.wpcf7 input[type="submit"].submit-btn:hover{
  opacity: .9;
  transform: translateY(-2px);
}

/* spinner / messages */
.wpcf7 .wpcf7-spinner{
  margin: 12px 0 0;
}

.wpcf7 .wpcf7-not-valid-tip{
  margin-top: 8px;
  font-size: 1.3rem;
  line-height: 1.6;
}

.wpcf7 .wpcf7-response-output{
  margin: 24px 0 0;
  padding: 14px 16px;
  border-radius: 12px;
  font-size: 1.4rem;
  line-height: 1.8;
}

/* =========================
   tablet / pc
========================= */
@media screen and (min-width: 768px){

  .contact-intro{
    padding: 90px 0 48px;
  }

  .contact-section{
    padding: 48px 0 110px;
  }

  .contact-form-box{
    padding: 52px 40px;
  }

  .wpcf7 h3{
    margin-bottom: 28px;
    font-size: 2.4rem;
  }

  .wpcf7 dl{
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 18px 28px;
    align-items: start;
    margin-bottom: 26px;
  }

  .wpcf7 dt{
    margin: 14px 0 0;
  }

  .wpcf7 dl.pri{
    grid-template-columns: 120px 1fr;
  }

  .privacy{
    padding: 24px;
  }
}

.submit-btn.is-disabled{
  opacity:.45;
  cursor:not-allowed;
  transform:none;
}

.submit-btn:disabled{
  pointer-events:none;
}

/* 送信ボタン */
.wpcf7 .submit-btn,
.wpcf7 input[type="submit"].submit-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 240px;
  min-height: 60px;
  padding: 14px 30px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #7fd7e5 0%, #5cc2d4 45%, #42aeca 100%);
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  font-weight: 700;
  cursor: pointer;
  transition: opacity .3s ease, transform .3s ease, background .3s ease;
}

.wpcf7 .submit-btn:hover,
.wpcf7 input[type="submit"].submit-btn:hover{
  opacity: .92;
  transform: translateY(-2px);
}

/* 無効時 */
.wpcf7 .submit-btn.is-disabled,
.wpcf7 input[type="submit"].submit-btn.is-disabled,
.wpcf7 .submit-btn:disabled,
.wpcf7 input[type="submit"].submit-btn:disabled{
  background: #bfc7cc;
  color: #ffffff;
  opacity: 1;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.wpcf7 .submit-btn:disabled:hover,
.wpcf7 input[type="submit"].submit-btn:disabled:hover{
  opacity: 1;
  transform: none;
}