/* DMM Games Inspired Redesign - Dark Theme */
/* ================== CSS Variables ================== */
:root {
    --bg-dark: #000000;
    --bg-dark-alt: #0a0a0a;
    --card-bg: #1a1a1a;
    --card-hover: #252525;
    --card-light: #151515;
    --primary-pink: #ff1493;
    --primary-purple: #9945ff;
    --primary-blue: #00d4ff;
    --accent-gradient: linear-gradient(135deg, #ff1493, #9945ff, #00d4ff);
    --soft-gradient: linear-gradient(135deg, rgba(255, 20, 147, 0.15), rgba(153, 69, 255, 0.15));
    --text-primary: #ffffff;
    --text-secondary: #e0e0e0;
    --text-dark: #ffffff;
    --text-gray: #b0b0b0;
    --border-light: rgba(255, 255, 255, 0.1);
    --border-glow: rgba(153, 69, 255, 0.3);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.5);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.6);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.7);
    --shadow-glow: 0 0 20px rgba(153, 69, 255, 0.4);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ================== Global Reset ================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Noto Sans JP', 'Microsoft YaHei', sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.8;
    overflow-x: hidden;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* 中国語フォント対応 */
body[lang="zh"],
body.lang-zh {
    font-family: 'Inter', 'Noto Sans SC', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'WenQuanYi Micro Hei', sans-serif;
}

/* Animated Background - Dark Theme */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 20, 147, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(153, 69, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(0, 212, 255, 0.05) 0%, transparent 50%);
    z-index: -1;
    animation: bgPulse 20s ease-in-out infinite;
}

@keyframes bgPulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ================== Navigation ================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(30px);
    border-bottom: 1px solid var(--border-light);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.nav.scrolled {
    padding: 15px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.9), var(--shadow-glow);
}

.nav-container {
    max-width: 100%;
    margin: 0;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.nav-logo {
    font-size: 37px;
    font-weight: 900;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1.5px;
    animation: logoGlow 3s ease-in-out infinite;
    flex-shrink: 0; /* ロゴのサイズを固定 */
    z-index: 1001; /* ロゴを最前面に */
    position: absolute; /* 絶対位置で最左端に固定 */
    left: 40px;
}

@keyframes logoGlow {
    0%, 100% { filter: drop-shadow(0 0 10px rgba(255, 20, 147, 0.5)); }
    50% { filter: drop-shadow(0 0 20px rgba(153, 69, 255, 0.8)); }
}

/* メニューラッパー */
.nav-menu-wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
    width: 100%;
    justify-content: center; /* メニューを中央に */
    padding: 0 250px; /* ロゴと言語ボタンのためのスペース */
}

.nav-menu {
    display: flex;
    gap: 35px; /* メニュー項目間の距離 */
    list-style: none;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    position: relative;
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
    display: inline-block;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gradient);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--text-primary);
    transform: scale(1.15);
    text-shadow: 0 0 10px rgba(153, 69, 255, 0.5);
}

.nav-link:hover::after {
    width: 100%;
    box-shadow: 0 0 10px rgba(153, 69, 255, 0.6);
}

/* ================== Hamburger Menu ================== */
.hamburger {
    display: none; /* デフォルトで非表示 */
    flex-direction: column;
    justify-content: space-around;
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1002;
    position: absolute; /* 絶対位置 */
    right: 180px; /* 言語ボタンの左側 */
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background: var(--accent-gradient);
    border-radius: 10px;
    transition: all 0.3s ease;
    transform-origin: center;
}

