// スタイルシート common

@charset "utf-8";

// Webフォント設定
@font-face {
	font-family: 'Senobi Gothic Regular';
	src: 
        url('../fonts/Senobi-Gothic-Regular.woff2')  format('woff2'),
        url('../fonts/Senobi-Gothic-Regular.woff')  format('woff'),
        url('../fonts/Senobi-Gothic-Regular.ttf')  format('truetype')
    ;
    font-weight: normal;
}
@font-face {
	font-family: 'Senobi Gothic Medium';
	src: 
        url('../fonts/Senobi-Gothic-Medium.woff2')  format('woff2'),
        url('../fonts/Senobi-Gothic-Medium.woff')  format('woff'),
        url('../fonts/Senobi-Gothic-Medium.ttf')  format('truetype')
    ;
    font-weight: 500;
}
@font-face {
	font-family: 'Senobi Gothic Bold';
	src: 
        url('../fonts/Senobi-Gothic-Bold.woff2')  format('woff2'),
        url('../fonts/Senobi-Gothic-Bold.woff')  format('woff'),
        url('../fonts/Senobi-Gothic-Bold.ttf')  format('truetype')
    ;
    font-weight: bold;
}

@import "mixin";

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

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

:where(figure) { margin: 0; }

// === Common

html { scroll-behavior: smooth; }

html, body {
    color: $themetextcolor;
    background-color: $themecolor;
}

@mixin cArrow() {
    display: block;
    width: 50px;
    height: 30px;
    border-radius: 50px;
    background: url(../images/arrow-white.svg) no-repeat center center/6px auto $themecolor3;
}

.c-heading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    position: relative;
    .en {
        color: $themecolor3;
        @include ff_en(bold);
        @include f_all(16);
    }
    .ja {
        color: currentColor;
        @include f_all(24);
        line-height: 1.4;
        font-weight: 500;
        @include maxwidth(768) {
            @include f_all(20);
        }
    }
}

.c-buttons {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 10px;
}

.c-button {
    display: inline-block;
    height: auto;
    &__link {
        @include f_all(15);
        line-height: 1.5;
        font-weight: bold;
        @include flex_centering;
        flex-wrap: wrap;
        gap: 1em;
        height: 100%;
        position: relative;
        &::before{
            flex-shrink: 0;
            content: '';
            @include cArrow();
        }

        @include maxwidth(768) {
            @include f_all(14);
        }
        
        @media (any-hover: hover) {
            &:hover {
                opacity: 0.8;
            }
        }
    }
}

.term-list {
    @include f_all(14);
    font-weight: 500;
    line-height: 1.5;
    position: relative;
    @include maxwidth(768) {
        font-weight: bold;
    }
    &:has(+ .headline) { margin-bottom: 20px; }
    ul {
        display: flex;
        flex-wrap: wrap;
        gap: 5px;
        @include maxwidth(768) {
            gap: 3px;
        }
        li {
            height: auto;
            @include maxwidth(768) {
                flex-basis: calc((100% - 3px) / 2);
                &:has( > .all) { flex-basis: 100%; }
            }
            a {
                color: $themetextcolor;
                @include flex_centering;
                height: 100%;
                padding: 0 25px 2px;
                @include maxwidth(768) {
                    padding: 0 1em 2px;
                }
                box-sizing: border-box;
                min-height: 35px;
                background-color: $themecolor2;
                position: relative;
                &.current {
                    @include f_all(15);
                    @include maxwidth(768) {
                        @include f_all(14);
                    }
                    font-weight: bold;
                    background-color: $accentcolor !important;
                }

                @media (any-hover: hover) {
                    &:hover {
                        opacity: 0.8;
                    }
                }
            }
        }
    }
}

#header {
    position: relative;
    .toppage & {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
    }
    z-index: 20;
    .container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 2rem;
        padding: 30px 0;
        @include maxwidth(768) { padding: 24px 0; }
        box-sizing: border-box;
        .sitename {
            flex-shrink: 0;
            a {
                display: flex;
                align-items: flex-start;
                flex-direction: column;
                gap: 10px;
                position: relative;
                &>* {
                    padding-left: 40px;
                    @include maxwidth(768) { padding-left: 20px; }
                    box-sizing: border-box;
                    position: relative;
                    &>img {
                        position: relative;
                        z-index: 1;
                    }
                }
                .logo {
                    padding-right: 28px;
                    padding-bottom: 6px;
                    @include maxwidth(768) {
                        padding-right: 20px;
                        padding-bottom: 8px;
                    }
                    &::before{
                        content: '';
                        display: block;
                        width: 100%;
                        height: 40px;
                        background-color: $themecolor2;
                        .toppage & {
                            background-color: $themecolor;
                        }
                        position: absolute;
                        left: 0;
                        bottom: 0;
                    }
                    img {
                        width: 140px;
                        @include maxwidth(768) {
                            width: 120px;
                        }
                    }
                }
                .sitename {
                    img {
                        width: 230px;
                    }
                }
            }
        }
        .menu {
            color: $themetextcolor;
            @include f_all(14);
            font-weight: 500;
            padding: 10px 40px 13px;
            box-sizing: border-box;
            background-color: $themecolor2;
            .topapge & {
                background-color: $themecolor;
            }
            margin-right: 30px;
            position: relative;
            @include maxwidth(1024) { display: none !important; }
            .global-nav {
                ul {
                    display: flex;
                    align-items: center;
                    flex-wrap: wrap;
                    gap: 28px;
                    li {
                        a {
                            display: inline-flex;
                            align-items: center;
                            gap: 8px;
                            &::before{
                                flex-shrink: 0;
                                content: '';
                                display: block;
                                width: 6px;
                                height: 3px;
                                border-radius: 50px;
                                background-color: currentColor;
                            }

                            &.current {
                                &::before { background-color: $accentcolor; }
                            }
                        }
                    }
                }
            }
        }
    }
}

