/* タイトル */
.section-title {
    font-size: 40px;
    font-weight: 300;
    margin-bottom: 120px;
}

@media screen and (max-width:570px) {
    .section-title {
        font-size: 32px;
        margin-bottom: 60px;
    }
}

/* mv */
.mv-text-wrap {
    margin-left: 6.94%;
    margin-bottom: 80px;
}

.mv-title {
    font-family: Raleway;
    font-weight: 300;
    font-size: 80px;
    line-height: normal;
    text-transform: capitalize;
    margin-top: 140px;
}

.mv-subtitle {
    font-size: 40px;
    line-height: normal;
    margin-top: 20px;
}

.mv-text {
    font-size: 24px;
    line-height: normal;
    margin-top: 10px;
}

.mv-flower {
    width: 100%;
}

@media screen and (max-width:950px) {
    .mv-title {
        font-size: 56px;
    }

    .mv-subtitle {
        font-size: 32px;
    }

    .mv-text {
        font-size: 16px;
    }
}

@media screen and (max-width:570px) {
    .mv-title {
        font-size: 40px;
    }

    .mv-subtitle {
        font-size: 24px;
    }
}


/* 私について */
.about {
    background-color: #9FDFB9;
    padding: 150px 0;
}

.about-title {
    position: relative;
    z-index: 2;
}

.about-title::after {
    content: "";
    display: inline-block;
    width: 280px;
    height: 60px;
    background-image: url(../img/top/about-title.png);
    background-size: contain;
    position: absolute;
    top: 40px;
    left: 40px;
    z-index: -1;
}

.about-content {
    gap: 7.41%;
}

.about-img-wrap {
    width: 300px;
    aspect-ratio: 1/1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #FAF8EE;
}

.about-img {
    width: 60%;
}

.about-text {
    max-width: 680px;
    width: 62.96%;
}

.about-name {
    font-family: Raleway;
    font-size: 24px;
    font-weight: 300;
    line-height: normal;
    margin-right: 70px;
}

.about-link-wrap {
    gap: 20px;
}

.about-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #F6D4CC;
    border-radius: 50%;
    transition: 0.4s ease-in-out;
}

.about-link:hover {
    transform: scale(1.2);
}

.about-sentence {
    margin: 40px 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
     word-break: keep-all;
     overflow-wrap: break-word;
}

