/* =============================================
   TBS SPARKLE Clone - Main Stylesheet
   ============================================= */

/* -----------------------------
   CSS Variables (カスタムカラー)
----------------------------- */
:root {
    --sparkle-blue: #1e60f8;
    --sparkle-dark: #0f1115;
    --sparkle-black: #000000;
    --sparkle-gray: #1e2124;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-800: #1f2937;
    --gray-900: #111827;
}

/* 外部からのアンカーリンク時にヘッダー分のオフセットを確保 */
html {
    scroll-padding-top: 80px;
}

@media (max-width: 899px) {
    html {
        scroll-padding-top: 60px;
    }
}

/* ヘッダー上のスペースをリセット */
#pSERVICES #header {
    top: 0;
}

#pSERVICES #main_area {
    background-color: var(--sparkle-dark);
    color: white;
    line-height: 1.6;
    margin-top: 0;
    padding-top: 0;
}

/* -----------------------------
   CSS Icons (Lucide代替)
----------------------------- */
/* Mail Icon */
.icon-mail {
    display: inline-block;
    width: 1.25rem;
    height: 1.25rem;
    position: relative;
}
.icon-mail::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 0;
    width: 100%;
    height: 60%;
    border: 2px solid currentColor;
    border-radius: 2px;
}
.icon-mail::after {
    content: '';
    position: absolute;
    top: 20%;
    left: 50%;
    width: 50%;
    height: 50%;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: translateX(-50%) rotate(-45deg);
    transform-origin: top center;
}

/* Arrow Right Icon */
.icon-arrow-right {
    display: inline-block;
    width: 1.25rem;
    height: 1.25rem;
    position: relative;
}
.icon-arrow-right::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 10%;
    width: 60%;
    height: 2px;
    background-color: currentColor;
    transform: translateY(-50%);
}
.icon-arrow-right::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 15%;
    width: 8px;
    height: 8px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: translateY(-50%) rotate(45deg);
}

/* Chevron Down Icon */
.icon-chevron-down {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    position: relative;
}
.icon-chevron-down::after {
    content: '';
    position: absolute;
    top: 30%;
    left: 50%;
    width: 6px;
    height: 6px;
    border-bottom: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: translateX(-50%) rotate(45deg);
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}


/* -----------------------------
   Utility Classes
----------------------------- */
.services_container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* 900px〜1199pxではmax-widthを小さく */
@media (min-width: 900px) and (max-width: 1199px) {
    .services_container {
        max-width: 1050px;
    }
}

#pSERVICES #main_area .hidden {
    display: none;
}

/* -----------------------------
   Hero Section
----------------------------- */
.hero {
    position: relative;
    height: 520px; /* スマホ版 */
    display: flex;
    align-items: center;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0.4), transparent 70%),
                      linear-gradient(rgba(0, 0, 0, 0.05), rgba(15, 17, 21, 0.85)), 
                      url('../img/header_image.webp');
    background-size: cover;
    background-position: center;
    margin-top: 50px; /* スマホ版 */
    overflow: hidden;
}

/* PC版でウィンドウ高さが550px以下の場合 */
@media (min-width: 900px) and (max-height: 550px) {
    .hero {
        height: 550px;
    }
}

/* PC版パララックス用の背景レイヤー */
@media (min-width: 900px) {
    .hero {
        height: 610px;
        margin-top: 80px; /* PC版 */
        background: none; /* PC版は::beforeで背景表示 */
    }
}

/* 1200px以上でheroの高さを調整 */
@media (min-width: 1200px) {
    .hero {
        height: 670px;
    }
}

