@font-face {
    font-family: 'HuiFontP';
    src: url('https://cdn.jsdelivr.net/gh/aokikodai/webfonts@latest/HuiFontP109.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

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

body {
    font-family: 'HuiFontP', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Hiragino Kaku Gothic ProN', sans-serif;
    background-image: url('images/Back.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    color: #fff;
    line-height: 1.8;
    min-height: 100vh;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ヒーローセクション */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: transparent;
    padding: 40px 0;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.app-icon {
    width: 120px;
    height: 120px;
    border-radius: 24px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

h1 {
    font-size: 4.5rem;
    font-weight: normal;
    margin-bottom: 20px;
    letter-spacing: 0.05em;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    white-space: nowrap;
}

.tagline {
    font-size: 1.5rem;
    margin-bottom: 20px;
    opacity: 0.95;
    color: white;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.description {
    font-size: 1.5rem;
    margin-bottom: 40px;
    opacity: 0.9;
    line-height: 1.8;
    color: white;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.desktop-text {
    display: block;
}

.mobile-text {
    display: none;
}

.download-btn {
    display: block;
    margin: 10px auto;
    transition: transform 0.2s ease;
}

.download-btn:hover {
    transform: scale(1.05);
}

.download-btn img {
    height: 50px;
}

/* メインビジュアル */
.main-visual {
    background: transparent;
    padding: 60px 0;
    text-align: center;
}

.hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

/* コンセプト */
.concept {
    background: transparent;
    padding: 80px 0;
    text-align: center;
}

.concept h2 {
    font-size: 2.2rem;
    color: white;
    margin-bottom: 30px;
    font-weight: normal;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

.concept-text {
    font-size: 1.1rem;
    color: white;
    line-height: 2;
    max-width: 600px;
    margin: 0 auto;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
}

/* 使い方とスクリーンショット統合 */
.how-to-screenshots {
    background: transparent;
    min-height: 100vh;
    padding: 40px 0;
    display: flex;
    align-items: center;
}

.how-to-screenshots h2 {
    font-size: 2.2rem;
    color: white;
    margin-bottom: 40px;
    font-weight: normal;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
    text-align: center;
}

.steps-with-images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.step-with-image {
    text-align: center;
}

.step-with-image img {
    width: 100%;
    max-width: 200px;
    height: auto;
    border-radius: 12px;
    margin-top: 15px;
}

.step-content {
    padding: 0 10px;
    margin-bottom: 15px;
}

.step-number {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    background: rgba(255,255,255,0.9);
    color: #8B7AB8;
    border-radius: 50%;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.step-content h3 {
    font-size: 1.2rem;
    color: white;
    margin-bottom: 8px;
    font-weight: normal;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

.step-content p {
    font-size: 0.9rem;
    color: white;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
    line-height: 1.4;
}

@media (max-width: 768px) {
    .steps-with-images {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .step-with-image img {
        max-width: 200px;
    }
}

/* 機能 */
.features {
    background: transparent;
    padding: 80px 0;
}

.features h2 {
    font-size: 2.2rem;
    color: white;
    text-align: center;
    margin-bottom: 50px;
    font-weight: normal;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

.feature-list {
    max-width: 500px;
    margin: 0 auto;
    text-align: left;
}

.feature-item {
    margin-bottom: 35px;
    padding-bottom: 35px;
    border-bottom: 1px solid rgba(255,255,255,0.3);
}

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

.feature-item h3 {
    font-size: 1.3rem;
    color: white;
    margin-bottom: 8px;
    font-weight: normal;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

.feature-item p {
    font-size: 0.95rem;
    color: white;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
}

/* おすすめ */
.recommend {
    background: transparent;
    padding: 80px 0;
}

.recommend h2 {
    font-size: 2.2rem;
    color: white;
    text-align: center;
    margin-bottom: 40px;
    font-weight: normal;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

.recommend ul {
    max-width: 450px;
    margin: 0 auto;
    list-style: none;
    text-align: left;
}

.recommend li {
    font-size: 1.1rem;
    color: white;
    margin-bottom: 20px;
    padding-left: 30px;
    position: relative;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
}

.recommend li:before {
    content: "・";
    position: absolute;
    left: 10px;
    color: white;
}

/* CTA */
.cta {
    background: transparent;
    padding: 60px 0;
    text-align: center;
    color: white;
}

.cta-app-icon {
    width: auto;
    height: 80px;
    margin: 15px auto 8px;
    display: block;
}

.app-name {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: white;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    font-weight: normal;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 1;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
}

/* フッター */
.footer {
    background: #333;
    padding: 40px 0;
    text-align: center;
    color: #999;
}

.footer-links {
    margin-top: 20px;
    font-size: 0.9rem;
}

.footer-links a {
    color: #999;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-links span {
    margin: 0 10px;
    color: #666;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    h1 {
        font-size: 2.2rem;
        white-space: normal;
    }

    .tagline {
        font-size: 1.2rem;
    }

    .desktop-text {
        display: none;
    }

    .mobile-text {
        display: block;
    }

    .description {
        font-size: 1.1rem;
    }

    .concept h2,
    .how-to h2,
    .features h2,
    .recommend h2 {
        font-size: 1.8rem;
    }

    .cta h2 {
        font-size: 2rem;
    }

    .steps {
        flex-direction: column;
        align-items: center;
    }

    .screenshot-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
}