/* ===================================================
   長岡まつり花火大会 LP — nagaoka.css
   Breakpoints:
     Desktop : 769px ~
     ～768px : タブレット／スマホ（縦積み）
=================================================== */

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 100%;
    -webkit-text-size-adjust: 100%;
}

/* bg.jpg を body 全体に敷いて hero / lottery を通して見せる */
body {
    font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #333;
    line-height: 1.5;
    min-width: 320px;
    font-weight: normal !important;
}

a {
    color: inherit;
    word-break: break-all;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

small {
    font-size: 0.875rem
}

.blue-bg {
    background-image: url(../img/pc-fireworks.png), linear-gradient(#292e50, #444c83);
    background-repeat: no-repeat;
    background-size: contain;
}

.white-bg {
    background-color: #F9F9F9;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    background-image: url(../img/Pattern.png);
}

.no-pc {
    display: none;
}

.link-flex {
    display: flex;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    border-bottom: solid 1px;
    width: fit-content;

}

@media (max-width: 768px) {
    .no-sp {
        display: none;
    }

    .no-pc {
        display: block;
    }

    .blue-bg {
        background-image: linear-gradient(#292e50, #444c83);
    }
}

@media (max-width: 499px) {
    .link-flex {
        display: inline-block;
        line-height: 1.5;
        padding-bottom: 2px;
    }

    .link-flex svg {
        display: inline-block;
        width: 16px;
        height: 16px;
        overflow: hidden;
        vertical-align: baseline;
    }

    .link-flex .svg14 {
        width: 14px;
        height: 14px;
    }
}


/* ===================================================
   HERO
=================================================== */
.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 24px;
    min-height: 420px;
    max-width: 650px;
    margin: 0 auto;
}



/* ===================================================
   一般販売について[抽選]
=================================================== */
.lottery-section {
    /* 背景は body の bg.jpg を透かして表示 */
    background: transparent;
    padding: 60px 24px 80px;
    width: 100%;
}

.lottery-inner {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

/* バッジ */
.lottery-badge-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: -1px;
}

.lottery-badge {
    display: inline-flex;
    padding: 12px 32px;
    background: #AC951F;
    border-radius: 4px;
    position: absolute;
    top: -30px;
    justify-content: center;
}

.lottery-badge-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    text-align: center;
}

/* 白パネル */
.lottery-panel {
    background: #fff;
    border-radius: 10px;
    padding: 48px 60px 60px;
    border: solid 1px #AC951F;
}

/* テーブル */
.lottery-table {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

/* 各行 */
.lottery-row {
    display: flex;
    align-items: flex-start;
    gap: 28px;
}

/* ラベル */
.lottery-label {
    flex-shrink: 0;
    width: 220px;
    min-width: 220px;
    border: 1px solid #AC951F;
    border-radius: 4px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lottery-label span {
    font-size: 1rem;
    font-weight: 700;
    color: #AC951F;
    text-align: left;
    white-space: wrap;
}

/* 値 */
.lottery-value {
    flex: 1;
    font-size: 1rem;
    color: #333;
    line-height: 1.5;
    padding-top: 10px;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.lottery-value a {
    text-decoration: underline;
}


.lottery-value strong {
    font-weight: 700;
}

.lottery-note {
    font-size: 0.8125rem;
    display: flex;
    flex-direction: column;
}


/* ---- 各グループ共通 ---- */
.ticket-purchase-group {
    display: flex;
    flex-direction: column;
    gap: 26px;
    max-width: 900px;
    width: 100%;
    align-items: center;
    margin-top: 80px;
}



/* ---- ボタンリスト ---- */
.ticket-btn-list {
    display: flex;
    flex-direction: column;
    gap: 26px;
    max-width: 450px;
    width: 100%;
}

/* ---- ボタン基本スタイル ---- */
.ticket-btn {
    display: flex;
    align-items: center;
    padding: 20px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1.0625rem;
    font-weight: 700;
    font-family: 'Noto Sans JP', sans-serif;
    cursor: pointer;
    transition: transform 0.12s ease, box-shadow 0.12s ease;
    width: 100%;
    box-sizing: border-box;
}

.ticket-btn-label {
    flex: 1;
    text-align: center;
    font-size: 1.25rem;
}

.ticket-btn-chevron {
    font-size: 1.375rem;
    font-weight: 400;
    line-height: 1.5;
    flex-shrink: 0;
}


.ticket-btn--gold {
    background: #AC951F;
    color: #fff;
    box-shadow: 0 4px 0 0 #7E6A07;
}

.ticket-btn--gold:hover {
    box-shadow: none;
    transform: translateY(3px);
    color: #fff;
    text-decoration: none;
}

.ticket-btn--inactive {
    background-color: #A2A2A2;
    color: #fff;
}

.ticket-btn--inactive:hover {
    color: #fff;
    text-decoration: none;
}

.gold-group-title {
    color: #AC951F;
    font-size: 1.125rem;
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.5;
}

.purple-group-title {
    color: #7D00BE;
    font-size: 1.25rem;
    border-bottom: dashed 1px #7D00BE;
    width: 100%;
    text-align: center;
    line-height: 1.5;
}

.gold-group-line {
    width: 100%;
    height: 2px;
    background: #AC951F;
    position: relative;
}

.gold-group-line::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translate(50%, -50%) rotate(45deg);
    width: 8px;
    height: 8px;
    background: #AC951F;
}

.gold-group-line::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    width: 8px;
    height: 8px;
    background: #AC951F;
}

/* ===================================================
   ～ 768px：タブレット／スマホ — 縦積みレイアウト
=================================================== */
@media (max-width: 768px) {
    .sp-hero {
        max-width: 450px;
        width: 100%;
    }

    /* Lottery */
    .lottery-section {
        padding: 40px 16px 60px;
    }

    .lottery-badge {
        padding: 8px 24px;
        width: 80%;
    }

    .lottery-badge-text {
        font-size: 1.125rem;
        white-space: normal;
    }


    .lottery-panel {
        padding: 75px 20px 40px;
    }

    .lottery-table {
        gap: 24px;
    }

    /* 768px 以下でラベルをコンテンツ上に縦積み */
    .lottery-row {
        flex-direction: column;
        gap: 8px;
    }

    .lottery-label {
        width: 100%;
        min-width: unset;
        justify-content: flex-start;
        padding: 8px 12px;
    }

    .lottery-label span {
        white-space: normal;
    }

    .lottery-value {
        padding-top: 0;
    }

    .lottery-note {
        font-size: 0.925rem
    }

    .ticket-purchase-line {
        margin-bottom: 60px;
    }

    .ticket-section-title {
        font-size: 0.9375rem;
    }

    .ticket-purchase-inner {
        padding: 0px 16px;
    }

    .ticket-btn-label {
        font-size: 1rem;
    }

    .ticket-purchase-group {
        margin-top: 40px;
    }

    .purple-group-title {
        font-size: 1.125rem;
    }
}

/* ===================================================
   ～ 499px：スマホ追加調整
=================================================== */
@media (max-width: 499px) {


    .hero {
        padding: 28px 12px;
        min-height: 220px;
    }



    .ticket-section-title {
        font-size: 0.8125rem;
    }

    .ticket-btn {
        font-size: 0.8125rem;
        padding: 16px 16px;
        gap: 20px;
    }

    .ticket-btn--white {
        width: 100%;
        padding: 16px 24px;
    }

    .lottery-panel {
        padding: 75px 20px 40px;
    }
}


/* ===================================================
   観覧席情報セクション
=================================================== */
.venue-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 80px;
    width: 100%;
    padding: 80px 20px;
}

/* 提灯行 */
.venue-lantern-row {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    pointer-events: none;
    position: absolute;
}

.venue-lantern-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 220px;
}

