/* 基本設定 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #000;
    color: #fff;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    overflow-x: hidden;
    line-height: 1.6;
}

/* 背景Canvas */
#particleCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

/* メインビジュアル */
.hero {
    height: 120vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background: url('minnanolive.png') no-repeat bottom center;
    background-size: cover;
    overflow: hidden;
}

/* 画像の上に薄い暗幕を敷いて文字を読みやすくする */
.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), transparent 50%, #000);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 10;
}

.main-title {
    font-size: 15vw;
    font-weight: 900;
    letter-spacing: -0.05em;
    line-height: 1;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    perspective: 1000px;
    text-shadow: 0 0 40px rgba(0, 0, 0, 0.8);
}

.main-title .char {
    display: inline-block;
    color: #ff5e00;
    text-shadow: 0 0 30px rgba(255, 94, 0, 0.6);
    will-change: transform, opacity;
}

.sub-title {
    font-size: 3rem;
    font-weight: 700;
    margin-top: -20px;
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
}

.venue {
    font-size: 1.2rem;
    letter-spacing: 0.5em;
    margin-top: 40px;
    color: #888;
}

.event-details {
    margin-top: 20px;
    font-size: 1.1rem;
    letter-spacing: 0.1em;
    font-weight: 400;
    color: #ccc;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
}

.event-details p {
    margin-bottom: 5px;
}

/* メインコピー */
.main-copy-wrapper {
    margin: 40px 0;
}

.main-copy {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.8;
    color: #fff;
    letter-spacing: 0.1em;
    text-shadow: 0 0 30px rgba(0, 0, 0, 1);
}

/* コンセプトセクション */
.concept-section {
    padding: 150px 10%;
    background: radial-gradient(circle at center, rgba(255, 94, 0, 0.05), transparent 70%);
}

.concept-container {
    max-width: 800px;
    margin: 0 auto;
}

.intro-block {
    margin-bottom: 100px;
    text-align: center;
}

.intro-headline {
    font-size: 2.5rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 40px;
    letter-spacing: 0.1em;
    line-height: 1.4;
}

.intro-subtext {
    font-size: 1.1rem;
    line-height: 2;
    color: #fff;
    margin-bottom: 1.5rem;
    text-align: left;
}

.concept-title {
    font-size: 1.2rem;
    color: #ff5e00;
    letter-spacing: 0.5em;
    margin-bottom: 50px;
    text-align: center;
    border-top: 1px solid #333;
    padding-top: 100px;
}

.concept-text {
    font-size: 1.1rem;
    line-height: 2.2;
    color: #ccc;
}

.concept-text p {
    margin-bottom: 2rem;
}

.concept-text p:last-child {
    color: #fff;
    font-weight: 700;
    font-size: 1.3rem;
    border-left: 4px solid #ff5e00;
    padding-left: 20px;
}

