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

body {
    background: #000;
    overflow-x: hidden;
    overflow-y: auto;
    font-family: 'Courier New', monospace;
    color: #fff;
}

/* スクロールLPセクション */
.section-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}


.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 20;
    pointer-events: none;
}

.hero-title {
    font-size: 72px;
    font-weight: bold;
    letter-spacing: 12px;
    margin-bottom: 20px;
    color: #fff;
    text-shadow: 0 0 40px rgba(255,255,255,0.3);
}

.hero-subtitle {
    font-size: 18px;
    letter-spacing: 4px;
    color: rgba(255,255,255,0.7);
}

.scroll-indicator {
    position: fixed;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 30;
    animation: bounce 2s infinite;
    transition: opacity 0.3s ease;
}

.scroll-indicator span {
    font-size: 10px;
    letter-spacing: 3px;
    color: rgba(255,255,255,0.5);
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    margin: 10px auto 0;
    border-right: 2px solid rgba(255,255,255,0.5);
    border-bottom: 2px solid rgba(255,255,255,0.5);
    transform: rotate(45deg);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* セクション共通 */
.section-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 40px;
}

.section-title {
    font-size: 48px;
    letter-spacing: 8px;
    margin-bottom: 20px;
    text-align: center;
}

.section-lead {
    font-size: 16px;
    line-height: 2;
    text-align: center;
    color: rgba(255,255,255,0.7);
    margin-bottom: 60px;
}

/* 個別サービスセクション */
.section-service-item {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
    padding: 120px 60px;
}

.section-service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.9) 100%);
    z-index: -1;
}

/* 左右レイアウト */
.service-layout {
    display: flex;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    gap: 80px;
}

.service-layout.reverse {
    flex-direction: row-reverse;
}

.service-left {
    flex: 0 0 400px;
    position: relative;
}

.service-right {
    flex: 1;
    position: relative;
}

/* 左側: 番号とタイトル */
.service-num {
    display: block;
    font-size: 180px;
    font-weight: bold;
    line-height: 0.8;
    color: rgba(255,255,255,0.03);
    position: absolute;
    top: -40px;
    left: -20px;
}

.service-heading {
    font-size: 56px;
    font-weight: 300;
    letter-spacing: 2px;
    line-height: 1.2;
    position: relative;
    z-index: 1;
}

.service-tagline {
    font-size: 13px;
    color: rgba(255,255,255,0.4);
    letter-spacing: 1px;
    margin-top: 20px;
    position: relative;
    z-index: 1;
}

/* 右側: コンテンツ */
.service-line {
    width: 60px;
    height: 1px;
    background: rgba(255,255,255,0.3);
    margin-bottom: 30px;
}

.service-desc {
    font-size: 15px;
    color: rgba(255,255,255,0.6);
    line-height: 1.8;
    margin-bottom: 50px;
}

/* サービスリスト */
.service-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.service-item {
    display: flex;
    gap: 30px;
    padding: 30px 0;
    border-top: 1px solid rgba(255,255,255,0.08);
    transition: all 0.4s ease;
    cursor: default;
}

.service-item:hover {
    padding-left: 20px;
    background: rgba(255,255,255,0.02);
}

.item-num {
    font-size: 12px;
    color: rgba(255,255,255,0.2);
    font-weight: bold;
    padding-top: 5px;
}

.item-content h4 {
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 2px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.service-item:hover .item-content h4 {
    letter-spacing: 4px;
}

.item-content p {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    line-height: 1.7;
}

/* アニメーション */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-40px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(40px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes lineExpand {
    from { width: 0; }
    to { width: 60px; }
}

/* 初期状態 */
.section-service-item .service-left,
.section-service-item .service-right,
.section-service-item .service-line,
.section-service-item .service-item {
    opacity: 0;
}

/* アニメーション発火後 */
.section-service-item.animate-in .service-left {
    animation: fadeInLeft 1s ease forwards;
}

.section-service-item.animate-in .service-right {
    animation: fadeInRight 1s ease 0.3s forwards;
}

.section-service-item.animate-in .service-line {
    animation: lineExpand 0.8s ease 0.5s forwards;
}

.section-service-item.animate-in .service-item:nth-child(1) {
    animation: fadeInUp 0.8s ease 0.6s forwards;
}
.section-service-item.animate-in .service-item:nth-child(2) {
    animation: fadeInUp 0.8s ease 0.8s forwards;
}
.section-service-item.animate-in .service-item:nth-child(3) {
    animation: fadeInUp 0.8s ease 1s forwards;
}
.section-service-item.animate-in .service-item:nth-child(4) {
    animation: fadeInUp 0.8s ease 1.2s forwards;
}

/* reverseレイアウト時のアニメーション */
.section-service-item .service-layout.reverse .service-left {
    opacity: 0;
}
.section-service-item .service-layout.reverse .service-right {
    opacity: 0;
}

.section-service-item.animate-in .service-layout.reverse .service-left {
    animation: fadeInRight 1s ease forwards;
}

.section-service-item.animate-in .service-layout.reverse .service-right {
    animation: fadeInLeft 1s ease 0.3s forwards;
}

/* GAMES セクション */
.section-games {
    background: #000;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.games-showcase {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.game-showcase-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease;
}

.game-showcase-item:hover {
    border-color: rgba(255,255,255,0.3);
    transform: scale(1.02);
}

.game-showcase-item img {
    width: 100%;
    height: auto;
    display: block;
}

.game-showcase-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
}

.game-showcase-info h3 {
    font-size: 16px;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.game-showcase-info p {
    font-size: 12px;
    color: rgba(255,255,255,0.6);
}

.view-all-btn {
    display: block;
    margin: 0 auto;
    padding: 15px 40px;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    font-size: 14px;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.view-all-btn:hover {
    background: #fff;
    color: #000;
}

/* CTA セクション */
.section-cta {
    background: transparent;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    padding: 100px 40px;
    position: relative;
    z-index: 1;
}

.section-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.9) 100%);
    z-index: -1;
}

.section-cta h2 {
    font-size: 36px;
    letter-spacing: 4px;
    margin-bottom: 20px;
}

.section-cta p {
    font-size: 14px;
    line-height: 2;
    color: rgba(255,255,255,0.6);
    margin-bottom: 40px;
}

.cta-button {
    padding: 20px 60px;
    background: #fff;
    border: none;
    color: #000;
    font-size: 16px;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: rgba(255,255,255,0.9);
    transform: scale(1.05);
}

