html {
    overflow-x: hidden;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    margin: 0;
    color: #e0e0e0;
    background-color: #1a1a1a;
    padding-top: 60px;
    overflow-x: hidden; /* Prevent horizontal scroll from full-width sections */
}

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

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 10px 50px;
    z-index: 1000;
    background-color: #222222;
    transition: background-color 0.3s;
    box-sizing: border-box;
}

.site-header .site-logo {
    height: 40px;
}

.site-header nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.site-header nav ul li {
    margin-left: 30px;
}

.site-header nav ul li a {
    text-decoration: none;
    color: #e0e0e0;
    font-weight: 400;
    font-family: 'Noto Serif JP', serif;
}

.contact-button-item {
    border: 2px solid #e0e0e0;
    padding: 5px 15px;
    border-radius: 20px;
    transition: all 0.3s;
    position: relative;
    top: -3px;
}

.contact-button-item a {
    color: #e0e0e0;
}

.contact-button-item:hover {
    background-color: #e0e0e0;
}

.contact-button-item:hover a {
    color: #1a1a1a;
}

.hero {
    height: 100vh;
    background-image: url('images/アセット 11.webp');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
    color: white;
    position: relative;
    margin-top: -60px;
}

.hero-content-wrapper {
    background-color: transparent;
    padding: 0 10%;
    border-radius: 0;
    max-width: 100%;
    box-sizing: border-box;
}

.hero-event-title-dstart,
.hero-event-title-convention {
    font-family: 'Noto Serif JP', serif;
    font-size: 4.5rem;
    font-weight: 200;
    margin: 0;
    line-height: 1.2;
    letter-spacing: 2px;
}

.hero-event-subtitle {
    font-family: 'Noto Serif JP', serif;
    font-size: 2rem;
    margin: 10px 0 20px;
}

.hero-lower-content {
    margin-top: 20px;
}

.hero-event-info {
    position: absolute;
    bottom: 60px;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    padding: 15px 0;
    font-size: 1.3rem;
    text-align: center;
}

.event-info-item {
    margin: 5px 0;
}

main {
    padding: 80px 0;
}

section {
    margin-bottom: 100px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
    box-sizing: border-box;
}

h2 {
    font-family: 'Noto Serif JP', serif;
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 40px;
    font-weight: 400;
    letter-spacing: 2px;
}

.japanese-subtitle {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 1.2rem;
    display: block;
    text-align: center;
    margin-bottom: 40px;
    color: #aaa;
    font-weight: 400;
}

#introduction {
    text-align: center;
}

.introduction-catchphrase-top {
    font-size: 2.2rem;
    font-weight: bold;
    margin-bottom: 40px;
    line-height: 1.6;
    font-family: 'Noto Serif JP', serif;
}

.introduction-content {
    display: flex;
    align-items: center;
    gap: 20px;
    text-align: left;
}

.introduction-image {
    flex-basis: 40%;
}

.introduction-text {
    flex-basis: 60%;
    padding-left: 20px;
}

.introduction-image img {
    border-radius: 10px;
}

.introduction-text p {
    font-size: 1.1rem;
    line-height: 2;
}

.solution-section {
    background-color: #2b2b2b;
    padding: 60px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.solution-list {
    list-style: none;
    padding: 0;
    font-size: 1.1rem;
    line-height: 2.2;
    text-align: center;
}

.solution-list li {
    padding-left: 0;
    position: relative;
    font-family: 'Noto Serif JP', serif;
}

.solution-list li::before {
    display: none;
}

#benefits {
    text-align: center;
}

.benefits-container {
    display: grid;
    grid-template-columns: repeat(3, 280px);
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
}

.benefit-card {
    background: #2b2b2b;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.benefit-title {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.5rem;
    font-weight: bold;
    color: #df3581;
    margin-bottom: 15px;
}

.benefit-description {
    font-size: 1rem;
    line-height: 1.8;
}

.benefits-image-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.benefits-image-container img {
    width: 32%;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

#reason {
    text-align: center;
}

#reason img {
    border-radius: 10px;
    margin-bottom: 30px;
}

#reason p {
    font-size: 1.2rem;
    line-height: 2;
}

.emphasis-reason {
    font-weight: bold;
    font-size: 1.5rem;
    color: #df3581;
}

#stories {
    text-align: center;
}

.stories-timeline {
    margin-bottom: 40px;
}

.story-entry {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    gap: 20px;
}

.story-card {
    width: 300px;
    padding: 40px;
    border-radius: 10px;
    background: #2b2b2b;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    box-sizing: border-box;
}

.story-after-card {
    border: 2px solid #df3581;
}

.story-arrow {
    font-size: 2rem;
    color: #df3581;
}

.story-card-content p {
    font-size: 1.1rem;
    font-weight: bold;
}

.sparkle-text {
    font-weight: bold;
    color: #df3581;
    font-size: 2.0rem;
    margin-bottom: 30px;
    font-family: 'Noto Serif JP', serif;
}

.stories-single-image-container {
    margin-top: 30px;
    display: flex;
    gap: 20px;
    justify-content: center;
}

.stories-single-image {
    border-radius: 10px;
    flex-basis: 10%;
}

#details {
    /* background and padding moved to .marche-details */
}

.details-container {
    display: flex;
    gap: 40px;
    align-items: center;
}

