/*---------------------------------------------------------------------*/
/*                                                                     */
/*                  お問い合わせページ用CSS                            */
/*                                                                     */
/*---------------------------------------------------------------------*/


/* =============================================
   電話セクション
   ============================================= */

.contact-box {
  width: 95%;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-tel-inner {
  display: flex;
  align-items: flex-start;
  gap: 60px;
}

.contact-tel-text {
  flex: 1;
}

.contact-tel-text p {
  font-family: "Noto Sans", sans-serif;
  font-weight: 400;
  font-size: 1rem;
  line-height: 2;
  letter-spacing: 0.05em;
  color: #222;
  margin-bottom: 1em;
}

.contact-tel-number {
  margin: 0.5em 0 0.25em !important;
}

.contact-tel-number a {
  font-family: "Alata", sans-serif;
  font-weight: 500;
  font-size: 2.85rem;
  color: #007F7F;
  text-decoration: none;
  line-height: 1.2;
}

.contact-tel-number a:hover {
  color: #007F7F;
  text-decoration: none;
}

.contact-tel-hours {
  font-size: 0.9rem !important;
  color: #555 !important;
  margin-bottom: 1.5em !important;
}

.contact-tel-note {
  font-size: 0.9rem !important;
  color: #444 !important;
  margin-bottom: 0.75em !important;
}

.contact-tel-caution {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-tel-caution li {
  font-family: "Noto Sans", sans-serif;
  font-weight: 400;
  font-size: 0.85rem;
  line-height: 1.8;
  letter-spacing: 0.05em;
  color: #c00;
  padding-left: 1.2em;
  position: relative;
}

.contact-tel-caution li::before {
  content: "※";
  position: absolute;
  left: 0;
}


/* =============================================
   メールフォームセクション
   ============================================= */

.contact-form-lead {
  font-family: "Noto Sans", sans-serif;
  font-weight: 400;
  font-size: 1rem;
  line-height: 2;
  letter-spacing: 0.05em;
  color: #222;
  margin-bottom: 2.5em;
}

.contact-form {
  width: 100%;
}

/* フォーム各行 */
.form-row {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  margin-bottom: 1.8em;
  padding-bottom: 1.8em;
  border-bottom: 1px solid #e0e0e0;
}

.form-label {
  font-family: "Noto Sans", sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  line-height: 1.8;
  letter-spacing: 0.05em;
  color: #222;
  width: 220px;
  flex-shrink: 0;
  padding-top: 0.6em;
}

.required {
  display: inline-block;
  background: #c00;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  padding: 2px 6px;
  border-radius: 3px;
  margin-left: 0.5em;
  vertical-align: middle;
}

.form-field {
  flex: 1;
}

.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="tel"],
.form-field select,
.form-field textarea {
  width: 100%;
  font-family: "Noto Sans", sans-serif;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.8;
  letter-spacing: 0.05em;
  color: #222;
  background: #f9f9f9;
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 0.7em 1em;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  box-sizing: border-box;
  appearance: none;
  -webkit-appearance: none;
}

.form-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23555' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1em center;
  padding-right: 2.5em;
  cursor: pointer;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: #007F7F;
  background: #fff;
}

.form-field textarea {
  resize: vertical;
  min-height: 180px;
}

.form-field input.input-error,
.form-field select.input-error,
.form-field textarea.input-error {
  border-color: #c00;
  background: #fff5f5;
}

.field-error-msg {
  font-family: "Noto Sans", sans-serif;
  font-weight: 400;
  font-size: 0.85rem;
  line-height: 1.8;
  letter-spacing: 0.05em;
  color: #c00;
  margin-top: 0.4em;
}

/* 送信ボタン */
.form-submit {
  text-align: center;
  margin-top: 2.5em;
}