#game-container {
    position: relative;
    width: 100vw;
    height: 100vh;
}

#village-canvas {
    display: block;
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
    pointer-events: none;
}

/* チャットバブル - ミニマル */
#chat-bubble {
    position: fixed;
    background: rgba(0, 0, 0, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    padding: 12px 16px;
    max-width: 600px;
    min-width: 140px;
    z-index: 50;
    transition: opacity 0.3s ease;
}

#chat-bubble::before {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 8px 6px 0;
    border-style: solid;
    border-color: rgba(255, 255, 255, 0.3) transparent transparent;
}

#chat-bubble::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px 5px 0;
    border-style: solid;
    border-color: rgba(0, 0, 0, 0.9) transparent transparent;
}

#chat-bubble.hidden {
    opacity: 0;
    pointer-events: none;
}

#chat-speaker {
    font-weight: bold;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 6px;
    letter-spacing: 1px;
}

#chat-text {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}

/* 会話ログ - ミニマル */
#conversation-log {
    position: fixed;
    bottom: 60px;
    right: 20px;
    width: 500px;
    max-height: 70vh;
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    overflow: hidden;
    z-index: 50;
    display: flex;
    flex-direction: column;
    transition: opacity 0.3s ease;
}

.log-message {
    word-break: break-word;
}

#log-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.6);
    padding: 10px 14px;
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

#log-header-buttons {
    display: flex;
    gap: 6px;
}

#log-help-btn,
#log-toggle-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.5);
    width: 18px;
    height: 18px;
    border-radius: 50%;
    font-size: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

#log-help-btn:hover,
#log-toggle-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.5);
}

#conversation-log.collapsed #log-toggle-btn {
    transform: rotate(180deg);
}

#conversation-log.collapsed #log-content,
#conversation-log.collapsed #log-help-popup,
#conversation-log.collapsed #log-topic-display,
#conversation-log.collapsed #log-input-container {
    display: none;
}

#log-help-popup {
    background: rgba(0, 0, 0, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    padding: 14px;
    margin: 0 10px 10px;
    font-size: 11px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
}

#log-help-popup.hidden {
    display: none;
}

#log-help-popup .help-title {
    font-weight: bold;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 8px;
    font-size: 12px;
}

#log-help-popup p {
    margin-bottom: 8px;
}

#log-help-popup .help-note {
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 10px;
    color: rgba(255, 255, 255, 0.4);
}

#log-content {
    padding: 10px;
    flex: 1;
    overflow-y: auto;
    font-size: 11px;
}

#log-topic-display {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.02);
}

.topic-label {
    color: rgba(255, 255, 255, 0.4);
    font-size: 9px;
    letter-spacing: 1px;
    font-weight: bold;
}

.topic-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 11px;
    letter-spacing: 0.5px;
}

#log-input-container {
    display: flex;
    align-items: flex-end;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px;
    gap: 8px;
}

#log-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    padding: 8px 10px;
    color: rgba(255, 255, 255, 0.9);
    font-family: 'Courier New', monospace;
    font-size: 11px;
    outline: none;
    resize: none;
    min-height: 34px;
    max-height: 100px;
    line-height: 1.4;
}

#log-input:focus {
    border-color: rgba(255, 255, 255, 0.4);
}

#log-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

#log-send {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    padding: 8px 12px;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: all 0.3s ease;
    height: 34px;
}

#log-send:hover {
    background: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 1);
}

#log-content::-webkit-scrollbar {
    width: 3px;
}

#log-content::-webkit-scrollbar-track {
    background: transparent;
}

#log-content::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
}

.log-entry {
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.log-entry:last-child {
    border-bottom: none;
}

.log-speaker {
    font-weight: bold;
    color: rgba(255, 255, 255, 0.7);
    font-size: 10px;
}

.log-entry.user-message .log-speaker {
    color: rgba(120, 200, 255, 0.9);
}

.log-entry.user-message .log-message {
    color: rgba(120, 200, 255, 0.6);
}

.log-entry.system-message {
    background: rgba(255, 255, 255, 0.03);
    padding: 8px;
    border-radius: 4px;
    margin-bottom: 10px;
}

.log-entry.system-message .log-speaker {
    color: rgba(255, 200, 100, 0.8);
}

.log-entry.system-message .log-message {
    color: rgba(255, 200, 100, 0.6);
    font-style: italic;
}

.log-message {
    color: rgba(255, 255, 255, 0.5);
    margin-top: 3px;
    line-height: 1.4;
}

/* ローディング */
#loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    transition: opacity 1s ease;
    overflow: hidden;
}

#loading.hidden {
    opacity: 0;
    pointer-events: none;
}

/* 星空背景 */
#loading::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background-image:
        radial-gradient(2px 2px at 20px 30px, white, transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(255,255,255,0.8), transparent),
        radial-gradient(1px 1px at 90px 40px, white, transparent),
        radial-gradient(2px 2px at 160px 120px, rgba(255,255,255,0.9), transparent),
        radial-gradient(1px 1px at 230px 80px, white, transparent),
        radial-gradient(2px 2px at 300px 150px, rgba(255,255,255,0.7), transparent),
        radial-gradient(1px 1px at 50px 180px, white, transparent),
        radial-gradient(2px 2px at 120px 220px, rgba(255,255,255,0.8), transparent),
        radial-gradient(1px 1px at 200px 260px, white, transparent),
        radial-gradient(2px 2px at 280px 200px, rgba(255,255,255,0.6), transparent),
        radial-gradient(1px 1px at 350px 100px, white, transparent),
        radial-gradient(2px 2px at 400px 250px, rgba(255,255,255,0.9), transparent);
    background-size: 400px 300px;
    animation: stars 100s linear infinite;
}

@keyframes stars {
    from { transform: translateY(0); }
    to { transform: translateY(-50%); }
}

/* 宇宙リング */
.loading-spinner {
    position: relative;
    width: 120px;
    height: 120px;
}

.loading-spinner::before,
.loading-spinner::after {
    content: '';
    position: absolute;
    border-radius: 50%;
}

.loading-spinner::before {
    width: 100%;
    height: 100%;
    border: 2px solid transparent;
    border-top-color: rgba(255, 255, 255, 0.9);
    border-right-color: rgba(255, 255, 255, 0.3);
    animation: spin 2s linear infinite;
}

.loading-spinner::after {
    top: 15px;
    left: 15px;
    width: calc(100% - 30px);
    height: calc(100% - 30px);
    border: 2px solid transparent;
    border-top-color: rgba(255, 255, 255, 0.7);
    border-left-color: rgba(255, 255, 255, 0.2);
    animation: spin 1.5s linear infinite reverse;
}

