/* styles.css */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    background-color: #f4f4f4;
    color: #333;
}

header {
    background-color: #ff4081;
    color: #fff;
    padding: 40px 0;
    text-align: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 10px;
    margin-bottom: 20px;
}

.text-content {
    max-width: 800px;
    margin: 0 auto;
}

.container {
    width: 80%;
    max-width: 1200px;
    margin: 0 auto;
}


h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

a.cta-button {
    display: inline-block;
    padding: 12px 40px;
    background-color: #00c300;
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
    border-radius: 50px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

a.cta-button:hover {
    background-color: #007a00;
    color: #fff;
    transform: scale(1.05);
}

section {
    padding: 40px 0;
    background-color: #fff;
    text-align: center;
}

#features .feature {
    margin-bottom: 20px;
}

#features h3 {
    font-size: 1.5rem;
    color: #ff4081;
}

#testimonials {
    background-color: #f9f9f9;
}

#testimonials .testimonial {
    margin-bottom: 20px;
    font-style: italic;
}

#call-to-action {
    background-color: #ff4081;
    color: #fff;
}

footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 20px 0;
}

footer p {
    font-size: 0.9rem; /* 注意書きのフォントサイズ */
    color: #ccc; /* 注意書きの文字色 */
    margin-top: 10px; /* 上部マージン */
}

.disclaimer {
    margin-top: 20px;
}

#features {
    background: linear-gradient(to bottom, rgba(255, 64, 129, 0.8), rgba(244, 244, 244, 0.8)), url('miku_1.png'); /* 背景画像のURL */
    background-size: cover; /* 画像をコンテナ内に収める */
    background-position: center;
    color: #fff;

    @media (min-width: 1080px) {
        background-attachment: fixed; /* スクロールしても背景が固定される */
    }
}

#features .feature {
    background-color: rgba(0, 0, 0, 0.5); /* 半透明の背景色 */
    padding: 20px;
    border-radius: 8px;
}

.feature, .testimonial {
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 20px 0;
}

.testimonial {
    font-style: italic;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    p {
        font-size: 1rem;
    }

    a.cta-button {
        font-size: 1rem;
        padding: 10px 20px;
    }

    .container {
        width: 90%;
    }

    #features {
        background-image: linear-gradient(to bottom, rgba(255, 64, 129, 0.8), rgba(244, 244, 244, 0.8)), url('miku_2.png'); /* スマホ用 */
        background-size: cover; /* 画像をコンテナ内に収める */
        background-position: center center;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.5rem;
    }

    p {
        font-size: 0.9rem;
    }

    a.cta-button {
        font-size: 0.9rem;
        padding: 8px 16px;
    }

    #features h3 {
        font-size: 1.2rem;
    }

    #features {
        background-image: linear-gradient(to bottom, rgba(255, 64, 129, 0.8), rgba(244, 244, 244, 0.8)), url('miku_2.png'); /* スマホ用 */
        background-size: cover; /* 画像をコンテナ内に収める */
        background-position: center center;
    }
}
