@charset "utf-8";

:root {
    --neon-pink: #f90182;
    --light-pink: #ff7bbb;
    --bg-gradient-start: #e4007f;
    --bg-gradient-end: #ff7cbb;
    --neon-cyan: #00f0ff;
    --bright-yellow: #fff500;
    --text-dark: #2c1a30; 
    --font-pop: 'Chakra Petch', 'M PLUS 2', sans-serif;
    --font-base: 'Chakra Petch', 'M PLUS 2', sans-serif;

    /* スライダーパラメータ */
    --card-width-desktop: 15vw; 
    --card-gap-desktop: 2vw;  
    --card-width-mobile: 26vw;
    --card-gap-mobile: 3vw;  
}

a {
    text-decoration: none;
    color: inherit;
  }

body {
    font-family: var(--font-base);
    color: var(--text-dark);
    overflow-x: hidden;
    line-height: 1.6;
    position: relative;
    background-color: #ffffff;
    margin: 0;
    padding: 0;
}

/* --- ① bodyの背景ドットパターン（最背面） --- */
body::before {
    content: '';
    background-size: 16px 16px;
    pointer-events: none;
    z-index: 0;
    background-image: radial-gradient(rgba(249, 1, 130, 0.1) 15%, transparent 16%);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: auto;
    height: auto;
}

/* 全体コンテンツのz-index保持 */
header {
    position: sticky;
    top: 0;
    z-index: 100;
}

/* --- 上部ホワイト〜パステルエリア背景 ---*/
.top-hero-section {
    position: relative;
    padding-bottom: 20px;
    z-index: 20; 
    background-image: linear-gradient(180deg, #ff85d0 0%, #ffffff 70%);
}

/* ドット柄レイヤー*/
.top-hero-dot-fade {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(249, 1, 130, 0.1) 15%, transparent 16%);
    background-size: 16px 16px;
    background-position: 0 0;
    background-repeat: repeat;
    -webkit-mask-image: linear-gradient(to top, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 10%);
    mask-image: linear-gradient(to top, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 10%);
    pointer-events: none;
    z-index: 0;
}

.top-hero-lottie-fade {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(/special/lovelive/img/bg.png);
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 55%);
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 55%);
    pointer-events: none;
    z-index: 0;
}

.top-hero-section > header,
.top-hero-section > .card-slider-container,
.top-hero-section > .container {
    position: relative;
    z-index: 1;
}

/* --- ① ヘッダー＆ダブルロゴ --- */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    padding: 16px 0;
    box-shadow: 0 4px 20px rgb(228 0 127 / 40%);
}

.logo-area {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    max-width: 600px;
    margin: 0 auto;
}

.logo-wrap {
    flex: 1;
    display: flex;
    justify-content: end;
    transition: transform 0.2s ease;
}

.logo-wrap:hover {
    transform: scale(1.05);
}

.logo-wrap img {
    max-height: 60px;
    object-fit: contain;
}

.logo-separator {
    font-family: var(--font-pop);
    color:#ffa0d9;
    font-size: 36px;
    font-weight: 900;
    line-height: 1;
    user-select: none;
}

/* --- 3Dカードスライダー --- */
.card-slider-container {
    position: relative;
    overflow: hidden;
    width: 100vw;
    padding: 40px 0 50px;
}

.card-track {
    display: flex;
    gap: var(--card-gap-desktop);
    width: max-content;
    animation: card-loop 32s linear infinite;
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
}

@keyframes card-loop {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-33.3333% - (var(--card-gap-desktop) / 3))); }
}

.deck-card {
    width: var(--card-width-desktop);
    aspect-ratio: 315 / 445;
    perspective: 1200px;
    flex-shrink: 0;
    cursor: default;
    user-select: none;
}

.deck-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.deck-card:hover .deck-card-inner {
    transform: rotateY(180deg) rotate(0deg) translateY(-8px) !important;
    z-index: 50;
}

.deck-card-front, .deck-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    border: 2px solid #ff9eda;
    background: #d1d5db;
}

.deck-card-front img, .deck-card-back img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.deck-card-back {
    transform: rotateY(180deg);
}

/* 傾きアニメーション */
.type-left .deck-card-inner { transform: rotate(-3deg); }
.type-right .deck-card-inner { transform: rotate(2.5deg) translateY(6px); }
.type-left-alt .deck-card-inner { transform: rotate(-1.5deg) translateY(-6px); }
.type-right-alt .deck-card-inner { transform: rotate(3.5deg); }

