:root {
    --container-max: 680px;
    --gold: #FFD700;
    --gold-glow: rgba(255, 215, 0, 0.3);
    --dark-bg: #222222;
    --border-subtle: rgba(255, 255, 255, 0.2);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body,
html {
    margin: 0;
    padding: 0;
    height: 100%;
}

body::before {
    content: "";
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)),
        url('../images/BG.webp');
    background-size: cover;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    z-index: -1;
}

body {
    color: #fff;
    font-size: 1rem;
    line-height: 1.6;
    word-wrap: break-word;
    font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", "Yu Gothic", sans-serif;
    font-weight: 400;
    position: relative;
    width: 100vw;
    min-height: 100vh;
    z-index: 0;
    overflow-y: auto;
    overflow-x: hidden;
}

@supports (-webkit-touch-callout: none) {
    body::before {
        background-attachment: scroll;
    }
}

/* --- Wrapper --- */
.wrapper {
    width: min(var(--container-max), 100%);
    margin: 0 auto;
    background: var(--dark-bg);
}

/* --- Hero (OGP画像) --- */
.hero {
    display: block;
    line-height: 0;
}

.hero img {
    display: block;
    width: 100%;
    height: auto;
    vertical-align: middle;
    object-fit: contain;
}

/* --- Tweet Embed --- */
.tweet-section {
    padding: 20px 20px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tweet-section .twitter-tweet {
    margin: 0 auto 16px !important;
}

/* --- Store Container --- */
.store-container {
    padding: 30px 40px;
}

/* --- Area Title --- */
.area-title {
    font-size: 1.6rem;
    font-weight: 700;
    border-bottom: 3px solid var(--gold);
    padding-bottom: 12px;
    margin-bottom: 20px;
    text-shadow: 0 0 8px var(--gold-glow);
}

.area-title .store-count {
    font-size: 1rem;
    font-weight: 400;
    margin-left: 8px;
}

.area-title + .store-list {
    margin-bottom: 40px;
}

/* --- Store List (CSS Grid 2-column) --- */
.store-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    list-style: none;
    padding: 0;
    margin: 0 0 40px;
}

.store-list:last-child {
    margin-bottom: 0;
}

.store-item {
    padding: 15px 10px;
    font-size: 1.1rem;
    font-weight: 700;
    border-bottom: 1px solid var(--border-subtle);
    line-height: 1.4;
}

.store-item a {
    color: #fff;
    text-decoration: none;
}

.store-item a:hover {
    color: var(--gold);
}

/* Odd items: right border as column separator */
.store-item:nth-child(odd) {
    border-right: 1px solid var(--border-subtle);
}

/* --- Notice --- */
.notice {
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    padding: 40px 20px 20px;
}

/* --- SNS Section --- */
.sns-section {
    position: relative;
    padding: 60px 20px 30px;
    text-align: center;
}

.sns-section::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: 100vw;
    height: 100%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(30, 20, 0, 0.9) 25%, rgba(20, 15, 0, 0.95));
    z-index: -1;
}

.sns-row {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.sns-row:last-child {
    margin-bottom: 0;
}

.sns-row .sns-site-link {
    display: block;
    width: 200px;
    margin-right: 16px;
}

.sns-row .sns-site-img {
    display: block;
    width: 100%;
    height: auto;
}

.sns-row .sns-icon-link {
    display: block;
    width: 50px;
    margin: 0 6px;
}

.sns-row .sns-icon-img {
    display: block;
    width: 100%;
    height: auto;
}

/* --- Footer --- */
.site-footer {
    position: relative;
    padding: 20px 0;
}

.site-footer::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: 100vw;
    height: 100%;
    background: #222;
}

.site-footer .footer-logo {
    position: relative;
    z-index: 1;
    display: block;
    margin: 0 auto;
    height: 30px;
    width: auto;
}

/* --- Responsive (480px breakpoint, kessen style) --- */
@media (max-width: 480px) {
    .store-container {
        padding: 20px 15px;
    }

    .area-title {
        font-size: 1.4rem;
        padding-bottom: 10px;
        margin-bottom: 15px;
    }

    .store-list {
        margin-bottom: 30px;
    }

    .store-item {
        font-size: 0.95rem;
        padding: 12px 8px;
    }

    .sns-section {
        padding: 20px 15px;
    }

    .sns-row .sns-site-link {
        width: 160px;
        margin-right: 12px;
    }

    .sns-row .sns-icon-link {
        width: 40px;
    }

    .site-footer {
        padding: 15px 0;
    }

    .site-footer .footer-logo {
        height: 20px;
    }
}