.venue-section-main {
    width: 100%;
    max-width: 900px;
}



/* コンテンツ */
.venue-content {
    width: 100%;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

/* バッジ */
.venue-badge-wrap {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-bottom: 32px;
}

.venue-badge {
    display: inline-flex;
    padding: 4px 40px;
    background: #AC951F;
    border-radius: 4px;
    max-width: 900px;
    width: 100%;
    justify-content: center;
}

.venue-badge-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.05em;
}

/* 地図カード */
.venue-map-card {
    width: 100%;
    border-radius: 0 0 8px 8px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    max-width: 800px;
}

.venue-map-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}

.venue-map-note {
    font-size: 0.875rem;
    color: #333;
    line-height: 1.5;
    text-align: center;
}



/* ===================================================
   観覧席カード
=================================================== */
.seat-list {
    width: 100%;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    margin-top: 80px;
    padding: 0px 24px;
}


/* ---- Venue group wrappers (seat-a-list / seat-b-list) ---- */
.seat-a-list,
.seat-b-list {
    border-radius: 8px;
    overflow: hidden;
    margin: 0 auto;
    margin-top: 60px;
    max-width: 800px;
    width: 100%;
}

.seat-group-header {
    padding: 0px 6px 0px 6px;
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

/* Horizontal lines with diamond endpoints */
.seat-group-line {
    width: 100%;
    height: 2px;
    background: #EA336A;
    position: relative;
}

.seat-b-list .seat-group-line {
    width: 100%;
    height: 2px;
    background: #005BAC;
    position: relative;
}

.seat-group-line:before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    width: 8px;
    height: 8px;
    background: #EA336A;
}