.submit-btn {
  display: inline-flex;
  align-items: center;
  padding: 20px 60px;
  background-color: #FFC422;
  color: #222;
  font-family: "Noto Sans", sans-serif;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-decoration: none;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.submit-btn:hover {
  background-color: #FFDB78;
}

.submit-btn .arrow {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-left: 40px;
  border-top: 1px solid #222;
  border-right: 1px solid #222;
  transform: rotate(45deg);
  margin-top: 2px;
  flex-shrink: 0;
}


/* =============================================
   無料出張相談エリアセクション
   ============================================= */

.contact-area-section {
  width: 100%;
  max-width: 100%;
  margin: 0;
}

.contact-area-bg {
  width: 100%;
  background-image: url("../images/contact/area-bg.jpg");
  background-size: cover;
  background-position: center;
  padding: 80px 0;
}

.contact-area-card {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.88);
  border-radius: 16px;
  padding: 50px 60px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.contact-area-card h3 {
  width: 100%;
  margin-left: 0;
  margin-right: 0;
}

.contact-area-lead {
  font-family: "Noto Sans", sans-serif;
  font-weight: 400;
  font-size: 1rem;
  line-height: 2;
  letter-spacing: 0.05em;
  color: #222;
  margin-bottom: 1em;
}

.contact-area-columns {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-area-col {
  flex: 1;
  background: #fff;
  border-radius: 10px;
  padding: 2em;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.contact-area-col h4 {
  font-family: "Noto Sans", sans-serif;
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.8;
  letter-spacing: 0.05em;
  color: #222;
  margin-bottom: 0.5em;
  padding-bottom: 0.5em;
  border-bottom: 2px solid #FFC422;
  display: flex !important;
  align-items: center !important;
  gap: 0.3em;
}

.contact-area-col h4::before {
  display: none;
}

.contact-area-note {
  font-family: "Noto Sans", sans-serif;
  font-weight: 400;
  font-size: 0.85rem;
  line-height: 1.8;
  letter-spacing: 0.05em;
  color: #666;
  margin-bottom: 1em;
}

.contact-area-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.contact-area-list li {
  font-family: "Noto Sans", sans-serif;
  font-weight: 400;
  font-size: 0.9rem;
  line-height: 1.6;
  letter-spacing: 0.05em;
  color: #222;
  background: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 3px 10px;
}


.contact-area-caution {
  font-family: "Noto Sans", sans-serif;
  font-weight: 400;
  font-size: 0.85rem;
  line-height: 1.8;
  letter-spacing: 0.05em;
  color: #666;
  margin-top: 1em;
}


/* =============================================
   確認画面
   ============================================= */

.confirm-value {
  font-family: "Noto Sans", sans-serif;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.8;
  letter-spacing: 0.05em;
  color: #222;
  padding-top: 0.6em;
}

.confirm-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 2.5em;
  flex-wrap: wrap;
}

.back-btn {
  background-color: #ccc;
  color: #333;
}

.back-btn:hover {
  background-color: #bbb;
}

.form-error-box {
  background: #fff5f5;
  border: 1px solid #f5c6c6;
  border-radius: 8px;
  padding: 1.5em 2em;
  margin-bottom: 2em;
}

.form-error-title {
  font-family: "Noto Sans", sans-serif;
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.8;
  letter-spacing: 0.05em;
  color: #c00;
  margin-bottom: 0.5em;
}

.form-error-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.form-error-box ul li {
  font-family: "Noto Sans", sans-serif;
  font-weight: 400;
  font-size: 0.9rem;
  line-height: 1.8;
  letter-spacing: 0.05em;
  color: #c00;
  padding-left: 1.2em;
  position: relative;
}

.form-error-box ul li::before {
  content: "・";
  position: absolute;
  left: 0;
}


/* =============================================
   送信完了ページ
   ============================================= */

.thanks-section {
  width: 95%;
  max-width: 800px;
  margin: 0 auto;
}

.thanks-section p {
  font-family: "Noto Sans", sans-serif;
  font-weight: 400;
  font-size: 1rem;
  line-height: 2;
  letter-spacing: 0.05em;
  color: #222;
  margin-bottom: 1em;
}

.thanks-tel a {
  font-family: "Alata", sans-serif;
  font-weight: 500;
  font-size: 2.5rem;
  color: #007F7F;
  text-decoration: none;
  line-height: 1.2;
}

.thanks-tel a:hover {
  color: #007F7F;
}

.thanks-tel-note {
  font-size: 0.85rem !important;
  color: #555 !important;
  margin-bottom: 2em !important;
}

.thanks-btn-wrapper {
  margin-top: 2.5em;
  text-align: center;
}


/* =============================================
   スマホ対応
   ============================================= */

@media (max-width: 767px) {

  .contact-box {
    width: 90%;
  }

  .contact-tel-inner {
    flex-direction: column;
    gap: 30px;
  }

  .contact-tel-number a {
    font-size: 2rem;
  }

  .form-row {
    flex-direction: column;
    gap: 8px;
    margin-bottom: 1.5em;
    padding-bottom: 1.5em;
  }

  .form-label {
    width: 100%;
    padding-top: 0;
  }

  .submit-btn {
    padding: 18px 40px;
    font-size: 0.95rem;
  }

  .submit-btn .arrow {
    margin-left: 25px;
  }

  .contact-area-bg {
    padding: 40px 0;
  }

  .contact-area-card {
    width: 90%;
    padding: 30px 25px;
  }

  .confirm-buttons {
    flex-direction: column;
    align-items: center;
  }

}


/* =============================================
   見積もりフォーム専用スタイル
   ============================================= */

/* ラジオボタングループ */
.estimate-radio-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 0.5em;
}

.estimate-radio-label {
  display: flex;
  align-items: center;
  gap: 0.5em;
  font-family: "Noto Sans", sans-serif;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.8;
  letter-spacing: 0.05em;
  color: #222;
  cursor: pointer;
}

.estimate-radio-label input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: #007F7F;
  flex-shrink: 0;
  cursor: pointer;
}

