@charset "UTF-8";
/* =========================================================
   お問い合わせ（/contact/）
   Figma「新・お問い合わせ / PC 1440」58:267 ／ SP 64:1889
   ========================================================= */

.contact-page { padding-block: 120px; }
.contact-page__inner { display: flex; flex-direction: column; gap: 48px; width: min(800px, 100% - var(--gutter) * 2); margin-inline: auto; }
.contact-page__intro { color: var(--c-text-sub); font-size: 16px; line-height: 1.9; }

/* フォーム枠 */
.contact-form { display: flex; flex-direction: column; gap: 32px; padding: 56px; border: 1px solid var(--c-border); border-radius: 16px; background: var(--c-white); }
.form-field { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 0; border: 0; min-width: 0; }
.form-field__label { display: flex; align-items: center; gap: 10px; padding: 0; font-size: 15px; font-weight: 500; line-height: 1; }
/* fieldset の legend は flex に乗らないので float で1行を占有させる */
fieldset.form-field { display: block; }
fieldset.form-field > legend { float: left; width: 100%; margin-bottom: 12px; }
fieldset.form-field > legend + * { clear: both; }
.form-required { padding: 4px 8px; border-radius: 4px; background: var(--c-magenta); color: var(--c-white); font-size: 11px; font-weight: 500; line-height: 1; }

.form-input {
  width: 100%;
  padding: 16px 20px;
  border: 1px solid var(--c-border);
  border-radius: 8px;
  background: var(--c-muted);
  color: var(--c-text);
  font: inherit;
  font-size: 15px;
  line-height: 1;
}
input.form-input { height: 50px; padding-block: 0; }
.form-input::placeholder { color: var(--c-text-sub); }
.form-input:focus { outline: none; border-color: var(--c-navy); background: var(--c-white); }
textarea.form-input { height: 200px; padding: 20px; line-height: 1.8; resize: vertical; }

/* ラジオ・チェック */
.form-options { display: flex; flex-wrap: wrap; gap: 12px 32px; }
.form-choice { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; line-height: 1; cursor: pointer; }
.form-choice input {
  appearance: none;
  -webkit-appearance: none;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin: 0;
  border: 1.5px solid var(--c-border);
  background: var(--c-white);
  cursor: pointer;
}
.form-choice input[type="radio"] { border-radius: 50%; }
.form-choice input[type="checkbox"] { border-radius: 4px; }
.form-choice input:checked { border-color: var(--c-magenta); background: radial-gradient(circle, var(--c-magenta) 0 4px, var(--c-white) 5px); }
.form-choice input[type="checkbox"]:checked { background: var(--c-magenta) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E") center / 12px no-repeat; }
.form-choice input:focus-visible { outline: 2px solid var(--c-magenta); outline-offset: 2px; }

/* 個人情報保護方針（スクロール枠） */
.privacy-box { display: flex; flex-direction: column; gap: 12px; max-height: 160px; padding: 24px; overflow-y: auto; border-radius: 8px; background: var(--c-neutral-soft); }
.privacy-box__title { font-family: var(--f-serif); font-weight: 500; font-size: 16px; line-height: 1.5; letter-spacing: .06em; }
.privacy-box__body { display: flex; flex-direction: column; gap: 8px; color: var(--c-text-sub); font-size: 13px; line-height: 1.8; }
.privacy-box__body h3 { color: var(--c-text); font-size: 13px; font-weight: 500; line-height: 1.8; }

.contact-form__submit { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.contact-form__submit .btn { border: 0; cursor: pointer; font-family: inherit; }

/* 電話でのお問い合わせ */
.contact-tel { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 32px 40px; border-radius: 12px; background: var(--c-navy); color: var(--c-white); }
.contact-tel__label { font-family: var(--f-serif); font-weight: 500; font-size: 18px; line-height: 1.5; letter-spacing: .06em; }
.contact-tel__number { font-family: var(--f-serif); font-weight: 500; font-size: 30px; line-height: 1; letter-spacing: .06em; }
.contact-tel__hours { font-size: 14px; line-height: 1; }

@media (max-width: 767px) {
  .contact-page { padding-block: 64px; }
  .contact-page__inner { gap: 32px; }
  .contact-page__intro { font-size: 15px; }
  .contact-form { gap: 28px; padding: 28px 24px; }
  .form-field__label, .form-choice, .form-input { font-size: 14px; }
  .form-options { flex-direction: column; gap: 14px; }
  .contact-form__submit .btn { width: 100%; }
  .contact-tel { flex-direction: column; align-items: flex-start; gap: 12px; padding: 28px 24px; }
  .contact-tel__label { font-size: 15px; }
  .contact-tel__number { font-size: 22px; }
}
