/* Ghost Shooter ランディングページ スタイルシート */

/* 全体のリセットとベーススタイル */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    color: #e0e0e0;
    background-color: #1a1a2e;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

/* ヘッダーとナビゲーション */
header {
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    margin-right: 10px;
}

.logo h1 {
    font-family: 'Press Start 2P', cursive;
    font-size: 1.5rem;
    color: #fff;
}

.nav-links {
    display: flex;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #9d4edd;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger div {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px;
    transition: all 0.3s ease;
}

/* キービジュアルセクション */
.key-visual {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.key-visual-image {
    height: 100%;
    width: 100%;
    position: relative;
}

.key-visual-image img, .key-visual-image video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

#main-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

#fallback-image {
    display: none;
}

.key-visual-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 100%);
    display: flex;
    align-items: center;
    padding: 0 5%;
}

.key-visual-content {
    max-width: 600px;
    color: white;
    z-index: 1;
}

.key-visual-content h2 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    font-family: 'Press Start 2P', cursive;
    line-height: 1.2;
    display: flex;
    flex-direction: column;
}

.key-visual-content .subtitle {
    font-size: 1.5rem;
    font-family: 'Noto Sans JP', sans-serif;
    margin-top: 10px;
}

.key-visual-content p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.cta-buttons {
    display: flex;
    gap: 20px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.primary-btn {
    background: linear-gradient(135deg, #9d4edd 0%, #c77dff 100%);
    color: white;
    border: none;
}

.primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(157, 78, 221, 0.4);
}

.secondary-btn {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.secondary-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

/* セクションの共通スタイル */
section {
    padding: 70px 0;
}

.section {
    padding: 60px 0;
    background-color: #1f1f3d;
}

/* PVセクションの特別な設定 */
#trailer.section {
    padding: 40px 0;
}

.section:nth-child(even) {
    background-color: #16162e;
}

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

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #e0e0e0;
    font-weight: 700;
    position: relative;
}

/* PVセクションのタイトル特別設定 */
#trailer .section-title {
    margin-bottom: 30px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #9d4edd 0%, #c77dff 100%);
}

/* 最新情報セクション */
.news-list {
    max-width: 800px;
    margin: 0 auto;
}

.news-item {
    display: flex;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.news-item:last-child {
    border-bottom: none;
}

.news-date {
    flex: 0 0 150px;
    font-weight: 700;
    color: #9d4edd;
}

.news-content {
    flex: 1;
}

.news-content h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.news-content p {
    color: #b0b0b0;
}

.news-content a {
    color: #c77dff;
    font-weight: 600;
    text-decoration: underline;
    position: relative;
    padding: 2px 4px;
    transition: all 0.3s ease;
}

.news-content a:hover {
    color: #9d4edd;
    background-color: rgba(157, 78, 221, 0.1);
    border-radius: 4px;
    box-shadow: 0 0 8px rgba(157, 78, 221, 0.3);
}

.news-content a::after {
    content: '\f35d';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-left: 5px;
    font-size: 0.8em;
    vertical-align: super;
}

/* イベントブースボタンスタイル */
.event-booth {
    margin-top: 15px;
}

.booth-btn {
    display: inline-block;
    background: linear-gradient(135deg, #9d4edd 0%, #c77dff 100%);
    color: white !important;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none !important;
    box-shadow: 0 4px 15px rgba(157, 78, 221, 0.3);
    transition: all 0.3s ease;
}

.booth-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(157, 78, 221, 0.5);
    background-color: transparent !important;
}

.booth-btn i {
    margin-right: 8px;
}

/* トレーラーセクション */
.video-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    background-color: #000;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ストーリーセクション */
.story-content {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 50px;
}

.story-text {
    flex: 1;
}

.story-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.story-lead {
    font-size: 1.5rem;
    font-weight: 700;
    color: #9d4edd;
    margin-bottom: 20px;
}

.story-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.story-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* キャラクターグリッド */
.characters h3 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.8rem;
}

.character-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.character-card {
    background-color: #252550;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

/* ホバーエフェクトを無効化 */
/*.character-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}*/

.character-image {
    height: 250px;
    overflow: hidden;
}

.character-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.character-info {
    padding: 20px;
}

.character-info h4 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #e0e0e0;
}

.character-info p {
    color: #b0b0b0;
    line-height: 1.6;
}

/* ゲームシステムセクション */
.mode-description {
    max-width: 900px;
    margin: 0 auto 40px;
    text-align: center;
    background-color: rgba(157, 78, 221, 0.1);
    padding: 25px;
    border-radius: 10px;
    border-left: 4px solid #9d4edd;
}

