.o-footer-nav {
    background-color: var(--bg-sub-color);
}

.o-footer-nav>ul {
    justify-content: center;
    margin: 0 auto;
    width: 82%;
    max-width: 1100px;
    text-align: center;
}

.o-footer-nav__item>p {
    font-weight: 900;
    background-color: #fff;
    pointer-events: none;
}

.o-footer-nav__item ul {
    font-weight: 700;
}

@media screen and (max-width: 767px) {
    .o-footer-nav {
        padding: calc(50 / var(--base-font-size-row-value) * 1rem) 0;
    }

    .o-footer-nav>ul {
        gap: calc(80 / var(--base-font-size-row-value) * 1rem);
    }

    .o-footer-nav__item+.o-footer-nav__item {
        margin-top: calc(50 / var(--base-font-size-row-value) * 1rem);
    }

    .o-footer-nav__item>p {
        font-size: calc(16 / var(--base-font-size-row-value) * 1rem);
        border: solid 2px #000;
        line-height: 2;
    }

    .o-footer-nav__item ul {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
        gap: calc(20 / var(--base-font-size-row-value) * 1rem);
        margin-top: calc(30 / var(--base-font-size-row-value) * 1rem);
        font-size: calc(16 / var(--base-font-size-row-value) * 1rem);
    }

    .o-footer-nav__item ul li {
        position: relative;
        padding-left: 1em;
        text-align: left;
    }

    .o-footer-nav__item ul li::before {
        content: "・";
        position: absolute;
        left: 0;
        top: 0;
    }

}

@media screen and (min-width: 768px) {
    .o-footer-nav {
        padding: calc(80 / var(--base-font-size-row-value) * 1rem) 0;
    }

    .o-footer-nav>ul {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: calc(80 / var(--base-font-size-row-value) * 1rem);
    }

    .o-footer-nav__item>p {
        font-size: calc(24 / var(--base-font-size-row-value) * 1rem);
        border: solid 3px #000;
        line-height: 1.8;
    }

    .o-footer-nav__item ul {
        display: flex;
        flex-direction: column;
        gap: calc(30 / var(--base-font-size-row-value) * 1rem);
        margin-top: calc(40 / var(--base-font-size-row-value) * 1rem);
        font-size: calc(18 / var(--base-font-size-row-value) * 1rem);
    }
}

/* フッダー
**********************/
.o-footer {
    position: relative;
    width: 100%;
    background-color: #fff;
    font-weight: 700;
    /* z-index: 2; */
}

.o-footer__inner {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: inherit;
}

.o-footer-logo {
    display: block;
}

.o-footer-copy {
    color: #666;
}

@media screen and (max-width: 767px) {
    .o-footer {
        padding: calc(20 / var(--base-font-size-row-value) * 1rem) 0 calc(20 / var(--base-font-size-row-value) * 1rem);
    }

    .o-footer-link {
        margin-bottom: calc(30 / var(--base-font-size-row-value) * 1rem);
        font-size: calc(12 / var(--base-font-size-row-value) * 1rem);
    }

    .o-footer-link ul {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1em;
    }

    .o-footer-link ul li {
        text-align: center;
    }

    .o-footer-logo {
        margin-bottom: calc(10 / var(--base-font-size-row-value) * 1rem);
        width: calc(160 / var(--base-font-size-row-value) * 1rem);
    }

    .o-footer-copy {
        font-size: calc(10 / var(--base-font-size-row-value) * 1rem);
    }
}

@media screen and (min-width: 768px) {
    .o-footer {
        padding: calc(40 / var(--base-font-size-row-value) * 1rem) 0;
    }

    .o-footer-link {
        margin-bottom: calc(40 / var(--base-font-size-row-value) * 1rem);
        font-size: calc(16 / var(--base-font-size-row-value) * 1rem);
    }

    .o-footer-link ul {
        display: flex;
    }

    .o-footer-link ul li {
        padding: 0 calc(20 / var(--base-font-size-row-value) * 1rem);
        line-height: 1;
    }

    .o-footer-link ul li:first-child {
        padding-left: 0;
    }

    .o-footer-link ul li:last-child {
        padding-right: 0;
    }

    .o-footer-link ul li+li {
        border-left: solid 1px #000;
    }

    .o-footer-logo {
        margin-bottom: calc(20 / var(--base-font-size-row-value) * 1rem);
    }

    .o-footer-logo img {
        width: calc(280 / var(--base-font-size-row-value) * 1rem);
        margin: 0 auto;
    }

    .o-footer-copy {
        font-size: calc(12 / var(--base-font-size-row-value) * 1rem);
    }
}



/* フッターナビ
**********************/
.c-footer-nav {
    padding: 30px 5%;
    background-color: var(--bg-sub-color);
}

.c-footer-nav__inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.c-footer-nav__title {
    font-weight: 700;
    margin-bottom: 15px;
}

.c-footer-nav__nav {
    font-size: 14px;
}

.c-footer-nav__nav>li {
    position: relative;
    border-top: 1px solid var(--chart-line-color);
}

.c-footer-nav__nav>li:last-child {
    border-bottom: 1px solid var(--chart-line-color);
}

.c-footer-nav__nav>li>a {
    display: block;
    padding: 15px 0;
    padding-right: 35px;

}

.c-footer-nav__nav>li a::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 5px;
    width: 18px;
    height: 18px;
    background-color: var(--text-tertiary-color);
    -webkit-mask-image: url(../images/svg/circle-arrow.svg);
    mask-image: url(../images/svg/circle-arrow.svg);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
    transform: translateY(-50%);
}

/* ホバー
**********************/
.c-banner ul li a:hover {
    opacity: 0.8;
}

.c-footer-nav__nav>li>a:hover {
    color: var(--primary-color);
}