@media (min-width: 900px) {
    
    .hero::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: -30%; /* パララックス用に下に余裕を持たせる */
        background-image: url('../img/header_image2.webp');
        background-size: cover;
        background-position: center top;
        z-index: 0;
        will-change: transform;
        animation: heroZoomOut 1.2s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
    }
    
    /* ヒーロー背景画像：アップ→通常（なめらか） */
    @keyframes heroZoomOut {
        0% {
            transform: scale(1.08) translateY(var(--parallax-y, 0));
        }
        100% {
            transform: scale(1) translateY(var(--parallax-y, 0));
        }
    }
    
    .hero::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-image: linear-gradient(to right, rgba(0, 0, 0, 0.25), transparent 60%),
                          linear-gradient(rgba(0, 0, 0, 0), rgba(15, 17, 21, 0.7));
        z-index: 1;
    }
    
    .hero__inner {
        position: relative;
        z-index: 2;
    }
    
    /* PC版 順番表示アニメーション（横スライド：右から左） */
    @keyframes heroSlideIn {
        from {
            opacity: 0;
            transform: translateX(80px);
        }
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }
    
    /* フォント読み込み前は非表示 */
    .hero__label,
    .hero__title,
    .hero__description,
    .hero__btn {
        opacity: 0;
    }
    
    /* フォント読み込み後にアニメーション開始 */
    .fonts-loaded .hero__label,
    .fonts-loaded .hero__title,
    .fonts-loaded .hero__description,
    .fonts-loaded .hero__btn {
        animation: heroSlideIn 0.7s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
    }
    
    /* アニメーション順序: title(1) → label(2) → description(3) → btn(4) */
    
    /* 文字分割前の初期状態 */
    .hero__title {
        opacity: 0;
    }
    
    /* 文字分割完了後のタイトル表示 */
    .fonts-loaded .hero__title.split-ready {
        opacity: 1;
        animation: heroTitleReveal 1s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
        animation-delay: 0.15s;
    }
    
    /* 各文字の初期状態 */
    .hero__title .char {
        display: inline-block;
        color: #555;
        opacity: 0;
        transform: translateX(20px);
        transition: none;
    }
    
    /* 各文字のアニメーション：グレー→白（右から左） */
    .fonts-loaded .hero__title.split-ready .char {
        animation: charReveal 0.6s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
        animation-delay: calc(0.3s + var(--char-index) * 0.04s);
    }
    
    @keyframes charReveal {
        0% {
            color: #333;
            opacity: 0;
            transform: translateX(20px);
            text-shadow: none;
        }
        40% {
            color: #666;
            opacity: 1;
            transform: translateX(0);
        }
        70% {
            color: #aaa;
            text-shadow: 0 0 8px rgba(30, 96, 248, 0.2);
        }
        100% {
            color: #fff;
            opacity: 1;
            transform: none;
            text-shadow: none;
            -webkit-filter: blur(0);
            filter: blur(0);
        }
    }
    
    /* タイトル専用のスライドイン（スケール + ブラー効果付き） */
    @keyframes heroTitleReveal {
        0% {
            opacity: 0;
            transform: translateX(40px) scale(0.98);
            -webkit-filter: blur(4px);
            filter: blur(4px);
        }
        60% {
            opacity: 1;
            -webkit-filter: blur(1px);
            filter: blur(1px);
        }
        99.9% {
            -webkit-filter: blur(0.01px);
            filter: blur(0.01px);
        }
        100% {
            opacity: 1;
            transform: translateX(0) scale(1);
            -webkit-filter: none;
            filter: none;
        }
    }
    
    /* Safari用: アニメーション完了後にフィルターを強制リセット */
    @supports (-webkit-hyphens:none) {
        .fonts-loaded .hero__title.split-ready {
            -webkit-filter: none !important;
            filter: none !important;
        }
    }
    
    /* ロゴ専用アニメーション：ぼかし→クリア */
    @keyframes logoBlurReveal {
        0% {
            opacity: 0;
            filter: blur(20px);
        }
        50% {
            opacity: 0.5;
            filter: blur(10px);
        }
        100% {
            opacity: 1;
            filter: blur(0);
        }
    }
    
    .fonts-loaded .hero__label {
        animation: logoBlurReveal 0.7s ease-out forwards;
        animation-delay: 0.8s;
    }
    
    .fonts-loaded .hero__description {
        animation: logoBlurReveal 0.7s ease-out forwards;
        animation-delay: 0.95s;
    }
    
    .fonts-loaded .hero__btn {
        animation: logoBlurReveal 0.7s ease-out forwards;
        animation-delay: 1.4s;
    }
    
    /* PC版 セクション スクロールアニメーション（左右カラム順番表示） */
    @keyframes fadeInUp {
        from {
            opacity: 0;
        }
        to {
            opacity: 1;
        }
    }
    
    .section .section__text-area,
    .section .section__content-area {
        opacity: 0;
    }
    
    .section.is-visible .section__text-area {
        animation: fadeInUp 1.5s ease forwards;
    }
    
    .section.is-visible .section__content-area {
        animation: fadeInUp 0.8s ease forwards;
        animation-delay: 0.5s; /* 左カラムの途中で開始 */
    }
}

