#contact-page #contact .content-wrapper {
    padding: 9.31rem 9.37rem 7.12rem;
}
#contact-page #contact .content-header,
#thanks-page #contact .content-header,
#confirm-page #contact .content-header {
    border-top: 1px solid var(--color-subtitle);
    padding-top: 6.25rem;
}
#contact-page #contact .content-header {
    width: 100%;
}

.contact-cards {
    display: flex;
    justify-content: space-between;
    gap: 2.5rem;
    margin: 4.5rem 0 0;
}

.contact-card {
    width: 100%;
    background-color: var(--color-white);
    box-shadow: 0px 3px 15px 0px rgba(0, 62, 92, 0.15);
    padding: 4rem 8rem 4rem;
}

#contact .company-info {
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 0.6rem;
    margin-top: 1.5rem;
}

#contact .company-name,
#contact .contact-message {
    font-size: var(--font-size-subtitle);
    color: var(--color-black-navy);
font-weight: 500;
line-height: 2.5rem; /* 133.333% */
letter-spacing: 0.0625rem;
text-align: center;
}
#contact .contact-message {
    margin-top: -1.25rem;
}

.company-address {
    font-size: var(--font-size-text);
    color: var(--color-black-navy);
    letter-spacing: 0.0625rem;
}

.company-phone {
    font-size: var(--font-size-text);
    color: var(--color-black-navy);
    letter-spacing: 0.0625rem;
}

.phone-number {
    color: var(--color-navy);
}

.corporate-banner {
    max-width: 100%;
    display: block;
    margin-top: 3.56rem;
    transition: opacity 0.3s ease;
}
@media (hover: hover) and (pointer: fine) {
    .corporate-banner:hover {
        opacity: 0.5;
    }
}

.contact-phone {
    font-size: 3.125rem;
    color: var(--color-navy);
    text-align: center;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    letter-spacing: 0.0625rem;
    margin-top: 3rem;
}

.contact-phone-icon {
    margin-right: 0.75rem;
    color: var(--color-navy);
}
.contact-phone svg {
    width: 2rem;
    margin: 0.5rem 0.75rem 0 0;
}   

.contact-hours {
    text-align: center;
    color: var(--color-black-navy);
    font-size: var(--font-size-text);
    margin-top: 1rem;
}

#contact .cta-button {
    margin: 0 auto;
    max-width: 23.1875rem;
    margin-top: 2.5rem;
}

#contact .cta-button .footer-arrow  {
    transition: transform ease .3s;
    margin-right: 0.5rem;
}
#contact .cta-button:hover .footer-arrow  {
    transform: translateX(0.5rem);
}

@media screen and (max-width: 1600px) {
    #contact .company-name,
    #contact .contact-message {
        font-size: 1.35rem;
    }
    .contact-phone {
        font-size: 2.5rem;
    }
}
@media screen and (max-width: 1500px) {
    .contact-card {
        padding: 4rem 4rem 4rem;
    }
    
    .contact-phone svg {
        width: 1.75rem;
        margin: 0.5rem 0.5rem 0 0;
    }
    .contact-phone {
        margin-top: 2rem;
        font-size: 2.5rem;
    }
    .corporate-banner {
        margin-top: 2.5rem;
    }

    #contact .company-name,
#contact .contact-message {
    font-size: 1.25rem;
}
}

@media screen and (max-width: 1280px) {
    .contact .content-wrapper {
        padding: 0 5rem;
    }
    .contact-cards {
        flex-direction: row;
    }
}
@media screen and (max-width: 1200px) {
    .contact-cards {
        margin: 0 8rem 4rem;
        flex-direction: column;
    }
    .contact-phone {
        font-size: 2.5rem;
        margin-top: 1.5rem;
    }
    .contact-phone svg {
        width: 1.5rem;
        margin: 0.5rem 0.5rem 0 0;
    }
    .contact-hours {
        margin-top: 0.5rem;
    }
    #contact .contact-message {
        line-height: 1.875rem;
        margin-top: 0;
    }
    .corporate-banner {
        margin-top: 2.5rem;
    }
    #contact .company-info {
        margin-top: 0.8rem;
    }
    #contact .cta-button {
        margin-top: 2.5rem;
    }
}

@media screen and (max-width: 1024px) {
    #contact .content-wrapper {
        padding: 7.5rem 7.5vw 2.5rem;
    }
    
    .contact-cards {
        gap: 1.5rem;
    }
    
    .contact-card {
        padding: 3rem 2.5rem;
    }
    
    .contact-title {
        font-size: 5rem;
    }
}

