/*
Theme Name: Kadence Child - Hoshin Diecast
Template: kadence
Version: 1.0.0
*/


/* ===========================================
   1. Base Typography
   =========================================== */

body,
h1, h2, h3, h4, h5, h6 {
    font-family: hiragino-kaku-gothic-pron, "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", 'Noto Sans JP', sans-serif;
}


/* ===========================================
   2. Layout Helpers
   =========================================== */

/* --- Half-contained: text contained, image full right --- */
.text-media > .kt-row-column-wrap,
.text-media--left > .kt-row-column-wrap {
    max-width: none;
    padding: 0;
}

.text-media > .kt-row-column-wrap > .wp-block-kadence-column:first-child {
    max-width: calc(500px + ((100vw - 1000px) / 2));
    margin-left: auto;
    padding-left: calc((100vw - 1000px) / 2);
}

.text-media--left > .kt-row-column-wrap > .wp-block-kadence-column:last-child {
    max-width: calc(500px + ((100vw - 1000px) / 2));
    margin-right: auto;
    padding-right: calc((100vw - 1000px) / 2);
}

/* --- Section Label - Watermark overlap --- */
.section-label-en {
    margin: -1rem 0 -2.5rem !important;
    font-family: arial, hiragino-kaku-gothic-pron, "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", 'Noto Sans JP', sans-serif;
    font-size: 5.938rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.06em;
    white-space: nowrap;
    color: rgba(0, 81, 128, 0.3);
}

.section-label-jp {
    z-index: 1;
}

.section-label-jp span {
    display: block;
}

.section-label-jp span:last-child {
    padding-left: 9.25rem;
}

/* --- Section tabs --- */
.section-tabs .kt-tabs-title-list {
    align-items: flex-end;
}

.section-tabs .kt-tab-title-active a {
    padding-bottom: 1.25rem !important;
}

/* --- Scrollable text box --- */
.scroll-text-box {
    max-height: 13.75rem;
    overflow-y: auto;
    padding: 0.938rem;
    border: 1px solid #333333;
}

@media screen and (max-width: 1024px) {
    .section-label-en {
        margin-bottom: -1.7rem !important;
        font-size: 4rem;
    }

    .section-label-jp span:last-child {
        padding-left: 5rem;
    }

    .section-tabs .kt-tab-title-active a {
        padding-bottom: 0.75rem !important;
    }
}


/* ===========================================
   3. Buttons
   =========================================== */

.btn-primary .kb-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    width: 20.813rem;
    padding: 0.875rem 2.5rem;
    font-size: 1.25rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    color: #ffffff;
    background: #005180;
    border: 2px solid #005180 !important;
    border-radius: 2rem !important;
    transition: all 0.3s ease;
}

.btn-primary .kb-button:hover {
    color: #005180;
    background: #ffffff;
    border: 2px solid #005180;
}


/* ===========================================
   4. Animations
   =========================================== */

