/* ============================================
   色とフォントの基本設定
============================================ */
:root {
    --bg-color: #ffffff;
    --bg-light: #f5f5f5;
    --bg-dark: #1a1a1a;
    --text-main: #222222;
    --text-light: #ffffff;
    --text-muted: #888888;
    --border-color: #e0e0e0;
    
    --font-en: 'Montserrat', sans-serif;
    --font-jp: 'Noto Sans JP', sans-serif;
}

/* ============================================
   ページ全体の基本設定
============================================ */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-jp);
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* 読み込み画面が出ている間は背景を動かさない */
body.is-loading {
    height: 100vh;
    overflow: hidden;
}

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

ul {
    list-style: none;
}

/* 何度か使う小さな調整用クラス */
.mt-8 { margin-top: 4rem; }
.text-light { color: var(--text-light); }


/* ============================================
   最初に出る読み込み画面
============================================ */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--bg-dark);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 1s cubic-bezier(0.8, 0, 0.2, 1);
    overflow-y: scroll;
}

/* 読み込み画面のスクロールバーを目立たせない */
.loading-screen::-webkit-scrollbar {
    width: 16px;
    background-color: var(--bg-dark);
}
.loading-screen::-webkit-scrollbar-thumb {
    background-color: var(--bg-dark);
}

.loading-screen.is-loaded {
    transform: translateY(-100%);
}

.loading-content {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    color: #fff;
}

.loading-text {
    font-family: var(--font-en);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.2em;
}

.loading-count {
    font-family: var(--font-en);
    font-size: 4rem;
    font-weight: 900;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.loading-percent {
    font-family: var(--font-en);
    font-size: 1.5rem;
    font-weight: 700;
}


/* ============================================
   サイト全体で使う動き
============================================ */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

/* スクロールでふわっと出す要素 */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s cubic-bezier(0.2, 0.8, 0.2, 1), transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 見出しを1文字ずつ出すための設定 */
.typing-title {
    position: relative;
    display: inline-block;
}

.typing-char {
    opacity: 0;
    display: inline-block;
}

/* 文字入力のように見せる棒 */
.typing-title::after {
    content: '';
    display: inline-block;
    width: 0.1em;
    height: 0.9em;
    background-color: currentColor;
    margin-left: 0.1em;
    vertical-align: baseline;
    animation: blinkCursor 0.8s step-end infinite;
    opacity: 0;
}

.typing-title.is-typing::after {
    opacity: 1;
}

.typing-title.is-complete::after {
    animation: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

@keyframes blinkCursor {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}


/* ============================================
   画面上部のメニュー
============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: background-color 0.4s ease, padding 0.4s ease;
}

/* 少し下へ進んだらヘッダーを白くする */
.header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.header-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-en);
    font-weight: 900;
    font-size: 1.5rem;
    color: #fff;
    letter-spacing: 0.05em;
    transition: color 0.4s ease;
}

.header.scrolled .logo {
    color: var(--text-main);
}

.header-nav {
    display: flex;
    gap: 2.5rem;
}

.header-nav a {
    font-family: var(--font-en);
    font-weight: 700;
    font-size: 0.9rem;
    color: #fff;
    letter-spacing: 0.1em;
    position: relative;
    transition: color 0.4s ease;
}

.header.scrolled .header-nav a {
    color: var(--text-main);
}

.header-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: currentColor;
    transition: width 0.3s ease;
}

.header-nav a:hover::after {
    width: 100%;
}


/* ============================================
   最初に見せる大きなエリア
============================================ */
.main-visual-wrapper {
    position: relative;
    width: 100%;
    height: 300vh;
}

.main-visual {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 0;
    overflow: hidden;
    background-color: #000;
}

/* 背景画像を重ねるエリア */
.mv-bg-layers {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.bg-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    will-change: opacity;
}

/* 背景画像の上に少し暗さを重ねる */
.bg-layer::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
}

.bg-layer.layer-1 {
    opacity: 1;
    background-image: url("https://images.pexels.com/photos/9958668/pexels-photo-9958668.jpeg?auto=compress&cs=tinysrgb&w=1920");
}

.bg-layer.layer-2 {
    background-image: url("https://images.pexels.com/photos/4854266/pexels-photo-4854266.jpeg?auto=compress&cs=tinysrgb&w=1920");
}