/* ハンバーガーメニューアクティブ状態 */
.hamburger.active .hamburger-line:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* メニューオーバーレイ */
.nav-overlay {
    display: none;
    position: fixed;
    top: 77px;
    left: 0;
    width: 100%;
    height: calc(100vh - 77px);
    background: rgba(0, 0, 0, 0.8);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.nav-overlay.active {
    display: block;
    opacity: 1;
}

/* レスポンシブ: メニューが重なる場合にハンバーガー表示 */
@media (max-width: 1100px) {
    .nav-logo {
        position: static; /* レスポンシブ時は通常配置 */
        left: auto;
    }
    
    .hamburger {
        display: flex;
        position: static; /* レスポンシブ時は通常配置 */
        right: auto;
    }
    
    .lang-switcher {
        position: static; /* レスポンシブ時は通常配置 */
        right: auto;
    }
    
    .nav-menu-wrapper {
        position: fixed;
        top: 77px; /* ナビゲーションバーの高さ */
        right: -100%;
        width: 320px;
        max-width: 90vw;
        height: calc(100vh - 77px);
        background: rgba(0, 0, 0, 0.98);
        backdrop-filter: blur(30px);
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 30px 0 30px 0;
        box-shadow: -4px 0 20px rgba(153, 69, 255, 0.4);
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
        z-index: 999;
        border-left: 1px solid var(--border-glow);
    }
    
    .nav-menu-wrapper.active {
        right: 0;
    }
    
    .nav-menu {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        gap: 0;
        padding: 0 30px;
    }
    
    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid var(--border-light);
    }
    
    .nav-menu li:last-child {
        border-bottom: none;
    }
    
    .nav-link {
        display: block;
        width: 100%;
        padding: 18px 0;
        font-size: 18px;
    }
    
    .nav-link::after {
        display: none;
    }
    
    .nav-link:hover {
        transform: translateX(10px);
        color: var(--primary-purple);
    }
    
    .lang-switcher {
        margin: 30px 30px 0 30px;
        padding: 20px 0 0 0;
        border-top: 1px solid var(--border-light);
        border-left: none;
        width: calc(100% - 60px);
    }
}

/* ================== Language Switcher ================== */
.lang-switcher {
    display: flex;
    gap: 8px;
    position: absolute; /* 絶対位置で最右端に固定 */
    right: 40px;
    z-index: 1001;
}

.lang-btn {
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-secondary);
    background: transparent;
    border: 2px solid var(--border-light);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.lang-btn:hover {
    color: var(--text-primary);
    border-color: var(--primary-purple);
    background: rgba(153, 69, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(153, 69, 255, 0.4);
}

.lang-btn.active {
    color: #ffffff;
    background: linear-gradient(135deg, var(--primary-pink), var(--primary-purple), var(--primary-blue));
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(153, 69, 255, 0.6), 0 0 20px rgba(153, 69, 255, 0.4);
}

.lang-btn.active:hover {
    transform: translateY(-2px) scale(1.05);
}

/* ================== Hero Section ================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 120px 0 80px;
    margin-bottom: 50vh;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(135deg, rgba(255, 20, 147, 0.06), rgba(153, 69, 255, 0.06)),
        url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(153,69,255,0.08)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.6;
    animation: heroGrid 20s linear infinite;
}

@keyframes heroGrid {
    0% { transform: translate(0, 0); }
    100% { transform: translate(100px, 100px); }
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

/* Animated Logo with Particles */
.hero-visual-logo {
    position: relative;
    margin: 0 auto 15px;
    max-width: 1300px;
    padding: 60px;
}



.hero-logo {
    width: 100%;
    height: auto;
    display: block;
    position: relative;
    mix-blend-mode: normal; /* 動画用に通常モードに変更 */
    object-fit: contain; /* アスペクト比を維持 */
}

/* 動画内のフォールバック画像 */
.hero-logo img {
    width: 100%;
    height: auto;
    display: block;
    mix-blend-mode: multiply;
}

.hero-title {
    font-size: 97px;
    font-weight: 900;
    margin: 0 0 35px;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -3px;
    line-height: 1.05;
    text-transform: uppercase;
    transition: var(--transition);
}

.hero-title:hover {
    animation: titleShake 0.5s ease;
}

@keyframes titleShake {
    0%, 100% { transform: translate(0, 0); }
    10%, 30%, 50%, 70%, 90% { transform: translate(-3px, 0); }
    20%, 40%, 60%, 80% { transform: translate(3px, 0); }
}

.hero-subtitle {
    font-size: 25px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-weight: 600;
    letter-spacing: 0.5px;
    line-height: 1.6;
}

.hero-tagline {
    font-size: 22px;
    color: var(--text-secondary);
    max-width: 750px;
    margin: 0 auto 45px;
    line-height: 1.9;
    font-weight: 500;
}

.cta-button {
    display: inline-block;
    padding: 23px 63px;
    background: var(--accent-gradient);
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    font-size: 20px;
    border-radius: 50px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 10px 40px rgba(255, 20, 147, 0.6), 0 0 30px rgba(153, 69, 255, 0.5);
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: var(--transition);
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 60px rgba(255, 20, 147, 0.6);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s ease-in-out infinite;
}

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

.scroll-indicator svg {
    width: 30px;
    height: 30px;
    stroke: var(--primary-purple);
    filter: drop-shadow(0 0 10px rgba(153, 69, 255, 0.6));
}

/* ================== Section Styles ================== */
section {
    padding: 120px 0;
    position: relative;
    background: var(--bg-dark);
}

section:nth-child(even) {
    background: var(--bg-dark-alt);
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
}

.section-title {
    font-size: 74px;
    font-weight: 900;
    margin-bottom: 25px;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -2px;
    text-transform: uppercase;
    line-height: 1.1;
}

.section-subtitle {
    font-size: 23px;
    color: var(--text-secondary);
    margin-top: 15px;
    font-weight: 600;
    line-height: 1.7;
}

.title-underline {
    width: 100px;
    height: 4px;
    background: var(--accent-gradient);
    margin: 20px auto 0;
    border-radius: 2px;
    animation: underlineGlow 2s ease-in-out infinite;
}

@keyframes underlineGlow {
    0%, 100% { box-shadow: 0 0 20px rgba(255, 20, 147, 0.5); }
    50% { box-shadow: 0 0 40px rgba(153, 69, 255, 0.8); }
}

/* ================== About Section ================== */
.about {
    background: var(--bg-dark-alt);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(255, 20, 147, 0.08), transparent);
    pointer-events: none;
}

