@charset "UTF-8";

:root{
  --mainColor: #1A1A1A;
}

html{
  box-sizing: border-box;
  scroll-behavior: smooth;
}
body {
  background: #FFF;
  color: var(--mainColor);
  font-family: "Noto Sans JP", "Helvetica Neue", "Helvetica", "Hiragino Sans", "Arial", "Yu Gothic", "Meiryo", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
  font-size: 16px;
  font-feature-settings: "palt" 1;/*文字詰め*/
  line-height: 1.5;
}
.body-hidden{
  overflow: hidden;
}
*, ::before, ::after {
  box-sizing: border-box;
}
h1,h2,h3,h4,h5,h6{
  margin: 0;
}
a{
  text-decoration: none;
  transition: .2s;
}
p{
  margin: 0;
}
img{
  display: inline-block;
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}
figure{
  margin: 0;
  padding: 0;
}
.img-responsive{
  width: 100%;
}
.hover-opacity{
  transition: .2s;
}
.hover-opacity:hover{
  opacity: .8;
}
@media all and (min-width: 768px) {
  .sp{display: none;}
}
@media all and (max-width: 767px) {
  body {
    font-size: 14px;
  }
  .pc{display: none;}
}

/* 固定背景 */
.fixBack{
  pointer-events: none;
  position: fixed;
  height: 100vh;
  width: 100%;
  z-index: 1;
}
.fixBack .fix_logo{
  margin-top: 10px;
  margin-left: 10px;
  width: 90px;
}
.fixBack .fix_line{
  background: url(../img/bg_border.svg) left top / auto 100% repeat-x;
  height: 26px;
  position: absolute;
}
.fixBack .fix_line.-top{
  left: calc(90px + 18px + 10px);
  top: 10px;
  width: calc(100% - 90px - 18px - 10px);
}
.fixBack .fix_line.-bottom{
  left: 0;
  bottom: 10px;
  width: 100%;
}
.fixBack .fix_line.-left{
  left: 36px;
  top: calc(83px + 18px + 10px);
  transform: rotate(90deg);
  transform-origin: top left;
  width: calc(100vh - 83px - 18px - 10px);
}
.fixBack .fix_line.-right{
  right: 36px;
  top: 0;
  transform: rotate(-90deg);
  transform-origin: top right;
  width: 100vh;
}
@media all and (max-width: 767px) {
  .fixBack .fix_logo{
    margin-top: 5px;
    margin-left: 5px;
    width: 50px;
  }
  .fixBack .fix_line{
    height: 15px;
  }
  .fixBack .fix_line.-top{
    left: calc(50px + 8px + 5px);
    top: 5px;
    width: calc(100% - 50px - 8px - 5px);
  }
  .fixBack .fix_line.-bottom{
    bottom: 5px;
  }
  .fixBack .fix_line.-left{
    left: 20px;
    top: calc(46px + 8px + 5px);
    width: calc(100vh - 46px - 8px - 5px);
  }
  .fixBack .fix_line.-right{
    right: 20px;
  }
}

/* main */
.main{
  position: relative;
}
.inner{
  margin-inline: auto;
  max-width: 915px;
  width: calc(100% - 85px);
}

/* KV */
.kv{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  /* padding: 176px 0 150px; */
  padding-block: 100px;
}
.kv .logo{
  margin-inline: auto;
  width: 127px;
  /* animation-duration: 1s !important; */
  position: relative;
  /* opacity: 0;
  transition: .8s linear opacity; */
}
.kv .logo::after{
  background: #FFF;
  content: "";
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  height: 100%;
  width: 100%;
  transform: translateY(0);
  transition: .5s cubic-bezier(0.33, 1, 0.68, 1) transform;
  transition-delay: .2s;
}
/* .kv .logo.-show{
  opacity: 1;
} */
.kv .logo.-show::after{
  opacity: 1;
  transform: translateY(100%);
}
.kv p{
  font-family: "Jost", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
  font-size: 18px;
  margin-top: 115px;
  text-align: center;
}
.kv p .-slideUp_inner{
  transition-delay: .8s !important;
}
@media all and (max-width: 767px) {
  .kv .logo{
    width: 84px;
  }
  .kv p{
    font-size: 13px;
    margin-top: 46px;
  }
}