/* 中心の光る球体 */
.loading-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background: radial-gradient(circle, #fff 0%, rgba(255,255,255,0.6) 40%, transparent 70%);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
    box-shadow:
        0 0 20px rgba(255, 255, 255, 0.8),
        0 0 40px rgba(255, 255, 255, 0.4),
        0 0 60px rgba(255, 255, 255, 0.2);
}

/* 軌道上の粒子 */
.loading-orbit {
    position: absolute;
    width: 100%;
    height: 100%;
    animation: spin 3s linear infinite;
}

.loading-orbit::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 6px;
    height: 6px;
    margin-left: -3px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255,255,255,0.8);
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.3);
        opacity: 1;
    }
}

/* ヘッダー */
#main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 30px;
    z-index: 1000;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(10px);
}

.site-title a {
    display: block;
}

.site-logo {
    height: 24px;
    width: auto;
}

/* ナビゲーション */
#main-nav {
    display: flex;
    gap: 30px;
}

#main-nav a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 11px;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

#main-nav a:hover {
    color: rgba(255, 255, 255, 1);
}

/* 説明 */
.instructions {
    position: fixed;
    bottom: 60px;
    left: 20px;
    z-index: 50;
    color: rgba(255, 255, 255, 0.3);
    font-size: 10px;
    letter-spacing: 1px;
    transition: opacity 0.3s ease;
}

.instructions span {
    display: block;
    margin-bottom: 3px;
}

/* 言語選択 */
#language-selector {
    flex-shrink: 0;
}

#language-select {
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    color: rgba(255, 255, 255, 0.8);
    padding: 8px 12px;
    font-family: 'Courier New', monospace;
    font-size: 11px;
    cursor: pointer;
    outline: none;
}

#language-select:hover {
    border-color: rgba(255, 255, 255, 0.5);
}

#language-select option {
    background: #000;
    color: rgba(255, 255, 255, 0.8);
}

/* モーダル */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: visible;
    transition: opacity 0.4s ease, background 0.4s ease;
}

.modal.show {
    opacity: 1;
    background: rgba(0, 0, 0, 0.85);
}

.modal.hidden {
    display: none !important;
    opacity: 0;
    visibility: hidden;
}

.modal-content {
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    padding: 30px;
    max-width: 700px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    width: 90%;
    transform: translateY(30px) scale(0.95);
    opacity: 0;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

.modal.show .modal-content {
    transform: translateY(0) scale(1);
    opacity: 1;
}

/* ゲームモーダル - LP風フルスクリーン */
#games-modal {
    background: rgba(0, 0, 0, 0);
}

#games-modal.show {
    background: rgba(0, 0, 0, 0.6);
}

#games-modal .modal-content {
    max-width: none;
    width: 100%;
    height: 100%;
    max-height: 100%;
    background: #000;
    border: none;
    border-radius: 0;
    padding: 0;
    display: flex;
    overflow: hidden;
    transform: scale(0.98);
    opacity: 0;
}

#games-modal.show .modal-content {
    transform: scale(1);
    opacity: 1;
}

#games-modal .modal-close {
    top: 25px;
    right: 30px;
    font-size: 32px;
}

#games-modal .modal-title {
    display: none;
}

/* ゲーム一覧 - 左右分割レイアウト */
.games-layout {
    display: flex;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease 0.1s, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.1s;
}

#games-modal.show .games-layout {
    opacity: 1;
    transform: translateY(0);
}

.games-feature-panel {
    flex: 1;
    display: flex;
    align-items: stretch;
    justify-content: stretch;
    position: relative;
    padding: 0;
    /* AIが見えるように透過 */
    background: transparent;
    pointer-events: none;
    overflow-y: auto;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease 0.15s, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.15s;
}

#games-modal.show .games-feature-panel {
    opacity: 1;
    transform: translateY(0);
}

.games-feature-content {
    text-align: center;
    width: 100%;
    height: auto;
    pointer-events: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    background: #000;
    padding: 80px 50px 60px;
    border-radius: 0;
    border: none;
}

.games-feature-label {
    font-size: 10px;
    letter-spacing: 4px;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 20px;
    text-transform: uppercase;
}

.games-feature-title {
    font-size: 32px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.95);
    letter-spacing: 4px;
    margin-bottom: 15px;
    line-height: 1.3;
    white-space: nowrap;
}

.games-feature-subtitle {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 2px;
    margin-bottom: 30px;
}

.games-feature-genre {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    margin-bottom: 30px;
}