.about-content {
    display: flex;
    gap: 80px;
    align-items: center;
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: 44px;
    margin-bottom: 30px;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
    line-height: 1.3;
    letter-spacing: -0.5px;
}

.about-text p {
    font-size: 21px;
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.9;
    font-weight: 500;
}

.about-text strong {
    color: var(--primary-pink);
    font-weight: 700;
}

.libra-art {
    flex: 1;
    width: 100%;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.libra-art svg {
    filter: drop-shadow(0 0 30px rgba(0, 212, 255, 0.6));
}

/* ================== Services Section ================== */
.services {
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    position: relative;
}

.service-card {
    background: var(--card-light);
    border: 2px solid var(--border-light);
    border-radius: 28px;
    padding: 52px 40px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

.service-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 5px;
    height: 100%;
    background: var(--accent-gradient);
    transform: scaleY(0);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateX(10px);
    border-color: var(--primary-purple);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.8), 0 0 30px rgba(153, 69, 255, 0.5);
    background: var(--soft-gradient);
}

.service-card:hover::before {
    transform: scaleY(1);
}

.service-card.featured {
    border: 3px solid var(--primary-purple);
    background: var(--soft-gradient);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.8), 0 0 30px rgba(153, 69, 255, 0.5);
}

.services .service-badge {
    position: absolute;
    bottom: -60px;
    left: 0;
    background: var(--accent-gradient);
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 12px 28px;
    border-radius: 24px;
    box-shadow: 0 5px 20px rgba(255, 20, 147, 0.6), 0 0 25px rgba(153, 69, 255, 0.5);
    animation: badgePulse 2s ease-in-out infinite;
    z-index: 10;
}

@keyframes badgePulse {
    0%, 100% { transform: scale(1) translateX(0); }
    50% { transform: scale(1.05) translateX(0); }
}

.service-icon {
    width: 81px;
    height: 81px;
    margin-bottom: 28px;
    position: relative;
    z-index: 2;
}

.service-icon svg {
    width: 100%;
    height: 100%;
    stroke: var(--primary-purple);
    filter: drop-shadow(0 0 15px rgba(153, 69, 255, 0.5));
    transition: var(--transition);
    stroke-width: 2;
}

