/* 通報フォーム共通デザイン。画像、Webフォント、jQueryは使いません。 */
:root {
  color-scheme: light;
  --text: #253345;
  --muted: #5a687a;
  --line: #dce3eb;
  --accent: #12618f;
  --navy: #17354e;
  --surface: #fff;
  --background: #f4f7f9;
}
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 16px; }
body { margin: 0; min-width: 280px; background: var(--background); color: var(--text); font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif; font-size: 1rem; line-height: 1.8; overflow-wrap: anywhere; }
a { color: var(--accent); text-decoration-thickness: .07em; text-underline-offset: .18em; }
a:hover { text-decoration-thickness: .12em; }
.container { width: min(100% - 36px, 880px); margin-inline: auto; }
.site-header { background: var(--navy); color: #fff; padding: 43px 0 42px; }
.eyebrow { margin: 0 0 10px; color: #bbd6e7; font-size: .75rem; font-weight: 700; letter-spacing: .16em; }
h1 { margin: 0; font-size: clamp(1.5rem, 4.5vw, 2.05rem); line-height: 1.5; font-weight: 700; letter-spacing: .02em; }
.lead { margin: 12px 0 0; color: #d9e6ee; font-size: .96rem; }
.mobile-break { display: none; }
main.container { padding: 24px 0 48px; }
.panel { margin: 0 0 19px; padding: clamp(22px, 4.8vw, 38px); background: var(--surface); border: 1px solid #e4e9ef; border-radius: 12px; box-shadow: 0 3px 16px rgb(21 45 70 / 3%); }
.panel h2 { margin: 0 0 22px; padding-bottom: 13px; border-bottom: 2px solid #dbe8f1; font-size: 1.3rem; line-height: 1.5; color: var(--navy); }
.panel p { margin: 0 0 14px; }
.panel p:last-child { margin-bottom: 0; }
.contact-box { margin-top: 23px; padding: 20px 22px; border-radius: 8px; background: #f0f6fa; }
.contact-box h3 { margin: 0 0 13px; font-size: 1rem; color: var(--navy); }
.contact-list { margin: 0; }
.contact-list > div { display: flex; gap: 17px; margin: 7px 0; }
.contact-list dt { flex: 0 0 42px; font-weight: 700; }
.contact-list dd { margin: 0; }
.contact-list small { display: block; color: var(--muted); font-size: .82rem; line-height: 1.5; }
.notice-list { list-style: none; margin: 0; padding: 0; }
.notice-list li { padding: 13px 0 13px 20px; border-bottom: 1px solid #e9edf2; position: relative; }
.notice-list li:first-child { padding-top: 0; }
.notice-list li:last-child { border: 0; padding-bottom: 0; }
.notice-list li::before { content: ""; position: absolute; top: 24px; left: 0; width: 7px; height: 7px; border-radius: 50%; background: #2780ae; }
.notice-list li:first-child::before { top: 10px; }
.section-heading h2 { margin-bottom: 8px; }
.section-heading p { color: var(--muted); font-size: .88rem; }
.required-badge { display: inline-block; vertical-align: middle; padding: 0 6px; color: #a43934; background: #fbefee; border: 1px solid #e9c8c4; border-radius: 3px; font-size: .72rem; font-weight: 700; line-height: 1.55; white-space: nowrap; }
#mailformpro { margin: 0; }
#mailformpro .form-group { min-width: 0; margin: 0; padding: 16px 0 10px; border: 0; border-top: 1px solid var(--line); }
#mailformpro .form-group legend { display: block; width: 100%; padding: 0 0 10px; font-size: 1.06rem; font-weight: 700; line-height: 1.5; color: var(--navy); }
.step { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; margin-right: 7px; border-radius: 50%; background: #e6f1f7; color: var(--accent); font-size: .86rem; }
#mailformpro .field { min-width: 0; margin: 0 0 26px; }
#mailformpro .field > label, #mailformpro .field-label { display: block; margin: 0 0 5px; color: #25384b; font-weight: 700; font-size: .98rem; line-height: 1.6; }
#mailformpro .field-help { margin: 0 0 10px; color: var(--muted); font-size: .87rem; line-height: 1.7; }
#mailformpro .field > input:not([type=radio]):not([type=checkbox]), #mailformpro .field > textarea { display: block; width: 100% !important; max-width: 100% !important; min-width: 0 !important; margin: 0; padding: 12px 14px; border: 1px solid #aab9c6; border-radius: 6px; background: #fff; color: var(--text); font: inherit; font-size: 1rem; line-height: 1.65; box-sizing: border-box !important; }
#mailformpro .field > input:not([type=radio]):not([type=checkbox]) { min-height: 46px; }
#mailformpro .field > textarea { min-height: 112px !important; resize: vertical; }
#mailformpro .field > input:focus, #mailformpro .field > textarea:focus { outline: 3px solid #cbe6f6; border-color: #2078a8; }
#mailformpro .radio-options { display: flex; flex-wrap: wrap; gap: 10px; }
#mailformpro .choice { display: flex; align-items: center; gap: 7px; margin: 0; padding: 9px 13px; border: 1px solid var(--line); border-radius: 6px; cursor: pointer; font-weight: 400; background: #fff; }
#mailformpro input[type="radio"], #mailformpro input[type="checkbox"] { width: 18px; height: 18px; margin: 0; accent-color: var(--accent); flex-shrink: 0; }
#mailformpro .submit-area { margin-top: 8px; padding: 22px; border-radius: 9px; background: #f1f5f8; text-align: center; }
#mailformpro .confirm-choice { display: flex; align-items: center; justify-content: center; gap: 10px; font-weight: 700; cursor: pointer; }
#mailformpro button[type="submit"] { display: inline-block; width: min(100%, 380px); min-height: 52px; padding: 12px 22px; border: 0; border-radius: 7px; background: var(--accent); color: #fff; font: inherit; font-size: 1.06rem; font-weight: 700; text-shadow: none !important; cursor: pointer; }
#mailformpro button[type="submit"]:hover { background: #0b4b70; }
#mailformpro button[type="submit"]:focus-visible { outline: 3px solid #6bb9e2; outline-offset: 3px; }
#mailformpro button[type="submit"]:disabled { background: #818e9a; cursor: not-allowed; }
.site-footer { padding: 22px 0 34px; color: #687687; text-align: center; font-size: .77rem; }
@media (max-width: 640px) {
  .container { width: min(100% - 24px, 880px); }
  .site-header { padding: 30px 0; }
  .mobile-break { display: initial; }
  .panel { margin-bottom: 12px; border-radius: 8px; }
  .contact-list > div { display: block; }
  .contact-list dt { margin-bottom: 1px; }
  #mailformpro .radio-options { display: grid; }
  #mailformpro .choice { min-height: 43px; }
  #mailformpro .submit-area { padding: 17px 12px; }
}
/* プライバシーポリシーへのリンク */
#mailformpro .privacy-policy-link {
  margin: 0 0 14px;
  font-size: 0.94rem;
  line-height: 1.7;
}

/* 同意チェックボックス */
#mailformpro .submit-area .confirm-choice {
  max-width: 650px;
  margin: 0 auto 20px;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  line-height: 1.7;
}

/* チェックボックスの縦位置 */
#mailformpro .submit-area .confirm-choice input {
  margin-top: 5px;
}
