/* footer.css */

.l-footer {
    padding: 3.8rem 0 3rem;
    background-color: #f7f8fb;
    border-top: 1px solid #e2e5eb;
}

.l-footer__inner {
    display: flex;
    align-items: flex-start;
    gap: 3.8rem;
}

.l-footer__company {
    flex: 0 0 30rem;
}

.l-footer__logo {
    display: inline-block;
}

.l-footer__logo img {
    /* Shown at the image's own size (188 x 32). */
    width: auto;
    height: auto;
}

.l-footer__address {
    margin-top: 2.0rem;
    color: #333;
    font-size: 1.4rem;
    font-style: normal;
    line-height: 1.8;
}

.l-footer__contact-item {
    color: #333;
    font-size: 1.4rem;
    line-height: 1;
}

dl {
    margin: 0;
}

.l-footer__contact-item dt {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.l-footer__contact-item dd {
    margin: 0;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 1px;
}

.l-footer__contact-item a {
    color: inherit;
}

.l-footer__copyright {
    margin: 6.5rem 0 0;
    color: #777;
    font-size: 1.2rem;
    line-height: 1.6;
}

.l-footer__nav {
    display: grid;
    /* grid-template-columns: repeat(4, minmax(0, 1fr)); */
    flex: 1 1 auto;
    grid-template-columns: max-content max-content max-content 1fr;
}

.l-footer__nav-group {
    min-width: 0;
    padding: 0px 38px 0px 43px;
    border-left: 1px solid #d9dce3;
}

/* 最後の要素だけpaddingを変更 */
.l-footer__nav-group:last-child {
    padding: 0 0 0 37px;
    /* 例：右パディングを0にする場合 */
}

.l-footer__nav-title {
    margin: 0 0 1.5rem;
    color: #162187;
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.4;
}

.l-footer__nav-list {
    margin: 0;
    padding: 0;
}

.l-footer__nav-list li+li {
    margin-top: 1.2rem;
}

.l-footer__nav-list a {
    display: inline-flex;
    align-items: center;
    color: #333;
    font-size: 1.4rem;
    line-height: 1.5;
}

.l-footer__nav-list a::before {
    width: 0;
    height: 0;
    margin-right: 0.7rem;
    border-top: 0.2rem solid transparent;
    border-bottom: 0.2rem solid transparent;
    border-left: 0.3rem solid #162187;
    content: "";
}

@media screen and (max-width: 1000px) {
    .l-footer {
        padding: 4rem 2.0rem 2.4rem;
    }

    .l-footer__inner {
        display: block;
    }

    .l-footer__company {
        width: 100%;
    }

    .l-footer__nav {
        display: none;
    }
}

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

    .l-footer__address,
    .l-footer__contact-item {
        font-size: 1.3rem;
    }
}