#gnav {
    &Container {
        position: fixed;
        inset: 0;
        z-index: 100;
        background-color: $themecolor;
        opacity: 0;
        visibility: hidden;
        .menu_open & {
            opacity: 1;
            visibility: visible;
            transition: 500ms ease-out;
        }
    }

    position: fixed;
    inset: 0;
    overflow-y: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
    &::-webkit-scrollbar { display: none; }

    .head {
        --gnav-head-pos-top: 30px;
        @include maxwidth(768) {
            --gnav-head-pos-top: 24px;
        }
        position: absolute;
        z-index: 1;
        top: var(--gnav-head-pos-top);
        .admin-bar & {
            @include maxwidth(768) {
            --gnav-head-pos-top: 28px;
        }
        }
        left: 0;
        .logo {
            padding: 0 28px 8px 40px;
            @include maxwidth(768) {
                padding: 0 20px 8px;
            }
            box-sizing: border-box;
            overflow: hidden;
            position: relative;
            &::before{
                content: '';
                display: block;
                height: 40px;
                position: absolute;
                left: 0;
                right: 0;
                bottom: 0;
                margin: auto;
                background-color: $themecolor2;
                transform: scaleX(0);
                transform-origin: left center;
                transition: 500ms 200ms;
                .menu_open & {
                    transform: scaleX(1);
                }
            }
            &>img {
                position: relative;
                width: 140px;
                @include maxwidth(768) { width: 120px; }
                
                transform: translateY(110%);
                transition: 300ms 500ms ease-out;
                .menu_open & {
                    transform: translateY(0%);
                }
            }
        }
    }
    .body {
        padding: 180px 20px 60px;
        box-sizing: border-box;
        position: relative;
        .menu {
            ul {
                li {
                    &:not(:first-of-type) { margin-top: 2px; }
                    a {
                        @include f_all(13);
                        font-weight: 500;
                        line-height: 1.5;
                        text-transform: capitalize;
                        display: flex;
                        align-items: center;
                        flex-wrap: wrap;
                        gap: 1em;
                        padding: 10px 1em 10px 45px;
                        box-sizing: border-box;
                        background-color: $themecolor2;
                        min-height: 50px;
                        position: relative;
                        &::after {
                            content: '['attr(data-ja)']';
                            color: #a1a1a1;
                        }
                        &::before{
                            content: '';
                            display: block;
                            width: 6px;
                            height: 3px;
                            border-radius: 50px;
                            background-color: $themetextcolor;
                            position: absolute;
                            top: 0;
                            bottom: 0;
                            left: 25px;
                            margin: auto;
                        }
                        &.current::before {
                            background-color: $accentcolor;
                        }
                    }
                }
            }
        }
        .address {
            text-align: center;
            margin-top: 48px;
            .sitename {
                &:has( + *) {
                    margin-bottom: 13px;
                }
                &>img {
                    width: 240px;
                }
            }
            p {
                @include f_all(13);
                font-weight: 500;
                line-height: 1.5;
                &:not(:first-of-type) { margin-top: 1em; }
            }
        }
    }

}

.gnav-toggle {
    cursor: pointer;
    display: block;
    width: 50px;
    height: 50px;
    background-color: $themecolor2;
    position: relative;
    .menu_open & {
        background-color: $accentcolor;
    }
    .b {
        @include absolute_centering;
        &>span {
            display: block;
            width: 3px;
            height: 3px;
            border-radius: 3px;
            background-color: $themetextcolor;
            position: absolute;
            top: 35%;
            left: 0;
            right: 0;
            margin: auto;
            &:nth-of-type(1) {
                transform: translateY(-4px);
                .menu_open & {
                    transform: translateX(-5px);
                }
            }
            &:nth-of-type(2) {
                opacity: 0;
                .menu_open & {
                    opacity: 1;
                }
            }
            &:nth-of-type(3) {
                transform: translateY(4px);
                .menu_open & {
                    transform: translateX(5px);
                }
            }
        }
    }
    .t {
        color: $themetextcolor;
        @include ff_en(bold);
        @include f_all(10);
        white-space: nowrap;
        position: absolute;
        left: 50%;
        bottom: 0.8em;
        transform: translateX(-50%);
        &::before{
            content: 'MENU';
            .menu_open & {
                content: 'CLOSE';
            }
        }
    }
}

#gnavToggle {
    &Container {
        position: absolute;
        top: 39px;
        @include maxwidth(768) {
            top: 33px;
        }
        right: 20px;
        z-index: 101;

        .menu_open & {
            position: fixed;
        }

        @media screen and (min-width: 1025px) {
            display: none;
        }
    }
}

#shortcutSp {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 20;
    opacity: 0;
    visibility: hidden;
    transform: translateY(100%);

    .header_scrollout & {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        transition: 500ms;
    }

    @media screen and (min-width: 769px) {
        display: none;
    }
    ul {
        display: flex;
        li {
            flex: 50%;
            height: 50px;

            &:has( > a.gnav-toggle) {
                flex-shrink: 0;
                flex-grow: 0;
                flex-basis: 50px;
            }

            a:not(.gnav-toggle) {
                font-family: "Noto Serif", serif;
                font-weight: 300;
                line-height: 1.2;
                @include f_all(18);
                @include flex_centering;
                height: 100%;
                color: $accenttextcolor;
                background-color: $accentcolor;
                position: relative;
                &.form {
                    gap: 10px;
                    &::before{
                        flex-shrink: 0;
                        content: '';
                        display: block;
                        width: 20px;
                        height: 16px;
                        background: url(../images/icon-mail-white.svg) no-repeat center/contain;
                    }
                }
            }
        }
    }
}

