@charset "UTF-8";

/* トップページレイアウト */
.top footer {
    background: #E6FAFE;
}

.top-main {
    width: 100%;
    height: 95svh;
    position: relative;
    background: #FFF;
}

/* メインビジュアルスライダー */
.mv-slider {
    width: 100%;
    height: 100%;
    position: relative;
    top: 0;
    left: 0;
    z-index: 3;
}

.mv-slider .swiper-wrapper {
    width: 90%;
    height: 100%;
    border-radius: 0 0 0 300px;
    left: 10%;
    position: relative;
    overflow: hidden;
}

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

.mv-slider .swiper-slide:before {
    content: "";
    display: block;
    position: absolute;
    background: linear-gradient(rgba(255, 255, 255, 0.2) 0%, rgba(10, 72, 96, 0.3) 100%);
    width: 100%;
    height: 100%;
    z-index: 2;
}

.mv-slider .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    will-change: filter;
    transform: scale(1.0);
}

.swiper-slide.is-zoom-in img {
    animation: zoomInAnim 8s linear forwards;
}

.swiper-slide.is-zoom-out img {
    animation: zoomOutAnim 8s linear forwards;
}

/* メインビジュアルコンテンツ */
.mv-content {
    position: absolute;
    top: 50%;
    left: 3%;
    transform: translateY(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 30px;
    mix-blend-mode: difference;
}

.hero-text {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.hero-text span {
    display: block;
    clip-path: inset(0 100% 0 0);
}

.hero-text span img {
    display: block;
    width: auto;
    max-width: none;
}

.mv-content.eon .hero-text span:nth-child(1),
.mv-content.eon .hero-text span:nth-child(3) {
    animation: wipeInRight 1.2s ease forwards;
}

.mv-content.eon .hero-text span:nth-child(2) {
    animation: wipeInRight 2.4s ease forwards;
}

.mv-content.eon .hero-text span:nth-child(1) {
    animation-delay: 0.2s;
}

.mv-content.eon .hero-text span:nth-child(2) {
    animation-delay: 1.4s;
}

.mv-content.eon .hero-text span:nth-child(3) {
    animation-delay: 2.6s;
}

.en-hero-text {
    position: absolute;
    left: calc(3% + 230px);
    top: 50%;
    transform: translate(0, -50%);
    z-index: 5;
    opacity: 0;
}

.en-hero-text p {
    color: #FFF;
    font-family: var(--en-font);
    white-space: nowrap;
    line-height: 1.4em;
}

.en-hero-text.eon {
    animation: fadeSlideIn 1s ease forwards;
    animation-delay: 3.4s;
}

.mv-sub-content {
    position: absolute;
    right: 30px;
    bottom: 30px;
    z-index: 10;
    opacity: 0;
}

.mv-sub-content p {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin: 0;
}

.mv-sub-content p span {
    display: inline-block;
    background-color: #fff;
    padding: 8px 16px;
    font-size: 14px;
    line-height: 1.5;
    color: #333;
    border-radius: 8px;
}

.mv-sub-content.eon {
    animation: fadeIn 1s ease forwards;
    animation-delay: 4.2s;
}

@media screen and (max-width: 767px) {
    .top-main {
        height: 95svh;
        max-height: 700px;
    }

    .mv-slider .swiper-wrapper {
        width: 100%;
        border-radius: 0 0 0 150px;
        left: 0;
    }

    .mv-slider .swiper-slide:before {
        background: linear-gradient(rgba(255, 255, 255, 0.2) 0%, rgba(10, 72, 96, 0.4) 100%);
    }

    .mv-content {
        width: 280px;
        top: 52%;
        transform: translateY(0);
        mix-blend-mode: normal;
    }

    .hero-text span img {
        width: 100%;
    }

    .en-hero-text {
        left: calc(3% + 140px);
        top: calc(52% + 76px);
    }

    .en-hero-text p {
        font-size: 11px;
    }

    .mv-sub-content {
        right: auto;
        left: 3%;
        bottom: -10px;
        z-index: 20;
    }

    .mv-sub-content p span {
        padding: 6px 12px;
        font-size: min(3vw, 15px);
    }
}

/* ニュース */
.top-news {
    position: relative;
    padding: 50px 0 0;
    z-index: 2;
}

.top-news::after {
    content: "";
    display: block;
    position: absolute;
    width: 100%;
    height: calc(100% + 100px);
    background: #ffeaec;
    top: -100px;
    z-index: -1;
}

.top-news .content-wrap {
    position: relative;
    z-index: 4;
    background: #FFF;
    max-width: 1400px;
    padding: 30px 50px;
    box-sizing: border-box;
    border-radius: 20px;
}

.top-news h2 {
    font-family: var(--en-font);
    font-size: 24px;
    color: var(--main-color);
    padding-bottom: 15px;
}

.news-list {
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
}

.news-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 12px 0;
    border-bottom: dotted 1px #DDD;
}

.news-date {
    flex-shrink: 0;
    width: 100px;
    white-space: nowrap;
    font-family: var(--en-font);
    font-size: 14px;
    color: var(--main-color);
}

.news-text {
    line-height: 1.6em;
}

@media screen and (max-width: 767px) {
    .top-news .content-wrap {
        padding: 20px 20px;
        box-sizing: border-box;
        border-radius: 20px;
    }

    .top-news h2 {
        font-size: 20px;
        padding-bottom: 0px;
    }

    .news-item {
        flex-direction: column;
        gap: 4px;
        padding: 12px 0;
    }

    .news-date {
        width: auto;
        font-size: 11px;
        line-height: 1.4em;
    }
}

/* フィルターコンテンツ */
.top-filter-content {
    position: relative;
    z-index: 1;
    padding: 0 0 100px;
}

.top-filter-content::after {
    content: "";
    display: block;
    position: absolute;
    width: 100%;
    height: calc(100% + 100px);
    background: linear-gradient(#ffeaec 0%, #e6fbff 100%);
    top: -100px;
    z-index: -1;
}

.top-filter-content .content-wrap {
    max-width: 1400px;
}

.button-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0 5px;
    padding: 0 0 40px;
    position: relative;
}

.button-group .button {
    padding: 2px 15px;
    background: #FFF;
    cursor: pointer;
    border-radius: 6px;
    border: solid #FFF 1px;
    transition: .3s;
    margin-bottom: 3px;
}

.button-group .button.is-checked {
    color: #FFF;
    background: var(--gradient-primary);
}

/* グリッドコンテンツ */
.grid-item {
    box-sizing: border-box;
    width: calc((100% - 4%) / 3);
    margin-bottom: 3%;
    display: flex;
    z-index: 1;
    position: relative;
    border-radius: 16px;
    transition: margin-top .4s;
}

.grid-item::after {
    content: "";
    display: block;
    position: absolute;
    background: #FFF;
    width: 100%;
    height: 100%;
    border-radius: 16px;
    top: 10px;
    left: 0;
    z-index: -1;
    transition: all .4s;
}

.gutter-sizer {
    width: 2%;
}

.grid-item .btn-img {
    position: relative;
    border-radius: 16px;
}

.grid-item .btn-img:before {
    content: "";
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(255, 255, 255, 0) 0%, rgba(62, 144, 168, 0.3) 100%);
    z-index: 2;
}

