/* メイン */
.main {
    padding-inline: 20px;
    padding-top: 10px;
    padding-bottom: 110px;
}

.main h1 {
    font-size: 20px;
}


/* NEXT EVENT */
.next-event {
    width: 100%;
    overflow: hidden;
    border-radius: 24px;
    background: #747895;
    color: white;
    box-shadow: 1px 3px 3px rgba(0, 0, 0, 0.125);
}


/* イベント画像 */
.next-event-hero {
    position: relative;
    height: 170px;
    overflow: hidden;
    border-radius: 24px;
}

.next-event-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.next-event-overlay {
    position: absolute;
    inset: 0;
    background: rgba(42, 46, 75, 0.546);
}


/* イベント情報 */
.next-event-content {
    position: relative;
    z-index: 3;

    display: flex;
    flex-direction: column;
    justify-content: center;

    height: 100%;
    padding: 24px;

    pointer-events: none;
}

/* NEXT EVENT */

.next-event-label {
    margin: 0 0 4px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
}


/* イベントタイトル */

.next-event-title {
    margin: 0 0 6px;
    font-size: 28px;
}

.event-detail-button {
    position: absolute;
    inset: 0;
    z-index: 2;

    width: 100%;
    height: 100%;

    padding: 0;
    border: none;
    background: transparent;

    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

/* 日付・会場 */

.next-event-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.next-event-date,
.next-event-place {
    margin: 0;
    font-size: 12px;
    line-height: 1.4;
}

.next-event-oshi {
    position: absolute;
    left: 24px;
    bottom: 14px;

    display: flex;
    align-items: center;
    gap: 8px;

    padding: 0;
    border: none;
    background: transparent;

    color: white;
    font-family: inherit;

    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    pointer-events: auto;
}

.next-event-oshi-icon {
    width: 28px;
    height: 28px;

    border-radius: 50%;
    object-fit: cover;
}

.next-event-oshi-name {
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
}

.next-event-oshi-arrow {
    font-size: 20px;
    line-height: 1;
}

.next-event-status {
    display: flex;
    align-items: center;
    height: 70px;
}


.event-progress {
    width: 65%;
    padding: 0 20px;
}

.event-progress-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.event-progress-label,
.event-progress-count {
    margin: 0;
    font-size: 13px;
    font-weight: 500;
}

.event-countdown {
    width: 35%;
    padding: 0 16px;
    border-left: 1px solid rgba(255, 255, 255, 0.35);
}

.countdown-label,
.countdown {
    margin: 0;
}

.progress-bar {
    width: 100%;
    height: 10px;
    margin-top: 8px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.3);
}

.progress-bar-fill {
    width: 60%;
    height: 100%;
    border-radius: 999px;
    background: white;
}

.event-countdown {
    width: 35%;
    height: 100%;
    padding: 0 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-left: 1px solid rgba(255, 255, 255, 0.35);
}

.countdown-label {
    margin: 0;
    font-size: 10px;
}

.countdown {
    display: flex;
    align-items: baseline;
    gap: 2px;
    margin: 2px 0 0;
    white-space: nowrap;
}

.countdown-number {
    font-weight: 600;
    line-height: 1;
    font-size: 24px;
}


.upcoming-schedule {
    margin-top: 32px;
}

.section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.section-title {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
}

.section-more {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0;
    border: none;
    background: transparent;
    color: var(--theme-color);
    font-family: inherit;
    font-size: 11px;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}


.schedule-list {
    margin-top: 16px;
}

.schedule-item {
    width: 100%;
    min-height: 72px;
    display: grid;
    grid-template-columns: 52px 1fr auto 12px;
    align-items: center;
    gap: 10px;
    padding: 12px 0;
    border: none;
    border-bottom: 1px solid #e2e2e2;
    background: transparent;
    color: #222222;
    font-family: inherit;
    text-align: left;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}



.schedule-date {
    font-size: 12px;
    font-weight: 600;
}


.schedule-content {
    min-width: 0;
}

.schedule-title {
    margin: 0;

    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
}

.schedule-caption {
    margin: 2px 0 0;

    color: #999999;
    font-size: 11px;
    font-weight: 400;
    line-height: 1.4;
}


.schedule-category {
    padding: 5px 10px;
    border-radius: 999px;
    background: #f0f0f2;
    color: #7d829e;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
}


.schedule-arrow {
    color: #aaaaaa;
    font-size: 24px;
    line-height: 1;
}


/* 開発用データリセット */
.dev-reset-panel {
    margin: 48px 20px 32px;
    padding: 20px;
    border: 1px dashed #aaa;
    border-radius: 12px;
    background: #f5f5f7;
}

.dev-reset-title {
    margin-bottom: 16px;
    color: #777;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.dev-reset-panel button {
    display: block;
    width: 100%;
    padding: 12px;
    margin-top: 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
    background: white;
    color: #333;
    font: inherit;
    cursor: pointer;
}

.dev-reset-panel button:hover {
    background: #e9e9ed;
}