/* --- キャンペーンバナー & H1 --- */
.banner-section {
    text-align: center;
    padding: 20px 0 30px;
    width: 100%;
    text-shadow: #fff 0 0 16px;
}

/* 見出し */
.speech-tag {
    display: inline-block;
    position: relative;
    color: #000000;
    font-weight: 800;
    font-size: clamp(22px, 4vw, 40px);
    margin-bottom: 20px;
    padding: 0 1.3em; 
}

.speech-tag::before,
.speech-tag::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 1.1em;   
    height: 0.075em; 
    background: #000000;
    border-radius: 2px;
}

.speech-tag::before {
    left: 0;
    transform: translateY(-50%) rotate(60deg); /* ＼ */
}

.speech-tag::after {
    right: 0;
    transform: translateY(-50%) rotate(-60deg); /* ／ */
}

.banner-main-h1 {
    font-size: clamp(20px, calc((100vw - 32px) / 21), 54px);
    font-weight: 900;
    line-height: 1.35;
    margin: 0 auto 18px auto;
    background: linear-gradient(90deg, #f90182 0%, #ff7bbb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
    width: 100%;
    font-family: 'M PLUS 2', sans-serif; 
    text-shadow: none; 
    filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.8));
}

.banner-main-h1 .h1-line {
    /* display: block;
    white-space: normal;  */
    word-break: keep-all;
    overflow-wrap: break-word;
    display: block;
    white-space: nowrap;
}

.sp-break { display: none; }

/* キャッチコピー (30px可変 & Bold) */
.banner-catch {
    font-size: clamp(16px, 2.1vw, 28px);
    font-weight: 700;
    color: var(--text-dark);
    /* margin-bottom: 30px; */
}

.main-banner-overlap {
    position: relative;
    z-index: 30;
}

/* --- 1200x543バナー & シャインピカッと演出（最前面配置） --- */
.banner-wrapper {
    position: relative;
    max-width: 860px;
    margin: 0 auto;
    z-index: 50;
}

.shine-banner-box {
    position: relative;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(44, 26, 48, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease; 
    border-radius: 16px;
}

.shine-banner-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.2);
}

.shine-banner-box img {
    width: 100%;
    height: auto;
    display: block;
}

.shine-banner-box::after {
    content: '';
    position: absolute;
    top: -50%;
    left: 0;
    width: 40%;
    height: 200%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.65) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: translateX(-175%) rotate(25deg);
    animation: shineSweep 2s infinite ease-in-out;
    pointer-events: none;
    will-change: transform;
}

@keyframes shineSweep {
    0% { transform: translateX(-175%) rotate(25deg); }
    40% { transform: translateX(350%) rotate(25deg); }
    100% { transform: translateX(350%) rotate(25deg); }
}

/* --- 下半分のピンクパララックス背景エリア ---*/
.pink-parallax-section {
    position: relative;
    background-color: var(--bg-gradient-start);
    background-image: 
        radial-gradient(rgba(255, 255, 255, 0.1) 15%, transparent 16%),
        linear-gradient(90deg, var(--bg-gradient-start) 0%, var(--bg-gradient-end) 100%); 
    background-size: 16px 16px, 100% 100%;
    background-position: 0 0, center;
    background-repeat: repeat, no-repeat;
    background-attachment: fixed, scroll; 
    color: var(--text-dark);
    padding-top: max(160px, calc(18.63vw + 20px));
    margin-top: max(-226px, -22.63vw); 
    padding-bottom: 80px;
    z-index: 10;
}

.pink-content-inner {
    position: relative;
    z-index: 2;
}

.pink-lottie-fade {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.37;
    background-image: url(/special/lovelive/img/bg.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed; /* パララックス固定 */
    pointer-events: none;
    z-index: 1;
}

/* --- セクションタイトル --- */
.section-title-wrap {
    text-align: center;
    /* margin: clamp(0px, calc(14.5px - 1.2vw), 10px) 0 35px; */
    margin: 0 0 35px;
}

.section-title {
    font-size: clamp(28px, 4vw, 60px);
    font-family: var(--font-pop);
    font-weight: 900;
    color: #ffffff;
    letter-spacing: 2px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* 左右のキラキラダイヤ飾り */
.title-decor {
    width: 35px;
    height: 35px;
    background: #ffffff;
    display: inline-block;
    animation: decorFloat 2.4s ease-in-out infinite;
    clip-path: path("M 17.5 0 C 17.5 13 22 17.5 35 17.5 C 22 17.5 17.5 22 17.5 35 C 17.5 22 13 17.5 0 17.5 C 13 17.5 17.5 13 17.5 0 Z");
}

@keyframes decorFloat {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-6px); }
}

