@charset "UTF-8";

/* common css */
html {
  font-size: 10px;
  line-height: 1;
}

body {
  font-family: "Noto Sans JP", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", "sans-serif";
  font-feature-settings: "palt";
  letter-spacing: 0.05em;
  color: #3f3f3f;
  margin: 0 auto;
}

img {
  width: 100%;
  height: auto;
  display: block;
}

h1 {
  font-size: 3rem;
  margin: 0;
}

h2,
h3 {
  font-size: 2rem;
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
}

li {
  font-size: 1.6rem;
  margin: 0;
  display: block;
}

p {
  font-size: 1.6rem;
  margin: 0;
}

a {
  display: block;
}

a:-webkit-any-link {
  cursor: pointer;
  color: #000;
  text-decoration: none;
}

a:-webkit-any-link:active {
  color: #3f3f3f;
}

a:hover {
  opacity: 0.8;
}

dl,
dd {
  margin: 0;
}

.slider {
  visibility: hidden;
}

.slider.slick-initialized {
  visibility: visible;
}

.slick-slide:focus,
.slick-track:focus,
.slick-list:focus,
.slick-slide div:focus {
  outline: none;
}

.sponly {
  display: none;
}

/* header css */
.header {
  background: #9acd32;
  color: #000;
  font-family: "sans-serif", impact;
  position: fixed;
  top: 0;
  margin: 0;
  z-index: 9999;
  width: 100%;
}

.header__item--tit {
  font-weight: normal;
}

.header__item {
  width: calc(100% - 60px);
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 20px 0;
}

.header__item--menu {
  display: flex;
  gap: 20px;
  justify-content: flex-end;
}

.header__item--menu li {
  font-size: 2rem;
}

.hamburger {
  display: none;
  position: absolute;
  top: 20px;
  right: 20px;
  cursor: pointer;
  width: 32px;
  height: 24px;
  z-index: 99999;
}

.hamburger span {
  transition: all 0.3s;
  position: absolute;
  height: 2px;
  background-color: #333;
  width: 100%;
}

.hamburger span:nth-of-type(1) {
  top: 4px;
}

.hamburger span:nth-of-type(2) {
  top: 12px;
}

.hamburger span:nth-of-type(3) {
  top: 20px;
}

.hamburger.open span {
  background-color: #fff;
}

.hamburger.open span:nth-of-type(1) {
  transform: translateY(6px) rotate(-44deg);
}

.hamburger.open span:nth-of-type(2) {
  opacity: 0;
}

.hamburger.open span:nth-of-type(3) {
  transform: translateY(-10px) rotate(44deg);
}

/* mv css */
.mv {
  position: relative;
}

.mv::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.1);
  pointer-events: none;
}

.mv .slider {
  width: 100%;
  max-height: 500px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mv .slider img {
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center;
}

.mv__tit {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  color: #fff;
  font-size: 6rem;
  font-family: "EB Garamond", serif;
  font-weight: normal;
  text-shadow: 2px 2px 5px rgba(102, 102, 102, 0.8);
  white-space: nowrap;
}

/* section css */
.sec {
  padding: 80px 0;
}

.sec__inner {
  width: calc(100% - 60px);
  max-width: 1200px;
  margin: 0 auto;
}

.sec:nth-of-type(2n) {
  background-color: #f7f5f3;
}

.sec:last-of-type {
  background-color: #000;
  padding-bottom: 54px;
}

.sec__inner--tit {
  font-size: 5rem;
  font-family: "sans-serif", impact;
  font-weight: normal;
  text-align: center;
  margin-bottom: 40px;
}

.sec__inner--tit span {
  display: block;
  font-size: 1.6rem;
  margin-top: 8px;
}

.sec__inner--tit span::before {
  content: "";
  display: block;
  width: 120px;
  border-top: 1px solid #3f3f3f;
  margin: 0 auto;
  padding-bottom: 12px;
}

.sec:last-of-type .sec__inner--tit,
.sec:last-of-type p {
  color: #fff;
}

.sec:last-of-type .sec__inner--tit span::before {
  border-top: 1px solid #fff;
}

#about p {
  line-height: 2;
  text-align: center;
}

