.contact .footer-contact {
    display: none;
}

.contact #main.contact-main {
    margin-bottom: 0;
}

.contact .contact-heading {
    max-width: 1080px;
    padding: 70px 40px 38px;
}

.contact #pagepath {
    margin: 0 0 32px;
}

.contact .contact-heading h1 {
    width: max-content;
    padding-bottom: 8px;
    color: #232323;
    font-family: "Bahnschrift Condensed", "DIN Condensed", "Arial Narrow", sans-serif;
    font-size: clamp(48px, 4.5vw, 72px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: .08em;
    text-align: left;
}

.contact-lead {
    margin-top: 28px;
    line-height: 2;
}

.contact-content {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 40px 100px;
    font-size: 16px;
    line-height: 1.8;
}

.contact-steps {
    display: flex;
    gap: 12px;
    margin: 0 0 48px;
    padding: 0;
    list-style: none;
}

.contact-steps li {
    flex: 1;
    padding: 15px 10px;
    border-bottom: 2px solid #ddd;
    color: #767676;
    text-align: center;
}

.contact-steps li[aria-current] {
    border-color: #171717;
    color: #171717;
    font-weight: 700;
}

.contact-steps span {
    margin-right: 12px;
    font-size: 13px;
}

.contact-help {
    margin: 0 0 22px;
    font-size: 14px;
}

.contact-row {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    align-items: start;
    gap: 24px;
    margin: 0;
    padding: 28px 0;
    border: 0;
    border-top: 1px solid #ddd;
    min-width: 0;
}

.contact-row > label,
.contact-radio-row legend {
    padding-top: 12px;
    font-weight: 700;
}

.contact-required,
.contact-optional {
    display: inline-block;
    margin-left: 12px;
    padding: 0 7px;
    font-size: 11px;
    font-weight: 400;
    line-height: 22px;
    vertical-align: middle;
}

.contact-required {
    background: #171717;
    color: #fff;
}

.contact-optional {
    background: #eee;
    color: #555;
}

.contact-help .contact-required {
    margin: 0 7px 0 0;
}

.contact-control input:not([type="radio"]),
.contact-control select,
.contact-control textarea {
    display: block;
    width: 100%;
    max-width: 100%;
    padding: 13px 15px;
    border: 1px solid #b5b5b5;
    border-radius: 2px;
    background: #fff;
    color: #171717;
    font: inherit;
    line-height: 1.6;
}

.contact .contact-control select {
    appearance: auto;
}

.contact-control textarea {
    resize: vertical;
    min-height: 170px;
}

.contact-content :is(input, select, textarea, button, a):focus-visible {
    outline: 3px solid #476a8d;
    outline-offset: 3px;
}

.contact-radio-row {
    display: block;
    position: relative;
}

.contact-radio-row legend {
    float: left;
    width: 240px;
    margin-right: 24px;
}

.contact-radio-options {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 24px;
    margin-left: 264px;
    padding: 10px 0;
}

.contact-radio-options label,
.contact-consent label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.contact-content input:is([type="radio"], [type="checkbox"]) {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin: 0;
    accent-color: #171717;
}

.contact-consent {
    padding: 34px 0;
    border-top: 1px solid #ddd;
    text-align: center;
}

.contact-consent a {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.contact-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 15px;
}

.contact-button {
    --contact-button-text-animation: btn_white_hover;
    --contact-button-arrow-animation: btn_white_image;
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 330px;
    max-width: 100%;
    min-height: 62px;
    padding: 14px 60px;
    border: 2px solid #232323;
    border-radius: 0;
    background: #232323;
    color: #fff;
    font-family: 'Oswald', sans-serif;
    font-size: 2rem;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: .1em;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}

.contact-button::before {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: #fff;
    transform: scaleX(0);
    transform-origin: left center;
    pointer-events: none;
    content: '';
}

.contact-button::after {
    position: absolute;
    top: 0;
    right: 30px;
    z-index: 2;
    width: 32px;
    height: 100%;
    background: url(../site/img/common/icon02.png) no-repeat right center;
    pointer-events: none;
    content: '';
}

.contact-button > span {
    position: relative;
    z-index: 2;
}

.contact-button--secondary {
    --contact-button-text-animation: btn_black_hover;
    --contact-button-arrow-animation: btn_black_image;
    background: #fff;
    color: #232323;
}

.contact-button--secondary::before {
    background: #232323;
}

.contact-button--secondary::after {
    right: auto;
    left: 30px;
    background-image: url(../site/img/common/icon03.png);
    transform: scaleX(-1);
}

.contact-button:disabled {
    opacity: .6;
    cursor: wait;
}

.contact-button:disabled::after {
    display: none;
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .contact-button:not(:disabled):is(:hover, :focus-visible)::before {
        animation: btn_hover .6s cubic-bezier(.04, .435, .315, .9) both;
    }

    .contact-button:not(:disabled):is(:hover, :focus-visible)::after {
        animation: var(--contact-button-arrow-animation) .6s cubic-bezier(.04, .435, .315, .9) both;
    }

    .contact-button:not(:disabled):is(:hover, :focus-visible) > span {
        animation: var(--contact-button-text-animation) .6s cubic-bezier(.04, .435, .315, .9) both;
    }
}

.contact a.contact-button:link,
.contact a.contact-button:visited,
.contact a.contact-button:hover {
    color: #fff;
}

.contact-alert {
    padding: 20px 24px;
    margin: 0 0 28px;
    border-left: 4px solid #a32222;
    background: #fff3f3;
    color: #8e1e1e;
}

.contact-alert ul {
    margin: 8px 0 0;
    padding-left: 20px;
    list-style: disc;
}

.contact-field-error {
    margin: 8px 0 0;
    color: #a32222;
    font-size: 14px;
    line-height: 1.6;
}

.contact-alert[hidden],
.contact-field-error[hidden] {
    display: none;
}

.contact-control :is(input, select, textarea)[aria-invalid="true"] {
    border-color: #a32222;
    background-color: #fff7f7;
}

.contact-radio-options .contact-field-error {
    flex-basis: 100%;
    margin: 0;
}

.contact-content input:is([type="radio"], [type="checkbox"])[aria-invalid="true"] {
    box-shadow: 0 0 0 2px #a32222;
}

.contact-row,
.contact-consent {
    scroll-margin-top: 24px;
}

.contact-section-title {
    margin: 0 0 12px;
    font-size: 22px;
}

.contact-confirm {
    margin: 28px 0 38px;
}

.contact-confirm > div {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 24px;
    padding: 24px 0;
    border-bottom: 1px solid #ddd;
}

.contact-confirm dt {
    font-weight: 700;
}

.contact-confirm dd {
    margin: 0;
    overflow-wrap: anywhere;
}

.contact-result {
    padding: 25px 0 20px;
    text-align: center;
}

.contact-result h2 {
    margin-bottom: 20px;
    font-size: 24px;
}

.contact-result .contact-button {
    margin-top: 30px;
}

.contact-result__mark {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    margin: 0 auto 26px;
    border: 1px solid #171717;
    border-radius: 50%;
    font-size: 30px;
}

.contact-receipt {
    margin-top: 20px;
    font-size: 14px;
    overflow-wrap: anywhere;
}

.contact-trap {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

@media (max-width: 896px) {
    .contact .contact-control select {
        height: auto;
        min-height: 54px;
    }

    .contact-button {
        width: 226px;
        max-width: 226px;
        min-height: 54px;
        padding: 13px 40px;
        font-size: 1.6rem;
    }

    .contact-button::after {
        right: 18px;
        background-size: 20px auto;
    }

    .contact-button--secondary::after {
        right: auto;
        left: 18px;
    }

    .contact #container {
        padding-top: 0;
    }

    .contact #gHeader {
        position: relative;
        height: 78px;
    }

    .contact #gHeader .hBox {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        height: 78px;
        padding: 0 20px;
    }

    .contact #gHeader .hBox h1 img {
        width: 155px;
    }

    .contact .menu-toggle {
        display: grid;
        gap: 5px;
        border: 0;
        background: none;
        padding: 8px;
    }

    .contact .menu-toggle span {
        display: block;
        width: 26px;
        height: 2px;
        background: #171717;
    }

    .contact #gNavi {
        display: none;
        position: absolute;
        top: 78px;
        left: 0;
        right: 0;
        flex-direction: column;
        padding: 28px 24px;
        background: #fff;
    }

    .contact.menu-open #gNavi {
        display: flex;
    }
}

@media (max-width: 700px) {
    .contact .contact-heading {
        padding: 45px 20px 24px;
    }

    .contact-lead {
        margin-top: 20px;
        font-size: 15px;
    }

    .contact-content {
        padding: 0 20px 65px;
    }

    .contact-steps {
        margin-bottom: 30px;
    }

    .contact-row,
    .contact-confirm > div {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
        padding: 20px 0;
    }

    .contact-row > label,
    .contact-radio-row legend {
        padding: 0;
    }

    .contact-radio-row legend {
        float: none;
        width: auto;
        margin: 0 0 12px;
        padding-top: 20px;
    }

    .contact-radio-options {
        margin-left: 0;
        padding: 0;
    }

    .contact-radio-row {
        padding-top: 0;
    }

    .contact-button,
    .contact-actions form {
        width: 100%;
        min-width: 0;
    }

    .contact-actions {
        flex-direction: column-reverse;
        align-items: center;
    }

    .contact-actions form,
    .contact-actions > .contact-button {
        max-width: 226px;
    }

    .contact-result h2 {
        font-size: 21px;
    }
}