.bg-layer.layer-3 {
    background-image: url("https://images.pexels.com/photos/6046983/pexels-photo-6046983.png?auto=compress&cs=tinysrgb&w=1920");
}

/* 背景に入る大きな飾り文字 */
.mv-bg-text-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.mv-bg-text-row {
    display: flex;
    justify-content: center;
    white-space: nowrap;
}

.mv-bg-text-row.row-1 {
    transform: translateX(-5%);
}

.mv-bg-text-row.row-2 {
    transform: translateX(5%);
}

.mv-bg-text-row span {
    font-family: var(--font-en);
    font-size: 15vw;
    font-weight: 900;
    line-height: 0.8;
    color: transparent;
    -webkit-text-stroke: 2px rgba(255, 255, 255, 0.4);
    padding: 0 1.5rem;
}

/* メインコピーを置く位置 */
.main-visual-overlay {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    z-index: 10;
    pointer-events: none;
}

.text-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 0 10%;
    transform: translateY(calc(-50% + var(--y-offset, 0px)));
    opacity: 0;
    will-change: opacity, transform;
}

.text-layer.layer-1 { text-align: center; }
.text-layer.layer-2 { text-align: left; padding-left: 15%; }
.text-layer.layer-3 { text-align: right; padding-right: 15%; }

.text-layer.layer-2 .mv-title-main {
    font-size: 6rem;
    color: #f5f5f5;
}

.text-layer.layer-2 .mv-subtitle-jp {
    letter-spacing: 0.3em;
}

.text-layer.layer-2 .mv-title-sub {
    font-size: 8rem;
    font-style: italic;
    color: #8ec5fc;
}

.text-layer.layer-3 .mv-title-main {
    font-size: 7rem;
    font-weight: 700;
}

.text-layer.layer-3 .mv-title-sub {
    font-size: 9rem;
    letter-spacing: 0.05em;
    color: #e0c3fc;
}

/* 読み込み画面が終わったあとに見出しを出す */
.mv-title-main {
    font-family: var(--font-en);
    font-weight: 900;
    font-size: 8rem;
    color: #fff;
    line-height: 1;
    letter-spacing: 0.02em;
    margin-bottom: 0.5rem;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
    opacity: 0;
}
body.is-ready .mv-title-main {
    animation: fadeInUp 1s ease 0.2s forwards;
}

.mv-subtitle-jp {
    font-family: var(--font-jp);
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    opacity: 0;
}
body.is-ready .mv-subtitle-jp {
    animation: fadeInUp 1s ease 0.4s forwards;
}

.mv-title-sub {
    font-family: var(--font-en);
    font-weight: 900;
    font-size: 10rem;
    color: #fff;
    line-height: 1;
    letter-spacing: 0.02em;
    text-shadow: 0 4px 30px rgba(0,0,0,0.3);
    opacity: 0;
}
body.is-ready .mv-title-sub {
    animation: fadeInUp 1s ease 0.6s forwards;
}


/* ============================================
   各セクションに共通の土台
============================================ */
.content-wrapper {
    position: relative;
    z-index: 10;
    background-color: var(--bg-color);
}

.section-container {
    padding: 10rem 0;
    scroll-margin-top: 100px;
}

.bg-light { background-color: var(--bg-light); }
.bg-dark { background-color: var(--bg-dark); }

.inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* 各セクションの見出し */
.section-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 4rem;
}

.section-header-compact {
    margin-bottom: 2rem;
}

.section-title-en {
    font-family: var(--font-en);
    font-weight: 900;
    font-size: 4rem;
    letter-spacing: 0.02em;
    line-height: 1;
    margin-bottom: 0;
    white-space: nowrap;
}

.section-title-jp {
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 0;
}

.section-title-jp-block {
    display: block;
    margin-top: 0.5rem;
}

/* 共通で使う白い丸ボタン */
.btn-primary-inverse {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background-color: #fff;
    color: var(--text-main);
    font-family: var(--font-en);
    font-weight: 700;
    letter-spacing: 0.1em;
    border-radius: 50px;
    transition: background-color 0.3s ease;
}

.btn-primary-inverse:hover {
    background-color: #e0e0e0;
}


/* ============================================
   セクション01：左に文章、右に画像のエリア
============================================ */
.section-01-layout {
    display: flex;
    align-items: stretch;
    gap: 4rem;
}

