/* animation */
@keyframes loading-screen-img {
    0% {
        opacity: 1;
    }
    85% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}
@keyframes loading-screen {
    0% {
        scale: 1 1;
    }
    100% {
        scale: 1 0;
    }
}
@keyframes mv-anim {
    0% {
        opacity: 0;
        translate: 0 30px;
    }
    100% {
        opacity: 1;
        translate: 0;
    }
}
@keyframes mv-anim--sp {
    0% {
        opacity: 0;
        translate: 0 calc(-50% - 6px);
    }
    100% {
        opacity: 1;
        translate: 0 calc(-50% - 24px);
    }
}

/* loading-screen */
.loading-screen {
    width: 100%;
    height: 100dvh;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    user-select: none;
    transform-origin: top;
}
.loading-screen--front {
    display: grid;
    place-content: center;
    background: var(--bud-gradient);
    z-index: 1000;
    animation: 0.2s loading-screen 1.5s ease-in forwards;
}
.loading-screen--front__logo {
    max-width: 130px;
    animation: 1.2s loading-screen-img forwards;
}
.loading-screen--back {
    background: var(--background);
    z-index: 900;
    animation: 0.2s loading-screen 1.7s ease-in forwards;
}

/* mv */
.mv-anim-trigger {
    background-color: rgb(32 32 32/0.4);
    background-image: url(/images/bg_mv.png);
    background-repeat: repeat;
    background-position: top -6px left -3px;
    background-size: 6px 12px;
}
.mv-video-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
    display: grid;
    place-content: center;
    grid-template-rows: 1fr;
    width: 100%;
    height: 100dvh;
}
.mv-video {
    justify-self: center;
    width: auto;
    height: 100%;
    aspect-ratio: 16/9;
    border: 0;
}
@media (min-aspect-ratio: 16/9) {
    .mv-video-wrapper {
        grid-template-columns: 1fr;
    }
    .mv-video {
        width: 100%;
        height: auto;
    }
}
.mv {
    height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 30px;
    color: #fff;
}
.mv__ttl {
    font-size: 8.472vw;
    font-weight: 700;
    font-family: var(--font-lato);
    line-height: 1;
    opacity: 0;
    translate: 0 30px;
    span {
        display: block;
    }
}
.loaded .mv__ttl {
    animation: 0.2s mv-anim 2.2s ease forwards;
}
.mv__ttl__line::before {
    content: "";
    display: inline-block;
    width: 3.472vw;
    height: 5px;
    background: var(--bud-gradient);
    margin-right: 0.83vw;
    translate: 0 -2.777vw;
    border-radius: 10vh;
}
.mv__txt-wrapper {
    opacity: 0;
    translate: 0 30px;
}
.loaded .mv__txt-wrapper {
    animation: 0.2s mv-anim 2.2s ease forwards;
}
.mv__txt {
    font-size: 2.361vw;
    font-weight: 700;
    line-height: 1.294;
    margin-bottom: 2.083vw;
}
.mv__txt--en {
    font-size: 1.042vw;
    font-weight: 500;
    font-family: var(--font-lato);
    line-height: 1;
}

/* sec--lead */
.sec--lead {
    padding-block: 215px;
}
.sec--lead__inner {
    width: 68.125%;
    margin-inline: auto;
}
.sec--lead__txt {
    color: #fff;
    font-size: 1.527vw;
    font-weight: 500;
    line-height: 2.727;
}
.sec--lead__txt__line::before {
    content: "";
    display: inline-block;
    width: 5.555vw;
    height: 1px;
    background: #fff;
    translate: 0 -0.555vw;
    margin-right: 1.805vw;
}
.sec--lead__txt__img {
    width: 20.83vw;
    margin: -4.444vw 0 0 auto;
    img {
        border-radius: 16px;
    }
}

