/* 基本設定 */
:root {
    --bg-color: #050505;
    --text-color: #ffffff;
    --accent-color: #00a2ff; /* 鮮やかなブルー */
    --secondary-text: #b0b0b0;
    --nav-bg: rgba(5, 5, 5, 0.9);
    --border-color: rgba(255, 255, 255, 0.08);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ナビゲーションバー */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background: var(--nav-bg);
    backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

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

.logo-img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 50%;
}

.logo-text {
    font-weight: 700;
    font-size: 1.3rem;
    letter-spacing: 0.5px;
    text-transform: none;
}

.nav-icons {
    display: flex;
    gap: 25px;
    align-items: center;
}

.nav-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s, opacity 0.2s;
    text-decoration: none;
}

.nav-social-img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    display: block;
    opacity: 0.8;
}

img.nav-social-img.icon-x {
    width: 18px !important;
    height: 18px !important;
}

.nav-icons a:hover {
    transform: translateY(-2px);
    opacity: 1;
}

/* ヒーローセクション */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 50px;
    background: 
        radial-gradient(circle at 15% 50%, rgba(0, 162, 255, 0.12) 0%, transparent 50%),
        linear-gradient(rgba(5, 5, 5, 0.85), rgba(5, 5, 5, 0.85)),
        url('https://www.transparenttextures.com/patterns/carbon-fibre.png');
    background-color: var(--bg-color);
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1400px;
    gap: 60px;
    z-index: 10;
}

/* 左側：画像エリア (カルーセル) */
.hero-image-box {
    flex: 1.5;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    cursor: pointer;
}

.software-img {
    display: none;
    width: 100%;
    max-width: 750px;
    height: auto;
    object-fit: contain;
    border-radius: 0 !important; /* 角を丸めない */
    box-shadow: 
        0 40px 80px rgba(0, 0, 0, 0.8),
        0 0 40px rgba(0, 162, 255, 0.1);
    border: 1px solid var(--border-color);
    transition: opacity 0.5s ease;
}

.software-img.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.98); }
    to { opacity: 1; transform: scale(1); }
}

.carousel-dots {
    display: flex;
    gap: 8px;
    margin-top: 20px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transition: background 0.3s;
}

.dot.active {
    background: var(--accent-color);
    box-shadow: 0 0 10px var(--accent-color);
}

/* 右側：コンテンツエリア */
.hero-content {
    flex: 1;
    text-align: left;
    min-width: 450px;
}

.hero h1 {
    font-size: clamp(2.8rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 10px;
    letter-spacing: -2px;
}

.highlight {
    color: var(--accent-color);
    white-space: nowrap;
    text-shadow: 0 0 30px rgba(0, 162, 255, 0.4);
}

/* 金額表示のスタイル */
.hero-price {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--accent-color);
    margin-bottom: 25px;
    text-shadow: 0 0 15px rgba(0, 162, 255, 0.5);
    letter-spacing: 1px;
}

.description {
    font-size: 1.1rem;
    color: var(--secondary-text);
    margin-bottom: 40px;
    max-width: 480px;
    font-weight: 400;
}

/* ボタンエリア */
.cta-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 50px;
    width: fit-content;
}

.cta-top-row {
    display: flex;
    gap: 12px;
}

button {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 50px;
    text-transform: none;
}

.btn-primary {
    background-color: var(--accent-color);
    color: white;
    border: none;
    box-shadow: 0 10px 25px rgba(0, 162, 255, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    background-color: #33b5ff;
    box-shadow: 0 15px 30px rgba(0, 162, 255, 0.3);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.05);
    color: white;
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.btn-wide {
    width: 100%;
    background-color: transparent;
    color: var(--secondary-text);
    border: 1px solid var(--border-color);
}

.btn-wide:hover {
    color: white;
    border-color: white;
    background-color: rgba(255, 255, 255, 0.05);
}

/* 特徴セクション */
.features {
    display: flex;
    gap: 30px;
    color: #d0d0d0;
    font-size: 0.85rem;
    font-weight: 500;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-item i {
    width: 16px;
    height: 16px;
    color: var(--accent-color);
}

/* 言語選択ボックス (左下) */
.language-selector {
    position: fixed;
    bottom: 25px;
    left: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    padding: 8px 15px;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    z-index: 1001;
    color: #888;
}

.language-selector i {
    width: 16px;
    height: 16px;
}

.language-selector select {
    background: transparent;
    border: none;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    outline: none;
}

/* ログインステータス (右下) */
.login-status-footer {
    position: fixed;
    bottom: 25px;
    right: 30px;
    font-size: 0.85rem;
    color: #666;
    z-index: 1001;
    background: rgba(5, 5, 5, 0.5);
    padding: 8px 20px;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
}

.switch-link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    margin-left: 5px;
}

.switch-link:hover {
    text-decoration: underline;
}

/* レスポンシブ対応 */
@media (max-width: 1150px) {
    .hero-container { flex-direction: column; text-align: center; }
    .hero-image-box { justify-content: center; flex: 1; }
    .hero-content { 
        text-align: center; 
        display: flex; 
        flex-direction: column; 
        align-items: center; 
        min-width: unset; 
    }
    .cta-group { align-items: center; }
    .highlight { white-space: normal; }
}

@media (max-width: 768px) {
    .navbar { padding: 15px 25px; }
    .features { flex-direction: column; gap: 15px; }
    .cta-top-row { flex-direction: column; width: 100%; }
    .cta-group { width: 100%; }
    button { width: 100%; }
}