.service-card:hover .service-icon svg {
    stroke: var(--primary-pink);
    filter: drop-shadow(0 0 25px rgba(255, 20, 147, 0.8));
    transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
    font-size: 28px;
    margin-bottom: 18px;
    color: var(--text-primary);
    font-weight: 900;
    position: relative;
    z-index: 2;
    letter-spacing: -0.5px;
    line-height: 1.4;
}

.service-card p {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.8;
    position: relative;
    z-index: 2;
    font-weight: 500;
}

/* PC版のみ改行を表示 */
.pc-break {
    display: inline;
}

/* モバイル版のみ改行を表示 */
.mobile-break {
    display: none;
}

/* ================== Representative Section ================== */
.representative {
    background: var(--bg-dark-alt);
    position: relative;
}

.rep-profile {
    background: var(--card-light);
    border: 2px solid var(--border-light);
    border-radius: 37px;
    padding: 75px 63px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: pointer;
}

.rep-profile:hover {
    border-color: var(--primary-purple);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.8), 0 0 30px rgba(153, 69, 255, 0.5);
    background: var(--soft-gradient);
}

.rep-header {
    display: flex;
    gap: 40px;
    align-items: center;
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
}

.rep-photo {
    width: 207px;
    height: 207px;
    border-radius: 50%;
    border: 4px solid;
    border-image: var(--accent-gradient) 1;
    overflow: hidden;
    position: relative;
    box-shadow: 0 15px 50px rgba(153, 69, 255, 0.5);
    transition: var(--transition);
}

.rep-photo:hover {
    transform: scale(1);
    box-shadow: 0 15px 50px rgba(153, 69, 255, 0.7), 0 0 30px rgba(255, 20, 147, 0.5);
}

.rep-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-15deg);
    font-size: 21px;
    font-weight: 900;
    color: var(--primary-purple);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    letter-spacing: 2px;
    opacity: 0.8;
}

.rep-name-title h3 {
    font-size: 41px;
    margin-bottom: 12px;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
    letter-spacing: -1px;
}

.rep-title {
    font-size: 22px;
    color: var(--primary-purple);
    font-weight: 700;
    letter-spacing: 0.5px;
}

.rep-bio {
    position: relative;
    z-index: 2;
}

.rep-bio h4 {
    font-size: 25px;
    color: var(--primary-pink);
    margin-top: 40px;
    margin-bottom: 28px;
    font-weight: 900;
    letter-spacing: 0px;
    line-height: 1.4;
}

.rep-bio h4:first-of-type {
    margin-top: 40px;
}

.rep-bio p {
    font-size: 20px;
    color: var(--text-secondary);
    line-height: 2.0;
    margin-bottom: 20px;
    font-weight: 500;
}

.rep-bio ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 32px;
}

.rep-bio ul li {
    font-size: 18px;
    color: var(--text-secondary);
    padding: 18px 0;
    padding-left: 32px;
    position: relative;
    border-bottom: 1px solid var(--border-light);
    transition: var(--transition);
    font-weight: 500;
    line-height: 1.8;
    margin-bottom: 4px;
}

.rep-bio ul li:hover {
    color: var(--text-primary);
    padding-left: 42px;
    border-left: 3px solid var(--primary-purple);
    background: var(--soft-gradient);
}

.rep-bio ul li::before {
    content: '▸';
    position: absolute;
    left: 10px;
    color: var(--primary-purple);
    font-weight: bold;
}

/* ================== News Section ================== */
.news {
    position: relative;
}

.news-list {
    max-width: 900px;
    margin: 0 auto;
}

.news-item {
    background: var(--card-light);
    border: 2px solid var(--border-light);
    border-radius: 23px;
    padding: 40px 46px;
    margin-bottom: 28px;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.news-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 5px;
    height: 100%;
    background: var(--accent-gradient);
    transform: scaleY(0);
    transition: var(--transition);
}