.mode-description p {
    margin-bottom: 15px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.mode-description p:last-child,
.ghost-description p:last-child {
    margin-bottom: 0;
}

.ghost-description {
    max-width: 900px;
    margin: 0 auto 40px;
    text-align: center;
    background-color: rgba(157, 78, 221, 0.1);
    padding: 25px;
    border-radius: 10px;
    border-left: 4px solid #9d4edd;
}

.ghost-description p {
    margin-bottom: 15px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.system-block {
    margin-bottom: 80px;
}

.system-block:last-child {
    margin-bottom: 0;
}

.system-block h3 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.8rem;
    color: #1a1a2e;
    position: relative;
}

.system-block h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(135deg, #9d4edd 0%, #c77dff 100%);
}

.game-modes, .weapons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.mode-card, .weapon-card {
    background-color: #252550;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

/* ホバーエフェクトを無効化
.mode-card:hover, .weapon-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}
*/

.mode-image, .weapon-image {
    height: 200px;
    overflow: hidden;
}

.mode-image img, .weapon-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mode-info, .weapon-info {
    padding: 20px;
}

.mode-info h4, .weapon-info h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #e0e0e0;
}

.mode-info p, .weapon-info p {
    color: #b0b0b0;
    line-height: 1.6;
}

/* 商品情報セクション */
.product-info {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    margin-bottom: 50px;
}

.product-details {
    flex: 1;
    min-width: 300px;
}

.product-table {
    width: 100%;
    border-collapse: collapse;
}

.product-table th, .product-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.product-table th {
    width: 30%;
    color: #9d4edd;
    font-weight: 700;
}

.product-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
    position: relative;
}

.product-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* 商品情報セクションのボタンスタイル */
.product-image .cta-buttons {
    margin-top: 20px;
    justify-content: center;
}

/* SNSシェアボタンスタイル */
.share-buttons {
    margin-top: 30px;
    text-align: center;
}

.share-buttons h4 {
    color: #e0e0e0;
    margin-bottom: 20px;
    font-size: 1.2rem;
    font-weight: 600;
}

.social-share {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-weight: 600;
    font-size: 1.2rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
}

.twitter-btn {
    background: linear-gradient(135deg, #2c2c2c 0%, #4a4a4a 100%);
}

.twitter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(44, 44, 44, 0.4);
}

.facebook-btn {
    background: linear-gradient(135deg, #4267b2 0%, #365899 100%);
}

.facebook-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(66, 103, 178, 0.4);
}

.line-btn {
    background: linear-gradient(135deg, #00c300 0%, #00a000 100%);
}

.line-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 195, 0, 0.4);
}

.bluesky-btn {
    background: linear-gradient(135deg, #00a8e8 0%, #0077b6 100%);
}

.bluesky-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 168, 232, 0.4);
}

.copy-btn {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
}

.copy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(108, 117, 125, 0.4);
}

.share-btn i {
    font-size: 1.1rem;
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
    .social-share {
        justify-content: center;
        gap: 12px;
    }
    
    .share-btn {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
}

.system-requirements {
    max-width: 800px;
    margin: 0 auto;
}

.system-requirements h3 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.8rem;
}

.requirements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.requirement {
    background-color: #252550;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.requirement h4 {
    margin-bottom: 20px;
    font-size: 1.3rem;
    color: #9d4edd;
    text-align: center;
}

.requirement ul li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.requirement ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #9d4edd;
}

/* フッター */
footer {
    background-color: #0f0f20;
    color: white;
    padding: 80px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 20px;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo img {
    height: 40px;
    margin-bottom: 15px;
}

.footer-logo h3 {
    font-family: 'Press Start 2P', cursive;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.footer-links h4, .footer-social h4 {
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: #9d4edd;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: #9d4edd;
    transform: translateY(-3px);
}

/* レスポンシブデザイン */
@media screen and (max-width: 768px) {
    .nav-links {
        position: absolute;
        right: 0;
        top: 80px;
        background-color: rgba(0, 0, 0, 0.9);
        flex-direction: column;
        width: 100%;
        text-align: center;
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
        padding: 20px 0;
        z-index: 1000;
    }
    
    .nav-links li {
        margin: 15px 0;
    }
    
    .hamburger {
        display: block;
    }
    
    .nav-active {
        transform: translateX(0%);
    }
    
    .key-visual-content {
        text-align: center;
        margin: 0 auto;
    }
    
    .key-visual-content h2 {
        font-size: 2.5rem;
    }
    
    .key-visual-overlay {
        background: rgba(0, 0, 0, 0.6);
        justify-content: center;
    }
    
    .cta-buttons {
        justify-content: center;
    }
}

@media screen and (max-width: 480px) {
    .key-visual-content h2 {
        font-size: 2rem;
    }
    
    .key-visual-content .subtitle {
        font-size: 1.2rem;
    }
    
    .key-visual-content p {
        font-size: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
}