* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: sans-serif;
    line-height: 1.8;
    background-color:#fff7F1;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}



ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    width: 50%;
    display: block;
    max-width: 100%;
    height: auto;
}



section h3 {
    font-size: 20px;
    margin-bottom: 0%;
}


#top-image {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff7F1;
    margin-top: 100px;
}

.top-image {
    width: 1000px;
    display: block;  
    padding-top: 100px;  
}

header {
    position: fixed;
    width: 100%;
    background: #DCECF8;
}

nav ul {
    display: flex;
    justify-content: center;
    gap: 32px;
    padding: 20px;
    color: #49413B;
}

#fv {
    min-height: 100vh;
    background-image: url("素材 リボン8.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#fv h1 {
    color: #F6D0C4;
    font-size: 50px;
    letter-spacing: 20px;

}

#fv h2 {
    color: #F6D0C4;
    font-size: 30px;
    letter-spacing: 10px;
    padding-bottom: 10px;
}

#fv p {
    color: #F4c2B8;
    font-size: 20px;
    letter-spacing: 10px;
}


#about {
    background-color: #fff7F1;
    background-image: url(Group\ 29.png);
    background-size: 900px;
    background-position: center 220px;
    background-repeat: no-repeat;
    text-align: center;
    color: #49413B;
    line-height: 2.5;
    margin-top: 200px;
    margin-bottom: 200px;
}

#about h2 {
    margin-bottom: 20px;
}

#about p {
    padding: 0 40px;
}

.pearl-ribbon {
    width: 180px;
    display: block;
    margin: 0 auto 20px;
}

.pearl-ribbon2 {
    width: 180px;
    display: block;
    margin: 0 auto 20px;
    padding-top: 20px;
}


.profile-box {
    max-width: 1000px;
    margin: 0 auto;
    padding: 30px;
    background-color: rgba(207, 106, 94, 0.1);
    border-radius: 30px;
}

@media screen and (max-width: 768px) {
    #about {
    margin-top: 80px;
    margin-bottom: 80px;
    line-height: 1.8;
  }

  .profile-box {
    padding: 20px;
  }

  .pearl-ribbon,
  .pearl-ribbon2 {
    width: 120px;
    margin: 20px auto;
  }

   
}


#works {
    background-color: #f4dbd8;
    text-align: center;
    color: #5F5550;
    padding: 100px;
     position: relative;
    }

.pearl-ribbon3 {
    position: absolute;
    width: 180px;
    left: 50%;
    transform: translateX(-50%);
}

#works h3 {
    padding: 50px;
    margin-top: 20px;
}

.works-list {
    display: flex;
    justify-content: center;
    gap: 20px;
    color: #5F5550;
}

.works-list img {
    width: 500px;
    border-radius: 20px;

}
#service {
    min-height: 700px;
    text-align: center;
    color: #5F5550;
    background-image: url(素材パール2.png);
    background-size: 1000px;
    background-repeat: no-repeat;
    background-position: center;
    padding-top: 30px;
}

#service h2 {
    padding: 30px;
    margin-top: 50px;
}

#service h3 {
    margin-bottom: 30px;
}

.service-item h3 {
    color: #5F5550;
}

.service-web  h3 {
    color: #5F5550;
    margin-top: 50px;
}

.service-item p,
.service-web p {
  margin-bottom: 16px;
}


#contact {
    background-color: #f9ebe9;
    color: #5F5550;
    text-align: center;
    padding: 100px;
    margin-bottom: 30px;
}

.contact-ribbon {
    display: block;
    width: 180px;
    margin: 0 auto;
}


.contact-btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: #F6D0c4;
    border-radius: 30px;
    text-decoration: none;
    color: #5F5550;

    margin-top: 20px;
}

footer {
    background-color: #2a211a;
    color: #fef9f5;
    text-align: center;
    padding: 14px 10px 20px;
}