@charset "UTF-8";

/* ユニバーサルリセット */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    overflow-x: hidden;
}

/* ========================================================== */
/* PC版スタイル (デフォルトとして適用)                         */
/* ========================================================== */

/* --- Main Visual --- */
.main-visual {
    background-image: url('/files/user/_/lp/player_2025_26/4/img/mv_4.png');
    background-size: cover;
    /* ★★★ 修正点1: background-positionをより柔軟に設定 ★★★ */
    /* top center から center center に変更し、画像の中心を基準にします */
    /* もし選手の顔が少し上にある場合などは center 30% のように調整してください */
    background-position: center 5%;;
    background-repeat: no-repeat;
    width: 100%;
    height: auto; /* 高さはautoのまま */
    /* ★★★ 修正点2: PC用のaspect-ratioを少し縦長に調整 ★★★ */
    aspect-ratio: 16 / 10; /* PCのデフォルト比率 (以前は16/9) */
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 1;
}
/* ★★★ 修正点3: タブレット用の中間ブレークポイントを追加 ★★★ */


.main-visual button {
    background: url('/files/user/_/lp/player_2025_26/4/img/interview.png') no-repeat center center / cover;
    /* box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2), 0 1px 3px rgba(0, 0, 0, 0.1); */
    transition: filter 0.3s ease, transform 0.2s ease-in-out;
    cursor: pointer;
    border: none;
    border-radius: 5px;
    width: 500px;
    height: 90px;
    margin-bottom: 30px;

    /* ★★★ ここから修正 ★★★ */
    margin-left: auto;   /* ← 左マージンをautoに */
    margin-right: 80px;  /* ← 右マージンを80pxに（元の設定） */
    /* ★★★ ここまで修正 ★★★ */
    
    position: relative;
    z-index: 5;
}



/* --- Photo Album Slider Section --- */
.photo-album-slider-section {
    position: relative;
    width: 100%;
    max-width: 1200px;
    height: 250px;
    z-index: 2;
    overflow: hidden;
    margin-bottom: 30px;
    margin-top: 1px;
    margin-left: auto;
    margin-right: auto;
}

.photo-album-slider {
    width: 100%;
    height: 100%;
    position: relative;
}

.photo-album-slide {
    width: 400px;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #333;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    opacity: 1;
}

.photo-album-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.photo-album-slider .swiper-slide:not(.swiper-slide-active),
.photo-album-slider .swiper-slide-duplicate {
    opacity: 1 !important;
}

.photo-album-slider .swiper-button-prev,
.photo-album-slider .swiper-button-next {
    color: white;
    background-color: rgba(0, 0, 0, 0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.2em;
    transition: background-color 0.3s ease;
    z-index: 4;
}

.photo-album-slider .swiper-pagination {
    bottom: 10px;
    z-index: 4;
}

/* --- Profile Section --- */
.profile {
    background-color: #c31c26;
    width: 100%;
    overflow: hidden;
    padding-bottom: 50px;
    position: relative;
    z-index: 1;
    margin-top: 0;
}

.profile::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 0.2;
    z-index: -1;
}

.profile-arrow-icon {
    width: 150px;
    height: auto;
    margin-right: 10px;
    margin-top: 50px;
    margin-bottom: 10px;
    vertical-align: middle;
}

.profile_tittle {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 15px;
}

.profile_tittle h2 {
    font-size: 2.5em;
    font-weight: bold;
    color: white;
    margin-top: 50px;
    margin-bottom: 10px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.profile-boxes-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 40px auto 0;
    padding: 0 15px;
}

.profile-box {
    background-color: #f0f0f0;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease-in-out;
    display: flex;
    flex-direction: column;
    min-height: 120px;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.profile-box .box-title {
    font-size: 1.6em;
    font-weight: bold;
    color: #e6001b;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: center;
    text-align: center;
}

.profile-box .box-title::before {
    content: '';
    display: inline-block;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-color: #c31c26;
    border: 1px solid #c31c26;
    margin-right: 10px;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.3);
}

.profile-box .box-text {
    font-size: 1.5em;
    font-weight: bold;
    color: #666;
    line-height: 1.5;
    width: 100%;
    display: flex;
    justify-content: center;
}

.profile-full-width-box-wrapper {
    max-width: 900px;
    margin: 20px auto;
    padding: 0 15px;
}

.profile-box-full-width-independent {
    background-color: #f0f0f0;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease-in-out;
    display: flex;
    flex-direction: column;
    padding: 20px;
    min-height: 400px;
    align-items: center;
    width: 100%;
}

.career-subtitle {
    font-size: 1.6em;
    font-weight: bold;
    color: #e6001b;
    margin-top: 20px;
    margin-bottom: 15px;
    text-align: center;
    width: 100%;
}

.career-list {
    width: 100%;
    margin-top: 10px;
    margin-bottom: 20px;
}

.career-item {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 15px;
    width: 100%;
    margin-bottom: 5px;
    padding: 0 50px;
    align-items: baseline;
}

.career-year {
    font-size: 1.0em;
    font-weight: bold;
    color: #333;
    white-space: nowrap;
    text-align: left;
}