.section-01-copy {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.section-01-description {
    font-size: 1rem;
    margin-bottom: 3rem;
}

.section-01-list li {
    border-top: 1px solid var(--border-color);
    padding: 1.5rem 0;
}

.section-01-list li:last-child {
    border-bottom: 1px solid var(--border-color);
}

.section-01-list h3 {
    font-family: var(--font-en);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.section-01-list p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.section-01-media {
    flex: 1;
}

.section-01-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4/3;
}


/* ============================================
   セクション02：画像を並べた紹介エリア
============================================ */
.section-02-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 6rem;
    align-items: center;
}

.section-02-media-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.grid-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 1/1;
}

.section-02-copy .section-header {
    margin-bottom: 2rem;
}

.section-02-description {
    margin-bottom: 3rem;
}


/* ============================================
   セクション03：画像が縦に流れるエリア
============================================ */
.section-03-layout {
    display: flex;
    align-items: center;
    gap: 6rem;
}

/* 流れる画像を見せる箱 */
.section-03-media-wrap {
    flex: 1;
    height: 750px;
    overflow: hidden;
    position: relative;
    -webkit-mask-image: linear-gradient(to bottom, transparent, black 10%, black 90%, transparent);
    mask-image: linear-gradient(to bottom, transparent, black 10%, black 90%, transparent);
}

.section-03-media-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    height: 100%;
}

.gallery-col {
    --scroll-distance: 0px;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    will-change: transform;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

/* 各列の高さを少しずらして見せる */
#gallery-col-1 { margin-top: 0; }
#gallery-col-2 { margin-top: -120px; }
#gallery-col-3 { margin-top: -60px; }

/* 列ごとに流れる向きを分ける */
.col-up {
    animation: scrollGalleryUp 60s linear infinite;
}

.col-down {
    animation: scrollGalleryDown 60s linear infinite;
}

.gallery-item {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    background-color: #333;
}

#gallery-col-1 .gallery-item:nth-child(4n + 1),
#gallery-col-1 .gallery-item:nth-child(4n + 3),
#gallery-col-2 .gallery-item:nth-child(4n + 2),
#gallery-col-2 .gallery-item:nth-child(4n + 4),
#gallery-col-3 .gallery-item:nth-child(4n + 1),
#gallery-col-3 .gallery-item:nth-child(4n + 3) {
    aspect-ratio: 1 / 1;
}

#gallery-col-1 .gallery-item:nth-child(4n + 2),
#gallery-col-2 .gallery-item:nth-child(4n + 3),
#gallery-col-3 .gallery-item:nth-child(4n + 4) {
    aspect-ratio: 4 / 5;
}

#gallery-col-1 .gallery-item:nth-child(4n + 4),
#gallery-col-2 .gallery-item:nth-child(4n + 1),
#gallery-col-3 .gallery-item:nth-child(4n + 2) {
    aspect-ratio: 3 / 4;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

@keyframes scrollGalleryUp {
    from { transform: translate3d(0, 0, 0); }
    to { transform: translate3d(0, calc(-1 * var(--scroll-distance)), 0); }
}

@keyframes scrollGalleryDown {
    from { transform: translate3d(0, calc(-1 * var(--scroll-distance)), 0); }
    to { transform: translate3d(0, 0, 0); }
}

/* 右側の文字エリア */
.section-03-copy {
    width: 350px;
    flex-shrink: 0;
}

.section-03-description {
    font-size: 0.95rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
}


/* ============================================
   セクション04：左に説明、右に本文があるエリア
============================================ */
.section-04-layout {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 4rem;
    padding-bottom: 6rem;
}

/* 左側の文字をスクロール中も見せる */
.section-04-side {
    flex: 1;
    position: sticky;
    top: 120px;
}

.section-04-description {
    max-width: 400px;
    line-height: 1.8;
}

.section-04-main {
    flex: 1.5;
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.section-04-heading {
    font-family: var(--font-en);
    font-size: 1.8rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: baseline;
    border-bottom: 2px solid var(--text-main);
    padding-bottom: 0.5rem;
}

.section-04-heading .jp {
    font-family: var(--font-jp);
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 700;
    margin-left: 1rem;
}

.section-04-text {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--text-main);
}

/* 項目を並べる表エリア */
.section-04-table {
    width: 100%;
    border-collapse: collapse;
}