#mainVisual {
    position: relative;
    z-index: 5;
    --mv-foot-height: 70px;
    @include maxwidth(1024) {
        --mv-foot-height: 0px;
    }
    .container {
        position: relative;
        .gallery {
            position: relative;
            &::after{
                content: '';
                pointer-events: none;
                @include absolute_centering;
                background: linear-gradient(
                    270deg,
                    rgba($themecolor2, 0.20) 0%,
                    rgba($themecolor2, 0.00) 100%
                );
                @include maxwidth(768) {
                    background: rgba($themecolor2, 0.10);
                }
            }
            &-items {
                display: grid;
                grid-template-columns: repeat(5, 1fr);
                grid-template-rows: repeat(4, 1fr);
                gap: 4px;
                height: calc(100vh - var(--mv-foot-height, 0px));
                height: calc(100svh - var(--mv-foot-height, 0px));
                min-height: 580px;
                @include maxwidth(768) {
                    grid-template-columns: repeat(2, 1fr);
                    grid-template-rows: repeat(5, 1fr); 
                    gap: 0px;
                }
            }
            &-item {
                &:nth-of-type(1) { grid-area: 1 / 1 / 5 / 4; }
                &:nth-of-type(2) { grid-area: 1 / 4 / 3 / 6; }
                &:nth-of-type(3) { grid-area: 3 / 4 / 5 / 6; } 
                @include maxwidth(768) {
                    &:nth-of-type(1) { grid-area: 1 / 1 / 4 / 3; }
                    &:nth-of-type(2) { grid-area: 4 / 1 / 6 / 2; }
                    &:nth-of-type(3) { grid-area: 4 / 2 / 6 / 3; } 
                }
                position: relative;
                &::after {
                    content: '';
                    pointer-events: none;
                    @include absolute_centering;
                    background: radial-gradient(
                        50% 50% at 50% 50%,
                        rgba($themecolor2, 0.15) 0%,
                        rgba($themecolor2, 0.45) 100%
                    );
                }
                &__link {
                    display: block;
                    height: 100%;
                    position: relative;
                }
                .image {
                    height: 100%;
                    &>img {
                        width: 100%;
                        height: 100%;
                        object-fit: cover;
                    }
                }
                .title {
                    color: $themetextcolor;
                    @include f_all(14);
                    font-weight: bold;
                    line-height: 1.5;
                    position: absolute;
                    right: 30px;
                    bottom: 15px;
                    z-index: 5;
                    @include maxwidth(768) {
                        color: #a1a1a1;
                        @include f_all(12);
                        right: 10px;
                        bottom: 10px;
                    }
                }
            }
        }
        .overlay {
            position: absolute;
            top: calc(50% + (var(--mv-foot-height) / 2));
            left: 40px;
            transform: translateY(-50%);
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            gap: 15px;
            @include maxwidth(768) {
                top: calc(50% + 70px);
                left: 20px;
                gap: 5px;
            }
            .text {
                font-size: 28px;
                @include maxwidth(768) { font-size: 24px; }
                font-weight: 500;
                line-height: 1.8;
                &>span {
                    display: inline-flex;
                    align-items: center;
                    justify-content: center;
                    padding: 0 10px;
                    box-sizing: border-box;
                    background-color: $themecolor2;
                    margin-right: 0.25em;
                    min-height: 46px;
                    @include maxwidth(768) { min-height: 38px; }
                    position: relative;
                }

                br.sp {
                    @media screen and (min-width: 769px) {
                        display: none;
                    }
                }
            }
            .text-en {
                @include ff_en(bold);
                font-size: 20px;
                line-height: 1.5;
                @include maxwidth(768) { font-size: 16px; }
            }
        }
        .scrolldown {
            position: absolute;
            left: 40px;
            bottom: 35px;
            font-size: 13px;
            @include maxwidth(768) {
                font-size: 12px;
                left: 13px;
                bottom: 38px;
            }
            &__link {
                @include ff_en(bold);
                display: inline-block;
                width: 1em;
                writing-mode: vertical-rl;
                line-height: 1;
                &::after{
                    content: '';
                    display: block;
                    width: 1px;
                    height: 66px;
                    background-color: $themecolor3;
                    position: absolute;
                    top: calc(100% + 8px);
                    left: 0.25em;
                    @include maxwidth(768) {
                        height: 40px;
                        left: 0.3em;
                    }
                }
            }
        }
    }
    .mv-foot {
        position: relative;
        @include maxwidth(1024) {
            padding: 30px 0;
        }
        &__inner {
            padding: 0 120px;
            @include maxwidth(1440) {
                padding: 0 calc(120 / 1440 * 100vw);
            }
            @include maxwidth(1024) {
                padding: 0;
            }
            box-sizing: border-box;
            height: var(--mv-foot-height);
            @include maxwidth(1024) {
                height: auto;
            }
            display: flex;
            align-items: center;
            // justify-content: space-between;
            gap: 2rem;
            position: relative;
            @include maxwidth(1024) {
                display: block;
            }
        }
        .headline {
            display: flex;
            align-items: center;
            gap: 30px;
            margin: 0;
            @include maxwidth(1024) {
                flex-direction: column;
                align-items: flex-start;
                gap: 0px;
            }
            &__title {
                flex-shrink: 0;
                color: $themetextcolor;
                @include ff_en(bold);
                @include f_all(16);
                display: inline-flex;
                align-items: center;
                justify-content: center;
                width: 94px;
                height: 40px;
                background-color: $themecolor2;
                position: relative;
                z-index: 10;
                @include maxwidth(768) {
                    height: 35px;
                }
            }
            &-items {
                height: 1.5rem;
                @include maxwidth(1024) {
                    padding: 15px 20px 0;
                    height: 3em;
                }
            }
            &-item {
                &__link {
                    display: flex;
                    align-items: center;
                    gap: 0 20px;
                    @include maxwidth(1024) {
                        flex-wrap: wrap;
                        gap: 0 14px;
                    }
                    .date {
                        flex-shrink: 0;
                        @include ff_en(bold);
                        @include f_all(16);
                        @include maxwidth(768) { @include f_all(15); }
                        display: inline-flex;
                        align-items: flex-end;
                        .y {
                            font-size: 0.8125em;
                            margin-right: 1px;
                            margin-bottom: 1px;
                        }
                        .m {  }
                        .d {  }
                    }
                    .terms {
                        @include f_all(12);
                        font-weight: bold;
                        line-height: 1;
                        display: flex;
                        flex-wrap: wrap;
                        gap: 0.2em;
                        .term {
                            flex-shrink: 0;
                            color: $accenttextcolor;
                            display: inline-flex;
                            align-items: center;
                            justify-content: center;
                            padding: 0 12px 0.1em;
                            box-sizing: border-box;
                            background-color: $accentcolor;
                            min-height: 21px;
                            position: relative;
                        }
                    }
                    .title {
                        @include f_all(14);
                        font-weight: 500;
                        line-height: 1.5;
                        overflow: hidden;
                        white-space: nowrap;
                        text-overflow: ellipsis;
                        @include maxwidth(1024) {
                            flex-basis: 100%;
                            margin-top: 6px;
                        }
                    }
                }
            }
            &-controls {
                flex-grow: 1;
                display: flex;
                align-items: center;
                justify-content: flex-end;
                gap: 15px;
                @include maxwidth(1024) {
                    flex: none;
                    justify-content: initial;
                    position: absolute;
                    top: 3px;
                    right: 20px;
                    z-index: 10;
                }
            }
            &-button-prev,
            &-button-next {
                flex-shrink: 0;
                cursor: pointer;
                @include cArrow();
                background-color: $themecolor;
                @include maxwidth(768) {
                    background-color: $themecolor2;
                }
            }
            &-button-prev {
                transform: scale(-1,1);
            }
            &-button-next {
            }
            &-pagination {
                width: auto;
                @include f_all(14);
                font-weight: bold;
                margin-bottom: 2px;
                display: inline-flex;
                align-items: center;
                gap: 6px;
                .current {  }
                .total {  }
                .dots {
                    display: block;
                    width: 13px;
                    height: 3px;
                    background: url(../images/dots.svg) no-repeat center/contain;
                }
            }
        }
    }
}

