/* Reset CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Add to existing CSS */

:root {
    --unite-orange: #FF9843;
    --unite-purple: #9747FF;
    --unite-light-purple: rgba(151, 71, 255, 0.1);
    --unite-light-orange: rgba(255, 152, 67, 0.1);
}

/* comming soon 公開後に削除*/
.comming-soon {
    width: 60%;
    background-color: rgba(234, 255, 0, 0.423);
    margin: 100px auto;
    padding: 30px;
}

.comming-soon-heading {
    text-align: center;
    color: var(--unite-purple);
    font-size: 2rem;

}

/* Base Styles */
html {
    font-size: 62.5%;

}

body {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 2rem;
    line-height: 1.7;
    color: #333;
    padding-top: 80px;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}

/* Container */
.container {
    max-width: 1300px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    padding: 20px;
    background-color: #333;
    color: #fff;
    display: flex;
    justify-content: right;
    align-items: center;
    z-index: 1000;
}

.header-logo {
    width: 120px;
}

.header-logo img {
    filter: brightness(0) invert(1);
}

/* Header Scroll Effect */
.header.scrolled {
    background-color: rgba(51, 51, 51, 0.8);
    transition: background-color 0.3s ease;
}

/* Navigation */
.menu-button {
    display: none;
}

.nav-wrapper {
    position: relative;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 30px;
    padding: 0 36px;
}

.nav-list a {
    color: #fff;
    text-decoration: none;
    font-size: 1.6rem;
    font-weight: bold;
    padding: 10px 0;
    display: block;
    transition: opacity 0.3s;
}

.nav-list a:hover {
    opacity: 0.8;
}

/* Section Common */
.section {
    width: 90%;
    padding: 80px 0;
    position: relative;
    background: linear-gradient(180deg, #ffffff 0%, var(--unite-light-purple) 100%);
    border-radius: 20px;
    margin: 80px auto;
    overflow: hidden;
}


.section-title {
    text-align: center;
    position: relative;
    padding: 20px;
    margin-bottom: 80px;
}

.section-title-en {
    display: block;
    font-size: 4rem;
    font-weight: bold;
}

.section-title-ja {
    display: block;
    font-size: 2rem;
}

.section-title .section-title-ja a {
    text-decoration: none;
    color: inherit;
}

.section-title .section-title-ja a:hover {
    color: inherit;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--unite-orange), var(--unite-purple));
    border-radius: 2px;
}

/* Section styling */
.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--unite-orange), var(--unite-purple));
}



/* KV Section */
.kv {
    width: 100%;
    position: relative;
    overflow: hidden;
    margin: 0 auto;
}

.kv-bg {
    width: 100%;
}

.kv-bg img {
    width: 100%;
    height: auto;
    display: block;
}

/* ABOUT Section */
.about-text {
    font-size: 2rem;
    margin: 30px 0;
    text-align: center;
}

.about-event-info {
    margin: 30px 0;
    text-align: center;
}

.about-date-container {
    margin-bottom: 20px;
    text-align: center;
}

.about-date {
    font-size: 48px;
    font-weight: bold;
}

.about-date--sun {
    color: #c8006b;
}

.about-time {
    font-size: 32px;
    margin-left: 10px;
}

.about-time-note {
    font-size: 20px;
    margin-left: 10px;
}

.about-venue-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 15px;
    flex-wrap: wrap;
}

.about-venue-label {
    background-color: #00377e;
    color: white;
    padding: 8px 20px;
    font-weight: bold;
    font-size: 20px;
    margin-right: 15px;
}

.about-venue-name {
    font-size: 24px;
}

.about-venue-station {
    font-size: 18px;
    color: #666;
    margin-left: 15px;
}

.about-image {
    width: 70%;
    margin: 0 auto;
}

