@charset "UTF-8";

.title {
    position: absolute;
    bottom: -8%;
    right: -4%;
    width: fit-content;
}

.title img {
    width: 30vw;
    min-width: 469px;
}

main {
    background-image: url(../img/bg.png);
    background-size: contain;
    background-repeat: repeat-y;
}

#s01 {
    padding: 50px 0 100px;
}

#s01 h2 {
    margin: 0;
    font-size: 2.3em;
    color: #0099C4;
    text-align: center;
}

#s01 h3 {
    margin: 0;
    font-size: 1.25em;
    text-align: center;
    margin-bottom: 50px;
}

#s01 p {
    margin: 0;
    font-size: 0.7em;
    line-height: 1.8;
}

#s01 .greet {
    font-size: 0.8em;
    margin-bottom: 40px;
}

#s01 .writer {
    margin-bottom: 100px;
    font-weight: 400;
}

#s01 .prof {
    width: 710px;
    position: relative;
    border-bottom: #0099C4 3px solid;
    border-right: #0099C4 3px solid;
    margin: auto;
    padding-bottom: 20px;
    border-radius: 0 0 30px 0;
}

#s01 .prof::before {
    content: "";
    width: 16px;
    height: 16px;
    background-color: #0099C4;
    border-radius: 50%;
    position: absolute;
    left: 0;
    bottom: -1.5px;
    transform: translate(-50%, 50%);
}

#s01 .prof::after {
    content: "";
    width: 16px;
    height: 16px;
    background-color: #0099C4;
    border-radius: 50%;
    position: absolute;
    top: 0;
    right: -1.5px;
    transform: translate(50%, -50%);
}


#s01 .prof>div {
    width: 455px;
}

#s01 .prof h3 {
    font-size: 1.1em;
    color: #0099C4;
    text-align: left;
    margin-bottom: 20px;
}

#s01 .prof .name {
    font-size: 0.7em;
    margin-bottom: 20px;
}

#s01 .prof .name span {
    font-size: 1.2em;
}

#s01 .prof article {
    font-size: 0.7em;
    line-height: 1.8;
    font-weight: 400;
}

#s01 .prof img {
    position: absolute;
    bottom: 0;
    right: 0px;
    width: 299px;
}


.q,
.a {
    display: block;
    font-size: 0.8em;
    line-height: 1.8;
    padding: 15px 0;
}

.q {
    color: #0099C4;
}

.a {
    font-weight: 400;
}


#s02 {
    padding: 50px 0 100px;
}

.comment h3 {
    font-family: 1.4em;
    text-align: center;
}

.comment h3 {
    font-family: 1.4em;
    text-align: center;
}


#s02.comment .asset {
    width: 128px;
    display: block;
    margin: 30px auto 50px;
}

.comment .flex {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 50px;
}

.comment img {
    display: block;
}

#s02.comment .flex img {
    width: 290px;
    margin-bottom: 10px;
}

#s02.comment .flex img:first-child,
#s02.comment .flex img:last-child {
    width: 510px;
}


.comment p {
    font-size: 0.7em;
    font-weight: 400;
    margin: 0;
    margin-bottom: 10px;
}


#s03 {
    padding: 50px 0 100px;
}

#s03.comment .asset {
    width: 112px;
    display: block;
    margin: 30px auto 50px;
}

#s03.comment .flex img {
    width: 320px;
}

#s03.comment .flex img:nth-child(2) {
    width: 480px;
}

#s03.comment .photo>img {
    width: 810px;
}


#s04 {
    padding: 50px 0 100px;
}

#s04.comment .asset {
    width: 98px;
    display: block;
    margin: 30px auto 50px;
}


#s04.comment .photo>img {
    width: 530px;
    display: block;
    margin: 50px auto 0;
}

#s05 {
    padding: 50px 0 100px;
}

#s05.comment .asset {
    width: 71px;
    display: block;
    margin: 30px auto 50px;
}