#footer {
    padding: 70px 0 25px;
    box-sizing: border-box;
    background-color: $themecolor;
    position: relative;
    @include maxwidth(768) {
        padding: 40px 0 80px;
    }
    .pattern{
        position: absolute;
        top: (213 / 1440 * -100vw);
        right: 0;
        left: 0;
        bottom: 0;
        margin: auto;
        overflow: hidden;
        @include maxwidth(768) {
            top: -124px;
            display: none;
        }
        &>span {
            display: block;
            position: absolute;
            top: 0;
            right: 0;
            width: 92.5vw;
            height: 92.5vw;
            @include maxwidth(768) {
                width: 343px;
                height: 343px;
            }
            background-color: rgba($basecolor, 0.10);
            clip-path: polygon(100% 0, 0 53%, 100% 100%);
        }
    }
    .container {
        @include container(1280, 20);
        .l-top {
            .contact-buttons {
                .contact-button {
                    &:not(:first-of-type) { margin-top: 10px; }
                    &__link {
                        color: $themetextcolor;
                        @include flex_centering;
                        flex-direction: column;
                        background-color: $themecolor2;
                        min-height: 188px;
                        position: relative;
                        @include maxwidth(768) {
                            min-height: 173px;
                        }
                        .title-en {
                            color: $themecolor3;
                            @include ff_en(bold);
                            @include f_all(16);
                            text-transform: capitalize;
                        }
                        .title {
                            font-family: "Noto Serif", serif;
                            @include f_all(24);
                            font-weight: 300;
                            line-height: 1.2;
                            text-transform: capitalize;
                            display: flex;
                            align-items: center;
                            gap: 14px;
                            margin-top: 10px;
                            &::before{
                                flex-shrink: 0;
                                content: '';
                                display: block;
                                width: 20px;
                                height: 16px;
                                background: url(../images/icon-mail-white.svg) no-repeat center/contain;
                                margin-top: 0.2em;
                            }
                        }
                        &::after{
                            content: '';
                            @include cArrow();
                            margin-top: 20px;
                        }
                    }
                }
            }
        }
        .l-foot {
            margin-top: 50px;
            display: flex;
            justify-content: space-between;
            gap: 2rem;
            @include maxwidth(1024) {
                flex-direction: column;
                justify-content: initial;
                gap: 0px;
            }
            @include maxwidth(768) {
                margin-top: 30px;
            }

            &-left {
            }
            &-right {
                padding-top: 25px;
                @include maxwidth(768) { padding-top: 20px; }
            }

            .sitename {
                a {
                    display: inline-flex;
                    flex-direction: column;
                    align-items: flex-start;
                    gap: 12px;
                    .logo {
                        img {
                            width: 110px;
                        }
                    }
                    .sitename {
                        img {
                            width: 240px;
                        }
                    }
                }
            }
            .address {
                @include f_all(13);
                font-weight: 500;
                line-height: 1.5;
                margin-top: 10px;
                &>* {
                    &:not(:first-child) { margin-top: 0.5em; }
                }
            }
            .menu {
                @include f_all(14);
                @include maxwidth(768) { @include f_all(13); }
                font-weight: 500;
                line-height: 1.5;
                &>* {
                    &:not(:first-child) {
                        margin-top: 20px;
                        @include maxwidth(1024) { margin-top: 2px; }
                    }
                }
                ul {
                    display: flex;
                    align-items: center;
                    justify-content: flex-end;
                    flex-wrap: wrap;
                    gap: 20px 40px;
                    @include maxwidth(1024) {
                        flex-direction: column;
                        align-items: initial;
                        justify-content: initial;
                        gap: 2px;
                    }
                    li {
                        a {
                            display: inline-flex;
                            align-items: center;
                            gap: 6px;
                            @include maxwidth(1024) {
                                display: flex;
                                align-items: center;
                                gap: 1em;
                                padding: 10px 25px;
                                box-sizing: border-box;
                                background-color: $themecolor2;
                                min-height: 40px;
                                position: relative;
                            }
                            &::before{
                                flex-shrink: 0;
                                content: '';
                                display: block;
                                width: 6px;
                                height: 3px;
                                background-color: $themecolor3;
                                border-radius: 50px;
                                @include maxwidth(1024) { 
                                    margin-top: 0.15em;
                                }
                            }
                        }
                    }
                }
                .global {
                }
                .aside {
                }
            }
            .copyright {
                margin-top: 50px;
                text-align: right;
                @include maxwidth(1024) { text-align: center; }
                @include maxwidth(768) { margin-top: 20px; }
                small {
                    @include ff_en(bold);
                    @include f_all(14);
                    line-height: 1.3;
                    @include maxwidth(768) { @include f_all(13); }
                }
            }
        }
    }
    #loopText {
        color: $themecolor3;
        font-size: clamp(48px,(96 / 1440 * 100vw),96px);
        font-weight: 300;
        line-height: 1.5;
        position: absolute;
        top: -1em;
        left: 0;
        right: 0;
        overflow: hidden;
        white-space: nowrap;
        .texts {
            display: inline-flex;
            align-items: flex-end;
            flex-wrap: nowrap;
            .text {
                padding-left: 1em;
                box-sizing: border-box;
            }
        }
    }
}

#contentFooter {
    color: $themetextcolor;
    padding: 130px 0 160px;
    box-sizing: border-box;
    background-color: $themecolor2;
    position: relative;
    @include maxwidth(768) {
        padding: 40px 0 80px;
    }
    &::after{
        content: '';
        display: block;
        position: absolute;
        top: calc(100% - (124 / 375 * 100vw));
        right: 0;
        width: (343 / 375 * 100vw);
        height: (343 / 375 * 100vw);
        background-color: rgba($basecolor, 0.10);
        clip-path: polygon(100% 0, 0 53%, 100% 100%);
        @media screen and (min-width: 769px) {
            display: none;
        }
    }

    .subpage & {
        overflow: hidden;
        &::before {
            pointer-events: none;
            content: '';
            display: block;
            position: absolute;
            bottom: calc(100% - (336 / 1440 * 100vw));
            left: 0;
            width: 92.5vw;
            height: 92.5vw;
            @include maxwidth(768) {
                width: (343 / 375 * 100vw);
                height: (343 / 375 * 100vw);
                bottom: calc(100% - (124 / 375 * 100vw));
            }
            background-color: rgba(#fff, 0.1);
            clip-path: polygon(0 0, 0% 100%, 100% 50%);
        }
    }
}

