.contact-page { background: #fff; }
.contact-page .site-header { background: #fff; }
.contact-hero { background: linear-gradient(90deg, #04111fe8, #04111f70 70%), #071828 url('../images/news-hero.png') center / cover no-repeat; color: #fff; }
.contact-hero > div { padding-block: 60px; }
.contact-hero .eyebrow { color: #c4d5e3; margin-bottom: 18px; }
.contact-hero h1 { font-family: var(--serif); font-size: clamp(36px, 4vw, 56px); line-height: 1.4; font-weight: 500; margin: 0 0 22px; }
.contact-hero p:not(.eyebrow) { font-size: 18px; line-height: 1.85; margin: 0; }
.contact-content { width: min(90%, 900px); margin: 0 auto; padding-block: 65px 80px; }
.contact-intro { margin-bottom: 30px; }
.contact-intro .eyebrow { margin-bottom: 12px; }
.contact-intro h2 { font-family: var(--serif); font-size: 30px; font-weight: 500; margin: 0 0 18px; }
.contact-intro > p:not(.eyebrow) { font-size: 14px; line-height: 1.9; color: #68747f; margin: 0; }
.contact-preview-note { font-size: 13px; color: #596977; background: #f2f5f8; padding: 16px 20px; border-radius: 5px; margin: 0 0 25px; }
.contact-field { display: grid; grid-template-columns: 230px minmax(0, 1fr); column-gap: 25px; padding-block: 24px; border-bottom: 1px solid #e6ebef; align-items: center; }
.contact-field label { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 14px; font-weight: 500; }
.contact-required, .contact-optional { display: inline-block; flex: none; font-size: 12px; font-weight: 500; line-height: 1.5; border-radius: 3px; padding: 2px 7px; vertical-align: middle; }
.contact-required { color: #ba470a; background: #fff0e6; }
.contact-optional { color: #6b7680; background: #eff2f5; }
.contact-intro .contact-required { margin-right: 5px; }
.contact-field input, .contact-field select, .contact-field textarea { width: 100%; min-width: 0; border: 1px solid #cbd3da; border-radius: 4px; padding: 13px 15px; font: inherit; font-size: 16px; background: #fcfdfe; color: var(--ink); }
.contact-field input:focus, .contact-field select:focus, .contact-field textarea:focus { outline: 2px solid var(--orange); outline-offset: 2px; background: #fff; }
.contact-field textarea { resize: vertical; min-height: 200px; }
.contact-field--message { align-items: start; }
.contact-field--message label { padding-top: 12px; }
.contact-field small { grid-column: 2; margin-top: 8px; font-size: 12px; color: #78838c; }
.contact-submit { text-align: center; margin-top: 38px; }
.contact-submit .button { border-radius: 5px; min-width: 270px; cursor: pointer; }
.contact-submit .button:disabled { cursor: not-allowed; opacity: .6; transform: none; }
.contact-submit > p { font-size: 12px; color: #76838f; margin: 15px 0 0; }
.contact-complete { max-width: 850px; width: 90%; margin: 0 auto; text-align: center; padding-block: 65px 85px; }
.contact-complete__mark { width: 82px; height: 82px; border-radius: 50%; background: #fff1e8; color: var(--orange); margin: 0 auto 25px; display: grid; place-items: center; }
.contact-complete__mark svg { width: 48px; height: 48px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.contact-complete .eyebrow { margin-bottom: 15px; }
.contact-complete h2 { font-family: var(--serif); font-size: 33px; font-weight: 500; line-height: 1.6; margin: 0 0 22px; }
.contact-complete > p:not(.eyebrow) { font-size: 14px; line-height: 1.95; color: #65737f; }
.contact-complete .button-row { justify-content: center; flex-wrap: wrap; gap: 25px; margin-top: 35px; }
.contact-complete .button { border-radius: 5px; }
.contact-back { font-size: 13px; text-decoration: underline; text-underline-offset: 5px; }
.contact-back:hover { color: var(--orange); }
.contact-page .site-footer--compact { background: #02080d; }
.contact-page .site-footer--compact::before { content: none; }
.contact-page .site-footer--compact .footer-bottom { width: 92%; max-width: 1390px; min-height: 165px; align-items: flex-start; padding-block: 45px; gap: 35px; }
.contact-page .site-footer--compact .footer-logo { flex: none; width: 190px; }
.contact-page .site-footer--compact nav { padding-top: 7px; }
.contact-page .site-footer--compact .footer-meta { max-width: 375px; padding-top: 7px; flex-shrink: 0; }
@media (max-width: 1199px) {
  .contact-page .site-footer--compact .footer-bottom { gap: 24px; }
  .contact-page .site-footer--compact .footer-logo { width: 170px; }
}
@media (max-width: 1000px) {
  .contact-page .site-footer--compact .footer-bottom { display: grid; grid-template-columns: 175px 1fr; }
  .contact-page .site-footer--compact .footer-meta { grid-column: 2; margin: 0; max-width: none; padding: 0; }
}
@media (max-width: 640px) {
  .contact-hero > div { padding-block: 40px; }
  .contact-hero p:not(.eyebrow) { font-size: 16px; }
  .contact-content { padding-block: 38px 50px; }
  .contact-intro h2 { font-size: 25px; }
  .contact-preview-note { font-size: 12px; padding: 15px; }
  .contact-field { grid-template-columns: 1fr; gap: 13px; padding-block: 20px; }
  .contact-field label { justify-content: flex-start; }
  .contact-field--message label { padding-top: 0; }
  .contact-field small { grid-column: 1; margin-top: 0; }
  .contact-submit .button { min-width: 0; width: 100%; }
  .contact-complete { padding-block: 45px 60px; }
  .contact-complete h2 { font-size: 27px; }
  .contact-complete > p:not(.eyebrow) { font-size: 13px; }
  .contact-page .site-footer--compact .footer-bottom { display: block; padding-block: 35px; }
  .contact-page .site-footer--compact .footer-logo { width: 175px; margin-bottom: 30px; }
  .contact-page .site-footer--compact nav { margin-bottom: 25px; }
  .contact-page .site-footer--compact .footer-meta { margin: 0; }
}

.contact-support-info { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 8px; font-size: 13px; }
.contact-support-info li { display: flex; gap: 16px; flex-wrap: wrap; }
.contact-support-info b { font-weight: 500; min-width: 90px; }
.contact-support-info a { text-decoration: underline; text-underline-offset: 4px; }
.contact-support-info a:hover { color: var(--orange); }
.contact-captcha__question { margin: 0 0 10px; font-size: 16px; font-weight: 600; letter-spacing: .05em; }
.contact-field--captcha input { max-width: 160px; }

/* 送信エラー表示・ボット対策の見えない入力欄 */
.contact-errors { margin: 0 0 25px; padding: 16px 20px; border: 1px solid #f0b9a0; border-radius: 5px; background: #fff5f0; color: #9a3a0a; font-size: 14px; line-height: 1.8; }
.contact-errors p { margin: 0 0 6px; font-weight: 600; }
.contact-errors ul { margin: 0; padding-left: 1.3em; }
.contact-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-errors:focus { outline: none; }