/* ボランティア募集 */
.volunteer-section {
    padding: 100px 5%;
    background: linear-gradient(to bottom, #000, #0a0a0a, #000);
    border-top: 1px solid #111;
    border-bottom: 1px solid #111;
}

.volunteer-container {
    max-width: 800px;
    margin: 0 auto;
}

.volunteer-box {
    margin-top: 150px; /* 余白を広げました */
    padding: 60px 40px;
    border: 1px solid #ff5e00;
    text-align: center;
    background: rgba(255, 94, 0, 0.05);
    box-shadow: inset 0 0 30px rgba(255, 94, 0, 0.1);
}

.volunteer-text {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 30px;
    color: #fff;
    line-height: 1.5;
}

.volunteer-link {
    display: inline-block;
    padding: 15px 40px;
    background: #ff5e00;
    color: #000;
    text-decoration: none;
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
}

.volunteer-link:hover {
    background: #fff;
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(255, 94, 0, 0.3);
}

/* カウントダウン */
.countdown-section {
    padding: 100px 20px;
    text-align: center;
    background: linear-gradient(to bottom, transparent, rgba(255, 94, 0, 0.1), transparent);
}

.section-title {
    font-size: 1.5rem;
    color: #ff5e00;
    margin-bottom: 20px;
    letter-spacing: 0.3em;
}

.timer {
    font-size: 8vw;
    font-weight: 900;
    font-variant-numeric: tabular-nums;
}

/* アーティストグリッド */
.artists {
    padding: 100px 5% 150px;
    position: relative;
}

.artists-header {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
    z-index: 10;
}

.artists-title {
    font-size: 4rem;
    font-weight: 900;
    letter-spacing: 0.2em;
    color: #fff;
    line-height: 1;
    margin-bottom: 10px;
}

.artists-subtitle {
    font-size: 1.2rem;
    color: #ff5e00;
    letter-spacing: 0.3em;
    font-weight: 700;
}

.section-title-bg {
    font-size: 20vw;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0.05;
    font-weight: 900;
    z-index: -1;
    pointer-events: none;
}

.artist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.artist-card {
    position: relative;
    cursor: pointer;
    /* 初期状態で少し傾けるための準備 */
    transition: transform 0.5s cubic-bezier(0.2, 1, 0.3, 1), box-shadow 0.5s ease;
    will-change: transform;
}

.artist-card:hover {
    transform: rotate(0deg) scale(1.1) translateY(-20px) !important;
    z-index: 100;
    box-shadow: 0 20px 40px rgba(255, 94, 0, 0.3);
}

/* デュオトーン加工 (mix-blend-modeを使用) */
.image-wrapper.duotone {
    position: relative;
    width: 100%;
    aspect-ratio: 4/5;
    overflow: hidden;
    background-color: #ff5e00; /* デュオトーンの明るい色 */
    border: 1px solid #333;
}

.image-wrapper.duotone img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1) contrast(1.2); /* 一旦モノクロ化してコントラスト強調 */
    mix-blend-mode: multiply; /* 背景色（オレンジ）と乗算 */
    transition: filter 0.5s ease, mix-blend-mode 0.5s ease;
}

.artist-card:hover .image-wrapper.duotone img {
    filter: grayscale(0) contrast(1); /* ホバーでフルカラーに */
    mix-blend-mode: normal;
}

.artist-info {
    margin-top: 15px;
}

.number {
    font-size: 0.9rem;
    color: #ff5e00;
    font-weight: 700;
}

.name {
    font-size: 1.2rem;
    font-weight: 800;
}

.song-title {
    font-size: 0.8rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 4px;
}

/* 主催者メッセージセクション */
.organizer-message-section {
    padding: 150px 10%;
    background: radial-gradient(circle at bottom, rgba(255, 94, 0, 0.08), transparent 80%);
    position: relative;
    border-top: 1px solid #111;
}

.message-container {
    max-width: 750px;
    margin: 0 auto;
}

.message-headline {
    font-size: 1.8rem;
    font-weight: 800;
    color: #ff5e00;
    margin-bottom: 60px;
    line-height: 1.6;
    text-align: center;
    letter-spacing: 0.1em;
}

.message-body {
    font-size: 1.05rem;
    line-height: 2.2;
    color: #eee;
    margin-bottom: 50px;
}

.message-body p {
    margin-bottom: 2rem;
}

.message-signature {
    text-align: right;
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    border-top: 1px solid #222;
    padding-top: 30px;
}

/* アクセスセクション */
.access-section {
    padding: 100px 5%;
    border-top: 1px solid #222;
    background: #050505;
}

.access-container {
    max-width: 900px;
    margin: 0 auto;
}

.access-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 50px;
}

.venue-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ff5e00;
    margin-bottom: 10px;
}

.address {
    font-size: 1.1rem;
    margin-bottom: 25px;
}

.map-link {
    display: inline-block;
    padding: 12px 25px;
    border: 1px solid #ff5e00;
    color: #ff5e00;
    text-decoration: none;
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    transition: all 0.3s ease;
}

.map-link:hover {
    background: #ff5e00;
    color: #000;
}

.route-list {
    list-style: none;
    margin-bottom: 30px;
}

.route-list li {
    font-size: 1rem;
    margin-bottom: 15px;
    padding-left: 20px;
    position: relative;
}