#s05.comment .flex img {
    width: 400px;
    margin-bottom: 10px;
}

#s05.comment .flex img:nth-child(3) {
    width: 510px;
}

#s05.comment .flex img:last-child {
    width: 290px;
}

#link {
    padding-bottom: 300px;
}


#link a {
    display: block;
    width: fit-content;
    font-weight: 400;
    margin: 30px auto;
    font-size: 0.8em;
    color: black;
    text-decoration: underline solid;
}

#link a img {
    display: inline-block;
    width: 14px;
    vertical-align: middle;
    margin-bottom: 2px;
    margin-left: 5px;
}


footer {
    margin: 0;
}

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

    .title {
        bottom: -18%;
        right: -8%;
    }

    .title img {
        width: 40vw;
        min-width: 305px;
    }



    #s01 {
        padding: 50px 0 100px;
    }


    #s01 p {
        margin: 0;
        font-size: 0.8em;
        line-height: 1.8;
    }

    #s01 .greet {
        font-size: 0.8em;
        margin-bottom: 40px;
    }

    #s01 .writer {
        margin-bottom: 100px;
        font-weight: 400;
    }

    #s01 .prof {
        width: 490px;
        position: relative;
        border-bottom: #0099C4 3px solid;
        border-right: #0099C4 3px solid;
        margin: auto;
        padding-bottom: 20px;
        border-radius: 0 0 30px 0;
    }

    #s01 .prof::before {
        content: "";
        width: 16px;
        height: 16px;
        background-color: #0099C4;
        border-radius: 50%;
        position: absolute;
        left: 0;
        bottom: -1.5px;
        transform: translate(-50%, 50%);
    }

    #s01 .prof::after {
        content: "";
        width: 16px;
        height: 16px;
        background-color: #0099C4;
        border-radius: 50%;
        position: absolute;
        top: 0;
        right: -1.5px;
        transform: translate(50%, -50%);
    }


    #s01 .prof>div {
        width: 320px;
    }

    #s01 .prof h3 {
        font-size: 1.05em;
        color: #0099C4;
        text-align: left;
        margin-bottom: 0px;
    }

    #s01 .prof .name {
        font-size: 0.9em;
        margin-bottom: 20px;
    }

    #s01 .prof .name span {
        font-size: 1em;
    }

    #s01 .prof article {
        font-size: 0.8em;
        line-height: 1.8;
        font-weight: 400;
    }

    #s01 .prof img {
        position: absolute;
        bottom: 0;
        right: 0px;
        width: 232px;
    }


    .q,
    .a {
        display: block;
        font-size: 0.8em;
        line-height: 1.8;
        padding: 15px 0;
    }

    .q {
        color: #0099C4;
    }

    .a {
        font-weight: 400;
    }


    #s02 {
        padding: 50px 0 100px;
    }

    .comment h3 {
        font-family: 1.4em;
        text-align: center;
    }

    .comment h3 {
        font-family: 1.4em;
        text-align: center;
    }


    #s02.comment .asset {
        width: 128px;
        display: block;
        margin: 30px auto 50px;
    }

    .comment .flex {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        margin-top: 50px;
    }

    .comment img {
        display: block;
    }

    #s02.comment .flex img {
        width: 33%;
        margin-bottom: 10px;
    }

    #s02.comment .flex img:first-child,
    #s02.comment .flex img:last-child {
        width: 66%;
    }


    .comment p {
        font-size: 0.8em;
        font-weight: 400;
        margin: 0;
        margin-bottom: 10px;
    }


    #s03 {
        padding: 50px 0 100px;
    }

    #s03.comment .asset {
        width: 112px;
        display: block;
        margin: 30px auto 50px;
    }

    #s03.comment .flex img {
        width: 39.5%;
    }

    #s03.comment .flex img:nth-child(2) {
        width: 59.5%;
    }

    #s03.comment .photo>img {
        width: 100%;
    }


    #s04 {
        padding: 50px 0 100px;
    }

    #s04.comment .asset {
        width: 98px;
        display: block;
        margin: 30px auto 50px;
    }


    #s04.comment .photo>img {
        width: 60%;
        display: block;
        margin: 50px auto 0;
    }

    #s05 {
        padding: 50px 0 100px;
    }

    #s05.comment .asset {
        width: 71px;
        display: block;
        margin: 30px auto 50px;
    }

    #s05.comment .flex img {
        width: 49.5%;
        margin-bottom: 10px;
    }

    #s05.comment .flex img:nth-child(3) {
        width: 66%;
    }

    #s05.comment .flex img:last-child {
        width: 33%;
    }

    #link {
        padding-bottom: 150px;
    }


    #link a {
        text-align: center;
    }



}

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

        #s01 {
        padding: 50px 0 20px;
    }

    #s01 h2 {
        margin: 0;
        font-size: 1.8em;
        color: #0099C4;
        text-align: center;
    }

    #s01 h3 {
        margin: 0;
        font-size: 1.2em;
        text-align: center;
        margin-bottom: 30px;
    }

    #s01 p {
        margin: 0;
        font-size: 0.85em;
        line-height: 1.8;
    }

    #s01 .greet {
        font-size: 0.9em;
    }

   #s01 .writer {
        margin-bottom: 50px;
        font-weight: 400;
    }

    #s01 .prof {
        width: 90%;
        border-bottom: none;
        border-right: none;
        margin: auto;
        padding-bottom: 20px;
    }

    #s01 .prof::before {
        display: none;
    }

    #s01 .prof::after {
        display: none;
    }

    #s01 .prof.sp {
        width: 100%;
        position: relative;
        border-bottom: #0099C4 3px solid;
        border-right: #0099C4 3px solid;
        margin: auto;
        padding-bottom: 0;
        padding-top: 10px;
        border-radius: 0 0 30px 0;
    }

    #s01 .prof.sp::before {
        display: block;
        content: "";
        width: 16px;
        height: 16px;
        background-color: #0099C4;
        border-radius: 50%;
        position: absolute;
        left: 0;
        bottom: -1.5px;
        transform: translate(-50%, 50%);
    }

    #s01 .prof.sp::after {
        display: block;
        content: "";
        width: 16px;
        height: 16px;
        background-color: #0099C4;
        border-radius: 50%;
        position: absolute;
        top: 0;
        right: -1.5px;
        transform: translate(50%, -50%);
    }



    #s01 .prof>div {
        width: 100%;
    }

    #s01 .prof h3 {
        font-size: 1.1em;
        color: #0099C4;
        text-align: left;
        margin-bottom: 20px;
    }

    #s01 .prof .name {
        font-size: 0.8em;
        margin-bottom: 20px;
    }

    #s01 .prof .name span {
        font-size: 1.2em;
    }

    #s01 .prof article {
        font-size: 0.85em;
        line-height: 1.8;
        font-weight: 400;
    }

    #s01 .prof.sp img {
        position: relative;
        display: block;
        width: 50%;
        margin-left: 22%;
    }

    .q,
    .a {
        font-size: 0.9em;
        line-height: 1.8;
        padding: 15px 0;
    }

    .comment .flex{
                margin-top: 10px;
    }

    .comment p {
        margin: 5px 0 10px;
    }

    #s02.comment .asset {
        width: 60px;
        margin: 20px auto 30px;
    }

        #s03 {
        padding: 50px 0;
    }

    #s03.comment .asset {
        width: 55px;
        margin: 20px auto 30px;
    }

    #s03 .photo p {
        text-align: center;
    }

    #s04.comment .asset {
        width: 48px;
        margin: 20px auto 30px;
    }
    
#s04.comment .photo>img {
        width: 100%;
        margin: 20px auto 0;
    }

        #s05 {
        padding: 50px 0;
    }

    #s05.comment .asset {
        width: 38px;
        display: block;
        margin: 20px auto 30px;
    }

    #link{
                padding-bottom: 100px;
    }

}

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