.seat-group-line::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translate(50%, -50%) rotate(45deg);
    width: 8px;
    height: 8px;
    background: #EA336A;
}

.seat-group-title {
    flex-shrink: 0;
    color: #EA336A;
    font-size: 1.25rem;
    font-weight: 700;
    font-family: 'Noto Sans JP', sans-serif;
    margin: 0;
    white-space: nowrap;
    text-align: center;
}

.seat-group-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 40px;
}

/* Gray divider between seat cards */
.seat-divider {
    height: 1px;
    background: #e0e0e0;
    margin: 26px;
    max-width: 800px;
    width: 100%;
}

/* Cards inside groups: remove individual shadow/radius */
.seat-a-list .seat-card,
.seat-b-list .seat-card {
    box-shadow: none;
    border-radius: 0;
    max-width: 800px;
    width: 100%;
}

.seat-card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* 上段：写真 ＋ テキスト */
.seat-card-body {
    display: flex;
    align-items: stretch;
    gap: 12px;
}

/* 写真エリア */
.seat-card-image-wrap {
    position: relative;
    flex: 0 0 280px;
    min-height: 180px;
    overflow: hidden;
}

.seat-card-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;

}


/* テキストエリア */
.seat-card-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
}

.seat-card-header {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.seat-card-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #EA336A;
    margin: 0;
}

.seat-card-badge {
    display: inline-block;
    padding: 2px 10px;
    border: 1px solid #F06123;
    background-color: #FFFCCD;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #F06123;
    white-space: nowrap;
    line-height: 150%
}

.seat-card-badge2 {
    display: inline-block;
    padding: 2px 10px;
    border: 1px solid #9C46C1;
    background-color: #F8E8FF;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #9C46C1;
    white-space: nowrap;
    line-height: 150%
}

.seat-card-subtitle {
    font-weight: 700;
    color: #333;
    margin: 0;
}

.seat-card-desc {
    font-size: 0.875rem;
    color: #555;
    line-height: 1.5;
    margin: 0;
}

.seat-card-descstrong {
    color: #EA336A;
    font-size: 0.875rem;
    font-weight: 700;
}

.seat-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}

.seat-card-tag {
    display: inline-block;
    padding: 4px 12px;
    border: 1px solid #EA336A;
    border-radius: 3px;
    font-size: 0.8125rem;
    font-weight: bold;
    line-height: 1.5;
    color: #EA336A;
}

/* 下段：価格バー */
.seat-card-price {
    background: #FFE8EF;
    padding: 12px 24px;
    text-align: center;
    border-radius: 4px;
}

.seat-card-price-text {
    font-size: 0.9375rem;
    color: #EA336A;
    font-weight: 700;
    margin: 0;
}

.seat-card-price-text strong {
    font-size: 1.375rem;
    font-weight: 700;
    color: #EA336A;
    margin-left: 12px;
}



/* ===== 観覧席 Tablet/Mobile (～768px) ===== */
@media (max-width: 768px) {

    .venue-lantern-row {
        display: none;
    }

    .venue-section {
        padding: 60px 16px;
    }

    .venue-lantern-group {
        width: 160px;
    }

    .venue-lanterns {
        gap: 4px;
        padding: 0 8px;
    }

    .venue-lantern-svg {
        width: 40px;
    }

    .venue-lantern-string {
        height: 14px;
    }

    .venue-lantern-item--tall .venue-lantern-string {
        height: 26px;
    }


    .venue-badge-text {
        font-size: 1.125rem;
    }


    .seat-list {
        margin-top: 60px;
        padding: 0px 16px;
    }

    .seat-group-title {
        font-size: 1.125rem;
    }

    .seat-a-list,
    .seat-b-list {
        margin-top: 20px;
    }


    /* タブレット以下で写真を上、テキストを下に縦積み */
    .seat-card-body {
        flex-direction: column;
        max-width: 480px;
        width: 100%;
        margin: 0 auto;
    }

    .seat-card-image-wrap {
        flex: none;
        width: 100%;
        min-height: 200px;
    }


}