.news-item:hover {
    transform: translateX(10px);
    border-color: var(--primary-purple);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.8), 0 0 30px rgba(153, 69, 255, 0.5);
    background: var(--soft-gradient);
}

.news-item:hover::before {
    transform: scaleY(1);
}

.news-date {
    color: var(--primary-purple);
    font-size: 17px;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.news-title {
    font-size: 23px;
    color: var(--text-primary);
    font-weight: 800;
    margin-bottom: 10px;
    line-height: 1.5;
}

.news-excerpt {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.8;
    font-weight: 500;
}

/* ================== Office Section ================== */
.office {
    background: var(--bg-dark-alt);
    position: relative;
}

.office-intro {
    max-width: 800px;
    margin: 0 auto 60px;
    text-align: center;
}

.office-intro h3 {
    font-size: 37px;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 24px;
    font-weight: 900;
    letter-spacing: -0.5px;
}

.office-intro p {
    font-size: 20px;
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: 18px;
    font-weight: 500;
}

.office-text p {
    font-size: 25px;
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: 18px;
    font-weight: 500;
}

.office-info-box h4 {
    font-size: 43.75px;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 35px;
    font-weight: 900;
    letter-spacing: -0.5px;
}

.office-info-box p {
    font-size: 25px;
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: 35px;
    font-weight: 500;
}

.office-photos {
    display: flex;
    gap: 30px;
    margin-bottom: 65px;
    justify-content: center;
}

.office-photo-item {
    max-width: 45%;
}

.office-photo-container {
    position: relative;
    width: 100%;
}

.office-photo {
    position: relative;
    width: 100%;
    height: auto;
    border-radius: 24px;
    overflow: hidden;
    border: 2px solid var(--border-light);
    transition: var(--transition);
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

.office-photo:hover {
    transform: scale(1);
    border-color: var(--primary-purple);
    box-shadow: var(--shadow-lg);
}

.office-photo img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

.photo-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-15deg);
    font-size: 23px;
    font-weight: 900;
    color: var(--primary-purple);
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.8);
    letter-spacing: 2px;
    opacity: 0.6;
    pointer-events: none;
}

.office-access {
    background: var(--card-light);
    border: 2px solid var(--border-light);
    border-radius: 32px;
    padding: 63px;
    margin-top: 65px;
    box-shadow: var(--shadow-md);
}

.office-access h3 {
    font-size: 35px;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 35px;
    font-weight: 900;
    letter-spacing: -0.5px;
}

.office-map {
    border-radius: 24px;
    overflow: hidden;
    border: 3px solid var(--border-light);
    box-shadow: var(--shadow-md);
}

.office-map iframe {
    width: 100%;
    height: 450px;
    border: none;
    display: block;
}

/* ================== Company Section ================== */
.company {
    position: relative;
}

.company-info {
    max-width: 1093px;
    margin: 0 auto;
    background: var(--card-light);
    border: 2px solid var(--border-light);
    border-radius: 32px;
    padding: 63px;
    box-shadow: var(--shadow-md);
}

.info-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 20px;
}

.info-table th {
    text-align: left;
    font-weight: 800;
    font-size: 20px;
    color: var(--primary-purple);
    padding: 24px 32px;
    width: 190px;
    letter-spacing: 0.3px;
    background: var(--soft-gradient);
    border-radius: 12px 0 0 12px;
}

.info-table td {
    font-size: 20px;
    color: var(--text-secondary);
    padding: 24px 32px;
    line-height: 1.9;
    background: rgba(153, 69, 255, 0.08);
    border-radius: 0 12px 12px 0;
    font-weight: 500;
}

.info-table tr {
    transition: var(--transition);
}

.info-table tr:hover th {
    background: var(--soft-gradient);
    color: var(--primary-purple);
}

.info-table tr:hover td {
    background: var(--soft-gradient);
    color: var(--text-primary);
}

/* ================== Contact Section ================== */
.contact {
    background: var(--bg-light-alt);
    position: relative;
}

.contact-content {
    max-width: 1200px;
    margin: 0 auto;
}

.contact-intro {
    font-size: 23px;
    color: var(--text-secondary);
    margin-bottom: 60px;
    line-height: 1.9;
    font-weight: 600;
    text-align: center;
}