/* nav */
.nav .nav_inner{
  display: flex;
  justify-content: center;
  gap: 27px 0;
}
.nav .nav_inner .item{
  color: inherit;
  font-family: "Moirai One", system-ui;
  font-weight: 400;
  font-style: normal;
  font-size: 41px;
  letter-spacing: .03em;
  text-align: center;
}
.nav .nav_inner .item::after{
  background: url(../img/ico-arrow.svg) center center / contain no-repeat;
  content: "";
  display: block;
  margin-top: 15px;
  height: 11px;
  transition: .2s;
  width: 100%;
}
.nav .nav_inner .item:hover::after{
  transform: translateY(4px);
}
/* nav toggle */
.nav_toggle{
  cursor: pointer;
  display: block;
  position: fixed;
  right: 50px;
  top: 50px;
  width: 45px;
  z-index: 10;
  opacity: 0;
  visibility: hidden;
  transition: .2s linear;
}
.nav_toggle.-show{
  opacity: 1;
  visibility: initial;
}
.nav_toggle .nav_toggle_menu{
  display: block;
}
.nav_toggle .nav_toggle_close{
  display: none;
}
.nav_toggle.active .nav_toggle_menu{
  display: none;
}
.nav_toggle.active .nav_toggle_close{
  display: block;
}
.nav_menu{
  background-color: #3FA8F4;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  padding: 15px 15px 5px;
  transition: opacity 0.3s ease-in-out,visibility 0.3s ease-in-out;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  width: 100%;
  z-index: 9;
}
.nav_menu.open{
  opacity: 1;
  visibility: inherit;
}
.nav_menu .logo{
  -webkit-filter: brightness(0) invert(1);
  filter: brightness(0) invert(1);
  max-width: 84px;
}
.nav_menu .nav_links{
  margin-top: 30px;
}
.nav_menu .nav_links a{
  color: #FFF;
  display: block;
  font-family: "Moirai One", system-ui;
  font-weight: 400;
  font-style: normal;
  font-size: 32px;
  margin-top: 40px;
  text-align: center;
}
@media all and (min-width: 768px) {
  .nav .nav_inner .item:nth-of-type(2){
    margin-inline: 67px 57px;
  }
}
@media all and (max-width: 767px) {
  .nav .nav_inner{
    flex-direction: column;
  }
  .nav .nav_inner .item{
    font-size: 30px;
  }
  .nav .nav_inner .item::after{
    height: 6px;
    margin-top: 10px;
  }
  .nav_toggle{
    right: 27px;
    top: 27px;
    width: 40px;
  }
}