.fade-in-left {
    opacity: 0;
    transform: translateX(-2.5rem);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-right {
    opacity: 0;
    transform: translateX(2.5rem);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-up {
    opacity: 0;
    transform: translateY(2.5rem);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-left.is-visible,
.fade-in-right.is-visible,
.fade-in-up.is-visible {
    opacity: 1;
    transform: translate(0);
}


/* ===========================================
   5. Header
   =========================================== */

.site-header-section-right .site-header-item:last-child {
    align-items: flex-start;
}

.header-navigation .current-menu-item a:hover {
    color: #005180 !important;
}

.header-cta-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 6.25rem;
    padding: 0.75rem 1.75rem;
    font-size: 1.125rem;
    line-height: 1.4;
    letter-spacing: 0.15em;
    color: #fff;
    text-decoration: none !important;
    border: 2px solid #1e507d;
    border-top: 0;
    background-color: #1e507d;
    border-radius: 0 0 0.75rem 0.75rem;
}

.header-cta-btn:hover {
    color: #005180;
    background-color: #ffffff;
}

@media screen and (max-width: 1024px) {
    .site-header-section-right .site-header-item:last-child {
        align-items: center;
    }

    /* Fix: Only highlight TOP as active on homepage */
    .menu-item.home-anchor-link.current-menu-item > a {
        font-weight: inherit !important;
        color: inherit !important;
    }

    #mobile-drawer .drawer-inner {
        width: 95%;
        margin: 0 auto;
        top: 0;
        left: 0;
    }
}


/* ===========================================
   6. Footer
   =========================================== */

.footer-company-info {
    display: flex;
    align-items: center;
    gap: 3.549rem;
}

.footer-logo img {
    width: 8.625rem;
    height: auto;
}

.footer-details {
    display: flex;
    flex-direction: column;
    margin-bottom: 0;
    font-style: normal;
}

.footer-details span {
    font-size: 1rem;
    line-height: 1.4;
    letter-spacing: 0.05em;
    color: #ffffff;
}

.footer-details .footer-company-name {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    color: #ffffff;
}

.footer-details span a {
    color: #ffffff;
    text-decoration: none;
}

.footer-details span a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.footer-details .footer-address-name {
    margin-bottom: 0.5rem;
}

.site-middle-footer-wrap .site-footer-middle-section-2 {
    padding-left: 3.75rem;
    border-left: 1px solid #ffffff;
}

/* --- Footer navigation --- */
.site-middle-footer-wrap .footer-navigation .menu {
    display: grid;
    grid-template-columns: auto auto auto;
    grid-template-rows: auto auto;
    gap: 0.5rem 2.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-middle-footer-wrap .footer-navigation .menu li:first-child {
    grid-column: 1;
    grid-row: 1 / 3;
}

.site-middle-footer-wrap .footer-navigation .menu li a {
    font-size: 0.8125rem;
    line-height: 2;
    color: #ffffff !important;
    text-decoration: none;
}

.site-middle-footer-wrap .footer-navigation .menu li a:hover {
    text-decoration: underline !important;
}

@media screen and (max-width: 1024px) {
    .footer-company-info {
        flex-direction: column;
        gap: 1rem;
    }

    .site-middle-footer-wrap .site-footer-middle-section-2 {
        padding-left: 0;
        border-left: none;
    }

    .site-middle-footer-wrap .footer-navigation .menu {
        gap: 0.5rem 1rem;
    }
}


/* ===========================================
   7. PAGE TOP Button
   =========================================== */

.page-top-btn {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.25rem 0.75rem 0.938rem;
    color: #fff;
    text-decoration: none;
    background-color: #333;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.page-top-btn img {
    width: 2.563rem;
}

.page-top-btn.is-visible {
    opacity: 1;
    visibility: visible;
}

.page-top-btn:hover {
    color: #ffffff;
    opacity: 0.8;
}

.page-top-arrow {
    font-size: 1.25rem;
    line-height: 1;
}

.page-top-text {
    margin-top: 0.313rem;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
}

@media screen and (max-width: 1024px) {
    .page-top-btn {
        right: 0.5rem;
        bottom: 0.5rem;
        padding: 0.625rem;
    }

    .page-top-btn img {
        width: 2rem;
    }

    .page-top-text {
        font-size: 0.5rem;
    }
}


/* ===========================================
   8. Hero Section
   =========================================== */

.hero-text-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    padding-right: 5rem;
}

.hero-en span,
.hero-ja span {
    display: block;
}

.hero-en span:last-child,
.hero-ja span:last-child {
    padding-left: 12.169rem;
}

.hero-text-wrapper .hero-en {
    margin: 0;
    font-family: arial, hiragino-kaku-gothic-pron, "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", 'Noto Sans JP', sans-serif;
    font-size: 3.75rem;
    font-weight: 900;
    line-height: 1.4164;
    letter-spacing: -0.06em;
    color: rgba(255, 255, 255, 0.3);
}

.hero-text-wrapper .hero-ja {
    margin-top: -8.25rem;
    margin-right: -1.25rem;
    font-size: 4.063rem;
    font-weight: 700;
    line-height: 1.3421;
    letter-spacing: 0;
    color: #ffffff;
}

@media screen and (max-width: 1024px) {
    .hero-text-wrapper {
        align-items: center;
        width: 100%;
        height: 80vh;
        padding: 0;
    }

    .hero-text-wrapper .hero-en,
    .hero-text-wrapper .hero-ja {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 80vh;
        margin: 0;
        padding: 0;
        font-size: 1.675rem;
    }

    .hero-text-wrapper .hero-ja {
        font-size: 2.4rem;
    }

    .hero-en span,
    .hero-ja span {
        position: absolute;
        padding: 0 !important;
        writing-mode: vertical-rl;
    }

    .hero-en span:nth-child(1) {
        top: 3.25rem;
        right: 1.25rem;
    }

    .hero-en span:last-child {
        left: 4.75rem;
        bottom: 2rem;
    }

    .hero-ja span:nth-child(1) {
        top: 3.25rem;
        right: 3.25rem;
    }

    .hero-ja span:last-child {
        left: 1.75rem;
        bottom: 1rem;
    }
}


/* ===========================================
   9. Homepage Sections
   =========================================== */

.home .site-header {
    background: rgba(255, 255, 255, 0.5) !important;
    position: absolute !important;
    width: 100% !important;
    z-index: 100;
}

/* --- Company & Work shared layout --- */
.home-company .kt-row-column-wrap,
.home-work .kt-row-column-wrap {
    max-width: none;
    padding: 0;
}

.home-company .kt-row-column-wrap > .wp-block-kadence-column:first-child,
.home-work .kt-row-column-wrap > .wp-block-kadence-column:first-child {
    max-width: calc(500px + ((100vw - 1000px) / 2));
    margin-left: auto;
    padding-left: calc((100vw - 1000px) / 2);
}

.home-work .kt-row-column-wrap > .wp-block-kadence-column:last-child {
    padding-right: calc((100vw - 1000px) / 2 - 5rem);
}

.home-company .section-label-jp {
    margin: 0 0 3rem !important;
}

.home-work .section-label-jp {
    margin: 0.75rem 0 3rem !important;
}

/* --- Message --- */
.home-message {
    border-radius: 2em;
}

.home-message .section-label-en {
    color: rgba(255, 255, 255, 0.20);
}

.home-message .section-label-jp {
    margin-top: 0;
    margin-bottom: 1.5rem !important;
}

/* --- News --- */
.home-news .section-label-jp {
    margin-top: 0 !important;
}

/* --- About (homepage) --- */
.home-about .section-label-jp {
    margin: 0 0 2.5rem !important;
}

/* --- About Info Table (homepage) --- */
.home-about-info table {
    width: 100%;
    font-size: 1rem;
    line-height: 1.5;
    letter-spacing: 0.1em;
    border-collapse: collapse;
}

.home-about-info th,
.home-about-info td {
    padding: 0.938rem 1.875rem 0.938rem 0;
    vertical-align: top;
}

.home-about-info th {
    font-weight: normal;
    white-space: nowrap;
    text-align: justify;
    text-align-last: justify;
    border-right: 2px solid #999999;
}

.home-about-info tbody tr:nth-child(1) th,
.home-about-info tbody tr:nth-child(1) td {
    padding-top: 0;
}

.home-about-info tbody tr:last-child th,
.home-about-info tbody tr:last-child td {
    padding-bottom: 0;
}

.home-about-info td {
    padding-right: 0;
    padding-left: 1.875rem;
}

.home-about-info .date {
    white-space: nowrap;
}

.home-about-info .multi-row td {
    padding-top: 0;
    padding-bottom: 0.625rem;
}

.home-about-info .multi-row--first td {
    padding-top: 0.938rem;
}

.home-about-info .multi-row--last td {
    padding-bottom: 0.938rem;
}

@media screen and (max-width: 1024px) {
    .home-company .kt-row-column-wrap > .wp-block-kadence-column:first-child,
    .home-work .kt-row-column-wrap > .wp-block-kadence-column:first-child,
    .text-media > .kt-row-column-wrap > .wp-block-kadence-column:first-child,
    .text-media--left > .kt-row-column-wrap > .wp-block-kadence-column:last-child {
        max-width: 1000px;
    }

    .home-company .section-label-en {
        margin-bottom: -1.125rem !important;
    }

    .home-company .section-label-jp,
    .home-work .section-label-jp {
        margin-bottom: 2rem !important;
    }

    .home-message {
        border-radius: 0;
    }

    .home-message .section-label-en {
        top: -5.5rem;
    }

    .home-message .section-label-jp {
        margin-bottom: 1rem !important;
    }

    .home-about-info table {
        font-size: 1rem;
    }

    .home-about-info th,
    .home-about-info td {
        padding: 0.938rem;
    }

    .home-about-info th {
        padding-left: 0;
        letter-spacing: 0;
        border-right: 1px solid #999999;
    }

    .home-about-info .multi-row td {
        display: block;
        width: 100%;
    }

    .home-about-info .multi-row .date {
        padding-bottom: 0;
    }

    .home-about-info .multi-row .date ~ td {
        padding-top: 0;
        padding-bottom: 1.25rem;
    }

    .home-about-info .multi-row--first td + td {
        padding-top: 0;
    }

    .home-about-info .multi-row--last .date ~ td {
        padding-bottom: 0.938rem;
    }
}


/* ===========================================
   10. Contact Section (shared)
   =========================================== */

.section-contact .section-label-jp {
    margin: 0 0 3rem !important;
}

.section-contact .contact-text {
    margin-bottom: 2.5rem;
    line-height: 2.25;
}

/* --- Phone Box --- */
.contact-phone-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 12.5rem;
    padding: 1.5rem;
    text-align: center;
    background-color: #ebebeb;
    border-radius: 1rem;
}

