@charset "UTF-8";

/* === メインビジュアル === */
.top-main {
    width: 100%;
    height: 100svh;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.mv-slider {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1;
}

.mv-slider .swiper-slide,
.mv-slider .swiper-slide img {
    width: 100%;
    height: 100%;
}

.mv-slider .swiper-slide img {
    object-fit: cover;
    object-position: center;
    will-change: filter;
    filter: blur(0px);
}

.mv-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 4;
    opacity: 0;
    transition: all 1s 1.3s ease-out;
}

.mv-content.eon {
    opacity: 1;
}

.mv-content .hero-txt {
    width: 55%;
    max-width: 420px;
    position: absolute;
    bottom: 80px;
    left: 5%;
}

.mv-content .hero-txt~p {
    position: absolute;
    left: 5%;
    bottom: 30px;
}

.mv-content .hero-txt~p span {
    display: inline-block;
    font-family: var(--en-font);
    font-weight: 600;
    color: #FFF;
    font-size: 16px;
    line-height: 1.6em;
    padding: 0 15px;
    background: #000;
}

/* 装飾（三角形）共通 */
.triangle-left,
.triangle-left2,
.triangle-right,
.triangle-right2 {
    height: 100svh;
    position: absolute;
    opacity: 0;
    transition: all .8s ease-out;
}

.triangle-left,
.triangle-left2 {
    left: -5vw;
    clip-path: polygon(0 0, 100% 100%, 0 100%);
}

.triangle-right,
.triangle-right2 {
    right: -5vw;
    clip-path: polygon(0 0, 100% 100%, 100% 0);
}

.triangle-left {
    background: linear-gradient(100deg, #4BBE8D 0%, #076480 59.45%);
    width: 18vw;
    z-index: 3;
    transition-delay: .5s;
}

.triangle-left2 {
    background: rgba(0, 145, 157, 0.6);
    width: 21vw;
    z-index: 2;
    transition-delay: .55s;
}

.triangle-right {
    background: #FFF;
    width: 18vw;
    z-index: 3;
    transition-delay: .5s;
}

.triangle-right2 {
    background: rgba(32, 159, 239, 0.6);
    width: 21vw;
    z-index: 2;
    transition-delay: .55s;
}

.triangle-left.eon,
.triangle-left2.eon {
    opacity: 1;
    left: 0;
}

.triangle-right.eon,
.triangle-right2.eon {
    opacity: 1;
    right: 0;
}

/* === メッセージエリア === */
.message-sticky-wrapper {
    height: 140vh;
    position: relative;
    z-index: 5;
}

.top-message {
    position: sticky;
    top: 0;
    z-index: 3;
    background: rgba(7, 100, 128, 0.9);
    padding: 80px 0;
    min-height: 100svh;
    display: flex;
    align-items: center;
}

.top-message p {
    color: #FFF;
    font-size: 22px;
    padding-bottom: 1em;
    line-height: 2.2em;
    transition: 2.2s 0.7s;
}

.top-message p:nth-of-type(2) {
    transition-delay: 1.2s;
}

/* === おすすめコンテンツ === */
.top-recommend {
    position: relative;
    z-index: 3;
    background: #fff;
}

.top-recommend .content-wrap {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

.top-recommend .content-wrap .bg {
    width: 50%;
    position: relative;
    overflow: hidden;
}

.top-recommend .content-wrap .bg img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.2);
    transition: 30s;
}

.top-recommend .content-wrap .bg.eon img {
    transform: scale(1);
}

