@charset "UTF-8";

html {
  font-size: 100%;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  font-family:
    "Helvetica Neue", "Arial", "Hiragino Sans", "Hiragino Kaku Gothic ProN",
    "Meiryo", sans-serif;
  font-size: 0.9rem;
  line-height: 1.7;
  color: #333d29;
  padding-top: 120px;
}
a {
  text-decoration: none;
}
img {
  max-width: 100%;
}
li {
  list-style: none;
}

.wrapper {
  width: 100%;
  max-width: 1280px;
  padding: 0 4%;
  margin: 0 auto;
}

.site-title {
  line-height: 1px;
}

.site-title a {
  display: inline-block;
  padding: 1rem 0;
  color: #333d29;
  font-weight: 300;
  letter-spacing: 3px;
  font-size: 1rem;
}

.pege-title {
  color: #333d29;
  font-weight: 300;
}

.section-title {
  font-weight: 300;
  letter-spacing: 3px;
  font-size: 1.35rem;
  text-align: center;
  margin-bottom: 80px;
}

.fade {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.6s ease;
}

.fade.active {
  opacity: 1;
  transform: translateY(0);
}

/*-------------------------------------------
ヘッダー
-------------------------------------------*/

#header {
  width: 100%;
  height: 80px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 16px 4% 0;
  z-index: 10;
  background-color: #fff;
}

#header .flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 4%;
}

#nav ul {
  display: flex;
  gap: 30px;
}

#nav a {
  display: inline-block;
  font-size: 1rem;
  font-weight: 300;
  letter-spacing: 3px;
  color: #333d29;
}

#nav a::after {
  content: "";
  height: 1px;
  width: auto;
  display: block;
  transition: all 0.3s ease;
  opacity: 0.4;
}

#nav a:hover::after {
  background-color: #333d29;
}

#mask {
  width: 100%;
  height: 100%;
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  background-color: #000;
  transition: all 0.5s;
  opacity: 0.8;
  z-index: 10;
}

.toggle-btn {
  display: none;
}

.open #mask {
  display: block;
}

/*-------------------------------------------
top
-------------------------------------------*/

#top {
  margin-bottom: 120px;
  text-align: center;
}

#top .pege-title {
  letter-spacing: 1.5px;
}

/*-------------------------------------------
mainvisual
-------------------------------------------*/

#mainvisual {
  margin-bottom: 120px;
}

#mainvisual img {
  width: 100%;
  height: 72vh;
  object-fit: cover;
  object-position: center;
}
/*-------------------------------------------
about
-------------------------------------------*/

#about {
  margin-bottom: 80px;
}

#about .content {
  display: flex;
  justify-content: center;
  gap: 32px;
  align-items: center;
}

.content-img img {
  width: 100px;
  border-radius: 50%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/*-------------------------------------------
works
-------------------------------------------*/

#works {
  margin-bottom: 80px;
}

.works-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.works-list li {
  transition: all 0.3s ease;
}

.works-list li:hover {
  opacity: 0.8;
  transform: translateY(-10px);
}

.works-list li img {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/*-------------------------------------------
contact
-------------------------------------------*/

#contact {
  margin-bottom: 80px;
}

#contact .content {
  text-align: center;
}

#contact .content p {
  font-weight: 300;
  margin-bottom: 64px;
}

#contact .content a {
  color: #333d29;
  border: 1px solid #333d29;
  border-radius: 32px;
  padding: 16px 32px;
  transition: all 0.3s;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
#contact .content a:hover {
  color: #fff;
  background-color: #333d29;
}

/*-------------------------------------------
item
-------------------------------------------*/

#item .content {
  display: flex;
  gap: 64px;
  margin-bottom: 100px;
}

#item .left,
#item .right {
  width: 100%;
}

#item .left .flex {
  display: flex;
  justify-content: center;
  gap: 64px;
}

#item .left img {
  max-width: 100%;
  margin-bottom: 32px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

#item .flex a {
  color: #333d29;
  border-bottom: 1px solid #333d29;
}
#item .flex a:hover {
  opacity: 0.5;
}

#item .right {
  margin-top: 32px;
}

#item .right dt {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

#item .right dd {
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid #333d29;
}

#item .btn {
  text-align: center;
}

#item .btn img {
  display: inline-block;
  width: 32px;
  margin: 0 10px;
}

/*-------------------------------------------
footer
-------------------------------------------*/

#footer {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

#footer .nav-menu {
  display: flex;
  gap: 32px;
}

.nav-menu img {
  width: 30px;
}

#footer .copyright {
  font-size: 0.75rem;
}

/*-------------------------------------------
SP
-------------------------------------------*/

@media (max-width: 768px) {
  #header .flex {
    position: relative;
  }

  #nav {
    width: 0;
  }
  #nav ul {
    flex-direction: column;
    width: 300px;
    position: fixed;
    top: 0px;
    left: -300px;
    z-index: 20;
    padding: 36px 50px;
    transition: all 0.5s;
    opacity: 0;
  }

  #nav li {
    margin-bottom: 14px;
  }

  #nav li a {
    color: #fff;
  }

  #nav a::after {
    display: none;
  }

  .open #nav ul {
    left: 0;
    opacity: 1;
  }

  .toggle-btn {
    display: block;
    width: 30px;
    height: 30px;
    position: absolute;
    top: 10px;
    right: 20px;
    transition: all 0.5s;
    z-index: 100;
  }

  .toggle-btn span {
    position: absolute;
    display: block;
    width: 30px;
    height: 2px;
    background-color: #000;
    border-radius: 8px;
    transition: all 0.5s;
  }

  .toggle-btn span:nth-child(1) {
    top: 10px;
  }
  .toggle-btn span:nth-child(2) {
    bottom: 10px;
  }

  .open .toggle-btn span:nth-child(1) {
    transform: translateY(4px) rotate(-45deg);
  }

  .open .toggle-btn span:nth-child(2) {
    transform: translateY(-4px) rotate(45deg);
  }

  .open .toggle-btn span {
    background-color: #fff;
  }

  #about .content {
    flex-direction: column;
    text-align: center;
  }

  #about .content .content-title {
    margin-bottom: 16px;
  }

  #about .content-text p {
    text-align: left;
  }

  .works-list {
    grid-template-columns: 1fr;
  }

  #item .content {
    flex-direction: column;
  }
}
