@charset "UTF-8";
/* =========================================================
   TOP 更新スライダー（& Aladdin / Movie / Column）＋ 静的バナー
   読み込み：functions-top-slider.php（TOPページのみ）
   ========================================================= */

/* ---------- セクション ---------- */
.aic-ts-section.top-specials{
    background-color: #b4d3c4;
}
.top-section.aic-ts-section{
    padding: 110px 0 120px 0;
}

.aic-ts-block + .aic-ts-block{
    margin-top: 90px;
}

/* ---------- 見出し ---------- */
.aic-ts-head{
    padding: 0;
    margin-bottom: 30px;
    text-align: left;
    line-height: 1;
}
.aic-ts-section .aic-ts-head .aic-ts-title{
    display: inline-block;
    margin: 0;
    padding: 0;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    font-size: 48px;
    letter-spacing: 0.02em;
    line-height: 1;
    color: #222;
    vertical-align: baseline;
}
/* 見出し画像（& Aladdin / Movie / Column。元画像は高さ106pxで共通）
   PC：高さ36px … 以前のテキスト（48px）の文字の高さと同じ */
.aic-ts-section .aic-ts-head .aic-ts-title img{
    display: inline-block;
    width: auto;
    height: 36px;
    vertical-align: baseline;
}
.aic-ts-head .aic-ts-sub{
    display: inline-block;
    margin-left: 24px;
    font-family: 'Shippori Mincho B1', serif;
    font-size: 13px;
    letter-spacing: 0.08em;
    color: #2f6b52;
    vertical-align: baseline;
}

/* ---------- スライダー ---------- */
.aic-ts-slider-wrap{
    position: relative;
    padding: 0;
}
.aic-ts-slider{
    margin: 0 -18px;
    padding: 0;
    list-style: none;
}
/* slick 初期化前のちらつき防止（3列で並べておく） */
.aic-ts-slider:not(.slick-initialized){
    display: flex;
    overflow: hidden;
}
.aic-ts-slider:not(.slick-initialized) > .aic-ts-item{
    flex: 0 0 33.3333%;
}
.aic-ts-item{
    box-sizing: border-box;
    padding: 0 18px;
    text-align: left;
}
.aic-ts-item a,
.aic-ts-item .aic-ts-nolink{
    display: block;
    color: #333;
    text-decoration: none;
}
.aic-ts-item a:hover{
    opacity: 1;
}
.aic-ts-item a:hover .aic-ts-img img{
    opacity: 0.75;
}

/* 画像：比率固定で中央トリミング */
.aic-ts-img{
    position: relative;
    overflow: hidden;
    background: #e9f1ed;
    aspect-ratio: 16 / 10;
}
.aic-ts-ratio-169 .aic-ts-img{
    aspect-ratio: 16 / 9;
}
.aic-ts-img img{
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s;
}

/* 説明文（全文表示） */
.aic-ts-desc{
    margin: 16px 0 0 0;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 13px;
    line-height: 1.9;
    letter-spacing: 0.02em;
    color: #333;
}

/* 矢印（4件以上のときだけ slick が表示） */
/* 縦位置は top-slider.js で画像の高さの中央に合わせる */
.aic-ts-slider-wrap .slick-prev,
.aic-ts-slider-wrap .slick-next{
    position: absolute;
    top: 30%;
    margin-top: 0 !important;
    width: 60px !important;
    height: 60px !important;
    padding: 0;
    border: none !important;
    text-indent: -9999px;
    overflow: hidden;
    cursor: pointer;
    z-index: 10;
    transform: translateY(-50%);
}
.aic-ts-slider-wrap .slick-prev{
    left: -75px !important; /* .content-inner の外側 */
    background: url(../images/arrow_prev.png) no-repeat center center !important;
    background-size: 40px 7px !important;
}
.aic-ts-slider-wrap .slick-next{
    right: -75px !important; /* .content-inner の外側 */
    background: url(../images/arrow_next.png) no-repeat center center !important;
    background-size: 40px 7px !important;
}
.aic-ts-slider-wrap .slick-disabled{
    opacity: 0.25;
    cursor: default;
}
.aic-ts-slider-wrap .slick-prev:hover,
.aic-ts-slider-wrap .slick-next:hover{
    opacity: 0.6;
}
.aic-ts-slider-wrap .slick-disabled:hover{
    opacity: 0.25;
}