.grid-item .btn-text {
    position: absolute;
    bottom: 40px;
    left: 5px;
    z-index: 3;
}

.grid-item .btn-text p span {
    display: inline-block;
    background: #FFF;
    border-radius: 6px;
    line-height: 1.6em;
    padding: 3px 11px;
}

.grid-item .btn-text .btn-category {
    margin-bottom: 0.05em;
}

.grid-item .btn-text .btn-category span {
    font-size: clamp(9px, 0.8vw, 11px);
}

.grid-item .btn-text .btn-title span {
    font-size: clamp(13px, 1vw, 16px);
}

.grid-item .btn-text .btn-title span span {
    font-size: 12px;
    padding-left: 0;
}

.grid-item .more {
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    height: 30px;
}

.grid-item .more::before {
    content: "";
    display: block;
    position: absolute;
    background: var(--gradient-primary);
    transform-origin: right center;
    border-radius: 16px 0 16px 0;
    height: 30px;
    width: 100%;
    bottom: 0;
    right: 0;
    transition: all .3s ease-out;
}

.grid-item .more span {
    color: #FFF;
    position: relative;
    padding: 0 50px 0 20px;
    font-family: var(--en-font);
    font-size: 10px;
}

.grid-item .more::after {
    content: "";
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 8px;
    background: url('../img/common_img/white-arrow.svg') no-repeat center/contain;
    pointer-events: none;
}

@media (hover: hover) {
    .button-group .button:hover {
        background: #ff5255;
        color: #FFF;
    }

    .button-group .button.is-checked {
        pointer-events: none;
    }

    .grid-item:hover {
        margin-top: 8px;
    }

    .grid-item:hover::after {
        top: 2px;
    }

    .grid-item:hover .more::before {
        width: 120%;
    }
}

/* メディアクエリ - トップページ用 */
@media screen and (max-width: 980px) {
    .grid-item {
        width: calc((100% - 2%) / 2);
    }

    .grid-item .more {
        height: 24px;
    }

    .grid-item .more::before {
        border-radius: 8px 0 16px 0;
        height: 24px;
    }

    .grid-item .more span {
        padding: 0 40px 0 15px;
        font-size: 9px;
    }

    .grid-item .more::after {
        right: 10px;
        width: 22px;
        height: 6px;
    }
}

