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

.l-footer {
    background: var(--color-bg);
    padding-bottom: 0;
    width: calc(100% - 40px);
    margin-inline: auto;
}

.l-footer__outer {
    background: var(--color-bg-ac-beige);
    border-radius: var(--radius-xl);
    padding: 72px 20px 60px;
}


.l-footer__inner {
    max-width: 1240px;
    margin-inline: auto;
    display: grid;
    grid-template-columns: 235px 1fr;
    gap: 60px;
    font-family: var(--font-base);
    color: var(--color-text-base);
}

.l-footer__logo img {
    width: 200px;
    display: block;
}

.l-footer__brand {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.l-footer__text {
    font-size: 13px;
    line-height: 1.8;
    color: #777777;
    white-space: nowrap;
}

.l-footer__tel {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-text-regular);
    font-size: 28px;
    font-weight: 500;
    line-height: 1;
    text-decoration: none;
    margin-top: 10px;
}

.l-footer__telIcon {
    display: block;
    width: 25px;
    height: 25px;
    object-fit: contain;
}

.l-footer__tel:hover {
    color: var(--color-text-regular);
}

.l-footer__nav {
    display: flex;
    gap: 40px;
    align-items: start;
}

.l-footer__navList {
    display: grid;
    gap: 18px;
}

.l-footer__navItem {
    font-weight: 600;
    color: var(--color-text-base);
    font-size: 15px;
    position: relative;
    padding-left: 20px;
    display: inline-block;
}

.l-footer__navItem::before {
    content: '';
    top: 50%;
    left: 0;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--color-accent-yellow);
    display: inline-block;
    position: absolute;
    transform: translateY(-50%);
}

.l-footer__subList {
    display: grid;
    gap: 11px;
    margin-top: 18px;
    margin-left: 20px;
}

.l-footer__subItem a {
    font-size: 13px;
    font-weight: 500;
    color: var(--color-text-base);
    position: relative;
    padding-left: 20px;
}

.l-footer__subItem a::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%) rotate(45deg);
    width: 8px;
    height: 8px;
    border-top: 2px solid var(--color-accent-blue);
    border-right: 2px solid var(--color-accent-blue);
}

.l-footer__snsList {
    display: flex;
    gap: 12px;
    align-items: center;
    padding-left: 10px;
    margin-top: 18px;
}

.l-footer__copy {
    padding: 12px;
    text-align: center;
    color: var(--color-white);
    background: var(--color-accent-blue);
    font-size: 13px;
    font-weight: 600;
    width: 100vw;
    margin-inline: calc(50% - 50vw);
}

#Custom_pagetop {
    width: 52px;
    height: 52px;
    display: block;
    position: fixed;
    bottom: 10px;
    right: 10px;
    background: rgba(222, 222, 222, 0.5);
    cursor: pointer;
    border-radius: 30px;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

#Custom_pagetop.is-show {
    opacity: 1;
    visibility: visible;
}

@media screen and (max-width: 600px) {
    #Custom_pagetop {
        bottom: 25px;
        right: 25px;
    }
}

#Custom_pagetop a {
    position: relative;
    width: 52px;
    height: 52px;
    display: block;
}

#Custom_pagetop a i {
    font-size: 30px;
    position: absolute;
    top: 0;
    bottom: 6px;
    right: 0;
    left: 0;
    margin: auto;
    width: 100%;
    height: 100%;
    text-align: center;
    color: #ffffff;
    display: grid;
    place-content: center;

}

.c-fixedCta {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transform: translateY(100%);
    transition: .3s;
    z-index: 700;
}


.c-fixedCta__button {
    flex: 1;
    display: grid;
    place-items: center;
    color: var(--color-white);
    font-weight: 700;
    text-decoration: none;
    padding: 5px 10px;
    border-radius: 3px;
    height: 40px;
}


/* ==========================================
   Responsive
========================================== */
@media screen and (max-width: 1024px) {
    .l-footer__inner {
        grid-template-columns: 1fr;
    }

    .l-footer__outer {
        padding: 60px 30px;
    }
}
@media screen and (max-width: 768px) {
    .l-footer{
        width: calc(100% - 40px);
        margin-inline: auto;
    }
    .l-footer__tel {
        font-size: 18px;
    }

    .l-footer__telIcon {
        width: 18px;
        height: 18px;
    }
    .l-footer__brand {
        margin-bottom: 30px;
    }

    .l-footer__outer {
        padding: 30px 20px 50px;
        margin-bottom: 30px;
    }

    .l-footer__inner {
        grid-template-columns: 1fr;
        gap: 0;

    }

    .l-footer__text {
        font-size: 12px;
    }

    .l-footer__navItem {
        font-size: 14px;
    }

    .l-footer__subItem a {
        font-size: 12px;
    }

    .l-footer__nav {
        flex-direction: column;
        gap: 18px;
    }

    .l-footer__subList {
        margin-top: 8px;
        gap: 4px;
    }

    .l-footer__subItem a {
        font-weight: 400;
    }

    .l-footer__snsList {
        margin-top: 8px;
    }

}