.career-detail {
    font-size: 1.0em;
    font-weight: normal;
    color: #666;
    line-height: 1.5;
    text-align: left;
}

/* --- Favorite Section --- */
.favorite-section {
    background-color: #ffffff; 
    background-image: url('/files/user/_/lp/player_temp/img/osaka_background.png');
    
    background-size: cover;
    position: relative;
    background-repeat: no-repeat;
    background-attachment: fixed;
    width: 100%;
    min-height: 500px;
    margin-top: 0px;
    z-index: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-bottom: 0px;
}

.favorite-overlay {
    background-color: rgba(255, 255, 255, 0.4);
    width: 100%;
    height: 100%;
    padding: 40px 0 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #333;
    text-shadow: none;
}

.favorite-title-image {
    max-width: 100%;
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 0px;
    margin-top: -60px;
    object-fit: contain;
}

.favorite-content-wrapper {
    display: flex;
    justify-content: center;
    /* ★★★ ここを flex-end に変更 ★★★ */
    align-items: flex-end;   /* ← flex-endは下揃え */
    max-width: 1080px;
    width: 100%;
    padding: 0 15px;
    gap: 50px;
    flex-wrap: wrap;
}

.favorite-items-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    flex-basis: 400px;
    flex-grow: 1;
    flex-shrink: 1;
    align-items: flex-start;
    text-align: left;
    margin-top: 30px;
    margin-bottom: 20px;
}

.favorite-item {
    background-color: #ffffff;
    padding: 10px 20px 15px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(230, 0, 27, 0.3);
    transition: all 0.3s ease;
    width: 100%;
    border: 2px solid #e6001b;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.favorite-item .favorite-item-title {
    
    font-size: 1.3em;
    font-weight: bold;
    color: #e6001b;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-shrink: 0;
    padding-right: 15px;
    white-space: nowrap;
}

/* こちらのセレクターも変更 */
.favorite-item .favorite-item-title::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 24px;
    margin-right: 10px;
    flex-shrink: 0;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
}

.favorite-item.item-icon-food .favorite-item-title::before { background-image: url('/files/user/_/lp/player_temp/img/food.png'); }
.favorite-item.item-icon-gost .favorite-item-title::before { background-image: url('/files/user/_/lp/player_temp/img/gost.png'); }
.favorite-item.item-icon-anime .favorite-item-title::before { background-image: url('/files/user/_/lp/player_temp/img/anime.png'); }
.favorite-item.item-icon-palet .favorite-item-title::before { background-image: url('/files/user/_/lp/player_temp/img/palet.png'); }
.favorite-item.item-icon-music .favorite-item-title::before { background-image: url('/files/user/_/lp/player_temp/img/music.png'); }
.favorite-item.item-icon-t-shirt .favorite-item-title::before { background-image: url('/files/user/_/lp/player_temp/img/t-shirt.png'); }
.favorite-item.item-icon-map .favorite-item-title::before { background-image: url('/files/user/_/lp/player_temp/img/map.png'); }


.favorite-item span {
    font-weight: bold;
    font-size: 1.1em;
    line-height: 1.6;
    color: #555;
    text-align: right;
    flex-grow: 1;
    flex-shrink: 1;
    word-break: break-all;
}

.favorite-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(230, 0, 27, 0.4), 0 2px 4px rgba(230, 0, 27, 0.2);
    background-color: #ffffff;
}

.favorite-image-wrapper {
    flex-basis: 450px;
    flex-grow: 1;
    flex-shrink: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.maki-yubisashi-img {
    /* PC版のデフォルト画像 */
    background-image: url('/files/user/_/lp/player_2025_26/4/img/aoki_yubisashi.png');
    background-size: contain; /* 画像がコンテナ内に収まるように */
    background-repeat: no-repeat;
    background-position: center bottom; /* 下中央に配置 */
    
    width: 100%;
    /* 高さの比率を維持するためにpadding-bottomを使用 */
    padding-bottom: 120%; /* 幅に対する高さを設定。画像のアスペクト比に合わせて調整してください */

    display: block;
    box-shadow: none;
}


/* --- Q&A Section --- */
.qa-section {
    background-color: #c31c26;
    padding: 0;
    width: 100%;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.qa-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/files/user/_/lp/player_temp/img/back.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 0.2;
    z-index: -1;
}

.qa-section-title-image {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 101vw;
    max-width: 101vw;
    top: 0;
    height: 126px;
    display: block;
    margin-bottom: 0;
    object-fit: cover;
    z-index: 1;
}

.qa-boxes-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
    padding-top: 160px;
    padding-bottom: 50px;
    position: relative;
    z-index: 2;
}

.qa-box {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 3px 3px 8px rgba(255, 255, 255, 0.15);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    padding: 0;
    flex-basis: calc(33.333% - 20px);
    max-width: calc(33.333% - 20px);
    flex-grow: 1;
    flex-shrink: 1;
    min-height: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    position: relative;
    overflow: hidden;
    z-index: 1;
    margin: 0;
}

.qa-box:hover {
    transform: translateY(-3px);
    box-shadow: 5px 5px 12px rgba(0, 0, 0, 0.25);
}