.title-decor:last-of-type {
    animation-delay: 1.2s; /* 半周期分ずらして非同期にする */
}
.section-subtitle {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    opacity: 0.9;
    letter-spacing: 1px;
}

/* --- 放送スケジュール --- */
.schedule-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.schedule-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

a.schedule-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.2);
}

/* PC時*/
.card-img-wrap {
    width: 100%;
    aspect-ratio: 1000 / 1413;
    background-color: transparent;
    position: relative;
    overflow: hidden;
}

.card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.card-content {
    padding: 18px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.program-tag {
    align-self: flex-start;
    /* background: var(--neon-pink); */
    background: linear-gradient(90deg, #f80082, #ff7cbb);
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    padding: 2px 10px;
    border-radius: 12px;
    margin-bottom: 8px;
    display: inline-block;
}

.program-title {
    font-size: 18px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 8px;
    line-height: 1.4;
}

a.schedule-card .program-title {
    text-decoration: underline;
}
.program-desc {
    font-size: 13px;
    color: #66526b;
    line-height: 1.5;
    margin-bottom: 12px;
    /* display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden; */
}

.broadcast-date {
    font-size: clamp(20px, 2.1vw, 30px);
    font-weight: 800;
    color: var(--neon-pink);
    display: flex;
    align-items: center;
    gap: 10px;
}

.broadcast-date i {
    text-shadow: 0 0 6px currentColor;
}

.broadcast-date-s{
    font-size: clamp(14px, 2.1vw, 16px);
}

.broadcast-date .soon{
    font-size: clamp(16px, 2.1vw, 20px);
}

.and-more-text {
    text-align: center;
    color: #ffffff;
    font-family: var(--font-pop);
    font-weight: 700;
    font-size: clamp(18px, 3vw, 30px);
    margin-top: 30px;
    letter-spacing: 2px;
}

/* --- キャンペーン --- */
.campaign-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.campaign-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 20px;
    display: flex;
    gap: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    align-items: stretch;
    position: relative;
}

.campaign-media {
    flex: 0 0 255px;
    aspect-ratio: 255 / 361;
    background-color: #d1d5db;
    border-radius: 10px;
    overflow: hidden;
    align-self: flex-start;
}

.campaign-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.campaign-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-dark);
    margin: 8px 0;
}

.campaign-title .text-pink {
    color: var(--neon-pink);
}

.campaign-text{
    font-size: 13px;
    color: #66526b;
}

.campaign-text strong {
    font-weight: 700;
}

.campaign-btn {
    position: relative; 
    align-self: flex-end;
    max-width: 450px;
    width: 100%;
    background: linear-gradient(0deg, #0077d3, #77c4ff);
    color: #ffffff;
    font-size: clamp(16px, 2.5vw, 20px);
    font-weight: 700;
    padding: 10px 40px 10px 24px; 
    border-radius: 30px;
    border: solid #fff 2px;
    box-shadow: 0 4px 12px rgba(0, 145, 255, 0.3);
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    margin-top: 10px;
    transition: transform 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
    justify-content: center;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.campaign-btn.is-disabled {
    pointer-events: none;
    cursor: default;
    background: #969696; 
    border: solid #fff 2px;
    box-shadow: none;
    opacity: 0.8;
}

.campaign-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 145, 255, 0.4);
}
.fa-chevron-circle-right::before,
.fa-circle-chevron-right::before {
    content: "";
    position: absolute;  
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 6px 0 6px 9px;
    border-color: transparent transparent transparent currentColor;
}

/* コピーライト*/
.copyright-text {
    text-align: right;
    font-size: 10px;
    color: #8a7a8e;
    margin-top: 8px;
}

/* CP掲載終了時 */
.campaign-card {
    position: relative;
}

.campaign-card-inner {
    display: flex;
    width: 100%;
    gap: 20px;
    align-items: stretch;
}

.campaign-ended-overlay { display: none; }

.campaign-card.is-ended .campaign-ended-overlay {
    display: flex;
    position: absolute;
    inset: 0;
    align-items: center;
    justify-content: center;
    background: rgba(39, 39, 39, 0.6);
    color: #ffffff;
    font-weight: 800;
    font-size: 24px;
    border-radius: 16px;
    z-index: 5;
    text-align: center;
}

.campaign-card.is-ended .campaign-card-inner {
    pointer-events: none;
    filter: grayscale(1);
    opacity: 0.5;
}
.line_bnr img{
    border: 2px solid #ff9eda;
}
.line_bnr a :hover{
    opacity: 0.8;
}

