:root {
    --pia-blue: #0073cc;
    --pia-orange: #eb6100;
    --pia-orange-hover: #c75200;
    --text-color: #333;
    --bg-color: #f5f5f5;
}

body {
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--bg-color);
    color: var(--text-color);
}

header {
    background-color: #fff;
    border-bottom: 1px solid #ddd;
    padding: 10px 20px;
}

header .logo {
    font-size: 18px;
    font-weight: bold;
    color: var(--pia-blue);
}

.hero-banner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: block;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 15px;
    box-sizing: border-box;
}

.main-content {
    background: #fff;
    padding: 25px;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    box-sizing: border-box;
}

h1 {
    font-size: 20px;
    text-align: center;
    margin-bottom: 5px;
}

.sub-title {
    text-align: center;
    font-size: 18px;
    color: #666;
    margin-bottom: 25px;
}

/* 公演情報エリア全体の装飾 */
.program-info {
    background-color: #fff;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.6;
    text-align: center;
}

.program-info-title {
    font-size: 16px;
    font-weight: bold;
}

.seat-map-link {
    color: #0073cc;
    text-decoration: underline;
    font-weight: bold;
    display: inline-block;
    margin-top: 5px;
    margin-bottom: 15px;
}

/* 埋め込みGoogleMapの調整 */
.single-map-container {
    max-width: 800px;
    margin: 20px auto 0 auto;
    text-align: center;
}

.single-map-container span {
    display: block;
    font-weight: bold;
    margin-bottom: 8px;
    font-size: 14px;
    color: #333;
}

.single-map-container iframe {
    width: 100%;
    height: 380px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.menu-info {
    text-align: center;
    margin-top: 15px;
    font-size: 16px;
    font-weight: bold;
}

.section-title {
    font-size: 16px;
    text-align: center;
    border-bottom: 2px solid #333;
    padding-bottom: 8px;
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: bold;
}

.perf-card {
    border-bottom: 1px dashed #ccc;
    padding: 20px 0;
    width: 100%;
    box-sizing: border-box;
}

.perf-card:last-child {
    border-bottom: none;
}

.perf-date {
    font-size: 18px;
    font-weight: bold;
    color: var(--pia-blue);
    margin-bottom: 12px;
}

.perf-date.sat { color: #0073cc; }
.perf-date.sun { color: #ff3b30; }

/* ★ 3つの席種を、画面いっぱいに「完全均等な3等分」で引き伸ばす指定 */
.ticket-options-wrap {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    width: 100%;
    box-sizing: border-box;
}

.ticket-btn-box {
    border: 1px solid #ccc;
    border-radius: 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background: #fff;
    box-sizing: border-box;
    width: 100%;
}

.ticket-info {
    font-size: 13px;
    line-height: 1.4;
}

.seat-name {
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 4px;
}

.price-detail-row {
    font-size: 11px;
    color: #666;
}

.seat-total-price {
    margin-top: 4px;
    font-weight: bold;
    color: var(--pia-orange);
    font-size: 14px;
}

.pia-orange-btn {
    background-color: var(--pia-orange);
    color: #fff;
    border: none;
    padding: 10px 15px;
    font-size: 13px;
    font-weight: bold;
    border-radius: 3px;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s;
}

.pia-orange-btn:hover {
    background-color: var(--pia-orange-hover);
}

/* モーダル関連 */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex; justify-content: center; align-items: center;
    z-index: 9999; opacity: 0; pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1; pointer-events: auto;
}

.modal-content {
    background: #fff; padding: 30px 25px 25px; border-radius: 6px;
    width: 90%; max-width: 440px; box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    position: relative; transform: scale(0.9); transition: transform 0.3s ease;
    box-sizing: border-box;
}

.modal-overlay.active .modal-content { transform: scale(1); }

.modal-close-btn {
    position: absolute; top: 10px; right: 15px;
    background: none; border: none; font-size: 28px;
    cursor: pointer; color: #999; font-family: Arial, sans-serif;
}

.modal-close-btn:hover { color: #333; }

.sidebar-title {
    font-size: 16px; font-weight: bold; margin-bottom: 15px;
    padding-bottom: 8px; border-bottom: 1px solid #ddd;
}

.go-url-btn {
    width: 100%; background-color: #333; color: white; border: none;
    padding: 12px; font-size: 14px; font-weight: bold; border-radius: 4px;
    margin-top: 15px; cursor: pointer; text-align: center; display: block;
    text-decoration: none; box-sizing: border-box;
}

/* スマホ用（横幅960px以下）のレスポンシブ補正 */
@media screen and (max-width: 960px) {
    .container { padding: 0 10px; margin: 10px auto; }
    .main-content { padding: 15px; }
    .ticket-options-wrap { grid-template-columns: 1fr; }
    h1 { font-size: 18px; }
}