@charset "UTF-8";


/********************************************************
 * お問い合わせページ専用CSS
 *
 * 対象テンプレート：
 * temp_inquiry.php
********************************************************/

/*
 * 問い合わせフォーム全体
 */
.page-template-temp_inquiry .inquiry_content {
  max-width: 920px;
  margin-right: auto;
  margin-left: auto;
}


/********************************************************
 * フォーム上部の案内
********************************************************/
.page-template-temp_inquiry .inquiry_intro {
  margin-bottom: 40px;
  padding: 28px 30px;
  border: 1px solid #d8e7f0;
  border-radius: 14px;
  background: #f5fbff;
}


.page-template-temp_inquiry .inquiry_intro h2 {
  margin: 0 0 16px;
  color: #102746;
  font-size: 2.2rem;
  line-height: 1.5;
}


.page-template-temp_inquiry .inquiry_intro p {
  margin: 0 0 10px;
  color: #455d74;
  font-size: 1.5rem;
  line-height: 1.8;
}


.page-template-temp_inquiry
.inquiry_intro
p:last-child {
  margin-bottom: 0;
}


/********************************************************
 * 成功・エラーメッセージ
********************************************************/
.page-template-temp_inquiry .form_message {
  margin: 0 0 30px;
  padding: 18px 20px;
  border-radius: 10px;
  font-weight: 700;
  line-height: 1.8;
}


.page-template-temp_inquiry
.form_message_success {
  border: 1px solid #8dd5aa;
  background: #eefaf3;
  color: #176b3a;
}


.page-template-temp_inquiry
.form_message_error {
  border: 1px solid #e3a7a7;
  background: #fff3f3;
  color: #a02323;
}


/********************************************************
 * フォームの各入力行
********************************************************/
.page-template-temp_inquiry .inquiry_form {
  width: 100%;
  margin: 0;
}


.page-template-temp_inquiry
.inquiry_form
.form-row {
  margin-bottom: 24px;
}


.page-template-temp_inquiry
.inquiry_form
.form-group {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
}


.page-template-temp_inquiry
.inquiry_form
.form-group-textarea {
  align-items: start;
}


.page-template-temp_inquiry
.inquiry_form
.control-label {
  width: auto;
  margin: 0;
  color: #102746;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.6;
}


.page-template-temp_inquiry
.inquiry_form
.form-control {
  width: 100%;
  min-width: 0;
  min-height: 50px;
  padding: 13px 15px;
  border: 1px solid #b8cbd8;
  border-radius: 6px;
  background: #ffffff;
  color: #333333;
  font: inherit;
}


.page-template-temp_inquiry
.inquiry_form
textarea.form-control {
  min-height: 180px;
  resize: vertical;
}


.page-template-temp_inquiry
.inquiry_form
.form-control:focus {
  border-color: #0284c7;
  outline: 3px solid rgba(2, 132, 199, 0.18);
}


/********************************************************
 * 必須・任意表示
********************************************************/
.page-template-temp_inquiry .form_badge {
  display: inline-block;
  margin-left: 6px;
  padding: 3px 7px;
  border-radius: 4px;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.3;
  vertical-align: middle;
}


.page-template-temp_inquiry
.form_badge_required {
  background: #c62828;
  color: #ffffff;
}


.page-template-temp_inquiry
.form_badge_optional {
  background: #e5edf2;
  color: #455d74;
}


/********************************************************
 * プライバシーポリシー同意
********************************************************/
.page-template-temp_inquiry
.inquiry_consent_row {
  margin-top: 34px;
}


.page-template-temp_inquiry .inquiry_consent {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 12px;
  padding: 20px;
  border-radius: 10px;
  background: #f5fbff;
  color: #333333;
  font-size: 1.45rem;
  line-height: 1.8;
}


.page-template-temp_inquiry
.inquiry_consent
input[type="checkbox"] {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin-top: 4px;
  accent-color: #0284c7;
}


.page-template-temp_inquiry
.inquiry_consent
a {
  color: #026ea7;
  text-decoration: underline;
}


/********************************************************
 * 自動返信の案内
********************************************************/
.page-template-temp_inquiry
.inquiry_auto_reply_note {
  margin: 18px 0 0;
  color: #455d74;
  font-size: 1.35rem;
  line-height: 1.7;
  text-align: center;
}


/********************************************************
 * 送信ボタン
********************************************************/
.page-template-temp_inquiry
.inquiry_submit_row {
  text-align: center;
}


.page-template-temp_inquiry
.inquiry_submit_button {
  min-width: 260px;
  margin-top: 18px;
  padding: 16px 36px;
  border: 2px solid #0284c7;
  border-radius: 999px;
  background: #0284c7;
  color: #ffffff;
  box-shadow:
    0 10px 24px
    rgba(2, 132, 199, 0.22);
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1.4;
  transition:
    background-color 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
}


.page-template-temp_inquiry
.inquiry_submit_button:hover {
  border-color: #026ea7;
  background: #026ea7;
  box-shadow:
    0 14px 28px
    rgba(2, 110, 167, 0.28);
  transform: translateY(-2px);
}


.page-template-temp_inquiry
.inquiry_submit_button:focus-visible {
  outline: 3px solid rgba(2, 132, 199, 0.35);
  outline-offset: 4px;
}


/********************************************************
 * ハニーポット
 *
 * 画面外へ配置し、通常の訪問者には表示しません。
********************************************************/
.page-template-temp_inquiry
.inquiry_honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}


/********************************************************
 * スマートフォン
********************************************************/
@media screen and (max-width: 576px) {

  .page-template-temp_inquiry
  .inquiry_intro {
    margin-bottom: 30px;
    padding: 22px 18px;
  }


  .page-template-temp_inquiry
  .inquiry_intro h2 {
    font-size: 1.9rem;
  }


  .page-template-temp_inquiry
  .inquiry_form
  .form-group {
    grid-template-columns: 1fr;
    gap: 9px;
  }


  .page-template-temp_inquiry
  .inquiry_form
  .form-row {
    margin-bottom: 22px;
  }


  .page-template-temp_inquiry
  .inquiry_consent {
    justify-content: flex-start;
    padding: 18px 16px;
  }


  .page-template-temp_inquiry
  .inquiry_submit_button {
    width: 100%;
    min-width: 0;
  }
}