@charset "UTF-8";

html {
  font-size: 62.5%;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1.6rem;
  line-height: 1.5;
  box-sizing: border-box;
  width: 100%;
  color: #333;
}

a {
  text-decoration: none;
  color: #333;
}

a:hover {
  opacity: 0.7;
}

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

.container {
  width: 90%;
  max-width: 1280px;
  margin: auto;
}

/*==============================
header
==============================*/
.header-logo {
  width: 90px;
  height: 90px;
}

/*==============================
section共通
==============================*/
.section {
  padding: 80px;
}

.section-title {
  font-size: 24px;
  text-align: center;
}

.section-sub-title {
  font-family: 'Libre Franklin', sans-serif;
  text-align: center;
  color: #888;
  margin-bottom: 40px;
}

/*==============================
top
==============================*/
.top {
  background-image: url(../img/blue-sky.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: bottom center;
  padding: 160px 0;
}

.top-content {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.top-title {
  font-family: 'Playfair Display', serif;
  font-size: 56px;
  font-weight: bold;
  color: #000;
}

/*==============================
profile
==============================*/
.profile-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
  margin: auto;
  padding: 40px 0;
  border: 3px solid #eee;
  width: 80%;
}

.profile-img {
  width: 30%;
}

.profile-item {
  align-self: flex-start;
}

.profile-title {
  margin-bottom: 0;
}

.profile-name {
  font-size: 20px;
  margin-bottom: 20px;
}

/*==============================
service
==============================*/
.service {
  background-color: #d3def1;
}

.service-content {
  display: grid;
  gap: 30px;
  grid-template-columns: 1fr 1fr;
}

.service-item {
  padding: 40px 20px;
  background-color: #fff;
  border-radius: 4px;
  text-align: center;
}

.service-img {
  object-fit: cover;
  height: 200px;
  width: 200px;
  border-radius: 50%;
  margin-bottom: 16px;
}

.service-item-title {
  font-weight: bold;
  font-size: 20px;
  margin-bottom: 16px;
}

/*==============================
work
==============================*/
.work-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.work-item {
  border: 3px solid #eee;
}

.work-img {
  height: 200px;
}

.work-item-box {
  padding: 16px;
}

.work-item-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
}

.work-item-text {
  margin-bottom: 20px;
}

.work-item-link-wrapper {
  text-align: center;
}

/*==============================
contact
==============================*/
.contact {
  background-color: #d3def1;
}

.contact-text {
  text-align: center;
  margin-bottom: 40px;
}

.contact-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}

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

.contact-img {
  height: 80px;
  width: 80px;
}

/*==============================
footer
==============================*/
.footer {
  background-color: #000088;
  color: #fff;
  padding: 20px 0;
}

.copyright {
  text-align: center;
  font-size: 12px;
  margin: 0;
}

/*==============================
スマホ対応
==============================*/
@media only screen and (max-width: 767px) {
  /*==============================
  header
  ==============================*/
  .header-logo {
    width: 30px;
    height: 30px;
  }

  /*==============================
  section共通
  ==============================*/
  .section {
    padding: 80px 0;
  }

  /*==============================
  profile
  ==============================*/
  .profile-content {
    width: 100%;
    padding: 20px 0;
  }

  .profile-img {
    width: 80%;
    margin-bottom: 20px;
  }

  .profile-item {
    padding: 0 15px;
  }

  /*==============================
  service
  ==============================*/
  .service-content {
    grid-template-columns: 1fr;
  }

  /*==============================
  work
  ==============================*/
  .work-img {
    height: auto;
  }
}
