* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    line-height: 1.6;
}

img {
    max-width: 100%;
    height: auto;
}

.logo {
    width: 300px;
    height: 100px;
    object-fit: cover;
}

.first-view {
    color: #884898;
    background-color: #96C78C;
    text-align: center;
    position: relative;
}

.first-view__h2 {
    padding: 20px;
}

.first-view__img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.first-view__p {
    color: black;
    font-weight: bolder;
    font-size: 30px;
    position: absolute;
    top: 80%;
    left: 70%;
    transform: translate(-50%,-50%);
}

.first-view__span {
    color: #884898;
}

.design-comp {
    width: 900px;
    height: 100%;
    object-fit: cover;
}

.service {
    background-color: #884898;
    color: #ffff00;
    text-align: center;
    padding: 30px;
}

.service-p {
    padding: 10px;
    line-height: 30px;
    font-size: 18px;
}

.how-to-start {
    background-color: #ffff00;
    color: #884898;
    text-align: center;
    padding: 30px;
}

.how-to-start__div {
    border: solid 1px #884898;
    border-width: medium;
    border-radius: 10px;
    margin: 20px;
    padding: 20px;
}

.how-to-start__p {
    margin: 10px;
    font-size: 18px;
}

.start-img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    filter: brightness(0) saturate(100%) invert(34%) sepia(6%) saturate(7078%) hue-rotate(244deg) brightness(93%) contrast(82%);
}

.for-who {
    background-color: #884898;
    color: #ffff00;
    text-align: center;
    padding: 30px;
}

.for-who-flex {
    display: flex;
    justify-content: center;
    padding: 10px;
}

.for-who-contents {
    border: solid 1px #ffff00;
    border-width: medium;
    border-radius: 10px;
    margin: 20px;
    padding: 20px;
}

.for-who-p {
    font-weight: bolder;
}

.for-who__span {
    color: #ffffff;
    font-size: 23px;
}

.for-who-description {
    text-align: center;
    font-size: 20px;
    font-weight: bolder;
}

.icon {
    filter: brightness(0) saturate(100%) invert(92%) sepia(81%) saturate(3141%) hue-rotate(357deg) brightness(106%) contrast(106%);
    width: 150px;
    height: 150px;
    object-fit: cover;
}

.faq {
    background-color: #ffff00;
    color: #884898;
    text-align: center;
    padding: 30px;
}

.accordion {
    padding: 20px;
}

.accordion-header {
    border: solid 1px #884898;
    color: #ffffff;
    background-color: #165e83;
    font-weight: bolder;
}

.accordion-content {
    display: none;
    border-left: solid 3px #884898;
    border-right: solid 3px #884898;
    border-bottom: solid 3px #884898;
    margin-bottom: 10px;
}

footer {
    padding: 30px;
}

.footer-ul {
    display: flex;
    justify-content: center;
}

.footer-li {
    padding: 0 20px;
    border-right: 1px solid #444;
    list-style: none;
}

.footer-ul .footer-li:last-child {
    border:none;
}

.footer-a {
    color: blue;
}

.small {
    text-align: center;
    font-weight: bolder;
    margin: 10px;
}

/* ここからメディアクエリ */

@media screen and (max-width: 767px) {

    .logo {
        width: 200px;
        height: 50px;
        object-fit: cover;
    }

    .first-view__h2 {
        font-size: 20px
    }

    .first-view__p , .first-view__span {
        font-size: 15px;
    }

    .service-p {
        font-size: 17px;
    }

    .for-who-flex {
        display: block;
        width: 100%;
    }

    .for-who-description {
        font-size: 15px;
    }

    .footer-li, .small {
        font-size: 12px;
    }

    ul.footer-ul {
        display: block;
    
            /*flexの要素を縦並びにする*/
            display: flex;
            flex-direction: column;
            align-items: center;
        }
        .footer-li {
            border:none;
        }

    .design-comp {
        width: 350px;
        height: 211px;
        object-fit: cover;
    }

    .accordion-header {
        padding: 0 20px;
    }

    .accordion-content {
        padding: 0 20px;
    }
}