@media screen and (max-width: 480px) {
    .grid-item {
        width: calc((100% - 2%) / 1);
        margin-bottom: 30px;
    }

    .grid-item .btn-text .btn-title span {
        font-size: clamp(12px, 1vw, 14px);
    }

    .grid-item .btn-text .btn-title span span {
        font-size: 10px;
        padding-left: 0;
    }
}

/* キーフレーム（アニメーション定義） */
@keyframes zoomInAnim {
    0% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1.0);
    }
}

@keyframes zoomOutAnim {
    0% {
        transform: scale(1.0);
    }

    100% {
        transform: scale(1.05);
    }
}

@keyframes wipeInRight {
    0% {
        clip-path: inset(0 100% 0 0);
    }

    100% {
        clip-path: inset(0 0 0 0);
    }
}

@keyframes fadeSlideIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 0.8;
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

/* 特集コンテンツ */
.top-feature-content {
    position: relative;
    padding: 80px 0 0;
    background: #ffeaec;
}


.feature-title {
    text-align: center;
    padding-bottom: 20px;
    position: relative;
    top: -40px;
}

.feature-title span {
    display: inline-block;
    background: #FFF;
    border-radius: 24px;
    padding: 10px 30px;
    font-size: clamp(28px, 3.4vw, 44px);
    font-weight: 500;
    line-height: 1.6em;
}

.feature-list {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 0 3%;
    padding-bottom: 40px;
}

.feature-item {
    box-sizing: border-box;
    width: 48.5%;
    position: relative;
    z-index: 1;
}

.feature-item .link-area {
    position: relative;
    height: auto;
    transition: transform .4s;
}

.feature-item .btn-img {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
}

.feature-item .btn-img:before {
    content: "";
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(255, 255, 255, 0) 0%, rgba(62, 144, 168, 0.3) 100%);
    z-index: 2;
}

.feature-item .link-area::after {
    content: "";
    display: block;
    position: absolute;
    background: #FFF;
    width: 100%;
    height: 100%;
    border-radius: 16px;
    top: 10px;
    left: 0;
    z-index: -1;
    transition: all .4s;
}

.feature-item .btn-text {
    position: absolute;
    bottom: 40px;
    left: 10px;
    z-index: 3;
}

.feature-item .btn-text p span {
    display: inline-block;
    background: #FFF;
    border-radius: 6px;
    line-height: 1.6em;
    padding: 3px 11px;
}

.feature-item .btn-text .btn-category {
    margin-bottom: 0.05em;
}

.feature-item .btn-text .btn-category span {
    font-size: clamp(11px, 0.9vw, 13px);
}

.feature-item .btn-text .btn-title span {
    font-size: clamp(16px, 1.6vw, 22px);
    font-weight: 500;
}

.feature-item .more {
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    height: 34px;
}

.feature-item .more::before {
    content: "";
    display: block;
    position: absolute;
    background: var(--gradient-primary);
    transform-origin: right center;
    border-radius: 16px 0 16px 0;
    height: 34px;
    width: 100%;
    bottom: 0;
    right: 0;
    transition: all .3s ease-out;
}

.feature-item .more span {
    color: #FFF;
    position: relative;
    padding: 0 50px 0 20px;
    font-family: var(--en-font);
    font-size: 11px;
}

.feature-item .more::after {
    content: "";
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 8px;
    background: url('../img/common_img/white-arrow.svg') no-repeat center/contain;
    pointer-events: none;
}

.feature-desc {
    padding: 20px 5px 0;
    line-height: 1.8em;
    text-align: justify;
}

.top-feature-content .basic-button {
    width: 90%;
    max-width: 340px;
}

.top-feature-content .basic-button a {
    height: 56px;
}

@media (hover: hover) {
    .feature-item:hover .link-area {
        transform: translateY(8px);
    }

    .feature-item:hover .link-area::after {
        top: 2px;
    }

    .feature-item:hover .more::before {
        width: 120%;
    }
}

@media screen and (max-width: 980px) {
    .feature-item .more {
        height: 28px;
    }

    .feature-item .more::before {
        border-radius: 8px 0 16px 0;
        height: 28px;
    }

    .feature-item .more span {
        padding: 0 40px 0 15px;
        font-size: 9px;
    }

    .feature-item .more::after {
        right: 10px;
        width: 22px;
        height: 6px;
    }
}

@media screen and (max-width: 767px) {
    .feature-title {
        padding-bottom: 0;
    }

    .feature-title span {
        border-radius: 16px;
        padding: 24px 20px 15px;
        font-size: clamp(19px, 5vw, 28px);
    }

    .feature-list {
        flex-direction: column;
        gap: 30px 0;
    }

    .feature-item {
        width: 100%;
    }

    .feature-desc {
        padding: 15px 0 0;
    }
}

@media screen and (max-width: 480px) {
    .top-feature-content .feature-list .btn-img img {
        object-fit: cover;
        min-height: 230px;
    }

    .top-feature-content .feature-list .btn-text .btn-title span {
        font-size: 14px;
    }
}