.topics-headline {
    position: relative;
    .headlie-items {
    }
    .headline-item {
        &:not(:first-of-type) { margin-top: 5px; }
        &__link {
            .toppage & {
                color: $themetextcolor;
            }
            background-color: transparent;
            display: flex;
            align-items: center;
            gap: 0 20px;
            padding: 19px 20px 18px 80px;
            box-sizing: border-box;
            border-bottom: solid 1px $themecolor;
            position: relative;
            @include maxwidth(768) {
                flex-wrap: wrap;
                gap: 0 14px;
                padding: 20px;
            }
            .date {
                flex-shrink: 0;
                @include ff_en(bold);
                @include f_all(16);
                display: inline-flex;
                align-items: flex-end;
                flex-wrap: wrap;
                @include maxwidth(768) {
                    @include f_all(15);
                    padding-left: 30px;
                    box-sizing: border-box;
                }
                .y {
                    margin-right: 1px;
                }
                .m {  }
                .d {  }
            }
            .terms {
                flex-shrink: 0;
                display: inline-flex;
                flex-wrap: wrap;
                gap: 0.25em;
                .term {
                    color: $accenttextcolor;
                    @include f_all(12);
                    font-weight: bold;
                    display: inline-flex;
                    align-items: center;
                    justify-content: center;
                    background-color: $accentcolor;
                    padding: 0 12px 2px;
                    box-sizing: border-box;
                    min-height: 21px;
                    position: relative;
                    @include maxwidth(768) {
                        padding: 0 6px 1px;
                    }
                }
            }
            .title {
                @include f_all(14);
                font-weight: 700;
                line-height: 1.5;
                @include maxwidth(768) {
                    flex-basis: 100%;
                    margin-top: 15px;
                }
            }

            &::before{
                content: '';
                display: block;
                width: 7px;
                height: 7px;
                background: no-repeat center center/5px auto $themecolor3;
                position: absolute;
                top: 0;
                bottom: 0;
                left: 30px;
                margin: auto;
                @include maxwidth(768) {
                    top: 28px;
                    left: 23px;
                    bottom: auto;
                    margin: 0;
                }
                @media (any-hover: none) {
                    background-image: url(../images/arrow-color.svg);
                    background-color: transparent;
                }
            }

            @media (any-hover:hover) {
                &:hover {
                    background-color: rgba($themecolor, .1);
                    border-bottom: solid 1px transparent;
                    .toppage & {
                        color: $themetextcolor;
                        background-color: $themecolor;
                    }
                    &::before {
                        background-image: url(../images/arrow-color.svg);
                        background-color: transparent;
                    }
                }
            }
        }
    }
}

.portfolio-headline {
    --portfolio-headline-between: 25px;
    @include maxwidth(768) {
        --portfolio-headline-between: 10px;
    }
    position: relative;
    .headline-items {
        display: flex;
        flex-wrap: wrap;
        gap: calc(var(--portfolio-headline-between) * 2) var(--portfolio-headline-between);
    }
    .headline-item {
        flex-basis: calc((100% - (var(--portfolio-headline-between) * 3)) / 4);
        @include maxwidth(900) {
            flex-basis: calc((100% - (var(--portfolio-headline-between) * 1)) / 2);
        }
        height: auto;
        &__link {
            display: block;
            height: 100%;
            position: relative;
            &>* { display: block; }
            @media (any-hover: hover) {
                &:hover {
                    .image > img {
                        transform: scale(1.15);
                    }
                }
            }
            .image {
                padding-top: 100%;
                position: relative;
                overflow: hidden;
                &>img {
                    position: absolute;
                    top: 0;
                    left: 0;
                    width: 100%;
                    height: 100%;
                    object-fit: cover;
                    transform: scale(1);
                    transition: transform 300ms ease-out;
                }
            }
            .title {
                @include f_all(15);
                font-weight: bold;
                line-height: 1.5;
                margin-top: 10px;
            }
            .terms {
                @include f_all(12);
                font-weight: bold;
                margin-top: 7px;
                display: flex;
                flex-wrap: wrap;
                gap: 3px;
                .term {
                    color: $accenttextcolor;
                    display: inline-flex;
                    align-items: center;
                    justify-content: center;
                    background-color: $accentcolor;
                    padding: 0 8px 2px;
                    box-sizing: border-box;
                    min-height: 18px;
                    position: relative;
                }
            }
        }
    }
}

// === Toppage