.contact-phone-label {
    margin-bottom: 1rem !important;
    padding: 0.175rem;
    font-size: 1.25rem;
    line-height: 2;
    letter-spacing: 0.06em;
    background: #ffffff;
}

.contact-phone-number {
    margin-bottom: 0 !important;
}

.contact-phone-number a {
    font-family: roboto-condensed, sans-serif;
    font-size: 2.375rem;
    font-weight: 700;
    line-height: 1.3684;
    letter-spacing: 0.06em;
    color: #333333;
    text-decoration: none;
}

.contact-phone-number a:hover {
    color: #005180;
    text-decoration: underline;
}

.contact-phone-hours {
    margin: 0;
    font-size: 0.875rem;
    color: #666;
}

/* --- Mail Box --- */
.contact-mail-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.75rem;
    min-height: 12.5rem;
    padding: 1.5rem;
    color: #333;
    text-decoration: none;
    background-color: #ebebeb;
    border-radius: 1rem;
    transition: all 0.3s ease;
}

.contact-mail-box:hover {
    color: #ffffff;
    background-color: #005180;
}

.contact-mail-icon {
    width: 3.813rem;
}

.contact-mail-text {
    font-size: 1.875rem;
    font-weight: 700;
    line-height: 1.3413;
    text-align: center;
}