#work .sec__inner--con {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0 4%;
  text-align: center;
}

#work .sec__inner--con a {
  box-shadow: 2px 2px 5px rgba(102, 102, 102, 0.4);
  margin-bottom: 20px;
  transition: 0.3s;
}

#work .sec__inner--con a:hover {
  box-shadow: 2px 2px 5px rgba(102, 102, 102, 0.2);
}

#work .sec__inner--con p {
  box-shadow: 2px 2px 5px rgba(102, 102, 102, 0.4);
  margin-bottom: 20px;
  transition: 0.3s;
}

#work .sec__inner--con dt {
  font-size: 1.8rem;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid #bfbfbf;
}

#work .sec__inner--con dd {
  font-size: 1.6rem;
  line-height: 1.5;
}

#skill .sec__inner--con {
  max-width: 1160px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 20px 2%;
  margin: 0 auto;
  text-align: center;
  line-height: 1.5;
}

#skill .sec__inner--con img {
  max-width: 100px;
  margin: 0 auto 10px;
}

#skill .sec__inner--con dt {
  margin-bottom: 6px;
}

#skill .sec__inner--con dd:first-of-type {
  margin-bottom: 6px;
}

#contact.sec {
  padding-bottom: 54px;
}

#contact p {
  text-align: center;
  font-size: 2rem;
}

#contact p:first-of-type {
  margin-bottom: 14px;
}

#contact span {
  margin-right: 10px;
}

/* フェード関連 css */
.fadein {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fadein.active {
  opacity: 1;
  transform: translateX(0);
}

.fadein-up {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fadein-up.active {
  opacity: 1;
  transform: translateY(0);
}

/* footer css */
.footer {
  background-color: #000;
  color: #fff;
  padding-bottom: 10px;
}

.footer__inner {
  width: calc(100% - 20px);
  margin: 0 auto;
}

@media screen and (max-width: 1024px) {
}

@media screen and (max-width: 768px) {
  .pconly {
    display: none;
  }

  .sponly {
    display: inline-block;
  }

  h1 {
    font-size: 2.6rem;
  }

  p,
  li,
  #work .sec__inner--con dd,
  .sec__inner--tit span {
    font-size: 1.4rem;
  }

  .header__item {
    grid-template-columns: auto auto;
  }

  .header__item--menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.75);
    text-align: center;
    transition: right 0.3s ease-in-out;
    padding-top: 80px;
    z-index: 9998;
  }

  .header__item--menu li a {
    color: #fff;
  }

  .header__item--menu li:not(:last-child) {
    margin-bottom: 20px;
  }

  .hamburger {
    display: block;
  }

  .header__item--menu.open {
    right: 0;
  }

  .mv__tit {
    font-size: 5rem;
  }

  .sec {
    padding: 60px 0;
  }

  .sec__inner--tit {
    font-size: 4.4rem;
    margin-bottom: 20px;
  }

  .sec__inner--tit span::before {
    width: 100px;
  }

  #work .sec__inner--con {
    max-width: 600px;
    grid-template-columns: 1fr;
    gap: 50px;
    margin: 0 auto;
  }

  #work .sec__inner--con dt {
    font-size: 1.6rem;
  }

  #skill .sec__inner--con {
    max-width: 420px;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  #skill .sec__inner--con dt,
  #skill .sec__inner--con dd:first-of-type {
    margin-bottom: 4px;
  }

  #contact.sec {
    padding-bottom: 36px;
  }
}

@media screen and (max-width: 480px) {
  .header__item {
    width: calc(100% - 40px);
  }

  h1 {
    font-size: 2.2rem;
  }

  .header__item--menu {
    gap: 14px;
  }

  .mv__tit {
    font-size: 3.6rem;
  }

  .sec__inner--tit {
    font-size: 3.6rem;
  }

  #contact p {
    font-size: 4vw;
  }
}
