/* Base Styles & Variables */
:root {
    --text-color: #333333;
    --heading-color: #2c3e50;
    --primary-color: #2E7D32;
    /* Fresh Green */
    --primary-light: #E8F5E9;
    /* Light Green Background */
    --secondary-color: #039BE5;
    /* Sky Blue */
    --accent-color: #FFA000;
    /* Warm Orange */
    --background-color: #ffffff;
    --background-off: #f9f9f9;
    --border-radius: 8px;
    --font-main: 'Noto Sans JP', sans-serif;
    --transition: all 0.3s ease;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    line-height: 1.8;
    margin: 0;
    padding: 0;
    background-color: var(--background-color);
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
    color: var(--heading-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.container {
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 1rem;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-title span {
    font-size: 1rem;
    color: var(--primary-color);
    margin-top: 5px;
    font-weight: 500;
}

.section-lead {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 6px rgba(46, 125, 50, 0.2);
}

.btn-primary:hover {
    background-color: #1B5E20;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(46, 125, 50, 0.3);
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.9rem;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-sm:hover {
    background: var(--primary-color);
    color: white;
}

/* Header */
.header {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.2rem;
    line-height: 1.2;
    color: var(--primary-color);
    margin: 0;
}

.nav ul {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav a {
    font-weight: 500;
}

.nav a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-light) 0%, #ffffff 100%);
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 60px;
    text-align: center;
    /* Center align for mobile first usually, but let's keep it clean */
}

.hero-sub {
    font-size: 1.1rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 20px;
    display: inline-block;
    padding: 5px 15px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 20px;
}

.hero-title {
    font-size: 3rem;
    line-height: 1.4;
    margin-bottom: 30px;
    letter-spacing: 0.05em;
}

.hero-value {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: #555;
    background: rgba(255, 255, 255, 0.6);
    padding: 20px;
    border-radius: var(--border-radius);
    backdrop-filter: blur(5px);
}

/* Services */
.services {
    background-color: #fff;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.service-card {
    background: #fff;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-top: 4px solid var(--primary-color);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.service-card .highlight {
    font-size: 0.9rem;
    color: var(--secondary-color);
    display: block;
    margin-top: 5px;
}

.recommend-box {
    background-color: var(--primary-light);
    padding: 40px;
    border-radius: var(--border-radius);
    text-align: center;
}

.recommend-box h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.recommend-box ul {
    display: inline-block;
    text-align: left;
}

.recommend-box li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
}

.recommend-box li::before {
    content: "✓";
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Strengths (Organizer) */
.strengths {
    background-color: #f4f6f8;
    /* Slightly grey/blueish for trust */
}

.organizer-box {
    background: #fff;
    padding: 60px 40px;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 2px solid #e1e8ed;
}

.organizer-header {
    text-align: center;
    margin-bottom: 20px;
}

.badge {
    background: var(--heading-color);
    color: #fff;
    padding: 5px 15px;
    border-radius: 4px;
    font-size: 0.8rem;
    vertical-align: middle;
    margin-left: 10px;
}

.strength-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.strength-list li h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
    display: inline-block;
}

/* Flow */
.flow {
    background-color: #fff;
}

.flow-steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

.step {
    flex: 1 1 200px;
    background: var(--background-off);
    padding: 30px 20px;
    border-radius: var(--border-radius);
    position: relative;
    text-align: center;
}

.step-number {
    background: var(--primary-color);
    color: #fff;
    width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 50%;
    margin: 0 auto 20px;
    font-weight: bold;
    font-size: 1.1rem;
}

.step h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.step p {
    font-size: 0.9rem;
}

/* Members */
.members {
    background-color: var(--primary-light);
}

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

.member-card {
    background: #fff;
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    box-sizing: border-box;
}

.member-card p {
    flex-grow: 1;
}

.member-card:hover {
    transform: translateY(-5px);
}

.member-card h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.link-arrow {
    color: var(--secondary-color);
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    margin-top: 15px;
}

.link-arrow::after {
    content: "→";
    margin-left: 5px;
    transition: margin-left 0.2s;
}

.link-arrow:hover::after {
    margin-left: 10px;
}

/* CTA */
.contact {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1B5E20 100%);
    color: #fff;
    text-align: center;
}

.contact-title {
    color: #fff;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.organizer-msg {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: var(--border-radius);
    margin: 30px auto;
    max-width: 600px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact .btn-primary {
    background: #fff;
    color: var(--primary-color);
    font-size: 1.2rem;
    padding: 15px 50px;
}

.contact .btn-primary:hover {
    background: #f0f0f0;
    color: #1B5E20;
}

/* FAQ */
.faq {
    background-color: #fff;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.faq-item dt {
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.faq-item dd {
    margin: 0;
    padding-left: 20px;
}

/* Footer */
.footer {
    background: #333;
    color: #fff;
    padding: 20px 0;
    text-align: center;
    font-size: 0.8rem;
}

/* Responsive */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 15px;
    }

    .logo {
        text-align: center;
    }

    .nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
        font-size: 0.9rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .service-grid,
    .member-grid,
    .strength-list {
        grid-template-columns: 1fr;
    }

    .flow-steps {
        flex-direction: column;
    }

    .step {
        width: 100%;
        box-sizing: border-box;
    }

    .section {
        padding: 60px 0;
        /* Reduced padding for mobile */
    }

    .hero-title {
        font-size: 2.2rem;
        /* Smaller title for mobile */
    }

    .hero-btn-group {
        width: 100%;
        padding: 0 20px;
        box-sizing: border-box;
    }

    .btn {
        width: 100%;
        /* Full width buttons on mobile */
        max-width: 100%;
        box-sizing: border-box;
    }

    .service-card,
    .member-card,
    .menu-block,
    .food-item {
        padding: 20px;
        /* Conserve space */
    }
}

/* Event Page & New Elements */
.hero-btn-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    margin-top: 30px;
    width: 100%;
}