.contact-mail-arrow {
    display: inline-block;
    width: 1.5625rem;  /* 25px */
    height: 2.625rem;  /* 42px */
}

.contact-mail-arrow svg {
    width: 100%;
    height: 100%;
}

.contact-mail-arrow svg path {
    fill: #005180;
    transition: fill 0.3s;
}

.contact-mail-box:hover .contact-mail-arrow svg path {
    fill: #fff;
}

@media screen and (max-width: 1024px) {
    .section-contact .section-label-en {
        font-size: 3.75rem;
    }

    .section-contact .section-label-jp {
        margin-bottom: 1.5rem !important;
    }

    .contact-phone-box {
        min-height: 10rem;
        padding: 1.25rem;
    }

    .contact-phone-label {
        margin-bottom: 0.625rem !important;
        font-size: 1rem;
    }

    .contact-phone-number a {
        font-size: 2rem;
    }

    .contact-phone-hours {
        font-size: 0.75rem;
    }

    .contact-mail-box {
        justify-content: space-between;
        gap: 1rem;
        min-height: 10rem;
        padding: 1.25rem;
    }

    .contact-mail-text {
        font-size: 1.25rem;
    }
}


/* ===========================================
   11. About Page
   =========================================== */

.about-product .section-label-jp {
    margin: 0 0 -0.7rem !important;
}