/* ===== 観覧席 Mobile (～499px) ===== */
@media (max-width: 499px) {


    .venue-lantern-group {
        width: 110px;
    }

    .venue-lanterns {
        gap: 2px;
        padding: 0 4px;
    }

    .venue-lantern-svg {
        width: 28px;
    }

    .venue-lantern-string {
        height: 10px;
    }

    .venue-lantern-item--tall .venue-lantern-string {
        height: 20px;
    }


    .venue-badge {
        padding: 8px 20px;
    }


    .venue-map-note {
        font-size: 0.75rem;
    }

    .seat-card-image-wrap {
        min-height: 160px;
    }


    .seat-card-price {
        padding: 10px 16px;
    }

    .seat-card-price-text {
        font-size: 0.8125rem;
    }

    .seat-card-price-text strong {
        font-size: 1.125rem;
    }
}






/* ===================================================
   注意事項セクション
=================================================== */
.caution-section {
    padding: 80px 24px;
    width: 100%;
}

.caution-inner {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 48px;
}

/* ---- 注意事項バッジ ---- */
.caution-badge-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: -1px;
    position: relative;
    z-index: 1;
}

.caution-badge {
    display: inline-flex;
    padding: 4px 32px;
    background: #AC951F;
    border-radius: 4px;
    max-width: 900px;
    width: 100%;
    justify-content: center;
}

.caution-badge-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    font-family: 'Noto Sans JP', sans-serif;
}

/* ---- 注意事項メインカード ---- */
.caution-card {
    border-radius: 10px;
    padding: 40px 0px;
    color: #333333;
}

.caution-list {
    list-style: disc;
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin: 0;
    width: 100%;
    max-width: 800px;
}

.caution-item {
    font-size: 1rem;
    line-height: 1.5;
}

.caution-point {
    color: #AC951F;
    font-weight: bold;
}

.caution-item-title {
    font-weight: bold;
}


.caution-sub-list {
    list-style: none;
    padding-left: 4px;
    margin-top: 6px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.caution-sub-list li::before {
    content: '・';
}

/* ---- サブセクション共通（お問い合わせ・延期中止） ---- */
.caution-sub-section {
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
    padding: 32px;
    border-radius: 8px;
    margin-top: 30px;
    border: solid 1px #AC951F;
}

.caution-sub-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
    position: relative;
    z-index: 1;
}

.caution-sub-line {
    flex: 1;
    height: 1.5px;
    background: #AC951F;
    position: relative;
}

.caution-sub-line:first-child::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    width: 7px;
    height: 7px;
    background: #AC951F;
}

.caution-sub-line:last-child::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translate(50%, -50%) rotate(45deg);
    width: 7px;
    height: 7px;
    background: #AC951F;
}

.caution-sub-title {
    flex-shrink: 0;
    font-size: 1.125rem;
    font-weight: 700;
    color: #AC951F;
    white-space: nowrap;
    font-family: 'Noto Sans JP', sans-serif;
    margin: 0;
}


/* ---- お問い合わせ ---- */

.small-txt {
    font-size: 1.25rem;
}

.notes-header {
    gap: 8px;
    margin-bottom: 16px;
}

.caution-contact {
    line-height: 1.5;
    margin: 0 0 32px;
    font-size: 1.125rem;
}


.caution-contact-notes {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.caution-contact-notes p {
    font-size: 0.875rem;
    line-height: 1.5;
    margin: 0;
}

/* ---- 延期・中止 ---- */
.caution-postpone-lead {
    text-align: left;
    line-height: 1.5;
    margin: 0 0 24px;
}

.caution-postpone-detail {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.caution-postpone-block {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.caution-postpone-label {
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
    color: #AC951F;
}

.caution-postpone-block p:not(.caution-postpone-label) {
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
    padding-left: 8px;
}

.caution-postpone-note {
    font-size: 0.8125rem;
}

/* ===== 注意事項 レスポンシブ (～768px) ===== */
@media (max-width: 768px) {
    .caution-section {
        padding: 60px 16px;
    }

    .caution-inner {
        gap: 36px;
    }

    .caution-badge-text {
        font-size: 1.125rem;
    }

    .caution-sub-title {
        font-size: 1rem;
    }

    .caution-sub-section {
        padding: 32px 16px;
    }

    .caution-sub-header {
        margin-bottom: 16px;
    }

    .small-txt {
        font-size: 1.125rem;
    }
}

/* ===== 注意事項 レスポンシブ (～499px) ===== */
@media (max-width: 499px) {

    .caution-inner {
        gap: 28px;
    }

}