/* ライトサン既存の青・緑と共通ヘッダー／フッターに合わせたフォーム */
.contact-page { background: #f3f9f9; }
.contact-page .hero.page .first-view { padding: 68px 24px 78px; }
.contact-page .hero.page .first-view .inner { width: min(100%, 960px); }
.contact-page .hero.page .first-view .inner .en-copy { font-size: clamp(52px, 7vw, 94px); line-height: 1.1; padding: 0; letter-spacing: .05em; }
.contact-page .hero.page .first-view .inner .border { height: 32px; margin: 20px auto; }
.contact-page .hero.page .first-view .inner h1 { text-align: center; margin: 0; }
.contact-page .hero.page .first-view .inner h1 .main { font-size: clamp(26px, 3vw, 38px); }
.contact-page .hero.page .first-view .inner .sentence p { margin: 22px auto 0; max-width: 650px; font-size: 15px; line-height: 2; text-align: center; }
.contact-page .header a[aria-current="page"] { text-decoration: underline; text-underline-offset: 7px; }
.contact-steps { display: flex; justify-content: center; gap: 42px; list-style: none; padding: 30px 20px; margin: 0; background: #fff; border-bottom: 1px solid #dcebea; }
.contact-steps li { display: flex; align-items: center; gap: 12px; color: #697b80; font-size: 14px; font-weight: 500; }
.contact-steps li > span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #eef4f5; font-family: "Poppins", sans-serif; font-size: 12px; }
.contact-steps [aria-current="step"] { color: #096f80; }
.contact-steps [aria-current="step"] > span { color: #fff; background: #087e92; }
.contact-page .mf-form-shell, .contact-page .confirm-container, .contact-page .result-container, .contact-page #mf-mail-form { --color-primary: #087e92; --color-primary-dark: #065d70; --color-heading: #164852; --color-text: #304c54; --color-muted: #576e75; --color-line: #dce8ea; --color-field-background: #f6f9fa; --color-field-border: #b9cdd2; --color-error: #b5323c; font-family: "Noto Sans JP", "Hiragino Sans", Meiryo, sans-serif; }
.contact-page .mf-form-shell { padding: 64px 24px 80px; }
.contact-page #mf-mail-form, .contact-page .confirm-container, .contact-page .result-container { width: 100%; max-width: 1040px; padding: 56px 64px 64px; background: #fff; border: 1px solid #dce8ea; border-radius: 8px; box-shadow: 0 16px 50px rgb(17 83 93 / 4%); }
.contact-page .confirm-container, .contact-page .result-container { width: calc(100% - 48px); margin: 64px auto 80px; }
.contact-kicker { font-family: "Poppins", sans-serif; font-size: 13px; letter-spacing: .18em; color: #087e92; font-weight: 600; }
.contact-page #mf-mail-form .form-heading { text-align: left; margin-bottom: 40px; }
.contact-page #mf-mail-form #form-title { font-size: clamp(22px, 2.5vw, 30px); line-height: 1.6; letter-spacing: .03em; margin-top: 12px; }
.contact-page #mf-mail-form #form-title, .contact-page .result-lead { font-weight: 500; }
.contact-page #mf-mail-form .form-heading-note { font-size: 14px; font-weight: 400; line-height: 1.9; margin-top: 16px; }
.contact-page #mf-mail-form .form-group .inner, .contact-page .confirm-row { grid-template-columns: 215px minmax(0, 1fr); gap: 24px; padding: 26px 0; }
.contact-page #mf-mail-form .required .label-title::after { background: #b5323c; }
.contact-page #mf-mail-form input:not([type="checkbox"]):not([type="hidden"]), .contact-page #mf-mail-form select, .contact-page #mf-mail-form textarea { font-size: 16px; border-radius: 4px; }
.contact-page #mf-mail-form .label-title { font-size: 15px; }
.contact-page #mf-mail-form .label-caption { font-size: 12px; }
.contact-page #mf-mail-form .btn-submit, .contact-page .confirm-button-submit, .contact-page .result-button:not(.result-button-secondary) { background: linear-gradient(120deg, #096f9b, #07877f); border-radius: 4px; }
.contact-page #mf-mail-form .btn-submit { min-height: 58px; }
.contact-page .confirm-heading { margin-bottom: 36px; }
.contact-page .confirm-heading-en, .contact-page .result-heading-en { color: #087e92; font-family: "Poppins", sans-serif; font-size: 14px; letter-spacing: .18em; }
.contact-page .confirm-heading-ja, .contact-page .result-heading-ja { font-size: 28px; line-height: 1.6; margin-top: 14px; }
.contact-page .confirm-heading-lead { font-size: 16px; margin-top: 22px; }
.contact-page .confirm-heading-note { font-size: 14px; }
.contact-alternatives { padding: 64px 24px; background: #e7f3f2; color: #164852; }
.contact-other-inner { display: grid; grid-template-columns: 1fr 1.25fr; gap: 64px; max-width: 1040px; margin: auto; align-items: center; }
.contact-other-inner h2 { font-size: 25px; font-weight: 500; line-height: 1.65; margin: 12px 0; }
.contact-other-inner p:not(.contact-kicker) { font-size: 14px; }
.contact-other-inner ul { list-style: none; }
.contact-other-inner li + li { border-top: 1px solid #bfd8d7; }
.contact-other-inner a { display: grid; grid-template-columns: 60px minmax(0,1fr) 20px; gap: 12px; padding: 22px 0; color: #164852; text-decoration: none; align-items: center; }
.contact-other-inner a > span { font-size: 13px; }
.contact-other-inner strong { font-size: clamp(16px, 1.9vw, 21px); font-weight: 500; overflow-wrap: anywhere; }
.contact-other-inner a:hover { color: #087e92; text-decoration: underline; text-underline-offset: 5px; }
.contact-page :focus-visible { outline: 3px solid #096f9b; outline-offset: 4px; }
.contact-page .hero :focus-visible { outline-color: #fff; }
.contact-skip { position: fixed; top: 8px; left: 8px; padding: 12px 18px; color: #fff; background: #164852; font-size: 16px; z-index: 100; transform: translateY(-160%); }
.contact-skip:focus { transform: translateY(0); }
.contact-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 1023px) {
    .contact-page .hero header { align-items: flex-start; gap: 20px; }
    .contact-page .hero header .logo { flex-shrink: 0; }
    .contact-page .hero header nav ul { flex-wrap: wrap; }
    .contact-page .hero header nav ul li { padding: 5px 12px; }
    .contact-page .hero header nav ul li a { font-size: 13px; letter-spacing: 0; }
    .contact-page #mf-mail-form, .contact-page .confirm-container, .contact-page .result-container { padding: 40px 32px 48px; }
    .contact-page #mf-mail-form .form-group .inner, .contact-page .confirm-row { grid-template-columns: 185px minmax(0, 1fr); }
    .contact-other-inner { gap: 32px; }
}
@media (max-width: 767px) {
    .contact-page .hero.page .first-view { padding: 44px 20px 48px; }
    .contact-page .hero.page .first-view .inner .sentence p { font-size: 14px; text-align: left; }
    .contact-page .hero.page .first-view .inner .border { height: 22px; margin: 16px auto; }
    .contact-steps { gap: 18px; padding: 22px 12px; }
    .contact-steps li { flex-direction: column; gap: 8px; font-size: 12px; }
    .contact-steps li > span { width: 30px; height: 30px; }
    .contact-page .mf-form-shell { padding: 28px 12px 40px; }
    .contact-page #mf-mail-form, .contact-page .confirm-container, .contact-page .result-container { padding: 30px 20px 36px; }
    .contact-page .confirm-container, .contact-page .result-container { width: calc(100% - 24px); margin: 28px auto 40px; }
    .contact-page #mf-mail-form .form-group .inner, .contact-page .confirm-row { grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 22px 0; }
    .contact-page #mf-mail-form .form-group > .inner > label { min-height: 0; padding: 0; }
    .contact-page #mf-mail-form .form-heading-note { font-size: 13px; }
    .contact-page .confirm-heading-ja, .contact-page .result-heading-ja { font-size: 23px; }
    .contact-other-inner { grid-template-columns: minmax(0,1fr); gap: 18px; }
    .contact-other-inner h2 { font-size: 23px; }
    .contact-other-inner a { grid-template-columns: 48px minmax(0,1fr) 16px; gap: 8px; }
    .contact-alternatives { padding: 40px 24px; }
}
@media (prefers-reduced-motion: reduce) {
    .contact-page .hero *, .contact-page .hero *::before, .contact-page .hero *::after { animation: none !important; transition: none !important; }
}
