/* =========================================================
   ▼▼▼ 色の変更箇所（ここを書き換えると全体が変わります） ▼▼▼
   ========================================================= */
:root {
    /* 1. ページ全体の背景色 */
    --bg-page: #FAFAFA;
    
    /* 2. メインカラー（見出し、リンク、ボタンの線、チェックボックスなど） */
    --color-main: #0F68F9;
    
    /* 3. グラデーション用の明るい色（メインカラーと組み合わせて使用） */
    --color-grad-start: #08CAF1;
    
    /* 4. マウスホバー時の薄い背景色（ボタン等にマウスを乗せた時） */
    --color-hover-bg: #F0F5FF;
    
    /* 5. 枠線などに使う、半透明のメインカラー */
    --color-main-alpha-20: rgba(15, 104, 249, 0.2);
    --color-main-alpha-30: rgba(15, 104, 249, 0.3);
}
/* =========================================================
   ▲▲▲ 色の変更箇所 ここまで ▲▲▲
   ========================================================= */

/* Base & Reset */
html { scroll-behavior: smooth; }
body {
    font-family: 'Noto Sans JP', sans-serif;
    background-color: var(--bg-page); /* ← 背景色を変数が制御 */
    color: #333333;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
}
*, *::before, *::after { box-sizing: border-box; }
a { text-decoration: none; color: inherit; }
p, h1, h2, h3, dl, dt, dd, ul { margin: 0; padding: 0; }
img { max-width: 100%; height: auto; display: block; }

