/* #region Header -------------------- */
.l-header-nav__ul {
    display: flex;
    gap: 24px;

    .l-header-nav__a {
        transition: opacity 0.3s ease-in-out;
        &:hover {
            opacity: 0.6;
        }
    }

    /*# 第1階層 */
    .l-header-nav__a.--d0 {
        font-size: 3.06rem;
        color: #2a2d40;

        #head_wrap_index & {
            color: white;
        }
    }

    /*# 第2階層 */
    .l-header-nav__li.--d0 {
        position: relative;

        .l-header-nav__sub-outer {
            position: absolute;
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease-in-out;
            padding-top: 0.5em;
            min-width: 100%;

            .l-header-nav__sub-inner {
                padding: 1em 1em 1.5em 1em;
                width: 100%;
                background-color: #ff8c41;
                white-space: nowrap;
            }

            .l-header-nav__li.--d1 {
                &:not(:last-child) {
                    margin-bottom: 0.5em;
                }
            }
            .l-header-nav__a.--d1 {
                color: white;
                font-weight: bold;
                font-size: 14px;
            }
        }
    }
}

/* #endregion -------------------- */
/* #region Drawer -------------------- */
#drawer_container {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    background-color: #ff8c41;
    color: white;
    transition: transform 0.3s ease-in-out;
    transform: translateX(100%);
    z-index: 6;
    padding: 80px 2em 2em;
    overflow: auto;
    display: flex;
    flex-direction: column;
    gap: 2em;

    &.active {
        transform: translateX(0);
    }

    @media only screen and (max-width: 734px) {
        width: 100%;
    }
}

.l-drawer-nav__li {
    &.--d0 {
        transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;

        &:not(:last-child) {
            margin-bottom: 0.5em;
        }
    }

    &.--d1 {
        &:not(:last-child) {
            margin-bottom: 0.5em;
            border-bottom: 1px solid white;
            padding-bottom: 0.5em;
        }
    }
}

#drawer_container:not(.active) .l-drawer-nav__li.--d0 {
    transform: translateX(2em);
    opacity: 0;
    transition-delay: 0s;
}
#drawer_container.active .l-drawer-nav__li.--d0 {
    transform: translateX(0);
    opacity: 1;

    &:nth-of-type(1) {
        transition-delay: 0.25s;
    }
    &:nth-of-type(2) {
        transition-delay: 0.35s;
    }
    &:nth-of-type(3) {
        transition-delay: 0.45s;
    }
    &:nth-of-type(4) {
        transition-delay: 0.55s;
    }
    &:nth-of-type(5) {
        transition-delay: 0.65s;
    }
    &:nth-of-type(6) {
        transition-delay: 0.75s;
    }
}

.l-drawer-nav__a {
    color: white;
    transition: color 0.3s ease-in-out;
    &:hover {
        color: #2a2d40;
    }

    &.--d0 {
        font-family: Oswald;
        font-size: 60px;
        font-weight: bold;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding-bottom: 0.15em;

        @media only screen and (max-width: 1068px) and (min-width: 735px) {
            font-size: 40px;
        }
        @media only screen and (max-width: 734px) {
            font-size: 30px;
        }
    }
    &.--d1 {
        width: 100%;
        display: flex;
        gap: 0.5em;
        font-weight: bold;

        &:before {
            content: '-';
        }
    }
}

.l-drawer-nav__more {
    width: 30px;
    height: 30px;
    position: relative;
    display: block;
    cursor: pointer;
    transition: transform 0.15s ease-in-out;
    background-color: #ffffff;
    border-radius: 100%;

    &:hover {
        transform: rotate(45deg);
    }

    &::before,
    &::after {
        content: '';
        position: absolute;
        background-color: #ff8c41;
        transform: translate(-50%, -50%);
        top: 50%;
        left: 50%;
    }

    &:before {
        width: 50%;
        height: 2px;
    }
    &:after {
        width: 2px;
        height: 50%;
    }
}

.l-drawer-nav__sub-outer.--d0 {
    max-height: 0px;
    overflow: hidden;
    transition: max-height 0.5s;
}

.l-drawer-nav__sub-inner {
    padding: 1em 0;
}

.drawer_tel {
    border: 1px solid white;
    padding: 1em;
    margin-top: auto;
}

.drawer_tel-link {
    display: flex;
    align-items: center;
    padding: 0.5em;
    background-color: white;
    font-weight: bold;
    border-radius: 50rem;
    gap: 0.5em;
    justify-content: center;
    margin-bottom: 1em;
    color: #2a2d40;
    border: 2px solid white;
    transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
    font-weight: bold;
    &:hover {
        background-color: transparent;
        color: white;
    }
}

.drawer_tel-attr {
    font-size: 14px;
    line-height: 1.2;
    &:not(:last-child) {
        margin-bottom: 0.25em;
    }
}

/* #endregion -------------------- */
/* #region Footer -------------------- */
.footer__wrap {
    background-color: #ff8c41;
    padding: 3.5rem 0;
    @media only screen and (max-width: 1068px) and (min-width: 735px) {
        padding: 3rem 0;
    }
    @media only screen and (max-width: 734px) {
        padding: 2rem 0;
    }
}

.footer_content_wrapper {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin: auto;
    text-align: left;
    width: 1000px;
    @media only screen and (max-width: 1068px) and (min-width: 735px) {
        width: 80%;
    }
    @media only screen and (max-width: 734px) {
        width: 100%;
        flex-direction: column;
        align-items: center;
    }
}

.footer_copy {
    margin-top: 1em;
    color: white;
    font-size: 1.36rem;
    text-align: center;
}

.footer_left {
    @media only screen and (max-width: 734px) {
        margin: auto;
        text-align: center;
    }

    img {
        width: 10rem;
        height: 10rem;
    }
    p {
        font-size: 1.36rem;
        color: white;
    }
    .btn {
        margin-top: 0.5em;
        width: 190px;
        font-weight: bold;
        font-size: 15px;
    }
}

.l-footer-nav__ul {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    max-height: 250px;
    color: white;
    gap: 0.5em 3em;

    @media only screen and (max-width: 734px) {
        align-items: flex-start;
        margin: 1em;
        flex-wrap: nowrap;
        max-height: unset;
    }

    .l-footer-nav__a {
        color: white;
        transition: color 0.3s ease-in-out;
        &:hover {
            color: #2a2d40;
        }

        &.--d0 {
            font-size: 16px;
            font-weight: bold;
        }
        &.--d1 {
            font-size: 14px;
            margin-left: 0.5em;
            &:before {
                content: '- ';
            }
        }
    }

    .l-footer-nav__sub-outer {
        margin-top: 0.25em;
    }
}

/* #endregion -------------------- */
