body {
    background-color: #ececec;
    overflow-x: hidden;
    margin-bottom: 20vh;
}

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

h1 {
    color: #000;
    font-size: 4em;
    margin: 0.8em auto;
}

.page-link {
    color: #000;
    font-size: 2.25em;
    text-decoration: none;
}

.dantai {
    width: 70%;
}

p {
    color: #000;
    font-size: 2.25em;
    padding-top: 3.5em;
    padding-bottom: 1em;
    display: flex;
    justify-content: center;
    align-items: center;
}

.blue {
    width: 95%;
    border: none;
    color: #ffffff;
    font-size: 2.0em;
    background: #6a9de3;
    padding: 0.45em;
    border-radius: 0.35em;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

.red {
    width: 95%;
    border: none;
    color: #ffffff;
    font-size: 2.0em;
    background: #f24646;
    padding: 0.45em;
    border-radius: 0.35em;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn {
    border: 0.15em solid #ffffff;
    padding: 2% 3%;
    margin: 0.5% 0;
    border-radius: 0.75em;
    display: flex;
    justify-content: center;
    align-items: center;
}

.underlineleft {
    display: inline-block;
    position: relative;
    margin-bottom: 3.5em;
    width: 100%;
    text-align: center;
}

.underlineleft::after {
    content: "";
    position: absolute;
    bottom: -15px;
    right: 25%;
    width: 80%;
    height: 1px;
    background-color: #f24646;
}

.underlineright {
    display: inline-block;
    position: relative;
    margin-bottom: 3.5em;
    width: 100%;
    text-align: center;
}

.underlineright::after {
    content: "";
    position: absolute;
    bottom: -15px;
    left: 25%;
    width: 80%;
    height: 3px;
    background-color: #6a9de3;
}

@media screen and (max-width :480px) {
    h1 {
        color: #000;
        font-size: 2.5em;
        margin: 1em auto;
    }

    .page-link {
        color: #000;
        font-size: 1.5em;
        text-decoration: none;
    }

    .dantai {
        width: 95%;
    }

    p {
        color: #000;
        font-size: 1.5em;
        padding-top: 4em;
        padding-bottom: 0.5em;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .blue {
        color: #ffffff;
        font-size: 1.5em;
        background: #6a9de3;
        padding: 0.5em;
        border-radius: 0.75em;
        text-decoration: none;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .red {
        color: #ffffff;
        font-size: 1.5em;
        background: #f24646;
        padding: 0.5em;
        border-radius: 0.75em;
        text-decoration: none;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .nagai {
        height: 2.75em;
        color: #000;
        font-size: 1.3em;
        background: white;
        padding: 0.5em;
        border-radius: 0.75em;
        text-decoration: none;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .nagai1 {
        height: 3em;
        color: #000;
        font-size: 1.2em;
        background: white;
        padding: 0.5em;
        border-radius: 0.75em;
        text-decoration: none;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .btn {
        border: 0.15em solid #ffffff;
        padding: 2.5% 4%;
        margin: 2% 0;
        border-radius: 0.75em;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .underlineleft {
        display: inline-block;
        position: relative;
        margin-bottom: 3em;
        width: 100%;
        text-align: center;
    }

    .underlineleft::after {
        content: "";
        position: absolute;
        bottom: -10px;
        right: 25%;
        width: 80%;
        height: 1px;
        background-color: #f24646;
    }

    .underlineright {
        display: inline-block;
        position: relative;
        margin-bottom: 3em;
        width: 100%;
        text-align: center;
    }

    .underlineright::after {
        content: "";
        position: absolute;
        bottom: -10px;
        left: 25%;
        width: 80%;
        height: 3px;
        background-color: #6a9de3;
    }
}

.swiper-slide {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-button-prev {
    color: white;
}

.swiper-button-next {
    color: white;
}