/* 視聴方法ボタン */
.watch-section {
    text-align: center;
    margin: 50px 0 30px;
}

.watch-btn {
    display: inline-block;
    background: #d1d5db;
    color: var(--text-dark);
    font-size: 18px;
    font-weight: 800;
    padding: 16px 50px;
    border-radius: 30px;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s;
}

.watch-btn:hover {
    transform: translateY(-3px);
}


/* フッター */
footer {
    background: var(--bg-gradient-start);
    color: #ffffff;
    text-align: center;
    padding: 24px 20px;
    font-size: 12px;
    letter-spacing: 1px;
    position: relative;
    z-index: 20;
}

/* TOPへ戻るボタン */
.back-to-top {
    position: fixed;
    right: 20px;
    bottom: 24px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 100;
    border: none;
    transition: transform 0.2s, opacity 0.3s;
    opacity: 0;
    pointer-events: none;
    background: none;
    box-shadow: none;
    padding: 0;
}

.back-to-top img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
    border: 2px solid #ffffff;
    box-shadow: 0 0 16px rgba(228, 0, 127, 0.4);
}

.back-to-top.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.back-to-top:hover {
    transform: translateY(-4px);
}

/* Tailwind CSS 置き換え */
.container {
    width: 100%;
    box-sizing: border-box;
}

.max-w-\[1200px\] {
    max-width: 1200px;
}

.max-w-\[1100px\] {
    max-width: 1100px;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.w-full {
    width: 100%;
}

.h-full {
    height: 100%;
}

.object-cover {
    object-fit: cover;
}

.rounded-lg {
    border-radius: 0.5rem;
}

.text-center {
    text-align: center;
}

.my-8 {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.shadow-md {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
                0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.text-pink {
    color: var(--neon-pink);
}

/* ロゴエリアのレスポンシブ調整 */
.logo-area {
    width: 100%;
    box-sizing: border-box;
    padding: 0 16px;
}

.logo-wrap {
    min-width: 0;
}

.logo-wrap img {
    max-width: 100%;
    height: auto;
}

/* --- レスポンシブ設計 --- */
@media (max-width: 1200px) {
    .section-title-wrap {
        margin-top: 40px;
    }
}

@media (max-width: 860px) {
    .schedule-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    :root {
        --card-width-desktop: 23vw;
        --card-gap-desktop: 3vw;
    }
    .top-hero-dot-fade {
        background-size: 12px 12px;
    }
    body::before{
        background-size: 12px 12px;
    }
    .logo-area{
        gap: 15px;
        padding: 0 12px;
    }
    .logo-wrap img {
        max-height: 50px;
    }
    .top-hero-section{
        padding-bottom: 0;
    }
    .banner-section{
        padding: 20px 0 0;
    }
    .speech-tag{
        margin-bottom: 8px;
        padding: 0 1em;
    }
    .card-slider-container{
        padding: 30px 0;
    }
    .banner-catch{
        margin-bottom: 20px;
    }
    .pink-parallax-section{
        padding-top: max(100px, calc(18.63vw + 20px));
        background-size: 12px 12px, 100% 100%;
    }
    .section-title-wrap{
        margin:  20px 0;
    }
    .shine-banner-box{
        border-radius: 8px;
    }
    .line_bnr img{
      width: 250px;
    }
    
}

/* スマホ（639px以下）：カードグリッドを1列化 & スマホ用調整 */
@media (max-width: 639px) {
    .banner-main-h1 .h1-line {
        white-space: normal; 
    }
    .sp-break { display: inline; }

    .banner-main-h1 {
        font-size: clamp(18px, calc((100vw - 32px) / 14), 40px);
    }

    .schedule-grid {
        grid-template-columns: 1fr;
    }

    .schedule-card {
        padding-top: 30px;
    }

    .card-img-wrap {
        width: 50%;
        margin: 0 auto;
        border-radius: 12px;
    }

    .campaign-card {
        flex-direction: column;
        padding: 30px 20px 20px;
    }

    .campaign-media {
        width: 50%;
        margin: 0 auto;
        flex: auto;
    }

    .campaign-btn {
        align-self: center;
        width: 100%;
        justify-content: center;
        margin-top: 20px;
    }

    .campaign-card-inner{
        flex-direction: column;
    }
}

@media (max-width: 520px) {
    :root {
        --card-width-desktop: 26vw;
        --card-gap-desktop: 3.5vw;
    }
}