.hero__inner {
    padding: 0 3rem;
}

.hero__content {
    /* max-width: 48rem; */
}

.hero__label {
    color: var(--sparkle-blue);
    font-weight: 700;
    margin-bottom: 2rem;
    letter-spacing: 0.1em;
    font-size: 1rem;
}

.hero__logo {
    width: 140px; /* スマホ向け */
    height: auto;
}

.hero__title {
    font-size: 2.25rem;
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 4rem;
    -webkit-font-smoothing: subpixel-antialiased;
    -moz-osx-font-smoothing: auto;
}

/* 字詰め用 */
.hero__title .tight {
    letter-spacing: -0.15em;
    margin: 0 0.05em 0 0em;
}

.hero__description {
    color: var(--gray-400);
    margin-bottom: 6rem;
    font-size: 1rem;
    line-height: 1.75;
    /* max-width: 42rem; */
}

.hero__btn {
    background-color: var(--sparkle-blue);
    color: white;
    padding: 1.3rem 2.4rem 1.3rem 2.6rem;
    border-radius: 9999px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    max-width: 340px;
    width: 100%;
    justify-content: space-between;
    font-size: 1.6rem;
    box-shadow: 0 10px 25px -5px rgba(30, 64, 200, 0.2);
    position: relative;
    overflow: hidden;
}

.hero__btn i {
    width: 1.25rem;
    height: 1.25rem;
    transition: transform 0.3s ease;
}

.hero__btn:hover i {
    transform: translateX(4px);
}

.hero__btn .n_CONTACT__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hero__btn .n_CONTACT__icon svg {
    width: 30px;
    height: 30px;
    fill: currentColor;
}

/* PC only: hero__btn hover effect */
@media (min-width: 900px) {
    .hero__btn::before {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        content: '';
        transition: all 0.2s ease-in-out;
        transform: translateX(-100%);
        background: #072a7a;
    }

    .hero__btn:hover::before {
        transform: translateX(0%);
    }

    .hero__btn:hover {
        color: white;
    }

    .hero__btn:hover .n_CONTACT__icon svg {
        fill: white;
    }

    .hero__btn span,
    .hero__btn .n_CONTACT__icon {
        position: relative;
        z-index: 1;
    }
}

/* -----------------------------
   Service Navigation Bar
----------------------------- */
.service-nav {
    z-index: 40;
    background-color: #252525;
    display: block;
}

/* モバイル版（デフォルト） */
.service-nav__grid {
    display: flex;
    flex-direction: column;
}

.service-nav__item {
    padding: 1.5rem 2rem;
    text-align: left;
    transition: background 0.3s ease;
    cursor: pointer;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #3a3a3a;
}

.service-nav__item:last-child {
    border-bottom: none;
}

.service-nav__title {
    font-family: brother-1816, sans-serif;
    font-weight: 600;
    font-size: 2rem;
    letter-spacing: 0.01em;
    transition: color 0.3s ease;
}

.service-nav__item:hover .service-nav__title {
    color: var(--sparkle-blue);
}

.service-nav__subtitle {
    font-size: 1.3rem;
    color: #AAAAAA;
    font-weight: 700;
}

.service-nav__icon {
    margin-top: 0;
    display: flex;
    justify-content: center;
    flex-shrink: 0;
}

.service-nav__icon span {
    width: 2.5rem;
    height: 2.5rem;
    border: 1.5px solid #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.3s ease, color 0.3s ease;
    color: #fff;
}

.service-nav__icon span svg {
    width: 1.6rem;
    height: 1.6rem;
}

.service-nav__item:hover .service-nav__icon span {
    border-color: var(--sparkle-blue);
    color: var(--sparkle-blue);
}

/* テキストラッパー（スマホ版） */
.service-nav__text {
    flex: 1;
}