.qa-question {
    background-color: transparent;
    color: #333;
    padding: 15px 20px;
    display: flex;
    align-items: baseline; /* 変更 */
    width: 100%;
    border-bottom: 1px solid #e0e0e0;
}

.qa-answer {
    background-color: transparent;
    color: #333;
    padding: 15px 20px;
    display: flex;
    align-items: baseline; /* 変更 */
    width: 100%;
}

.qa-label {
    font-size: 1.5em;
    font-weight: bold;
    margin-right: 10px;
    flex-shrink: 0;
    padding: 2px 7px;
    border-radius: 4px;
    line-height: 1;
    text-shadow: none;
}

.q-color {
    background-color: #d4b274;
    color: white;
}

.a-color {
    background-color: #c31c26;
    color: #ffffff;
}

.qa-text {
    font-size: 0.95em;
    line-height: 1.5;
    color: #333;
    flex-grow: 1;
}

.show-more-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-width: 200px;
    padding: 0.9em 2.0em;
    font-weight: bold;
    text-decoration: none;
    color: #FFF;
    font-size: 1.3em;
    cursor: pointer;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #e0c897 0%, #d4b274 100%);
    border-bottom: 5px solid #a68b5a;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    margin-top: 15px;
}

.show-more-button::before {
    content: '+';
    font-size: 1.4em;
    margin-right: 10px;
    line-height: 1;
    transition: transform 0.3s ease;
}

