/* =========================================================
   BASE
========================================================= */

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding-top: 80px;
}

p {
    font-size: 18px;
    color: #111111;
    margin-left: 25px;
}

p1 {
    color: #FFFFFF;
    margin-left: 50px;
    font-size: 18px;
}

h1 {
    color: #111111;
    margin-left: 25px;
}

h2 {
    color: #111111;
    margin-left: 25px;
}

h3 {
    background-color: #000;
    color: #fff;
    margin-left: 25px;
}

h4 {
    color: #111111;
    font-size: 60px;
    text-align: center;
    margin-bottom: 40px;
}

h5 {
    font-size: 36px;
    color: #fff;
    margin-left: 25px;
}


/* =========================================================
   HEADER
========================================================= */

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;             /* ヘッダーの高さ */

  background-color: #000;
  z-index: 1000;
}

nav a {
  padding: 15px 25px;
  text-decoration: none;
  font-weight: bold;
}

/* Home */

.nav-home {
    background-color: #000;
    color: #fff;
}


/* カッコウの巣立ち */

.nav-kakosuda {
    background-color: #000;
    color: #fff;
}


/* Music */

.nav-music {
    background-color: #405d6c;
    color: #fff;
}


/* About */

.nav-about {
    background-color: #405d6c;
    color: #fff;
}


/* Order */

.nav-order {
    background-color: #ff3f2f;
    color: #fff;
}


/* =========================================================
   FOOTER
========================================================= */

footer {
    width: 100%;
    height: 100%;

    background-color: #000;

    color: #fff;
}


/* =========================================================
   GENERAL
========================================================= */

.download-button {
    display: inline-block;

    padding: 12px 20px;

    background-color: #222;

    color: white;

    text-decoration: none;

    border-radius: 6px;
}

.download-button:hover {
    background-color: #444;
}

audio {
    width: 300px;
    margin: 10px 0;
}

.image-box img {
    border-radius: 8px;

    box-shadow:
        0 4px 10px rgba(0, 0, 0, 0.3);
}

.color-set {
    color: #BA0C19;
}


/* =========================================================
   PROFILE
========================================================= */

.profile-box {
    display: flex;

    align-items: center;

    max-width: 900px;

    margin: 40px auto;

    font-family: sans-serif;
}


/* 左：丸画像 */

.left img {
    width: 250px;
    height: 250px;

    object-fit: cover;

    border-radius: 50%;
}


/* 縦線 */

.divider {
    width: 2px;
    height: 280px;

    background-color: black;

    margin: 0 30px;
}


/* 右 */

.right {
    flex: 1;
}

.right h2 {
    font-size: 28px;

    margin-bottom: 10px;

    border-bottom: 2px solid black;

    padding-bottom: 5px;
}


/* =========================================================
   CONTENT
========================================================= */

.content1 {
    max-width: 900px;

    margin: auto;
}

.content p {
    font-size: 18px;

    letter-spacing: 2px;

    margin: 12px 0;
}


/* =========================================================
   DROPDOWN
========================================================= */

.dropdown-btn {
    font-size: 18px;

    cursor: pointer;
}

.dropdown-content {
    display: block;

    margin-top: 10px;
}


/* =========================================================
   CHARACTER
========================================================= */

.character-card {
    width: 70%;

    max-width: 1500px;

    min-width: 350px;

    margin: 40px auto;

    padding: 30px;

    background: #FFFFFF;

    border: 2px solid #666;

    border-radius: 15px;

    color: white;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.4);
}

.character-content {
    display: flex;

    gap: 30px;

    align-items: center;
}

.text-area {
    flex: 2;
}

.character-image {
    flex: 1;
}

.character-image img {
    width: 100%;
    height: auto;

    display: block;

    border-radius: 10px;
}


/* =========================================================
   SECTION1
========================================================= */

section1 {
    padding: 90px 20px;
}


/* =========================================================
   HERO
========================================================= */

.kakosudaTop {
    width: 100%;
    height: 100vh;

    display: flex;

    justify-content: center;
    align-items: center;

    background: #000;

    opacity: 0;

    animation:
        heroFade 3s ease forwards;
}

.kakosudaTop-image {
    width: 100%;
    height: 100%;

    object-fit: contain;
}

@keyframes heroFade {

    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }

}


/* =========================================================
   SCROLL FADE
========================================================= */

.fade-section {
    opacity: 0;

    transform: translateY(80px);

    transition:
        opacity .8s ease,
        transform .8s ease;
}

.fade-section.show {
    opacity: 1;

    transform: translateY(0);
}

.fade-item {
    opacity: 0;

    transition:
        opacity 1.2s ease;
}

.fade-section.show .fade-item {
    opacity: 1;
}


/* 画像 */

.fade-img {
    transition-delay: 0s;
}


/* 文字 */

.fade-text {
    transform: translateY(10px);

    transition:
        opacity 1.2s ease,
        transform 1.2s ease;

    transition-delay: 0.3s;
}

.fade-section.show .fade-text {
    transform: translateY(0);
}


/* =========================================================
   VIDEO
========================================================= */

.video-container {
    width: min(900px, 90%);

    margin: 40px auto;

    border-radius: 18px;

    overflow: hidden;

    box-shadow:
        0 15px 45px rgba(0, 0, 0, .45);
}

.video-container iframe {
    width: 100%;

    aspect-ratio: 16 / 9;

    border: none;
}


/* =========================================================
   MENU
========================================================= */

.menu-grid {
    max-width: 1200px;

    margin: auto;

    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(240px, 1fr));

    gap: 30px;
}

.menu-card {
    background: #1b1b1b;

    border-radius: 18px;

    padding: 35px;

    text-decoration: none;

    color: white;

    text-align: center;

    transition: .3s;

    border: 1px solid #303030;
}

.menu-card:hover {
    transform: translateY(-10px);

    background: #242424;

    box-shadow:
        0 15px 35px rgba(0, 0, 0, .35);
}

.menu-card img {
    width: 120px;
    height: 120px;

    object-fit: contain;

    margin-bottom: 20px;
}

.menu-card span {
    font-size: 22px;

    font-weight: bold;
}


/* =========================================================
   STORY
========================================================= */

#story {
    background: #131313;
}

#story p {
    text-align: center;

    font-size: 20px;
}


/* =========================================================
   WHITE SECTIONS
========================================================= */

#characters {
    background: #FFFFFF;
}

#credits {
    background: #FFFFFF;
}

#music {
    background: #FFFFFF;
}


/* =========================================================
   OST PLAYER
========================================================= */