.about-sentence p .under{
    background: linear-gradient(transparent 60%, #f6d4cc 20%);
}

/* .about-sentence2{
   margin-top: 20px;
} */

@media screen and (max-width:768px) {
.about {
        padding: 100px 0;
    }

    .about-content {
        flex-direction: column;
        gap: 30px;
    }

    .about-text {
        width: 85%;
    }

    .about-sentence {
        margin: 20px 0;
    }
}

@media screen and (max-width:570px) {
    .about-title::after {
        width: 188px;
        height: 40px;
        top: 32px;
    }

    .about-img-wrap {
        width: 60%;
    }
}


/* サービス内容 */
.service {
    padding-bottom: 150px;
    background-image: url(../img/top/sakura.png);
    background-size: 40%;
    background-repeat: no-repeat;
    background-position-x: 118%;
}

.service-title {
    position: relative;
    z-index: 2;
}

.service-title::after {
    content: "";
    display: inline-block;
    width: 328px;
    height: 60px;
    background-image: url(../img/top/service-title.png);
    background-size: contain;
    position: absolute;
    top: 40px;
    left: 40px;
    z-index: -1;
}

.service-content {
    max-width: 920px;
    margin: 0 auto;
}

.service-item {
    width: 45%;
    text-align: center;
}

.service-img {
    width: 300px;
    margin-bottom: 30px;
}

.service-item-title {
    font-size: 24px;
    line-height: normal;
    margin-bottom: 20px;
}

.service-item-text {
    text-align: left;
}

@media screen and (max-width:950px) {
    .service {
        background-size: 60%;
        background-position-x: 152%;
    }
}

@media screen and (max-width:768px) {
    .service {
        background-image: none;
    }

    .service-content {
        flex-direction: column;
        align-items: center;
        gap: 60px;
    }

    .service-item {
        width: 80%;
    }
}

@media screen and (max-width:570px) {
    .service {
        padding-bottom: 100px;
    }

    .service-title::after {
        width: 216px;
        height: 40px;
        top: 32px;
    }

    .service-item {
        width: 100%;
    }

    .service-img {
        width: 240px;
    }
}

/*  制作実績一覧*/
.works {
    position: relative;
    height: 600px;
    background-image: url(../img/top/work-list.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.works::after {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    content: "";
    display: inline-block;
    width: 100%;
    height: 100%;
    background: rgba(232, 68, 68, 0.40);
}

.works-bt-wrap {
    position: absolute;
    z-index: 2;
    text-align: center;
}

.works-bt {
    color: #fff;
    text-align: center;
    font-size: 40px;
    line-height: normal;
    display: inline-block;
    padding: 20px 100px;
    border: 2px solid #fff;
    transition: all 0.4s ease-in-out;
}

.works-bt:hover {
    background: #009044;
    border: 2px solid #009044;
}

@media screen and (max-width:768px) {
    .works-bt {
        font-size: 32px;
        padding: 20px 60px;
    }
}

@media screen and (max-width:570px) {
    .works {
        height: 320px;
    }

    .works-bt {
        font-size: 20px;
        padding: 10px 40px;
    }
}

/* スキル */
.skill-title {
    position: relative;
    z-index: 2;
}

.skill-title::after {
    content: "";
    display: inline-block;
    width: 218px;
    height: 60px;
    background-image: url(../img/top/skill-title.png);
    background-size: contain;
    position: absolute;
    top: 40px;
    left: 40px;
    z-index: -1;
}

.skill-item-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    gap: 5%;
}

.skill-item {
    text-align: center;
}

.skill-item-text {
    margin-top: 10px;
}

@media screen and (max-width:950px) {
    .skill-item-wrap {
        grid-template-columns: 1fr 1fr;
        column-gap: 10%;
        row-gap: 40px;
    }
}

@media screen and (max-width:570px) {
    .skill-title::after {
        width: 144px;
        height: 40px;
        top: 32px;
    }

    .skill-item-wrap {
        grid-template-columns: 1fr;
    }
}

/* お問い合わせ */
.contact {
    background-color: #9FDFB9;
    padding-top: 120px;
    padding-bottom: 220px;
}

.contact-title {
    position: relative;
    z-index: 2;
}

.contact-title::after {
    content: "";
    display: inline-block;
    width: 370px;
    height: 60px;
    background-image: url(../img/top/contact-title.png);
    background-size: contain;
    position: absolute;
    top: 40px;
    left: 40px;
    z-index: -1;
}

.contact-text {
    text-align: center;
    gap: 7.41%;
    margin-bottom: 80px;
}

.contact-link-wrap {
    margin-top: 30px;
    justify-content: space-around;
    gap: 20px;
}

.contact-link {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 40px;
    width: 48%;
    height: 80px;
    padding: 0 3%;
    border: 1px solid #313131;
    background-color: #FAF8EE;
    transition: 0.4s ease-in-out;
}
.contact-link:hover {
    transform: scale(1.03);
}

@media screen and (max-width:768px) {
.contact{
    padding-bottom: 100px;
}


    .contact-link-wrap {
        flex-direction: column;
    }

    .contact-link {
        max-width: 760px;
        width: 70.37%;

    }

    .contact-link:nth-child(2) img{
        margin-left: 20px;
    }

}


@media screen and (max-width:570px) {
    .contact-title::after {
        width: 224px;
        height: 36px;
        top: 32px;
    }

         .contact-link {
             width: 100%;
            padding: 0 20px;
         }

                 .contact-link:nth-child(2) img {
                     margin-left: 0;
                 }
}

/* お問い合わせフォーム */
.form {
    width: 70.37%;
    margin: 0 auto;
}

.form-item {
    margin-bottom: 30px;
}

.form-text {
    margin-bottom: 10px;
}

.form span {
    color: #E84444;
    font-size: 14px;
    line-height: normal;
    margin-left: 20px;
}

input,
textarea {
    -webkit-appearance: auto;
    appearance: auto;
    border-width: 1px;
    background-color: #FAF8EE;
}

input[type="text"],
input[type="email"] {
    height: 40px;
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    max-width: 760px;
    padding-left: 15px;
}

.form-bt {
    margin-top: 60px;
    text-align: center;
}

input[type="submit"] {
    background-color: #FAF8EE;
    padding: 10px 80px;
    border: 1px solid #313131;
    transition: all 0.4s ease-in-out;
}

input[type="submit"]:hover {
    background: #009044;
    color: #fff;
    border: 1px solid #009044;
    cursor: pointer;
}

@media screen and (max-width:570px) {
    .form {
        width: 100%;
    }
}