.section-04-table th, .section-04-table td {
    padding: 1.2rem 0;
    border-bottom: 1px solid var(--border-color);
    text-align: left;
    font-size: 0.95rem;
    line-height: 1.6;
}

.section-04-table th {
    width: 25%;
    font-weight: 700;
    vertical-align: top;
}

.section-04-table td small {
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* 写真を重ねて見せる部分 */
.section-04-collage {
    position: relative;
    height: 500px;
    margin-bottom: 4rem;
}

.collage-image-1, .collage-image-2, .collage-image-3 {
    position: absolute;
    overflow: hidden;
}

.collage-image-1 {
    top: 5%;
    left: 0;
    width: 28%;
    height: 65%;
    border-radius: 200px 0 0 200px;
}

.collage-image-2 {
    bottom: 0;
    right: 0;
    width: 28%;
    height: 75%;
    border-radius: 0 200px 200px 0;
}

.collage-image-3 {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 38%;
    height: 45%;
    border-radius: 0;
    z-index: 1;
}

.collage-image-1 img, .collage-image-2 img, .collage-image-3 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 下段の大きな文字エリア */
.section-04-banner {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-top: 2rem;
}

.ticker-item {
    display: flex;
    align-items: center;
    gap: 2rem;
    white-space: nowrap;
    font-family: var(--font-en);
    font-size: 8rem;
    font-weight: 900;
    line-height: 1;
    color: var(--text-main);
}

.ticker-item.row-1 { transform: translateX(-5%); }
.ticker-item.row-2 { transform: translateX(5%); }

.text-outline {
    color: transparent;
    -webkit-text-stroke: 2px var(--text-main);
}

.text-solid {
    color: var(--text-main);
}

.ticker-arrows {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.ticker-arrows .material-symbols-outlined {
    font-size: 6rem;
    font-weight: 700;
}


/* ============================================
   セクション05：締めの案内とフッター
============================================ */
#section-05 {
    padding-bottom: 0;
}

.section-05-layout {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 8rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.section-05-description {
    margin-bottom: 2rem;
}

.footer {
    padding: 4rem 0;
}

.footer .inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-logo {
    font-family: var(--font-en);
    font-weight: 900;
    font-size: 2rem;
    color: rgba(255,255,255,0.2);
    margin-bottom: 2rem;
}

.footer-nav ul {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-nav a {
    font-family: var(--font-en);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.1em;
}

.copyright {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-family: var(--font-en);
}


/* ============================================
   画面が少し狭いときの調整
============================================ */
@media (max-width: 1024px) {
    /* 最初の大きなエリア */
    .mv-title-main { font-size: 6.5rem !important; }
    .mv-title-sub { font-size: 8rem !important; }
    .section-title-en { font-size: 3rem; }
    
    /* セクション01と02の並び */
    .section-01-layout {
        flex-direction: column;
    }
    
    .section-02-layout {
        grid-template-columns: 1fr;
    }
    
    .section-02-copy {
        order: 1;
    }
    
    .section-02-media-grid {
        order: 2;
    }

    /* セクション03の並び */
    .section-03-layout {
        flex-direction: column-reverse;
        gap: 2rem;
    }

    .section-03-copy {
        width: 100%;
        text-align: center;
    }
    
    .section-03-copy .section-header {
        align-items: center;
    }

    .section-03-media-wrap {
        width: 100%;
        flex: none; 
        min-height: 0;
        max-height: 450px;
        height: 450px;
        -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 20%, rgba(0,0,0,1) 80%, rgba(0,0,0,0) 100%);
        mask-image: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 20%, rgba(0,0,0,1) 80%, rgba(0,0,0,0) 100%);
    }
    
    /* 流れる画像の間隔を調整 */
    .gallery-col {
        gap: 0;
    }
    .gallery-item {
        margin-bottom: 2rem;
    }

    /* 横並びでなくなるので列のずらしを戻す */
    #gallery-col-1, #gallery-col-2, #gallery-col-3 {
        margin-top: 0;
    }

    /* タブレット幅で見え方が自然になるよう流れ方を調整 */
    #gallery-col-1, #gallery-col-3 {
        animation: scrollGalleryDown 60s linear infinite;
    }
    
    #gallery-col-2 {
        animation: scrollGalleryUp 60s linear infinite;
    }
    
    /* セクション04の並び */
    .section-04-layout {
        flex-direction: column;
        gap: 4rem;
    }
    
    .section-04-side {
        position: static;
    }

    .section-04-main {
        width: 100%;
    }
    
    .section-04-collage {
        height: 400px;
    }

    .section-04-banner {
        width: calc(100% + 4rem);
        margin-left: -2rem;
    }
    
    .ticker-item {
        font-size: 5rem;
    }
    
    .ticker-arrows .material-symbols-outlined {
        font-size: 4rem;
    }
    
    /* セクション05の並び */
    .section-05-layout {
        flex-direction: column;
        align-items: flex-start;
        gap: 3rem;
    }
}


