@charset "utf-8";

body {
    background-color: #20CD8D;
    font-family: 'Arial', sans-serif;
    color: #fff;
    margin: 0;
    padding: 0;
    max-width: 100%;
    overflow-x: hidden;
}

.main-container {
    width: 100%;
    max-width: 2000px; /* この値は適宜調整してください */
    margin: 0 auto; /* 左右中央に配置 */
}

.container {
    display: flex;
    align-items: center;
    margin-top: 8rem;
    margin-left: 8vw;
    position: relative;
}

.content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.title-image {
    display: block;
}

.app-title {
    font-size: 3.375rem;
    text-align: center;
}

.line-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #00C300;
    color: #fff;
    text-decoration: none;
    padding: 2.5rem 5.625rem;
    border-radius: 5rem;
    transition: 0.3s;
    font-size: 1.5rem;
    font-weight: bold;
}

.line-button:hover {
    opacity: 0.8;
}

.line-button img {
    margin-right: 0.625rem;
    height: 3.375rem;
    width: auto;
}

.social-container {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    margin-top: 1.25rem;
}

.social-container p {
    color: #000;
    font-size: 1.5rem;
}

.character-image {
    position: absolute;
    top: -2.5rem;
    right: 3rem;
}

h2 {
    font-size: 3rem;
    text-align: center;
    width: 100%;
    margin-top: 6.25rem;
}

.content-group {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.text-content {
    flex: 1;
    text-align: center;
    font-size: 1.875rem;
    color: #000;
}

.whole-image {
    max-width: 50%;
    height: auto;
}

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

.image-content img {
    width: auto;
    max-width: 70%;
}

.image-content p {
    color: #000;
    font-weight: bold;
    font-size: 1.25rem;
    text-align: center;
    margin-top: 0.625rem;
    max-width: 18.75rem;
}

.image-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.how-to-use-image {
    max-width: 50%;
    height: auto;
}

.mg {
    margin-top: 1.25rem;
}

.add-text {
    color: #000;
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 3.125rem;
}

.campaign-image {
    max-width: 70%;
    height: auto;
    margin-bottom: 9.375rem;
}

.centered-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 6.25rem;
}

.centered-text {
    font-size: 1.5rem;
    font-weight: bold;
    color: #000;
}

.centered-image,
.centered-text,
.centered-button {
    margin: 0.625rem 0;
}

footer {
    background-color: #000;
    padding: 1.25rem 0;
}

.footer-links {
    display: flex;
    justify-content: center;
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin: 0 0.9375rem;
}

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

.footer-links a:hover {
    text-decoration: underline;
}

/*---アニメーション------*/
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s, transform 0.5s;
    will-change: opacity, transform;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/*---レスポンシブ対応---*/

@media (max-width: 48rem) {

    .main-container {
        width: 100%;
        max-width: 2000px; /* この値は適宜調整してください */
        margin: 0 auto; /* 左右中央に配置 */
    }

    .title-image{
        width: 60%;
    }

    .character-image{
        width: 40%;
        top: -1.2rem;
        right: 1.5rem;
    }

    .text-content,
    .image-content {
        margin-top: 1.25rem;
    }

    .text-content p {
        font-size: 0.4rem;
    }

    .image-content{
        width: 40%;
        height: auto;
    }

    .image-content p {
        font-size: 0.3rem;
    }

    .line-button {
        padding: 1.0rem 2.0rem;
        font-size: 0.1rem;
    }

    .line-button img {
        height: 1.0rem;
    }

    .social-container p {
        font-size: 0.8rem;
    }

    .social-container img {
        width: 80%;
        height: auto;
    }

    h2 {
        font-size: 1.4rem;
    }

    .app-title {
        font-size: 1.3em;
        width: 60%;
    }

    .how-to-use-image {
        max-width: 70%;
    }

    .add-text {
        font-size: 0.6rem;
    }

    .campaign-image {
        max-width: 80%;
    }

    .centered-text {
        font-size: 0.8rem;
    }

    .centered-image{
        width: 70%;
    }

    .footer-links{
        font-size: 0.3rem;
    }
}