#music {
    position: relative;

    overflow: hidden;

    background: #080808;

    color: white;

    min-height: 900px;

    padding-top: 100px;

    padding-bottom: 120px;
}


.ost-player {
    position: relative;

    width: min(1200px, 90%);

    min-height: 700px;

    margin: 60px auto;

    display: flex;

    align-items: center;

    justify-content: center;

    overflow: hidden;

    border-radius: 25px;

    background: #000;

    box-shadow:
        0 20px 60px rgba(0, 0, 0, .6);
}


/* 背景 */

.ost-background {
    position: absolute;

    inset: 0;

    background-image:
        url("images/OST_TheDungeon.png");

    background-size: cover;

    background-position: center;

    opacity: .22;

    filter: blur(5px);

    transform: scale(1.08);

    transition:
        background-image .6s ease,
        opacity .6s ease;
}


/* 暗幕 */

.ost-player::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, .8),
            rgba(0, 0, 0, .45),
            rgba(0, 0, 0, .8)
        );

    pointer-events: none;
}


/* OST中央 */

.ost-content {
    position: relative;

    z-index: 2;

    width: min(800px, 75%);

    text-align: center;
}


/* 曲番号 */

.ost-number {
    font-size: 18px;

    letter-spacing: 4px;

    color: rgba(255, 255, 255, .6);

    margin-bottom: 15px;
}


/* 曲タイトル */

.ost-content h2 {
    color: white;

    font-size: clamp(30px, 5vw, 55px);

    letter-spacing: 3px;

    margin: 10px 0 35px;

    text-shadow:
        0 4px 20px rgba(0, 0, 0, .8);
}


/* YouTube */

.ost-video {
    width: 100%;

    overflow: hidden;

    border-radius: 15px;

    box-shadow:
        0 15px 40px rgba(0, 0, 0, .6);
}

.ost-video iframe {
    width: 100%;

    aspect-ratio: 16 / 9;

    display: block;

    border: none;
}


/* Audio */

.ost-content audio {
    width: 100%;

    margin-top: 25px;
}


/* OST矢印 */

.ost-arrow {
    position: absolute;

    top: 50%;

    transform: translateY(-50%);

    z-index: 5;

    width: 70px;
    height: 70px;

    border-radius: 50%;

    border: 1px solid rgba(255, 255, 255, .4);

    background: rgba(0, 0, 0, .45);

    color: white;

    font-size: 35px;

    cursor: pointer;

    transition:
        background .3s ease,
        transform .3s ease,
        border-color .3s ease;
}

.ost-arrow:hover {
    background: rgba(255, 255, 255, .2);

    border-color: white;
}

.ost-prev {
    left: 30px;
}

.ost-next {
    right: 30px;
}


/* OSTスライド */

.slide-left .ost-content {
    animation:
        ostSlideLeft .5s ease;
}

.slide-right .ost-content {
    animation:
        ostSlideRight .5s ease;
}

@keyframes ostSlideLeft {

    0% {
        opacity: 0;

        transform:
            translateX(100px);
    }

    100% {
        opacity: 1;

        transform:
            translateX(0);
    }

}

@keyframes ostSlideRight {

    0% {
        opacity: 0;

        transform:
            translateX(-100px);
    }

    100% {
        opacity: 1;

        transform:
            translateX(0);
    }

}


/* =========================================================
   NEWS
========================================================= */

.news-section {
    position: relative;

    width: 100%;

    padding: 80px 0;

    background: #111;

    color: white;

    overflow: hidden;
}


/* NEWSタイトル */

.news-section > h2 {
    margin: 0 0 40px 0;

    padding: 0;

    color: white;

    background: transparent;

    text-align: center;

    font-size: 32px;
}


/* =========================================================
   NEWS CAROUSEL
========================================================= */

.news-carousel {
    position: relative;

    width: 100%;

    height: 390px;

    overflow: hidden;

    margin-left: 0 !important;
}


/* =========================================================
   左右フェード
========================================================= */

.news-carousel::before,
.news-carousel::after {
    content: "";

    position: absolute;

    top: 0;

    width: 180px;
    height: 100%;

    z-index: 10;

    pointer-events: none;
}


.news-carousel::before {
    left: 0;

    background:
        linear-gradient(
            to right,
            #111 0%,
            rgba(17, 17, 17, 0) 100%
        );
}


.news-carousel::after {
    right: 0;

    background:
        linear-gradient(
            to left,
            #111 0%,
            rgba(17, 17, 17, 0) 100%
        );
}


/* =========================================================
   NEWS TRACK
========================================================= */

.news-track {
    position: absolute !important;

    top: 0;

    left: 0;

    display: flex !important;

    flex-direction: row !important;

    flex-wrap: nowrap !important;

    align-items: center;

    gap: 24px;

    width: max-content !important;

    height: 100%;

    margin: 0 !important;

    padding: 0 !important;

    transition:
        transform .5s ease;
}


/* =========================================================
   NEWS CARD
========================================================= */

.news-card {
    position: relative;

    display: block !important;

    flex: 0 0 320px !important;

    width: 320px !important;

    height: 350px !important;

    margin: 0 !important;

    padding: 0 !important;

    box-sizing: border-box;

    overflow: hidden;

    background: #1c1c1c;

    border: 1px solid rgba(255, 255, 255, .12);

    border-radius: 16px;

    cursor: pointer;

    opacity: .45;

    filter: brightness(.6);

    transform: scale(.92);

    transition:
        transform .4s ease,
        opacity .4s ease,
        filter .4s ease;
}


/* 中央 */

.news-card.news-active {
    opacity: 1;

    filter: brightness(1);

    transform: scale(1);
}


/* =========================================================
   NEWS IMAGE
========================================================= */

.news-card-image {
    display: block !important;

    width: 100% !important;

    height: 175px !important;

    margin: 0 !important;

    padding: 0 !important;

    object-fit: cover;

    background: #333;

    box-sizing: border-box;
}


/* =========================================================
   NEWS CONTENT
========================================================= */

.news-card-content {
    display: block !important;

    width: 100%;

    margin: 0 !important;

    padding: 18px !important;

    box-sizing: border-box;
}


/* 日付・カテゴリー */

.news-card-meta {
    display: flex !important;

    flex-direction: row !important;

    gap: 10px;

    margin: 0 0 8px 0 !important;

    padding: 0 !important;

    color: rgba(255, 255, 255, .5);

    background: transparent;

    font-size: 12px;
}


/* =========================================================
   NEWS TITLE
========================================================= */

.news-card .news-card-title {
    display: block !important;

    margin: 0 0 10px 0 !important;

    padding: 0 !important;

    background: transparent !important;

    color: white !important;

    font-size: 20px;

    line-height: 1.4;

    text-align: left;
}