/* Event Section */
/* イベント共通スタイル */
.event-wrapper {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.event-block {
    width: 100%;
    margin: 0 auto;
    padding: 60px 30px;
    background-color: #fff;
    border: 1px solid var(--unite-light-orange);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(151, 71, 255, 0.1);
}

.event-block-title {
    font-size: 2.4rem;
    color: #00377e;
    margin-bottom: 24px;
    text-align: center;
    font-weight: bold;
}

.event-content-main {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
}

.event-image {
    width: 90%;
    border-radius: 12px;
    overflow: hidden;
    margin: 0 auto 24px;
}

.event-content-box {
    background: #f0f7ff;
    border-radius: 12px;
    padding: 32px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/*追加
.stage-event-item {
    display: flex;
    align-items: flex-start;
    gap: 24px;
}

.stage-event-item > :not(.event-placeholder) {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.event-placeholder {
    flex-shrink: 0;
    width: 40%;
}
*/



.content-heading {
    color: #00377e;
    font-size: 24px;
    margin-bottom: 24px;
    font-weight: 600;
    position: relative;
    padding-bottom: 12px;
    border-bottom: 1px solid #eee;
}

.content-heading::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    /* 文字幅に合わせて100%に変更 */
    height: 3px;
    background-color: #c8006b;
}

.details-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.detail-item {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 16px;
    align-items: baseline;
}

.detail-label {
    color: #666;
    font-size: 1.6rem;
}

.detail-content {
    color: #333;
    line-height: 1.6;
    font-size: 1.6rem;
}

.detail-note {
    margin-top: 8px;
    font-size: 1.6rem;
    color: #666;
    text-align: left;

}

.event-time {
    display: inline-block;
    background: #f0f7ff;
    padding: 8px 16px;
    border-radius: 6px;
    color: #00377e;
    margin-bottom: 16px;
    font-weight: 700;
}

.event-description {
    line-height: 1.8;
    color: #333;
    margin-bottom: 24px;
    font-size: 1.6rem;
   
}

.announce-description {
    line-height: 1.8;
    color: #333;
    margin-bottom: 24px;
    font-size: 1.6rem;
    text-align: center;

}

.prize-image {
    margin-top: 40px;
    text-align: center;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}


/* entry button */
.entry-content {
    text-align: center;
    margin: 60px auto;
}

.entry-button {
    background: linear-gradient(90deg, var(--unite-orange), var(--unite-purple));
    text-decoration: none;
    padding: 15px 40px;
    color: white;
    font-size: 2rem;
    font-weight: bold;
    border-radius: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.entry-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(151, 71, 255, 0.3);
    background: linear-gradient(90deg, var(--unite-purple), var(--unite-orange));
}

/*schedule-section*/
.schedule-section {
    margin: 20px 0;
}

.schedule-section-heading {
    font-size: 1.6rem;
    color: #00377e;
    text-align: center;
    font-weight: bold;
}

.schedule-table {
    max-width: 800px;
    margin: 24px auto;
}

.schedule-table table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(151, 71, 255, 0.1);
}

.schedule-table th {
    background: var(--unite-purple);
    color: white;
    font-size: 1.6rem;
    font-weight: bold;
    padding: 15px 20px;
    border: 1px solid #ddd;
}

.schedule-table td {
    background: white;
    font-size: 1.6rem;
    padding: 15px 20px;
    border: 1px solid rgba(151, 71, 255, 0.1);
    transition: background-color 0.3s;
}

.schedule-table tr:hover td {
    background: var(--unite-light-purple);
}

/* Stage Events Styles */
.stage-event-item {
    margin: 20px 0;
    padding: 20px 0;
    display: flex;
    gap: 24px;
    align-items: flex-start;
    justify-content: center;
}

.announcement {
    font-size: 2rem;
    text-align: center;
    display: block;
    margin-bottom: 60px;
}


/*変更*/
/* テキストコンテンツ用のスタイル */
.text-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.text-content p {
    margin: 0 12px;
    line-height: 1.8;
    color: #333;
    font-size: 1.6rem;
}

/* 画像部分のスタイル */
.event-placeholder {
    flex: 3;
    position: relative;
    max-width: 600px;
    text-align: center;
    /* 画像コンテナを中央寄せ */
}

.event-placeholder img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
    margin: 0 auto;

}

/* CAST Section */
.cast-section {
    margin: 0;
}

.cast-section:last-child {
    margin-bottom: 0;
}

.cast-subtitle {
    text-align: center;
    margin-bottom: 40px;
}

.cast-subtitle-en {
    display: block;
    font-size: 2.6rem;
    font-weight: bold;
    color: #333;
    margin-top: 60px;
}

/* Official Caster Styles */
.caster-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 80px;
}

.caster-card {
    text-align: center;
    margin-bottom: 24px;
}

.caster-image {
    width: 250px;
    height: 250px;
    margin: 0 auto 10px;
    overflow: hidden;
}