.route-list li::before {
    content: "●";
    color: #ff5e00;
    font-size: 0.6rem;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.parking-note {
    font-size: 0.85rem;
    color: #888;
    line-height: 1.5;
}

/* フッター */
.footer {
    padding: 100px 20px;
    text-align: center;
    border-top: 1px solid #222;
}

.footer-date-info {
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 60px;
    line-height: 1.4;
    letter-spacing: 0.05em;
}

.footer-date-info p {
    margin-bottom: 8px;
}

.footer-tag {
    color: #ff5e00;
    font-size: 1.3rem !important;
    letter-spacing: 0.2em;
    font-weight: 700;
    margin-bottom: 80px;
}

.footer-credits {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #111;
    font-size: 0.75rem;
    color: #666;
    line-height: 2;
}

.footer-credits a {
    color: #888;
    text-decoration: none;
}

.footer-credits a:hover {
    color: #ff5e00;
    text-decoration: underline;
}

.footer-organizations span {
    margin: 0 10px;
}

/* スクロールバーのカスタマイズ */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #000;
}
::-webkit-scrollbar-thumb {
    background: #ff5e00;
    border-radius: 10px;
}

/* セクションの区切り */
.artists::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 100px;
    background: linear-gradient(to bottom, #ff5e00, transparent);
}

/* モーダル（ポップアップ） */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.modal.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 900px;
    background: #111;
    border: 1px solid #333;
    padding: 40px;
    z-index: 1001;
    transform: translateY(50px);
    transition: transform 0.6s cubic-bezier(0.2, 1, 0.3, 1);
}

.modal.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    z-index: 1002;
}

.modal-body {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
}

.modal-image-wrapper {
    width: 100%;
    aspect-ratio: 4/5;
    overflow: hidden;
    border: 1px solid #ff5e00;
}

.modal-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-info .name {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #ff5e00;
}

.modal-profile {
    margin-top: 30px;
    border-top: 1px solid #222;
    padding-top: 20px;
}

.modal-profile h3 {
    font-size: 0.9rem;
    letter-spacing: 0.2em;
    color: #888;
    margin-bottom: 15px;
}

.modal-profile p {
    font-size: 1rem;
    line-height: 1.8;
    word-break: break-all; /* 長い単語やURLを枠の端で強制改行 */
    overflow-wrap: break-word;
}

.modal-profile p a {
    word-break: break-all;
    overflow-wrap: break-word;
    display: inline-block; /* 折り返しをより確実に制御 */
    max-width: 100%;
}

/* 音楽再生ボタン・コンテナ */
.music-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 2000;
    display: flex;
    align-items: center;
    gap: 15px;
}

.music-info-text {
    text-align: right;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.5s ease;
    pointer-events: none;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
}

.music-info-text.visible {
    opacity: 1;
    transform: translateX(0);
}

.music-title {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    color: #ff5e00;
    letter-spacing: 0.1em;
}

.music-composer {
    display: block;
    font-size: 0.6rem;
    color: #888;
    margin-top: 2px;
}

.music-btn {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid #ff5e00;
    color: #ff5e00;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(255, 94, 0, 0.2);
}

.music-btn:hover {
    background: #ff5e00;
    color: #000;
    box-shadow: 0 0 30px rgba(255, 94, 0, 0.5);
    transform: scale(1.1);
}

.music-btn .icon {
    font-size: 0.8rem;
    margin-bottom: 5px;
}

.music-btn .label {
    font-size: 0.6rem;
    letter-spacing: 0.1em;
}

.music-btn.playing {
    border-color: #fff;
    color: #fff;
    background: #ff5e00;
}

.music-btn.playing .icon {
    content: "ON";
}

/* スマホ対応 */
@media (max-width: 768px) {
    .music-btn {
        width: 60px;
        height: 60px;
        bottom: 20px;
        right: 20px;
    }

    /* モーダルのスマホ対応 */
    .modal-content {
        padding: 40px 20px 30px;
        width: 92%;
        max-height: 85vh;
        overflow-y: auto;
        border-radius: 10px;
    }

    .modal-body {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .modal-image-wrapper {
        width: 100%;
        max-width: 250px;
        margin: 0 auto;
        aspect-ratio: 4/5;
    }

    .modal-info .name {
        font-size: 1.8rem;
        text-align: center;
        word-break: break-all;
    }

    .modal-info .song-title {
        text-align: center;
        display: block;
        font-size: 0.9rem;
    }

    .modal-info .number {
        display: block;
        text-align: center;
        margin-bottom: 5px;
    }

    .modal-profile {
        margin-top: 20px;
    }

    .modal-profile h3 {
        text-align: center;
    }

    .modal-close {
        top: 10px;
        right: 10px;
        font-size: 1.8rem;
        width: 44px;
        height: 44px;
        background: rgba(0,0,0,0.8);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