/* Typography & Utility */
.font-en { font-family: 'Montserrat', sans-serif; }
.gradient-text {
    /* ← グラデーション色が変数が制御 */
    background: linear-gradient(135deg, var(--color-grad-start) 0%, var(--color-main) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.gradient-bg {
    background: linear-gradient(135deg, var(--color-grad-start) 0%, var(--color-main) 100%);
}
.text-pink-link { color: var(--color-main); text-decoration: underline; word-break: break-all; }

/* Layout */
.main-container {
    width: 100%;
    max-width: 768px;
    margin: 0 auto;
    padding-bottom: 5rem;
}

/* Header */
.header {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid #f3f4f6;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    padding: 0.75rem 1rem;
}
.header-inner {
    max-width: 768px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}
.header-title {
    font-weight: 700;
    color: var(--color-main);
    letter-spacing: 0.1em;
    font-size: 1.125rem;
}

/* KV */
.kv-section { width: 100%; background-color: transparent; position: relative; }
.kv-image { width: 100%; object-fit: cover; }

/* Page Links */
.link-nav {
    padding: 0 1rem;
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.page-link-btn {
    display: block;
    width: 100%;
    background-color: #ffffff;
    border: 2px solid var(--color-main);
    border-radius: 9999px;
    padding: 1rem 0;
    text-align: center;
    font-weight: bold;
    color: var(--color-main);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    transition: background-color 0.3s;
}
.page-link-btn:hover { background-color: var(--color-hover-bg); }

/* Secondary KV */
.secondary-kv { padding: 0 1rem; margin-top: 2.5rem; }
.secondary-kv-inner {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Section Container */
.section-wrapper {
    padding: 0 1rem;
    margin-top: 3rem;
    scroll-margin-top: 5rem;
}

/* Event Info Card */
.card-info {
    background-color: #ffffff;
    border-radius: 1rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    border: 1px solid #f3f4f6;
    position: relative;
    overflow: hidden;
    padding: 1.5rem;
}
@media (min-width: 640px) { .card-info { padding: 2rem; } }
.card-border-top {
    position: absolute; top: 0; left: 0; width: 100%; height: 0.5rem;
}
.event-title {
    font-weight: 700; font-size: 1.5rem; text-align: center;
    margin-bottom: 1.5rem; letter-spacing: 0.05em;
}
.event-subtitle {
    display: block; font-size: 0.875rem; color: #9ca3af;
    margin-top: 0.25rem; font-family: 'Noto Sans JP', sans-serif;
}

/* DL List for Event Info */
.dl-list { display: flex; flex-direction: column; gap: 1rem; font-size: 0.875rem; }
@media (min-width: 640px) { .dl-list { font-size: 1rem; } }
.dl-item { padding-bottom: 0.75rem; border-bottom: 1px solid #f3f4f6; display: flex; flex-direction: column; }
@media (min-width: 640px) { .dl-item { flex-direction: row; gap: 1rem; } }
.dl-item:last-child { border-bottom: none; }
.dl-dt { font-weight: bold; color: var(--color-main); margin-bottom: 0.25rem; flex-shrink: 0; }
@media (min-width: 640px) { .dl-dt { margin-bottom: 0; width: 7rem; } }
.dl-dd { line-height: 1.6; }
.contact-label {
    display: inline-block; background-color: #f3f4f6; padding: 0.25rem 0.5rem;
    border-radius: 0.25rem; color: #4b5563; margin-bottom: 0.25rem; font-weight: bold; font-size: 0.75rem;
}
.contact-block { margin-bottom: 1rem; }
.contact-block:last-child { margin-bottom: 0; }
.text-sm-gray { font-size: 0.75rem; color: #6b7280; }

/* Ticket Sales Card */
.card-ticket {
    background-color: #ffffff;
    border-radius: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: 2px solid var(--color-main-alpha-20);
    overflow: hidden;
}
.ticket-header {
    padding: 1rem 1.5rem;
    text-align: center;
}
.ticket-title {
    color: #ffffff; font-weight: bold; font-size: 1.25rem; letter-spacing: 0.05em;
}
@media (min-width: 640px) { .ticket-title { font-size: 1.5rem; } }
.ticket-body { padding: 1.5rem; }
@media (min-width: 640px) { .ticket-body { padding: 2rem; } }

/* DL List for Tickets */
.ticket-dl { display: flex; flex-direction: column; gap: 1.25rem; font-size: 0.875rem; }
@media (min-width: 640px) { .ticket-dl { font-size: 1rem; } }
.ticket-dt { font-weight: bold; display: flex; align-items: center; color: #333333; margin-bottom: 0.5rem; }
.ticket-dt::before {
    content: ""; display: inline-block; width: 0.375rem; height: 1rem;
    background-color: var(--color-main); border-radius: 9999px; margin-right: 0.5rem;
}
.ticket-dd { padding-left: 0.75rem; color: #333333; line-height: 1.6; }
.ticket-highlight {
    font-weight: bold; font-size: 1.125rem;
    border-bottom: 2px solid var(--color-main-alpha-30); padding-bottom: 0.125rem;
}
.ticket-alert {
    background-color: #fffbeb; color: #92400e; padding: 0.75rem; border-radius: 0.5rem;
    font-size: 0.75rem; margin-top: 0.5rem; border: 1px solid #fde68a;
}

/* Entry Area (Checkboxes & Buttons) */
.entry-block-wrapper {
    margin-top: 2rem; padding-top: 2rem; border-top: 1px solid #f3f4f6; text-align: center;
}
.entry-box-inner {
    background-color: #f9fafb; border-radius: 0.75rem; padding: 1rem;
}
@media (min-width: 640px) { .entry-box-inner { padding: 1.5rem; } }
.entry-checkbox-label {
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; gap: 0.75rem; margin-bottom: 0.5rem;
}
.entry-checkbox-text { font-weight: bold; color: #374151; transition: color 0.2s; }
.entry-checkbox-label:hover .entry-checkbox-text { color: var(--color-main); }
.entry-note-small { font-size: 0.75rem; color: #6b7280; margin-bottom: 1.5rem; text-align: center; line-height: 1.4; }

/* Custom Checkbox */
.custom-checkbox {
    appearance: none; -webkit-appearance: none;
    width: 24px; height: 24px; border: 2px solid #ccc; border-radius: 4px;
    outline: none; transition: all 0.2s; cursor: pointer; position: relative;
    background-color: #fff;
}
.custom-checkbox:checked { background-color: var(--color-main); border-color: var(--color-main); }
.custom-checkbox:checked::after {
    content: '✔'; color: white; position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%); font-size: 14px;
}

/* Modern Entry Button */
.entry-btn {
    background: #d1d5db; /* gray-300 */
    color: #6b7280; /* gray-500 */
    border: none;
    width: 100%;
    max-width: 80%;
    height: 48px;
    font-size: 1.125rem;
    font-weight: bold;
    text-align: center;
    margin: 0 auto;
    border-radius: 9999px;
    cursor: not-allowed;
    transition: all 0.3s ease;
    position: relative;
    opacity: 0.5;
}
.entry-btn-arrow {
    position: absolute; right: 1.5rem; top: 50%; transform: translateY(-50%);
    font-size: 0.875rem;
}
/* JSで付与されるアクティブ状態のクラス */
.entry-btnStyle_checked {
    background: linear-gradient(135deg, var(--color-grad-start) 0%, var(--color-main) 100%);
    color: #ffffff;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    opacity: 1;
}
.entry-btnStyle_checked:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

/* Accordion (Details & Summary) */
.accordion-wrapper {
    background-color: #ffffff; border-radius: 0.75rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); border: 1px solid #e5e7eb; overflow: hidden;
}
.accordion-summary {
    padding: 1.25rem; font-weight: bold; color: #1f2937; background-color: #f9fafb;
    position: relative; outline: none; transition: background-color 0.2s; padding-right: 2.5rem;
    list-style: none; cursor: pointer;
}
.accordion-summary::-webkit-details-marker { display: none; }
.accordion-summary:hover { background-color: var(--color-hover-bg); }
.accordion-summary::after {
    content: '＋'; position: absolute; right: 1.25rem; top: 50%; transform: translateY(-50%);
    color: var(--color-main); font-weight: bold; transition: transform 0.3s;
}
details[open] > .accordion-summary::after { content: '－'; transform: translateY(-50%) rotate(180deg); }
.accordion-summary-note { font-size: 0.75rem; font-weight: normal; color: var(--color-main); margin-left: 0.5rem; }
.accordion-content {
    padding: 1.5rem; font-size: 0.875rem; color: #4b5563; line-height: 1.6; border-top: 1px solid #e5e7eb;
}
.accordion-block { margin-bottom: 1.5rem; }
.accordion-block:last-child { margin-bottom: 0; }
.accordion-block-title {
    font-weight: bold; color: #1f2937; margin-bottom: 0.25rem; border-left: 4px solid var(--color-main); padding-left: 0.5rem;
}
.accordion-list { list-style-type: disc; padding-left: 1.25rem; margin-top: 0.375rem; }
.accordion-list li { margin-bottom: 0.375rem; }
.accordion-img-placeholder {
    background-color: #f3f4f6; border-radius: 0.5rem; padding: 1rem; text-align: center;
    font-size: 0.75rem; color: #9ca3af; border: 1px dashed #d1d5db; margin-bottom: 0.5rem;
}

/* Banner */
.banner-section { padding: 0 1rem; margin-top: 3rem; margin-bottom: 2rem; text-align: center; }
.banner-link {
    display: inline-block; transition: opacity 0.2s;
    filter: drop-shadow(0 4px 3px rgba(0, 0, 0, 0.07));
}
.banner-link:hover { opacity: 0.8; }
.banner-img { width: 100%; max-width: 640px; border-radius: 0.75rem; }

/* Footer */
.footer-wrap { background-color: #333333; color: #ffffff; padding: 2rem 0; }
.footer-inner { max-width: 768px; margin: 0 auto; padding: 0 1rem; }
.footer-nav { margin-bottom: 2rem; border-bottom: 1px solid #4b5563; padding-bottom: 2rem; }
.footer-ul {
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    gap: 1rem; font-size: 0.875rem; list-style: none;
}
@media (min-width: 640px) { .footer-ul { flex-direction: row; gap: 2rem; } }
.footer-link { display: flex; align-items: center; gap: 0.25rem; transition: color 0.2s; }
.footer-link:hover { color: var(--color-main); }
.footer-icon { width: 0.75rem; height: 0.75rem; }
.footer-copy { text-align: center; font-size: 0.75rem; color: #9ca3af; }