/* ============================================================
   form-new.css — モバイルファースト設計
   スマホ: デフォルト値（小さいサイズ）
   PC:     @media (min-width: 768px) で上書き
   ============================================================ */

/* ============================================================
   Variables & Reset
   ============================================================ */
:root {
  --color-accent:     #f0c040;
  --color-accent-dark:#c89a00;
  --color-text:       #333;
  --color-text-light: #666;
  --color-border:     #ccc;
  --color-bg-section: #f4f4f4;
  --marker-color:     #ffcc66;
  --required-bg:      #ffcc66;
  --optional-bg:      #ccccfe;
  --font-main: "游ゴシック Medium","Yu Gothic Medium","游ゴシック体",YuGothic,
               "ヒラギノ角ゴ ProN W3","Hiragino Kaku Gothic ProN","メイリオ",Meiryo,sans-serif;
  --radius: 4px;
  --site-max: 1040px;
}

*, *::before, *::after { box-sizing: border-box; }
input[type="checkbox"], input[type="radio"] { box-sizing: content-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-main);
  margin: 0; padding: 0;
  background: #fff;
  color: var(--color-text);
  line-height: 1.7;
}

img { max-width: 100%; height: auto; border: none; display: block; }
a { color: var(--color-text); text-decoration: none; }
a:hover { opacity: .8; }

/* ============================================================
   Header
   ============================================================ */