.games-feature-platforms {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.games-feature-image {
    margin: 20px 0;
    width: 100%;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.games-feature-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}

.games-feature-stores {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

.store-button {
    display: inline-block;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.store-button:hover {
    opacity: 0.8;
    transform: scale(1.05);
}

.store-button img {
    height: 40px;
    width: auto;
    border-radius: 6px;
}

.store-button img[alt="Steam"] {
    background: #fff;
    padding: 6px 10px;
    height: 40px;
    width: auto;
}

.games-feature-details {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: left;
}

.games-feature-details .game-detail-row {
    display: flex;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.games-feature-details .game-detail-label {
    width: 120px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
    flex-shrink: 0;
}

.games-feature-details .game-detail-value {
    color: rgba(255, 255, 255, 0.9);
    font-size: 12px;
}

/* FOR CREATORS サービスパネル */
.creator-service-description {
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
    text-align: center;
}

.creator-service-features {
    text-align: left;
    margin-bottom: 30px;
}

.creator-service-features ul {
    list-style: none;
    padding: 0;
}

.creator-service-features li {
    position: relative;
    padding: 10px 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    line-height: 1.6;
}

.creator-service-cta {
    text-align: center;
    margin-top: 30px;
}

.creator-contact-btn {
    background: linear-gradient(135deg, #4ECDC4, #556270);
    border: none;
    color: #fff;
    padding: 14px 40px;
    font-size: 14px;
    letter-spacing: 2px;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-family: 'Courier New', monospace;
}

.creator-contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(78, 205, 196, 0.4);
}

/* ========================================
   Publishing専用パネル
======================================== */
.publishing-panel {
    padding: 0 20px 40px;
    width: 100%;
}

/* ヒーロー */
.pub-hero {
    text-align: center;
    padding: 40px 0 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 40px;
}

.pub-hero-label {
    font-size: 10px;
    letter-spacing: 4px;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 15px;
}

.pub-hero-title {
    font-size: 28px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 15px;
    line-height: 1.4;
}

.pub-hero-subtitle {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
    margin-bottom: 25px;
}

.pub-apply-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: #fff;
    padding: 14px 40px;
    font-size: 12px;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Courier New', monospace;
}

.pub-apply-btn:hover {
    background: #fff;
    color: #000;
    border-color: #fff;
}

.pub-apply-btn.large {
    padding: 16px 50px;
    font-size: 13px;
}

/* セクション共通 */
.pub-section {
    margin-bottom: 50px;
}

.pub-section-title {
    font-size: 11px;
    letter-spacing: 3px;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 35px;
    text-align: center;
}

/* Why woof? */
.pub-why-grid {
    display: flex;
    flex-direction: row;
    gap: 30px;
    justify-content: center;
}

.pub-why-card {
    flex: 1;
    min-width: 300px;
    max-width: 350px;
    text-align: center;
    padding: 40px 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.pub-why-num {
    font-size: 32px;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    color: rgba(255, 255, 255, 0.15);
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.pub-why-card h3 {
    font-size: 14px;
    font-weight: normal;
    letter-spacing: 2px;
    color: #fff;
    margin-bottom: 15px;
}

.pub-why-card p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.8;
}

/* What We Offer */
.pub-offer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.pub-offer-item {
    background: #000;
    padding: 30px 20px;
    text-align: center;
}

.pub-offer-num {
    font-size: 24px;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    color: rgba(255, 255, 255, 0.12);
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.pub-offer-content h4 {
    font-size: 13px;
    color: #fff;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.pub-offer-content p {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.7;
}

/* Revenue Model */
.pub-revenue-box {
    padding: 20px 0;
}

.pub-revenue-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-bottom: 25px;
}

.pub-revenue-circle {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.pub-revenue-circle.dev {
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.pub-revenue-circle.pub {
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.pub-revenue-label {
    font-size: 11px;
    color: #fff;
}

.pub-revenue-divider {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.2);
}

.pub-revenue-note {
    text-align: center;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 25px;
}

.pub-revenue-points {
    list-style: none;
    padding: 0;
}

.pub-revenue-points li {
    padding: 12px 0;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Process */
.pub-process-steps {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    gap: 0;
}

.pub-process-step {
    flex: 1;
    text-align: center;
    padding: 0 20px;
    position: relative;
}

.pub-process-step::after {
    content: '';
    position: absolute;
    top: 20px;
    right: 0;
    width: 40px;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
}

.pub-process-step:last-child::after {
    display: none;
}

.pub-step-num {
    font-size: 28px;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    color: rgba(255, 255, 255, 0.15);
    margin-bottom: 15px;
}

.pub-step-content h4 {
    font-size: 13px;
    color: #fff;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.pub-step-content p {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.6;
}

/* CTA */
.pub-cta {
    text-align: center;
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.pub-cta-text {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 25px;
}

/* ========================================
   Development（受託開発）パネル
======================================== */
.development-panel {
    padding: 0 20px 40px;
    width: 100%;
}

/* ヒーロー */
.dev-hero {
    text-align: center;
    padding: 40px 0 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 40px;
}

.dev-hero-label {
    font-size: 10px;
    letter-spacing: 4px;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 15px;
}

.dev-hero-title {
    font-size: 28px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 15px;
    line-height: 1.4;
}

.dev-hero-subtitle {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
    margin-bottom: 25px;
}

.dev-cta-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: #fff;
    padding: 14px 40px;
    font-size: 12px;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Courier New', monospace;
}

.dev-cta-btn:hover {
    background: #fff;
    color: #000;
    border-color: #fff;
}

.dev-cta-btn.large {
    padding: 16px 50px;
    font-size: 13px;
}

/* セクション共通 */
.dev-section {
    margin-bottom: 50px;
}

.dev-section-title {
    font-size: 11px;
    letter-spacing: 3px;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 35px;
    text-align: center;
}

/* Why woof? */
.dev-why-grid {
    display: flex;
    flex-direction: row;
    gap: 30px;
    justify-content: center;
}

.dev-why-card {
    flex: 1;
    min-width: 280px;
    max-width: 320px;
    text-align: center;
    padding: 35px 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.dev-why-num {
    font-size: 28px;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    color: rgba(255, 255, 255, 0.15);
    letter-spacing: 2px;
    margin-bottom: 18px;
}

.dev-why-card h3 {
    font-size: 14px;
    font-weight: normal;
    letter-spacing: 2px;
    color: #fff;
    margin-bottom: 12px;
}

.dev-why-card p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.8;
}

/* Services Grid */
.dev-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.dev-service-card {
    background: #000;
    padding: 30px 25px;
}

.dev-service-title {
    font-size: 11px;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 15px;
    font-weight: normal;
}

.dev-service-items {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dev-service-items li {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    padding: 6px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dev-service-items li:last-child {
    border-bottom: none;
}

/* Engine Expertise */
.dev-engine-grid {
    display: flex;
    gap: 30px;
    justify-content: center;
}

.dev-engine-card {
    flex: 1;
    max-width: 400px;
    padding: 35px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.dev-engine-name {
    font-size: 18px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.dev-engine-desc {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 20px;
}

.dev-engine-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.dev-engine-features span {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.6);
    padding: 6px 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* AI Integration */
.dev-ai-desc {
    text-align: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 30px;
}

.dev-ai-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.dev-ai-card {
    background: #000;
    padding: 25px 20px;
    text-align: center;
}

.dev-ai-num {
    font-size: 20px;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    color: rgba(255, 255, 255, 0.12);
    margin-bottom: 12px;
}

.dev-ai-card h4 {
    font-size: 12px;
    color: #fff;
    margin-bottom: 8px;
    letter-spacing: 1px;
    font-weight: normal;
}

.dev-ai-card p {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.6;
}

/* Process */
.dev-process-steps {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    gap: 0;
}

.dev-process-step {
    flex: 1;
    text-align: center;
    padding: 0 15px;
    position: relative;
}

.dev-process-step::after {
    content: '';
    position: absolute;
    top: 20px;
    right: 0;
    width: 30px;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
}

.dev-process-step:last-child::after {
    display: none;
}

.dev-step-num {
    font-size: 24px;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    color: rgba(255, 255, 255, 0.15);
    margin-bottom: 12px;
}

.dev-step-content h4 {
    font-size: 12px;
    color: #fff;
    margin-bottom: 6px;
    letter-spacing: 1px;
}

.dev-step-content p {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.5;
}

/* Stats */
.dev-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 30px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 40px;
}

.dev-stat-item {
    text-align: center;
}

.dev-stat-value {
    font-size: 14px;
    font-weight: bold;
    color: #fff;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.dev-stat-label {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 1px;
}

/* Service Details */
.dev-services-detail {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.dev-service-detail-card {
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px;
}

.dev-service-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dev-service-icon {
    font-size: 24px;
    font-weight: bold;
    color: rgba(255, 255, 255, 0.15);
    font-family: 'Courier New', monospace;
}

.dev-service-header h4 {
    font-size: 13px;
    color: #fff;
    letter-spacing: 2px;
    font-weight: normal;
}

.dev-service-items-detail {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.dev-service-item-row {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.dev-item-name {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.9);
}

.dev-item-desc {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.4);
}

/* Platforms */
.dev-platforms-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.dev-platform-card {
    background: #000;
    padding: 25px 20px;
    text-align: center;
}

.dev-platform-card h4 {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 2px;
    margin-bottom: 15px;
    font-weight: normal;
}

.dev-platform-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dev-platform-list span {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.8);
}

/* Genres */
.dev-genres-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.dev-genre-tag {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
    padding: 8px 16px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Engine Strengths */
.dev-engine-strengths {
    list-style: none;
    padding: 0;
    margin-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 15px;
}

.dev-engine-strengths li {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
    padding: 5px 0;
    position: relative;
    padding-left: 15px;
}

.dev-engine-strengths li::before {
    content: '−';
    position: absolute;
    left: 0;
    color: rgba(255, 255, 255, 0.3);
}

/* AI Large Grid */
.dev-ai-section {
    background: rgba(255, 255, 255, 0.02);
    margin-left: -20px;
    margin-right: -20px;
    padding: 40px 20px;
}

.dev-ai-grid-large {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.dev-ai-card-large {
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.dev-ai-card-large .dev-ai-num {
    font-size: 20px;
    margin-bottom: 15px;
}

.dev-ai-card-large h4 {
    font-size: 14px;
    color: #fff;
    margin-bottom: 12px;
    letter-spacing: 1px;
    font-weight: normal;
}

.dev-ai-card-large p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
}

/* Scale */
.dev-scale-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.dev-scale-card {
    background: #000;
    padding: 30px 25px;
    text-align: center;
}

.dev-scale-card h4 {
    font-size: 14px;
    color: #fff;
    margin-bottom: 10px;
    letter-spacing: 1px;
    font-weight: normal;
}

.dev-scale-desc {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 20px;
}

.dev-scale-examples {
    list-style: none;
    padding: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 15px;
}

.dev-scale-examples li {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
    padding: 5px 0;
}

/* FAQ */
.dev-faq-list {
    display: flex;
    flex-direction: column;
    gap: 1px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.dev-faq-item {
    background: #000;
    padding: 20px 25px;
}

.dev-faq-q {
    font-size: 13px;
    color: #fff;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.dev-faq-a {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    padding-left: 20px;
}

/* CTA */
.dev-cta {
    text-align: center;
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.dev-cta-text {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 25px;
}

/* Development レスポンシブ */
@media (max-width: 1200px) {
    .dev-services-detail {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 900px) {
    .dev-stats {
        flex-wrap: wrap;
        gap: 20px;
    }

    .dev-why-grid {
        flex-direction: column;
        align-items: center;
    }

    .dev-why-card {
        max-width: 100%;
        width: 100%;
    }

    .dev-services-grid {
        grid-template-columns: 1fr;
    }

    .dev-engine-grid {
        flex-direction: column;
        align-items: center;
    }

    .dev-engine-card {
        max-width: 100%;
        width: 100%;
    }

    .dev-ai-grid-large {
        grid-template-columns: 1fr;
    }

    .dev-scale-grid {
        grid-template-columns: 1fr;
    }

    .dev-platforms-grid {
        grid-template-columns: 1fr;
    }

    .dev-process-steps {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .dev-process-step {
        width: 100%;
        max-width: 300px;
    }

    .dev-process-step::after {
        display: none;
    }
}

@media (max-width: 600px) {
    .dev-ai-grid {
        grid-template-columns: 1fr;
    }

    .dev-stats {
        gap: 15px;
    }

    .dev-stat-item {
        flex: 0 0 45%;
    }
}

.games-list-panel {
    width: 350px;
    background: rgba(0, 0, 0, 0.95);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    overflow-y: auto;
    padding: 80px 0 40px;
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.5s ease 0.2s, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.2s;
}

#games-modal.show .games-list-panel {
    opacity: 1;
    transform: translateX(0);
}

.games-list-section {
    padding: 0 25px;
    margin-bottom: 30px;
}

.games-list-section h3 {
    font-size: 9px;
    font-weight: normal;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 3px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.game-list-item {
    padding: 15px 0;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.game-list-item:hover {
    padding-left: 10px;
}

.game-list-item.active {
    padding-left: 15px;
    border-left: 2px solid rgba(255, 255, 255, 0.6);
}

.game-list-item-title {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 4px;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.game-list-item:hover .game-list-item-title {
    color: rgba(255, 255, 255, 1);
}

.game-list-item-platform {
    font-size: 9px;
    color: rgba(255, 255, 255, 0.35);
    letter-spacing: 1px;
}

.modal-content::-webkit-scrollbar {
    width: 4px;
}

.modal-content::-webkit-scrollbar-track {
    background: transparent;
}

.modal-content::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 24px;
    cursor: pointer;
    transition: color 0.3s ease, opacity 0.4s ease 0.3s, transform 0.4s ease 0.3s;
    z-index: 10;
    opacity: 0;
    transform: rotate(-90deg);
}

.modal.show .modal-close {
    opacity: 1;
    transform: rotate(0deg);
}

.modal-close:hover {
    color: rgba(255, 255, 255, 1);
    transform: rotate(90deg);
}

.modal-title {
    font-size: 18px;
    font-weight: normal;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 4px;
    margin-bottom: 30px;
    text-align: center;
}

.modal-section {
    margin-bottom: 30px;
}

.modal-section h3 {
    font-size: 11px;
    font-weight: normal;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 3px;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.games-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.game-item {
    padding: 15px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.game-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.3);
}

.game-item-title {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.game-item-desc {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 5px;
}

.game-item-platform {
    font-size: 9px;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 1px;
}

/* ゲーム詳細モーダル */
#game-detail-modal .modal-content {
    width: 500px;
    max-width: 90%;
}

.game-detail-header {
    margin-bottom: 20px;
}

.game-detail-title {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.95);
    letter-spacing: 2px;
    margin-bottom: 5px;
}

.game-detail-subtitle {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

.game-detail-info {
    margin-bottom: 20px;
}

.game-detail-row {
    display: flex;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 11px;
}

.game-detail-label {
    width: 120px;
    min-width: 120px;
    flex-shrink: 0;
    color: rgba(255, 255, 255, 0.5);
}

.game-detail-value {
    flex: 1;
    color: rgba(255, 255, 255, 0.8);
}

.game-detail-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.game-badge {
    font-size: 9px;
    padding: 5px 12px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

.game-badge.steam {
    background: rgba(102, 192, 244, 0.2);
    color: rgba(102, 192, 244, 0.9);
}

.game-badge.switch {
    background: rgba(230, 0, 18, 0.2);
    color: rgba(230, 100, 100, 0.9);
}

.game-badge.ios,
.game-badge.android {
    background: rgba(52, 168, 83, 0.2);
    color: rgba(52, 168, 83, 0.9);
}

.game-detail-back {
    margin-top: 20px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 11px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.game-detail-back:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
}

/* サービスモーダル - LP風フルスクリーン */
#services-modal {
    background: rgba(0, 0, 0, 0.6);
}

#services-modal .modal-content {
    max-width: none;
    width: 100%;
    height: 100%;
    max-height: 100%;
    background: #000;
    border: none;
    border-radius: 0;
    padding: 0;
    display: flex;
    overflow: hidden;
}

#services-modal .modal-close {
    top: 25px;
    right: 30px;
    font-size: 32px;
}

/* サービス一覧 - 左右分割レイアウト */
.services-layout {
    display: flex;
    width: 100%;
    height: 100%;
}

.services-feature-panel {
    flex: 1;
    display: flex;
    align-items: stretch;
    justify-content: stretch;
    position: relative;
    padding: 0;
    background: transparent;
    pointer-events: none;
}

.services-feature-content {
    text-align: center;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.7);
    padding: 60px 50px;
    border-radius: 0;
    backdrop-filter: blur(3px);
    border: none;
}

.services-feature-label {
    font-size: 10px;
    letter-spacing: 4px;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 20px;
    text-transform: uppercase;
}

.services-feature-title {
    font-size: 28px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.95);
    letter-spacing: 3px;
    margin-bottom: 30px;
    line-height: 1.3;
}

.services-feature-description {
    text-align: left;
}

.services-feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.services-feature-list li {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
    line-height: 1.5;
}

.services-feature-list li::before {
    content: '–';
    position: absolute;
    left: 0;
    color: rgba(255, 255, 255, 0.4);
}

.services-list-panel {
    width: 300px;
    background: rgba(0, 0, 0, 0.95);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    overflow-y: auto;
    padding: 80px 0 40px;
}

.services-list-section {
    padding: 0 25px;
}

.services-list-section h3 {
    font-size: 9px;
    font-weight: normal;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 3px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.service-list-item {
    padding: 15px 0;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.service-list-item:hover {
    padding-left: 10px;
}

.service-list-item.active {
    padding-left: 15px;
    border-left: 2px solid rgba(255, 255, 255, 0.6);
}

.service-list-item-title {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.service-list-item:hover .service-list-item-title {
    color: rgba(255, 255, 255, 1);
}

/* 会社情報モーダル - LP風フルスクリーン */
#company-modal {
    background: rgba(0, 0, 0, 0.6);
}

#company-modal .modal-content {
    max-width: none;
    width: 100%;
    height: 100%;
    max-height: 100%;
    background: #000;
    border: none;
    border-radius: 0;
    padding: 0;
    display: flex;
    overflow: hidden;
}

#company-modal .modal-close {
    top: 25px;
    right: 30px;
    font-size: 32px;
}

/* 会社情報 - 左右分割レイアウト */
.company-layout {
    display: flex;
    width: 100%;
    height: 100%;
}

.company-feature-panel {
    flex: 1;
    display: flex;
    align-items: stretch;
    justify-content: stretch;
    position: relative;
    padding: 0;
    background: transparent;
    pointer-events: none;
}

.company-feature-content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.7);
    padding: 60px 50px;
    border-radius: 0;
    backdrop-filter: blur(3px);
    border: none;
}

.company-feature-label {
    font-size: 10px;
    letter-spacing: 4px;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 15px;
    text-transform: uppercase;
    text-align: center;
}

.company-feature-title {
    font-size: 24px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.95);
    letter-spacing: 3px;
    margin-bottom: 30px;
    text-align: center;
}

.company-table {
    text-align: left;
}

.company-row {
    display: flex;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.company-row-label {
    width: 180px;
    min-width: 180px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

.company-row-value {
    flex: 1;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
}

.company-list-panel {
    width: 300px;
    background: rgba(0, 0, 0, 0.95);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    overflow-y: auto;
    padding: 80px 0 40px;
}

.company-list-section {
    padding: 0 25px;
}

.company-list-section h3 {
    font-size: 9px;
    font-weight: normal;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 3px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.company-list-item {
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.company-list-item.active {
    padding-left: 15px;
    border-left: 2px solid rgba(255, 255, 255, 0.6);
}

.company-list-item-title {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 1px;
}

/* お問い合わせモーダル - LP風フルスクリーン */
#contact-modal {
    background: rgba(0, 0, 0, 0.6);
}

#contact-modal .modal-content {
    max-width: none;
    width: 100%;
    height: 100%;
    max-height: 100%;
    background: #000;
    border: none;
    border-radius: 0;
    padding: 0;
    display: flex;
    overflow: hidden;
}

#contact-modal .modal-close {
    top: 25px;
    right: 30px;
    font-size: 32px;
}

/* お問い合わせ - 左右分割レイアウト */
.contact-layout {
    display: flex;
    width: 100%;
    height: 100%;
}

.contact-feature-panel {
    flex: 1;
    display: flex;
    align-items: stretch;
    justify-content: stretch;
    position: relative;
    padding: 0;
    background: transparent;
    overflow-y: auto;
}

.contact-feature-content {
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    padding: 60px 50px;
    border-radius: 0;
    backdrop-filter: blur(3px);
    border: none;
    overflow-y: auto;
}

.contact-feature-label {
    font-size: 10px;
    letter-spacing: 4px;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 15px;
    text-transform: uppercase;
    text-align: center;
}

.contact-feature-title {
    font-size: 24px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.95);
    letter-spacing: 3px;
    margin-bottom: 15px;
    text-align: center;
}

.contact-note {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
    margin-bottom: 30px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.form-group label {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 1px;
}

.form-group input,
.form-group select,
.form-group textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    padding: 10px 12px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.9);
    font-family: inherit;
    outline: none;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: rgba(255, 255, 255, 0.5);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.form-group select option {
    background: #000;
    color: rgba(255, 255, 255, 0.9);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-checkbox {
    flex-direction: row;
    align-items: center;
}

.form-checkbox label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.form-checkbox input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

/* ポリシーモーダル - LP風フルスクリーン */
#policy-modal {
    background: rgba(0, 0, 0, 0.6);
}

#policy-modal .modal-content {
    max-width: none;
    width: 100%;
    height: 100%;
    max-height: 100%;
    background: #000;
    border: none;
    border-radius: 0;
    padding: 0;
    display: flex;
    overflow: hidden;
}

#policy-modal .modal-close {
    top: 25px;
    right: 30px;
    font-size: 32px;
}

.policy-layout {
    display: flex;
    width: 100%;
    height: 100%;
}

.policy-feature-panel {
    flex: 1;
    display: flex;
    align-items: stretch;
    justify-content: stretch;
    position: relative;
    padding: 0;
    background: transparent;
    overflow-y: auto;
}

.policy-feature-content {
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    padding: 60px 50px;
    border-radius: 0;
    backdrop-filter: blur(3px);
    border: none;
    overflow-y: auto;
}

.policy-header {
    text-align: center;
    margin-bottom: 40px;
}

.policy-label {
    font-size: 10px;
    letter-spacing: 4px;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 15px;
    text-transform: uppercase;
}

.policy-title {
    font-size: 24px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.95);
    letter-spacing: 3px;
}

.policy-intro {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.policy-section {
    margin-bottom: 35px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.policy-section-title {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.policy-section-content {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.9;
}

.policy-section-content p {
    margin-bottom: 10px;
}

.policy-section-content ul {
    margin: 10px 0;
    padding-left: 20px;
    list-style: none;
}

.policy-section-content li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 15px;
}

.policy-section-content li::before {
    content: '–';
    position: absolute;
    left: 0;
    color: rgba(255, 255, 255, 0.3);
}

.policy-section-content a {
    color: rgba(100, 180, 255, 0.8);
    text-decoration: none;
}

.policy-section-content a:hover {
    color: rgba(100, 180, 255, 1);
    text-decoration: underline;
}

.policy-list-panel {
    width: 300px;
    background: rgba(0, 0, 0, 0.95);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    overflow-y: auto;
    padding: 80px 0 40px;
}

.policy-list-section {
    padding: 0 25px;
}

.policy-list-section h3 {
    font-size: 9px;
    font-weight: normal;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 3px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.policy-list-item {
    padding: 15px 0;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.policy-list-item:hover {
    padding-left: 10px;
}

.policy-list-item.active {
    padding-left: 15px;
    border-left: 2px solid rgba(255, 255, 255, 0.6);
}

.policy-list-item-title {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.policy-list-item:hover .policy-list-item-title {
    color: rgba(255, 255, 255, 1);
}

.privacy-link {
    color: rgba(100, 180, 255, 0.8);
    text-decoration: none;
}

.privacy-link:hover {
    color: rgba(100, 180, 255, 1);
    text-decoration: underline;
}

.form-submit {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    padding: 12px 24px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.form-submit:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.contact-list-panel {
    width: 300px;
    background: rgba(0, 0, 0, 0.95);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    overflow-y: auto;
    padding: 80px 0 40px;
}

.contact-list-section {
    padding: 0 25px;
}

.contact-list-section h3 {
    font-size: 9px;
    font-weight: normal;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 3px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-list-item {
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.contact-list-item.active {
    padding-left: 15px;
    border-left: 2px solid rgba(255, 255, 255, 0.6);
}

.contact-list-item-title {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    #conversation-log {
        width: 260px;
        right: 10px;
        bottom: 70px;
    }

    .instructions {
        display: none;
    }

    #main-header {
        flex-wrap: wrap;
        padding: 15px;
        gap: 10px;
    }

    #main-nav {
        order: 3;
        width: 100%;
        justify-content: center;
        gap: 15px;
        flex-wrap: wrap;
    }

    #main-nav a {
        font-size: 10px;
    }

    .modal-content {
        padding: 20px;
        max-height: 90vh;
    }

    /* ゲームモーダル - モバイル */
    .games-layout {
        flex-direction: column;
    }

    .games-feature-panel {
        padding: 30px 20px;
        min-height: 40vh;
    }

    .games-feature-title {
        font-size: 32px;
        letter-spacing: 4px;
    }

    .games-list-panel {
        width: 100%;
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding: 30px 0;
    }
}

/* フッター */
#main-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(0, 0, 0, 0.8);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 30px;
    max-width: 100%;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 11px;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

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

.footer-divider {
    color: rgba(255, 255, 255, 0.2);
    font-size: 10px;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.3);
    font-size: 10px;
    letter-spacing: 0.5px;
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 15px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.4);
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-icon:hover {
    color: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
}

.social-icon svg {
    display: block;
}

@media (max-width: 600px) {
    .footer-content {
        flex-direction: column;
        gap: 10px;
        padding: 12px 20px;
    }

    .footer-social {
        order: -1;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .footer-copyright {
        text-align: center;
    }
}

/* トップに戻るボタン */
.back-to-top {
    position: fixed;
    bottom: 80px;
    right: 30px;
    width: 44px;
    height: 44px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    cursor: pointer;
    z-index: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top:hover {
    border-color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

.back-to-top.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
}

.top-arrow {
    width: 10px;
    height: 10px;
    border-top: 2px solid rgba(255, 255, 255, 0.6);
    border-right: 2px solid rgba(255, 255, 255, 0.6);
    transform: rotate(-45deg) translateY(2px);
    transition: border-color 0.3s ease;
}

.back-to-top:hover .top-arrow {
    border-color: rgba(255, 255, 255, 1);
}

/* ========================================
   AI Integration Panel Styles
   ======================================== */

.ai-panel {
    padding: 0 20px 40px;
    width: 100%;
}

/* ヒーロー - Developmentと統一 */
.ai-hero {
    text-align: center;
    padding: 40px 0 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 40px;
}

.ai-hero-label {
    font-size: 10px;
    letter-spacing: 4px;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 15px;
}

.ai-hero-title {
    font-size: 28px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 15px;
    line-height: 1.4;
}

.ai-hero-subtitle {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
    margin-bottom: 25px;
}

.ai-cta-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: #fff;
    padding: 14px 40px;
    font-size: 12px;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Courier New', monospace;
}

.ai-cta-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #fff;
}

.ai-cta-btn.large {
    padding: 14px 50px;
}

/* Stats - Developmentと統一 */
.ai-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin-bottom: 40px;
}

.ai-stat-item {
    background: #000;
    padding: 25px 15px;
    text-align: center;
}

.ai-stat-value {
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 5px;
    font-family: 'Courier New', monospace;
}

.ai-stat-label {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 1px;
}

/* Sections - Developmentと統一 */
.ai-section {
    margin-bottom: 50px;
}

.ai-section-title {
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 3px;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Why Grid - Developmentと統一 */
.ai-why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.ai-why-card {
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.ai-why-card:hover {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.02);
}

.ai-why-num {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 12px;
    font-family: 'Courier New', monospace;
}

.ai-why-card h3 {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 12px;
    color: #fff;
}

.ai-why-card p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
}

/* AI Services Grid - 横幅フル使用、Developmentスタイル統一 */
.ai-services-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.ai-service-card {
    padding: 30px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.ai-service-card:last-child {
    border-bottom: none;
}

.ai-service-card:hover {
    background: rgba(255, 255, 255, 0.02);
}

.ai-service-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.ai-service-icon {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.3);
    min-width: 25px;
    font-family: 'Courier New', monospace;
}

.ai-service-header-text {
    display: flex;
    align-items: baseline;
    gap: 15px;
}

.ai-service-header-text h4 {
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 1px;
    color: #fff;
}

.ai-service-desc {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

.ai-service-items {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin-left: 45px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.ai-service-item-row {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 15px;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.ai-service-item-row:last-child {
    border-right: none;
}

.ai-item-name {
    font-weight: bold;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.9);
}

.ai-item-desc {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.6;
}

.ai-service-note {
    margin-top: 15px;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.35);
    font-style: italic;
}

/* Use Cases Grid - Developmentスタイル統一 */
.ai-usecases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.ai-usecase-card {
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.ai-usecase-card:hover {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.02);
}

.ai-usecase-num {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 12px;
    font-family: 'Courier New', monospace;
}

.ai-usecase-card h4 {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #fff;
}

.ai-usecase-desc {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    margin-bottom: 12px;
}

.ai-usecase-examples {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ai-usecase-examples li {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    padding: 5px 0;
    padding-left: 12px;
    position: relative;
}

.ai-usecase-examples li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: rgba(255, 255, 255, 0.3);
}

/* Technologies Grid - Developmentスタイル統一 */
.ai-tech-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
}

.ai-tech-card {
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.ai-tech-card h4 {
    font-size: 11px;
    font-weight: bold;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 1px;
}

.ai-tech-items {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.ai-tech-items span {
    font-size: 10px;
    padding: 3px 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-family: 'Courier New', monospace;
}

/* Process Steps - Horizontal Flow、Developmentスタイル統一 */
.ai-process-steps {
    display: flex;
    align-items: flex-start;
    gap: 0;
    width: 100%;
}

.ai-process-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 0 20px;
    position: relative;
}

.ai-process-step::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20px;
    width: 20px;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
}

.ai-process-step:last-child::after {
    display: none;
}

.ai-step-num {
    font-size: 16px;
    font-weight: bold;
    color: rgba(255, 255, 255, 0.2);
    margin-bottom: 12px;
    font-family: 'Courier New', monospace;
}

.ai-step-content h4 {
    font-size: 13px;
    font-weight: bold;
    margin-bottom: 8px;
    color: #fff;
}

.ai-step-content p {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.7;
}

/* FAQ - Developmentスタイル統一 */
.ai-faq-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.ai-faq-item {
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.ai-faq-q {
    font-size: 13px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #fff;
}

.ai-faq-a {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    padding-left: 20px;
}

/* CTA - Developmentスタイル統一 */
.ai-cta {
    text-align: center;
    padding: 50px 0;
    margin-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.ai-cta-text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 20px;
}

/* Responsive - AI Panel */
@media (max-width: 1200px) {
    .ai-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 900px) {
    .ai-hero {
        padding: 50px 30px;
    }

    .ai-hero-title {
        font-size: 2rem;
    }

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

    .ai-section {
        padding: 50px 30px;
    }

    .ai-why-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .ai-services-grid {
        display: flex;
        flex-direction: column;
    }

    .ai-service-items {
        grid-template-columns: repeat(2, 1fr);
        margin-left: 0;
    }

    .ai-service-item-row:nth-child(2) {
        border-right: none;
    }

    .ai-service-item-row:nth-child(1),
    .ai-service-item-row:nth-child(2) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .ai-usecases-grid {
        grid-template-columns: 1fr;
    }

    .ai-tech-grid {
        grid-template-columns: 1fr;
    }

    .ai-process-steps {
        flex-wrap: wrap;
    }

    .ai-process-step {
        flex: 0 0 50%;
        padding: 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .ai-process-step::after {
        display: none;
    }
}

@media (max-width: 600px) {
    .ai-hero {
        padding: 40px 20px;
    }

    .ai-hero-title {
        font-size: 1.6rem;
    }

    .ai-hero-subtitle {
        font-size: 0.9rem;
    }

    .ai-stats {
        grid-template-columns: 1fr 1fr;
    }

    .ai-stat-item {
        padding: 20px 15px;
    }

    .ai-stat-value {
        font-size: 1.1rem;
    }

    .ai-section {
        padding: 40px 20px;
    }

    .ai-section-title {
        font-size: 1.2rem;
        margin-bottom: 30px;
    }

    .ai-service-card {
        padding: 30px 20px;
    }

    .ai-service-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .ai-service-header-text {
        flex-direction: column;
        gap: 5px;
    }

    .ai-service-items {
        grid-template-columns: 1fr;
        margin-left: 0;
    }

    .ai-service-item-row {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .ai-service-item-row:last-child {
        border-bottom: none;
    }

    .ai-process-steps {
        flex-direction: column;
    }

    .ai-process-step {
        flex: 1;
        padding: 20px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .ai-process-step:last-child {
        border-bottom: none;
    }

    .ai-cta {
        padding: 40px 20px;
    }

    .ai-cta-btn.large {
        padding: 14px 40px;
        font-size: 0.9rem;
    }
}
