// スタイルシート common

@charset "utf-8";

@import "mixin";

body {
    @include root;
    position: relative;
    -webkit-text-size-adjust: none;
    text-size-adjust: none;
}

img,
video {
    max-width: 100%;
    height: auto;
}

a:hover {
    opacity: 0.75;
}

:where(figure) {
    margin: 0;
}

// ===
@keyframes display_gnavtoggle {
    from {
        opacity: 0;
        visibility: hidden;
        transform: translateX(10vw);
    }
    to {
        opacity: 1;
        visibility: visible;
        transform: translateX(0);
    }
}

img.js-parallax {
    position: absolute;
    z-index: 5;
    object-fit: cover;
    max-width: initial;
    height: 100%;
    width: calc(100% + 10vw);
    &.origin-right {
        inset: 0 0 0 auto;
    }
    &.origin-left {
        inset: 0 auto 0 0;
    }
}

.common-heading {
    display: flex;
    align-items: center;
    @include maxwidth(1024) {
        justify-content: center;
    }
    .heading {
        &__inner {
            display: inline-flex;
            flex-direction: column;
            align-items: flex-start;
            @include maxwidth(1024) {
                align-items: center;
            }
            gap: 10px;
        }
        &-en {
            color: $themecolor2;
            @include f_all(14);
            font-weight: 700;
            text-transform: uppercase;
            text-indent: -0.5em;
            @include maxwidth(1024) {
                text-indent: 0;
            }
            &::before,
            &::after {
            }
            &::before {
                content: "【";
            }
            &::after {
                content: "】";
            }
        }
        &-ja {
            color: $themecolor;
            @include f_all(24);
            font-weight: 500;
            line-height: 1.8;
            @include maxwidth(1024) {
                text-align: center;
            }
            @include maxwidth(768) {
                @include f_all(20);
            }
        }
    }
}

.common-buttons {
    .common-button {
        @include common-button();
    }
}

.common-terms {
    ul {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 10px;
        @include maxwidth(768) {
            gap: 5px;
        }
        li {
            display: inline-block;
            @include maxwidth(768) {
                flex-basis: calc((100% - 5px) / 2);
                &:first-child {
                    flex-basis: 100%;
                }
            }
            a {
                color: $themetextcolor;
                @include f_all(14);
                font-weight: 500;
                line-height: 1.3;
                text-align: center;
                @include flex_centering;
                padding: 0.5em 32px 0.5em 45px;
                @include maxwidth(768) {
                    padding-left: 30px;
                    padding-right: 20px;
                }
                box-sizing: border-box;
                min-height: 45px;
                background-color: $themecolor;
                position: relative;
                transition: .3s;
                &:hover {
                    opacity: 1;
                    background-color: #032136;
                    &::after {
                        background-color: $themetextcolor;
                        background-image: url(../images/arrow-black.svg);
                    }
                }
                &::after {
                    content: "";
                    display: inline-block;
                    width: 12px;
                    height: 12px;
                    background: url(../images/arrow-white.svg) no-repeat center top 45% / 6px auto $basetextcolor;
                    position: absolute;
                    top: 0;
                    bottom: 0;
                    left: 15px;
                    @include maxwidth(768) {
                        left: 10px;
                    }
                    margin: auto;
                    transition: .3s;
                }
                &.current {
                    background-color: $basetextcolor;
                    &::after {
                        background-color: $themecolor;
                        background-image: url(../images/arrow-white.svg) !important;
                        transform: rotate(90deg);
                    }
                }
            }
        }
    }
}

