/* リセット */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', sans-serif;
    line-height: 1.7;
    color: #2d3748;
    background: linear-gradient(135deg, #fff9f0 0%, #fffbf5 50%, #fff8f0 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ヘッダー - オレンジ＆ブラック */
header {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 20px rgba(255, 127, 0, 0.3);
}

header .header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Logo */
.logo {
    font-size: 1.8rem;
    margin: 0;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.logo a {
    color: white;
    text-decoration: none;
    transition: transform 0.3s;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.logo a:hover {
    transform: scale(1.05);
}

.logo-img {
    height: 45px;
    width: auto;
    display: block;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
}

/* ハンバーガーメニューボタン */
.menu-toggle {
    display: none;
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
    padding: 0.5rem 0.8rem;
    border-radius: 8px;
    transition: all 0.3s;
}

.menu-toggle:hover {
    background: rgba(255,255,255,0.3);
}

nav {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

nav .nav-link {
    color: white;
    text-decoration: none;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    transition: all 0.3s;
    font-size: 0.95rem;
    font-weight: 600;
    position: relative;
}

nav .nav-link:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-2px);
}

nav .nav-link.active {
    background: linear-gradient(135deg, #ff7f00 0%, #ff9500 100%);
    box-shadow: 0 2px 8px rgba(255, 127, 0, 0.4);
}

nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: #ff7f00;
    border-radius: 50%;
}

/* セクション共通 */
section {
    padding: 4rem 0;
}

section h2 {
    font-size: 2.5rem;
    margin-bottom: 2.5rem;
    text-align: center;
    color: #2d3748;
    font-weight: 800;
    position: relative;
    display: inline-block;
    width: 100%;
}

section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #ff7f00 0%, #ff9500 100%);
    border-radius: 2px;
}

/* ニュースセクション - コンパクトなカード */
.news-section {
    background: transparent;
}

.news-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
}

.news-item-pinned {
    grid-column: 1 / -1;
}

.news-item {
    display: flex;
    flex-direction: row;
    gap: 0.8rem;
    padding: 1rem;
    background: white;
    border-radius: 16px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    height: 100%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.news-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(255, 127, 0, 0.2);
    border-color: #ff7f00;
}

/* クリックで詳細が見られることを示す矢印 */
.news-item:not(.news-item-pinned) .news-content::after {
    content: '›';
    position: absolute;
    bottom: 0.8rem;
    right: 0.8rem;
    font-size: 1.4rem;
    color: #e2e8f0;
    transition: color 0.3s, transform 0.3s;
    line-height: 1;
}

.news-item:not(.news-item-pinned):hover .news-content::after {
    color: #ff7f00;
    transform: translateX(3px);
}

.news-item-pinned {
    position: relative;
    flex-direction: column;
    justify-content: flex-end;
    border-color: #ff7f00;
    padding: 0;
    overflow: hidden;
    background: #1a1a1a;
    min-height: 280px;
}

.news-item-pinned:hover {
    border-color: #ff9500;
    box-shadow: 0 8px 25px rgba(255, 127, 0, 0.3);
}

.news-item-recent {
    background: linear-gradient(135deg, #fffbf5 0%, #fff8f0 100%);
}

.news-image {
    flex-shrink: 0;
    border-radius: 10px;
    overflow: hidden;
}

.news-image img {
    width: 120px;
    height: 90px;
    object-fit: cover;
    transition: transform 0.3s;
}

.news-item:hover .news-image img {
    transform: scale(1.08);
}

/* PINニュース: 画像フルカバー */
.news-item-pinned .news-image {
    position: absolute;
    inset: 0;
    border-radius: 0;
    width: 100%;
    height: 100%;
}

.news-item-pinned .news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.news-item-pinned:hover .news-image img {
    transform: scale(1.05);
}

/* PINニュース: テキストオーバーレイ */
.news-item-pinned .news-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 70%, transparent 100%);
    text-align: left;
}

.news-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    position: relative;
}

