@charset "UTF-8";

/* ==========================================================
   2604 リニューアル トップページ
========================================================== */

/* imagemovie
------------------------------------------------- */

.imagemovie {
    width: 100%;
    margin-top: 92px;
}

.imagemovie__media {
    position: relative;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 9 / 16;
    overflow: hidden;
    background-color: #000;
}

/* 動画 */
.imagemovie__video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border: 0;
    transform: translate(-50%, -50%);
    pointer-events: none; /* YouTubeへのクリック遷移を防ぐ */
}

.imagemovie__video iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* 静止画：再生が始まったらフェードアウト（自動再生できない端末では表示したまま） */
.imagemovie__poster {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    transition: opacity 0.6s ease;
}

.imagemovie.is-playing .imagemovie__poster {
    opacity: 0;
}

/* 黒20%オーバーレイ */
.imagemovie__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
    pointer-events: none;
}

/* テキスト */
.imagemovie__header {
    position: absolute;
    bottom: 18%;
    left: 50%;
    z-index: 2;
    transform: translateX(-50%);
    width: 100%;
    color: var(--color-white);
    text-align: center;
    pointer-events: none;
}

.imagemovie__theme {
    margin-bottom: 20px;
    font-size: calc(28 * var(--rem));
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: 0.02em;
    text-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
}

.imagemovie__text {
    font-size: calc(14 * var(--rem));
    font-weight: bold;
    line-height: 2;
    letter-spacing: 0.1em;
    text-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
}

@media (min-width: 1025px) {
    .imagemovie {
        margin-top: 0;
    }
}

/* recommend
------------------------------------------------- */

.product {
    padding-block: 80px;
}

.product__inner {
    padding-inline: 25px;
}

.product__list {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 50px;
}

.product__item {
    width: 100%;
}

.product__item-link {
    width: 100%;
    transition: opacity 0.5s ease;
}

.product__item-link:hover {
    opacity: 0.8;
}

/* about
------------------------------------------------- */

.about {
    padding-block: 80px;
    background: #fffef7;
}

.about__inner {
    padding-inline: 40px;
}

.about__title {
    font-size: calc(18 * var(--rem));
    font-weight: 400;
    line-height: 1.5;
    text-align: center;
}

.about__theme {
    margin-block: 15px 20px;
    font-size: calc(18 * var(--rem));
    font-weight: 500;
    line-height: 2.2;
    letter-spacing: 0.1em;
    text-align: center;
}

.about__text-wrapper {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-bottom: 40px;
}

.about__text-wrapper p {
    font-size: calc(12 * var(--rem));
    font-weight: 500;
    font-family: var(--font-japanese);
    line-height: 2.2;
    letter-spacing: 0.1em;
}

/* media
------------------------------------------------- */

.media {
    padding-block: 80px;
    overflow: hidden; /* スライダーのはみ出しで横スクロールが出ないように */
    background-color: var(--main-color);
}

.media__title {
    color: var(--color-black-primary);
    font-size: calc(18 * var(--rem));
    font-weight: 400;
    line-height: 1.5;
    text-align: center;
}

.media__item-img {
    margin-bottom: 15px;
}

.media__item-text {
    font-size: calc(12 * var(--rem));
    font-weight: 500;
    font-family: var(--font-japanese);
    line-height: 1.5;
    letter-spacing: 0.1em;
}

.swiper-container02 {
    margin-block: 30px 50px;
}

/* links
------------------------------------------------- */

.information {
    padding-block: 80px;
    background-color: var(--main-color);
}

.information__inner {
    padding-inline: 25px;
}

.information__list {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.information__item {
    width: 100%;
}

.information__item-link {
    position: relative;
    width: 100%;
    height: 100%;
}

.information__item-text-box {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    width: 100%;
    height: 100%;
    background-color: transparent;
    transition: background-color 0.5s ease;
}

.information__item-link:hover .information__item-text-box {
    background-color: rgba(128, 187, 169, 0.8);
}

.information__title {
    color: var(--color-white);
    font-size: calc(28 * var(--rem));
    font-weight: 400;
    line-height: 1.3;
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
}