.common-headline {
    &[data-post-type="works"] {
        .headline-items {
            .headline-item {
                position: relative;
                a {
                    &:hover {
                        opacity: 1;
                        .image {
                            & > img {
                                transform: scale(1.2);
                            }
                        }
                    }
                    .image {
                        padding-top: 100%;
                        box-sizing: border-box;
                        overflow: hidden;
                        position: relative;
                        &::after {
                            content: "";
                            @include absolute_centering;
                            background-color: rgba(#000, 0.1);
                        }
                        & > img {
                            @include absolute_centering;
                            width: 100%;
                            height: 100%;
                            object-fit: cover;
                            transition: .8s;
                        }
                    }
                    .docs {
                        padding-top: 10px;
                        .terms {
                            color: $themetextcolor;
                            @include f_all(14);
                            @include maxwidth(768) {
                                @include f_all(12);
                            }
                            font-weight: 700;
                            line-height: 1;
                            .term {
                                display: inline-flex;
                                align-items: center;
                                justify-content: center;
                                padding: 0 8px;
                                box-sizing: border-box;
                                min-height: 26px;
                                @include maxwidth(768) {
                                    min-height: 22px;
                                }
                                background-color: $themecolor;
                                position: relative;
                                &:not(:first-child:last-child) {
                                    margin-right: 0.2em;
                                    margin-bottom: 0.2em;
                                }
                            }
                        }
                        .title {
                            @include f_all(16);
                            font-weight: 500;
                            line-height: 1.3;
                            padding-top: 6px;
                        }
                    }
                }
            }
        }
        &[data-page="front"] {
            &:not(.swiper-initialized) {
                // Swiper適用前
                .headline-items {
                    @media (min-width: 1025px) {
                        display: grid;
                        grid-template-columns: repeat(4, 1fr);
                    }
                    @media (max-width: 1024px) and (min-width: 769px) {
                        display: grid;
                        grid-template-columns: repeat(3, 1fr);
                    }
                    .headline-item {
                        @media (min-width: 1025px) {
                            &:first-child {
                                grid-column: 1 / 3;
                                grid-row: 1 / 3;
                            }
                            &:last-child {
                                display: none;
                            }
                        }
                        @media (max-width: 1024px) and (min-width: 769px) {
                            &:first-child {
                                grid-column: 1 / 3;
                                grid-row: 1 / 3;
                            }
                        }
                        a {
                            .docs {
                                padding-top: 0;
                                position: absolute;
                                left: 20px;
                                bottom: 20px;
                                z-index: 1;
                                .terms {
                                }
                                .title {
                                    color: $themetextcolor;
                                }
                            }
                        }
                    }
                }
                .swiper-button-next,
                .swiper-button-prev {
                    display: none;
                }
            }
            &.swiper-initialized {
                .headline-items {
                    .headline-item {
                        @include maxwidth(768) {
                            width: calc(100% / 1.5);
                        }
                        @include maxwidth(520) {
                            width: calc(100% - 60px);
                        }
                        a {
                            @media (hover: hover) {
                                .docs {
                                    padding-top: 0;
                                    position: absolute;
                                    left: 20px;
                                    bottom: 20px;
                                    z-index: 1;
                                    .terms {
                                    }
                                    .title {
                                        color: $themetextcolor;
                                    }
                                }
                            }
                        }
                    }
                }
                .swiper-button-prev,
                .swiper-button-next {
                    display: block;
                    width: 30px;
                    height: 30px;
                    background-color: $themecolor;
                    &::before{
                        content: '';
                        width: 12px;
                        height: 12px;
                        background: url(../images/arrow-white.svg) no-repeat center / contain;
                        @include absolute_centering;
                    }
                    &::after {
                        display: none;
                    }
                }
                .swiper-button-prev {
                    &::before {
                        transform: rotate(180deg);
                    }
                }
                .swiper-button-next {
                }
            }
        }
        &[data-page="sub"] {
            margin-top: 40px;
            .headline-items {
                display: flex;
                flex-wrap: wrap;
                column-gap: 5px;
                row-gap: 50px;
                @include maxwidth(768) {
                    column-gap: 5px;
                    row-gap: 40px;
                }
                .headline-item {
                    flex-basis: calc((100% - (10px * 3)) / 4);
                    @include maxwidth(1200) {
                        flex-basis: calc((100% - (10px * 2)) / 3);
                    }
                    @include maxwidth(768) {
                        flex-basis: calc((100% - 10px) / 2);
                    }
                    a {
                    }
                }
            }
        }
    }
    &[data-post-type="news"] {
        .headline-items {
            .headline-item {
                &:not(:first-child) {
                    margin-top: 2px;
                }
                a {
                    @include f_all(14);
                    font-weight: 500;
                    line-height: 1.5;
                    display: flex;
                    align-items: center;
                    flex-wrap: wrap;
                    padding: 20px 50px 20px 32px;
                    @include maxwidth(768) {
                        padding-left: 20px;
                        padding-right: 40px;
                    }
                    box-sizing: border-box;
                    background-color: $themetextcolor;
                    position: relative;
                    transition: .3s;
                    &:hover {
                        // opacity: 1;
                        // color: $themetextcolor;
                        // background-color: #032136;
                        // &::after {
                        //     background-color: $themetextcolor;
                        //     background-image: url(../images/arrow-black.svg);
                        // }
                        // .terms .term {
                        //     color: $basetextcolor;
                        //     background-color: $themetextcolor;
                        // }
                    }
                    &::after {
                        content: "";
                        display: inline-block;
                        width: 12px;
                        height: 12px;
                        background: url(../images/arrow-white.svg) no-repeat center / 6px auto $themecolor;
                        position: absolute;
                        top: 0;
                        bottom: 0;
                        right: 30px;
                        @include maxwidth(768) {
                            right: 20px;
                        }
                        margin: auto;
                        transition: .3s;
                    }
                    .date {
                        margin-right: 20px;
                    }
                    .terms {
                        color: $themetextcolor;
                        @include f_all(11);
                        line-height: 1;
                        .term {
                            display: inline-flex;
                            align-items: center;
                            justify-content: center;
                            padding: 0 10px;
                            box-sizing: border-box;
                            background-color: $themecolor;
                            min-height: 18px;
                            transition: .3s;
                        }
                    }
                    .title {
                        flex-basis: 100%;
                        padding-top: 5px;
                    }
                }
            }
        }
        &[data-page="front"] {
            .headline-items {
                .headline-item {
                    a {
                    }
                }
            }
        }
        &[data-page="sub"] {
            margin-top: 40px;
            .headline-items {
                .headline-item {
                    a {
                        background-color: color-mix(in srgb, $basetextcolor, $themetextcolor 95%);
                    }
                }
            }
        }
    }
}

header {
    #header {
        position: absolute;
        inset: 0 0 auto 0;
        margin: auto;
        z-index: 25;
        &::before {
            content: "";
            height: 7px;
            position: absolute;
            inset: 0 0 auto 0;
            margin: auto;
            background: linear-gradient(90deg, #032136 0%, $themecolor 50%, #032136 100%);
        }
        .container {
            padding: 30px 40px 20px;
            @include maxwidth(768) {
                padding-left: 20px;
                padding-right: 20px;
                padding-right: 120px;
            }
            box-sizing: border-box;
            background-color: transparent;
            body.subpage & {
                background-color: $basecolor;
            }
            .sitename {
                display: inline-flex;
                flex-direction: column;
                gap: 1em;
                .outline {
                    @include f_all(12);
                    @include maxwidth(768) {
                        // @include f_all(10);
                        display: none;
                    }
                    font-weight: 500;
                    line-height: 1.2;
                    body.toppage & {
                        color: $themetextcolor;
                    }
                }
                h1 {
                }
            }
        }
    }

    #gnav {
        position: fixed;
        top: 40px;
        right: 20px;
        @include maxwidth(768) {
            right: 0;
            top: 35px;
        }
        body.admin-bar & {
            top: (40px + 32px);
            @include maxwidth(768) {
                top: 32px;
            }
        }
        z-index: 102;
        overflow: hidden;
        visibility: hidden;
        transition: 0.8s;
        @include maxwidth(520) {
            top: 0;
            right: 0;
            bottom: 0;
            left: 0;
            margin: auto;
            background-color: rgba($basetextcolor, .8);
            opacity: 0;
        }
        body.menu_open & {
            visibility: visible;
            @include maxwidth(520) {
                opacity: 1;
            }
        }
        .gnav {
            &-inner {
                @include maxwidth(520) {
                    position: fixed;
                    inset: 0;
                    margin: auto;
                    @include flex_centering;
                    padding: 40px 20px;
                    box-sizing: border-box;
                    overflow-y: auto;
                }
                &-container {
                    color: $themetextcolor;
                    width: 280px;
                    @include maxwidth(520) {
                        width: 100%;
                    }
                    margin: auto;
                    .gnav__link {
                        @include f_all(12);
                        font-weight: 700;
                        line-height: 1.2;
                        @include flex_centering;
                        padding: 0 1em;
                        box-sizing: border-box;
                        gap: 15px;
                        min-height: 40px;
                        @include maxwidth(520) {
                            min-height: 45px;
                        }
                        background-color: $basetextcolor;
                        padding: 0 10px 0 40px;
                        box-sizing: border-box;
                        position: relative;
                        &-inner {
                            flex-basis: 65%;
                        }
                        &::before {
                            flex-basis: 35%;
                            text-align: center;
                            content: attr(data-en);
                            @include f_all(14);
                            text-transform: uppercase;
                        }
                        &::after {
                            content: "";
                            display: inline-block;
                            width: 12px;
                            height: 12px;
                            background-size: 6px auto;
                            background-position: center;
                            background-repeat: no-repeat;
                            background-color: $themecolor;
                            background-image: url(../images/arrow-white.svg);
                            position: absolute;
                            inset: 0 auto 0 10px;
                            margin: auto;
                        }
                    }
                }
            }
            &-close {
                transform: translate(100%, 0);
                transition: 0.8s;
                body.menu_open & {
                    transform: translate(0, 0);
                }
                .gnav__link {
                    min-height: 50px;
                    @include maxwidth(520) {
                        min-height: 55px;
                    }
                    &::before {
                    }
                    &::after {
                        background-size: 8px auto !important;
                        background-image: url(../images/gnav-x.svg) !important;
                        background-color: $accentcolor !important;
                    }
                }
            }
            &-menu {
                margin-top: 1px;
                ul {
                    li {
                        &:not(:first-child) {
                            margin-top: 1px;
                        }
                        transform: translate(100%, 0);
                        transition: 0.8s;
                        transition-delay: 0s;
                        body.menu_open & {
                            transform: translate(0, 0);
                            @for $i from 0 to 20 {
                                &:nth-child(#{$i}) {
                                    transition-delay: $i * 0.05s;
                                }
                            }
                        }
                        a {
                            &.is-parent {
                                &::after {
                                    background-image: url(../images/gnav-puls.svg);
                                    background-size: 9px auto;
                                }
                                &.is-active {
                                    &::after {
                                        background-image: url(../images/gnav-minus.svg);
                                    }
                                }
                            }
                        }
                    }
                    &.has-children {
                        padding-top: 1px;
                        li {
                            .gnav__link {
                                color: $basetextcolor;
                                text-align: center;
                                background-color: color-mix(in srgb, $basetextcolor, $themetextcolor 80%);
                                padding-right: 40px;
                                .gnav__link-inner {
                                    flex-basis: auto;
                                }
                                &::before {
                                    display: none;
                                }
                                &::after {
                                    background-color: currentColor;
                                }
                            }
                        }
                    }
                }
            }
        }
    }

    #gnavToggle {
        position: absolute;
        top: 40px;
        right: 20px;
        overflow: hidden;
        z-index: 101;
        @include maxwidth(768) {
            top: 35px;
            right: 0;
        }
        body.is-scrolled-past-visual & {
            position: fixed;
            a {
                animation: display_gnavtoggle 0.8s ease forwards;
            }
            // @include maxwidth(768) {
                //     top: 20px;
                // }
        }
        body.is-scrolled-past-visual.admin-bar & {
            top: (40px + 32px);
            @include maxwidth(768) {
                top: (35px + 32px);
            }
        }
        body.toppage & {
            a {
                opacity: 0;
                visibility: hidden;
                transform: translateX(10vw);
                transition-property: opacity, visibility, transform;
                transition: .8s;
            }
        }
        body.toppage.is-loaded-page & {
            a {
                opacity: 1;
                visibility: visible;
                transform: translateX(0);
            }
        }
        a {
            color: $themetextcolor;
            @include f_all(14);
            @include maxwidth(768) {
                @include f_all(10);
            }
            font-weight: 500;
            line-height: 1;
            @include flex_centering;
            width: 180px;
            height: 50px;
            @include maxwidth(768) {
                width: 100px;
            }
            padding-right: 10px;
            box-sizing: border-box;
            gap: 14px;
            transition: 0.8s;
            &:hover {
                opacity: 1;
            }
            &::before, &::after {
                content: '';
                @include absolute_centering;
                body.is-scrolled-past-visual & {
                    @include maxwidth(768) {
                        opacity: .65;
                    }
                }
            }
            &::before {
                background: linear-gradient(90deg, #032136 0%, $themecolor 100%);
            }
            &::after {
                background: linear-gradient(90deg, $themecolor 0%,  #032136 100%);
                z-index: 1;
                opacity: 0;
                transition: .8s;
            }
            &:hover {
                &::after{
                    opacity: 1;
                }
            }
            body.menu_open & {
                animation: none;
                transform: translate(100%, 0) !important;
            }
            .bar {
                display: inline-block;
                width: 16px;
                height: 10px;
                position: relative;
                z-index: 2;
                & > span {
                    display: inline-block;
                    width: 100%;
                    height: 1px;
                    background-color: currentColor;
                    @include absolute_centering;
                    &:nth-child(1) {
                        transform: translate(0, -5px);
                    }
                    &:nth-child(2) {
                    }
                    &:nth-child(3) {
                        transform: translate(0, 5px);
                    }
                }
            }
            .t {
                position: relative;
                z-index: 2;
                &::before {
                    content: "MENU";
                }
            }
        }
    }
}

#mainVisual {
    position: relative;
    .container {
        #videoWrapper {
            height: 100vh;
            min-height: 480px;
            overflow: hidden;
            position: relative;
            &.loaded {
                .video {
                    opacity: 1 !important;
                }
                &::before {
                    background-image: radial-gradient(#000000 30%, transparent 31%), radial-gradient(#000000 30%, transparent 31%);
                    background-size: 4px 4px;
                    background-position: 0 0, 2px 2px;
                }
            }
            &::before {
                content: "";
                @include absolute_centering;
                z-index: 2;
                background-color: rgba(#000, 0.1);
            }
            .image {
                height: 100%;
                & > img {
                    width: 100%;
                    height: 100%;
                    object-fit: cover;
                }
            }
            .video {
                @include absolute_centering;
                z-index: 1;
                opacity: 0;
                video {
                    width: 100%;
                    height: 100%;
                    object-fit: cover;
                }
            }
        }
        .overlay {
            position: absolute;
            left: 0;
            bottom: 80px;
            z-index: 5;
            &-text {
                color: $themetextcolor;
                font-size: clamp(40px, (64 / 1440 * 100vw),64px);
                @include maxwidth(375) {
                    font-size: clamp(34px,(40 / 375 * 100vw),40px);
                }
                font-weight: 700;
                line-height: 1;
                display: inline-flex;
                flex-direction: column;
                align-items: flex-start;
                gap: (35 / 64 * 1em);
                @include maxwidth(768) {
                    gap: 18px;
                }
                &.__desktop {
                    @include maxwidth(768) {
                        display: none;
                    }
                }
                &.__mobile {
                    @media (min-width: 769px) {
                        display: none;
                    }
                }
                .strs {
                    display: inline-block;
                    padding: 0 (60 / 64 * 1em) (20 / 64 * 1em);
                    @include maxwidth(768) {
                        padding-left: 20px;
                        padding-right: 28px;
                        padding-bottom: 18px;
                    }
                    box-sizing: border-box;
                    position: relative;
                    &::before, &::after {
                        content: "";
                        display: inline-block;
                        height: 35px;
                        position: absolute;
                        inset: auto 0 0 0;
                        margin: auto;
                        background-color: $themecolor;
                    }
                    &::after {
                        opacity: 0;
                        z-index: 1;
                        transition: 2s;
                        body.is-loaded-page & {
                            opacity: 1;
                        }
                    }
                    & > span {
                        display: inline-block;
                        position: relative;
                        z-index: 2;
                    }
                    &:nth-child(odd) {
                        &::before {
                            background: linear-gradient(90deg, $themecolor 0%, #032136 100%);
                            @include maxwidth(768) {
                                background: linear-gradient(90deg, #032136 0%, $themecolor 100%);
                            }
                        }
                        &::after {
                            background: linear-gradient(90deg, #032136 0%, $themecolor 100%);
                            @include maxwidth(768) {
                                background: linear-gradient(90deg, $themecolor 0%, #032136 100%);
                            }
                        }
                    }
                    &:nth-child(even) {
                        &::before {
                            background: linear-gradient(90deg, #032136 0%, $themecolor 100%);
                            @include maxwidth(768) {
                                background: linear-gradient(90deg, $themecolor 0%, #032136 100%);
                            }
                        }
                        &::after {
                            background: linear-gradient(90deg, $themecolor 0%, #032136 100%);
                            @include maxwidth(768) {
                                background: linear-gradient(90deg, #032136 0%, $themecolor 100%);
                            }
                        }
                    }
                }
            }
        }
        .scroll-button {
            position: absolute;
            right: 20px;
            bottom: -20px;
            @include maxwidth(786) {
                bottom: -30px;
            }
            @include maxwidth(370) {
                right: 10px;
            }
            z-index: 5;
            opacity: 0;
            visibility: hidden;
            transform: translateY(-10vw);
            transition-property: opacity, visibility, transform;
            transition-duration: .8s;
            body.is-loaded-page & {
                opacity: 1;
                visibility: visible;
                transform: translateY(0);
            }
            a {
                color: $themetextcolor;
                @include f_all(12);
                @include maxwidth(768) {
                    @include f_all(10);
                }
                font-weight: 700;
                line-height: 1;
                display: block;
                width: 40px;
                height: 145px;
                @include maxwidth(768) {
                    width: 30px;
                    height: 100px;
                }
                position: relative;
                &:hover {
                    opacity: 1;
                }
                &::before, &::after {
                    content: '';
                    @include absolute_centering;
                }
                &::before {
                    background: linear-gradient($themecolor 0%, #032136 100%);
                }
                &::after {
                    background: linear-gradient(#032136 0%, $themecolor 100%);
                    z-index: 1;
                    opacity: 0;
                    transition: .8s;
                }
                &:hover::after {
                    opacity: 1;
                }
                .t {
                    height: 100%;
                    display: flex;
                    flex-direction: column;
                    align-items: center;
                    justify-content: center;
                    gap: 1em;
                    position: relative;
                    z-index: 2;
                    &::after {
                        content: "";
                        display: inline-block;
                        width: 16px;
                        height: 8px;
                        background: url(../images/arrow-scroll.svg) no-repeat center / contain;
                        margin-left: -0.2em;
                    }
                    & > span {
                        display: inline-block;
                        width: 1em;
                        writing-mode: vertical-rl;
                    }
                }
            }
        }
    }
}

#footer {
    .container {
        color: $themetextcolor;
        .footer-head {
            background-size: cover;
            background-position: bottom 25% center;
            background-repeat: no-repeat;
            position: relative;
            &::before {
                content: "";
                @include absolute_centering;
                background: linear-gradient(165deg, #000 0%, #053557 100%);
                opacity: 0.85;
            }
            &__inner {
                @include container(1200, 0);
                display: flex;
                align-items: flex-end;
                gap: (140 / 1200 * 100%);
                padding: 60px 40px;
                box-sizing: border-box;
                @include maxwidth(1280) {
                    flex-direction: column-reverse;
                    align-items: center;
                    gap: 66px;
                    & > * {
                        flex: none !important;
                    }
                }
                @include maxwidth(768) {
                    padding-left: 20px;
                    padding-right: 20px;
                    padding-bottom: 40px;
                }
            }
            .footer {
                &-description {
                    flex-shrink: 0;
                    flex-basis: 296px;
                    & > * {
                        text-align: center;
                    }
                    .sitename {
                    }
                    .address {
                        @include f_all(15);
                        line-height: normal;
                        margin-top: 26px;
                        @include maxwidth(1280) {
                            margin-top: 20px;
                        }
                        @include maxwidth(768) {
                            @include f_all(13);
                        }
                        & > * {
                            &:not(:first-child) {
                                margin-top: 1em;
                            }
                        }
                    }
                }
                &-contact {
                    flex-grow: 1;
                    flex-basis: auto;
                    max-width: 768px;
                    width: 100%;
                    margin: 0 auto;
                    .leadtext {
                        @include f_all(16);
                        @include maxwidth(768) {
                            @include f_all(14);
                        }
                        font-weight: 500;
                        line-height: 1.5;
                        text-align: center;
                        & > br.sp {
                            @media (min-width: 769px) {
                                display: none;
                            }
                        }
                    }
                    .contact-buttons {
                        margin-top: 57px;
                        @include maxwidth(1280) {
                            margin-top: 30px;
                        }
                        display: flex;
                        @include maxwidth(786) {
                            flex-direction: column;
                        }
                        gap: 5px 10px;
                        .contact-button {
                            flex-basis: 50%;
                            @include maxwidth(786) {
                                flex-basis: auto;
                            }
                            &__link {
                                @include f_all(20);
                                @include maxwidth(768) {
                                    @include f_all(18);
                                }
                                font-weight: 500;
                                @include flex_centering;
                                gap: 10px;
                                min-height: 108px;
                                @include maxwidth(768) {
                                    min-height: 100px;
                                }
                                padding: 10px;
                                box-sizing: border-box;
                                background-color: $themecolor;
                                position: relative;
                                transition: .3s;
                                &:hover,
                                &:focus {
                                    opacity: .8;
                                    background-color: $accentcolor !important;
                                }
                                &.tel {
                                    flex-direction: column;
                                    background-color: $basetextcolor;
                                    .telnum {
                                        @include f_all(32);
                                        @include maxwidth(768) {
                                            @include f_all(28);
                                        }
                                        line-height: 1;
                                        padding-left: 30px;
                                        box-sizing: border-box;
                                        background: url(../images/icon-phone-white.svg) no-repeat left top 60% / 20px auto;
                                    }
                                    .teltime {
                                        @include f_all(15);
                                        @include maxwidth(768) {
                                            @include f_all(12);
                                        }
                                        line-height: 1.2;
                                        text-align: center;
                                    }
                                }
                                &.form {
                                    &::before {
                                        content: "";
                                        display: inline-block;
                                        width: 20px;
                                        height: 15px;
                                        background: url(../images/icon-mail-white.svg) no-repeat center / contain;
                                        margin-top: 0.2em;
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
        .footer-foot {
            background-color: #000;
            &__inner {
                @include container(1200, 0);
                padding: 40px 40px 20px;
                box-sizing: border-box;
                @include maxwidth(768) {
                    padding: 20px 20px 36px;
                }
            }
            .footer {
                &-menu {
                    display: flex;
                    justify-content: space-between;
                    gap: 3em;
                    @include maxwidth(1024) {
                        gap: 5px 10px;
                        flex-direction: column;
                        align-items: flex-start;
                        justify-content: flex-start;
                    }
                    .item {
                        @include f_all(13);
                        font-weight: 700;
                        line-height: 1.8;
                        text-transform: uppercase;
                        @include maxwidth(1024) {
                            @include f_all(14);
                            font-weight: 500;
                            line-height: 1.4;
                            width: 100%;
                        }
                        ul {
                            @include maxwidth(1024) {
                                width: 100%;
                                display: flex;
                                flex-direction: column;
                                gap: 5px;
                            }
                            li {
                                a {
                                    @media (min-width: 1025px) {
                                        &::before {
                                            content: "ー";
                                            margin-right: 0.3em;
                                        }
                                    }
                                    @include maxwidth(1024) {
                                        text-align: center;
                                        @include flex_centering;
                                        width: 100%;
                                        min-height: 45px;
                                        background-color: #1f1f1f;
                                        padding: 0.5em 40px;
                                        box-sizing: border-box;
                                        position: relative;
                                        &::after{
                                            content: '';
                                            width: 12px;
                                            height: 12px;
                                            background: url(../images/arrow-white.svg) no-repeat center / 6px auto $themecolor;
                                            position: absolute;
                                            top: 0;
                                            bottom: 0;
                                            left: 20px;
                                            margin: auto;
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
                &-copyright {
                    display: flex;
                    justify-content: flex-end;
                    margin-top: 50px;
                    @include maxwidth(1024) {
                        justify-content: center;
                    }
                    @include maxwidth(768) {
                        margin-top: 30px;
                    }
                    small {
                        @include f_all(12);
                        line-height: 1.2;
                    }
                }
            }
        }
    }
}

aside {
    #totop {
        position: fixed;
        bottom: 40px;
        right: 20px;
        @include maxwidth(1024) {
            bottom: 20px;
        }
        @include maxwidth(370) {
            right: 10px;
            bottom: 10px;
        }
        z-index: 30;
        opacity: 0;
        transform: translateY(10vw);
        visibility: hidden;
        transition-property: opacity, transform, visibility;
        transition-duration: 0.8s;
        body.is-scrolled-past-visual & {
            opacity: 1;
            transform: translateY(0);
            visibility: visible;
        }
        a {
            color: $themetextcolor;
            @include f_all(12);
            @include maxwidth(768) {
                @include f_all(10);
            }
            font-weight: 700;
            line-height: 1;
            display: block;
            width: 40px;
            height: 145px;
            @include maxwidth(768) {
                height: 100px;
                width: 30px;
            }
            position: relative;
            &:hover {
                opacity: 1;
            }
            &::before, &::after {
                content: '';
                @include absolute_centering;
                body.is-scrolled-past-visual & {
                    @include maxwidth(768) {
                        opacity: .65;
                    }
                }
            }
            &::before {
                background: linear-gradient(#000 0%, $themecolor 100%);
            }
            &::after {
                background: linear-gradient($themecolor 0%, #000 100%);
                z-index: 1;
                opacity: 0;
                transition: .3s;
            }
            &:hover::after {
                opacity: 1;
            }
            .t {
                @include flex_centering;
                flex-direction: column;
                gap: 1em;
                height: 100%;
                position: relative;
                z-index: 2;
                &::before {
                    content: "";
                    display: inline-block;
                    width: 16px;
                    height: 8px;
                    background: url(../images/arrow-totop.svg) no-repeat center / contain;
                }
                & > span {
                    display: inline-block;
                    width: 1em;
                    writing-mode: vertical-rl;
                }
            }
        }
    }
}

#toppageAboutus {
    padding-top: 60px;
    @include maxwidth(768) {
        padding-top: 70px;
    }
    position: relative;
    .container {
        margin: 0 40px;
        @include maxwidth(768) {
            margin-left: 20px;
            margin-right: 20px;
        }
        position: relative;
        z-index: 5;
        .cols {
            display: flex;
            flex-direction: row-reverse;
            align-items: center;
            justify-content: flex-end;
            gap: (100 / 1440 * 100vw);
            @include maxwidth(1024) {
                flex-direction: column;
                align-items: flex-start;
                justify-content: center;
                gap: 30px;
                flex-wrap: wrap;
            }
            .col {
                @include maxwidth(1024) {
                    flex-basis: auto !important;
                    width: 100%;
                }
                &:nth-child(1) {
                    flex-basis: (480 / 1440 * 100vw);
                    @include maxwidth(1980) {
                        flex-basis: (580/ 1440 * 100vw);
                    }
                    .heading {
                        margin-bottom: 30px;
                        &__inner {
                            @include maxwidth(1024) {
                                gap: 130px;
                            }
                        }
                        &-en {
                        }
                        &-a {
                        }
                    }
                    .body {
                        max-width: 650px;
                        @include maxwidth(1024) {
                            margin: 0 auto;
                        }
                        & > *:not(:first-child) {
                            margin-top: 30px;
                        }
                        figure.logo {
                            @include maxwidth(1024) {
                                text-align: center;
                                position: absolute;
                                top: 32px;
                                left: 0;
                                right: 0;
                                margin: auto;
                            }
                            & > img {
                            }
                        }
                        .text {
                            @include f_all(15);
                            line-height: 2;
                            text-align: justify;
                            @include maxwidth(768) {
                                @include f_all(14);
                                line-height: 1.8;
                            }
                        }
                        .common-buttons {
                            display: flex;
                            align-items: flex-start;
                            flex-wrap: wrap;
                            gap: 10px;
                            @include maxwidth(1024) {
                                align-items: center;
                            }
                            @include maxwidth(768) {
                                flex-direction: column;
                                gap: 5px;
                            }
                            .common-button{
                                flex: 0 1 calc((100% / 2) - 10px);
                                &__link {
                                    min-width: initial;
                                }
                            }
                        }
                    }
                }
                &:nth-child(2) {
                    flex-basis: (670 / 1440 * 100vw);
                    figure.image {
                        // padding-top: (800 / 670 * 100%);
                        // box-sizing: border-box;
                        height: 100vh;
                        max-height: 800px;
                        @include maxwidth(1024) {
                            max-height: initial;
                            height: auto;
                            padding-top: (220 / 355 * 100%);
                            box-sizing: border-box;
                            margin-left: -40px;
                        }
                        @include maxwidth(768) {
                            margin-left: -20px;
                        }
                        overflow: hidden;
                        position: relative;
                        & > img {
                        }
                    }
                }
            }
        }
    }

    #aboutusSlide {
        padding: 40px 0;
        @include maxwidth(768) {
            padding: 20px 0;
        }
        box-sizing: border-box;
        position: relative;
        &::before {
            content: "";
            position: absolute;
            inset: -60px 0;
            @include maxwidth(768) {
                inset: -10px 0 -35px 0;
            }
            margin: auto;
            background: linear-gradient(160deg, #053557 0%, #000 100%);
        }
        .swiper {
            &-wrapper {
            }
            &-slide {
                width: (500 / 1440 * 100vw);
                height: (320 / 1440 * 100vw);
                @include maxwidth(1024) {
                    width: (500 / 1024 * 100vw);
                    height: (320 / 1024 * 100vw);
                }
                @include maxwidth(768) {
                    width: 320px;
                    height: 320px;
                }
                position: relative;
                &::before {
                    content: "";
                    @include absolute_centering;
                    background-color: rgba(#000, 0.6);
                    transition: 0.3s;
                }
                &:hover {
                    &::before {
                        opacity: 0.5;
                    }
                }
                & > img {
                    width: 100%;
                    height: 100%;
                    object-fit: cover;
                }
            }
        }
    }
}

#toppageBusiness {
    position: relative;
    z-index: 1;
    .container {
        margin: 0 40px;
        @include maxwidth(1024) {
            padding-bottom: 60px;
        }
        @include maxwidth(768) {
            margin-left: 20px;
            margin-right: 20px;
        }
        position: relative;
        .cols {
            display: flex;
            align-items: center;
            justify-content: flex-end;
            gap: (100 / 1440 * 100vw);
            @include maxwidth(1024) {
                flex-direction: column-reverse;
                align-items: flex-start;
                justify-content: center;
                flex-wrap: wrap;
                gap: 60px;
            }
            .col {
                @include maxwidth(1024) {
                    flex-basis: auto !important;
                    width: 100%;
                }
                &:nth-child(1) {
                    flex-basis: (480/ 1440 * 100vw);
                    @include maxwidth(1980) {
                        flex-basis: (580/ 1440 * 100vw);
                    }
                    .heading {
                        margin-bottom: 30px;
                        &__inner {
                        }
                        &-en {
                        }
                        &-ja {
                        }
                    }
                    .body {
                        max-width: 650px;
                        @include maxwidth(1024) {
                            margin: 0 auto;
                        }
                        & > *:not(:first-child) {
                            margin-top: 30px;
                        }
                        .text {
                            @include f_all(15);
                            line-height: 2;
                            text-align: justify;
                            max-width: 650px;
                            @include maxwidth(768) {
                                @include f_all(14);
                                line-height: 1.8;
                                margin-top: 1em;
                            }
                        }
                        .common-buttons {
                            display: flex;
                            flex-direction: column;
                            align-items: flex-start;
                            flex-wrap: wrap;
                            gap: 10px;
                            @include maxwidth(1024) {
                                align-items: center;
                                flex-direction: row;
                            }
                            @include maxwidth(768) {
                                flex-direction: column;
                                gap: 5px;
                            }
                            .common-button{
                                flex: 0 1 calc((100% / 2) - 10px);
                                &__link {
                                    @include maxwidth(768) {
                                        min-width: initial;
                                    }
                                }
                            }
                        }
                    }
                }
                &:nth-child(2) {
                    flex-basis: (670 / 1440 * 100vw);
                    figure.image {
                        // padding-top: (800 / 670 * 100%);
                        // box-sizing: border-box;
                        height: 100vh;
                        max-height: 800px;
                        @include maxwidth(1024) {
                            height: auto;
                            max-height: initial;
                            padding-top: (220 / 355 * 100%);
                            box-sizing: border-box;
                            margin-right: -40px;
                        }
                        @include maxwidth(768) {
                            margin-right: -20px;
                        }
                        overflow: hidden;
                        position: relative;
                        & > img {
                        }
                    }
                }
            }
        }
    }
}

#toppageWorks {
    padding-bottom: 80px;
    box-sizing: border-box;
    position: relative;
    @include maxwidth(1024) {
        padding: 60px 0 50px;
    }
    &::before {
        content: "";
        position: absolute;
        inset: -130px 0 -30px 0;
        @include maxwidth(1024) {
            inset: 0;
        }
        margin: auto;
        background-color: $themecolor1;
    }
    .container {
        position: relative;
        .head {
            @include container(1220, 0);
            padding: 0 40px;
            @include maxwidth(768) {
                padding-left: 20px;
                padding-right: 20px;
            }
            box-sizing: border-box;
            .heading {
                margin-bottom: 40px;
                &__inner {
                }
                &-en {
                }
                &-ja {
                }
            }
            .common-terms {
            }
        }
        .body {
            @include container(1440, 0);
            margin-top: 40px;
            @include maxwidth(768) {
                margin-top: 17px;
            }
            .headline[data-post-type="works"] {
            }
            .common-buttons {
                @include flex_centering;
                flex-direction: column;
                gap: 10px;
                margin-top: 40px;
                @include maxwidth(768) {
                    margin-left: 20px;
                    margin-right: 20px;
                }
            }
        }
    }
}

#toppageRecruit {
    padding: 40px;
    @include maxwidth(768) {
        padding: 10px 10px 20px;
    }
    box-sizing: border-box;
    margin-top: 70px;
    @include maxwidth(768) {
        margin-top: 40px;
    }
    background: linear-gradient(160deg, #053557 0%, #000 100%);
    position: relative;
    .container {
        padding: 40px (80 / 1440 * 100vw);
        @include maxwidth(1024) {
            padding: 40px 40px 0;
        }
        @include maxwidth(768) {
            padding-left: 20px;
            padding-right: 20px;
        }
        box-sizing: border-box;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        position: relative;
        &::before {
            content: "";
            @include absolute_centering;
            background-color: rgba(#000, 0.4);
            @include maxwidth(768) {
                background-color: rgba(#000, 0.6);
            }
        }
        .cols {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 3em;
            @include maxwidth(1024) {
                flex-direction: column;
                align-items: center;
                justify-content: flex-start;
                gap: 40px;
            }
            position: relative;
            .col {
                @include maxwidth(1024) {
                    width: 100%;
                }
                &:nth-child(1) {
                    color: $themetextcolor;
                    @media (min-width: 1025px) {
                        flex-basis: (480 / 1440 * 100vw);
                        padding-top: 55px;
                    }
                    position: relative;
                    .heading {
                        margin-bottom: 30px;
                        @include maxwidth(1024) {
                            margin-left: -80px;
                            margin-right: -80px;
                            margin-bottom: 20px;
                        }
                        @include maxwidth(768) {
                            margin-left: -30px;
                            margin-right: -30px;
                        }
                        &__inner {
                            @include maxwidth(1024) {
                                width: 100%;
                                gap: 30px;
                            }
                        }
                        &-en {
                            @media (min-width: 1025px) {
                                padding-left: 60px;
                                box-sizing: border-box;
                                top: 0;
                                gap: 0.8em;
                                position: absolute;
                                left: calc((40px + (80 / 1440 * 100vw)) * -1);
                                width: (280 / 1440 * 100vw);
                            }
                            height: 35px;
                            display: inline-flex;
                            align-items: center;
                            justify-content: center;
                            color: currentColor;
                            background-color: $themecolor2;
                            @include maxwidth(1024) {
                                width: 100%;
                            }
                            &::before,
                            &::after {
                                flex-shrink: 0;
                            }
                        }
                        &-ja {
                            color: currentColor;
                        }
                    }
                    .body {
                        & > *:not(:first-child) {
                            margin-top: 30px;
                        }
                        .text {
                            @include f_all(15);
                            line-height: 2;
                            text-align: justify;
                            max-width: 650px;
                            @include maxwidth(768) {
                                @include f_all(14);
                                line-height: 1.8;
                            }
                        }
                        .common-buttons {
                            display: flex;
                            align-items: flex-start;
                            justify-content: center;
                            flex-direction: column;
                            @include maxwidth(1024) {
                                align-items: center;
                            }
                            gap: 10px;
                            .common-button {
                                &__link {
                                    color: currentColor;
                                    background-color: $themecolor2;
                                    &::after {
                                        background-image: url(../images/arrow-white.svg);
                                    }
                                    &:hover {
                                        opacity: 0.8;
                                    }
                                    &::after {
                                        background-color: $basetextcolor;
                                    }
                                }
                            }
                        }
                    }
                }
                &:nth-child(2) {
                    @media (min-width: 1025px) {
                        flex-basis: (550 / 1440 * 100vw);
                        margin: -150px 0;
                    }
                    .images {
                        overflow: hidden;
                        @include maxwidth(1024) {
                            display: none;
                        }
                        .image {
                            padding-top: (320 / 550 * 100%);
                            box-sizing: border-box;
                            overflow: hidden;
                            position: relative;
                            & > img {
                                position: absolute;
                                inset: 6px 0 0 0;
                                width: 100%;
                                height: 100%;
                                object-fit: cover;
                                z-index: 2;
                            }
                        }
                    }
                    .swiper {
                        display: none;
                        @include maxwidth(1024) {
                            display: block;
                            margin-left: -80px;
                            margin-right: -80px;
                        }
                        @include maxwidth(768) {
                            margin-left: -30px;
                            margin-right: -30px;
                        }
                        &-wrapper {
                        }
                        &-slide {
                            width: 300px;
                            height: 300px;
                            & > img {
                                width: 100%;
                                height: 100%;
                                object-fit: cover;
                            }
                        }
                    }
                }
            }
        }
    }
}

#toppageNews {
    margin: 100px 0 70px;
    padding: 68px 0 40px;
    @include maxwidth(768) {
        margin: 40px 0;
        padding: 60px 0 50px;
    }
    box-sizing: border-box;
    background-color: $themecolor1;
    position: relative;
    .container {
        @include container(1200, 0);
        padding: 0 40px;
        box-sizing: border-box;
        @include maxwidth(768) {
            padding-left: 20px;
            padding-right: 20px;
        }
        .cols {
            display: flex;
            gap: (100 / 1440 * 100vw);
            @include maxwidth(1024) {
                flex-direction: column;
                gap: 55px;
            }
            @include maxwidth(768) {
                gap: 20px;
            }
            .col {
                &:nth-child(1) {
                    @media (min-width: 1025px) {
                        flex-basis: 250px;
                    }
                    .heading {
                        margin-bottom: 20px;
                        @include maxwidth(1024) {
                            margin-bottom: 35px;
                        }
                        &__inner {
                        }
                        &-en {
                        }
                        &-ja {
                        }
                    }
                    .body {
                        .common-terms {
                            ul {
                                @media (min-width: 1025px) {
                                    flex-direction: column;
                                    justify-content: center;
                                }
                                li {
                                    @media (min-width: 1025px) {
                                        width: 100%;
                                    }
                                    a {
                                        @media (min-width: 1025px) {
                                            min-width: initial;
                                            &::after {
                                                transform: rotate(0) !important;
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
                &:nth-child(2) {
                    @media (min-width: 1025px) {
                        flex-grow: 1;
                    }
                    .headline[data-post-type="news"] {
                    }
                    .common-buttons {
                        display: flex;
                        flex-direction: column;
                        align-items: flex-end;
                        justify-content: center;
                        gap: 10px;
                        margin-top: 25px;
                        @include maxwidth(768) {
                            margin-top: 10px;
                        }
                    }
                }
            }
        }
    }
}

#subpageHeading {
    position: relative;
    @include maxwidth(1280) {
        overflow: hidden;
    }
    body.archive & {
        overflow: hidden;
    }
    figure.image {
        height: 280px;
        position: relative;
        &::after {
            content: "";
            @include absolute_centering;
            background: linear-gradient(180deg, rgba(#fff, 0.45) 0%, #fff 100%);
        }
        & > img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
    }
    .heading {
        position: absolute;
        top: 120px;
        left: (80 / 1440 * 100vw);
        @include maxwidth(768) {
            left: 20px;
        }
        z-index: 1;
        &__inner {
            display: flex;
            flex-direction: row-reverse;
            gap: 20px;
            @include maxwidth(1280) {
                flex-direction: column;
                align-items: flex-start;
                gap: .5em;
            }
            body.archive & {
                flex-direction: column;
                align-items: flex-start;
                gap: .5em;
            }
        }
        &-ja {
            color: $themecolor;
            @include f_all(18);
            @include maxwidth(768) {
                @include f_all(16);
            }
            @include maxwidth(480) {
                @include f_all(15);
            }
            font-weight: 500;
            line-height: 1;
            & > span {
                @media (min-width: 1281px) {
                    letter-spacing: 0.5em;
                    display: inline-block;
                    width: 1.0em;
                    writing-mode: vertical-rl;
                    text-orientation: upright;
                }
                body.archive.archive & {
                    letter-spacing: 0;
                    display: initial;
                    width: initial;
                    writing-mode: initial;
                    text-orientation: initial;
                }

                &::before {
                    content: "【";
                }
                &::after {
                    content: "】";
                }
            }
        }
        &-en {
            color: rgba(0, 0, 0, 0);
            font-size: clamp(40px, (80 / 768 * 100vw),80px);
            font-weight: 700;
            line-height: 1;
            text-transform: uppercase;
            background: linear-gradient(180deg, $themecolor 0%, #053557 100%);
            -webkit-background-clip: text;
            @include maxwidth(1280) {
                background: linear-gradient(90deg, $themecolor 0%, #053557 100%);
                -webkit-background-clip: text;
                font-size: clamp(32px, (80 / 768 * 100vw),80px);
                padding-bottom: 0.25em;
            }
            body.archive & {
                background: linear-gradient(90deg, $themecolor 0%, #053557 100%);
                -webkit-background-clip: text;
            }
            & > span {
                @media (min-width: 1281px) {
                    display: inline-block;
                    width: 1.2em;
                    writing-mode: vertical-rl;
                }
                body.archive & {
                    display: initial;
                    width: initial;
                    writing-mode: initial;
                }
            }
        }
    }
}

#subpageTopicPath {
    @include f_all(14);
    @include maxwidth(768) {
        @include f_all(13);
    }
    font-weight: 500;
    line-height: 1.4;
    margin: 40px 0;
    @include container(1200, 40);
    @include maxwidth(768) {
        margin-top: 30px;
        margin-left: 20px;
        margin-right: 20px;
    }
    ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-end;
        li {
            display: inline-flex;
            align-items: center;
            &::after {
                content: "";
                display: inline-block;
                width: 10px;
                height: 15px;
                background: url(../images/arrow-topicpath.svg) no-repeat center / contain;
                margin-left: 1em;
                margin-top: 0.1em;
            }
            &:not(:first-child) {
                margin-left: 1em;
            }
            &:last-child {
                &::after {
                    display: none;
                }
            }
            a {
            }
        }
    }
}

#subpageContent {
    margin: 80px 0;
    @include maxwidth(768) {
        margin: 40px 0 60px;
    }
    min-height: 200px;
    .container {
        @include container(850, 40);
        @include maxwidth(768) {
            margin-left: 20px;
            margin-right: 20px;
        }
        .default {
            @include contentdefault;
            @include eachcss;
        }
    }
}

#subpageArchiveContent {
    margin: 80px 0;
    @include maxwidth(768) {
        margin: 40px 0 60px;
    }
    .container {
        @include container(1200, 40);
        @include maxwidth(768) {
            margin-left: 20px;
            margin-right: 20px;
        }

        .pager {
            text-align: center;
            margin: 40px 0;
            @include f_all(13);
            a,
            span {
                display: inline-block;
                margin: 0 0 0.25em 0.75em;
                min-width: 3em;
                padding: 1em;
                box-sizing: border-box;
                color: $themetextcolor;
                background-color: #032136;
            }
            .current {
                color: $basetextcolor;
                background-color: color-mix(in srgb, $basetextcolor, $themetextcolor 90%);
            }
        }
        
        .monthly_archive_link {
            @include f_all(13);
            @include container(800, 10);
            margin-top: 50px;
            a.show_archive_links {
                display: block;
                width: 200px;
                height: 30px;
                display: flex;
                justify-content: center;
                align-items: center;
                background-color: color-mix(in srgb, $basetextcolor, $themetextcolor 90%);
                margin: auto;
                border-radius: 30px;
                position: relative;
                &:after {
                    content: ">";
                    display: inline-block;
                    transform: rotateZ(90deg) scaleX(0.5);
                    position: absolute;
                    right: 30px;
                    top: 0;
                    bottom: 0;
                    margin: auto;
                }
            }
            ul {
                margin-top: 20px;
                display: none;
                &.show {
                    display: flex;
                }
                justify-content: center;
                flex-wrap: wrap;
                li {
                    margin: 0 5px 10px;
                    flex: 0 0 113px;
                    text-align: center;
                    a {
                        display: block;
                        background-color: color-mix(in srgb, $basetextcolor, $themetextcolor 90%);
                        padding: 7px 0;
                        border-radius: 15px;
                    }
                }
            }
        }
    }
}