/* sec--service */
.sec--service {
    background: var(--background);
    padding-block: 125px;
}
.sec--service__list {
    margin-bottom: 72px;
    border-bottom: 1px solid var(--black-line);
}
.sec--service__list__link {
    display: block;
    border-top: 1px solid var(--black-line);
    background: var(--bud-gradient) no-repeat left top/20px 2px;
    padding-block: 52px 50px;
    position: relative;
    transition: 0.2s;
    &:hover {
        padding-block: 100px;
        background: var(--bud-gradient) no-repeat left top/300px 2px;
        .sec--service__list__items-img {
            opacity: 1;
            translate: 0;
        }
        .sec--service__list__items__content {
            display: grid;
            grid-template-rows: 1fr;
            visibility: visible;
        }
        .sec--service__list__link__ico {
            opacity: 1;
        }
    }
}
.sec--service__list__items-img {
    width: 20.83vw;
    position: absolute;
    top: -50px;
    right: 0;
    opacity: 0;
    translate: 0 40px;
    transition: 0.2s;
    img {
        border-radius: 16px;
    }
}
.sec--service__list__items {
    color: #fff;
}
.sec--service__list__items__ttl {
    font-size: 70px;
    font-weight: 700;
    font-family: var(--font-lato);
    line-height: 1;
}
.sec--service__list__items__ttl__ja {
    font-size: 12px;
    font-weight: 700;
    font-family: "Noto Sans JP", sans-serif;
    line-height: 1;
    letter-spacing: 0.2em;
    vertical-align: 22px;
    margin-left: 40px;
}
.sec--service__list__items__content {
    display: grid;
    grid-template-rows: 0;
    visibility: hidden;
    width: 57.77%;
    margin-top: 20px;
    font-size: 14px;
    line-height: 2;
}
.sec--service__list__link__ico {
    display: block;
    width: 60px;
    height: 60px;
    border: 1px solid #fff;
    border-radius: 50%;
    position: absolute;
    bottom: 100px;
    right: 0;
    background: url(/common/images/ico_arrow.png) no-repeat center/30px auto, url(/common/images/ico_arrow.png) no-repeat left -30px center/30px auto;
    opacity: 0;
    transition: 0.15s;
    &:hover {
        background: url(/common/images/ico_arrow.png) no-repeat right -30px center/30px auto, url(/common/images/ico_arrow.png) no-repeat center/30px auto;
    }
}