/* Contact Menu Cards */
.contact-menu {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-bottom: 80px;
}

.contact-card {
    background: var(--card-light);
    border: 2px solid var(--border-light);
    border-radius: 28px;
    padding: 50px 40px;
    transition: var(--transition);
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-pink), var(--primary-purple), var(--primary-blue));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.contact-card:hover::before {
    transform: scaleX(1);
}

.contact-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-purple);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.9), 0 0 35px rgba(153, 69, 255, 0.6);
    background: var(--soft-gradient);
}

.contact-card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-pink), var(--primary-purple));
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(255, 20, 147, 0.6), 0 0 25px rgba(153, 69, 255, 0.5);
}

.contact-card-icon svg {
    width: 40px;
    height: 40px;
    color: white;
}

.contact-card h3 {
    font-size: 26px;
    color: var(--text-primary);
    margin-bottom: 20px;
    font-weight: 900;
    line-height: 1.4;
}

.contact-card p {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 30px;
    font-weight: 500;
}

.contact-btn {
    background: linear-gradient(135deg, var(--primary-pink), var(--primary-purple));
    color: white;
    border: none;
    border-radius: 50px;
    padding: 16px 40px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 20, 147, 0.6), 0 0 20px rgba(153, 69, 255, 0.4);
}

.contact-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 25px rgba(255, 20, 147, 0.8), 0 0 30px rgba(153, 69, 255, 0.6);
}

/* Contact Form Wrapper */
.contact-form-wrapper {
    background: var(--card-light);
    border: 2px solid var(--border-light);
    border-radius: 28px;
    padding: 60px;
    margin-bottom: 60px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.8), 0 0 25px rgba(153, 69, 255, 0.3);
    animation: fadeInUp 0.5s ease;
}

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

.form-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    border: 2px solid var(--border-light);
    border-radius: 50px;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 30px;
}

.form-back-btn svg {
    width: 20px;
    height: 20px;
}

.form-back-btn:hover {
    background: var(--primary-purple);
    border-color: var(--primary-purple);
    color: white;
    transform: translateX(-5px);
}

.form-header {
    text-align: center;
    margin-bottom: 50px;
}

.form-title {
    font-size: 36px;
    color: var(--text-primary);
    margin-bottom: 15px;
    font-weight: 900;
}

.form-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Contact Form */
.contact-form {
    max-width: 800px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 30px;
}

.form-group label {
    display: block;
    font-size: 18px;
    color: var(--text-primary);
    margin-bottom: 12px;
    font-weight: 700;
}

.required {
    color: var(--primary-pink);
    margin-left: 4px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    font-size: 16px;
    border: 2px solid var(--border-light);
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.4);
    color: var(--text-primary);
    transition: all 0.3s ease;
    font-family: inherit;
    font-weight: 500;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-purple);
    box-shadow: 0 0 0 3px rgba(153, 69, 255, 0.3), 0 0 15px rgba(153, 69, 255, 0.3);
    background: rgba(0, 0, 0, 0.5);
}

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

.form-checkbox {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.form-checkbox label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    margin: 0 0 12px 0;
    font-weight: 600;
}

.form-checkbox input[type="checkbox"] {
    width: auto;
    margin-right: 12px;
    margin-top: 4px;
    cursor: pointer;
    accent-color: var(--primary-purple);
}

.form-privacy-note {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
    padding-left: 28px;
    font-weight: 500;
}

.form-submit {
    text-align: center;
    margin-top: 40px;
}

.submit-btn {
    background: linear-gradient(135deg, var(--primary-pink), var(--primary-purple));
    color: white;
    border: none;
    border-radius: 50px;
    padding: 18px 60px;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(255, 20, 147, 0.6), 0 0 25px rgba(153, 69, 255, 0.4);
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 20, 147, 0.8), 0 0 35px rgba(153, 69, 255, 0.6);
}

.submit-btn:active {
    transform: translateY(-1px);
}

.form-message {
    margin-top: 30px;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
}