/* -----------------------------
   Section Common Styles
----------------------------- */
.section {
    padding: 50px 0; /* スマホ版 */
    position: relative;
    scroll-margin-top: 60px; /* スマホ版ヘッダーの高さ */
}

@media (min-width: 900px) {
    .section {
        padding: 85px 0; /* PC版 */
        scroll-margin-top: 80px; /* PC版ヘッダーの高さ */
    }
}

/* Section Background Image Layer */
.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.12;
    z-index: 0;
    pointer-events: none;
}

/* EVENT Section Background */
#event::before {
    background-image: url('../img/event_bg.webp');
}

/* DIGITAL SIGNAGE Section Background */
#signage::before {
    background-image: url('../img/digitalsignage_bg.webp');
}

/* SHORT DRAMA Section Background */
#drama::before {
    background-image: url('../img/shortdrama_bg.webp');
}

/* EXHIBITION Section Background */
#exhibition::before {
    background-image: url('../img/exhibition_bg.webp');
}

.section--gray {
    background-color: var(--sparkle-gray);
}

.section--black {
    background-color: black;
    overflow: clip;
}

.section__inner {
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.section__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6rem;
    align-items: start;
}

/* Section Text Area (Left Column) */
.section__text-area {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.section__title {
    font-family: brother-1816, sans-serif;
    font-size: 3.2rem; /* スマホ向け */
    font-weight: 600;
    letter-spacing: 0.01em;
    line-height: 1.1;
    margin-bottom: 1rem;
    position: relative;
    padding-top: 2rem;
}

.section__title::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--sparkle-blue);
}

.section__subtitle {
    font-size: 1.4rem; /* スマホ向け */
    color: #fff;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.section__description {
    color: var(--gray-400);
    font-size: 1.3rem; /* スマホ向け */
    line-height: 1.75;
    margin-bottom: 3rem;
}

.section__contact-btn {
    background-color: var(--sparkle-blue);
    color: white;
    padding: 1.3rem 2.4rem 1.3rem 2.6rem;
    border-radius: 9999px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 340px;
    box-shadow: 0 10px 25px -5px rgba(30, 64, 200, 0.2);
    font-size: 1.6rem;
    position: relative;
    overflow: hidden;
}

/* PC only: hover effect */
@media (min-width: 900px) {
    .section__contact-btn::before {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        content: '';
        transition: all 0.2s ease-in-out;
        transform: translateX(-100%);
        background: #072a7a;
    }

    .section__contact-btn:hover::before {
        transform: translateX(0%);
    }

    .section__contact-btn:hover {
        color: white;
    }

    .section__contact-btn:hover .n_CONTACT__icon svg {
        fill: white;
    }

    .section__contact-btn span,
    .section__contact-btn .n_CONTACT__icon {
        position: relative;
        z-index: 1;
    }
}

.section__contact-btn i {
    width: 1.25rem;
    height: 1.25rem;
}

.section__contact-btn .n_CONTACT__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.section__contact-btn .n_CONTACT__icon svg {
    width: 30px;
    height: 30px;
    fill: currentColor;
}

/* -----------------------------
   Event Section - Content List
----------------------------- */
.content-list {
    display: flex;
    flex-direction: column;
    gap: 3rem; /* スマホ版 */
}

.content-item {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    border-bottom: 1px solid #4F4F4F;
    padding-bottom: 2rem;
}

.content-item__image {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 2px;
    position: relative;
}

.content-item__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.content-item__body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.content-item__title {
    font-size: 1.5rem; /* スマホ向け */
    font-weight: 700;
    margin-bottom: 1rem;
    padding-left: 1.2rem;
    position: relative;
}

.content-item__title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background-color: var(--sparkle-blue);
}

.content-item__description {
    font-size: 1.2rem; /* スマホ向け */
    color: var(--gray-400);
    margin-bottom: 1rem;
}

.content-item__tag {
    font-size: 11px; /* スマホ向け */
    background-color: #C9D9FE;
    color: #000;
    padding: 0.1rem 0.4rem;
    margin-top: auto; /* タグを下部に寄せる */
    display: inline-block;
    border-radius: 2px;
    align-self: flex-start; /* 左寄せ */
}

/* Production List Box */
.production-box {
    border: 3px solid #4F4F4F;
    padding: 2rem;
    margin-top: 2rem;
}

