@charset "utf-8";
/* ==================================================
   Footer
================================================== */

.footer {
    width: 100%;
    padding: 70px 20px;
    background: #fff0b8;
}

.footer__inner {
    position: relative;
    display: grid;
    grid-template-columns: 420px 1fr 360px;
    gap: 3rem;
    width: min(100%, 1420px);
    min-height: 390px;
    margin: 0 auto;
    padding: 50px 3rem 55px;
    background: #ffca05;
    border-radius: 24px;
}


/* ==================================================
   Company
================================================== */

.footer__company {
    padding-right: 2.5rem;
    border-right: 1px solid #10294b;
}

.footer__logo-text {
    margin: 0 0 2rem;
    height: auto;
    display: block;
    max-width: 240px;
}

.footer__company-list {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 1rem;
    margin-top: 2rem;
}

.footer__company-list dt {
    margin: 0;
    color: #10294b;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.6;
}

.footer__company-list dd {
    margin: 0;
    color: #10294b;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.6;
}

.footer__company-list a {
    color: #10294b;
    text-decoration: none;
}


/* ==================================================
   Footer Navigation
================================================== */

.footer__nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding-top: 3px;
}

.footer__nav a {
    color: #10294b;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer__nav a:hover {
    opacity: 0.6;
}

.footer__nav a:nth-child(1),
.footer__nav a:nth-child(4),
.footer__nav a:nth-child(5),
.footer__nav a:nth-child(8) {
    font-size: 18px;
    font-weight: 700;
}


/* ==================================================
   Footer Contact
================================================== */

.footer__contact {
    width: 360px!important;
    padding-top: 5px;
}

/* 既存CTAをフッター幅に合わせる */

.footer__contact .conversion__label {
    width: 300px;
    max-width: 100%;
    margin-inline: auto;
  position: relative;
  top: 1rem;
  z-index: 10;
}

.footer__contact .conversion__button {
    width: 100%;
    height: 100px;
    border-radius: 10px;
}

.footer__contact a {
    width: 100%!important;
}

.footer__contact .conversion__button-title {
    font-size: 24px;
}

.footer__contact .conversion__tel {
    width: 100%;
    min-height: 50px;
    margin-top: 10px;
}

.footer__contact .conversion__tel-text {
    font-size: 12px;
}

.footer__contact .conversion__tel-number {
    font-size: 24px;
}

.footer__contact .conversion__tel-time {
    font-size: 10px;
}


/* ==================================================
   Copyright
================================================== */

.footer__copyright {
    position: absolute;
    right: 65px;
    bottom: 28px;
    margin: 0;
    color: #10294b;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.5;
}


/* ==================================================
   1200px以下
================================================== */

@media screen and (max-width: 1200px) {

    .footer__inner {
        grid-template-columns: 280px 1fr 380px;
        gap: 40px;
        padding-inline: 45px;
    }

    .footer__company {
        padding-right: 30px;
    }

    .footer__logo-text {
        font-size: 24px;
    }

    .footer__company-list {
        grid-template-columns: 75px 1fr;
        gap: 13px 10px;
    }

    .footer__contact .conversion__button-title {
        font-size: 21px;
    }
}


/* ==================================================
   Tablet
================================================== */

@media screen and (max-width: 1024px) {

    .footer {
        padding: 60px 20px;
    }

    .footer__inner {
        grid-template-columns: 1fr 1fr;
        gap: 45px 40px;
        padding: 45px 40px 80px;
    }

    .footer__company {
        padding-right: 35px;
    }

    .footer__contact {
        grid-column: 1 / -1;
        width: min(100%, 520px)!important;
        margin: 0 auto;
    }
    .footer__copyright {
        right: 40px;
        bottom: 25px;
    }
}


/* ==================================================
   SP
================================================== */

@media screen and (max-width: 767px) {

    .footer {
        padding: 40px 15px;
    }

    .footer__inner {
        display: flex;
        flex-direction: column;
        gap: 35px;
        min-height: 0;
        padding: 35px 25px 75px;
        border-radius: 16px;
    }


    /* Company */

    .footer__company {
        width: 100%;
        padding: 0 0 30px;
        border-right: 0;
        border-bottom: 1px solid #10294b;
    }

    .footer__logo-text {
        margin-bottom: 22px;
        font-size: 22px;
    }

    .footer__company-list {
        grid-template-columns: 80px 1fr;
        gap: 12px 10px;
    }

    .footer__company-list dt,
    .footer__company-list dd {
        font-size: 14px;
    }


    /* Navigation */

    .footer__nav {
        width: 100%;
        gap: 14px;
    }

    .footer__nav a {
        font-size: 14px;
    }

    .footer__nav a:nth-child(1),
    .footer__nav a:nth-child(4),
    .footer__nav a:nth-child(5),
    .footer__nav a:nth-child(8) {
        font-size: 14px;
    }


    /* Contact */

    .footer__contact {
        width: 100%;
        margin: 0;
    }

    .footer__contact .conversion__label {
        width: min(85%, 330px);
    }

    .footer__contact .conversion__button {
        width: 100%;
        height: 88px;
    }

    .footer__contact .conversion__button-title {
        font-size: 20px;
    }

    .footer__contact .conversion__button-text {
        font-size: 10px;
    }

    .footer__contact .conversion__tel {
        width: 100%;
    }

    .footer__contact .conversion__tel-text {
        font-size: 10px;
    }

    .footer__contact .conversion__tel-number {
        font-size: 20px;
    }


    /* Copyright */

    .footer__copyright {
        right: 25px;
        bottom: 25px;
        font-size: 10px;
    }
}


/* ==================================================
   Small SP
================================================== */

@media screen and (max-width: 480px) {

    .footer {
        padding-inline: 10px;
    }

    .footer__inner {
        padding-inline: 20px;
    }

    .footer__logo-text {
        font-size: 20px;
    }

    .footer__company-list {
        grid-template-columns: 72px 1fr;
    }
}