* {
  margin: 0;
  padding: 0;
}

body {
  font-family: 'M PLUS Rounded 1c', sans-serif;
  color: #000;
}

a {
  text-decoration: none;
  color: #000;
  filter: drop-shadow(1px 1px 5px #c0c0c0);
}

a:hover {
  opacity: .7;
}

li {
  list-style: none;
}

img {
  max-width: 100%;
  vertical-align: bottom;
}

.container {
  max-width: 1024px;
  padding: 0 10px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .container {
    max-width: 100%;
  }
}

.sec-title {
  text-align: center;
  font-weight: bold;
  margin-bottom: 30px;
  filter: drop-shadow(1px 1px 5px #c0c0c0);
}

/* header */
header {
  height: 120px;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header img {
  width: 100%;
  height: 100px;
}

header ul {
  display: flex;
  gap: 20px;
}

@media (max-width: 568px) {
  header {
    flex-direction: column;
    justify-content: center;
  }
  .header-title img {
    height: 70px;
  }
}


/* mainvisual */
.mainvisual {
  margin-bottom: 180px;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .3s, transform .3s;
}

.mainvisual.fadeIn {
  opacity: 1;
  transform: none;
}

.mainvisual img {
  width: 100%;
  height: 600px;
  object-fit: cover;
}

@media (max-width: 568px) {
  .mainvisual {
    margin-bottom: 70px;
  }

  .mainvisual img {
    height: 400px;
  }
}

/* about */
#about {
  margin-bottom: 180px;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .3s, transform .3s;
}

#about.fadeIn {
  opacity: 1;
  transform: none;
}

#about .about-content {
  display: flex;
  align-items: center;
}

#about .about-image {
  width: 50%;
  object-fit: cover;
  margin-right: 40px;
}

#about .about-text {
  width: 50%;
  background-color: lightyellow;
  border-radius: 50%;
  text-align: center;
  padding: 40px 10px;
}

#about .about-text p {
  line-height: 3;
}

@media (max-width: 768px) {
  #about .about-text p {
    line-height: 2;
  }
}

@media (max-width: 568px) {
  #about {
    margin-bottom: 70px;
  }

  #about .about-content {
    flex-direction: column;
  }

  #about .about-image {
    margin-right: 0;
  }

  #about .about-text {
    width: 90%;
  }

  #about .about-text p {
    line-height: 1.5;
  }
}

/* work */
#work {
  margin-bottom: 180px;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .3s, transform .3s;
}

#work.fadeIn {
  opacity: 1;
  transform: none;
}

#work .work-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
}

#work .work-list li {
  width: 40%;
}

#work .work-list img {
  width: 400px;
  height: 200px;
  object-fit: cover;
  margin-bottom: 10px;
}

@media (max-width: 568px) {
  #work {
    margin-bottom: 70px;
  }

  #work .work-list {
    flex-direction: column;
  }

  #work .work-list li {
    width: 100%;
    text-align: center;
  }

}

/* skill */
#skill {
  margin-bottom: 180px;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .3s, transform .3s;
}

#skill.fadeIn {
  opacity: 1;
  transform: none;
}

#skill .skill-content {
  display: flex;
  align-items: center;
  justify-content: center;
}

#skill .skill-image {
  width: 40%;
  height: 350px;
  object-fit: cover;
  margin-right: 60px;
}

#skill .skill-text {
  width: 40%;
  background-color: lightblue;
  border-radius: 50%;
  text-align: center;
  padding: 60px 20px;
}

#skill .skill-text p {
  line-height: 3;
}

@media (max-width: 768px) {
  #skill .skill-text p {
    line-height: 2
    }
}

@media (max-width: 568px) {
  #skill {
    margin-bottom: 70px;
  }

  #skill .skill-content {
    flex-direction: column;
  }

  #skill .skill-image {
    width: 70%;
    margin-right: 0;
  }

  #skill .skill-text {
    width: 90%;
  }

  #skill .skill-text p {
    line-height: 1.5;
  }
}

@media (max-width: 507px) {
  #skill .skill-image {
    width: 90%;
  }
}

/* contact */
#contact {
  margin-bottom: 180px;
  text-align: center;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .3s, transform .3s;
}

#contact.fadeIn {
  opacity: 1;
  transform: none;
}

#contact h3 {
  font-size: 1.75rem;
  margin-top: 30px;
}

@media (max-width: 568px) {
  #contact {
    margin-bottom: 70px;
  }
}

/* footer */
footer {
  text-align: center;
  padding-bottom: 40px;
  font-size: 0.875rem;
}