.details-image img {
    border-radius: 10px;
}

.details-text {
    font-size: 1.1rem;
    line-height: 2;
}

.details-text h3 {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.marche-details {
    margin-top: 60px;
    text-align: center;
    border-top: 1px solid #444;
    padding: 30px;
    background-color: #2b2b2b;
    border-radius: 15px;
}

.marche-images {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.marche-images img {
    width: 40%;
    border-radius: 10px;
}

.marche-details h3 {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.small-text {
    font-size: 1rem;
    font-weight: normal;
    margin-left: 10px;
}

#highlights {
    text-align: center;
}

.highlights-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.highlight-card {
    background: #2b2b2b;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
}

.highlight-image {
    object-fit: cover;
}

.highlight-content {
    padding: 25px;
    flex-grow: 1;
}

.highlight-title {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.highlight-text {
    font-size: 1rem;
    line-height: 1.8;
}

#program {
    text-align: center;
}

.program-part {
    margin-bottom: 60px;
}

.program-part h3 {
    font-family: 'Noto Serif JP', serif;
    font-size: 2.2rem;
    margin-bottom: 30px;
    border-bottom: 2px solid #df3581;
    padding-bottom: 10px;
}

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

.program-card {
    background: #2b2b2b;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.program-card-image {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.program-card-content {
    padding: 20px;
    text-align: center;
}

.program-card-title {
    font-family: 'Noto Serif JP', serif;
    font-size: 0.9rem;
    font-weight: bold;
    margin-bottom: 10px;
}

#message {
    background: #2b2b2b;
    padding: 60px;
    border-radius: 15px;
}

.message-flex {
    display: flex;
    gap: 30px;
    align-items: center;
    justify-content: center;
}

.message-image img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
}

.message-sub {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid #444;
}

#testimonials {
    text-align: center;
}

.testimonials-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.testimonial-card {
    background: #2b2b2b;
    padding: 70px 30px 30px 30px;
    border-radius: 10px;
    font-size: 1.1rem;
    line-height: 1.8;
    position: relative;
}

.testimonial-icon {
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 36px;
}

.testimonial-icon::before { /* Head */
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 16px;
    background: #df3581;
    border-radius: 50%;
}

.testimonial-icon::after { /* Body */
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 20px;
    background: #df3581;
    border-radius: 10px 10px 0 0;
}


.cta-section {
    text-align: center;
    color: white;
    padding: 80px 20px;
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
    background-color: #2b2b2b;
    z-index: -1;
}

.cta-section h2 {
    color: white;
}

.cta-section .japanese-subtitle {
    color: #ccc;
}

.cta-button {
    display: inline-block;
    background-color: #df3581;
    color: #1a1a1a;
    padding: 20px 60px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2rem;
    border-radius: 30px;
    margin-top: 30px;
    transition: transform 0.3s;
}

.cta-button:hover {
    transform: scale(1.05);
}

#qa {
    background: #2b2b2b;
    padding: 60px;
    border-radius: 15px;
}

.qa-item {
    border-bottom: 1px solid #444;
    padding: 20px 0;
}

.qa-question {
    font-weight: bold;
    font-size: 1.1rem;
    cursor: pointer;
    position: relative;
    padding-right: 30px;
}

.qa-question::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: #df3581;
}

.qa-answer {
    margin-top: 15px;
    line-height: 1.8;
    display: none; /* for JS toggle */
}

.qa-question.is-open::after {
    content: '-';
}

#final-push {
    text-align: center;
}

.final-push-heading {
    font-size: 2.5rem;
    font-family: 'Noto Serif JP', serif;
    margin-bottom: 40px;
}

.final-push-image {
    border-radius: 10px;
    margin-bottom: 40px;
}

.final-push-text {
    font-size: 1.5rem;
    line-height: 2;
    font-family: 'Noto Serif JP', serif;
}

#organizer {
    background: #2b2b2b;
    padding: 60px;
    border-radius: 15px;
}

footer {
    text-align: center;
    padding: 40px 20px;
    background-color: #2b2b2b;
    color: #ccc;
    margin-top: 60px;
}

@media (max-width: 1000px) {
    .cta-section {
        padding: 80px 20px;
    }
}

@media (max-width: 767px) {
    body {
        padding-top: 60px;
    }
    .site-header {
        padding: 10px 20px;
    }
    .hero {
        margin-top: -60px;
        padding: 0 5%;
        align-items: center;
        text-align: center;
        box-sizing: border-box;
    }
    .hero-content-wrapper {
        padding: 0;
        max-width: 90%;
    }
    .hero-event-title-dstart,
    .hero-event-title-convention {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    .hero-event-info {
        font-size: 0.8rem;
    }
    .introduction-content {
        flex-direction: column;
    }
    .story-entry {
        flex-direction: column;
        margin-bottom: 20px;
    }
    .story-arrow {
        transform: rotate(90deg);
    }
    .details-container {
        flex-direction: column;
    }
    .message-flex {
        flex-direction: column;
        text-align: center;
    }
    .benefits-container {
        grid-template-columns: 1fr;
    }
    .marche-images {
        flex-direction: row;
    }
    .site-header nav {
        display: none;
    }
    .hero-lower-content img {
        width: 80% !important;
        filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.5));
    }
}

@media (max-width: 375px) {
    .story-card {
        width: 100%;
    }
}
