/* リセットとベース設定 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --cyber-blue: #00bcd4;
    --dark-blue: #1a237e;
    --electric-blue: #0ff;
    --neon-purple: #b24bf3;
    --bg-dark: #0a0e27;
    --bg-darker: #060817;
    --text-primary: #ffffff;
    --text-secondary: #b8c1ec;
}

body {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 980px;
    padding: 0 1.5rem;
    margin: 0 auto;
}

/* ヘッダー */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 14, 39, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 188, 212, 0.3);
    padding: 1rem 0;
}

.header-logo {
    height: 30px;
    width: auto;
}

/* メインビュー */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-darker) 100%);
    padding-top: 60px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 188, 212, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: grid-move 20s linear infinite;
}

@keyframes grid-move {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.hero .container {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 3rem 1.5rem;
}

.hero-logo {
    margin-bottom: 2rem;
}

.app-logo {
    width: 120px;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(0, 188, 212, 0.5));
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--cyber-blue), var(--neon-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-accent {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--cyber-blue), var(--neon-purple));
    margin: 0 auto;
    border-radius: 2px;
}

/* セクション共通 */
section {
    padding: 4rem 0;
}

.section-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, var(--cyber-blue), var(--neon-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--cyber-blue), var(--neon-purple));
}

/* アプリの概要 */
.overview {
    background: var(--bg-darker);
}

.overview-content {
    max-width: 100%;
}

.overview-content p {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    /* PCは中央、スマホは左寄せ */
    text-align: center;
    @media screen and (max-width: 768px) {
        text-align: left;
    }
}

/* 機能セクション */
.features {
    background: var(--bg-dark);
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.feature-card {
    background: rgba(26, 35, 126, 0.1);
    border: 1px solid rgba(0, 188, 212, 0.2);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:active {
    transform: translateY(-5px);
    border-color: var(--cyber-blue);
    box-shadow: 0 10px 30px rgba(0, 188, 212, 0.3);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-title {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--cyber-blue);
}

.feature-description {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ギャラリー */
.gallery {
    background: var(--bg-darker);
}

.gallery-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.gallery-item {
    border-radius: 12px;
    border: 1px solid rgba(0, 188, 212, 0.2);
    background: var(--bg-dark);
    overflow: hidden;
    padding: 1rem;
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

/* 使い方 */
.howto {
    background: var(--bg-dark);
}

.howto-steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.step-number {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--cyber-blue), var(--neon-purple));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.step-title {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--cyber-blue);
}

.step-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* 料金プラン */
.pricing {
    background: var(--bg-darker);
}

.pricing-note {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.pricing-card {
    background: rgba(26, 35, 126, 0.1);
    border: 1px solid rgba(0, 188, 212, 0.2);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.pricing-card-featured {
    border-color: var(--cyber-blue);
    box-shadow: 0 0 30px rgba(0, 188, 212, 0.2);
}

.pricing-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--cyber-blue);
}

.pricing-price {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.pricing-period {
    font-size: 1rem;
    font-weight: 400;
}

.pricing-credits {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.pricing-description {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* CTAセクション */
.cta {
    background: linear-gradient(135deg, rgba(0, 188, 212, 0.1) 0%, rgba(178, 75, 243, 0.1) 100%);
    border-top: 1px solid rgba(0, 188, 212, 0.3);
    border-bottom: 1px solid rgba(0, 188, 212, 0.3);
}

.cta-title {
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.cta-description {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 0.95rem;
}

.cta-accent {
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--cyber-blue), var(--neon-purple));
    margin: 0 auto;
    border-radius: 2px;
}

/* 会社情報 */
.contact {
    background: var(--bg-dark);
}

.company-info {
    max-width: 100%;
}

.company-name {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--cyber-blue);
}

.company-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.company-item {
    background: rgba(26, 35, 126, 0.1);
    border: 1px solid rgba(0, 188, 212, 0.2);
    border-radius: 8px;
    padding: 1.5rem;
}

.company-label {
    font-size: 0.85rem;
    color: var(--cyber-blue);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.company-value {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.company-value a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.company-value a:active {
    color: var(--cyber-blue);
}

/* フッター */
.footer {
    background: var(--bg-darker);
    border-top: 1px solid rgba(0, 188, 212, 0.2);
    padding: 2rem 0;
}

.footer-copyright {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* レスポンシブ（タブレット以上） */
@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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