/* =========================================================
   NEWS DESCRIPTION
========================================================= */

.news-card .news-card-description {
    display: -webkit-box !important;

    margin: 0 !important;

    padding: 0 !important;

    color: rgba(255, 255, 255, .7);

    background: transparent;

    font-size: 14px;

    line-height: 1.6;

    -webkit-line-clamp: 2;
    line-clamp: 2;

    -webkit-box-orient: vertical;

    overflow: hidden;
}


/* =========================================================
   NEWS ARROWS
========================================================= */

.news-arrow {
    position: absolute !important;

    top: 50% !important;

    transform: translateY(-50%) !important;

    z-index: 20;

    width: 50px !important;

    height: 50px !important;

    margin: 0 !important;

    padding: 0 !important;

    border: 1px solid rgba(255, 255, 255, .3);

    border-radius: 50%;

    background: rgba(0, 0, 0, .5);

    color: white;

    font-size: 24px;

    line-height: 50px;

    text-align: center;

    cursor: pointer;

    backdrop-filter: blur(8px);

    transition:
        background .2s ease,
        transform .2s ease;
}


.news-arrow:hover {
    background: rgba(255, 255, 255, .2);

    transform:
        translateY(-50%)
        scale(1.08) !important;
}


.news-arrow-left {
    left: 30px !important;
}


.news-arrow-right {
    right: 30px !important;
}


/* =========================================================
   NEWS MODAL
========================================================= */

.news-modal {
    position: fixed !important;

    inset: 0;

    z-index: 2000;

    display: none;

    align-items: center;

    justify-content: center;

    margin: 0 !important;

    padding: 0 !important;
}


.news-modal.active {
    display: flex !important;
}


/* 背景 */

.news-modal-overlay {
    position: absolute;

    inset: 0;

    margin: 0 !important;

    background: rgba(0, 0, 0, .75);

    backdrop-filter: blur(10px);
}


/* モーダルカード */

.news-modal-card {
    position: relative;

    z-index: 1;

    width: min(700px, 90vw);

    max-height: 90vh;

    overflow: auto;

    margin: 0 !important;

    padding: 0 !important;

    background: #181818;

    border-radius: 20px;

    box-shadow:
        0 30px 100px rgba(0, 0, 0, .7);
}


/* モーダル画像 */

.news-modal-card > img {
    display: block !important;

    width: 100% !important;

    max-height: 350px;

    height: auto;

    margin: 0 !important;

    padding: 0 !important;

    object-fit: cover;
}


/* モーダル本文 */

.news-modal-content {
    display: block !important;

    margin: 0 !important;

    padding: 30px !important;

    box-sizing: border-box;
}


/* メタ情報 */

.news-modal-meta {
    display: flex !important;

    flex-direction: row !important;

    gap: 12px;

    margin: 0 0 10px 0 !important;

    padding: 0 !important;

    color: rgba(255, 255, 255, .5);

    font-size: 13px;
}


/* モーダルタイトル */

.news-modal-content h2 {
    margin: 0 0 20px 0 !important;

    padding: 0 !important;

    background: transparent !important;

    color: white !important;

    font-size: 30px;
}


/* モーダル本文 */

.news-modal-content p {
    margin: 0 0 25px 0 !important;

    padding: 0 !important;

    color: rgba(255, 255, 255, .8);

    background: transparent;

    line-height: 1.8;

    white-space: pre-line;
}


/* Read More */

.news-modal-content #modalLink {
    display: inline-block !important;

    margin: 0 !important;

    padding: 10px 18px;

    background: white;

    color: #111;

    border-radius: 8px;

    text-decoration: none;

    font-weight: bold;
}


/* =========================================================
   MODAL CLOSE
========================================================= */

.news-modal-close {
    position: absolute !important;

    top: 15px !important;

    right: 15px !important;

    z-index: 5;

    width: 40px !important;

    height: 40px !important;

    margin: 0 !important;

    padding: 0 !important;

    border: none;

    border-radius: 50%;

    background: rgba(0, 0, 0, .7);

    color: white;

    font-size: 26px;

    line-height: 40px;

    text-align: center;

    cursor: pointer;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    /* dropdown */

    .dropdown-content {
        display: none;
    }


    /* menu */

    .menu-card {
        padding: 25px;
    }

    .menu-card img {
        width: 100px;
        height: 100px;
    }

    .menu-card span {
        font-size: 18px;
    }


    /* OST */

    .ost-player {
        min-height: 600px;

        width: 95%;
    }

    .ost-content {
        width: 80%;
    }

    .ost-arrow {
        width: 50px;
        height: 50px;

        font-size: 25px;
    }

    .ost-prev {
        left: 10px;
    }

    .ost-next {
        right: 10px;
    }

    .ost-content h2 {
        font-size: 28px;
    }


    /* NEWS */

    .news-card {
        flex-basis: 280px !important;

        width: 280px !important;
    }


    .news-carousel::before,
    .news-carousel::after {
        width: 80px;
    }


    .news-arrow-left {
        left: 10px !important;
    }


    .news-arrow-right {
        right: 10px !important;
    }


    .news-modal-card {
        width: 92vw;
    }


    .news-modal-content {
        padding: 22px !important;
    }


    .news-modal-content h2 {
        font-size: 24px;
    }
}

/* =========================================================
   CONTENTS MENU
========================================================= */

.site-menu {
    width: min(1100px, 90%);

    margin: 100px auto;

    padding: 0;
}


/* タイトル */

.site-menu-title {
    margin: 0 0 35px 0 !important;

    padding: 0 !important;

    background: transparent !important;

    color: #111 !important;

    font-size: 32px;

    letter-spacing: 4px;

    text-align: center;
}


/* =========================================================
   GRID
========================================================= */

.site-menu-grid {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 20px;

    margin: 0 !important;
}


/* =========================================================
   CARD
========================================================= */

.site-menu-card {
    position: relative;

    display: flex;

    align-items: center;

    min-height: 120px;

    margin: 0 !important;

    padding: 25px 30px;

    box-sizing: border-box;

    overflow: hidden;

    background: #f5f5f5;

    border: 1px solid #ddd;

    border-radius: 16px;

    color: #111;

    text-decoration: none;

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        background .25s ease,
        border-color .25s ease;
}


/* =========================================================
   HOVER
========================================================= */

.site-menu-card:hover {

    transform:
        translateY(-8px);

    background: #fff;

    border-color: #bbb;

    box-shadow:
        0 18px 40px rgba(0, 0, 0, .15);
}


/* =========================================================
   NUMBER
========================================================= */

