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

body {
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    background-color: #1a1a2e;
    color: #fff;
    min-height: 100vh;
}

/* ヘッダー - グラスモーフィズム効果 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    background: rgba(26, 26, 46, 0.6);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
}

.back-to-product {
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: bold;
    border: 2px solid #e94560;
    background-color: rgba(233, 69, 96, 0.1);
    color: #fff;
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s ease;
    letter-spacing: 0.05em;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    flex-shrink: 0;
}

.back-to-product:hover {
    background-color: rgba(233, 69, 96, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(233, 69, 96, 0.4);
}

.sp-banner-wrapper {
    display: none;
    width: 100%;
    max-width: 800px;
    margin: 20px auto 0;
    text-align: center;
}

.sp-banner-text {
    text-align: center;
    font-size: 1.2rem;
    font-weight: bold;
    color: #fff;
    text-shadow: 0 0 10px rgba(233, 69, 96, 0.8), 0 2px 4px rgba(0, 0, 0, 0.8);
    white-space: nowrap;
    margin-bottom: 10px;
}

.sp-banner-wrapper img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    display: block;
}

.title {
    font-size: 1.3rem;
    font-weight: bold;
    text-shadow: 
        0 0 10px rgba(233, 69, 96, 0.8),
        0 0 20px rgba(233, 69, 96, 0.6),
        0 0 30px rgba(233, 69, 96, 0.4),
        0 2px 10px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.05em;
    line-height: 1.4;
}

.menu {
    display: flex;
    gap: 10px;
    flex-wrap: nowrap;
    justify-content: center;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    white-space: nowrap;
}

.menu-btn {
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: bold;
    border: 2px solid #e94560;
    background-color: rgba(233, 69, 96, 0.1);
    color: #fff;
    cursor: pointer;
    border-radius: 25px;
    transition: all 0.3s ease;
    letter-spacing: 0.05em;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.menu-btn:hover {
    background-color: rgba(233, 69, 96, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(233, 69, 96, 0.4);
}

.menu-btn.active {
    background-color: #e94560;
    box-shadow: 0 4px 20px rgba(233, 69, 96, 0.6);
}

/* スマホ用メニュー */
.header-sp-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 10px 15px;
    background: rgba(26, 26, 46, 0.8);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 999;
}

.sp-menu {
    display: flex;
    gap: 8px;
    justify-content: center;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.sp-menu .menu-btn {
    padding: 12px 20px;
    font-size: 0.9rem;
    font-weight: bold;
    min-width: 80px;
    white-space: nowrap;
    flex-shrink: 0;
}

/* メインコンテンツ */
.main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 110px;
    padding-bottom: 40px;
}

.image-container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    min-height: 400px;
}

.event-image {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 800px;
    height: auto;
    object-fit: contain;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out, filter 0.4s ease, transform 0.3s ease;
    cursor: default;
}

.event-image.clickable {
    cursor: pointer;
}

.event-image.clickable:hover {
    filter: brightness(1.1) drop-shadow(0 0 20px rgba(233, 69, 96, 0.6));
}

.event-image.active {
    position: relative;
    left: auto;
    transform: none;
    display: block;
    margin: 0 auto;
    opacity: 1;
    visibility: visible;
}

.event-image.clickable.active:hover {
    filter: brightness(1.1) drop-shadow(0 0 20px rgba(233, 69, 96, 0.6));
}

.autographed-poster-block {
    display: none;
    max-width: 720px;
    margin: 36px auto 0;
    text-align: center;
}

.autographed-poster-block.visible {
    display: block;
}

.autographed-poster-lead {
    margin-bottom: 16px;
    font-size: 1.2rem;
    font-weight: bold;
    line-height: 1.5;
    color: #fff;
    text-shadow: 0 0 10px rgba(233, 69, 96, 0.8), 0 2px 4px rgba(0, 0, 0, 0.8);
}

.autographed-poster {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    display: block;
}

.autographed-poster-note {
    margin-top: 14px;
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.86);
}