/* チェックボックスグループ */
.estimate-check-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 0.5em;
}

.estimate-check-label {
  display: flex;
  align-items: center;
  gap: 0.5em;
  font-family: "Noto Sans", sans-serif;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.8;
  letter-spacing: 0.05em;
  color: #222;
  cursor: pointer;
}

.estimate-check-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #007F7F;
  flex-shrink: 0;
  cursor: pointer;
}

/* ページ数入力 */
.estimate-pages-field {
  display: flex;
  align-items: center;
  gap: 0.5em;
}

.estimate-pages-field .input-pages {
  width: 120px !important;
  flex: none !important;
}

.pages-unit {
  font-family: "Noto Sans", sans-serif;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.8;
  letter-spacing: 0.05em;
  color: #222;
}


/* スマホ対応 */
@media (max-width: 767px) {

  .estimate-radio-group,
  .estimate-check-group {
    gap: 12px;
  }

  .estimate-pages-field .input-pages {
    width: 100px !important;
  }

}


/* =============================================
   見積もりリードセクション（左画像・右テキスト）
   ============================================= */

.estimate-lead-box {
  width: 95%;
  max-width: 1200px;
  overflow: hidden;
  margin: 0 auto 40px;
}

.estimate-lead-image {
  float: left;
  width: 450px;
  margin-right: 50px;
  margin-bottom: 40px;
}

.estimate-lead-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
}

.estimate-lead-text p {
  font-family: "Noto Sans", sans-serif;
  font-weight: 400;
  font-size: 1rem;
  line-height: 2;
  letter-spacing: 0.05em;
  color: #222;
  margin-bottom: 1em;
}


/* スマホ対応 */
@media (max-width: 767px) {

  .estimate-lead-box {
    width: 90%;
  }

  .estimate-lead-image {
    float: none;
    width: 100%;
    margin-right: 0;
    margin-bottom: 30px;
  }

}