.site-menu-number {

    width: 50px;

    color: #999;

    font-size: 14px;

    font-weight: bold;

    letter-spacing: 2px;
}


/* =========================================================
   NAME
========================================================= */

.site-menu-name {

    flex: 1;

    color: #111;

    font-size: 20px;

    font-weight: bold;

    line-height: 1.4;
}


/* =========================================================
   ARROW
========================================================= */

.site-menu-arrow {

    margin-left: 20px;

    color: #999;

    font-size: 24px;

    transform: translateX(-5px);

    opacity: .5;

    transition:
        transform .25s ease,
        opacity .25s ease;
}


.site-menu-card:hover .site-menu-arrow {

    transform:
        translateX(5px);

    opacity: 1;
}


/* =========================================================
   HOVER LINE
========================================================= */

.site-menu-card::before {

    content: "";

    position: absolute;

    left: 0;

    top: 0;

    width: 4px;

    height: 100%;

    background: #111;

    transform:
        scaleY(0);

    transform-origin: center;

    transition:
        transform .25s ease;
}


.site-menu-card:hover::before {

    transform:
        scaleY(1);
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .site-menu {
        width: 90%;

        margin: 70px auto;
    }


    .site-menu-grid {

        grid-template-columns:
            1fr;

        gap: 15px;
    }


    .site-menu-card {

        min-height: 100px;

        padding: 20px;
    }


    .site-menu-name {

        font-size: 17px;
    }

}

/* =========================================================
   PORTFOLIO HERO
========================================================= */

.portfolio-hero {
    width: 100%;
    min-height: 420px;

    display: flex;
    flex-direction: column;

    justify-content: center;
    align-items: center;

    box-sizing: border-box;

    background: #111;

    color: white;

    text-align: center;

    padding: 80px 20px;
}


/* メインタイトル */

.portfolio-hero h1 {
    margin: 0 !important;

    padding: 0 !important;

    background: transparent !important;

    color: white !important;

    font-size: clamp(48px, 8vw, 110px);

    font-weight: 900;

    letter-spacing: 4px;

    line-height: 1.1;

    text-align: center;
}


/* 下の小さい文字 */

.portfolio-hero p {
    margin: 25px 0 0 0;

    color: rgba(255,255,255,.55);

    font-size: 14px;

    letter-spacing: 8px;
}

/* =========================================================
   SFX SECTION
========================================================= */

.sfx-section {

    width: 100%;

    max-width: 1800px;

    margin: 70px auto;

    padding: 0 30px;

    box-sizing: border-box;
}


/* =========================================================
   TOGGLE BUTTON
========================================================= */

.sfx-toggle {

    width: 100%;

    min-height: 100px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 25px 35px;

    box-sizing: border-box;

    border: 1px solid #ddd;

    border-radius: 18px;

    background: #f5f5f5;

    color: #111;

    font-size: 30px;

    font-weight: bold;

    cursor: pointer;

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        background .25s ease;
}


.sfx-toggle:hover {

    transform: translateY(-5px);

    background: #fff;

    box-shadow:
        0 15px 35px rgba(0,0,0,.15);
}


/* 矢印 */

.sfx-toggle-arrow {

    display: flex;

    align-items: center;

    justify-content: center;

    width: 45px;

    height: 45px;

    border-radius: 50%;

    background: #111;

    color: white;

    font-size: 22px;

    transition:
        transform .3s ease;
}


/* =========================================================
   CONTAINER
========================================================= */

.sfx-container {

    display: grid;

    grid-template-rows: 0fr;

    opacity: 0;

    transition:
        grid-template-rows .5s ease,
        opacity .3s ease;

}


.sfx-container.open {

    grid-template-rows: 1fr;

    opacity: 1;

}


/* =========================================================
   GRID
========================================================= */

.sfx-grid {

    min-height: 0;

    display: grid;

    /*
       PCでは9個横一列
    */

    grid-template-columns:
        repeat(9, minmax(0, 1fr));

    gap: 15px;

    padding-top: 20px;

    overflow: hidden;
}


/* =========================================================
   CARD
========================================================= */

.sfx-card {

    min-width: 0;

    padding: 18px;

    box-sizing: border-box;

    background: #f5f5f5;

    border: 1px solid #ddd;

    border-radius: 14px;

    display: flex;

    flex-direction: column;

    align-items: stretch;

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        background .25s ease,
        border-color .25s ease;
}


/* ホバー */

.sfx-card:hover {

    transform: translateY(-8px);

    background: #fff;

    border-color: #bbb;

    box-shadow:
        0 15px 30px rgba(0,0,0,.15);
}


/* =========================================================
   NAME
========================================================= */

.sfx-card .sfx-name {

    margin: 0 0 10px 0 !important;

    padding: 0 !important;

    background: transparent !important;

    color: #111 !important;

    font-size: 19px;

    line-height: 1.3;
}


/* =========================================================
   DESCRIPTION
========================================================= */

.sfx-description {

    margin: 0 0 15px 0 !important;

    padding: 0 !important;

    color: #666 !important;

    font-size: 13px !important;

    line-height: 1.5;

    /*
       説明が長くなっても
       カードの高さを揃える
    */

    display: -webkit-box;

    -webkit-line-clamp: 3;

    line-clamp: 3;

    -webkit-box-orient: vertical;

    overflow: hidden;
}


/* =========================================================
   AUDIO
========================================================= */

.sfx-player {

    width: 100%;

    margin: auto 0 15px 0;

    height: 35px;
}


/* =========================================================
   DOWNLOAD
========================================================= */

.sfx-download {

    display: flex;

    align-items: center;

    justify-content: center;

    min-height: 38px;

    box-sizing: border-box;

    padding: 8px 10px;

    border-radius: 8px;

    background: #111;

    color: white;

    text-decoration: none;

    font-size: 12px;

    font-weight: bold;

    transition:
        background .2s ease,
        transform .2s ease;
}


.sfx-download:hover {

    background: #333;

    transform: translateY(-2px);
}


/* =========================================================
   RESPONSIVE
========================================================= */

/*
   9個はかなり横幅が必要なので、
   画面が狭くなったら自動的に減らす
*/

@media (max-width: 1500px) {

    .sfx-grid {

        grid-template-columns:
            repeat(6, minmax(0, 1fr));
    }

}


@media (max-width: 1100px) {

    .sfx-grid {

        grid-template-columns:
            repeat(4, minmax(0, 1fr));
    }

}


@media (max-width: 700px) {

    .sfx-section {

        padding: 0 15px;
    }


    .sfx-toggle {

        min-height: 80px;

        padding: 20px;

        font-size: 24px;
    }


    .sfx-grid {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 10px;
    }


    .sfx-card {

        padding: 14px;
    }


    .sfx-card .sfx-name {

        font-size: 16px;
    }


    .sfx-description {

        font-size: 12px !important;
    }

}