.form-message.success {
    background: rgba(76, 175, 80, 0.15);
    color: #66FF66;
    border: 2px solid #4CAF50;
}

.form-message.error {
    background: rgba(244, 67, 54, 0.15);
    color: #FF6666;
    border: 2px solid #F44336;
}

/* Direct Contact Info */
.contact-direct {
    text-align: center;
    padding: 50px 40px;
    background: var(--soft-gradient);
    border-radius: 28px;
    border: 2px solid var(--border-light);
}

.contact-direct-text {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 30px;
    font-weight: 600;
}

.contact-email-box {
    background: var(--card-light);
    border: 2px solid var(--border-glow);
    border-radius: 20px;
    padding: 30px 40px;
    display: inline-block;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6), 0 0 20px rgba(153, 69, 255, 0.3);
}

.contact-email-box h4 {
    font-size: 18px;
    color: var(--primary-purple);
    margin-bottom: 12px;
    font-weight: 900;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.contact-email-box a {
    font-size: 24px;
    color: var(--text-primary);
    font-weight: 700;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-email-box a:hover {
    color: var(--primary-pink);
}

/* ================== Footer ================== */
.footer {
    background: linear-gradient(135deg, rgba(255, 20, 147, 0.12), rgba(153, 69, 255, 0.12));
    border-top: 2px solid var(--border-glow);
    padding: 55px 0;
    text-align: center;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
}

.footer-text {
    color: var(--text-secondary);
    font-size: 17px;
    letter-spacing: 0.5px;
    font-weight: 600;
}

/* ================== Responsive Design ================== */

/* タブレット用の調整 */
@media (max-width: 1024px) {
    .container, .nav-container {
        padding: 0 30px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-title {
        font-size: 72px;
    }
    
    .section-title {
        font-size: 60px;
    }
}

/* モバイル用の調整（DMM Games風） */
@media (max-width: 768px) {
    /* コンテナのパディング */
    .container, .nav-container {
        padding: 0 20px;
    }
    
    /* ナビゲーション - ハンバーガーメニュー化 */
    .nav {
        padding: 15px 0;
    }
    
    .nav-logo {
        font-size: 24px;
        position: static;
        left: auto;
    }
    
    /* モバイルでもハンバーガーメニューを表示 */
    .hamburger {
        display: flex !important;
        position: static;
        right: auto;
    }
    
    .lang-switcher {
        position: static;
        right: auto;
    }
    
    .nav-menu-wrapper {
        top: 61px; /* モバイルナビの高さに調整 */
        padding: 20px 0;
    }
    
    .nav-link {
        font-size: 16px;
        padding: 16px 0;
    }
    
    /* Hero セクション */
    .hero {
        padding: 80px 0 40vh;
    }
    
    .hero-visual-logo {
        max-width: 90%;
        padding: 30px;
        margin-bottom: 10px;
    }
    
    .hero-title {
        font-size: 48px;
        margin: 0 0 20px;
    }
    
    .hero-tagline {
        font-size: 16px;
        line-height: 1.6;
    }
    
    .cta-button {
        font-size: 16px;
        padding: 18px 40px;
    }
    
    /* セクション全般 */
    section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 36px;
        margin-bottom: 15px;
    }
    
    .section-subtitle {
        font-size: 16px;
        line-height: 1.6;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    /* About セクション */
    .about-content {
        flex-direction: column;
        gap: 40px;
    }
    
    .about-text h3 {
        font-size: 28px;
        line-height: 1.4;
    }
    
    .about-text p {
        font-size: 15px;
        line-height: 1.8;
    }
    
    .libra-art {
        height: 300px;
    }
    
    /* Services セクション */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-badge {
        font-size: 12px;
        padding: 10px 20px;
        bottom: -50px;
    }
    
    .service-card {
        padding: 35px 25px;
    }
    
    .service-card h3 {
        font-size: 20px;
        margin-bottom: 15px;
        line-height: 1.5;
    }
    
    .service-card p {
        font-size: 14px;
        line-height: 1.7;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 20px;
    }
    
    /* Representative セクション */
    .rep-profile {
        padding: 30px 20px;
    }
    
    .rep-header {
        flex-direction: column;
        text-align: center;
        gap: 25px;
    }
    
    .rep-photo {
        width: 120px;
        height: 120px;
        margin: 0 auto;
    }
    
    .rep-name-title h3 {
        font-size: 26px;
    }
    
    .rep-title {
        font-size: 16px;
    }
    
    .rep-bio h4 {
        font-size: 20px;
        margin-top: 30px;
        margin-bottom: 20px;
    }
    
    .rep-bio p {
        font-size: 15px;
        line-height: 1.8;
        margin-bottom: 15px;
    }
    
    .rep-bio ul li {
        font-size: 14px;
        padding: 12px 0;
        line-height: 1.6;
    }
    
    /* News セクション */
    .news-item {
        padding: 25px 20px;
        margin-bottom: 20px;
    }
    
    .news-date {
        font-size: 13px;
    }
    
    .news-title {
        font-size: 17px;
        margin-bottom: 10px;
    }
    
    .news-excerpt {
        font-size: 14px;
        line-height: 1.7;
    }
    
    /* Office セクション */
    .office-text p {
        font-size: 20px;
        line-height: 1.8;
    }
    
    .office-photos {
        flex-direction: column;
        gap: 20px;
        margin-bottom: 40px;
    }
    
    .office-photo-item {
        max-width: 100%;
    }
    
    .office-info-box {
        padding: 30px 20px;
    }
    
    .office-info-box h4 {
        font-size: 30px;
        margin-bottom: 20px;
    }
    
    .office-info-box p {
        font-size: 18px;
        line-height: 1.8;
    }
    
    .office-map iframe {
        height: 300px;
    }
    
    /* Company セクション */
    .company-info {
        padding: 30px 20px;
    }
    
    .info-table {
        border-spacing: 0 15px;
    }
    
    .info-table th {
        font-size: 15px;
        padding: 15px 12px;
        width: 120px;
    }
    
    .info-table td {
        font-size: 15px;
        padding: 15px 12px;
        line-height: 1.7;
    }
    
    /* Contact セクション */
    .contact-intro {
        font-size: 18px;
        margin-bottom: 40px;
    }
    
    .contact-menu {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-bottom: 50px;
    }
    
    .contact-card {
        padding: 35px 25px;
    }
    
    .contact-card-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 20px;
    }
    
    .contact-card-icon svg {
        width: 30px;
        height: 30px;
    }
    
    .contact-card h3 {
        font-size: 20px;
        margin-bottom: 15px;
    }
    
    .contact-card p {
        font-size: 15px;
        margin-bottom: 20px;
    }
    
    .contact-btn {
        padding: 14px 30px;
        font-size: 16px;
    }
    
    .contact-form-wrapper {
        padding: 30px 20px;
        margin-bottom: 40px;
    }
    
    .form-back-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .form-title {
        font-size: 28px;
        margin-bottom: 12px;
    }
    
    .form-subtitle {
        font-size: 16px;
    }
    
    .form-group label {
        font-size: 16px;
        margin-bottom: 10px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 14px 16px;
        font-size: 15px;
    }
    
    .submit-btn {
        padding: 16px 40px;
        font-size: 18px;
        width: 100%;
    }
    
    .form-privacy-note {
        font-size: 13px;
        padding-left: 24px;
        line-height: 1.6;
    }
    
    .contact-direct {
        padding: 35px 25px;
    }
    
    .contact-direct-text {
        font-size: 17px;
        margin-bottom: 25px;
    }
    
    .contact-email-box {
        padding: 25px 30px;
    }
    
    .contact-email-box h4 {
        font-size: 16px;
        margin-bottom: 10px;
    }
    
    .contact-email-box a {
        font-size: 18px;
        word-break: break-all;
    }
    
    /* Footer */
    .footer {
        padding: 40px 0;
    }
    
    .footer-text {
        font-size: 13px;
    }
}

/* ================== Scroll Animations ================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ================== Utility Classes ================== */
/* モバイルでもPCと同じ表示のため、sp-onlyは使用しない */