// 共通セクションが存在
.gl-section .l-main { overflow: hidden }
.c-section {
    position: relative;
    .l-main {
        padding: 157px 0 100px;
        @include maxwidth(768) {
            padding: 60px 0 70px;
        }
        position: relative;
        .bgimage {
            @include absolute_centering;
            .image {
                opacity: 0;
                @include absolute_centering;
                display: block;
                width: 100%;
                height: 100%;
                background-size: cover;
                background-position: center center;
                background-repeat: no-repeat;
                &::after{
                    content: '';
                    @include absolute_centering;
                    border-top: 1px solid rgba($themecolor2, 0.60);
                    border-bottom: 1px solid rgba($themecolor2, 0.60);
                    background: rgba($themecolor2, 0.60);
                    backdrop-filter: blur(7.5px);
                    -webkit-backdrop-filter: blur(7.5px);
                }
            }
        }
        .container {
            @include container(1240, 20);
            z-index: 5;
            .columns {
                display: flex;
                align-items: center;
                justify-content: space-between;
                gap: 3rem;
                @include maxwidth(1024) {
                    flex-direction: column !important;
                    align-items: initial;
                    justify-content: initial;
                    &>* {
                        flex: none !important;
                        width: 100%;
                    }
                }
                @include maxwidth(768) { gap: 40px; }
                .column {
                    &:nth-of-type(1) {
                        flex-basis: 510px;
                        .head {
                            .c-heading {
                                align-items: flex-start;
                                gap: 12px;
                                .en {
                                }
                                .ja {
                                    line-height: 1.8;
                                }
                            }
                        }
                        .body {
                            margin-top: 20px;
                            @include maxwidth(768) { margin-top: 12px; }
                            .text {
                                @include f_all(15);
                                line-height: 1.8;
                            }
                            .c-buttons {
                                margin-top: 33px;
                                @include maxwidth(768) { margin-top: 23px; }
                            }
                        }
                    }
                    &:nth-of-type(2) {
                        flex-basis: 590px;
                        .slideshow {
                            position: relative;
                            &-wrapper {
                                max-height: 80vh;
                                aspect-ratio: 1;
                                @include maxwidth(1024) {
                                    margin: 0 auto;
                                }
                                position: relative;
                            }
                            &-gl {
                                width: 100% !important;
                                height: 100% !important;
                            }
                            &-paste-prev,
                            &-paste-next {
                                position: absolute;
                                width: 50%;
                                top: 0;
                                bottom: 0;
                                margin: auto;
                                background-color: transparent;
                            }
                            &-paste-prev {
                                left: 0;
                            }
                            &-paste-next {
                                right: 0;
                            }
                            &-stkr {
                                pointer-events: none;
                                opacity: 0;
                                position: fixed;
                                top: 0;
                                left: 0;
                                @include flex_centering;
                                width: 100px;
                                height: 100px;
                                background-color: rgba($accentcolor, 0.8);
                                border-radius: 100px;
                                color: $accenttextcolor;
                                @include ff_en(bold);
                                @include f_all(16);
                                @media (any-hover: none) {
                                    display: none !important;
                                }
                            }
                            &-slide {
                                @include absolute_centering;
                                &:not(:first-of-type) { display: none; }
                                &>img {
                                    position: absolute;
                                    top: 0;
                                    left: 0;
                                    width: 100%;
                                    height: 100%;
                                    object-fit: cover;
                                }
                            }
                            &-pagination {
                                display: flex;
                                align-items: center;
                                justify-content: center;
                                gap: 10px;
                                margin-top: 20px;
                                .bullet {
                                    cursor: pointer;
                                    background: none;
                                    outline: none;
                                    border: none;
                                    width: 10px;
                                    height: 10px;
                                    background-color: $themetextcolor;
                                    border-radius: 50%;
                                    &-active {
                                        background-color: $accentcolor;
                                    }
                                }
                            }
                        }
                    }

                }
            }
        }
    }
}

#toppageAboutus {
    position: relative;
    z-index: 1;
    .l-top {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 170px 0 160px;
        position: relative;
        @include maxwidth(768) {
            padding: 75px 0 100px;
        }
        z-index: 0;
        &::before {
            content: '';
            display: block;
            position: absolute;
            right: 0;
            bottom: (415 / 1440 * -100vw);
            width: 92.5vw;
            height: 92.5vw;
            @include maxwidth(768) {
                width: (560 / 375 * 100vw);
                height: (560 / 375 * 100vw);
                bottom: (135 / 375 * -100vw);
            }
            background-color: $themecolor2;
            clip-path: polygon(calc(100% + 40px) 0, 40px 50%, calc(100% + 40px) 100%);
            @include maxwidth(768) {
                clip-path: polygon(100% 0, 0 50%, 100% 100%);
            }
            z-index: -1;
        }
        .logo {
            @include flex_centering;
            width: 120px;
            height: 120px;
            background-color: $themecolor;
            &>img {
                width: 61px;
            }
        }
        .sitename {
            margin-top: 30px;
            &>img {
                width: 188px;
            }
        }
        .heading {
            @include f_all(16);
            font-weight: 500;
            line-height: 1.8;
            text-align: center;
            margin-top: 4px;
        }
    }
    .l-main {
        // overflow: hidden;
        &::before {
            content: '';
            display: block;
            position: absolute;
            bottom: calc(100% - (415 / 1440 * 100vw));
            right: 0;
            width: 92.5vw;
            height: 92.5vw;
            background-color: rgba($themecolor, 0.8);
            clip-path: polygon(calc(100% + 40px) 0, 40px 50%, calc(100% + 40px) 100%);
            z-index: 1;
            @include maxwidth(768) {
                width: (344 / 375 * 100vw);
                height: (344 / 375 * 100vw);
                bottom: calc(100% - (135 / 375 * 100vw));
                clip-path: polygon(100% 0, 0 50%, 100% 100%);
            }
        }
        &::after {
            content: '';
            display: block;
            position: absolute;
            top: calc(100% - (400 / 1440 * 100vw));
            left: 0;
            width: 92.5vw;
            height: 92.5vw;
            @include maxwidth(768) {
                width: (343 / 375 * 100vw);
                height: (343 / 375 * 100vw);
                top: calc(100% - (115 / 375 * 100vw));
            }
            background-color: rgba($themecolor2, 0.6);
            clip-path: polygon(0 0, 0% 100%, 100% 50%);
        }
        .container {
            .columns {
                flex-direction: row-reverse;
            }
        }
    }
}