@media (max-width: 400px) {

    .sfx-grid {

        grid-template-columns: 1fr;
    }

}

/* =========================================
   ORDER PAGE
========================================= */

.order-page {
    background: #ffffff;
    color: #111111;

    padding: 60px 20px 100px;

    min-height: 100vh;
}


/* =========================================
   依頼内容
========================================= */

.order-section {
    width: min(1200px, 95%);
    margin: 60px auto;
}

.order-section > h2 {
    color: #111111;

    margin: 0 0 20px;

    text-align: center;

    font-size: 42px;
}


.order-note {
    text-align: center;

    margin: 0 auto 50px;

    color: #555555;

    line-height: 1.8;
}


/* =========================================
   大カテゴリ
========================================= */

.order-category {
    margin: 50px 0;

    padding: 30px;

    background: #f5f5f5;

    border-radius: 20px;

    border: 1px solid #dddddd;

    box-shadow:
        0 10px 30px rgba(0,0,0,.08);
}


/* 大カテゴリタイトル */

.order-category-title {
    background: transparent !important;

    color: #111111 !important;

    margin: 0 0 25px !important;

    padding: 0 0 15px;

    font-size: 30px;

    border-bottom: 2px solid #111111;
}


/* =========================================
   子カード
========================================= */

.order-options {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 20px;
}


.order-option {
    position: relative;

    display: flex;

    align-items: center;

    gap: 20px;

    padding: 20px;

    min-height: 150px;

    background: #ffffff;

    border: 2px solid #dddddd;

    border-radius: 16px;

    box-sizing: border-box;

    transition:
        transform .2s ease,
        border-color .2s ease,
        box-shadow .2s ease;
}


.order-option:hover {
    transform: translateY(-4px);

    border-color: #999999;

    box-shadow:
        0 10px 25px rgba(0,0,0,.12);
}


/* チェックされたカード */

.order-option.selected {
    border-color: #111111;

    box-shadow:
        0 0 0 3px rgba(0,0,0,.08),
        0 10px 30px rgba(0,0,0,.15);
}


/* =========================================
   カード画像
========================================= */

.order-option > img,
.order-special-card > img {
    width: 120px;
    height: 120px;

    flex-shrink: 0;

    object-fit: cover;

    border-radius: 12px;

    background: #eeeeee;
}


/* =========================================
   カード情報
========================================= */

.option-info {
    flex: 1;

    min-width: 0;
}


.option-info h4 {
    color: #111111;

    margin: 0 0 8px;

    font-size: 20px;
}


.option-info p {
    margin: 0 0 12px;

    color: #666666;

    font-size: 14px;

    line-height: 1.6;
}


.option-info strong {
    display: block;

    color: #111111;

    font-size: 18px;
}


/* =========================================
   チェックボックス
========================================= */

.option-check {
    width: 28px;
    height: 28px;

    flex-shrink: 0;

    cursor: pointer;

    accent-color: #111111;
}


/* =========================================
   BGM
========================================= */

.order-special-card {
    display: flex;

    align-items: center;

    gap: 25px;

    padding: 25px;

    background: #ffffff;

    border: 2px solid #dddddd;

    border-radius: 16px;

    box-shadow:
        0 5px 20px rgba(0,0,0,.06);
}


.order-special-card .option-info {
    flex: 1;
}


/* =========================================
   カウンター
========================================= */

.counter {
    display: flex;

    align-items: center;

    gap: 12px;

    margin-top: 15px;
}


.counter button {
    width: 36px;
    height: 36px;

    border: 1px solid #cccccc;

    border-radius: 50%;

    background: #ffffff;

    color: #111111;

    font-size: 20px;

    line-height: 1;

    cursor: pointer;

    transition:
        background .15s ease,
        transform .15s ease;
}


.counter button:hover {
    background: #eeeeee;

    transform: scale(1.08);
}


.counter span {
    min-width: 80px;

    text-align: center;

    font-weight: bold;

    color: #111111;
}


/* =========================================
   その他
========================================= */

.other-order {
    padding: 30px;

    background: #ffffff;

    border-radius: 15px;

    text-align: center;

    color: #555555;

    font-size: 18px;
}


/* =========================================
   納期注意
========================================= */

.deadline-note {
    margin-top: 40px;

    text-align: center;

    color: #777777;

    font-size: 14px;
}


/* =========================================
   見積金額
========================================= */

.estimate-box {
    position: sticky;

    bottom: 20px;

    z-index: 100;

    width: min(600px, 90%);

    margin: 60px auto 0;

    padding: 25px 35px;

    display: flex;

    justify-content: space-between;

    align-items: center;

    box-sizing: border-box;

    background: rgba(255,255,255,.95);

    border: 2px solid #111111;

    border-radius: 18px;

    box-shadow:
        0 15px 40px rgba(0,0,0,.2);

    backdrop-filter: blur(10px);
}


.estimate-box span {
    font-size: 18px;

    color: #555555;
}


.estimate-box strong {
    font-size: 32px;

    color: #111111;
}


/* =========================================
   スマホ
========================================= */

@media (max-width: 700px) {

    .order-options {
        grid-template-columns: 1fr;
    }


    .order-category {
        padding: 20px;
    }


    .order-option {
        align-items: flex-start;

        flex-wrap: wrap;
    }


    .order-option > img,
    .order-special-card > img {
        width: 90px;
        height: 90px;
    }


    .option-info h4 {
        font-size: 17px;
    }


    .order-special-card {
        flex-direction: column;

        align-items: stretch;
    }


    .order-special-card > img {
        width: 100%;
        height: 180px;
    }


    .estimate-box {
        padding: 20px;

        flex-direction: column;

        gap: 8px;
    }


    .estimate-box strong {
        font-size: 28px;
    }

}

/* =========================================================
   ORDER
========================================================= */

.order-section {

    width: min(1000px, 90%);

    margin: 90px auto 120px;

}


/* =========================================================
   TITLE
========================================================= */

.order-title {

    margin: 0 0 35px 0 !important;

    padding: 0 !important;

    background: transparent !important;

    color: #111 !important;

    font-size: 32px;

    text-align: center;

    letter-spacing: 3px;

}


/* =========================================================
   LIST
========================================================= */

.order-list {

    display: flex;

    flex-direction: column;

    gap: 20px;

}


/* =========================================================
   CARD
========================================================= */