@media screen and (max-width: 768px) {
    #contact .content-wrapper {
        padding: 4.8rem 7.5vw 2.5rem;
    }
    .contact .content-wrapper {
        padding: 0 1.5rem;
        box-sizing: border-box;
    }
    #contact .description {
        text-align: center;
    }
    .contact-cards {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        margin: 0 auto;
    }
    .contact-card {
        max-width: 100%;
        box-sizing: border-box;
        padding: 3.13rem 2rem 2.75rem;
    }
    
    .contact-title {
        font-size: var(--font-size-ttl-en);
        margin-bottom: 0.5rem;
    }
    
    .contact-subtitle {
        font-size: var(--font-size-ttl-ja);
    }
    
    #contact.company-name {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    #contact .company-address, #contact .company-phone {
        font-size: var(--font-size-text);
    }
    
    #contact .contact-message {
        font-size: var(--font-size-text);
        margin-bottom: 1.5rem;
    }
    .corporate-banner {
        margin-top: 2.19rem;
    }
    .contact-phone {
        font-size: 1.875rem;
        margin-top: 2.6rem;
    }
    .contact-phone svg {
        width: 1.25rem;
        height: 1.6875rem;
        margin: 0.5rem 0.5rem 0 0;
    }
    .contact-hours {
        font-size: 0.8125rem;
        margin-top: 1rem;
    }
    .contact-button {
        font-size: var(--font-size-see-more-button);
        padding: 0.75rem 1.5rem;
    }
    #contact .cta-button {
        width: 100%;
        height: 4rem;
        max-width: 16.4375rem;
        padding: 1rem 1.19rem 0.94rem 2.2rem;
        font-size: 1rem;
        gap: 1rem;
    }
    .cta-button::before {
        width: 100%;
        max-width: 16.4375rem;
    }
    #contact .company-name,
    #contact .contact-message {
    font-size: var(--font-size-subtitle);
    color: var(--color-black-navy);
    font-weight: 500;
    line-height: 1.875rem; /* 150% */
    letter-spacing: 0.0625rem;
    text-align: center;
}
}

@media screen and (max-width: 1200px) {
  .contact-cards {
    flex-direction: column;
  }
  .contact-card:nth-child(3),
  .contact-card:nth-child(4) {
    display: none;
  }
  
  /* 1200px以下でfooter-navを非表示 */
  .footer-nav.pc-only {
    display: none !important;
  }
}

/* Footer section=============================================== */
.footer {
    background-color: var(--color-navy);
    padding: 8.15rem 0 1.15rem;
    color: var(--color-white);
}

.footer .content-wrapper {
    padding: 0 7.5vw;
}

.footer-top {
    display: flex;
    align-items: center;
    gap: 15vw;
    width: 100%;
}

.footer-logo {
    flex-shrink: 0;
}

.footer-logo img {
    width: 19rem;
}

.footer-tagline {
    font-size: 0.875rem;
    margin-bottom: 4rem;
}

.footer-nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5rem;
    flex-grow: 1;
}

.footer-nav-section h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: 0.0625rem;
}

.footer-nav-title {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: 0.0625rem;
    font-family:  "articulat-cf", sans-serif;
}

.footer-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav-item:not(:first-child) {
    margin-top: 1rem;
}

.footer-nav-link {
    color: var(--color-white);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0.05rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
}

.footer-nav-link span {
    position: relative;
    color: #B3CCD8;
}

.footer-nav-link span::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-white);
    transition: width 0.3s ease;
}
@media (hover: hover) and (pointer: fine) {
.footer-nav-link:hover span::after {
    width: 100%;
}

.footer-nav-link:hover span {
    color: var(--color-white);
}

}
.external-link-icon {
    width: 0.875rem;
    height: 0.875rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 1.44rem 2.81rem 0;
    border-top: 1px solid var(--color-white);
    margin-top: 6rem;
}

.footer-link {
    color: var(--color-white);
    text-decoration: none;
    font-size: 0.875rem;
    letter-spacing: 0.0625rem;
    position: relative;
    display: inline-flex;
}

.footer-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-white);
    transition: width 0.3s ease;
}
@media (hover: hover) and (pointer: fine) {
.footer-link:hover::after {
    width: 100%;
}
}
.copyright {
    font-size: 0.875rem;
    letter-spacing: 0.0625rem;
}


@media screen and (max-width: 1500px) {
    .footer-logo img {
        width: 14rem;
    }
    .footer-top {
        gap: 13vw;
        width: 100%;
    }

    .footer-nav {
        gap: 3rem;
    }
}
@media screen and (max-width: 1280px) {
    .footer .content-wrapper {
        padding: 0 5rem;
    }
    .footer-top {
        justify-content: center;
    }
    .footer {
        padding: 1.25rem 0 1.44rem;
    }
        .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        margin-top: 1.38rem;
    }
    
}

@media screen and (max-width: 1024px) {
    .footer .content-wrapper {
        padding: 0 3rem;
    }
}

@media screen and (max-width: 768px) {
    .footer {
        padding: 1.25rem 0 1.44rem;
    }

    .footer .content-wrapper {
        padding: 0 1.5rem;
    }

    .footer-top {
        flex-direction: column;
        gap: 2rem;
        margin-bottom: 0;
    }

    .footer-nav {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-link {
        font-size: 0.625rem;
        letter-spacing: 0.03125rem;
    }
    .footer-logo img {
        width: 10.5625rem;
        height: auto;
    }
    .copyright {
        font-size: 0.625rem;
        letter-spacing: 0.03125rem;
    }
}