.production-box__title {
    font-size: 1.7rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.production-box__title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background-color: var(--sparkle-blue);
}

.production-box__description {
    font-size: 1.3rem;
    color: var(--gray-400);
    margin-bottom: 1.5rem;
    line-height: 1.75;
}

.production-box__list {
    font-size: 1.3rem;
    color: var(--gray-400);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.production-box__list li {
    padding-left: 1.5rem;
    position: relative;
}

.production-box__list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--gray-400);
}

.production-box__footer {
    font-size: 1.3rem;
    color: var(--gray-400);
    text-align: right;
}

/* -----------------------------
   Signage Section - Cards
----------------------------- */
.card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap:4rem 2.2rem;
}

.card {
    border-bottom: 1px solid #4F4F4F;
    padding-bottom: 2rem;
}

.card__image {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 2px;
    position: relative;
    margin-bottom: 1.5rem;
}

.card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card__tag {
    font-size: 11px; /* スマホ向け */
    background-color: #C9D9FE;
    color: #000;
    padding: 0.1rem 0.4rem;
    margin-top: 1.5rem;
    display: inline-block;
    border-radius: 2px;
}

.card__title {
    font-size: 1.5rem; /* スマホ向け */
    font-weight: 700;
    margin-bottom: 1rem;
    padding-left: 1.2rem;
    position: relative;
}

.card__title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background-color: var(--sparkle-blue);
}

.card__description {
    font-size: 1.2rem; /* スマホ向け */
    color: var(--gray-400);
}

/* -----------------------------
   Short Drama Section
----------------------------- */
.drama-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 66.666667%;
    height: 100%;
    background: linear-gradient(to left, var(--gray-900), var(--gray-900), transparent);
    opacity: 0.5;
    z-index: 0;
}

.drama__content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: flex-start;
}

.drama__poster-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
}

.drama__poster {
    position: relative;
    width: 100%;
    max-width: 400px;
    aspect-ratio: 2 / 3;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.drama__poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 2px;
}

.drama__info {
    width: 100%;
}

.drama__info-title {
    font-size: 1.5rem; /* スマホ向け */
    font-weight: 700;
    margin-bottom: 0.8rem;
    padding-left: 1.2rem;
    position: relative;
}

.drama__info-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background-color: var(--sparkle-blue);
}

.drama__info-description {
    font-size: 1.2rem; /* スマホ向け */
    color: var(--gray-400);
    line-height: 1.75;
    margin-bottom: 1rem;
}

.drama__info-description:last-child {
    margin-bottom: 0;
}

/* ドラマ情報ボックス（枠線付き） */
.drama__info-box {
    border: 3px solid var(--gray-600);
    padding: 1.5rem;
    margin-top: 1.5rem;
}

.drama__info-box-text {
    font-size: 1.2rem; /* スマホ向け */
    color: var(--gray-300);
    line-height: 1.75;
    margin-bottom: 1rem;
}

.drama__info-box-text:last-child {
    margin-bottom: 0;
}

.drama__tag {
    font-size: 11px;
    background-color: #C9D9FE;
    color: #000;
    padding: 0.1rem 0.4rem;
    margin-top: 1.5rem;
    display: inline-block;
    border-radius: 2px;
}

/* -----------------------------
   Exhibition Section - Grid
----------------------------- */
.exhibition-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem 2.2rem;
}

.exhibition-item {
    border-bottom: 1px solid #4F4F4F;
    padding-bottom: 2rem;
}

.exhibition-item__image {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 2px;
    position: relative;
    margin-bottom: 1.5rem;
}

.exhibition-item__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.exhibition-item__title {
    font-size: 1.5rem; /* スマホ向け */
    font-weight: 700;
    margin-bottom: 1rem;
    padding-left: 1.2rem;
    position: relative;
}

.exhibition-item__title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background-color: var(--sparkle-blue);
}

.exhibition-item__description {
    font-size: 1.2rem; /* スマホ向け */
    color: var(--gray-400);
}

.exhibition-item__tag {
    font-size: 11px; /* スマホ向け */
    background-color: #C9D9FE;
    color: #000;
    padding: 0.1rem 0.4rem;
    margin-top: 1.5rem;
    display: inline-block;
    border-radius: 2px;
}

