@import url("https://fonts.googleapis.com/css2?family=Spartan:wght@400;700&display=swap");

:root {
    --easing: cubic-bezier(0.2, 1, 0.2, 1);
    --transition: 0.8s var(--easing);
    --color-base: #0c1210;
    --color-white: #ffffff;
    --color-gray: #ddd;
    --color-theme: #0171e3;
    --color-theme-darken: #0055b2;
    /*--color-theme: #b4e900;*/
    /*--color-theme-darken: #6e8f00;*/
    --color-text: #adbdb7;
    --box-shadow: 0.8rem 0.8rem 1.2rem rgba(0, 0, 0, 0.05),
    -0.8rem -0.8rem 1.2rem #fff;
    --box-shadow-hover: 1rem 1rem 1.5rem rgba(0, 0, 0, 0.08),
    -1rem -1rem 1.5rem #fff;
    --box-shadow-inset: inset 0.8rem 0.8rem 1.2rem rgba(0, 0, 0, 0.05),
    inset -0.8rem -0.8rem 1.2rem #fff;
}

html {
    font-family: "Spartan", "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", "メイリオ", Meiryo, sans-serif;
    font-size: 62.5%;
    font-weight: 500;
    line-height: 1.8;
    height: 100%;
    word-break: break-word;
    color: var(--color-text);
    background-color: var(--color-base);
    -webkit-appearance: none;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-size: 1.6rem;
    margin: 0;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

::selection {
    color: #fff;
    background: var(--color-theme);
}

img {
    border: 0;
    margin: 0;
}

figure {
    margin: 0;
}

p {
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
    color: var(--color-text);
}

ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-size: 1.6rem;
    margin: 0;
    padding: 0;
}

input,
select,
textarea,
button {
    margin: 0;
    padding: 0;
    background: none;
    border: none;
    border-radius: 0;
    appearance: none;
}

:focus:not(:focus-visible) {
    outline: 0;
    /* キーボード操作"以外"でフォーカスされた際はoutlineを消す */
}

main {
    display: block;
}