.order-card {

    position: relative;

    display: flex;

    align-items: center;

    min-height: 130px;

    padding: 25px 30px;

    box-sizing: border-box;

    background: #f5f5f5;

    border: 1px solid #ddd;

    border-radius: 18px;

    color: #111;

    text-decoration: none;

    overflow: hidden;

    transition:
        transform .3s ease,
        box-shadow .3s ease,
        background .3s ease,
        border-color .3s ease;

}


/* =========================================================
   HOVER
========================================================= */

.order-card:hover {

    transform:
        translateY(-8px);

    background: #fff;

    border-color: #bbb;

    box-shadow:
        0 18px 40px rgba(0,0,0,.15);

}


/* =========================================================
   LOGO
========================================================= */

.order-logo {

    width: 75px;

    height: 75px;

    flex-shrink: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    margin-right: 25px;

    border-radius: 16px;

    background: #111;

    overflow: hidden;

}


.order-logo img {

    width: 55px;

    height: 55px;

    object-fit: contain;

}


/* メールアイコン */

.order-mail-icon {

    color: white;

    font-size: 38px;

}


/* =========================================================
   INFORMATION
========================================================= */

.order-info {

    flex: 1;

    min-width: 0;

}


.order-info h3 {

    margin: 0 0 8px 0 !important;

    padding: 0 !important;

    background: transparent !important;

    color: #111 !important;

    font-size: 21px;

    line-height: 1.4;

}


.order-info p {

    margin: 0 !important;

    padding: 0 !important;

    color: #777 !important;

    font-size: 14px !important;

}


/* =========================================================
   ACTION
========================================================= */

.order-action {

    margin-left: 30px;

    color: #777;

    font-size: 14px;

    font-weight: bold;

    white-space: nowrap;

    transform: translateX(-5px);

    transition:
        transform .3s ease,
        color .3s ease;

}


.order-card:hover .order-action {

    color: #111;

    transform:
        translateX(5px);

}


/* =========================================================
   LEFT ACCENT
========================================================= */

.order-card::before {

    content: "";

    position: absolute;

    left: 0;

    top: 0;

    width: 5px;

    height: 100%;

    background: #111;

    transform:
        scaleY(0);

    transform-origin: center;

    transition:
        transform .3s ease;

}


.order-card:hover::before {

    transform:
        scaleY(1);

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .order-section {

        width: 90%;

        margin-top: 60px;

    }


    .order-card {

        min-height: 110px;

        padding: 20px;

    }


    .order-logo {

        width: 60px;

        height: 60px;

        margin-right: 15px;

    }


    .order-logo img {

        width: 42px;

        height: 42px;

    }


    .order-info h3 {

        font-size: 16px;

    }


    .order-info p {

        font-size: 12px !important;

    }


    .order-action {

        display: none;

    }

}

/* =========================================================
   ABOUT PAGE
========================================================= */

.about-page {
    background: #ffffff;
    color: #111111;
}


/* =========================================================
   ABOUT INTRO
========================================================= */

.about-intro {
    width: min(1100px, 90%);

    margin: 100px auto;

    display: grid;

    grid-template-columns:
        1.5fr 1fr;

    gap: 80px;

    align-items: center;
}


.about-intro-text {
    max-width: 650px;
}


.about-label {
    display: block;

    margin-bottom: 15px;

    color: #999;

    font-size: 13px;

    font-weight: bold;

    letter-spacing: 5px;
}


.about-intro-text h2 {
    margin: 0 0 30px 0;

    padding: 0;

    font-size: clamp(32px, 5vw, 55px);

    letter-spacing: 2px;
}


.about-intro-text p {
    margin: 0 0 20px 0;

    color: #555;

    font-size: 17px;

    line-height: 2;

    letter-spacing: 1px;
}


/* =========================================================
   PROFILE CARD
========================================================= */

.about-profile-card {
    padding: 35px;

    background: #f5f5f5;

    border: 1px solid #ddd;

    border-radius: 20px;

    box-shadow:
        0 15px 40px rgba(0,0,0,.08);
}


.profile-card-title {
    margin-bottom: 25px;

    color: #999;

    font-size: 12px;

    font-weight: bold;

    letter-spacing: 4px;
}


.profile-item {
    display: flex;

    flex-direction: column;

    gap: 6px;

    padding: 18px 0;

    border-top: 1px solid #ddd;
}


.profile-item span {
    color: #888;

    font-size: 12px;
}


.profile-item strong {
    color: #111;

    font-size: 17px;
}


/* =========================================================
   ABOUT SECTION
========================================================= */

.about-section {
    width: min(1100px, 90%);

    margin: 130px auto;
}


.about-section-heading {
    display: flex;

    align-items: flex-start;

    gap: 25px;

    margin-bottom: 45px;
}


.about-section-heading > span {
    color: #aaa;

    font-size: 14px;

    font-weight: bold;

    letter-spacing: 2px;
}


.about-section-heading small {
    display: block;

    margin-bottom: 8px;

    color: #999;

    font-size: 11px;

    letter-spacing: 4px;
}


.about-section-heading h2 {
    margin: 0;

    padding: 0;

    font-size: clamp(30px, 4vw, 45px);

    letter-spacing: 2px;
}


/* =========================================================
   TOOLS
========================================================= */

.tool-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 15px;
}


.tool-card {
    min-height: 150px;

    padding: 25px;

    box-sizing: border-box;

    display: flex;

    flex-direction: column;

    justify-content: flex-end;

    background: #f5f5f5;

    border: 1px solid #ddd;

    border-radius: 15px;

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        background .25s ease;
}


.tool-card:hover {
    transform: translateY(-8px);

    background: #fff;

    box-shadow:
        0 15px 35px rgba(0,0,0,.12);
}


.tool-card strong {
    font-size: 22px;
}


.tool-card span {
    margin-top: 8px;

    color: #888;

    font-size: 12px;

    letter-spacing: 1px;
}


/* =========================================================
   GOAL
========================================================= */

.about-goal {
    padding: 80px;

    box-sizing: border-box;

    background: #111;

    border-radius: 25px;

    color: white;
}


.about-goal .about-section-heading h2 {
    color: white;
}


.about-goal .about-section-heading > span,
.about-goal .about-section-heading small {
    color: #777;
}


.goal-content {
    max-width: 800px;

    margin: auto;
}


.goal-content p {
    margin: 0 0 20px 0;

    color: rgba(255,255,255,.7);

    font-size: 17px;

    line-height: 2;
}


.goal-content .goal-main {
    color: white;

    font-size: clamp(24px, 4vw, 38px);

    font-weight: bold;

    line-height: 1.5;

    letter-spacing: 2px;
}


/* =========================================================
   ACHIEVEMENTS
========================================================= */