/* -----------------------------
   Responsive - Mobile (767px以下)
----------------------------- */
@media (max-width: 767px) {
    .hero .hero__label {
        margin-bottom: 1.5rem;
    }

    .hero .hero__title {
        margin-bottom: 1.5rem;
    }

    .hero .hero__description {
        font-size: 1.3rem;
        margin-bottom: 3rem;
    }

    .hero .hero__btn {
        padding: 0.7rem 2.4rem;
        font-size: 1.4rem;
        margin: 0 auto;
    }

    .hero .hero__btn:hover {
        color: white;
    }

    .hero .hero__btn:hover .n_CONTACT__icon svg {
        fill: white;
    }

    .section__contact-btn {
        padding: 0.7rem 2.4rem;
        font-size: 1.4rem;
        margin: 0 auto;
        width: 100%;
        max-width: 340px;
    }

    .section__contact-btn:hover {
        color: white;
    }

    .section__contact-btn:hover .n_CONTACT__icon svg {
        fill: white;
    }

    .content-item {
        padding-bottom: 3rem;
    }

    .content-item__title {
        margin-bottom: 1rem;
    }

    .content-item__description {
        font-size: 1.3rem;
        margin-bottom: 1.5rem;
    }

    .card__tag {
        margin-top: 1.7rem;
    }

    /* DIGITAL SIGNAGE - .card も EVENT と同様のスタイル */
    .card {
        padding-bottom: 3rem;
    }

    .card__title {
        margin-bottom: 1rem;
    }

    .card__description {
        font-size: 1.3rem;
        margin-bottom: 1.7rem;
    }

    /* EXHIBITION - .exhibition-item も EVENT と同様のスタイル */
    .exhibition-item {
        padding-bottom: 3rem;
    }

    .exhibition-item__title {
        margin-bottom: 1rem;
    }

    .exhibition-item__description {
        font-size: 1.3rem;
        margin-bottom: 1.7rem;
    }

    .exhibition-item__tag {
        margin-top: 1.7rem;
    }

    /* スマホでは背景画像を非表示 */
    #event::before,
    #signage::before,
    #drama::before,
    #exhibition::before {
        display: none;
    }

    /* スマホではホバー効果を無効化 */
    .service-nav__item:hover .service-nav__title {
        color: #fff;
    }

    .service-nav__item:hover .service-nav__icon span {
        border-color: #fff;
        color: #fff;
    }
}

/* -----------------------------
   Responsive - Tablet to Desktop (900px - 1199px)
----------------------------- */
@media (min-width: 900px) and (max-width: 1199px) {
    .hero .hero__label {
        font-size: 0.9rem;
    }

    .hero .hero__title {
        font-size: 3rem;
    }

    .hero .hero__description {
        font-size: 1.3rem;
    }
}

/* -----------------------------
   Responsive - Tablet (900px+)
----------------------------- */
@media (min-width: 900px) {
    .hero__inner {
        padding: 0 6rem;
    }

    .hero__logo {
        width: 210px; /* PC向け */
    }
}

/* 1200px以上でheroテキストを大きく */
@media (min-width: 1200px) {
    .hero .hero__title {
        font-size: 4.9rem;
    }

    .hero .hero__description {
        font-size: 1.7rem;
    }
}

/* -----------------------------
   Responsive - Service Navigation (900px+)
----------------------------- */
@media (min-width: 900px) {
    /* PC版 Service Navigation */
    .service-nav__grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
    }

    .service-nav__item {
        padding: 3rem 1rem;
        text-align: center;
        flex-direction: column;
        justify-content: center;
        border-bottom: none;
    }

    .service-nav__item:last-child {
        border-bottom: none;
    }

    /* 右側のボーダー */
    .service-nav__item::after {
        content: '';
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        height: 60%;
        width: 1px;
        background-color: #4F4F4F;
    }

    /* 左端のボーダー */
    .service-nav__item:first-child::before {
        content: '';
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        height: 60%;
        width: 1px;
        background-color: #4F4F4F;
    }

    .service-nav__title {
        font-size: 2.8rem;
        line-height: 1.1;
    }

    .service-nav__subtitle {
        font-size: 1.4rem;
        margin: 0rem;
    }

    .service-nav__icon {
        margin-top: 1.2rem;
    }

    .service-nav__icon span {
        width: 3rem;
        height: 3rem;
        border: 1.5px solid #fff;
    }

    .service-nav__icon span svg {
        width: 2rem;
        height: 2rem;
    }

    .service-nav__text {
        text-align: center;
    }
}