.news-header {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.news-date {
    color: #718096;
    font-size: 0.8rem;
    font-weight: 600;
}

/* PINニュース: テキスト色を白に */
.news-item-pinned .news-date {
    color: rgba(255,255,255,0.75);
}

.news-item h3 {
    font-size: 0.95rem;
    margin: 0;
    color: #2d3748;
    line-height: 1.4;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.news-item-pinned h3 {
    font-size: 1.4rem;
    -webkit-line-clamp: 3;
    color: white;
    font-weight: 500;
}

/* Pinnedニュース: クリックインジケーター */
.news-item-pinned::after {
    content: '›';
    position: absolute;
    bottom: 1.2rem;
    right: 1.2rem;
    font-size: 1.8rem;
    color: rgba(255,255,255,0.4);
    transition: color 0.3s, transform 0.3s;
    line-height: 1;
    z-index: 2;
}

.news-item-pinned:hover::after {
    color: rgba(255,255,255,0.9);
    transform: translateX(4px);
}


.news-detail {
    display: none;
}

/* ゲームセクション - カラフルなカード */
.games-section {
    background: transparent;
}

.games-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.game-card {
    display: flex;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    cursor: pointer;
    border: 3px solid transparent;
}

.game-card:hover {
    transform: translateX(8px) scale(1.02);
    box-shadow: 0 12px 40px rgba(255, 127, 0, 0.3);
    border-color: #ff7f00;
}

.game-card-image {
    width: 280px;
    min-width: 280px;
    height: 160px;
    overflow: hidden;
    background: linear-gradient(135deg, #ff7f00 0%, #ff9500 100%);
}

.game-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.game-card:hover .game-card-image img {
    transform: scale(1.15);
}

.game-card-content {
    flex: 1;
    padding: 1.5rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(135deg, #ffffff 0%, #f7fafc 100%);
    position: relative;
}

/* ゲームカード: クリックインジケーター */
.game-card-content::after {
    content: '›';
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.8rem;
    color: #e2e8f0;
    transition: color 0.3s, transform 0.3s;
    line-height: 1;
}

.game-card:hover .game-card-content::after {
    color: #ff7f00;
    transform: translateY(-50%) translateX(4px);
}

.game-title {
    font-size: 1.5rem;
    margin-bottom: 0.6rem;
    color: #2d3748;
    font-weight: 800;
}

.game-release {
    color: #718096;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.game-platforms {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.platform-tag {
    font-size: 0.7rem;
    padding: 0.35rem 0.9rem;
    border-radius: 50px;
    color: white;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.platform-tag.Steam { background: linear-gradient(135deg, #1b2838 0%, #2a475e 100%); }
.platform-tag.Switch { background: linear-gradient(135deg, #e60012 0%, #ff3d3d 100%); }
.platform-tag.Xbox { background: linear-gradient(135deg, #107c10 0%, #13a313 100%); }
.platform-tag.iOS { background: linear-gradient(135deg, #000000 0%, #434343 100%); }
.platform-tag.Android { background: linear-gradient(135deg, #3ddc84 0%, #00d577 100%); }

.game-detail {
    display: none;
}

/* Banner Section */
.banner-section {
    padding: 3rem 0;
}

.banner-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 480px;
    margin: 0 auto;
}

.info-banner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    transition: transform 0.2s ease;
    cursor: pointer;
    text-align: center;
}

.info-banner:hover {
    transform: translateY(-4px);
}

.info-banner:hover .info-banner-img {
    filter: brightness(1.1) drop-shadow(0 6px 16px rgba(0,0,0,0.25));
}



.info-banner-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

.info-banner-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: #2d3748;
    margin: 0;
    line-height: 1.4;
}

/* オーバーレイ用SNSリンク */
.social-links-overlay {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-top: 1.5rem;
}

/* generateSocialHTML が出力する div.social-links をグリッドに溶け込ませる */
.social-links-overlay .social-links {
    display: contents;
}

.social-link-overlay,
.social-links-overlay .social-link {
    display: block;
    padding: 0.8rem;
    background: white;
    border: 2px solid #f0f0f0;
    border-radius: 12px;
    text-align: center;
    text-decoration: none;
    color: #2d3748;
    font-weight: 700;
    transition: all 0.3s;
}

.social-link-overlay:hover,
.social-links-overlay .social-link:hover {
    background: linear-gradient(135deg, #ff7f00 0%, #ff9500 100%);
    color: white;
    border-color: #ff7f00;
    transform: translateY(-2px);
}

/* オーバーレイ本文テキスト共通スタイル */
.news-full-content,
.game-detail-description {
    color: #4a5568;
    font-size: 1rem;
    line-height: 1.9;
}

.news-full-content p,
.game-detail-description p {
    margin-bottom: 0.8em;
}

.news-full-content p:last-child,
.game-detail-description p:last-child {
    margin-bottom: 0;
}

.overlay-link-button {
    display: block;
    width: 200px;
    margin: 1.5rem auto 1.5rem;
    padding: 1rem 0;
    background: linear-gradient(135deg, #ff7f00 0%, #ff9500 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    text-align: center;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(255, 127, 0, 0.3);
}

.overlay-link-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 127, 0, 0.4);
}

.overlay-link-button:active {
    transform: translateY(-1px) scale(0.98);
    box-shadow: 0 2px 8px rgba(255, 127, 0, 0.3);
}

/* ストアバッジボタン */
.store-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    align-items: center;
}

.store-btn {
    display: inline-flex;
    align-items: center;
    transition: transform 0.15s ease, opacity 0.15s ease;
    line-height: 0;
}

.store-btn img {
    height: 40px;
    width: auto;
    display: block;
    max-height: 40px;
}

.store-btn:hover {
    transform: translateY(-2px);
    opacity: 0.85;
}

.store-btn:active {
    transform: translateY(0px) scale(0.96);
    opacity: 0.7;
}

/* アイコン+ラベル型ストアボタン（Steam / Xbox / Nintendo ENなど） */
.store-btn-platform {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0 20px;
    height: 40px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 0.9rem;
    text-decoration: none;
    transition: opacity 0.2s, transform 0.15s ease;
    line-height: 1;
}

.store-btn-platform:hover {
    opacity: 0.85;
    transform: translateY(-2px);
}

.store-btn-platform:active {
    transform: translateY(0px) scale(0.96);
    opacity: 0.7;
}

.store-btn-platform img {
    height: 24px;
    width: auto;
    display: block;
}

.platform-steam     { background: #1b2838; color: #ffffff; }
.platform-nintendo  { background: #e4000f; color: #ffffff; }
.platform-xbox      { background: #f2f2f2; color: #107c10; }


/* Featured Game オーバーレイ専用スタイル */
.featured-game-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 15px;
    margin: 0 auto 2rem;
}

.featured-game-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.featured-game-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.featured-game-release {
    color: #718096;
    font-weight: 600;
}

.featured-game-platforms {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.featured-game-description {
    color: #4a5568;
    font-size: 1rem;
    line-height: 1.9;
    margin-top: 0.5rem;
}

.featured-game-description p {
    margin-bottom: 0.8em;
}

.featured-game-description p:last-child {
    margin-bottom: 0;
}

/* ミッションセクション */
.mission-section {
    background: white;
    border-radius: 30px;
    margin: 2rem 20px 0;
    padding: 3rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.mission-section h2 {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 800;
    color: #2d3748;
    margin-bottom: 1.5rem;
}

.mission-body {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.9;
    color: #4a5568;
    text-align: center;
}

/* 会社情報セクション */
.company-section {
    background: white;
    border-radius: 30px;
    margin: 0 20px 0;
    padding: 3rem 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.company-info {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.company-name {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: #2d3748;
}

.company-addr,
.company-est,
.company-ceo {
    margin-bottom: 0.8rem;
    color: #4a5568;
    font-weight: 500;
}

.company-email a {
    color: #ff7f00;
    text-decoration: none;
    font-weight: 600;
}

.company-email a:hover {
    text-decoration: underline;
}

/* フッター */
footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: white;
    padding: 2rem 0;
    margin-top: 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

footer p {
    font-weight: 500;
    opacity: 0.9;
    margin: 0;
}

/* フッター言語切り替え */
.lang-switcher-footer {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.lang-switcher-footer a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: all 0.2s;
    padding: 0.3rem 0.5rem;
    font-size: 0.9rem;
}

.lang-switcher-footer a:hover {
    color: rgba(255,255,255,0.9);
}

.lang-switcher-footer a.active {
    color: white;
    font-weight: 700;
}

.lang-switcher-footer .lang-divider {
    color: rgba(255,255,255,0.4);
}

/* オーバーレイ */
.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 1000;
    overflow-y: auto;
    animation: fadeIn 0.3s ease-out;
    backdrop-filter: blur(10px);
}

.overlay.active {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.overlay-content {
    position: relative;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    background: white;
    border-radius: 30px;
    padding: 3rem;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.4s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.overlay-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: #f7fafc;
    border: none;
    font-size: 2.5rem;
    color: #718096;
    cursor: pointer;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
}

.overlay-close:hover {
    background: #ff7f00;
    color: white;
    transform: rotate(90deg);
}

.overlay-body {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.overlay-body h2 {
    font-size: 1.6rem;
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1.3;
}

.overlay-body time {
    font-size: 0.85rem;
    color: #a0aec0;
}

.overlay-body img {
    max-width: 400px;
    width: 100%;
    height: auto;
    border-radius: 15px;
    align-self: center;
}

/* Newsletter オーバーレイ専用スタイル */
.newsletter-overlay-content {
    max-width: 600px;
    padding: 2rem;
    margin: 0 auto;
}

.newsletter-overlay-body {
    max-height: 85vh;
    gap: 1.2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.newsletter-header-image {
    width: calc(100% + 4rem);
    overflow: hidden;
    border-radius: 12px 12px 0 0;
    margin: -2rem -2rem 0 -2rem;
}

.newsletter-header-image img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    object-position: center;
    display: block;
}

.newsletter-reward {
    background: #f7faff;
    border: 2px dashed #47c4fc;
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    width: 100%;
    max-width: 100%;
}

.newsletter-reward-text {
    font-size: 1rem;
    font-weight: bold;
    color: #007acc;
    margin: 0 0 0.8rem 0;
    line-height: 1.4;
}

.newsletter-reward-img {
    max-width: 100%;
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.newsletter-subscribe-btn {
    display: block;
    width: 100%;
    max-width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #ff7f00 0%, #ff9500 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    text-align: center;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(255, 127, 0, 0.3);
    box-sizing: border-box;
}

.newsletter-subscribe-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 127, 0, 0.4);
}

/* モバイル対応 */
@media (max-width: 768px) {
    .newsletter-overlay-content {
        padding: 1.5rem;
        max-width: 100%;
    }

    .newsletter-header-image {
        width: calc(100% + 3rem);
        margin: -1.5rem -1.5rem 0 -1.5rem;
    }

    .newsletter-header-image img {
        height: 100px;
    }

    .newsletter-reward {
        padding: 0.8rem;
    }

    .newsletter-reward-text {
        font-size: 0.9rem;
    }

    .newsletter-subscribe-btn {
        font-size: 1rem;
        padding: 0.9rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .newsletter-overlay-content {
        padding: 1rem;
    }

    .newsletter-header-image {
        width: calc(100% + 2rem);
        margin: -1rem -1rem 0 -1rem;
    }

    .newsletter-header-image img {
        height: 80px;
    }
}

/* デスクトップで細長く表示 */
@media (min-width: 769px) {
    .newsletter-header-image img {
        height: 150px;
    }
}

/* Featured Carousel - 下部情報バー形式 */
.featured-section {
    margin: 0;
    padding: 0;
    position: relative;
    width: 100%;
}

.featured-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    cursor: grab;
    user-select: none;
}

.featured-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.featured-item {
    min-width: 100vw;
    width: 100vw;
    flex-shrink: 0;
    cursor: pointer;
    overflow: hidden;
}

/* 16:9画像ラッパー:
   - 高さ = min(100vw, 900px) × 9/16
   - 狭い画���: 高さ = 56.25vw（画面幅 × 9/16）
   - 広い画面: 高さ = 506.25px（900px × 9/16）で固定
*/
.featured-image-wrap {
    position: relative;
    width: 100%;
    height: min(56.25vw, 506.25px);
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: stretch;
}

/* ぼかし背景: ラッパー全体を覆い、左右の余白を埋める */
.featured-bg-blur {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: blur(24px) brightness(0.6);
    transform: scale(1.15);
    z-index: 0;
}

/* 16:9画像本体
   - 狭い画面: width:100% で画面幅いっぱい（ブラー不要）
   - 広い画面: max-widthで制限され、左右にブラー背景が見える
*/
.featured-image-img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    max-width: 900px;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.featured-item:hover .featured-image-img {
    transform: scale(1.02);
}

/* Carousel Dots */
.carousel-dots {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 10;
}

.carousel-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    padding: 0;
}

.carousel-dot:hover {
    background: rgba(255,255,255,0.8);
    transform: scale(1.3);
}

.carousel-dot.active {
    background: white;
    width: 40px;
    border-radius: 7px;
}

/* Carousel Arrows */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.25);
    border: none;
    color: white;
    font-size: 2.5rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255,255,255,0.3);
}

.carousel-arrow:hover {
    background: rgba(255,255,255,0.5);
    transform: translateY(-50%) scale(1.15);
    border-color: rgba(255,255,255,0.6);
}

.carousel-arrow.prev {
    left: 2rem;
}

.carousel-arrow.next {
    right: 2rem;
}

/* レスポンシブ */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    header {
        padding: 0.8rem 0;
    }

    .header-right {
        gap: 0.5rem;
    }

    .menu-toggle {
        display: none;
    }

    nav {
        gap: 0.3rem;
    }

    nav .nav-link {
        font-size: 0.85rem;
        padding: 0.5rem 0.8rem;
    }

    nav .nav-link.active::after {
        width: 4px;
        height: 4px;
        bottom: -3px;
    }

    .logo-img {
        height: 28px;
    }

    .logo-text {
        font-size: 1.1rem;
    }

    header .header-content {
        gap: 0.5rem;
    }

    .logo {
        flex-shrink: 1;
        min-width: 0;
    }

    section {
        padding: 3rem 0;
    }

    section h2 {
        font-size: 2rem;
    }

    .news-list {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .news-item-pinned {
        min-height: 200px;
    }

    .news-item-pinned .news-content {
        padding: 1rem;
    }

    .news-item-pinned h3 {
        font-size: 1.1rem;
    }

    .games-grid {
        gap: 1.5rem;
    }

    .game-card {
        flex-direction: column;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 0.8rem;
    }

    .game-card-image {
        width: 100%;
        height: 180px;
    }

    .game-card:hover {
        transform: translateY(-8px) scale(1.02);
    }

    .carousel-arrow {
        width: 50px;
        height: 50px;
        font-size: 2rem;
    }

    .carousel-arrow.prev {
        left: 1rem;
    }

    .carousel-arrow.next {
        right: 1rem;
    }

    .footer-info-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .logo-img {
        height: 24px;
    }

    .logo-text {
        font-size: 1rem;
    }

    nav .nav-link {
        font-size: 0.8rem;
        padding: 0.4rem 0.6rem;
    }

    header h1 {
        font-size: 1.5rem;
    }

    section h2 {
        font-size: 1.7rem;
    }

    .featured-title {
        font-size: 1.3rem;
    }

    .featured-release {
        font-size: 0.85rem;
    }

    .carousel-arrow {
        display: none;
    }

    .overlay-content {
        padding: 2rem 1.5rem;
        border-radius: 20px;
    }

    .banner-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.8rem;
    }

    .info-banner-label {
        font-size: 0.8rem;
    }

    .social-links-overlay {
        grid-template-columns: 1fr;
    }
}