.show-more-button:hover {
    background: linear-gradient(135deg, #eddebc 0%, #e0c897 100%);
    transform: translateY(-5px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.4);
    border-bottom: 2px solid #a68b5a;
}

.show-more-button.expanded-button {
    background: linear-gradient(135deg, #d4b274 0%, #e0c897 100%);
    border-bottom: 5px solid #8d744a;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
    transform: translateY(0);
}

.show-more-button.expanded-button:hover {
    background: linear-gradient(135deg, #e0c897 0%, #eddebc 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 18px rgba(0, 0, 0, 0.35);
    border-bottom: 3px solid #8d744a;
}

.show-more-button.expanded-button::before {
    content: '-';
    transform: rotate(0deg);
}

/* --- Message Section --- */
.message-section {
    background-color: #c31c26;
    padding: 0px 15px 80px; /* 上下のpaddingを均等に */
    position: relative;
    overflow: hidden;
   display: flex;
    justify-content: center;
    align-items: center;
    min-height: 500px;
    z-index: 0;
}

.message-full-width-white-bg {
    background-color: white;
    position: absolute;
    top: 68%;
    left: 50px;
    right: 50px;
    width: auto;
    max-width: calc(100% - 30px);
    height: 250px;
    transform: translateY(-30%);
    z-index: 4;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.message-content-image {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    display: block;
}

.message-content-wrapper {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    /* ★★★ 修正点2: align-items を center に ★★★ */
    align-items: center; /* ← 中の要素（左右カラム）の高さを中央で揃える */
        justify-content: center; /* ← ここを center に！*/ /* ← 中の要素を中央に寄せる */
    flex-wrap: wrap;
    gap: 30px;
    position: relative;
    z-index: 2;
    padding: 0 15px;
}

.message-left-column {
    flex: 1;
    min-width: 300px; /* 少し調整 */
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
     /* ★★★ 追加: カラム自体が中央に寄るように ★★★ */
    margin: 0 auto;
}

.player-message-img {
    max-width: 35%; /* サイズを少し調整 */
    height: auto;
    display: block;
    z-index: 3;
    transform: translateY(0); /* ← Y軸の移動をリセット */
}

/* ★★★ 修正点5: タイトルがあった右カラムを非表示に ★★★ */
.message-right-column {
    display: none; /* ← 右カラムを非表示 */
}

.message-title {
    font-size: 4em;
    color: white;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin-top: 50px;
    text-align: left;
}

/* --- STUTS Section --- */
.stuts {
    background-color: #ffffff;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    overflow: hidden;
    margin-top: -1px;
    padding-left: 15px;
    padding-right: 15px;
    padding-bottom: 50px;
    position: relative;
    z-index: 1;
}

.stuts_tittle {
    font-size: 2em;
    font-weight: bold;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    color: #e6001b;
    margin-top: 40px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    border-bottom: 2px solid #e6001b;
    padding-bottom: 5px;
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.stuts_tittle h2 {
    font-size: 1.8em;
    color: #333;
    font-weight: bold;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-align: center;
}

.stuts-boxes-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    margin-top: 40px;
    padding: 0 15px;
}

.stuts-box {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 2px 5px 2px rgba(255, 7, 7, 0.5);
    transition: transform 0.2s ease-in-out;
    display: flex;
    flex-direction: column;
    padding: 20px;
    min-height: 120px;
    align-items: flex-start;
    text-align: left;
    border: 1px solid #e6001b;
}

.stuts-box .box-main-title {
    font-size: 1.4em;
    font-weight: bold;
    color: #e6001b;
    margin-bottom: 3px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    margin-top: 0;
}

.stuts-box .box-sub-title {
    font-size: 0.9em;
    color: #e6001b;
    margin-bottom: 10px;
    text-transform: capitalize;
    line-height: 1.2;
    text-align: left;
}

.stuts-box .box-text {
    font-size: 1.5em;
    font-weight: bold;
    color: #333;
    line-height: 1.5;
    width: 100%;
    display: block;
    text-align: right;
    margin-top: 0;
}

.stuts-more-link {
    display: block;
    width: 80%;
    max-width: 400px;
    padding: 0.9em 1.5em;
    text-align: center;
    font-weight: bold;
    text-decoration: none;
    color: #e6001b;
    font-size: 1.3em;
    background: linear-gradient(135deg, #eeeeee 0%, #ffffff 100%);
    border: none;
    border-bottom: 5px solid #9b9b9b;
    border-radius: 10px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    margin-left: auto;
    margin-right: auto;
}

.stuts-more-link:hover {
    background: linear-gradient(135deg, #FF8C8C 0%, #FF5C5C 100%);
    transform: translateY(-5px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.4);
    border-bottom: 2px solid #ffffff;
}

.stuts-button-wrapper {
    margin-top: 50px;
    padding-bottom: 20px;
}

/* --- SNS Section --- */
.sns-section {
    background-color: #ffffff;
    /* ★★★ ここに padding-bottom を追加 ★★★ */
    padding: 10px 15px 100px; /* 上・左右・下の順。下の余白を80pxに設定 */
    text-align: center;
    overflow: hidden;
}

.sns_tittle {
    font-size: 2em;
    font-weight: bold;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    color: #e6001b;
    margin-top: 40px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    border-bottom: 2px solid #e6001b;
    padding-bottom: 5px;
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.sns_tittle h2 {
    font-size: 1.8em;
    color: #333;
    font-weight: bold;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-align: center;
}

/* --- SNS Section --- */
.sns-content-wrapper {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;

    display: flex;
    justify-content: center;
    align-items: stretch; /* 高さを揃える設定は維持 */
    flex-wrap: wrap;

    /* ★★★ 修正点1: 親要素のFlexアイテム間の左右の隙間 (gap) を設定 ★★★ */
     /* 例: sns-main と sns-sub-items-wrapper の間に15pxの隙間 */
}

.sns-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

.sns-item.sns-main {
    flex: 2; /* 大きい画像の幅の比率 */
    
    /* ★★★ 追加: メイン画像の縦横比を固定 ★★★ */
    /* 例: 正方形にしたい場合は 1 / 1 */
    /* 例: 横長の写真なら 4 / 3 や 16 / 9 など */
    aspect-ratio: 7 / 3;
}

.sns-item.sns-sub-items-wrapper {
    flex: 1; /* 小さい画像2枚のコンテナの比率 */
    
    /* ★★★ 修正点2: ここを row に戻して横並びにする！ ★★★ */
    flex-direction: row; 
    
    /* ★★★ 修正点3: 子要素（小さい画像）間の隙間を均等にする ★★★ */
    justify-content: space-between; /* または space-around, center, flex-start など */
    align-items: stretch; /* 高さを揃える */
    
    /* ★★★ 修正点4: 小さい画像同士の横の隙間 (gap) を設定 ★★★ */
    /* これで sns-sub-item 間に横方向の隙間ができます。 */

}

.sns-sub-item {
    flex: 1;
    overflow: hidden;

    /* ★★★ 追加: サブ画像の縦横比を固定 ★★★ */
    /* メイン画像と同じ比率にすると、レイアウトが揃って見えます */
    aspect-ratio: 3 / 4;
}

.sns-item img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    /* object-position は次の解決策で説明します */
}



/* --- YouTube Section --- */
.youtube-section {
    background-color: #c31c26;
    padding: 0 15px;
    text-align: center;
    overflow: hidden;
    position: relative;
}

.youtube-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/files/user/_/lp/player_temp/img/back.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 0.2;
    z-index: -1;
}

.youtube-section-title {
    font-size: 2.5em;
    font-weight: bold;
    color: white;
    margin-top: 40px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    border-bottom: 2px solid white;
    padding-bottom: 5px;
    margin-bottom: 40px;
    display: inline-block;
}

.youtube-slider {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    position: relative;
    padding-bottom: 40px;
}

.youtube-slide {
    width: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: black;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.youtube-video-embed {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.youtube-video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.youtube-slider .swiper-button-prev,
.youtube-slider .swiper-button-next {
    color: white;
    background-color: rgba(0, 0, 0, 0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.2em;
    transition: background-color 0.3s ease;
}

.youtube-slider .swiper-button-prev:hover,
.youtube-slider .swiper-button-next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.youtube-slider .swiper-pagination {
    bottom: 15px;
    width: 100%;
    text-align: center;
    position: absolute;
}

.youtube-slider .swiper-pagination-bullet {
    background-color: white;
    opacity: 0.6;
}

.youtube-slider .swiper-pagination-bullet-active {
    background-color: white;
    opacity: 1;
}

/* --- News Section --- */
.news-section {
    background-color: #e6001b;
    padding: 60px 15px;
    text-align: center;
    overflow: hidden;
}

.news-section-title {
    font-size: 2.5em;
    font-weight: bold;
    color: white;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 40px;
    border-bottom: 3px solid white;
    padding-bottom: 8px;
    display: inline-block;
}

.news-slider {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px; /* このpaddingはそのまま */
    position: relative;
}

.news-item {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.news-item-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.news-image {
    width: 100%;
    object-fit: cover;
    display: block;
    background-color: #f0f0f0;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #666;
    font-size: 0.9em;
    aspect-ratio: 3 / 2;
}

.news-info-box {
    width: 100%;
    padding: 15px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    flex-grow: 1;
}

.news-date {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 5px;
}

.news-title {
    font-size: 1.1em;
    font-weight: bold;
    color: #333;
    line-height: 1.4;
    margin-top: 0;
    margin-bottom: 0;
    overflow: hidden;
    text-overflow: clip;
    white-space: normal;
    max-height: calc(1.1em * 1.4 * 2);
}

.news-grid-slide {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 15px;
    box-sizing: border-box;
    height: auto; 
    width: 100%; 
    max-width: 100%; 
}

.news-slider .swiper-button-next,
.news-slider .swiper-button-prev {
    color: white;
    background-color: rgba(0, 0, 0, 0.5);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5em;
    transition: background-color 0.3s ease;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    position: absolute;
    margin-top: 0 !important;
}

.news-slider .swiper-button-next {
    right: 30px;
}

.news-slider .swiper-button-prev {
    left: 30px;
}

.news-slider .swiper-pagination {
    display: none;
}

/* --- Player Navigation Section --- */
.player-navigation-section {
    background-color: #f0f8ff;
    padding: 10px 15px 40px;
    text-align: center;
    overflow: hidden;
}

.player-navigation-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    flex-wrap: wrap;
}

.player-nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #333;
    font-weight: bold;
    flex: 1;
    min-width: 300px;
    max-width: 450px;
    transition: transform 0.2s ease-in-out;
}

.player-nav-link:hover {
    transform: translateY(-5px);
}

.player-nav-direction-text {
    font-size: 1.5em;
    color: #c31c26;
    margin-bottom: 20px;
    white-space: nowrap;
}

.player-nav-card {
    display: flex;
    align-items: center;
    background: linear-gradient(to bottom left, #c31c26 0%, #c31c26 30%, black 50%, black 100%);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
}

.player-nav-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
    flex-shrink: 0;
    border: 2px solid white;
}

.player-nav-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    color: white;
    flex-grow: 1;
    overflow: hidden;
}

.player-nav-number {
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 3px;
    color: #ffffff;
}

.player-nav-name {
    font-size: 0.9em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.player-nav-button.player-nav-all {
    background: #c31c26;
    color: white;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: bold;
    border-radius: 8px;
    padding: 30px 25px;
    flex: 0 0 auto;
    align-self: center;
    transition: background-color 0.3s ease, transform 0.2s ease-in-out;
}

.player-nav-button.player-nav-all:hover {
    background-color: #c31c26;
    transform: translateY(-2px);
}





    /* --- STUTS Section --- */
    .stuts_tittle h2 {
        font-size: 1.6em;
    }
    .stuts-boxes-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    .stuts-box {
        min-height: 100px;
        padding: 15px;
    }
    .stuts-box .box-main-title {
        font-size: 1.3em;
    }
    .stuts-box .box-sub-title {
        font-size: 0.8em;
    }
    .stuts-box .box-text {
        font-size: 1.2em;
    }
    .stuts-more-link {
        width: 90%;
        font-size: 1.1em;
        padding: 0.8em 1.2em;
    }

   

    /* --- YouTube Section --- */
    .youtube-section-title {
        font-size: 2em;
        margin-bottom: 30px;
    }
    .youtube-slider .swiper-button-prev,
    .youtube-slider .swiper-button-next {
        width: 30px;
        height: 30px;
        font-size: 1em;
    }

    /* --- News Section --- */
    .news-grid-slide {
        /* ★ここを修正: グリッドを解除し、Flexboxの縦並びにする */
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 20px;
        padding: 0 15px; 
    }

        .news-slider {
        padding: 0 15px;
    }
    
    /* スライド（.news-slide）をFlexboxにして、子要素を中央寄せ */
    .news-slide {
        display: flex;
        justify-content: center; /* ★修正: 子要素（ニュースカード）を水平方向中央寄せ */
        align-items: center; /* ★修正: 子要素を垂直方向中央寄せ */
        width: 100%;
        height: auto;
    }

    .news-item-link {
        width: 100%;
        max-width: 400px; /* ★追加: カードの最大幅を設定 */
        margin: 0 auto; /* ★追加: 親要素内で中央寄せ */
    }
    .news-slider .swiper-button-next,
    .news-slider .swiper-button-prev {
        width: 40px;
        height: 40px;
        top: 50%;
        transform: translateY(-50%);
        left: 10px;
        right: 10px;
    }
    .news-slider .swiper-button-prev {
        right: unset;
    }
    .news-slider .swiper-button-next {
        left: unset;
    }
    /* --- Player Navigation Section --- */
    .player-navigation-wrapper {
        flex-direction: column; /* 既存のまま */
        gap: 20px; /* 既存のまま */
        align-items: center; /* ★追加: 子要素を中央寄せに */
    }
    .player-nav-button.player-nav-all {
        order: 1;
        width: 100%;
    }

    
    .player-nav-link {
        width: 60%;
        max-width: unset;
    }

        .player-nav-link.player-nav-prev-link {
        order: 2; 
        width: 60%;
        max-width: unset;
    }

       .player-nav-link.player-nav-next-link {
        order: 3;
        width: 60%;
        max-width: unset;
    }


    .player-nav-direction-text {
        font-size: 1.3em;
    }
    .player-nav-card {
        padding: 8px;
    }
    .player-nav-photo {
        width: 70px;
        height: 70px;
        margin-right: 10px;
    }
    .player-nav-number {
        font-size: 1.3em;
    }
    .player-nav-name {
        font-size: 0.8em;
    }
    .player-nav-button.player-nav-all {
        width: 70%;
    }




/* === Photo Gallery Section === */
.photo-gallery-section {
    padding-bottom: 60px; /* セクション下の余白 */
}

.photo-gallery-slider {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    position: relative;
    padding-bottom: 40px; /* ページネーションのためのスペース */
}

.photo-gallery-slide {
    width: auto;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.photo-gallery-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover; /* 画像の比率を保ったままトリミング */
    aspect-ratio: 4 / 3; /* 写真の縦横比を4:3に固定 */
}

/* ナビゲーションボタンのスタイル */
.photo-gallery-slider .swiper-button-prev,
.photo-gallery-slider .swiper-button-next {
    color: white;
    background-color: rgba(0, 0, 0, 0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.2em;
    transition: background-color 0.3s ease;
}
.photo-gallery-slider .swiper-button-prev:hover,
.photo-gallery-slider .swiper-button-next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* ページネーションのスタイル */
.photo-gallery-slider .swiper-pagination {
    bottom: 0px;
    width: 100%;
    text-align: center;
    position: absolute;
}
.photo-gallery-slider .swiper-pagination-bullet {
    background-color: white;
    opacity: 0.6;
}
.photo-gallery-slider .swiper-pagination-bullet-active {
    background-color: white;
    opacity: 1;
}


/* === Photo Gallery Section Grid Adjustments === */

.photo-gallery-slider {
    /* グリッド表示で高さが変わるためpaddingを調整 */
    padding-left: 50px;
    padding-right: 50px;
}

.photo-gallery-slider .swiper-button-prev,
.photo-gallery-slider .swiper-button-next {
    /* ボタンがスライダーの上下中央に来るように調整 */
    top: 50%;
    transform: translateY(-50%);
}

.photo-gallery-slider .swiper-button-prev {
    left: 10px; /* ボタンの左からの位置 */
}

.photo-gallery-slider .swiper-button-next {
    right: 10px; /* ボタンの右からの位置 */
}

/* SP表示ではグリッドにならないため、paddingを元に戻す */
@media (max-width: 768px) {
    .photo-gallery-slider {
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* === ポップなセクションタイトルのスタイル === */
.section-title-pop {
    display: inline-block; /* 幅を文字数に合わせる */
    background-color: #fff; /* 背景は白 */
    color: #c31c26; /* 文字色はサイトの赤 */
    font-size: 2.8em; /* 文字サイズ */
    font-weight: 900; /* 太めのフォント */
    padding: 10px 30px; /* 内側の余白 */
    border-radius: 8px; /* 角を少し丸める */
    border: 4px solid #d4b274; /* 金色の枠線 */
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); /* 影をつけて立体感を出す */
    transform: rotate(-2deg); /* 少し傾けてポップさを演出 */
    margin-top: 50px; /* セクション上部からの余白 */
    margin-bottom: 30px; /* タイトルとコンテンツの間の余白 */
    text-transform: uppercase; /* 文字を大文字にする */
    letter-spacing: 0.05em; /* 文字間隔 */
}

/* --- タイトル変更に伴うレイアウト調整 --- */

/* Q&Aセクションの上の余白を削除 */
.qa-boxes-container {
    padding-top: 0;
}

/* Favoriteセクションの上の余白を削除 */
.favorite-overlay {
    padding-top: 0;
}



/* === ハンバーガーメニュー スタイル === */

/* ヘッダー全体 */
.page-header {
    position: fixed; /* 画面をスクロールしても追従 */
    top: 0;
    right: 0;
    z-index: 1000; /* 他の要素より手前に表示 */
    padding: 15px;
}

/* ハンバーガーボタン */
.hamburger-menu-button {
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    position: relative;
    z-index: 1002; /* メニュー本体より手前に */
}

/* ボタンの三本線 */
.hamburger-menu-button span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #fff;
    border-radius: 2px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    transition: all 0.3s ease;
}

.hamburger-menu-button span:nth-child(1) {
    top: 15px;
}
.hamburger-menu-button span:nth-child(2) {
    top: 24px;
}
.hamburger-menu-button span:nth-child(3) {
    top: 33px;
}

/* スライドインするナビゲーションメニュー */
.navigation-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 300px; /* メニューの幅 */
    height: 100vh; /* 画面全体の高さ */
    background-color: rgba(0, 0, 0, 0.9);
    padding-top: 80px;
    z-index: 1001;
    /* ★最初は画面の外に隠しておく */
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.4s ease, visibility 0.4s ease;
}

.navigation-menu ul {
    list-style: none;
}

.navigation-menu a {
    display: block;
    color: #fff;
    font-size: 1.2em;
    font-weight: bold;
    text-decoration: none;
    padding: 15px 30px;
    transition: background-color 0.3s;
}

.navigation-menu a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}


/* --- メニューが開いた時のスタイル --- */
/* bodyに.menu-openクラスがついた時の変化 */

/* メニュー本体をスライドインさせる */
.menu-open .navigation-menu {
    transform: translateX(0);
    visibility: visible;
}

/* ボタンを「×」印にアニメーション */
.menu-open .hamburger-menu-button span:nth-child(1) {
    top: 24px;
    transform: translateX(-50%) rotate(45deg);
}
.menu-open .hamburger-menu-button span:nth-child(2) {
    opacity: 0;
}
.menu-open .hamburger-menu-button span:nth-child(3) {
    top: 24px;
    transform: translateX(-50%) rotate(-45deg);
}

.all-player-link-section {
    background-color: #f0f8ff; /* 背景色を下のナビゲーションと合わせる */
    padding: 60px 15px;
    text-align: center;
}

/* ========================================================== */
/* プレーヤーナビゲーションのテキストと矢印                   */
/* ========================================================== */

/* --- 矢印とテキストの基本スタイル --- */
.player-nav-link::before,
.player-nav-link::after {
    display: block;
    font-size: 1.1em;
    font-weight: bold;
    color: #e6001b; /* 矢印と文字の色 */
    transition: transform 0.2s ease;
}

/* --- PREVボタンの矢印とテキスト --- */
.player-nav-prev-link::before {
    content: '← PREV'; /* ←テキスト */
    margin-bottom: 10px;
}

/* --- NEXTボタンの矢印とテキスト --- */
.player-nav-next-link::before {
    content: 'NEXT →'; /* テキスト→ */
    margin-bottom: 10px;
}

/* --- ホバー時のアニメーション --- */
.player-nav-link:hover::before {
    transform: scale(1.05);
}

.all-player-button {
    display: block;
    max-width: 600px; /* PCでの最大幅 */
    width: 100%;
    margin: 0 auto; /* 中央寄せ */
    border-radius: 12px;
    overflow: hidden; /* 角丸に合わせて画像をトリミング */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    
    /* 背景画像の設定 */
    background-image: url('/files/user/_/lp/player_temp/img/allplayer.png');
    background-size: cover;
    background-position: center;

    /* ★★★ 1200x800の比率(3:2)を維持 ★★★ */
    aspect-ratio: 3 / 2;

    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.all-player-button:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.25);
}

/* スクリーンリーダー用のテキストを隠す */
.all-player-button span {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.section-title-pop--red {
    background-color: #c31c26; /* 背景色を赤に */
    color: #ffffff;           /* 文字色を白に */
    border-color: #ffffff;     /* 枠線の色を白に変更 */
}

/* ========================================================== */
/* SP版スタイル (画面幅が768px以下の場合に適用)                */
/* ========================================================== */
@media (max-width: 768px) {

    .photo-gallery-slider .swiper-button-prev,
    .photo-gallery-slider .swiper-button-next {
        width: 30px;
        height: 30px;
        font-size: 1em;  }

 .section-title-pop {
        font-size: 2.2em;
        padding: 8px 25px;
        margin-top: 40px;
    }
    /* --- Main Visual --- */
    .main-visual {
        background-image: url('/files/user/_/lp/player_2025_26/4/img/mv_4_sp.png');
        height: auto;
        aspect-ratio: 9 / 16;
    }
    .main-visual button {
        background-size: contain;
        width: 300px;
        height: auto;
        margin: 0 auto 120px auto;
        padding: 0px 20px 100px;
        
    }

    /* --- Profile Section --- */
    .profile {
        margin-top: -75px;
    }
    .profile-arrow-icon {
        width: 80px;
    }
    .profile_tittle h2 {
        font-size: 1.8em;
    }
    .profile-boxes-container {
        grid-template-columns: 1fr;
    }
    .profile-box {
        min-height: 80px;
    }
    .profile-box .box-title {
        font-size: 1.2em;
    }
    .profile-box .box-text {
        font-size: 1.1em;
    }
    .career-item {
        padding: 0 10px;
        gap: 10px;
    }

    /* --- Favorite Section --- */
    .favorite-content-wrapper {
        flex-direction: column;
        align-items: center;
            gap: 0px;
        /* ★★★ ここを修正 ★★★ */
        max-width: 100%; /* ← 100%に変更して幅の制限をなくす */
        width: 100%;     /* ← 念のためwidthも指定 */
        padding: 0 15px 0; /* ← 左右の余白はpaddingで確保 */
        margin: 0;       /* ← marginはリセット */
        box-sizing: border-box; /* ← paddingを含めて幅を計算 */
    }


    .favorite-item {
    background-color: #ffffff;
    padding: 5px 15px 10px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(230, 0, 27, 0.3);
    transition: all 0.3s ease;
    width: 100%;
    border: 2px solid #e6001b;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
.favorite-image-wrapper {
        width: 100%; /* 親要素に対して幅を100%にする */
        max-width: 400px; /* 画像が大きくなりすぎないように最大幅を指定（お好みで調整）*/
        margin-top: -100px; /* 上の要素との間に少し余白を追加 */
    }
    /* ★★★ ここまで ★★★ */

    /* ... 他のSP用スタイル ... */


    .maki-yubisashi-img {
        background-image: url('/files/user/_/lp/player_2025_26/4/img/aoki_yubisashi_sp.png');
        padding-bottom: 130%;
            width: 70%;
 
    }
    .favorite-overlay {
        padding-top: -30px;
    }

    /* --- Q&A Section --- */
    .qa-box {
        flex-basis: 100%;
        max-width: 80%;
    }

     .message-section {
        padding: 40px 15px; /* SP用にpaddingを調整 */
    }

.qa-boxes-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    max-width: 1000px;
    margin: 0 auto;

    padding-bottom: 50px;
    position: relative;
    z-index: 2;
}

.qa-question {
    background-color: transparent;
    color: #333;
    padding: 10px 20px;
    display: flex;
     align-items: baseline; /* 変更 */
    width: 100%;
    border-bottom: 1px solid #e0e0e0;
}

.qa-answer {
    background-color: transparent;
    color: #333;
    padding: 10px 20px;
    display: flex;
     align-items: baseline; /* 変更 */
    width: 100%;
}

.message-section {
    background-color: #c31c26;
    padding: 0px 15px 140px;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 500px;
    z-index: 0;
}

.message-full-width-white-bg {
    background-color: white;
    position: absolute;
    top: 80%;
    left: 15px;
    right: 15px;
    width: auto;
    max-width: calc(100% - 30px);
    height: 250px;
    transform: translateY(-30%);
    z-index: 4;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.message-content-image {
    max-width: 120%;
    max-height: 95%;
    object-fit: contain;
        justify-content: center;
    display: flex;
}

.message-content-wrapper {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
        padding-bottom: 0px;
}


    .player-message-img {
        max-width: 70%; /* SPでのサイズ */
        transform: translateY(0); /* SPでもY軸移動をリセット */
    }

.qa-boxes-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
    padding-bottom: 0px;
    position: relative;
    z-index: 2;
}


    
  .sns-section {
    background-color: #ffffff;
    padding: 0px 15px 50px;
    text-align: center;
    overflow: hidden;
}

.sns_tittle {
    font-size: 1.5em;
    font-weight: bold;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    color: #e6001b;
    margin-top: 0px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    border-bottom: 2px solid #e6001b;
    padding-bottom: 5px;
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.sns_tittle h2 {
    font-size: 1.8em;
    color: #333;
    font-weight: bold;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-align: center;
}

.sns-content-wrapper {
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    gap: -10;
}

.sns-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

.sns-item.sns-main {
    flex: 2.5;
}

.sns-item.sns-sub-items-wrapper {
    flex: 2;
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
}

.sns-sub-item {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
    height: 100%;
    overflow: hidden;
    padding: 0;
}

.sns-item img {
    max-width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.sns-icon-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
}



    /* --- Sliders --- */
    .youtube-section-title, .section-title-pop {
        font-size: 2.2em;
        padding: 8px 25px;
        margin-top: 40px;
    }
    .youtube-slider .swiper-button-prev,
    .youtube-slider .swiper-button-next,
    .photo-gallery-slider .swiper-button-prev,
    .photo-gallery-slider .swiper-button-next {
        width: 30px;
        height: 30px;
        font-size: 1em;
    }
    .photo-gallery-slider {
        padding-left: 15px;
        padding-right: 15px;
    }

    /* --- Player Navigation Section --- */
   .player-navigation-wrapper {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }
    .player-nav-button.player-nav-all {
        order: 1;
        /* ★★★ 修正点1: 幅を適切な値に変更 ★★★ */
        width: 100%; /* ← 100% またはお好みの幅に */
        max-width: 400px; /* ← 最大幅も設定しておくと安全 */
    }
    .player-nav-link {
        /* ★★★ 修正点2: 幅を適切な値に変更 ★★★ */
        width: 100%;
        max-width: 400px; /* ← こちらも最大幅を設定 */
        max-width: unset; /* ← これは不要なので削除 */
    }
    .player-nav-link.player-nav-prev-link {
        order: 2;
    }
    .player-nav-link.player-nav-next-link {
        order: 3;
    }

    /* --- 矢印とテキストのSP用スタイル --- */
    .player-nav-link::before,
    .player-nav-link::after {
        font-size: 1em; /* SPでは少し文字を小さく */
        text-align: center; /* 中央寄せに */
    }

    /* PREV/NEXTボタンのテキストをカードの上に配置 */
    .player-nav-link.player-nav-prev-link,
    .player-nav-link.player-nav-next-link {
        display: flex;
        flex-direction: column; /* 要素を縦に並べる */
    }


}