.about-tech .section-label-en {
    margin-bottom: -7.5rem !important;
}

.about-tech .section-label-jp {
    margin-top: 0 !important;
}

/* --- Product Gallery (Smart Slider) --- */
.about-gallery div#n2-ss-3 .n2-ss-slider-2 {
    border-radius: 3rem;
}

.about-gallery .n2-ss-slider-controls-side {
    margin-bottom: 1.25rem;
}

.about-gallery .nextend-thumbnail-inner {
    padding: 0 !important;
    background: transparent !important;
}

.about-gallery .nextend-thumbnail-scroller {
    display: flex !important;
    gap: 1.25rem;
}

.about-gallery .n2-thumbnail-dot {
    width: calc((100% - 2.5rem) / 3) !important;
    height: 15.625rem !important;
    margin: 0 !important;
    border-radius: 1rem !important;
}

.about-gallery .n2-thumbnail-dot picture {
    height: 15.625rem !important;
}

.about-gallery .n2-thumbnail-dot img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center;
}

.about-gallery .n2-thumbnail-dot::after {
    position: absolute;
    inset: 0;
    z-index: 1;
    content: '';
    background-color: rgba(0, 0, 0, 0.6);
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.about-gallery .n2-thumbnail-dot.n2-active::after,
.about-gallery .n2-thumbnail-dot:hover::after {
    opacity: 0;
}

.about-gallery div#n2-ss-3 .nextend-arrow {
    position: absolute;
    top: auto !important;
    bottom: -11rem;
    padding: 1rem;
    border: 2px solid #005180;
    border-radius: 50%;
}

.about-gallery div#n2-ss-3 .nextend-arrow:hover {
    background-color: rgba(0, 81, 128, 0.3);
}

.about-gallery div#n2-ss-3 .nextend-arrow-previous {
    left: -3rem !important;
}

.about-gallery div#n2-ss-3 .nextend-arrow-next {
    right: -3rem !important;
    left: auto !important;
}

.about-gallery .nextend-thumbnail-button {
    display: none !important;
}

@media screen and (max-width: 1024px) {
    .about-product .section-label-jp {
        margin-bottom: 0 !important;
    }

    .about-product .section-label-en {
        margin-bottom: -1.25rem !important;
    }

    .about-tech .section-label-en {
        margin-bottom: -3.8rem !important;
        font-size: 3rem;
    }

    .about-gallery .n2-ss-slider-controls-side {
        margin-bottom: 1rem;
    }

    .about-gallery .nextend-thumbnail-scroller {
        gap: 0.625rem;
    }

    .about-gallery .n2-thumbnail-dot {
        width: calc((100% - 1.8rem) / 3) !important;
        height: 9rem !important;
    }

    .about-gallery div#n2-ss-3 .nextend-arrow {
        bottom: -7.5rem;
        padding: 0.5rem;
    }

    .about-gallery div#n2-ss-3 .nextend-arrow-previous {
        left: -0.938rem !important;
    }

    .about-gallery div#n2-ss-3 .nextend-arrow-next {
        right: -0.938rem !important;
    }
}

@media screen and (max-width: 767px) {
    .about-gallery .n2-ss-slider-controls-side {
        margin-bottom: 0.75rem;
    }

    .about-gallery .n2-thumbnail-dot {
        width: calc((100% - 1.2rem) / 3) !important;
        height: 6rem !important;
    }

    .about-gallery div#n2-ss-3 .nextend-arrow {
        bottom: -5rem;
    }
}


