@charset "UTF-8";
/* ============================================================
   ふくめぐり｜CONTACTページ（contact/ ＋ thanks.php）
============================================================ */

/* ---------- ページヘッダー（このページはタイトルが日本語） ---------- */
.page-header__title--contact { margin-top: 12px; font-family: var(--font-base); font-size: 36px; font-weight: 400; line-height: 50px; color: #24211e; }
.page-header__title--thanks { font-family: var(--font-en); font-weight: 400; letter-spacing: .02em; }
.page-header__lead { margin-top: 34px; font-size: 18px; line-height: 36px; font-feature-settings: "palt"; }

/* ---------- フォーム共通見出し ---------- */
.form__title { font-size: 30px; font-weight: 700; line-height: 43px; text-align: center; color: #24211e; font-feature-settings: "palt"; }
.form__title-en { display: block; margin-top: 6px; font-size: 16px; font-weight: 400; line-height: 22px; color: #97703c; }

/* ---------- お問い合わせフォーム ---------- */
#form { background: var(--c-bg); }
.form__inner { width: min(760px, 100% - 80px); margin: 0 auto; padding: 111px 0 116px; }
.form { margin-top: 50px; }
.form__row { display: flex; align-items: flex-start; }
.form__row + .form__row { margin-top: 26px; }
.form__row--radio { margin-top: 38px !important; }
.form__row--textarea { margin-top: 42px !important; }
.form__label { flex: 0 0 220px; padding-top: 1px; font-size: 18px; line-height: 25px; }
.form__req { margin-left: 6px; font-size: 24px; line-height: 1; color: #ff3928; vertical-align: -2px; }
.form__field { flex: 1; min-width: 0; }
.form__input, .form__textarea {
  display: block;
  width: 100%;
  padding: 2px 10px;
  font: inherit;
  font-size: 16px;
  line-height: 22px;
  color: var(--c-text);
  background: #fff;
  border: 1px solid #acaba9;
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color .3s ease;
}
.form__input { height: 26px; }
.form__textarea { height: 143px; padding: 6px 10px; resize: vertical; }
.form__input:focus, .form__textarea:focus { outline: none; border-color: var(--c-accent); }

.form__radios { display: flex; flex-direction: column; gap: 13px; padding-top: 3px; }
.form__radio { display: flex; align-items: center; gap: 5px; cursor: pointer; }
.form__radio input { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); }
.form__radio-mark { position: relative; flex-shrink: 0; width: 16px; height: 16px; background: #fff; border: 1px solid #acaba9; border-radius: 50%; transition: border-color .3s ease; }
.form__radio-mark::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--c-accent); opacity: 0; transition: opacity .2s ease; }
.form__radio input:checked + .form__radio-mark { border-color: var(--c-accent); }
.form__radio input:checked + .form__radio-mark::after { opacity: 1; }
.form__radio input:focus-visible + .form__radio-mark { outline: 2px solid var(--c-accent); outline-offset: 2px; }
.form__radio-text { font-size: 18px; line-height: 25px; }

.form__privacy { margin-top: 38px; font-size: 18px; line-height: 36px; font-feature-settings: "palt"; }
.form__privacy-link { text-decoration: underline; text-underline-offset: 5px; transition: opacity .3s ease; }
@media (hover: hover) { .form__privacy-link:hover { opacity: .6; } }

/* reCAPTCHA 表記・エラー表示 */
.form__recaptcha-notice { margin-top: 24px; font-size: 13px; line-height: 22px; color: #948e88; }
.form__recaptcha-notice a { text-decoration: underline; text-underline-offset: 3px; }
.form__error { margin-top: 20px; font-size: 16px; line-height: 26px; color: #c0392b; }
.form__error[hidden] { display: none; }

.form__submit { margin-top: 78px; text-align: center; }
.form__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 270px;
  height: 60px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  background: #966f3b;
  border-radius: 30px;
  transition: opacity .4s ease;
}
@media (hover: hover) { .form__btn:hover { opacity: .8; } }

/* ---------- メッセージ帯 ---------- */
#message { margin-top: 80px; background: url(../img/mv01.jpg) center center / cover no-repeat; }
.message__box {
  width: min(var(--w-content), 100%);
  margin: 0 auto;
  padding: 36px 20px 36px;
  text-align: center;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .75) 13%, rgba(255, 255, 255, .75) 87%, rgba(255, 255, 255, 0) 100%);
}
.message__text { font-size: 18px; line-height: 54px; color: #000; }
.message__catch { font-size: 30px; line-height: 54px; color: #000; font-feature-settings: "palt"; }

/* ---------- サンクス ---------- */
#thanks { background: var(--c-bg); }
.thanks__inner { width: min(var(--w-content), 100% - 80px); margin: 0 auto; padding: 145px 0 116px; text-align: center; }
.thanks__text { margin-top: 38px; font-size: 18px; line-height: 36px; font-feature-settings: "palt"; }
.thanks__btn { margin-top: 36px; }

/* ============================================================
   SP（～768px）
============================================================ */
@media (max-width: 768px) {
  .page-header__title--contact { margin-top: 10px; font-size: 36px; line-height: 50px; }
  .page-header__lead { margin-top: 14px; font-size: 18px; line-height: 30px; }
  .page-header--contact .page-header__img { margin-top: 24px; }

  .form__inner { width: calc(100% - 40px); padding: 56px 0 60px; }
  .form__title { font-size: 30px; line-height: 43px; }
  .form__title-en { margin-top: 6px; }
  .form { margin-top: 44px; }
  .form__row { flex-direction: column; }
  .form__row + .form__row { margin-top: 36px; }
  .form__row--radio { margin-top: 36px !important; }
  .form__row--textarea { margin-top: 36px !important; }
  .form__label { flex: none; margin-bottom: 12px; }
  .form__field { width: 100%; }
  .form__input { height: 52px; padding: 0 14px; font-size: 16px; }
  .form__textarea { height: 286px; padding: 12px 14px; }
  .form__radios { gap: 24px; padding: 4px 0 0 24px; }
  .form__radio { gap: 10px; }
  .form__radio-mark { width: 32px; height: 32px; }
  .form__radio-mark::after { inset: 7px; }

  .form__privacy { margin-top: 60px; }
  .form__submit { margin-top: 48px; }
  .form__btn { width: 100%; max-width: 400px; height: 60px; }

  #message { margin-top: 90px; background-image: url(../img/mv_sp01.jpg); }
  .message__box { background: rgba(255, 255, 255, .75); }
  .message__text { font-size: 16px; line-height: 48px; }
  .message__catch { font-size: 26px; }

  .thanks__inner { width: calc(100% - 40px); padding: 56px 0 60px; }
  .thanks__text { text-align: left; }
}
