/* === 変数定義（カラーパレット） === */
:root {
    --color-bg-main: #0a0a12; /* 深い漆黒 */
    --color-text-white: #ffffff;
    --color-text-gray: #cccccc;
    /* ネオンカラー */
    --color-neon-pink: #ff00ff;
    --color-neon-blue: #00ffff;
    /* グラデーション */
    --gradient-primary: linear-gradient(135deg, var(--color-neon-blue), var(--color-neon-pink));
}

/* === 全体設定 === */
body {
    margin: 0;
    font-family: 'Noto Sans JP', sans-serif;
    background-color: var(--color-bg-main);
    color: var(--color-text-white);
    line-height: 1.6;
    scroll-behavior: smooth; /* スムーズスクロール */
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* === 共通クラス === */
.section {
    padding: 100px 0;
}

.text-center {
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
}

.section-lead {
    font-size: 1.2rem;
    color: var(--color-text-gray);
    margin-bottom: 4rem;
    line-height: 1.8;
}

/* === ヘッダー === */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 100;
    background: rgba(10, 10, 18, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 900;
    font-size: 1.5rem;
    letter-spacing: 0.1em;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.main-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2rem;
}

.main-nav a {
    font-weight: 700;
    font-size: 0.9rem;
    opacity: 0.8;
}

.main-nav a:hover {
    opacity: 1;
    color: var(--color-neon-blue);
    text-shadow: 0 0 5px var(--color-neon-blue);
}

.nav-btn {
    padding: 0.5rem 1.5rem;
    border: 2px solid var(--color-neon-blue);
    border-radius: 50px;
    color: var(--color-neon-blue) !important;
}

.nav-btn:hover {
    background: var(--color-neon-blue);
    color: var(--color-bg-main) !important;
    box-shadow: 0 0 20px var(--color-neon-blue);
}

/* === ヒーローセクション === */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-bg-main);
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(255, 0, 255, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 255, 255, 0.2) 0%, transparent 50%);
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 1;
    padding-top: 80px;
    text-align: center; /* テキストを中央寄せ */
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 5rem);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.title-line {
    display: inline-block;
}

.accent-pink {
    color: var(--color-neon-pink);
    text-shadow: 0 0 15px rgba(255, 0, 255, 0.6);
}

.accent-blue {
    color: var(--color-neon-blue);
    text-shadow: 0 0 15px rgba(0, 255, 255, 0.6);
}

.highlight-text {
    font-size: 1.2em;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 10px rgba(0, 255, 255, 0.4));
}

.hero-subtitle {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    color: var(--color-text-gray);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* === ボタン（共通） === */
.btn {
    display: inline-block;
    padding: 1rem 3rem;
    border-radius: 50px;
    font-weight: 900;
    letter-spacing: 0.1em;
    cursor: pointer;
    text-align: center;
    border: none; /* 初期化 */
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--color-bg-main);
    position: relative;
    z-index: 1;
}

.glow-effect {
    transition: all 0.3s ease;
}

.glow-effect:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 10px 30px -10px rgba(0, 255, 255, 0.8),
        0 10px 30px -10px rgba(255, 0, 255, 0.8);
}

/* === Vision Section === */
.vision-section {
    background-color: #0e0e1a;
}

.vision-content p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* === Products Section === */
.products-section {
    background: 
        linear-gradient(135deg, transparent 45%, rgba(0,255,255,0.05) 50%, transparent 55%),
        linear-gradient(45deg, transparent 45%, rgba(255,0,255,0.05) 50%, transparent 55%);
    background-color: var(--color-bg-main);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); /* 少し幅を広げた */
    gap: 3rem;
    margin-top: 3rem;
    align-items: start; /* 高さが違っても上揃え */
}

/* プロダクトカード */
.product-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: left;
    border: 1px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.05);
}

/* ピンク（AAA）のカードスタイル */
.glow-pink {
    border-color: rgba(255, 0, 255, 0.3);
}
.glow-pink:hover {
    box-shadow: 0 10px 40px -10px rgba(255, 0, 255, 0.5);
    border-color: var(--color-neon-pink);
}
.glow-pink::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,0,255,0.1) 0%, transparent 60%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.glow-pink:hover::before {
    opacity: 1;
}

/* ブルー（HR）のカードスタイル */
.glow-blue {
    border-color: rgba(0, 255, 255, 0.3);
}
.glow-blue:hover {
    box-shadow: 0 10px 40px -10px rgba(0, 255, 255, 0.5);
    border-color: var(--color-neon-blue);
}
.glow-blue::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0,255,255,0.1) 0%, transparent 60%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.glow-blue:hover::before {
    opacity: 1;
}


.product-icon {
    margin-bottom: 1.5rem;
}
.icon-placeholder {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-weight: 900;
    font-size: 1.2rem;
}
.icon-placeholder.pink {
    background: rgba(255, 0, 255, 0.1);
    color: var(--color-neon-pink);
    border: 2px solid var(--color-neon-pink);
}
.icon-placeholder.blue {
    background: rgba(0, 255, 255, 0.1);
    color: var(--color-neon-blue);
    border: 2px solid var(--color-neon-blue);
}

.product-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex; /* smallタグを横並びにするため */
    align-items: baseline;
    gap: 0.5rem;
}
.product-title small {
    font-size: 1rem;
    color: var(--color-text-gray);
    font-weight: 400;
}

.product-desc {
    color: var(--color-text-gray);
    margin-bottom: 2rem;
    font-size: 1rem;
}

/* サブプロダクト（有名人AI）のスタイル */
.sub-product-box {
    background: rgba(0, 0, 0, 0.2);
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 0, 255, 0.2);
}
.glow-pink-inset {
    box-shadow: inset 0 0 20px rgba(255, 0, 255, 0.05);
}
.sub-product-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.sub-product-desc {
    font-size: 0.95rem;
    color: var(--color-text-gray);
    margin-bottom: 0;
}

.development-status {
    font-size: 0.9rem;
    color: var(--color-neon-pink);
    margin-bottom: 1rem;
    text-align: center;
}

/* アウトラインボタン */
.btn-outline-pink {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    border: 2px solid var(--color-neon-pink);
    color: var(--color-neon-pink);
    background: transparent;
    width: 100%;
    box-sizing: border-box;
}
.btn-outline-pink:hover {
    background: var(--color-neon-pink);
    color: var(--color-text-white);
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.5);
}

.btn-outline-blue {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    border: 2px solid var(--color-neon-blue);
    color: var(--color-neon-blue);
    background: transparent;
    width: 100%;
    box-sizing: border-box;
}
.btn-outline-blue:hover {
    background: var(--color-neon-blue);
    color: var(--color-bg-main);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}


/* === Contact Section === */
.contact-section {
    background-color: #0e0e1a;
}

.contact-form-wrapper {
    max-width: 700px;
    margin: 0 auto;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    border: 1px solid rgba(0, 255, 255, 0.2);
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 700;
    font-size: 0.9rem;
}

.required {
    color: var(--color-neon-pink);
    margin-left: 5px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--color-text-white);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-neon-blue);
    background: rgba(0, 255, 255, 0.05);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
}

.form-submit {
    text-align: center;
    margin-top: 2rem;
}
.form-submit .btn {
    width: 100%;
    padding: 1.2rem;
    font-size: 1.1rem;
}


/* === フッター === */
.site-footer {
    padding: 3rem 0;
    background: #050508;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-logo {
    margin-bottom: 1rem;
    color: var(--color-text-gray);
}

.copyright {
    font-size: 0.8rem;
    color: #666;
}