.sub-image {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 800px;
    height: auto;
    object-fit: contain;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out, filter 0.4s ease, transform 0.3s ease;
    cursor: pointer;
}

.sub-image.active {
    position: relative;
    left: auto;
    transform: none;
    display: block;
    margin: 0 auto;
    opacity: 1;
    visibility: visible;
}

.sub-image:hover {
    filter: brightness(1.1) drop-shadow(0 0 20px rgba(233, 69, 96, 0.6));
}

.sub-image.active:hover {
    filter: brightness(1.1) drop-shadow(0 0 20px rgba(233, 69, 96, 0.6));
    transform: scale(1.02);
}

/* ショップリスト */
.shop-list {
    width: 100%;
    max-width: 800px;
    margin: 30px auto 0;
    position: relative;
    padding: 25px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.6s ease, max-height 0.6s ease, margin 0.6s ease;
}

.shop-list.visible {
    opacity: 1;
    max-height: 2000px;
}

.shop-title {
    font-size: 1.3rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
    color: #e94560;
    letter-spacing: 0.1em;
}

.shop-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.shop-region {
    background: rgba(0, 0, 0, 0.2);
    padding: 12px 15px;
    border-radius: 8px;
    border-left: 3px solid #e94560;
}

.region-name {
    font-size: 0.9rem;
    font-weight: bold;
    color: #fff;
    margin-bottom: 6px;
}

.shop-names {
    list-style: none;
    padding: 0;
    margin: 0;
}

.shop-names li {
    font-size: 0.8rem;
    padding: 2px 0;
}

.shop-names li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.shop-names li a:hover {
    color: #fff;
    text-decoration: underline;
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {
    .header {
        padding: 15px 30px;
    }

    .title {
        font-size: 1.1rem;
    }

    .menu-btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }

    .shop-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    .header-sp-menu {
        display: block;
    }

    .sp-banner-wrapper {
        display: block;
    }

    .sp-banner-text {
        display: block;
    }

    .main {
        padding-top: 70px;
        padding-bottom: 20px;
    }

    .image-container {
        width: calc(100% - 20px);
    }

    .autographed-poster-block {
        margin-top: 28px;
    }

    .autographed-poster-lead {
        font-size: 1rem;
    }

    .autographed-poster-note {
        font-size: 0.78rem;
    }

    .shop-list {
        margin: 20px auto 0;
        padding: 20px 15px;
    }

    .shop-title {
        font-size: 1.1rem;
    }

    .shop-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .region-name {
        font-size: 0.8rem;
    }

    .shop-names li a {
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .title {
        font-size: 1rem;
    }

    .sp-menu .menu-btn {
        padding: 12px 18px;
        font-size: 0.85rem;
        font-weight: bold;
        min-width: 70px;
    }

    .main {
        padding-top: 70px;
        padding-bottom: 20px;
    }

    .image-container {
        width: calc(100% - 20px);
    }

    .autographed-poster-block {
        margin-top: 24px;
    }

    .autographed-poster-lead {
        font-size: 0.95rem;
    }

    .autographed-poster-note {
        font-size: 0.72rem;
    }

    .shop-list {
        margin: 15px auto 0;
        padding: 15px 12px;
    }

    .shop-title {
        font-size: 1rem;
        margin-bottom: 15px;
    }

    .shop-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .shop-region {
        padding: 10px 12px;
    }

    .region-name {
        font-size: 0.85rem;
    }

    .shop-names li a {
        font-size: 0.75rem;
    }
}

/* フッター */
.footer {
    width: 100%;
    height: 350px;
    background-color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-logo-link {
    display: block;
    text-align: center;
}

.footer-logo {
    width: auto;
    max-height: 200px;
    height: auto;
    display: inline-block;
    margin: 0 auto;
    transition: filter 0.4s ease, transform 0.4s ease;
}

.footer-logo:hover {
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.4)) drop-shadow(0 0 30px rgba(255, 255, 255, 0.2));
    transform: scale(1.08);
}
