/* ================================
   CSS Reset & Base Styles
   ================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
}

body {
    font-family: 'Zen Kaku Gothic Antique', sans-serif;
    font-weight: 500;
    background-color: #EAE7E0;
    color: #323232;
    line-height: 1.6;
    letter-spacing: 0.04em;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ================================
   Typography
   ================================ */

/* English text uses Zain Regular */
.section-title {
    font-family: 'Zain', sans-serif;
    font-weight: 400;
    letter-spacing: 0.04em;
}

/* ================================
   Header
   ================================ */

.header {
    background-color: #EAE7E0;
    padding: 60px 0;
    text-align: center;
}

.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo {
    max-width: 100%;
    height: auto;
}

/* Show mobile logo by default (mobile-first) */
.logo-pc {
    display: none;
}

.logo-mobile {
    display: block;
    width: 180px;
    height: auto;
}

/* ================================
   Main Container
   ================================ */

.container {
    flex: 1;
    width: 100%;
    max-width: 375px;
    margin: 0 auto;
    padding: 0 16px;
}

/* ================================
   Sections
   ================================ */

.section {
    margin-bottom: 40px;
}

.section-title {
    font-size: 22px;
    line-height: 32px;
    color: #323232;
    margin-bottom: 4px;
}

.section-text {
    font-size: 14px;
    line-height: 24px;
    color: #323232;
    margin-top: 4px;
}

/* About見出しを非表示（あとで復活可能） */
.about-section .section-title {
    display: none;
}

/* ================================
   Event Cards - Mobile Layout
   ================================ */

.event-card {
    background-color: #FFFFFF;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.performer-thumbnail {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background-color: #E8E8E8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #AAA7A7;
    text-align: center;
}

.performer-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Mobile: イベント情報エリア */
.event-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.performer-name {
    font-size: 18px;
    color: #121212;
    line-height: 1.5;
}

.event-title {
    font-size: 14px;
    color: #121212;
    line-height: 1.5;
}

.event-datetime {
    font-size: 14px;
    line-height: 1.5;
    color: #121212;
}

.event-price {
    font-size: 14px;
    color: #121212;
    margin-bottom: 0;
}

/* ================================
   Buttons
   ================================ */

.btn {
    display: inline-block;
    padding: 12px 8px;
    border-radius: 12px;
    text-decoration: none;
    text-align: center;
    font-family: 'Zen Kaku Gothic Antique', sans-serif;
    font-weight: 700;
    font-size: 14px;
    transition: opacity 0.3s ease;
    width: 90px;
}

.btn:hover {
    opacity: 0.8;
}

.btn-primary {
    background-color: #78B23D;
    color: #FFFFFF;
}

.btn-disabled {
    background-color: #B2B2B2;
    color: #FFFFFF;
    pointer-events: none;
    cursor: not-allowed;
}

.btn-disabled:hover {
    opacity: 1;
}

/* ================================
   Access Section
   ================================ */

.access-address {
    font-size: 14px;
    color: #121212;
    margin-top: 4px;
}

/* ================================
   Footer - Full Width Implementation
   ================================ */

.footer {
    /* Full browser width - break out of container */
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;

    background-color: #FFFFFF;
    padding: 0;
    margin-top: 60px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
    padding-right: 24px;
}

.footer-logo {
    /* Logo sticks to the left edge - no padding/margin */
    flex-shrink: 0;
}

.footer-logo img {
    width: 64px;
    height: 64px;
    display: block;
}

.footer-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.contact-link {
    font-size: 12px;
    color: #3E8ED9;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.contact-link:hover {
    opacity: 0.7;
}

.copyright {
    font-size: 10px;
    color: #121212;
}

/* ================================
   Desktop Styles (769px and up)
   ================================ */

@media screen and (min-width: 769px) {
    /* PC: font-weight を 400 に戻す */
    body {
        font-weight: 400;
    }

    /* Header with more padding for PC */
    .header {
        padding: 100px 0;
    }

    /* Show PC logo, hide mobile logo */
    .logo-pc {
        display: block;
        width: auto;
        max-width: 550px;
        height: auto;
    }

    .logo-mobile {
        display: none;
    }

    /* Container width for desktop - fixed at 800px max */
    .container {
        max-width: 800px;
        padding: 0 40px;
    }

    /* Adjust section spacing for desktop */
    .section {
        margin-bottom: 60px;
    }

    .section-title {
        font-size: 28px;
        line-height: 40px;
        margin-bottom: 8px;
    }

    .section-text {
        font-size: 20px;
        line-height: 38px;
    }

    /* Event cards layout for desktop - 3カラム（サムネイル | 情報 | ボタン） */
    .event-card {
        padding: 24px;
        margin-bottom: 24px;
        flex-direction: row;
        align-items: center;
        gap: 16px;
    }

    .performer-thumbnail {
        width: 100px;
        height: 100px;
        align-self: center;
    }

    .event-info {
        flex: 1;
        gap: 8px;
    }

    .performer-name {
        font-size: 24px;
        font-weight: 400;
        line-height: 1.5;
        margin-bottom: 0;
    }

    .event-title {
        font-size: 18px;
        font-weight: 400;
        line-height: 1.5;
        margin-bottom: 0;
    }

    .event-datetime {
        font-size: 18px;
        line-height: 1.5;
        margin-bottom: 0;
    }

    .event-price {
        font-size: 18px;
        line-height: 1.5;
        margin-bottom: 0;
    }

    /* ボタンを右端に配置し、中央揃え */
    .event-card .btn {
        align-self: center;
        flex-shrink: 0;
    }

    /* Desktop button */
    .btn {
        padding: 12px 8px;
        width: 110px;
        font-size: 18px;
    }

    /* Access section */
    .access-address {
        font-size: 20px;
        line-height: 38px;
    }

    /* Footer for desktop */
    .footer-content {
        padding-right: 40px;
        height: 80px;
    }

    .footer-logo img {
        width: 80px;
        height: 80px;
    }

    .contact-link {
        font-size: 14px;
    }

    .copyright {
        font-size: 12px;
    }
}

/* ================================
   Note: Container max-width is fixed at 800px for PC
   For screens wider than 800px, margins will increase automatically
   ================================ */