.achievement-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 20px;
}


.achievement-card {
    position: relative;

    min-height: 330px;

    padding: 30px;

    box-sizing: border-box;

    background: #f5f5f5;

    border: 1px solid #ddd;

    border-radius: 18px;

    overflow: hidden;

    transition:
        transform .3s ease,
        box-shadow .3s ease,
        background .3s ease;
}


.achievement-card:hover {
    transform: translateY(-8px);

    background: #fff;

    box-shadow:
        0 18px 40px rgba(0,0,0,.12);
}


.achievement-number {
    color: #ccc;

    font-size: 50px;

    font-weight: 900;

    line-height: 1;

    margin-bottom: 35px;
}


.achievement-category {
    color: #999;

    font-size: 11px;

    font-weight: bold;

    letter-spacing: 3px;
}


.achievement-content h3 {
    margin: 8px 0 20px 0 !important;

    padding: 0 !important;

    background: transparent !important;

    color: #111 !important;

    font-size: 27px;
}


.achievement-content ul {
    margin: 0;

    padding-left: 20px;

    color: #666;

    line-height: 1.8;

    font-size: 14px;
}


.achievement-content li {
    margin-bottom: 12px;
}


/* =========================================================
   BOOTH
========================================================= */

.about-booth {
    width: min(1100px, 90%);

    margin: 150px auto;

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 70px;

    align-items: center;
}


.about-booth-text h2 {
    margin: 0 0 25px;

    font-size: clamp(32px, 5vw, 50px);
}


.about-booth-text p {
    margin: 0 0 30px;

    color: #666;

    line-height: 1.9;
}


.about-booth-image {
    overflow: hidden;

    border-radius: 20px;

    box-shadow:
        0 20px 50px rgba(0,0,0,.18);
}


.about-booth-image img {
    display: block;

    width: 100%;

    height: auto;

    transition:
        transform .5s ease;
}


.about-booth-image:hover img {
    transform: scale(1.04);
}


/* =========================================================
   ABOUT BUTTON
========================================================= */

.about-button {
    display: inline-block;

    padding: 13px 24px;

    background: #111;

    color: white;

    border-radius: 8px;

    text-decoration: none;

    font-weight: bold;

    transition:
        transform .2s ease,
        background .2s ease;
}


.about-button:hover {
    background: #333;

    transform: translateY(-3px);
}


/* =========================================================
   ABOUT MOBILE
========================================================= */

@media (max-width: 800px) {

    .about-intro {
        grid-template-columns: 1fr;

        gap: 40px;

        margin: 70px auto;
    }


    .about-section {
        margin: 90px auto;
    }


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


    .achievement-grid {
        grid-template-columns: 1fr;
    }


    .about-goal {
        padding: 40px 25px;
    }


    .about-booth {
        grid-template-columns: 1fr;

        gap: 40px;

        margin: 100px auto;
    }

}


@media (max-width: 500px) {

    .tool-grid {
        grid-template-columns: 1fr;
    }


    .about-section-heading {
        gap: 15px;
    }


    .about-section-heading h2 {
        font-size: 28px;
    }


    .achievement-card {
        min-height: auto;
    }

}

/* =========================================================
   SITE FOOTER
========================================================= */

.site-footer {
    position: relative;

    width: 100%;
    box-sizing: border-box;

    margin-top: 120px;
    padding: 80px 6% 25px;

    background: #0b0b0b;
    color: white;

    overflow: hidden;
}


/* =========================================================
   TOP ACCENT LINE
========================================================= */

.site-footer::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            #555,
            transparent
        );
}


/* =========================================================
   INNER
========================================================= */

.footer-inner {
    position: relative;
    z-index: 1;

    width: min(1200px, 100%);
    margin: 0 auto;

    display: grid;

    grid-template-columns:
        minmax(0, 2fr)
        minmax(140px, 1fr)
        minmax(140px, 1fr);

    gap: 60px;

    box-sizing: border-box;
}


/* =========================================================
   BRAND
========================================================= */

.footer-brand {
    min-width: 0;
}


.footer-tagline {
    margin: 15px 0 25px;

    color: rgba(255,255,255,.5);

    font-size: 12px;

    letter-spacing: 2px;

    line-height: 1.6;
}


.footer-copy {
    margin: 0;

    color: rgba(255,255,255,.7);

    font-size: 14px;

    line-height: 2;

    overflow-wrap: anywhere;
}


/* =========================================================
   LINKS / CONTACT
========================================================= */

.footer-links,
.footer-contact {
    min-width: 0;

    display: flex;

    flex-direction: column;

    align-items: flex-start;
}


/* 見出し */

.footer-links h3,
.footer-contact h3 {
    margin: 0 0 20px;

    padding: 0;

    background: transparent;

    color: white;

    font-size: 13px;

    letter-spacing: 3px;

    line-height: 1.4;
}


/* リンク */

.footer-links a,
.footer-contact a {
    position: relative;

    display: inline-block;

    max-width: 100%;

    margin: 6px 0;

    color: rgba(255,255,255,.65);

    font-size: 14px;

    line-height: 1.6;

    text-decoration: none;

    overflow-wrap: anywhere;

    transition:
        color .25s ease,
        transform .25s ease;
}


/* ホバーライン */

.footer-links a::after,
.footer-contact a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -3px;

    width: 100%;
    height: 1px;

    background: white;

    transform: scaleX(0);

    transform-origin: left;

    transition:
        transform .25s ease;
}


/* ホバー */

.footer-links a:hover,
.footer-contact a:hover {
    color: white;

    transform: translateX(5px);
}


.footer-links a:hover::after,
.footer-contact a:hover::after {
    transform: scaleX(1);
}


/* =========================================================
   BOTTOM
========================================================= */

.footer-bottom {
    position: relative;
    z-index: 1;

    width: min(1200px, 100%);

    margin: 70px auto 0;

    padding-top: 20px;

    box-sizing: border-box;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    border-top:
        1px solid rgba(255,255,255,.12);

    color: rgba(255,255,255,.35);

    font-size: 11px;

    line-height: 1.6;

    letter-spacing: 2px;
}