/* text */
.title{
  font-family: "Moirai One", system-ui;
  font-weight: 400;
  font-style: normal;
  font-size: 55px;
  letter-spacing: .03em;
  text-align: center;
}
.subTitle{
  font-family: "Jost", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
  font-size: 20px;
  margin-top: 140px;
  text-align: center;
}
.title + .subTitle{
  margin-top: 62px;
}
.subTitle span{
  display: inline-block;
  position: relative;
}
.subTitle span::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform-origin: left center;
  z-index: -1;
}
.subTitle.-scroll-in span::before {
  transform: scaleX(0) translateX(-5%);
}
.subTitle.-scroll-in.-show span::before {
  animation: bg 2.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.subTitle.-blue span::before{
  background: linear-gradient(transparent 60%, #3FA8F4 30%);
}
.subTitle.-pink span::before{
  background: linear-gradient(transparent 60%, #FF7BAB 30%);
}
@keyframes bg {
  0% {
    transform: scaleX(0) translateX(-5%);
  }
  30% {
    transform: scaleX(1) translateX(0);
  }
  100% {
    transform: scaleX(1) translateX(0);
  }
}
.link{
  color: inherit;
  font-family: "Jost", "Noto Sans JP", "Helvetica Neue", "Helvetica", "Hiragino Sans", "Arial", "Yu Gothic", "Meiryo", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
  transition: .2s;
}
.link:hover{
  opacity: .8;
}
.link.-blank{
  text-decoration: none;
}
.link.-blank::after{
  background: url(../img/ico-blank.svg) center center / contain no-repeat;
  content: "";
  display: inline-block;
  margin-left: .4em;
  height: .75em;
  vertical-align: middle;
  width: .75em;
}
.link.-mail{
  text-decoration: none;
}
.link.-mail::before{
  background: url(../img/ico-mail.svg) center center / contain no-repeat;
  content: "";
  display: inline-block;
  margin-right: .4em;
  height: 1.1em;
  vertical-align: middle;
  width: 1.1em;
}
@media all and (max-width: 767px) {
  .title{
    font-size: 36px;
  }
  .subTitle{
    font-size: 16px;
    margin-top: 100px;
  }
  .title + .subTitle{
    margin-top: 60px;
  }
  .link.-blank::after{
    height: .85em;
    width: .85em;
  }
}

/* work */
.work{
  margin-top: 50px;
  padding-top: 100px;
}
.gallery{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 21px;
  margin-top: 115px;
}
.gallery .item{
  background: var(--mainColor);
  border: 2px solid var(--mainColor);
  border-radius: 18px;
  color: #FFF;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.gallery .item .img{
  background: #FFF;
  border-radius: 16px;
  overflow: hidden;
  width: 100%;
}
.gallery .item .detail{
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 22px 25px 22px;
}
.gallery .item .detail .do{
  font-size: 14px;
  font-weight: 300;
  letter-spacing: .1em;
}
.gallery .item .detail .text{
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 3.5em;
  margin-top: 18px;
}
.gallery .item .detail .client{
  font-weight: 600;
  letter-spacing: .1em;
}
.gallery .item .detail .link{
  color: #FFF;
  font-weight: 300;
  letter-spacing: .03em;
}
.gallery .item .detail .year{
  font-family: "Jost", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-weight: 500;
  margin-top: 18px;
}
@media all and (max-width: 767px) {
  .work{
    margin-top: 70px;
    padding-top: 80px;
  }
  .gallery{
    grid-template-columns: 1fr;
    margin: 80px auto 0;
    max-width: 400px;
  }
  .gallery .item{
    border-radius: 10px;
    border-width: 1px;
  }
  .gallery .item .img{
    border-radius: 8px;
  }
  .gallery .item .detail{
    padding: 12px 8px 13px 18px;
  }
  .gallery .item .detail .do,
  .gallery .item .detail .link,
  .gallery .item .detail .year{
    font-size: 13px;
  }
  .gallery .item .detail .text,
  .gallery .item .detail .year{
    margin-top: 8px;
  }
  .gallery .item .detail .text{
    min-height: 2.5em;
  }
}

/* about */
.about{
  margin-top: 155px;
  padding-top: 100px;
}
.prof{
  display: grid;
  grid-template-columns: 288px 1fr;
  gap: 26px 58px;
  margin-top: 100px;
}
.prof .photo{
  position: relative;
}
.prof .photo::after{
  background: url(../img/ico-logo.svg) top left / contain no-repeat;
  content: "";
  display: block;
  height: 100%;
  position: absolute;
  left: -63px;
  top: -55px;
  width: 126px;
}
.prof .text{
  letter-spacing: .04em;
}
.prof .text .name img{
  width: 108px;
}
.prof .text .detail{
  font-size: 15px;
  margin-block: 28px 26px;
}
.prof .text .year,
.prof .text .year_text{
  color: #4D4D4D;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.3;
}
.prof .text .year{
  font-weight: 900;
  margin-block: 14px 5px;
}
@media all and (max-width: 767px) {
  .about{
    margin-top: 25px;
    padding-top: 80px;
  }
  .prof{
    grid-template-columns: 1fr;
    margin: 60px auto 0;
    max-width: 500px;
  }
  .prof .photo{
    margin-inline: auto;
    max-width: 200px;
    width: 64%;
  }
  .prof .photo::after{
    left: -22%;
    top: -20%;
    width: 44%;
  }
  .prof .text .name{
    text-align: center;
  }
  .prof .text .name img{
    max-width: 100px;
    width: 30%;
  }
  .prof .text .detail{
    font-size: 1em;
    margin-bottom: 30px;
  }
}

/* contact */
.contact{
  letter-spacing: .1em;
  text-align: center;
  margin-top: 75px;
  padding-top: 100px;
}
.contact .text{
  margin-top: 45px;
}
.contact .link{
  border-bottom: 2px solid var(--mainColor);
  display: inline-block;
  font-size: 23px;
  font-weight: 700;
  letter-spacing: .05em;
  margin-top: 60px;
  padding-bottom: .1em;
}
@media all and (max-width: 767px) {
  .contact{
    margin-top: 20px;
    padding-top: 80px;
  }
  .contact .text{
    margin-top: 25px;
  }
  .contact .link{
    font-size: 17px;
    margin-top: 40px;
  }
}

/* footer */
.footer{
  margin-top: 234px;
  text-align: center;
}
.footer .logo{
  width: 115px;
}
.footer .copyright{
  font-size: 13px;
  font-weight: 300;
  margin-block: 22px 70px;
}
@media all and (max-width: 767px) {
  .footer{
    margin-top: 110px;
  }
  .footer .logo{
    width: 70px;
  }
  .footer .copyright{
    font-size: 10px;
    margin-block: 10px 35px;
  }
}

/* page top */
.pagetop{
  display: block;
  position: fixed;
  right: 50px;
  bottom: 50px;
  width: 45px;
  z-index: 2;
  opacity: 0;
  visibility: hidden;
  transition: .2s linear;
}
.pagetop.-show{
  opacity: 1;
  visibility: initial;
}
.pagetop:hover{
  transform: translateY(-5px);
}
@media all and (max-width: 767px) {
  .pagetop{
    right: 27px;
    bottom: 27px;
    width: 40px;
  }
}

/* animation */
.-scroll-in.-fadeUp{
  opacity: 0;
  transform: translateY(30px);
}
.-scroll-in.-fadeUp.-show{
  animation: fadeUp 1s forwards;
}
@keyframes fadeUp{
  0%{opacity:0; transform: translateY(30px);}
  100%{opacity:1; transform: translateY(0);}
}
.-scroll-in.-slideUp{
  overflow: hidden;
}
.-scroll-in.-slideUp .-slideUp_inner{
  display: block;
  transform: translate(0, 100%);
  transition: 1.2s cubic-bezier(0.22, 1, 0.36, 1) transform;
}
.-scroll-in.-slideUp.-show .-slideUp_inner{
  transform: translate(0, 0);
}
