@charset "utf-8";

main {
    width: 100%;
    padding-top: 80px;
}

main #page_title {
    text-align: center;
    font-size: 40px;
    font-weight: bold;
    margin: 40px auto;
}

/* サポート内容紹介*/
main div {
    display: flex;
    justify-content: center;
}

.support_detail_row {
    margin: 0 7vw;
}

.support_detail {
    border-radius: 15px;
    background-color: #f0f6ff;
    width: 600px;
    /* padding-top: 60px;
    padding-left: 40px;
    padding-right: 40px;
    padding-bottom: 40px; */
    padding: 40px;
    margin: 20px;
    /* border: solid 2px #e41717; */

    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
}

.support_detail h3 {
    font-size: 25px;
    color: #514e4e;
    font-weight: 600;
    margin-bottom: 10px;
    text-align: center;
}

.support_detail img {
    margin: 8px;
    width: 300px;
    height: 200px;
}

.support_detail #discord_icon {
    width: 300px;
    height: 300px;
}

.support_detail h2 {
    font-size: 25px;
    color: #514e4e;
    font-weight: 600;
    margin: 15px auto;
    text-align: center;

}

.support_detail h4 {
    font-size: 18px;
    line-height: 1.6;
    padding: 0 10px;
}

.support_detail .button {
    display: flex;
    /* width: 200px; */
    height: 80px;
    list-style: none;
    justify-content: center;
    align-items: center;
    /* margin-left: 210px; */
}

/* .button li{
    margin: 20px;
    margin-right: 120px;
} */

.support_detail .button li a {
    text-decoration: none;
    background-color: #020d16;
    color: #fff;
    display: block;
    border-radius: 4px;
    width: 200px;
    height: 50px;
    text-align: center;
    font-weight: 200;
    padding-top: 15px;
}

.support_detail .button li a:hover {
    opacity: 0.8;
    transition: 0.3s;
}


.koukoku {
    width: 100%;
    background-color: rgb(231, 244, 255);
    height: 240px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-top: 100px;
}

.koukoku a h3 {
    text-align: center;
    font-size: 25px;
    font-weight: 600;
    margin-bottom: 15px;
}

.koukoku h5 {
    text-align: center;
    font-size: 13px;
}

.button5 {
    display: flex;
    list-style: none;
    justify-content: center;
    margin-top: 20px;
}

.button5 li a {
    text-decoration: none;
    background-color: #020d16;
    color: #fff;
    display: block;
    border-radius: 4px;
    width: 340px;
    height: 50px;
    text-align: center;
    font-weight: 200;
    padding-top: 15px;
}

.button5 li a:hover {
    opacity: 0.8;
    transition: 0.3s;
}

.merit {
    background-color: rgba(166, 166, 214, 0.089);
    margin: 0px;
}

.merit h1 {
    font-weight: 900;
    font-size: 40px;
    text-align: center;
    color: rgba(12, 12, 12, 0.753);
    padding-top: 80px;

}

.merit h2 {
    font-weight: 500;
    font-size: 20px;
    color: rgba(12, 12, 12, 0.753);
    margin: 50px 100px 80px;
    text-align: center;
}

.speech_bubble {
    display: flex;
    /* margin: 70px;
    margin-left: 200px; */
    justify-content: center;
    margin: 5% 10vw;
    padding-bottom: 80px;
}

.merit .speech_bubble img {
    width: 18vw;
    height: 18vw;
    object-fit: cover;
}

.speech_bubble a {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    position: relative;

    width: 50vw;

    margin-left: 5vw;
    padding: .8em 1.5em;
    line-height: 1.8;
    border-radius: 15px;
    background-color: #dce7f9;
    color: #333333;
}

.speech_bubble a::before {
    position: absolute;
    top: 50%;
    /* 左辺の50%の位置からスタート */
    transform: translateY(-50%);
    /* 高さの半分だけ上に移動して中央に揃える */
    left: -20px;
    width: 20px;
    height: 30px;
    background-color: #dce7f9;
    clip-path: polygon(0 50%, 100% 0, 100% 100%);
    content: '';
}

.speech_bubble h3 {
    font-weight: 800;
    font-size: 2vw;
    color: rgba(12, 12, 12, 0.753);
}

.speech_bubble h4 {
    font-size: 1vw;
}

.taisei {
    padding-bottom: 50px;
}

.taisei h1 {
    font-weight: 900;
    font-size: 40px;
    text-align: center;
    color: rgba(12, 12, 12, 0.753);
    margin-top: 80px;
    margin-bottom: 50px;
}

.taisei h2 {
    font-weight: bold;
    font-size: 23px;
    color: rgba(12, 12, 12, 0.753);
    margin-bottom: 15px;
}

.taisei div {
    display: flex;
    /* margin-left: 200px; */
    margin: 0% 10%;
    justify-content: space-between;
}

.taisei div a {
    /* margin-left: 50px;
    margin-top: 100px; */

    padding: 5%;
    width: 40vw;
    line-height: 1.6;
}