/* -----------------------------
   Responsive - Section 2カラム (900px+)
----------------------------- */
@media (min-width: 900px) {
    .section__grid {
        grid-template-columns: repeat(12, 1fr);
        position: relative;
        gap: 6rem;
    }

    .section__text-area {
        grid-column: span 4;
        position: static; /* stickyを解除 */
        top: auto;
        align-self: start;
    }

    .section__content-area {
        grid-column: 5 / 13; /* 5列目から13列目まで固定（左カラムがfixedになっても位置が変わらない） */
    }

    .content-item {
        flex-direction: row;
        align-items: flex-start; /* 画像の縦横比を維持するため上揃え */
    }
}

/* -----------------------------
   Responsive - Tablet (900px+) continued
----------------------------- */
@media (min-width: 900px) {
    .section__inner {
        padding: 0 2rem;
    }

    .section__title {
        font-size: 5rem; /* PC向け */
    }

    .section__subtitle {
        font-size: 1.7rem; /* PC向け */
        margin-bottom: 2rem;
    }

    .section__description {
        font-size: 1.4rem; /* PC向け */
        margin-bottom: 4rem;
    }

    .section {
        padding-top: 85px;
    }

    .content-list {
        gap: 2rem; /* PC版 */
    }

    .content-item__image {
        width: 28rem;
        flex-shrink: 0;
    }

    .content-item__title {
        font-size: 1.7rem; /* PC向け */
        margin-bottom: 1.6rem;
        padding-left: 1.5rem;
    }

    .content-item__description {
        font-size: 1.3rem; /* PC向け */
        margin-bottom: 1.5rem;
    }

    .content-item__tag {
        font-size: 12px; /* PC向け */
        padding: 0.125rem 0.5rem;
    }

    .production-box {
        border: 3px solid #4F4F4F;
        padding: 3rem;
    }

    .card-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .card {
        border-bottom: none;
        padding-bottom: 0;
    }

    .card__tag {
        font-size: 12px; /* PC向け */
        padding: 0.125rem 0.5rem;
        margin-top: 2rem;
    }

    .card__title {
        font-size: 1.7rem; /* PC向け */
        margin-bottom: 1.6rem;
        padding-left: 1.5rem;
    }

    .card__description {
        font-size: 1.3rem; /* PC向け */
    }

    .drama__content {
        flex-direction: row;
        align-items: flex-start;
        gap: 4rem;
    }

    .drama__poster-wrapper {
        width: 60%;
        justify-content: flex-start;
    }

    .drama__poster {
        max-width: 500px;
    }

    .drama__info {
        width: 60%;
    }

    .drama__info-title {
        font-size: 1.7rem; /* PC向け */
        margin-bottom: 1rem;
        padding-left: 1.5rem;
    }

    .drama__info-description {
        font-size: 1.3rem; /* PC向け */
        margin-bottom: 1.5rem;
    }

    .drama__info-box-text {
        font-size: 1.3rem; /* PC向け */
        margin-bottom: 1.5rem;
    }

    .drama__tag {
        font-size: 12px;
        padding: 0.125rem 0.5rem;
        margin-top: 2rem;
    }

    .exhibition-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .exhibition-item {
        border-bottom: none;
        padding-bottom: 0;
    }

    .exhibition-item__title {
        font-size: 1.7rem; /* PC向け */
        margin-bottom: 1.6rem;
        padding-left: 1.5rem;
    }

    .exhibition-item__description {
        font-size: 1.3rem; /* PC向け */
    }

    .exhibition-item__tag {
        font-size: 12px; /* PC向け */
        padding: 0.125rem 0.5rem;
        margin-top: 2rem;
    }
}

/* -----------------------------
   Responsive - Desktop (1024px+)
----------------------------- */
@media (min-width: 1024px) {
    .drama__content {
        flex-direction: row;
    }
}