/* 未登録時の仮表示（ログイン中のみ） */
.aic-ts-block.is-preview .aic-ts-desc{
    color: #b3261e;
}

/* ---------- 静的バナー ---------- */
.aic-top-banners{
    padding: 120px 0 40px 0;
    background-color: #fff;
}
.aic-top-banners-list{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px 50px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.aic-top-banners-list li{
    margin: 0;
}
.aic-top-banners-list a{
    display: block;
}
.aic-top-banners-list a:hover img{
    opacity: 0.8;
}
.aic-top-banners-list img{
    display: block;
    width: 100%;
    height: auto;
    transition: opacity 0.3s;
}


/* =========================================================
   SP（640px以下）
   ========================================================= */
@media (max-width: 640px) {

    .top-section.aic-ts-section{
        padding: 50px 0 60px 0;
    }
    .aic-ts-block + .aic-ts-block{
        margin-top: 50px;
    }

    .aic-ts-head{
        padding: 0 5%;
        margin-bottom: 18px;
    }
    .aic-ts-section .aic-ts-head .aic-ts-title{
        display: block;
        font-size: 34px;
    }
    /* SP：高さ26px … 以前のテキスト（34px）の文字の高さと同じ */
    .aic-ts-section .aic-ts-head .aic-ts-title img{
        height: 26px;
    }
    .aic-ts-head .aic-ts-sub{
        display: block;
        margin: 8px 0 0 0;
        font-size: 12px;
    }

    .aic-ts-slider-wrap{
        padding: 0;
    }
    .aic-ts-slider{
        margin: 0;
    }
    .aic-ts-slider:not(.slick-initialized) > .aic-ts-item{
        flex: 0 0 80%;
    }
    .aic-ts-item{
        padding: 0 8px;
    }
    .aic-ts-desc{
        margin-top: 10px;
        font-size: 12px;
        line-height: 1.8;
    }

    .aic-top-banners{
        padding: 50px 0 20px 0;
    }
    .aic-top-banners .content-inner{
        width: auto;
        padding: 0 5%;
    }
    .aic-top-banners-list{
        grid-template-columns: 1fr;
        gap: 15px;
    }
}


/* =========================================================
   メイン動画（2本並び）… index.php の #top-main.top-main-dual
   PC：左右に並べる ／ SP（640px以下）：上下に並べる
   全体の高さは既存の scripts.js（ContentsW）が設定
   （PC：画面の高さ、SP：横幅×16/9）
   ========================================================= */
#top-main.top-main-dual{
    display: block;
    position: relative;
    overflow: hidden;
    height: 100vh; /* scripts.js が動くまでの仮の高さ */
    background-color: #b4d3c4;
}
.top-main-dual .top-main-movies{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
    z-index: 1;
}
.top-main-dual .top-main-movie{
    position: relative;
    flex: 1 1 50%;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
}
.top-main-dual .top-main-video{
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

/* キャッチフレーズ：2本の動画の中央に重ねる */
#top-main.top-main-dual .top-main-catch{
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 3;
    display: block;
    width: 339px; /* PC：画像の原寸（339×355px） */
    margin: 0;
    padding: 0;
    transform: translate(-50%, -50%);
    pointer-events: none;
    filter: drop-shadow(0 0 14px rgba(0, 0, 0, 0.35));
}
#top-main.top-main-dual .top-main-catch img{
    display: block;
    width: 100%;
    height: auto;
}

@media (max-width: 640px) {
    #top-main.top-main-dual{
        height: calc(100vw * 16 / 9); /* scripts.js が動くまでの仮の高さ */
    }
    .top-main-dual .top-main-movies{
        flex-direction: column;
    }
    #top-main.top-main-dual .top-main-catch{
        width: 40vw; /* スマホ：画面幅に合わせて縮小（390px幅で約156px） */
        max-width: 200px;
    }
}
