/* 専用ページ：画面全体で読み、入力できるレイアウト。 */
.contact-page { background: #f4f7f8; }
.contact-page [hidden] { display: none !important; }
.contact-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px max(24px, calc((100% - 1120px)/2)); background: var(--ink); color: #fff; }
.contact-logo { font: 600 34px Outfit, sans-serif; letter-spacing: -.04em; }
.contact-header > a:last-child { display: inline-flex; align-items: center; min-height: 44px; gap: 12px; font-size: 13px; }
.contact-main { max-width: 1120px; margin: auto; padding: 28px 24px 80px; }
.contact-breadcrumb { font-size: 12px; color: #526571; }
.contact-breadcrumb a { display: inline-block; padding: 10px 0; text-decoration: underline; }
.contact-breadcrumb span { margin-left: 8px; }
.contact-heading { margin: 34px 0; }
.contact-heading > p:first-child { color: #326c85; font: 600 12px Outfit, sans-serif; letter-spacing: .16em; }
.contact-heading h1 { margin: 10px 0 18px; font-size: clamp(30px, 4vw, 44px); letter-spacing: .04em; }
.contact-lead { color: #425865; font-size: 16px; line-height: 1.9; }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr); align-items: start; gap: 32px; }
#contact-form-view { min-width: 0; padding: 32px; border: 1px solid #dce6eb; border-radius: 12px; background: #fff; }
.contact-form { scroll-margin-top: 20px; }
.contact-support { display: grid; gap: 20px; min-width: 0; }
.contact-support-card { padding: 24px; border: 1px solid #dce6eb; border-radius: 12px; background: #fff; }
.contact-support-card h2 { margin: 0 0 16px; font-size: 17px; }
.contact-support-card > p, .contact-steps span { font-size: 13px; color: #526571; line-height: 1.8; }
.contact-mail { display: inline-flex; align-items: center; min-height: 44px; max-width: 100%; color: #205e79; text-decoration: underline; text-underline-offset: 3px; font-size: 14px; overflow-wrap: anywhere; }
.contact-steps { margin: 0; padding-left: 22px; }
.contact-steps li { padding-left: 4px; margin-bottom: 16px; color: #326c85; }
.contact-steps li:last-child { margin-bottom: 0; }
.contact-steps strong, .contact-steps span { display: block; }
.contact-steps strong { margin-bottom: 4px; font-size: 14px; color: var(--ink); }
.contact-footer { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 16px 28px; padding: 30px 24px; background: var(--ink); color: #fff; font-size: 12px; }
.contact-footer a { display: inline-flex; align-items: center; min-height: 44px; }
.contact-footer small { flex-basis: 100%; text-align: center; color: #b7c8d3; }
.contact-skip { position: absolute; left: 20px; top: -100px; z-index: 2; padding: 14px; background: #fff; color: var(--ink); }
.contact-skip:focus { top: 10px; }
.contact-noscript { padding: 20px; background: #fff; line-height: 1.8; overflow-wrap: anywhere; }
.contact-intro h2, .contact-success h2 { margin: 0 0 8px; font-size: 19px; line-height: 1.6; }
.contact-intro p { margin: 6px 0; color: #425865; font-size: 14px; line-height: 1.8; }
.contact-intro .contact-reply-note { font-size: 12px; }
.contact-form { padding-top: 8px; }
.contact-form label { display: block; margin: 16px 0 6px; font-size: 14px; font-weight: 700; }
.field-required, .field-optional { display: inline-block; margin-left: 5px; padding: 1px 6px; border-radius: 3px; font-size: 11px; vertical-align: middle; }
.field-required { background: #eaf4f7; color: #20596f; }
.field-optional { background: #f0f2f3; color: #58656d; }
.contact-form input, .contact-form textarea, .contact-form select { display: block; width: 100%; min-height: 46px; padding: 11px; border: 1px solid #a8bec9; border-radius: 6px; background: #fff; color: var(--ink); font: inherit; font-size: 16px; }
.contact-form textarea { min-height: 130px; resize: vertical; line-height: 1.7; }
.contact-form :is(input, textarea, select):focus-visible { outline: 3px solid #248caf; outline-offset: 2px; }
.contact-form ::placeholder { color: #697c87; opacity: 1; }
.contact-form .field-help { margin: 6px 0 0; color: #526571; font-size: 12px; line-height: 1.7; }
.form-policy { margin: 18px 0 14px; color: #52606c; font-size: 12px; line-height: 1.8; }
.form-policy a, .contact-alternatives a, .contact-noscript a { color: #205e79; text-decoration: underline; text-underline-offset: 3px; }
.contact-submit, .contact-new { width: 100%; min-height: 48px; padding: 12px 16px; border: 0; border-radius: 7px; background: var(--ink); color: #fff; font-weight: 700; }
.contact-submit:hover, .contact-new:hover { background: #22516b; }
.contact-submit span { float: right; }
.contact-submit:disabled { opacity: .65; cursor: wait; }
.form-status { margin: 12px 0 0; font-size: 14px; line-height: 1.8; overflow-wrap: anywhere; }
.form-status:empty { display: none; }
.form-status.is-error { padding: 12px; border: 1px solid #bc5c46; border-radius: 6px; background: #fff5f0; color: #803923; }
.contact-success { padding: 20px 0; }
.contact-success p { font-size: 14px; line-height: 1.8; overflow-wrap: anywhere; }
.contact-success-email { padding: 12px; border-radius: 6px; background: #eaf4f7; }
@media (max-width: 760px) {
  .contact-header { padding: 12px 20px; }
  .contact-main { padding: 16px 16px 48px; }
  .contact-heading { margin: 24px 0; }
  .contact-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  #contact-form-view { padding: 22px 18px; }
  .contact-support-card { padding: 20px; }
  .contact-form input, .contact-form textarea, .contact-form select { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.contact-jump-links { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 28px; }
.contact-jump-links a { display: inline-flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 48px; padding: 12px 18px; border: 1px solid #305b71; border-radius: 7px; background: #fff; color: #234f66; font-size: 14px; font-weight: 700; }
.contact-jump-links a:first-child { background: var(--ink); color: #fff; border-color: var(--ink); }
.contact-jump-links a:hover { box-shadow: 0 2px 8px rgba(26,43,60,.15); }
@media (max-width: 760px) {
  .contact-jump-links { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
}