.site-header { background: #fff; padding: 6px 16px; }
.header-inner {
  max-width: var(--site-max); margin: 0 auto;
  display: flex; align-items: center; justify-content: center; gap: 12px;
}
.logo { height: auto; width: auto; max-height: 56px; max-width: 220px; }
.ssl-header { font-size: 11px; color: var(--color-text-light); margin: 0; text-align: right; line-height: 1.4; white-space: normal; }

/* ============================================================
   Hero
   ============================================================ */
.hero { background: #fff; }
.hero-inner { max-width: var(--site-max); margin: 0 auto; }
.hero-img { width: 100%; height: auto; }
.tel-img-wrap { padding: 16px 0; }
.tel-img { width: 100%; height: auto; }

/* ============================================================
   Form Wrapper
   ============================================================ */
.form-wrapper {
  max-width: var(--site-max);
  margin: 0 auto;
  padding: 16px 12px 48px;
  background: #fff;
}

/* ============================================================
   in008.jpg
   ============================================================ */
.required-note-img { margin: 16px 0 20px; text-align: center; }
.required-note-img img { max-width: 100%; height: auto; display: inline-block; }

/* ============================================================
   Form Section
   ============================================================ */
.form-section { margin-bottom: 20px; }

.form-section__head {
  display: flex; align-items: center; gap: 10px;
  background: var(--color-bg-section);
  padding: 10px 12px;
  margin-bottom: 14px;
}

.section-title {
  font-size: 20px; font-weight: 700;
  margin: 0; padding: 0;
  color: var(--color-text); line-height: 1.3;
  letter-spacing: normal;
}

.form-section__body { padding: 0 12px 4px; }

/* すべての入力欄を全幅に強制（numは除外） */
.form-input:not(.form-input--num),
.form-select,
.form-textarea {
  width: 100% !important;
  box-sizing: border-box !important;
}

/* ============================================================
   Labels
   ============================================================ */
.section-label {
  display: inline-block; padding: 2px 7px; border-radius: 3px;
  font-size: 15px; font-weight: 700; flex-shrink: 0; white-space: nowrap;
  min-width: 56px; text-align: center;
}
.required-label { background: var(--required-bg); color: #333; }
.optional-label  { background: var(--optional-bg);  color: #fff; }

/* ============================================================
   Inputs — スマホデフォルト
   ============================================================ */
.form-input {
  display: block; width: 100%;
  height: 48px; padding: 0 12px;
  font-size: 16px; font-family: var(--font-main);
  border: 1.5px solid var(--color-border); border-radius: var(--radius);
  margin-bottom: 8px; background: #fff; color: var(--color-text);
  -webkit-appearance: none; appearance: none;
  transition: border-color .2s, box-shadow .2s;
}
.form-input:focus { outline: none; border-color: #5b5bc6; box-shadow: 0 0 0 3px rgba(91,91,198,.15); }
.form-input::placeholder { color: #aaa; font-size: 18px; }

/* Select */
.form-select {
  display: block; width: 100%;
  height: 48px; padding: 0 36px 0 12px;
  font-size: 16px; font-family: var(--font-main);
  border: 1.5px solid var(--color-border); border-radius: var(--radius);
  margin-bottom: 8px;
  background: #fff 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='%23666' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 12px center;
  color: var(--color-text); -webkit-appearance: none; appearance: none; cursor: pointer;
  transition: border-color .2s, box-shadow .2s;
}
.form-select:focus { outline: none; border-color: #5b5bc6; box-shadow: 0 0 0 3px rgba(91,91,198,.15); }

/* Textarea */
.form-textarea {
  display: block; width: 100%; min-height: 160px;
  padding: 10px 12px; font-size: 16px; font-family: var(--font-main);
  border: 1.5px solid var(--color-border); border-radius: var(--radius);
  resize: vertical; line-height: 1.7; color: var(--color-text); background: #fff;
  transition: border-color .2s, box-shadow .2s;
  box-sizing: border-box;
}
.form-textarea:focus { outline: none; border-color: #5b5bc6; box-shadow: 0 0 0 3px rgba(91,91,198,.15); }
/* 4. textareaのplaceholderを大きく */
.form-textarea::placeholder { color: #aaa; font-size: 18px; }

/* Postal */
.postal-row {
  display: flex; align-items: center; gap: 8px; margin-bottom: 8px; width: 100%;
}
.postal-mark { font-size: 20px; font-weight: 700; flex-shrink: 0; line-height: 1; }
.form-input--postal { flex: 1; margin-bottom: 0; min-width: 0; }

/* Address — SP: 行間を詰める */
.form-input--addr { margin-top: 0; margin-bottom: 0; }
.form-section__body--address .form-select { margin-top: 0; margin-bottom: 0; }

/* Number */
.form-input--num {
  width: 80px; height: 48px; font-size: 20px;
  text-align: center; margin-bottom: 0; flex-shrink: 0;
}

/* ============================================================
   SP 強制上書き（767px以下）
   ============================================================ */
@media (max-width: 767px) {
  form#mailformpro div .radio-label,
  form#mailformpro div .radio-label.radio-label {
    margin-bottom: 16px !important;
    margin-top: 0 !important;
    display: flex !important;
    padding: 0 !important;
  }
  form#mailformpro div .check-label,
  form#mailformpro div .check-label.check-label {
    margin-bottom: 16px !important;
    margin-top: 0 !important;
    display: flex !important;
    padding: 0 !important;
  }
  form#mailformpro label.mfp_checked,
  form#mailformpro label.mfp_not_checked,
  form#mailformpro label {
    margin: 0 !important;
    padding: 0 !important;
  }
  .form-input--addr,
  .form-section__body--address .form-select {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }
  .postal-row {
    margin-bottom: 0 !important;
    width: 100% !important;
  }
  .form-input { margin-bottom: 4px !important; }
  .form-select { margin-bottom: 4px !important; }
}

/* ============================================================
   Divider (in015.jpg) — SP: 上50px
   ============================================================ */
.section-divider { margin: 50px 0 20px; text-align: center; }
.divider-img { max-width: 100%; height: auto; display: inline-block; }

/* ============================================================
   Radio / Checkbox — スマホデフォルト
   ============================================================ */
/* 1. 縦3列（PC・SP共通） */
.radio-group-vertical { display: flex; flex-direction: column; gap: 0; margin-bottom: 0; }
.radio-group { display: flex; flex-direction: column; gap: 0; margin-bottom: 0; }

.radio-label,
.check-label {
  display: flex; align-items: center; gap: 10px;
  font-size: 18px; font-weight: 400; cursor: pointer;
  margin-bottom: 20px; line-height: 1.4;
}

.radio-label input[type="radio"] {
  width: 22px; height: 22px; margin: 0; flex-shrink: 0;
  accent-color: #5b5bc6; cursor: pointer;
}

.check-label input[type="checkbox"] {
  appearance: none; -webkit-appearance: none;
  width: 24px; height: 24px;
  border: 2px solid #999; border-radius: 50%;
  background: #fff; cursor: pointer; flex-shrink: 0; margin: 0;
  position: relative; transition: border-color .2s, background .2s;
}
.check-label input[type="checkbox"]:checked { background: #5b5bc6; border-color: #5b5bc6; }
.check-label input[type="checkbox"]:checked::after {
  content: ""; display: block; position: absolute;
  top: 4px; left: 7px; width: 7px; height: 12px;
  border: 2px solid #fff; border-top: none; border-left: none;
  transform: rotate(45deg);
}
.checkbox-group { display: flex; flex-direction: column; gap: 0; }

/* ============================================================
   人数
   ============================================================ */
.ninzu-row { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.ninzu-label { font-size: 16px; min-width: 90px; flex-shrink: 0; }
.ninzu-unit  { font-size: 16px; }

/* ============================================================
   Markers
   ============================================================ */
.marker {
  display: inline; background: var(--marker-color);
  padding: 0.05em 0.15em;
  box-decoration-break: clone; -webkit-box-decoration-break: clone;
}
.marker-recommend {
  background: linear-gradient(transparent 50%, var(--marker-color) 50%);
  padding: 0 0.1em; display: inline;
}
/* スマホのみ：両方ラベルの※推奨を改行 */
@media (max-width: 767px) {
  .radio-label {
    flex-wrap: wrap;
  }
  .marker-recommend {
        font-size: 90%;
  }
}

/* ============================================================
   sp-br
   ============================================================ */
.sp-br { display: block; }

/* ============================================================
   急ぎ対応
   ============================================================ */
.isogi-section { text-align: center; padding: 10px 0; margin-bottom: 12px; }
/* 5. 急ぎ対応のフォントをcheck-labelと同サイズ（18px） */
.check-label--isogi { justify-content: center; font-size: 18px; font-weight: 400; }
.check-label--isogi input[type="checkbox"] { width: 22px; height: 22px; }

/* ============================================================
   送信ボタン
   ============================================================ */
.submit-area { text-align: center; margin-bottom: 28px; }
.submit-btn {
  display: inline-block; width: 100%; max-width: 400px;
  background: var(--color-accent); color: #333;
  border: none; border-radius: 20px; padding: 16px 20px;
  font-family: var(--font-main); font-size: 14px; font-weight: 700;
  cursor: pointer; line-height: 1.5;
  box-shadow: 0 4px 14px rgba(240,192,64,.5);
  transition: opacity .15s, transform .1s;
}
.submit-btn:hover  { opacity: .88; }
.submit-btn:active { transform: translateY(2px); box-shadow: none; }

.submit-btn__main {
  font-size: 26px; display: block; margin-top: 4px;
  color: #fff; text-shadow: 1px 1px 0 #000, 2px 2px 6px rgba(0,0,0,.5);
  letter-spacing: 0.05em;
}

.ssl-note { font-size: 14px; color: var(--color-text); margin-top: 14px; line-height: 1.7; text-align: center; }

/* ============================================================
   個人情報同意書
   ============================================================ */
.consent-area { margin-top: 16px; }
.consent-link-note { text-align: center; font-size: 14px; color: var(--color-text-light); margin-bottom: 8px; }
.consentform {
  border: 1px solid var(--color-border); border-radius: var(--radius);
  height: 160px; overflow-y: scroll; overflow-x: scroll;
  background: #fafafa; padding: 10px 12px;
  font-size: 12px; line-height: 1.8; color: var(--color-text-light);
  margin-bottom: 6px; font-weight: 400;
}
.consentform-title { font-weight: 400; font-size: 13px; color: var(--color-text); margin: 0 0 10px; }
.consentform-text { margin-bottom: 14px; }
.sign { text-align: right; font-weight: 400; }

/* ============================================================
   MFP リセット
   ============================================================ */
#mailformpro table, #mailformpro td, #mailformpro th {
  width: auto !important; table-layout: auto !important;
  line-height: normal !important; padding: 0 !important; margin: 0 !important;
}
#mailformpro label,
#mailformpro .check-label,
#mailformpro .radio-label,
#mailformpro .mfp_element_checkbox label,
#mailformpro .mfp_element_radio label {
  border: none !important; background: none !important;
  background-color: transparent !important; padding: 0 !important;
  margin: 0 !important; border-radius: 0 !important;
  box-shadow: none !important; display: flex !important; white-space: normal !important;
}
#mailformpro .mfp_element_checkbox label.checked,
#mailformpro .mfp_element_checkbox label:has(input:checked),
#mailformpro label.mfp_checked {
  background: none !important; background-color: transparent !important;
  border: none !important; color: inherit !important;
}
#mailformpro input[type="checkbox"],
#mailformpro input[type="radio"] { outline: none !important; box-shadow: none !important; }

#mailformpro textarea,
#mailformpro .form-textarea { width: 100% !important; box-sizing: border-box !important; }

/* MFP ボタン上書き */
.mfp_buttons { text-align: center; }
.mfp_element_submit.submit-btn,
.mfp_element_submit.submit-btn:link,
.mfp_element_submit.submit-btn:visited {
  display: inline-block !important; width: 100% !important;
  background: var(--color-accent) !important; color: #333 !important;
  border: none !important; border-radius: 20px !important;
  font-family: var(--font-main) !important; font-weight: 700 !important;
  cursor: pointer !important; line-height: 1.5 !important;
  text-shadow: none !important; border-bottom: none !important;
}
.mfp_element_submit.submit-btn:hover { opacity: .88 !important; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer { background: none; text-align: center; padding: 0px 16px 24px; }
.footer-logo-wrap { margin-bottom: 16px; }
.footer-logo { max-height: 48px; width: auto; max-width: 180px; margin: 0 auto; }
.footer-copy { margin: 0; font-size: 11px; color: var(--color-text-light); letter-spacing: 0.05em; }

/* ============================================================
   SP専用 br — PCでは非表示
   ============================================================ */
@media (min-width: 768px) {
  .sp-br { display: none; }
}

/* ============================================================
   PC (768px以上) — 大きいサイズに上書き
   ============================================================ */
@media (min-width: 768px) {

  a[href*="tel:"] { pointer-events: none; cursor: default; }

  .ssl-header { font-size: 15px; white-space: nowrap; }
  .tel-img-wrap { padding: 28px 0; }

  .form-wrapper { padding: 30px 20px 60px; }

  .required-note-img { margin: 10px 0 35px; }

  .form-section { margin-bottom: 20px; }
  .form-section__head { padding: 20px 20px 20px 48px; gap: 16px; margin-bottom: 28px; }
  .section-title { font-size: 42px; letter-spacing: 0.1em; }
  .form-section__body { padding: 0 60px 16px 60px; }

  .section-label { font-size: 26px; padding: 3px 8px; min-width: 80px; }

  .form-input {
    height: 120px; padding: 0 24px;
    font-size: 36px; margin-bottom: 10px;
  }
  .form-input::placeholder { font-size: 36px; }

  .form-select {
    height: 120px; padding: 0 60px 0 24px; font-size: 36px; margin-bottom: 32px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='12' viewBox='0 0 18 12'%3E%3Cpath d='M1 1l8 9 8-9' stroke='%23444' stroke-width='2.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-position: right 24px center;
  }

  .form-textarea { min-height: 300px; padding: 24px; font-size: 28px; }
  .form-textarea::placeholder { font-size: 28px; }

  .postal-row { gap: 12px; margin-bottom: 0; }
  .postal-mark { font-size: 42px; }
  .form-input--postal { max-width: 800px; height: 120px; font-size: 36px; }

  .form-input--addr { margin-top: 32px; margin-bottom: 8px; max-width: 800px; width: 100%; }
  .form-section__body--address .form-select { max-width: 800px; width: 100%; margin-top: 32px; margin-bottom: 32px; }

  .form-input--num { width: 200px; height: 120px; font-size: 42px; }

  .section-divider { margin: 40px 0 40px; }

  /* 1. 送付方法縦3列（PC） */
  .radio-group-vertical { flex-direction: column; gap: 0; }
  .radio-group { flex-direction: row; flex-wrap: wrap; gap: 0 140px; }
  .checkbox-group { flex-direction: column; gap: 0; }

  .radio-label, .check-label { font-size: 42px; gap: 18px; margin-bottom: 30px; }
  .radio-label input[type="radio"] { width: 40px; height: 40px; }
  .check-label input[type="checkbox"] { width: 42px; height: 42px; }
  .check-label input[type="checkbox"]:checked::after {
    top: 7px; left: 12px; width: 11px; height: 20px; border-width: 3px;
  }

  .ninzu-row { gap: 24px; margin-bottom: 20px; }
  .ninzu-label { font-size: 36px; min-width: 160px; }
  .ninzu-unit  { font-size: 36px; }

  .isogi-section { padding: 16px 0; margin-bottom: 24px; }
  /* 5. 急ぎ対応PCはcheck-labelと同サイズ（42px） */
  .check-label--isogi { font-size: 42px; }
  .check-label--isogi input[type="checkbox"] { width: 42px; height: 42px; }
  .check-label--isogi input[type="checkbox"]:checked::after {
    top: 7px; left: 12px; width: 11px; height: 20px; border-width: 3px;
  }

  .submit-btn { max-width: 560px; padding: 28px 32px 32px; font-size: 26px; border-radius: 28px; }
  .submit-btn__main { font-size: 52px; }
  .ssl-note { font-size: 26px; margin-top: 28px; }

  .consent-area { margin-top: 32px; }
  .consent-link-note { font-size: 22px; }
  .consentform { height: 240px; padding: 20px 24px; font-size: 18px; margin-bottom: 16px; }
  .consentform-title { font-size: 20px; margin: 0 0 14px; }
  .consentform-text { margin-bottom: 20px; }

  .site-footer { padding: 0px 16px 40px; }
  .footer-logo { max-height: 80px; max-width: 280px; }
  .footer-copy { font-size: 14px; }

  .mfp_element_submit.submit-btn { max-width: 560px !important; padding: 28px 32px 32px !important; font-size: 26px !important; border-radius: 28px !important; }
}

/* ============================================================
   Tablet (768px〜1040px)
   ============================================================ */
@media (min-width: 768px) and (max-width: 1040px) {
  .section-title   { font-size: 32px; }
  .section-label   { font-size: 20px; }
  .form-section__head { padding: 12px 16px 12px 32px; gap: 12px; }
  .form-section__body { padding: 0 32px 6px 32px; }
  .form-input, .form-select { height: 80px; font-size: 26px; }
  .form-input--num { width: 160px; height: 80px; font-size: 32px; }
  .form-textarea { font-size: 22px; }
  .radio-label, .check-label { font-size: 32px; }
  .ninzu-label, .ninzu-unit { font-size: 28px; }
  .check-label--isogi { font-size: 32px; }
  .submit-btn { font-size: 20px; max-width: 480px; padding: 22px 24px; }
  .submit-btn__main { font-size: 38px; }
  .ssl-note { font-size: 20px; }
  .section-divider { margin-top: 60px; }
}