/*---------------------------
 img
---------------------------*/
img {
    height: auto;
    max-width: 100%;
    vertical-align: bottom
}

@media (min-width:768px) {
    img {
        image-rendering: -webkit-optimize-contrast
    }
}

/*---------------------------
 header
---------------------------*/
.o-header {
    background-color: #fff
}

.o-header_inner {
    margin: 0 auto;
    max-width: 1920px;
    padding: 1.5625rem 1.25rem;
    width: 100%
}

.o-header-logo {
    display: block;
    position: relative;
    width: 8.4375rem;
    z-index: var(--z-floating-second)
}

@media (min-width:768px) {
    .o-header-logo {
        width: 10.625rem
    }
}

/*---------------------------
 footer
---------------------------*/
.o-footer {
    background-color: #f5f5f5;
    padding: 1.5625rem 1.25rem;
    position: relative
}

@media (min-width:768px) {
    .o-footer {
        background-color: #fff;
        border-top: 1px solid #ccc;
        padding: 1.25rem
    }

    .o-footer-inner {
        align-items: center;
        display: flex;
        flex-wrap: wrap;
        margin: 0 auto;
        max-width: 95rem;
        min-width: auto;
        row-gap: 1.25rem;
        width: 100%
    }

    .o-footer-inner>:first-child {
        flex: 1
    }

    .o-footer-link-wrap {
        align-items: center;
        display: flex
    }
}

.o-footer-list {
    display: flex;
    flex-wrap: wrap
}

.o-footer-list li {
    line-height: 1
}

.o-footer-list li:first-child {
    margin-right: 1.5625rem
}

.o-footer-list li:nth-child(n+3) {
    margin-top: 1.875rem
}

.o-footer-list li:last-child {
    width: 100%
}

.o-footer-list a {
    font-size: 1.4rem;
    text-decoration: none;
    padding-right: 1.1rem;
    position: relative
}

.o-footer-list a:after {
    border-right: 2px solid #ccc;
    border-top: 2px solid #ccc;
    content: "";
    height: 6px;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 6px
}

@media (min-width:768px) {
    .o-footer-list {
        align-items: center;
        display: flex;
        flex-wrap: nowrap;
        margin-right: 1.5625rem
    }

    .o-footer-list li {
        white-space: nowrap
    }

    .o-footer-list li:nth-child(n+3) {
        margin-top: 0
    }

    .o-footer-list li:last-child {
        width: auto
    }

    .o-footer-list li:not(:last-child) {
        margin-right: 3.75rem
    }

    .o-footer-list a {
        font-size: 1.2rem;
        padding: 0
    }

    .o-footer-list a:after {
        content: none
    }
}

@media (any-hover:hover) {
    .o-footer-list a:hover {
        text-decoration: underline
    }
}

.o-footer-icon-list {
    align-items: center;
    column-gap: 2.1875rem;
    display: grid;
    grid-template-columns: 2.375rem 2.375rem 2.9375rem;
    justify-content: center;
    margin-top: 1.875rem
}

.o-footer-icon-list>li:first-child {
    padding-right: .3125rem
}

@media (min-width:768px) {
    .o-footer-icon-list {
        column-gap: .625rem;
        grid-template-columns: 1.8125rem 1.8125rem 2.125rem;
        justify-content: flex-start;
        margin-right: 1.875rem;
        margin-top: 0
    }
}

.o-footer-copy {
    font-family: Meiryo, Arial, Helvetica, Tahoma, sans-serif;
    font-size: 1.0rem;
    font-weight: 700;
    line-height: 1;
    margin-top: 1.875rem;
    text-align: center
}

@media (min-width:768px) {
    .o-footer-copy {
        font-size: 1.2rem;
        margin-top: 0;
        text-align: left
    }
}

.a-go-top {
    height: 2.8125rem;
    position: absolute;
    right: 0;
    top: 0;
    transform: translateY(-100%);
    width: 2.8125rem
}

.a-go-top a {
    align-items: center;
    background-color: var(--color-main);
    color: #fff;
    display: flex;
    flex-direction: column;
    font-size: .75rem;
    height: 100%;
    justify-content: center;
    line-height: 1.2;
    transition: .3s;
    width: 100%
}

.a-go-top svg {
    height: .625rem;
    width: 1rem
}

@media (min-width:768px) {
    .a-go-top {
        height: 5rem;
        width: 5rem
    }

    .a-go-top svg {
        height: 1.125rem;
        width: 1.75rem
    }
}

@media (any-hover:hover) {
    .a-go-top a:hover {
        opacity: .7
    }
}