: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;
}

.hero-banner-wrap {
    max-width: 1200px;
    margin: 20px auto 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

.hero-banner-osechi {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.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: 25px;
    border-radius: 6px;
    margin-bottom: 30px;
    font-size: 14px;
    line-height: 1.8;
    color: #333;
    text-align: left;
    box-sizing: border-box;
}

.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;
}

.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;
}

/* お品書き・メニュー情報枠スタイル */
.osechi-menu-box {
    background-color: #fdfbf7;
    border: 1px solid #e2d9cf;
    border-radius: 6px;
    padding: 20px;
}

.menu-head-title {
    font-size: 15px;
    font-weight: bold;
    color: #881337;
    border-bottom: 1px solid #f3e8e2;
    padding-bottom: 6px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* 画像付きメニュー用3列グリッド */
.highlight-menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 15px;
}

.highlight-menu-item {
    background: #fff;
    border: 1px solid #eee2d7;
    border-radius: 6px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
}

/* 画像全体が収まるように object-fit: contain */
.highlight-menu-item img {
    width: 100%;
    height: 160px;
    object-fit: contain;
    background-color: #fcfbfa;
    display: block;
}

.highlight-menu-item span {
    padding: 8px 5px;
    font-size: 13px;
    font-weight: bold;
    color: #431407;
    display: block;
    background: #fff;
    border-top: 1px solid #f5ede6;
}

.menu-list-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 15px;
    font-size: 13px;
    color: #475569;
    padding-left: 5px;
}

.menu-list-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.menu-list-item::before {
    content: "🌸";
    font-size: 10px;
}

.chef-message-box {
    margin-top: 15px;
    padding-top: 12px;
    border-top: 1px dashed #cbd5e1;
    font-size: 12px;
    color: #64748b;
    font-style: italic;
    text-align: left; /* ★ 右揃えから左揃えに変更 */
}

/* おせち専用カードスタイル */
.osechi-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.osechi-card-inner {
    display: flex;
    flex-wrap: wrap;
    padding: 24px;
    gap: 24px;
    align-items: center; /* 左右中央揃えでバランス維持 */
}

/* 左側画像エリア */
.osechi-img-wrap {
    flex: 0 0 45%;
    max-width: 480px;
    min-width: 300px;
}

.osechi-img-wrap img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    object-fit: cover;
    display: block;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

/* 右側詳細エリア */
.osechi-details {
    flex: 1;
    min-width: 320px;
    max-width: none;
    text-align: left;
}

.osechi-title {
    font-size: 20px;
    font-weight: bold;
    color: #1e293b;
    border-bottom: 2px solid #b91c1c;
    padding-bottom: 8px;
    margin-bottom: 12px;
}

.plan-price-box {
    background-color: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 12px;
    margin-top: 10px;
}

/* チケット・おせち ボタン枠 */
.ticket-options-wrap {
    display: grid;
    grid-template-columns: 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: 10px 14px;
    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;
}

.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: 12px 28px;
    font-size: 15px;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s;
    flex-shrink: 0;
    min-width: 90px;
    text-align: center;
}

.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;
}

/* レスポンシブ補正 */
@media screen and (max-width: 960px) {
    .container { padding: 0 10px; margin: 10px auto; }
    .hero-banner-wrap { padding: 0 10px; }
    .main-content { padding: 15px; }
    .osechi-card-inner { flex-direction: column; }
    .osechi-img-wrap { flex: 1 1 100%; max-width: 100%; }
    .osechi-details { max-width: 100%; }
    h1 { font-size: 18px; }
}

@media screen and (max-width: 600px) {
    .highlight-menu-grid { grid-template-columns: 1fr; }
    .highlight-menu-item img { height: 200px; }
    .menu-list-grid { grid-template-columns: 1fr; }
}