.btn-accent {
    background-color: var(--accent-color);
    color: #fff;
    box-shadow: 0 4px 10px rgba(255, 160, 0, 0.4);
    font-size: 1.1rem;
    padding: 15px 40px;
    width: 100%;
    max-width: 400px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.4;
}

.btn-accent:hover {
    background-color: #FF8F00;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 160, 0, 0.5);
}

.pulse-anim {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 160, 0, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(255, 160, 0, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 160, 0, 0);
    }
}

.top-visual-section {
    padding: 40px 0;
    text-align: center;
    background-color: #fff;
}

.responsive-img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
}

.shadow-img {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Event Detail Page */
.event-detail {
    background-color: #f9f9f9;
}

.event-image-container {
    text-align: center;
    margin-bottom: 40px;
}

.event-content {
    background: #fff;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.menu-section {
    margin-top: 40px;
}

.menu-section h3,
.food-section h3 {
    border-left: 5px solid var(--primary-color);
    padding-left: 15px;
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.menu-block {
    margin-bottom: 30px;
    border-bottom: 1px dashed #ddd;
    padding-bottom: 20px;
    position: relative;
}

.menu-block:last-child {
    border-bottom: none;
}

.time-badge {
    background: var(--heading-color);
    color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.9rem;
    display: inline-block;
    margin-bottom: 10px;
}

.menu-block h4 {
    font-size: 1.3rem;
    margin-bottom: 5px;
    color: var(--text-color);
}

.price {
    font-weight: bold;
    color: var(--accent-color);
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.menu-block ul li {
    padding-left: 20px;
    position: relative;
    margin-bottom: 5px;
}

.menu-block ul li::before {
    content: "●";
    color: #ccc;
    font-size: 0.8rem;
    position: absolute;
    left: 0;
    top: 2px;
}

/* Food Section */
.food-section {
    background-color: var(--primary-light);
    padding: 30px;
    border-radius: var(--border-radius);
    margin-top: 40px;
    position: relative;
}

.special-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: #E53935;
    color: #fff;
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(229, 57, 53, 0.3);
}

.food-lead {
    margin-bottom: 25px;
    font-weight: 500;
}

.food-menu {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    text-align: left;
}

.food-item {
    background: #fff;
    padding: 20px;
    border-radius: var(--border-radius);
}

.food-item h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.note {
    font-size: 0.9rem;
    color: #E53935;
    margin-top: 15px;
    text-align: right;
    font-weight: bold;
}

.cta-area {
    margin-top: 50px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.btn-secondary {
    background: #eee;
    color: #555;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
}

.btn-secondary:hover {
    background: #ddd;
}

@media (max-width: 768px) {
    .event-content {
        padding: 20px;
    }

    /* Mobile Typography & Spacing Polish */
    .br-desktop {
        display: none;
    }

    /* Specific break for very small screens (<400px) */
    .br-tiny {
        display: none;
    }

    @media (max-width: 400px) {
        .br-tiny {
            display: inline;
        }
    }

    .section-title {
        font-size: 1.5rem;
        line-height: 1.4;
        word-break: keep-all;
        /* Prevent awkward word breaks */
        overflow-wrap: break-word;
    }

    .hero-title {
        font-size: 1.8rem;
        line-height: 1.3;
    }

    .hero-sub {
        font-size: 0.9rem;
    }

    .hero-value p {
        font-size: 0.95rem;
        line-height: 1.6;
        padding: 0 10px;
    }

    .section-lead {
        font-size: 1rem;
        line-height: 1.6;
    }

    .menu-section h3,
    .food-section h3,
    .service-card h3 {
        font-size: 1.3rem;
    }

    .menu-block h4,
    .food-item h4 {
        font-size: 1.1rem;
    }
}