.footer-bottom > * {
    margin: 0;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .site-footer {
        padding:
            70px 5% 25px;
    }


    .footer-inner {
        grid-template-columns:
            1.5fr 1fr 1fr;

        gap: 35px;
    }


    .footer-tagline {
        margin-bottom: 20px;
    }


    .footer-copy {
        font-size: 13px;
    }


    .footer-links a,
    .footer-contact a {
        font-size: 13px;
    }


    .footer-bottom {
        margin-top: 55px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .site-footer {
        width: 100%;

        margin-top: 80px;

        padding:
            60px 25px 20px;
    }


    /* 3列 → 1列 */

    .footer-inner {
        width: 100%;

        grid-template-columns: 1fr;

        gap: 45px;
    }


    /* Brand */

    .footer-tagline {
        margin:
            12px 0 20px;

        font-size: 11px;

        letter-spacing: 1.5px;
    }


    .footer-copy {
        font-size: 13px;

        line-height: 1.9;
    }


    /* Links */

    .footer-links,
    .footer-contact {
        width: 100%;
    }


    .footer-links h3,
    .footer-contact h3 {
        margin-bottom: 15px;

        font-size: 12px;
    }


    .footer-links a,
    .footer-contact a {
        margin: 5px 0;

        font-size: 13px;
    }


    /* Bottom */

    .footer-bottom {
        width: 100%;

        margin-top: 50px;

        padding-top: 18px;

        flex-direction: column;

        align-items: flex-start;

        gap: 10px;

        font-size: 10px;

        letter-spacing: 1.5px;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 400px) {

    .site-footer {
        padding:
            50px 20px 18px;
    }


    .footer-inner {
        gap: 35px;
    }


    .footer-copy {
        font-size: 12px;
    }


    .footer-links a,
    .footer-contact a {
        font-size: 12px;
    }


    .footer-bottom {
        font-size: 9px;
    }
}

/* =========================================================
   TIMELINE
========================================================= */

.timeline-section {
    width: min(1100px, 90%);
    margin: 130px auto;
}

.timeline-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 30px;
    margin-bottom: 55px;
}

.timeline-heading h2 {
    margin: 0 !important;
    padding: 0 !important;
    color: #111 !important;
    font-size: clamp(32px, 5vw, 55px);
    letter-spacing: 2px;
}

.timeline-sort {
    display: inline-flex;
    padding: 4px;
    border: 1px solid #ddd;
    border-radius: 999px;
    background: #f5f5f5;
}

.timeline-sort-button {
    padding: 10px 15px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #777;
    font: inherit;
    font-size: 13px;
    font-weight: bold;
    cursor: pointer;
}

.timeline-sort-button.is-active {
    background: #111;
    color: #fff;
}

.timeline-list {
    position: relative;
}

.timeline-list::before {
    content: "";
    position: absolute;
    top: 8px;
    bottom: 8px;
    left: 50%;
    width: 1px;
    background: #d8d8d8;
    transform: translateX(-50%);
}

.timeline-item {
    --timeline-color: #111;
    display: grid;
    grid-template-columns: 1fr 74px 1fr;
    min-height: 230px;
}

.timeline-item--music { --timeline-color: #8059d6; }
.timeline-item--animation { --timeline-color: #a83737; }
.timeline-item--product { --timeline-color: #ef8d3d; }
.timeline-item--event { --timeline-color: #111; }
.timeline-item--video { --timeline-color: #6ba6ff; }
.timeline-item--modeling { --timeline-color: #ffcb6b; }
.timeline-item--game { --timeline-color: #95ff6b; }

.timeline-marker {
    grid-column: 2;
    display: flex;
    justify-content: center;
    padding-top: 35px;
    z-index: 1;
}

.timeline-marker::before {
    content: "";
    width: 15px;
    height: 15px;
    border: 4px solid #fff;
    border-radius: 50%;
    background: var(--timeline-color);
    box-shadow: 0 0 0 1px var(--timeline-color);
}

.timeline-card {
    align-self: start;
    width: min(100%, 455px);
    padding: 28px 30px;
    background: #fff;
    border: 2px solid var(--timeline-color);
    border-radius: 18px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, .08);
    transition: transform .3s ease, box-shadow .3s ease;
}

.timeline-item:nth-child(odd) .timeline-card {
    grid-column: 1;
    justify-self: end;
}

.timeline-item:nth-child(even) .timeline-card {
    grid-column: 3;
    justify-self: start;
}

.timeline-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, .14);
}

.timeline-meta {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 13px;
    color: #888;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 1.5px;
}

.timeline-type { color: var(--timeline-color); }

.timeline-card h3 {
    margin: 0 0 12px !important;
    padding: 0 !important;
    background: transparent !important;
    color: #111 !important;
    font-size: 25px;
    line-height: 1.4;
}

.timeline-card p {
    margin: 0 !important;
    color: #666 !important;
    font-size: 15px !important;
    line-height: 1.9;
}

.timeline-image {
    display: block;
    width: 100%;
    max-height: 230px;
    margin-top: 22px;
    border-radius: 10px;
    object-fit: cover;
}

.timeline-link {
    display: inline-block;
    margin-top: 20px;
    color: #111;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
}

.timeline-link:hover {
    color: var(--timeline-color);
}

@media (max-width: 800px) {
    .timeline-section { margin: 90px auto; }

    .timeline-heading {
        align-items: flex-start;
        flex-direction: column;
        margin-bottom: 40px;
    }

    .timeline-list::before {
        left: 8px;
        transform: none;
    }

    .timeline-item {
        grid-template-columns: 36px 1fr;
        min-height: auto;
        padding-bottom: 30px;
    }

    .timeline-marker {
        grid-column: 1;
        justify-content: flex-start;
        padding-top: 28px;
    }

    .timeline-item:nth-child(odd) .timeline-card,
    .timeline-item:nth-child(even) .timeline-card {
        grid-column: 2;
        justify-self: stretch;
    }
}

/* =========================================================
   TIMELINE CONTROLS
========================================================= */

.timeline-controls {
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 15px;
}

/* =========================================================
   TIMELINE KEY
========================================================= */

.timeline-key {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.timeline-key-card {
    display: flex;
    align-items: center;
    justify-content: space-between;

    width: 125px;
    min-height: 30px;
    box-sizing: border-box;

    padding: 5px 7px 5px 12px;

    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 9px;

    box-shadow: 0 5px 15px rgba(0, 0, 0, .05);

    color: #555;
    font-size: 10px;
    font-weight: bold;
    letter-spacing: 1.2px;
}

/* 丸い色アイコン */

.timeline-key-icon {
    display: block;

    width: 18px;
    height: 18px;

    flex-shrink: 0;

    border-radius: 50%;
}

/* 色 */

.timeline-key--music {
    background: #8059d6;
}

.timeline-key--animation {
    background: #a83737;
}

.timeline-key--product {
    background: #afad31;
}

.timeline-key--event {
    background: #111;
}

.timeline-key--video {
    background: #6ba6ff;
}

.timeline-key--modeling {
    background: #ffca1d;
}

.timeline-key--game {
    background: #63ac47;
}