/* sec--works */
.sec--works {
    padding-block: 125px 256px;
    background: var(--background);
    overflow: clip;
}
.sec--works__splide {
    margin: 0 -11.112vw 100px 0;
}
.sec--works__items__img {
    margin-bottom: 25px;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 66/37;
    img {
        transition: 0.2s;
    }
}
.sec--works__items__img__link:hover img {
    scale: 1.1;
}
.sec--works__items__ttl {
    margin-bottom: 10px;
    min-height: 3lh;
    line-height: 1;
}
.sec--works__items__ttl__link {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    background: linear-gradient(to left, #fff 0%, #fff 100%) no-repeat bottom 3px left/0 1px;
    transition: 0.2s;
    &:hover {
        background-size: 100% 1px;
    }
}
.sec--works__items__category-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
    line-height: 1;
}
.sec--works__items__category {
    display: block;
    padding: 7px 15px;
    background: var(--gray);
    color: #fff;
    font-size: 11px;
    line-height: 1;
    text-align: center;
    border-radius: 10vh;
    transition: 0.2s;
    &:hover {
        color: #000;
        background: #fff;
    }
}
.sec--works__items__tag-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    li {
        line-height: 1;
    }
}
.sec--works__items__tag {
    color: #fff;
    font-size: 12px;
    background: linear-gradient(to left, #fff 0%, #fff 100%) no-repeat bottom 1px left/ 0 1px;
    transition: 0.2s;
    &:hover {
        background-size: 100% 1px;
    }
}
.splide__arrows {
    display: flex;
    gap: 10px;
    position: absolute;
    bottom: -160px;
}
.splide__arrow {
    display: block;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: none;
    border: 1px solid #fff;
    background: url(/common/images/ico_arrow.png) no-repeat center/30px auto, url(/common/images/ico_arrow.png) no-repeat left -30px center/30px auto;
    transition: 0.15s;
    cursor: pointer;
    &:hover {
        background: url(/common/images/ico_arrow.png) no-repeat right -30px center/30px auto, url(/common/images/ico_arrow.png) no-repeat center/30px auto;
    }
    svg {
        display: none;
    }
}
.splide__arrow--prev {
    scale: -1 1;
}
.splide__arrow:disabled {
    opacity: 0.3;
    cursor: default;
}

/* sec--column */
.sec--column {
    padding-block: 125px;
    background: var(--background);
}
.sec--column__list {
    border-bottom: 1px solid var(--black-line);
    margin-bottom: 100px;
}
.sec--column__list-heading {
    display: grid;
    grid-template-columns: 4% 16% 80%;
    color: #fff;
    font-size: 10px;
    font-family: var(--font-lato);
    line-height: 1;
    margin-bottom: 10px;
}
.sec--column__list__items {
    display: grid;
    grid-template-columns: 4% 16% 80%;
    padding-block: 20px;
    border-top: 1px solid var(--black-line);
    background: linear-gradient(to right, var(--gray) 0%, var(--gray) 100%) no-repeat center left/0 100%;
    color: #fff;
    position: relative;
    transition: 0.2s;
    &::before {
        content: "";
        display: block;
        width: 10px;
        height: calc(100% - 40px);
        background: var(--gray);
        position: absolute;
        top: 20px;
        left: 0;
    }
    &:hover {
        background-size: 100% 100%;
        .sec--column__list__category {
            background: #fff;
            color: var(--background);
        }
    }
}
.sec--column__list__date {
    font-size: 11px;
    font-family: var(--font-lato);
    writing-mode: vertical-lr;
    padding-left: 10px;
}
.sec--column__list__img {
    padding-right: 15px;
}
.sec--column__list__category-wrapper {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}
.sec--column__list__category {
    background: var(--gray);
    color: #fff;
    font-size: 11px;
    line-height: 1;
    padding: 5px 10px;
    border-radius: 4px;
    position: relative;
    z-index: 1;
}
.sec--column__list__category__ttl {
    font-size: 20px;
    line-height: 1.25;
}
.sec--column__list__link {
    display: block;
    position: absolute;
    inset: 0;
    z-index: 0;
    transition: 0.2s;
}

/* sec--news */
.sec--news {
    padding-block: 55px 151px;
    background: var(--background);
}
.sec--news__list {
    margin-bottom: 63px;
    border-bottom: 1px solid var(--black-line);
}
.sec--news__list__items {
    border-top: 1px solid var(--black-line);
}
.sec--news__list__items__link {
    display: flex;
    gap: 37px;
    padding-block: 50px;
    color: #fff;
    font-size: 15px;
    line-height: 1.5;
    &:hover .sec--news__list__ttl {
        background-size: 100% 1px;
    }
}
.sec--news__list__date {
    font-family: var(--font-lato);
}
.sec--news__list__ttl {
    font-weight: 500;
    transition: 0.2s;
    background: var(--bud-gradient) no-repeat left bottom 0/0 1px;
}

/* sec--links */
.sec--links {
    padding-block: 100px 317px;
    background: var(--background);
}
.sec--links__list {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 25px;
}
.sec--links__list__link {
    display: block;
    transition: 0.2s;
    &:hover {
        opacity: 0.6;
    }
}

@media (width<768px) {
    /* mv */
    .mv-video {
        aspect-ratio: 9/16;
    }
    @media (min-aspect-ratio: 9/16) {
        .mv-video-wrapper {
            grid-template-columns: 1fr;
        }
        .mv-video {
            width: 100%;
            height: auto;
        }
    }
    .mv {
        position: relative;
        justify-content: end;
        padding: 30px 20px;
    }
    .mv__ttl {
        font-size: 9.487vw;
        font-family: var(--font-lato);
        position: absolute;
        top: 50%;
        translate: 0 calc(-50% - 24px);
        left: 20px;
    }
    .loaded .mv__ttl {
        animation: 0.2s mv-anim--sp 2.2s ease forwards;
    }
    .mv__ttl__line::before {
        width: 5.128vw;
        margin-right: 0.83vw;
    }
    .mv__txt {
        font-size: 3.846vw;
        line-height: 1.666;
        margin-bottom: 2.564vw;
    }
    .mv__txt--en {
        font-size: 2.564vw;
    }

    /* sec--lead */
    .sec--lead {
        padding-block: 100px;
    }
    .sec--lead__inner {
        width: auto;
        margin-inline: 20px 29px;
    }
    .sec--lead__txt {
        font-size: 3.589vw;
        line-height: 2.5;
        margin-bottom: 15.384vw;
    }
    .sec--lead__txt__line::before {
        width: 14.871vw;
        height: 1px;
        translate: 0 -1.555vw;
        margin-right: 2.82vw;
    }
    .sec--lead__txt__img {
        width: 58.974vw;
        margin: 0 auto;
    }

    /* sec--service */
    .sec--service {
        padding-block: 80px;
    }
    .sec--service__list {
        margin-bottom: 50px;
    }
    .sec--service__list__link {
        background: var(--bud-gradient) no-repeat left top/25.641vw 2px;
        padding-block: 80px 140px;
        &:hover {
            padding-block: 80px 140px;
            background: var(--bud-gradient) no-repeat left top/25.641vw 2px;
        }
    }
    .sec--service__list__items-img {
        width: 26.923vw;
        position: absolute;
        top: -26px;
        right: 0;
        opacity: 1;
        translate: 0;
        img {
            border-radius: 8px;
        }
    }
    .sec--service__list__items__ttl {
        font-size: 40px;
    }
    .sec--service__list__items__ttl__ja {
        display: block;
        font-family: "Noto Sans JP", sans-serif;
        margin: 10px 0 0 0;
    }
    .sec--service__list__items__content {
        grid-template-rows: 1fr;
        visibility: visible;
        width: 100%;
        margin-top: 30px;
        font-size: 13px;
    }
    .sec--service__list__link__ico {
        bottom: 80px;
        right: 0;
        background: url(/common/images/ico_arrow.png) no-repeat center/30px auto, url(/common/images/ico_arrow.png) no-repeat left -30px center/30px auto;
        opacity: 1;
        transition: 0.15s;
        &:hover {
            background: url(/common/images/ico_arrow.png) no-repeat right -30px center/30px auto, url(/common/images/ico_arrow.png) no-repeat center/30px auto;
        }
    }

    /* sec--works */
    .sec--works {
        padding-block: 80px;
    }
    .sec--works__content {
        overflow: hidden;
        margin-right: -20px;
    }
    .sec--works__splide {
        margin: 0 0 140px;
    }
    .sec--works__items__ttl {
        margin-bottom: 20px;
        min-height: 0;
        line-height: 1;
    }
    .sec--works__items__ttl__link {
        font-size: 14px;
    }
    .sec--works__items__category-wrapper {
        gap: 12px;
    }
    .sec--works__items__tag-wrapper {
        gap: 5px 10px;
    }
    .splide__arrows {
        bottom: -100px;
    }
    .sec--service__btn {
        width: calc(100% - 20px);
        margin-inline: 0 auto;
    }

    /* sec--column */
    .sec--column {
        padding-block: 80px;
    }
    .sec--column__list {
        margin-bottom: 50px;
    }
    .sec--column__list__items {
        grid-template-columns: 7% 1fr;
        gap: 20px 8%;
    }
    .sec--column__list__date {
        grid-area: 1/1/2/3;
    }
    .sec--column__list__img {
        grid-area: 2/2/3/3;
        padding: 0;
    }
    .sec--column__list__content {
        grid-area: 1/2/2/3;
    }
    .sec--column__list__category {
        background: var(--gray-txt);
    }
    .sec--column__list__category__ttl {
        font-size: 16px;
        line-height: 1.375;
    }

    /* sec--news */
    .sec--news {
        padding-block: 12px 49px;
    }
    .sec--news__list {
        margin-bottom: 49px;
    }
    .sec--news__list__items__link {
        flex-direction: column;
        gap: 5px;
        padding-block: 25px;
    }
    .sec--news__list__date {
        font-size: 10px;
    }
    .sec--news__list__ttl {
        font-size: 13p;
        font-weight: 400;
    }
    
    /* sec--links */
    .sec--links {
        padding-block: 80px 275px;
    }
    .sec--links__list {
        display: grid;
        grid-template-columns: 100%;
        gap: 11px;
    }
    .sec--links__list__link {
        display: block;
        width: 100%;
    }
}