.caster-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.caster-role {
    font-size: 1.6rem;
    color: #666;

}

.caster-name {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 8px;
}

/* Invited Teams Styles */
.teams-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;

}

.team-card {
    text-align: center;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
}

.team-image {
    width: 294px;
    height: 150px;
    margin: 0 auto 15px;

    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-name {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 5px;
}

.member-name {
    font-size: 2rem;
    color: #666;
}


/* Access Section */
.access-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    width: 100%;
    margin-top: 30px;
}


.access-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.venue-image {
    width: 100%;
}

.venue-image img {
    width: 100%;
    height: auto;
    display: block;
    max-width: 100%;
}

.venue-details {
    padding: 8px 0;
}

.venue-details h3 {
    font-size: 1rem;
    margin-bottom: 15px;
}

.venue-details p {
    font-weight: bold;
    margin-bottom: 10px;
    line-height: 1.6;
}

.text,
.label {
    font-weight: bold;
    margin-right: 10px;
    font-size: 1.6rem;
}

.access-map {
    width: 100%;
}

.access-map iframe {
    width: 100%;
    height: 400px;
    border-radius: 8px;
}

/* SNS Section */
.sns-timeline {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

/* Contact Section */
.contact-content {
    width: 100%;
    text-align: center;
    margin-bottom: 60px;
}

/* Contact button */
.contact-button {
    background: linear-gradient(90deg, var(--unite-orange), var(--unite-purple));
    text-decoration: none;
    padding: 15px 40px;
    color: white;
    font-size: 2rem;
    font-weight: bold;
    border-radius: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(151, 71, 255, 0.3);
    background: linear-gradient(90deg, var(--unite-purple), var(--unite-orange));
}

/* Footer */
.footer {
    background-color: #333;
    color: #fff;
    padding: 40px 0;
    text-align: center;
}

.copyright {
    font-size: 1.6rem;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.copyright span {
    margin: 5px 0;
}

.footer-logo img {
    max-width: 100px;
    height: auto;
}


/* Responsive Styles */
/*最終的にここに集約する*/
@media screen and (max-width: 1024px) {

    /* Stage Events Styles */
    .stage-event-item {
        flex-direction: column;
        /* 縦並びに変更 */
        align-items: center;
    }

    .event-placeholder img {
        margin-top: 1rem;
        width: 90%;
    }

    .event-placeholder {
        width: 100%;
        max-width: none;
        order: -1;
    }

    .announcement {
        font-size: 1.8rem;
        margin-bottom: 40px;
    }



    /* CAST Section */
    .cast-section {
        margin: 0;
    }

    .caster-grid {
        margin-bottom: 60px;
    }

    .teams-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .caster-image {
        width: 150px;
        height: 150px;
    }


    .team-name {
        font-size: 1.6rem;
        margin-bottom: 0px;
    }

    .member-name {
        font-size: 1.6rem;
        color: #666;
    }

}

@media screen and (max-width: 768px) {

    /* comming soon 公開後に削除*/
    .comming-soon {
        margin: 20px auto;
    }

    /* Base Styles */
    body {
        padding-top: 60px;
    }

    .section {
        border-radius: 12px;
        margin: 10px auto;
    }

    /* Container */
    .container {
        padding: 0 15px;
    }

    /* Header */
    .header {
        height: 60px;
        padding: 10px 20px;
    }

    /* Navigation */
    .menu-button {
        display: flex;
        background: none;
        border: none;
        cursor: pointer;
        padding: 10px;
        align-items: center;
        font-weight: bold;
        font-size: 2rem;
        color: #fff;
        z-index: 1100;
    }

    .menu-button::after {
        content: "▼";
        font-size: 12px;
        color: #fff;
    }

    .nav-wrapper {
        position: static;
    }

    .nav-list {
        display: none;
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        background: #444;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
        padding: 0;
        flex-direction: column;
        gap: 0;
    }

    .nav-list.active {
        display: block;
    }

    .nav-list a {
        padding: 15px 20px;
        font-size: 2rem;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-list li:last-child a {
        border-bottom: none;
    }



    /* About Section */
    .about-text {
        font-size: 1.6rem;
    }

    .about-date {
        font-size: 24px;
    }

    .about-time {
        font-size: 20px;
    }

    .about-time-note {
        font-size: 16px;
        display: block;
        margin-top: 10px;
        margin-left: 0;
    }

    .about-venue-label {
        font-size: 16px;
        padding: 6px 15px;
    }

    .about-venue-name {
        font-size: 18px;
        margin: 10px 0;
        display: block;
        width: 100%;
        text-align: center;
    }

    .about-venue-station {
        font-size: 14px;
        margin-left: 0;
        display: block;
        width: 100%;
        text-align: center;
    }

    .about-image {
        width: 90%;
    }


    /* Event Section */
    .event-wrapper {
        gap: 40px;
    }

    .content-heading {
        font-size: 2rem;
    }

    .event-block {
        padding: 20px;
    }

    .event-block-title {
        font-size: 1.8rem;
        margin-bottom: 24px;
    }

    .event-content-main {
        gap: 16px;
        margin-bottom: 30px;
    }


    .entry-content {
        margin: 40px auto;
    }

    .entry-button {
        width: 80%;
        padding: 10px 20px;
        margin: 40px auto;
    }

    .event-time {
        font-size: 1.6rem;
    }

    .event-content-box {
        padding: 24px 20px;
    }

    .event-description {

        font-size: 1.6rem;

    }

    .detail-item {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .event-image,
    .prize-image {
        width: 100%;
    }

    .stage-event {
        margin-top: 40px;
    }

    .stage-event-item {
        flex-direction: column;
        /* 縦並びに変更 */
        align-items: center;
    }

    .event-placeholder img {
        margin-top: 1rem;
        width: 100%;
    }

    .event-placeholder {
        width: 100%;
        max-width: none;
        order: -1;
        /* 画像を上部に移動 */
    }

    .announcement {
        font-size: 1.6rem;
        margin-bottom: 20px;
    }

    /* テキストコンテンツ用のスタイル */
    .text-content p {
        margin: 0 8px;
    }

    /*Scadule Section*/
    .schedule-table th {
        font-size: 1.6rem;
        padding: 12px 16px;
    }

    .schedule-table td {
        font-size: 1.6rem;
        padding: 12px 16px;
    }

    /* CAST Section */
    .caster-grid {
        grid-template-columns: repeat(2, 1fr);
        margin-bottom: 48px;
    }

    .teams-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .caster-image {
        width: 180px;
        height: 180px;
    }

    .stage-event-item,
    .team-item {
        border-radius: 12px;
    }

    /* Team Grid */
    .team-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .team-image {
        width: 195px;
        height: 100px;
        margin: 0 auto 15px;
        overflow: hidden;
    }

    .team-members {
        gap: 10px;
    }

    .team-name {
        font-size: 2rem;
    }

    .member-name {
        font-size: 1.2rem;
    }


    /* Access Section */
    .access-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Contact Section */
    .contact-content {
        padding: 40px auto;
    }

    .contact-button {
        width: 80%;
        padding: 10px 20px;
        margin: 40px auto;
    }
}

@media screen and (max-width: 480px) {

    /* Base Styles */
    body {
        font-size: 2rem;
    }

    /* Section Common */
    .section {
        padding: 40px 0;
        margin: 60px auto 40px;
    }

    .section-title-en {
        font-size: 4rem;
    }

    .section-title-ja {
        font-size: 2rem;
    }


    /* ABOUT Section */
    .about-text {
        font-size: 1.6rem;
        margin: 30px 0;
        text-align: center;

    }


    /* Event Section */
    /*
    .main-event-heading,
    .schedule-section-heading {
    font-size: 2rem;
    margin-bottom: 20px; 
    }  
    .schedule-section {
        margin: 60px 20px;
    }
        */
    p.event-description {
        font-size: 1.6rem;
    }


    /* CAST Section */
    .caster-grid,
    .teams-grid {
        grid-template-columns: 1fr;
    }

    .caster-image {
        width: 180px;
        height: 180px;
    }

    .team-image {
        width: 294px;
        height: 150px;
    }

    .team-members {
        gap: 5px;
    }

    /* ACCESS Section */
    .venue-details {
        font-size: 1.6rem;
        padding: 4px 0;
    }

    .text,
    .label {
        font-weight: bold;
        margin-right: 10px;
        font-size: 1.4rem;
    }

    /* Footer */
    .copyright {
        font-size: 1.4rem;
        margin-bottom: 8px;
        /* Add space between copyright and logo */
    }
}