.tuyomi {
    background-color: rgba(166, 166, 214, 0.089);
    padding-top: 60px;
    padding-bottom: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tuyomi h1 {
    font-weight: 900;
    font-size: 40px;
    text-align: center;
    color: rgba(12, 12, 12, 0.753);
    margin-bottom: 50px;
}

.tuyomi div {
    margin: 20px 15vw;
    max-width: 800px;
    text-align: left;
}

.tuyomi h2 {
    font-weight: 800;
    font-size: 30px;
    color: rgba(12, 12, 12, 0.753);
    margin-bottom: 10px;
}

.tuyomi h4 {
    line-height: 1.6;
}

/* 
.tuyomi p {
    margin-left: 100px;
}

.sai {
    margin-left: 20px;
}
*/


@media screen and (max-width: 840px) {

    main #page_title {
        text-align: center;
        font-size: 30px;
        font-weight: bold;
        margin: 30px auto;
    }

    /* サポート内容紹介*/
    main div {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .support_detail {
        border-radius: 15px;
        background-color: #f0f6ff;
        width: 80vw;
        padding: 25px;
        margin: 15px;

        display: flex;
        flex-direction: column;
        justify-content: space-around;
        align-items: center;
    }

    .support_detail h3 {
        font-size: 20px;
        color: #514e4e;
        font-weight: 600;
        margin-bottom: 10px;
        text-align: center;
    }

    .support_detail img {
        margin: 8px;
        width: 60vw;
        height: 40vw;
    }

    .support_detail #discord_icon {
        width: 60vw;
        height: 60vw;
    }

    .support_detail h2 {
        font-size: 20px;
        color: #514e4e;
        font-weight: 600;
        margin: 15px auto;
        text-align: center;

    }

    .support_detail h4 {
        font-size: 14px;
        line-height: 1.6;
        padding: 0 10px;
    }

    .support_detail .button {
        display: flex;
        /* width: 200px; */
        height: 80px;
        list-style: none;
        justify-content: center;
        align-items: center;
        /* margin-left: 210px; */
    }

    /* .button li{
        margin: 20px;
        margin-right: 120px;
    } */

    .support_detail .button li a {
        text-decoration: none;
        background-color: #020d16;
        color: #fff;
        display: block;
        border-radius: 4px;
        width: 200px;
        height: 50px;
        text-align: center;
        font-weight: 200;
        padding-top: 15px;
    }

    .support_detail .button li a:hover {
        opacity: 0.8;
        transition: 0.3s;
    }


    .koukoku {
        width: 100%;
        background-color: rgb(231, 244, 255);
        height: 240px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .koukoku a h3 {
        text-align: center;
        font-size: 18px;
        font-weight: 600;
        margin: 0 15px 15px;
    }

    .koukoku h5 {
        text-align: center;
        font-size: 12px;
    }

    .button5 {
        display: flex;
        list-style: none;
        justify-content: center;
        margin-top: 20px;
    }

    .button5 li a {
        text-decoration: none;
        background-color: #020d16;
        color: #fff;
        display: block;
        border-radius: 4px;
        width: 80vw;
        height: 50px;
        font-size: 13px;
        text-align: center;
        font-weight: 200;
        padding-top: 15px;
    }


    .merit {
        background-color: rgba(166, 166, 214, 0.089);
        margin: 0px;
    }

    .merit h1 {
        font-weight: 900;
        font-size: 22px;
        text-align: center;
        color: rgba(12, 12, 12, 0.753);
        padding-top: 60px;

    }

    .merit h2 {
        font-weight: 500;
        font-size: 15px;
        color: rgba(12, 12, 12, 0.753);
        margin: 50px 20px;
    }

    .speech_bubble {
        display: flex;
        /* margin: 70px;
        margin-left: 200px; */
        justify-content: center;
        margin: 5% 10vw;
        padding-bottom: 80px;
    }

    .merit .speech_bubble img {
        width: 60vw;
        height: 60vw;
        object-fit: cover;
    }

    .speech_bubble a {
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
        align-items: center;
        position: relative;

        width: 80vw;

        margin-top: 5vw;
        padding: .8em 1.5em;
        line-height: 1.8;
        border-radius: 15px;
        background-color: #dce7f9;
        color: #333333;
    }

    .speech_bubble a::before {
        position: absolute;
        top: 50%;
        /* 左辺の50%の位置からスタート */
        transform: translateY(-50%);
        /* 高さの半分だけ上に移動して中央に揃える */
        left: -20px;
        width: 20px;
        height: 30px;
        background-color: #dce7f9;
        clip-path: polygon(0 50%, 100% 0, 100% 100%);
        content: '';
    }

    .speech_bubble h3 {
        font-weight: 800;
        font-size: 20px;
        color: rgba(12, 12, 12, 0.753);
    }

    .speech_bubble h4 {
        font-size: 13px;
    }

    .taisei {
        padding-bottom: 50px;
    }

    .taisei h1 {
        font-weight: 900;
        font-size: 25px;
        text-align: center;
        color: rgba(12, 12, 12, 0.753);
        margin-top: 80px;
        margin-bottom: 50px;
    }

    .taisei h2 {
        font-weight: bold;
        font-size: 18px;
        color: rgba(12, 12, 12, 0.753);
        margin-bottom: 15px;
    }

    .taisei h4 {
        font-size: 13px;
    }

    .taisei div {
        display: flex;
        /* margin-left: 200px; */
        margin: 0% 10%;
        justify-content: space-between;
    }

    .taisei div a {
        /* margin-left: 50px;
        margin-top: 100px; */

        padding: 5%;
        width: 80vw;
        line-height: 1.6;
    }

    .tuyomi {
        background-color: rgba(166, 166, 214, 0.089);
        padding-top: 60px;
        padding-bottom: 60px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .tuyomi h1 {
        font-weight: 900;
        font-size: 30px;
        text-align: center;
        color: rgba(12, 12, 12, 0.753);
        margin-bottom: 50px;
    }

    .tuyomi div {
        margin: 20px 15vw;
        max-width: 800px;
        text-align: left;
    }

    .tuyomi h2 {
        font-weight: 800;
        font-size: 25px;
        color: rgba(12, 12, 12, 0.753);
        margin-bottom: 10px;
    }

    .tuyomi h4 {
        font-size: 16px;
        line-height: 1.6;
    }
}