.marker {
    background: linear-gradient(transparent 60%, #af0101 60%);
}

.l-inner {
    position: relative;
    box-sizing: content-box;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 10rem;
}

.l-section {
    border-top: 1px solid #eee;
}

.l-section .l-inner {
    padding-top: 8rem;
    padding-bottom: 8rem;
}

.c-temp {
    line-height: 1;
}

.c-temp .l-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.c-temp .text {
    font-size: 2.4rem;
    font-weight: bold;
}

.c-temp .button {
    font-size: 1.4rem;
    font-weight: bold;
    display: block;
    width: 12rem;
    padding: 1.6rem 0 1.2rem;
    text-align: center;
    letter-spacing: 0.1em;
    color: #fff;
    border-radius: 100px;
    background-color: var(--color-theme);
}

.c-footer .l-inner {
    padding-top: 0;
}

.c-footer .text {
    color: var(--color-gray);
}

.c-info {
    font-size: 1.4rem;
    display: inline-block;
    margin-top: 4rem;
    margin-bottom: 6.4rem;
}

.c-info li {
    position: relative;
    padding-left: 16px;
    color: #fff;
}

.c-info li::before {
    position: absolute;
    top: 0.6em;
    left: 0;
    display: inline-block;
    width: 8px;
    height: 2px;
    content: "";
    background-color: var(--color-gray);
}

.c-info li+li {
    margin-top: 0.8rem;
}

.c-title {
    font-size: 2.4rem;
    font-weight: bold;
    line-height: 1.6;
    display: inline-block;
    min-width: 32rem;
    margin-bottom: 6.4rem;
    vertical-align: top;
    color: #fff;
}

.c-title [class*=ico-] {
    font-size: 1.3rem;
    line-height: 1;
    display: block;
    width: 10rem;
    margin-bottom: 1.2rem;
    padding: 0.8rem 0 0.6rem;
    text-align: center;
    letter-spacing: 0.05em;
    border-radius: 100px;
    background-color: var(--color-theme-darken);
}

.c-title .ico-advanced {
    color: #fff;
    background-color: #333;
}

/* slider */
.slide-media,
.thumb-media {
    position: relative;
    overflow: hidden;
}

.slide-media img,
.thumb-media img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.splide {
    z-index: 0;
    width: 100vw;
    height: 100vh;
}

/* 前へ / 次へボタン */
.splide__arrow--prev,
.splide__arrow--next {
    display: grid;
    place-content: center;
    width: 6.4rem;
    height: 6.4rem;
    cursor: pointer;
    transition: var(--transition);
    background-color: var(--color-theme-darken);
    border-radius: 50%;
}

.splide__arrow--prev::after,
.splide__arrow--next::after {
    width: 1.2rem;
    height: 1.2rem;
    content: "";
    border: solid var(--color-gray);
    border-width: 3px 3px 0 0;
}

.splide__arrow--prev::after {
    margin-left: 0.4rem;
    transform: rotate(-135deg);
}

.splide__arrow--next::after {
    margin-right: 0.4rem;
    transform: rotate(45deg);
}

.splide__arrow:disabled {
    pointer-events: none;
    opacity: 0;
}

.splide__arrow:focus-visible {
    outline: 3px solid rgba(180, 233, 0, 0.8);
    outline-offset: 3px;
    z-index: 1;
    transition: none;
}

.splide__pagination {
    font-size: 0;
}

.splide__pagination__page:focus-visible {
    outline: 3px solid rgba(180, 233, 0, 0.8);
    outline-offset: 3px;
    z-index: 1;
    transition: none;
}

.splide__slide {
    width: calc(100%);
    transition: opacity 2000ms cubic-bezier(0.25, 1, 0.5, 1);
}

.splide__slide:focus-visible {
    outline: 3px solid rgba(180, 233, 0, 0.8);
    outline-offset: 3px;
    z-index: 1;
    transition: none;
}

.splide-wrapper {
    position: relative;
}

.splide__arrow>svg {
    display: none;
}

.topmv {
    margin-bottom: 8rem;
}

.topmv .l-inner {
    padding-bottom: 0;
}

.topmv .splide__pagination {
    position: absolute;
    z-index: 1;
    top: 0;
    bottom: 0;
    left: 0;
    height: max-content;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.topmv .splide__pagination__page {
    display: block;
    width: 1.6rem;
    height: 2px;
    cursor: pointer;
    transition: var(--transition);
    background-color: #fff;
}

.topmv .splide__pagination>li:not(:first-child) {
    margin-top: 1.6rem;
}

.topmv .splide__pagination__page.is-active {
    width: 4rem;
    background-color: var(--color-theme);
}

.topmv .splide__track--fade .splide__slide {
    pointer-events: none;
}

.topmv .splide__track--fade .splide__slide.is-active {
    pointer-events: auto;
}

.topmv .slide {
    display: grid;
    place-content: center;
    height: 800px;
    padding: 0 8rem;
    text-align: center;
}

.topmv .slide-media {
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.topmv .slide-media img {
    /*transition: 7s 1s linear;*/
    /*transform: translateX(-1.5%) scale(1.1);*/
}

.topmv .slide-title,
.topmv .slide-text,
.topmv .slide-link {
    animation: 2s var(--easing) both;
    opacity: 0;
}

.topmv .slide-title {
    font-size: 6rem;
    line-height: 1.1;
    color: var(--color-white);
}

.topmv .slide-text {
    font-size: 1.8rem;
    margin: 4rem 0;
    animation-delay: 0.2s;
    color: #fff;
}

.topmv .slide-link {
    animation-delay: 0.4s;
}

.topmv .slide-button {
    font-size: 1.2rem;
    font-weight: bold;
    display: inline-block;
    color: var(--color-white);
}

.topmv .slide-button::before {
    display: inline-block;
    width: 6rem;
    height: 1px;
    margin: -2px 1.6rem 0 0;
    content: "";
    vertical-align: middle;
    background-color: currentColor;
}

.topmv .splide__slide[class*=-active] .slide-media img {
    transition-delay: 0s;
    transform: translateX(1.5%) scale(1.05);
}

.topmv .splide__slide.anm-started .slide-title,
.topmv .splide__slide.anm-started .slide-text,
.topmv .splide__slide.anm-started .slide-link {
    animation-name: topmv-fadeIn;
}

.topmv .splide__slide.anm-finished .slide-title,
.topmv .splide__slide.anm-finished .slide-text,
.topmv .splide__slide.anm-finished .slide-link {
    animation-name: topmv-fadeOut;
}

@keyframes topmv-fadeIn {
    0% {
        transform: translateY(6rem);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes topmv-fadeOut {
    0% {
        transform: translateY(0);
        opacity: 1;
    }

    100% {
        transform: translateY(-6rem);
        opacity: 0;
    }
}


@media only screen and (max-width: 1024px) {
    html {
        -webkit-text-size-adjust: 100%;
    }

    .l-inner {
        padding: 0 4rem;
    }

    .pc {
        display: none !important;
    }

    .topmv {
        margin-bottom: 8rem;
    }

    .topmv .slide {
        height: max(100vh, 98vw);
    }

    .topmv .slide-title {
        font-size: 4rem;
    }

    .topmv .slide-text {
        font-size: 1.6rem;
        margin: 3.2rem 0;
    }

}

@media only screen and (max-width: 599px) {
    html {
        font-size: 50%;
    }

    .pc-tab {
        display: none !important;
    }

}

@media only screen and (min-width: 1025px) {
    .tab-sp {
        display: none !important;
    }

    .splide__arrow--prev::before,
    .splide__arrow--next::before {
        transition: var(--transition);
    }

    .splide__arrow--prev:hover::before,
    .splide__arrow--next:hover::before {
        transform: scale(1.2);
    }
}


@media only screen and (min-width: 600px) {
    .sp {
        display: none !important;
    }
}