@charset "UTF-8";

/* =========================================
   Announcer (CAST) Section
   ========================================= */
.t-home-announcer {
    position: relative;
    padding: 10rem 0;
    width: 100%;
    overflow: hidden;
    transition: background-color 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.t-home-announcer__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
}

/* --- 1. 上部：ヘッダーエリア --- */
.t-home-announcer__header {
    margin-bottom: 5rem;
}

/* --- 2. 担当コーナー＆説明文（JSで動的に変わるエリア） --- */
.t-home-announcer__info {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.t-home-announcer__corner {
    font-family: var(--font-family_outfit, 'Outfit', sans-serif);
    font-size: 5rem;
    font-weight: 900;
    color: #111111;
    line-height: 1;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
    transition: opacity 0.3s ease;
}

.t-home-announcer__desc {
    font-size: 1.5rem;
    line-height: 1.8;
    color: #555555;
    transition: opacity 0.3s ease;
}

/* --- 3. 中央：スライダーエリア --- */
.t-home-announcer-slide {
    width: 100%;
    overflow: visible;
    margin-bottom: 5rem;
}

.t-home-announcer__item {
    width: 280px;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.5s ease;
}

/* 中央以外は小さく・薄くして、中央（フォーカス）を際立たせる */
.t-home-announcer__item:not(.is-active) {
    transform: scale(0.85);
    opacity: 0.5;
}

.t-home-announcer__card {
    display: block;
    text-decoration: none !important;
}

/* 写真部分 */
.t-home-announcer__card-pict {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    background: #ffffff;
    margin-bottom: 2rem;
}

.t-home-announcer__card-pict img {
    width: 180%;
    height: 180%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.t-home-announcer__card:hover .t-home-announcer__card-pict img {
    transform: scale(1.05);
}

/*.t-home-announcer__card-pict img {
    display: block;
    position: absolute;
    width: 200%;
    height: 200%;
    object-fit: cover;
    top: 100%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: transform 0.6s ease;
}*/
 
/* ホバー時の挙動 */
/*.t-home-announcer__card:hover .t-home-announcer__card-pict img {
    transform: translate(-50%, -50%) scale(1.08);
}*/

/* 名前とSNS */
.t-home-announcer__card-info {
    text-align: center;
}

.t-home-announcer__card-name {
    font-family: var(--font-family_monbran, sans-serif);
    font-size: 2rem;
    font-weight: 700;
    color: #111111;
    margin-bottom: 0.5rem;
}

/* --- 4. 下部：丸アイコン一覧（サムネイル） --- */
.t-home-announcer__thumbnails {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin: 0 auto; 
    /* ※ 折り返しのための max-width 指定はJavaScriptが自動計算して付与するため、ここからは削除しています */
}

.t-home-announcer__thumb {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    opacity: 0.5;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    background: #ffffff;
}

/* 中に入っている「画像」自体の設定 */
.t-home-announcer__thumb img {
    width: 200%;
    height: 200%;
    object-fit: cover;
    object-position: center 15px;
    transform: scale(1.4);
}

.t-home-announcer__thumb:hover,
.t-home-announcer__thumb.is-active {
    opacity: 1;
    transform: translateY(-5px);
    border-color: #ffffff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}


/* =========================================
デバッグ用：特定の画像（announcer_1.jpg）専用レイアウト
========================================= */

/* 1. 横スライダーの写真（180% → 100%に戻す） */
.t-home-announcer__item.is-special-layout .t-home-announcer__card-pict img {
    width: 170% !important;
    height: 170% !important;
    object-position: -100px -20px;
}
.t-home-announcer__item.is-special-layout_02 .t-home-announcer__card-pict img {
    width: 140% !important;
    height: 140% !important;
    object-position: -30px -30px;
}
.t-home-announcer__item.is-special-layout_03 .t-home-announcer__card-pict img {
    width: 150% !important;
    height: 150% !important;
    object-position: -60px -20px;
}
.t-home-announcer__item.is-special-layout_04 .t-home-announcer__card-pict img {
    width: 130% !important;
    height: 130% !important;
    object-position: -110px 0
}

/* 2. 下のまるの写真（300% → 100%に戻し、位置のズレも直す） */
.t-home-announcer__thumb.is-special-layout img {
    width: 190% !important;
    height: 190% !important;
}
.t-home-announcer__thumb.is-special-layout_02 img {
    width: 150% !important;
    height: 150% !important;
    object-position: 0 5px;
}
.t-home-announcer__thumb.is-special-layout_03 img {
    width: 180% !important;
    height: 180% !important;
    object-position: -10px 15px;
}
.t-home-announcer__thumb.is-special-layout_04 img {
    width: 100% !important;
    height: 100% !important;
    object-position: -3px 15px;
}


.t-home-announcer__card-vertical {
    display: none;
}


/* =========================================
   スマホ用レスポンシブ（799px以下）
   ========================================= */
@media screen and (max-width: 799px) {
    .t-home-announcer {
        padding: 6rem 0;
    }

    .t-home-announcer__header {
        margin-bottom: 3rem;
    }

    .t-home-announcer__corner {
        font-size: 3.6rem;
    }

    .t-home-announcer__desc {
        font-size: 1.3rem;
    }

    .t-home-announcer__item {
        width: 220px;
    }

    /* スマホ時のサムネイルコンテナ */
    .t-home-announcer__thumbnails {
        gap: 15px; /* スマホ時の隙間 */
        margin: 0 auto;
    }

    /* スマホ時のサムネイルアイテム */
    .t-home-announcer__thumb {
        width: 50px;
        height: 50px;
    }

    

/* 中に入っている「画像」自体の設定 */
.t-home-announcer__thumb img {
    width: 200%;
    height: 200%;
    object-fit: cover;
    object-position: center 7px;
    transform: scale(1.4);
}

/* =========================================
デバッグ用：特定の画像（announcer_1.jpg）専用レイアウト
========================================= */


/* 1. 横スライダーの写真（180% → 100%に戻す） */
.t-home-announcer__item.is-special-layout .t-home-announcer__card-pict img {
    width: 170% !important;
    height: 170% !important;
    object-position: -80px 0;
}
.t-home-announcer__item.is-special-layout_02 .t-home-announcer__card-pict img {
    width: 140% !important;
    height: 140% !important;
    object-position: -30px -10px;
}
.t-home-announcer__item.is-special-layout_03 .t-home-announcer__card-pict img {
    width: 160% !important;
    height: 160% !important;
    object-position: -50px -10px;
}
.t-home-announcer__item.is-special-layout_04 .t-home-announcer__card-pict img {
    width: 120% !important;
    height: 120% !important;
    object-position: -70px 20px;
}

/* 2. 下のまるの写真（300% → 100%に戻し、位置のズレも直す） */
.t-home-announcer__thumb.is-special-layout img {
    width: 190% !important;
    height: 190% !important;
    object-position: -10px 5px;
    /*transform: translate(10px, -25px);
    transform: none !important;  translateY(-20px) のズレをリセット */
}
.t-home-announcer__thumb.is-special-layout_02 img {
    width: 150% !important;
    height: 150% !important;
    object-position: 0 0;
}
.t-home-announcer__thumb.is-special-layout_03 img {
    width: 180% !important;
    height: 180% !important;
    object-position: -5px 5px;
}
.t-home-announcer__thumb.is-special-layout_04 img {
    width: 100% !important;
    height: 100% !important;
    object-position: -2px 5px;
}
}