/* ============================================
   スマートフォン表示の調整
============================================ */
@media (max-width: 768px) {
    /* 上部メニューを簡略化 */
    .header-nav { display: none; }
    
    /* 最初の大きなエリア */
    .main-visual-wrapper {
        height: 200vh;
    }

    .text-layer {
        padding: 0 5%;
    }
    
    .text-layer.layer-2, .text-layer.layer-3 { 
        padding-left: 5%;
        padding-right: 5%;
        text-align: center; 
    }

    .mv-title-main { font-size: 3.5rem !important; }
    .mv-title-sub { font-size: 4.5rem !important; }
    
    .section-container { padding: 6rem 0; }
    
    /* 各セクションの余白 */
    .section-03-layout {
        gap: 1.5rem; 
    }
    
    .section-header {
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .section-title-en { font-size: 2.5rem; }
    .section-title-jp { font-size: 0.8rem; }
    
    .section-02-layout {
        gap: 2rem;
    }

    .section-02-description {
        margin-bottom: 0;
    }

    .section-02-media-grid {
        grid-template-columns: 1fr;
        overflow: hidden;
    }

    .section-02-media-grid .grid-img.fade-in {
        opacity: 0;
        transform: translateX(-24px);
        transition: opacity 0.8s ease, transform 0.8s ease;
    }

    .section-02-media-grid .grid-img.fade-in:nth-child(even) {
        transform: translateX(24px);
    }

    .section-02-media-grid .grid-img.fade-in.visible {
        opacity: 1;
        transform: translateX(0);
    }

    /* セクション03の並び */
    .section-03-media-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .gallery-col {
        gap: 0; 
    }
    .gallery-item {
        margin-bottom: 1rem;
    }

    #gallery-col-3 {
        display: none;
    }

    .section-03-media-wrap {
        flex: none;
        min-height: 0;
        max-height: 250px; 
        height: 250px; 
        -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 20%, rgba(0,0,0,1) 80%, rgba(0,0,0,0) 100%);
        mask-image: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 20%, rgba(0,0,0,1) 80%, rgba(0,0,0,0) 100%);
    }
    
    /* セクション04の並び */
    .section-04-heading {
        font-size: 1.5rem;
    }

    .section-04-table th, .section-04-table td {
        display: block;
        width: 100%;
    }
    
    .section-04-table th {
        padding-bottom: 0.2rem;
        border-bottom: none;
    }
    
    .section-04-table td {
        padding-top: 0;
        padding-bottom: 1.5rem;
    }

    .section-04-collage {
        height: 300px;
    }
    
    .collage-image-1, .collage-image-2, .collage-image-3 {
        border-radius: 0;
    }
    .collage-image-1 { top: 0; left: 0; width: 45%; height: 40%; border-radius: 100px 0 0 100px; }
    .collage-image-2 { bottom: 0; right: 0; width: 45%; height: 45%; border-radius: 0 100px 100px 0; }
    .collage-image-3 { top: 50%; left: 50%; width: 60%; height: 35%; border-radius: 0; }
    
    .ticker-item {
        font-size: 3.5rem;
        gap: 1rem;
    }
    
    .ticker-arrows .material-symbols-outlined {
        font-size: 3rem;
    }
    
    .ticker-item.row-1 {
        transform: translateX(-10%);
    }
    .ticker-item.row-2 {
        transform: translateX(0%);
    }

    .section-05-layout {
        padding-bottom: 4rem;
    }

    .footer {
        padding-top: 3rem;
    }

    .footer-nav {
        width: 100%;
    }

    .footer-nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1.25rem 1.5rem;
    }

    .footer-nav li {
        flex: 0 0 calc(50% - 0.75rem);
    }

    .footer-nav a {
        display: block;
        text-align: center;
        white-space: nowrap;
    }
}
