:root {
    --line: color-mix(in lch, canvasText 15%, transparent);
    --base: 0.4;
    --overlay: color-mix(in lch, canvas 70%, transparent);
    color-scheme: dark only;
}

html:not(:focus-within) {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    background: canvas;
}

body::before {
    --size: 60px;
    content: '';
    height: 100vh;
    width: 100vw;
    position: fixed;
    background: linear-gradient(90deg,
            var(--line) 1px,
            transparent 1px var(--size)) 50% 50% / var(--size) var(--size),
        linear-gradient(var(--line) 1px, transparent 1px var(--size)) 50% 50% / var(--size) var(--size);
    mask: linear-gradient(-15deg, transparent 40%, white);
    top: 0;
    transform-style: flat;
    pointer-events: none;
    z-index: -1;
}

main {
    color: #fff;
}

section .sec-tit h2 {
    font-weight: bold;
}

/* ssec01 */

.sec01 {
    position: relative;
}

.sec01 .top-cont {
    width: 100%;
    height: 100vh;
}

.sec01 .cont-inner {
    width: 80%;
    height: 100%;
    /* max-width: 1920px; */
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 15vh;
}

.sec01 .top-cont .sec-tit {
    align-self: flex-end;
}

.sec01 .top-cont .sec-tit.pc {
    display: block;
}

.sec01 .top-cont .sec-tit.mo {
    display: none;
}

.sec01 .top-cont .sec-tit p {
    font-size: clamp(24px, 3vw, 40px);
    margin-bottom: 1em;
    color: #999;
}

.sec01 .top-cont .sec-tit h2 {
    font-size: clamp(60px, 10vw, 140px);
    line-height: 1.2em;
    color: #fff;
    overflow: hidden;
}

.sec01 .top-cont .sec-tit h2:nth-child(2) {
    color: #999;
}

.sec01 .top-cont .sec-tit h2>div {
    transform: translateY(100%);
}

.sec01 .top-cont .sec-tit span {
    color: #fff;
    font-weight: bold;
}

.sec01 .top-cont .sec-tit p>span {
    background: linear-gradient(90deg, #ed1c8c 0%, #ed1c24 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: inherit;
}

.sec01 .bot-cont {
    width: 100%;
    height: 100vh;
    text-align: center;
}

.sec01 .bot-cont .cont-inner {
    justify-content: center;
}

.sec01 .bot-cont p {
    color: #999;
    font-size: clamp(32px, 3vw, 60px);
    line-height: 1.25em;
    text-align: left;
}

.sec01 .bot-cont p:first-child {
    font-size: 24px;
    margin-bottom: 1em;
    color: #fff;
}

.sec01 .bot-cont p>span {
    color: #fff;
    border-bottom: 2px solid #fff;
    display: inline-block;
    overflow: hidden;
}

.sec01 .bot-cont p>span>span {
    display: inline-block;
}

.sec01 .deco-cont {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
}

.sec01 .deco-cont>div {
    position: absolute;
}

.sec01 .deco-cont>div:first-child {
    right: 25vw;
    top: 17vh;
    width: 55vw;
    min-width: 200px;
    max-width: 550px;
}

.sec01 .deco-cont>div:nth-child(2) {
    right: 5vw;
    top: 45%;
    width: 35vw;
    max-width: 400px;
    min-width: 130px;
}

.sec01 .deco-cont>div:last-child {
    left: 5vw;
    bottom: 10vh;
    width: 35vw;
    max-width: 330px;
    min-width: 100px;
}

@media(max-width:1320px) {
    .sec01 .cont-inner {
        width: 90%;
    }
}

@media(max-width:768px) {
    .sec01 .top-cont .sec-tit.pc {
        display: none;
    }
    
    .sec01 .top-cont .sec-tit.mo {
        display: block;
    }

    .sec01 .bot-cont p>br {
        display: none;
    }

    .sec01 .deco-cont>div:first-child {
        right: 15vw;
    }
    
}

/* sec02 */

.sec02 .txt-box {
    width: 80%;
    margin: 0 auto;
}

.sec02 .sec-tit {
    display: flex;
    flex-direction: column;
    transform: translateY(-15%);
}

.sec02 h2 {
    font-size: clamp(60px, 10vw, 140px);
    margin-bottom: 1em;
    position: relative;
    padding-left: 0.5em;
}

.sec02 h2>span{
    position: absolute;
    left: 0;
    top: 0;
    font-size: clamp(18px, 3vw, 40px);
}

.sec02 p {
    font-size: clamp(18px, 2.5vw, 28px);
    font-weight: 300;
    width: 750px;
    align-self: flex-end;
}

.sec02 .scrollbox {
    margin: 10% 0 15%;
}

.sec02 .scrollbox>p {
    margin-bottom: 0.7em;
    margin-left: 10%;
    font-size: clamp(24px, 3vw, 50px);
}

:root {
    --size: clamp(10rem, 1rem + 40vmin, 30rem);
    --gap: calc(var(--size) / 24);
    --duration: 30s;
    --scroll-start: 0;
    --scroll-end: calc(-100% - var(--gap));
}

.sec02 .marquee {
    display: flex;
    overflow: hidden;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    gap: var(--gap);
    margin-left: 10%;
}

.sec02 .marquee__group {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: var(--gap);
    min-width: 100%;
    -webkit-animation: scroll-x var(--duration) linear infinite;
    animation: scroll-x var(--duration) linear infinite;
}

.sec02 .marquee__group li {
        max-width: 720px;
    }

@media (prefers-reduced-motion: reduce) {
    .sec02 .marquee__group {
        -webkit-animation-play-state: paused;
        animation-play-state: paused;
    }
}

.sec02 .marquee--reverse .marquee__group {
    animation-direction: reverse;
    -webkit-animation-delay: -5s;
    animation-delay: -5s;
}

@-webkit-keyframes scroll-x {
    from {
        transform: translateX(var(--scroll-start));
    }

    to {
        transform: translateX(var(--scroll-end));
    }
}

@keyframes scroll-x {
    from {
        transform: translateX(var(--scroll-start));
    }

    to {
        transform: translateX(var(--scroll-end));
    }
}

@media(max-width:1320px) {
    .sec02 .cont-img{
        height: 50vh;
    }

    .sec02 .cont-img>img {
        height: 100%;
        object-fit: cover;
    }

    .sec02 .marquee__group li {
        width: 50vw;
    }
}

@media(max-width:1024px) {
    .sec02 .marquee {
        margin-left: 5%;
    }

    .sec02 .scrollbox>p {
        margin-left: 5%;
    }

    .sec02 .txt-box {
        width: 90%;
    }

    .sec02 p {
        width: 80%;
    }
}

@media(max-width:768px) {
    .sec02 p {
        width: 100%;
    }
}