/* ===========================================
   12. News Page
   =========================================== */

.news-archive .news-list {
    padding-left: 0;
    list-style-type: none;
}

.news-archive .news-list li {
    padding: 1.25rem 0.625rem;
    border-top: 1px solid #005180;
}

.news-archive .news-list li:last-child {
    border-bottom: 1px solid #005180;
}

.news-archive .news-list li a {
    display: flex;
    align-items: center;
    gap: 3.125rem;
    text-decoration: none;
}

.news-archive .news-list li.news-list-item--info a:hover {
    color: #005180;
}

.news-archive .news-list li.news-list-item--recruitment a:hover {
    color: #5ab446;
}

.news-cats {
    display: inline-flex;
    flex-direction: column;
    gap: 0.375rem;
}

.news-cat {
    padding: 0.313rem 0.819rem;
    font-size: inherit;
    line-height: 1;
    letter-spacing: 0.04em;
    color: #ffffff;
    border-radius: 0.313rem;
}

.news-cat--info {
    background-color: #005180;
}

.news-cat--recruitment {
    background-color: #5ab446;
}

/* --- News Single --- */
.news-details-meta .news-single-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
}

.news-details-meta .news-single-title {
    margin-top: 0.5rem;
    padding: 1.125rem 0.5rem;
    font-size: 1.25rem;
    letter-spacing: 0.04em;
    border-top: 2px solid #005180;
    border-bottom: 1px solid #005180;
}

@media screen and (max-width: 1024px) {
    .news-archive .news-list li {
        padding: 0.625rem;
    }

    .news-archive .news-list li a {
        display: block;
    }

    .news-cats {
        flex-direction: row;
        margin-right: 0.313rem;
    }

    .news-cat {
        padding: 0.313rem 0.625rem;
    }

    .news-title {
        display: block;
    }
}


/* ===========================================
   13. Contact Form (CF7)
   =========================================== */

.contact-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 3rem;
    margin-bottom: 2rem;
}

.wpcf7 form p {
    margin-bottom: 1.5rem;
}

.wpcf7 form p > br {
    display: none;
}

.wpcf7 label {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    color: #3e3a39;
}

.wpcf7 label .en-label {
    font-weight: 400;
    color: #9f9d9c;
}

.wpcf7 label .required {
    padding: 0 0.5rem;
    font-size: 0.75rem;
    color: #ffffff;
    background-color: #e53e3e;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 select,
.wpcf7 textarea {
    font-size: 1rem;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 select,
.wpcf7 textarea {
    width: 100%;
    padding: 0.2rem 0.75rem;
    background-color: #fff;
    border: 1px solid #333333;
    border-radius: 0;
}

.wpcf7 textarea {
    height: 100%;
    min-height: 20rem;
    resize: vertical;
}

.wpcf7-form select option:first-child {
    color: #ebebeb;
}

.contact-form-consent {
    margin: 2.5rem 0 1rem;
    text-align: center;
}

.contact-form-consent a {
    color: #29abe2;
    text-decoration: none;
}

.contact-form-consent a:hover {
    color: #005180;
}

.contact-form-submit {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-form-submit p {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-form-submit .wpcf7-spinner {
    margin-top: 0.938rem;
}

.wpcf7 input[type="submit"] {
    padding: 0.938rem 5rem;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #e50012;
    cursor: pointer;
    background-color: #faccd0;
    border: 2px solid #e50012;
    border-radius: 0;
    transition: opacity 0.3s ease;
}

.wpcf7 input[type="submit"]:hover {
    opacity: 0.8;
}

.wpcf7-list-item {
    margin: 0;
}

@media screen and (max-width: 1024px) {
    .contact-form-grid {
        grid-template-columns: 1fr;
    }

    .contact-form-left {
        margin-bottom: 1.5rem;
    }

    .wpcf7 .contact-form-consent label {
        gap: 0.313rem;
    }
}