#toppagePortfolio {
    padding: 100px 0 168px;
    @include maxwidth(768) { padding: 60px 0 80px; }
    position: relative;
    z-index: 0;
    &::before {
        content: "";
        @include maxwidth(768) {
            display: block;
            position: absolute;
            bottom: calc(100% - (73 / 375 * 100vw));
            right: 0;
            width: (343 / 375 * 100vw);
            height: (343 / 375 * 100vw);
            background-color: rgba(#fff, 0.1);
            clip-path: polygon(100% 0, 0 50%, 100% 100%);
            z-index: -1;
        }
    }
    &::after {
        content: '';
        display: block;
        position: absolute;
        top: calc(100% - (330 / 1440 * 100vw));
        right: 0;
        width: 92.5vw;
        height: 92.5vw;
        background-color: rgba(#fff, 0.1);
        clip-path: polygon(100% 0, 0 50%, 100% 100%);
        z-index: -1;
        @include maxwidth(768) {
            width: (343 / 375 * 100vw);
            height: (343 / 375 * 100vw);
            top: calc(100% - (60 / 375 * 100vw));
        }
    }
    .container {
        position: relative;
        z-index: 1;
        .head {
            @include container(1280, 20);
            .c-heading {
                @include maxwidth(1024) {
                    align-items: flex-start;
                }
            }
            .navigations {
                display: flex;
                align-items: center;
                justify-content: space-between;
                gap: 3rem;
                margin-top: 40px;
                @include maxwidth(1024) {
                    flex-direction: column;
                    align-items: initial;
                    justify-content: initial;
                    gap: 0px;
                    margin-top: 30px;
                }
                .term-list {
                }
                .c-button {
                    @include maxwidth(1024) {
                        position: absolute;
                        top: 20px;
                        right: 0;
                    }
                    @include maxwidth(768) {
                        top: 15px;
                    }
                }
            }
        }
        .body {
            margin-top: 20px;
            @include maxwidth(768) {
                margin-top: 10px;
            }
            .slider {
                --slider-bottom-between: 115px;
                @include maxwidth(768) {
                    --slider-bottom-between: 107px;
                }
                padding-bottom: var(--slider-bottom-between);
                overflow: hidden;
                position: relative;
                &-controls {
                    position: absolute;
                    left: (80 / 1440 * 100vw);
                    bottom: 40px;
                    z-index: 10;
                    display: flex;
                    align-items: center;
                    gap: 15px;
                    @include maxwidth(768) {
                        position: static;
                        justify-content: center;
                        margin-top: 13px;
                        gap: 20px;
                    }
                }
                &-button-prev,
                &-button-next
                {
                    flex-shrink: 0;
                    cursor: pointer;
                    @include cArrow();
                    background-color: $themecolor2;
                }
                &-button-prev { transform: scale(-1, 1); }
                &-pagination {
                    @include f_all(14);
                    font-weight: bold;
                    margin-bottom: 2px;
                    display: inline-flex;
                    align-items: center;
                    gap: 6px;
                    @include maxwidth(768) { gap: 5px; }
                    .current {  }
                    .total {  }
                    .dots {
                        display: block;
                        width: 13px;
                        height: 3px;
                        background: url(../images/dots.svg) no-repeat center/contain;
                        margin-top: 1px;
                    }
                }
                &-items {
                    height: 650px;
                    position: relative;
                    @include maxwidth(1024) {
                        height: 420px;
                    }
                }
                &-item {
                    --slider-width: 250px;
                    --slider-height: 280px;
                    --slider-basis-pos-left: 50%;
                    @include maxwidth(1024) {
                        --slider-width: 130px;
                        --slider-height: 150px;
                    }
                    @include maxwidth(768) {
                        --slider-basis-pos-left: (20 / 375 * 100vw);
                    }

                    position: absolute;
                    z-index: 1;
                    left: var(--slider-basis-pos-left);
                    bottom: calc(var(--slider-bottom-between) * -1);
                    width: var(--slider-width);
                    height: var(--slider-height);
                    transition: all 1000ms;

                    &::after{
                        content: '';
                        pointer-events: none;
                        @include absolute_centering;
                        background: rgba($themecolor2, 0.20);
                    }

                    &:nth-of-type(1),
                    &:nth-of-type(2)
                    {
                        bottom: 0;
                        left: 0;
                        width: 100%;
                        height: 100%;

                        .index {
                            letter-spacing: 0;
                        }
                        .docs > * {
                            opacity: 1;
                            visibility: visible;
                            transform: translateX(0);
                            @for $i from 0 to 3 {
                                &:nth-child(#{$i + 1}) {
                                    transition-delay: calc((100ms * #{$i}) + 500ms);
                                }
                            }
                        }

                        &::after{
                            border-top: 1px solid $themecolor;
                            border-bottom: 1px solid $themecolor;
                            background: radial-gradient(
                                50% 50% at 50% 50%,
                                rgba($themecolor2, 0.15) 0%,
                                rgba($themecolor2, 0.40) 100%
                            );
                        }
                    }

                    &:nth-of-type(4) {
                        left: calc(var(--slider-basis-pos-left) + (var(--slider-width) + 20px));
                    }
                    &:nth-of-type(5) {
                        left: calc(var(--slider-basis-pos-left) + ((var(--slider-width) + 20px) * 2));
                    }
                    &:nth-of-type(6) {
                        left: calc(var(--slider-basis-pos-left) + ((var(--slider-width) + 20px) * 3));
                    }
                    &:nth-of-type(7) {
                        left: calc(var(--slider-basis-pos-left) + ((var(--slider-width) + 20px) * 4));
                    }
                    &:nth-of-type(8) {
                        left: calc(var(--slider-basis-pos-left) + ((var(--slider-width) + 20px) * 5));
                    }
                    &:nth-of-type(9) {
                        left: calc(var(--slider-basis-pos-left) + ((var(--slider-width) + 20px) * 6));
                    }
                    &:nth-of-type(10) {
                        left: calc(var(--slider-basis-pos-left) + ((var(--slider-width) + 20px) * 7));
                    }
                    &:nth-of-type(11) {
                        left: calc(var(--slider-basis-pos-left) + ((var(--slider-width) + 20px) * 8));
                    }
                    &:nth-of-type(12) {
                        left: calc(var(--slider-basis-pos-left) + ((var(--slider-width) + 20px) * 9));
                    }

                    &__link {
                        display: block;
                        height: 100%;
                        color: $themetextcolor;
                        position: relative;
                        .index {
                            @include ff_en(bold);
                            @include f_all(20);
                            line-height: 1.5;
                            letter-spacing: -0.05em;
                            position: absolute;
                            top: (14 / 250 * 100%);
                            left: (14 / 250 * 100%);
                            z-index: 1;
                            @include maxwidth(768) {
                                @include f_all(16);
                                top: (6 / 130 * 100%);
                                left: (5 / 130 * 100%);
                            }
                        }
                        .image {
                            height: 100%;
                            &>img {
                                width: 100%;
                                height: 100%;
                                object-fit: cover;
                            }
                        }
                        .docs {
                            position: absolute;
                            left: (80 / 1440 * 100%);
                            bottom: 30px;
                            z-index: 1;
                            @include maxwidth(768) {
                                left: (5 / 130 * 100%);
                                bottom: 73px;
                            }
                            &>* {
                                opacity: 0;
                                visibility: hidden;
                                transform: translateX(-1rem);
                                transition: 500ms;
                            }
                            .title {
                                @include f_all(20);
                                font-weight: bold;
                                line-height: 1.5;
                                @include maxwidth(768) {
                                    @include f_all(18);
                                }
                            }
                            .terms {
                                @include f_all(13);
                                @include maxwidth(768) {
                                    @include f_all(12);
                                }
                                font-weight: bold;
                                margin-top: 6px;
                                display: flex;
                                flex-wrap: wrap;
                                .term {
                                    color: $accenttextcolor;
                                    display: inline-flex;
                                    align-items: center;
                                    justify-content: center;
                                    padding: 0 8px;
                                    box-sizing: border-box;
                                    background-color: $accentcolor;
                                    min-height: 25px;
                                    position: relative;
                                }
                            }
                            .c-button {
                                margin-top: 20px;
                                @include maxwidth(768) {
                                    margin-top: 10px;
                                }
                                &__link {
                                    &::before {
                                        border: solid 1px;
                                        background-color: transparent;
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}

#toppageService {
    .l-main {
        // overflow: hidden;
        &::before {
            content: '';
            display: block;
            position: absolute;
            bottom: calc(100% - (383 / 1440 * 100vw));
            left: 0;
            width: 92.5vw;
            height: 92.5vw;
            background-color: rgba($themecolor2, 0.6);
            clip-path: polygon(0 0, 0% 100%, 100% 50%);
            z-index: 1;
            @include maxwidth(768) {
                width: (343 / 375 * 100vw);
                height: (343 / 375 * 100vw);
                bottom: calc(100% - (128 / 375 * 100vw));
            }
        }
        &::after {
            content: '';
            display: block;
            position: absolute;
            top: calc(100% - (470 / 1440 * 100vw));
            right: 0;
            width: 92.5vw;
            height: 92.5vw;
            background-color: rgba($themecolor, 0.8);
            clip-path: polygon(100% 0, 0 53%, 100% 100%);
            z-index: 1;
            @include maxwidth(768) {
                width: (343 / 375 * 100vw);
                height: (343 / 375 * 100vw);
                top: calc(100% - (116 / 375 * 100vw));
            }
        }
        .container {
            .columns {
                .column {
                }
            }
        }
    }
}

#toppageNews {
    position: relative;
    z-index: 1;
    .container {
        @include container(1240, 20);
        .columns {
            display: flex;
            justify-content: space-between;
            gap: 3rem;
            @include maxwidth(1024) {
                flex-direction: column;
                justify-content: initial;
                gap: 24px;
                &>* {
                    flex: none !important;
                    width: 100%;
                }
            }
            .column {
                &:nth-of-type(1) {
                    flex-shrink: 0;
                    @include maxwidth(1024) {
                        display: flex;
                        align-items: flex-end;
                        justify-content: space-between;
                        gap: 2rem;
                    }
                }
                &:nth-of-type(2) {
                    flex-basis: 910px;
                }
                .c-heading {
                    align-items: flex-start;
                    .en {
                        padding-left: 0.25em;
                    }
                }
                .c-button {
                    margin-top: 28px;
                    @include maxwidth(1024) { margin-top: 0; }
                }
                .term-list {
                    ul {
                        li {
                            a {
                                background-color: $themecolor;
                            }
                        }
                    }
                }
            }
        }
    }
}

// === Subpage

.subpage #content {
    color: $basetextcolor;
    background-color: #ffffff;
}

#subpageTopicpath {
    @include f_all(14);
    font-weight: 500;
    line-height: 1.5;
    text-transform: capitalize;
    padding-top: 60px;
    margin-bottom: 30px;
    @include maxwidth(768) {
        padding-top: 30px;
        margin-bottom: 20px;
    }
    position: relative;
    .container {
        @include container(1200, 20);
        ul {
            li {
                display: inline-flex;
                align-items: center;
                &::after{
                    flex-shrink: 0;
                    content: '';
                    display: inline-block;
                    width: 6px;
                    height: 3px;
                    border-radius: 50px;
                    background-color: $themecolor3;
                    margin: 1px 10px 0px;
                }
                &:last-of-type::after { display: none; }
            }
        }
    }
}

#subpageHeading {
    margin-top: 30px;
    @include maxwidth(768) { margin-top: 20px; }
    position: relative;
    .container {
        @include container(1200, 20);
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        .en {
            font-family: "Noto Serif", serif;
            // font-size: 96px;
            font-size: clamp(64px,(96 / 1440 * 100vw),96px);
            font-weight: 300;
            text-transform: capitalize;
        }
        .ja {
            color: $themetextcolor;
            @include f_all(14);
            font-weight: 500;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 0 20px;
            box-sizing: border-box;
            background-color: $themecolor;
            min-height: 28px;
            position: relative;
            @include maxwidth(768) {
                padding: 0 1em;
            }
        }
    }
}

#subpageContent {
    padding: 60px 0 100px;
    @include maxwidth(768) { padding: 40px 0 80px; }
    position: relative;
    z-index: 5;
    .container {
        // @include container(800, 20);
        @include container(1200, 20);
        .default {
            @include contentdefault;
            @include eachcss;
            > *:first-child{
                margin-top: 0 !important;
            }
        }
    }
}

#subpageArchiveContent {
    padding: 60px 0 80px;
    @include maxwidth(768) { padding: 40px 0 60px; }
    position: relative;
    z-index: 5;
    .container {
        @include container(1200, 20);
    }
}

#subpagePortfolio {
    position: relative;
    z-index: 2;
    .container {
        @include container(1280, 20);
        .head {
            display: flex;
            align-items: flex-end;
            justify-content: space-between;
            flex-wrap: wrap;
            gap: 1rem 3rem;
            @include maxwidth(600) {
                gap: 10px;
            }
            .heading {
                display: flex;
                align-items: flex-end;
                gap: 8px;
                @include maxwidth(600) {
                    flex-direction: column-reverse;
                    align-items: flex-start;
                }
                .ja {
                    @include f_all(24);
                    font-weight: bold;
                }
                .en {
                    color: $themecolor3;
                    @include ff_en(bold);
                    @include f_all(16);
                }
            }
            .c-button {
                &__link {
                }
            }
        }
        .body {
            margin-top: 38px;
            @include maxwidth(768) {
                margin-top: 28px;
            }
            .portfolio-headline {
                .headlie-items {
                }
                .headline-item {
                    &__link {
                    }
                }
            }
        }
    }
}

.pager {
    text-align: center;
    margin: 40px 0;
    @include f_all(14);
    a,
    span {
        display: inline-block;
        margin: 0 0 0.25em 0.75em;
        min-width: 3em;
        padding: 1em;
        box-sizing: border-box;
        background-color: #afafb0;
        color: #fff;
    }
    .current {
        background-color: $themecolor;
    }
}

.monthly_archive_link {
    @include container(800, 10);
    margin-top: 50px;
    @include f_all(14);
    a.show_archive_links {
        display: block;
        width: 200px;
        height: 30px;
        display: flex;
        justify-content: center;
        align-items: center;
        background-color: mix($basetextcolor, $basecolor, 0.1);
        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: mix($basetextcolor, $basecolor, 0.05);
                padding: 7px 0;
                border-radius: 15px;
            }
        }
    }
}
