/* === 共通スタイル === */
.top {
    background: linear-gradient(to bottom, #e5f5ff 80%, #ffffff 90%);
    height: 635px;
}

.top img {
    margin-top: 120px;
    margin-bottom: 80px;
    width: auto;
    height: 100px;
}

.top button {
    color: white;
    font-size: 20px;
    padding: 10px 50px;
    cursor: pointer;
    background-color: #007bff;
    border: none;
    border-radius: 20px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s, transform 0.2s;
}

.top button:hover {
    background-color: #005bff;
    transform: scale(1.01);
}

.content {
    text-align: center;
}

.content-title {
    font-size: 45px;
}

.content-layout {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
    margin-bottom: 100px;
    gap: 50px;
}

.content-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 600px;
    height: 300px;
    background-color: #f8faff;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
    padding: 20px;
    border-radius: 10px;
    gap: 40px;
}

.content-text h3 {
    font-size: 30px;
}
.content-text p {
    font-size: 18px;
}
.content-container svg {
    stroke: #007bff;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    width: 120px;
    height: 120px;
}

/* === メディアクエリ === */

/* タブレット（768px〜1024px） */
@media screen and (min-width: 768px) and (max-width: 1024px) {
    body {
        min-height: 3000px;
    }

    .top {
        height: 550px;
    }

    .top img {
        margin-top: 100px;
        margin-bottom: 20px;
        height: 80px;
    }

    .top button {
        font-size: 18px;
        padding: 9px 45px;
        border-radius: 18px;
        margin-top: 40px;
    }

    .content {
        margin-bottom: 150px;
    }

    .content-title {
        font-size: 40px;
    }

    .content-container {
        width: 500px;
        height: 250px;
        padding: 18px;
        gap: 30px;
    }

    .content-layout {
        margin-top: 40px;
        margin-bottom: 80px;
        gap: 40px;
    }

    .content-text h3 {
        font-size: 24px;
    }
    .content-text p {
        font-size: 16px;
    }
    .content-container svg {
        width: 100px;
        height: 100px;
    }
}

/* スマホ（480px〜767px） */
@media screen and (min-width: 480px) and (max-width: 767px) {
    .top {
        height: 420px;
    }

    .top img {
        margin-top: 80px;
        margin-bottom: 20px;
        height: 60px;
    }

    .top button {
        font-size: 15px;
        padding: 8px 40px;
        border-radius: 15px;
        margin-top: 30px;
    }

    .content-title {
        font-size: 30px;
    }

    .content-container {
        width: 350px;
        height: 175px;
        padding: 16px;
        gap: 18px;
    }

    .content-layout {
        margin-top: 30px;
        margin-bottom: 60px;
        gap: 30px;
    }

    .content-text h3 {
        font-size: 18px;
    }
    .content-text p {
        font-size: 12px;
    }
    .content-container svg {
        width: 75px;
        height: 75px;
    }
}

/* スマホ（〜479px） */
@media screen and (max-width: 479px) {
    .top {
        height: 300px;
    }

    .top img {
        margin-top: 60px;
        margin-bottom: 20px;
        height: 40px;
    }

    .top button {
        font-size: 12px;
        padding: 7px 35px;
        border-radius: 12px;
        margin-top: 20px;
    }

    .content {
        margin-bottom: 50px;
    }

    .content-title {
        font-size: 20px;
    }

    .content-container {
        width: 240px;
        height: 120px;
        padding: 8px;
        gap: 12px;
    }

    .content-layout {
        margin-top: 25px;
        margin-bottom: 50px;
        gap: 20px;
    }

    .content-text h3 {
        font-size: 12px;
    }
    .content-text p {
        font-size: 8px;
    }
    .content-container svg {
        width: 50px;
        height: 50px;
    }
}