.top-recommend .content-wrap .top-recommend-content {
    width: 50%;
    padding: 10vh 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* 共通リストスタイル */
.top-recommend ul li,
.top-link-list li {
    position: relative;
    background: #FFF;
    box-shadow: 0 0 10px 0 rgba(10, 98, 101, 0.25);
    margin-bottom: 15px;
    transition: all .4s;
}

.top-recommend ul li a,
.top-link-list li a {
    display: flex;
    align-items: center;
    padding: 0 20px;
}

.top-recommend ul li a p,
.top-link-list li a p {
    font-size: min(1.5vw, 1rem);
    line-height: 1.6em;
    padding: 15px 0;
}

.top-recommend ul li a p span,
.top-link-list li a p span,
.top-link-list-sub li a p span {
    color: var(--main-color);
    display: block;
    font-size: 80%;
}

/* 矢印アイコン共通 */
.top-recommend ul li::before,
.top-link-list li a::before {
    content: "";
    position: absolute;
    right: 10px;
    bottom: 10px;
    width: 10px;
    height: 10px;
    background: url(../img/common_img/arrow-green.svg) no-repeat center/contain;
    z-index: 2;
}

/* === スライダー内ナビ・コンテンツ === */
.top-start {
    padding: 80px 0;
    position: relative;
    z-index: 3;
    background: #fff;
}

.buttons {
    display: flex;
    width: 90%;
    height: 50px;
    margin: 0 auto;
}

.nav-btn {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 1px;
    background: #4cb09d;
    color: #FFF;
    font-size: min(1.2vw, 1rem);
    line-height: 1.4em;
    cursor: pointer;
    transition: .3s;
}

.nav-btn.active {
    position: relative;
    top: -10px;
    height: 60px;
    background: #0062B1;
}

.select-content {
    width: 100%;
    border-top: solid 2px #0F846E;
}

.slide-box {
    position: relative;
    min-height: 500px;
}

.slide-box .image img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-box .content {
    position: absolute;
    width: 41%;
    height: 100%;
    padding: 60px 3%;
    left: 59%;
    z-index: 2;
    background: rgba(0, 0, 0, 0.7);
    color: #FFF;
}

.top-link-list {
    margin: 20px 0;
}

.top-link-list li a {
    min-height: 80px;
}

.top-link-list-sub {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.top-link-list-sub li {
    width: 48%;
    background: #0F846E;
    margin-bottom: 10px;
    position: relative;
    transition: .4s;
}

.top-link-list-sub.full li {
    width: 100%;
}

.top-link-list-sub li a {
    padding: 0 20px;
}

.top-link-list-sub li a p {
    font-size: min(1.5vw, 1rem);
    line-height: 1.6em;
    padding: 12px 0;
    color: #FFF;
}

.top-link-list-sub li::before {
    content: "";
    position: absolute;
    right: 10px;
    bottom: 10px;
    width: 10px;
    height: 10px;
    background: url(../img/common_img/arrow-white.svg) no-repeat center/contain;
}



/* === スマホ調整 (768px以下) === */
@media screen and (max-width: 768px) {

    /* MV */
    .mv-slider .swiper-slide.slide01 img {
        object-position: 67% center;
    }

    .mv-slider .swiper-slide.slide02 img {
        object-position: 25% center;
    }

    .mv-slider .swiper-slide.slide03 img {
        object-position: 52% center;
    }

    .mv-slider .swiper-slide.slide04 img,
    .mv-slider .swiper-slide.slide05 img {
        object-position: 70% center;
    }

    .mv-slider .swiper-slide.slide06 img {
        object-position: 60% center;
    }

    /* === メッセージエリア === */
    .message-sticky-wrapper {
        height: 140svh;
        position: relative;
        z-index: 5;
    }

    /* メッセージ */
    .top-message p {
        font-size: min(4vw, 16px);
    }

    /* おすすめ */
    .top-recommend .content-wrap .bg {
        width: 20%;
    }

    .top-recommend .content-wrap .bg img {
        object-position: 40% center;
        transform: scale(1.1);
    }

    .top-recommend .content-wrap .top-recommend-content {
        width: 80%;
        padding: 40px 20px;
    }

    .top-recommend ul li a {
        padding: 0 10px;
    }

    .top-recommend ul li a p {
        font-size: min(3.4vw, 1rem);
        line-height: 1.4em;
        padding: 12px 0;
    }

    /* ナビ */
    .top-start {
        padding: 80px 0;
    }

    .buttons {
        width: 96%;
        height: 30px;
    }

    .nav-btn {
        font-size: min(2.2vw, 0.8rem);
        height: 30px;
    }

    .nav-btn.active {
        top: 0px;
        height: 30px;
        background: #0062B1;
    }


    /* スライダーコンテンツ */
    .select-content .swiper-slide .slide-box {
        min-height: 340px;
    }

    .slide-box .content {
        width: 100%;
        left: 0;
        padding: 40px 5% 20px;
        background: rgba(0, 0, 0, 0.6);
        min-height: 300px;
    }

    .top-link-list li a {
        min-height: 50px;
        padding: 0 15px;
    }

    .top-link-list li a p {
        font-size: min(3.4vw, 1rem);
        padding: 10px 0;
    }

    .top-link-list-sub li a p {
        font-size: min(3vw, 1rem);
        padding: 10px 0;
    }

    .top-recommend ul li::before,
    .top-link-list li a::before {
        bottom: 5px;
        right: 5px;
    }
}

/* === ホバー効果 (PCのみ) === */
@media (hover: hover) {
    .top-recommend ul li:hover {
        box-shadow: 0 0 2px 0 rgba(10, 98, 101, 0.45);
    }

    .top-link-list li:hover {
        background: #e0f6f2;
    }

    .top-link-list-sub li:hover {
        background: #1b8f7a;
    }
}