@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap");
*,
*:before,
*:after {
  box-sizing: border-box;
  outline: none;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
  font-family: "Noto Sans Japanese";
}

body {
  position: relative;
  margin: 0;
  padding: 0;
  font-smooth: auto;
  color: #262626;
  font-family: "Noto Sans JP", sans-serif;
  letter-spacing: 1px;
}

img {
  width: -webkit-fill-available;
  height: auto;
  image-rendering: -webkit-optimize-contrast;
  /* Safari, Chrome */
  image-rendering: optimizeQuality;
  width: -moz-available;
  pointer-events: none;
}

a {
  text-decoration: none;
  color: #191919;
  display: block;
  transition: 0.3s;
}

.anchor {
  display: block;
  padding-top: 70px;
  margin-top: -70px;
}

.fade-start {
  opacity: 0;
  transform: translateY(50px);
  transition: 1s;
}

.fade-startsub {
  opacity: 0;
  transform: translateY(50px);
  transition: 1s;
}

.fade {
  opacity: 0;
  transform: translateY(50px);
}

.fade-in {
  opacity: 1;
  transform: translateY(0);
  transition: 1s;
}

.header {
  width: 100%;
  padding: 1.25% 2.206%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header__logo {
  display: flex;
  width: 13.6924%;
}
.header__logo img {
  width: 100%;
}
.header__menu {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  font-size: 1.102941vw;
  font-weight: bold;
  width: 86.3076%;
}
.header__item:nth-child(2) {
  margin-left: 2.674%;
}
.header__item:nth-child(3) {
  width: 18.182%;
  margin-left: 5.348%;
}

.not-front .header__item {
  width: 18.182%;
}

.ttl {
  font-size: 3vw;
  text-align: center;
  font-weight: 500;
  letter-spacing: 0.2em;
}

.subTtl {
  font-weight: 300;
  font-size: 1.5vw;
  margin-top: 2%;
  display: block;
  text-align: center;
}

.works__catList {
  margin: 3% auto 0;
  width: 40%;
  display: flex;
  letter-spacing: 0.05em;
  flex-wrap: wrap;
  font-size: 1.5vw;
  justify-content: center;
  line-height: 1.5;
  transition: 0.3s;
}
.works__catItem:hover {
  opacity: 0.5;
  transition: 0.3s;
}
.works__list {
  width: 70%;
  margin: 6% auto 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.works__list::before {
  content: "";
  display: block;
  width: 30%;
  order: 1;
}
.works__list::after {
  content: "";
  display: block;
  width: 30%;
  order: 1;
}
.works__item {
  width: 30%;
  overflow: hidden;
}
.works__item:nth-child(n+4) {
  margin-top: 7%;
}
.works__itemContents {
  display: flex;
  justify-content: space-between;
  align-items: end;
  transition: 0.3s;
  padding: 0 2%;
  margin-top: 5%;
}
.works__itemContents:hover {
  scale: 1.05;
  transition: 0.3s;
}
.works__itemTtl {
  font-size: 1.5vw;
}
.works__itemImgPc {
  width: 57%;
}
.works__itemImgSpWrapper {
  width: 39%;
  position: relative;
}
.works__itemImgSp {
  position: absolute;
  width: 81%;
  top: 62%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
}
.works__btn {
  margin: 5% auto 0;
  font-size: 1.2vw;
}
.works__btn a {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3.5rem;
  margin: 0 auto;
  font-size: 1.5vw;
  width: -moz-fit-content;
  width: fit-content;
}
.works__btnTxt {
  position: relative;
  transition: 0.3s;
}
.works__btnIcon {
  background-color: #F7F9FA;
  padding: 1%;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 5vw;
  height: 5vw;
  border-radius: 50%;
  transition: all 0.6s ease;
  backface-visibility: hidden;
}
.works__btnIcon img {
  width: 30%;
}
.works__btn a:hover .works__btnTxt {
  transform: translate(15%, 0);
  transition: 0.3s;
}
.works__btn a:hover .works__btnIcon {
  transform: scale(0.65);
}

.footer {
  padding: 10% 0 1%;
}
.footer__copyright {
  text-align: center;
}

.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}
.modal .modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  background-color: #fff;
  padding: 5% 0;
  border-radius: 0.5vw;
  width: 45%;
}
.modal .works__itemTtl {
  width: 80%;
  margin: 0 auto;
  font-size: 1.8vw;
}
.modal .works__itemContents {
  width: 80%;
  margin: 5% auto 0;
}
.modal .works__itemContents:hover {
  scale: 1;
}
.modal .works__itemContents.movieContents {
  width: 50%;
  justify-content: center;
}
.modal .works__itemContents.dtpContents {
  width: 70%;
  justify-content: center;
}
.modal .works__itemImgPc {
  width: 55%;
  margin: 0 auto;
}
.modal .works__itemImgSpWrapper {
  width: 39%;
}
.modal .close {
  position: absolute;
  font-size: 3vw;
  top: 5%;
  right: 5%;
}

/*リンクを左下に固定*/
#page-top,
#page-works {
  width: 20%;
  position: fixed;
  right: 15px;
  bottom: 120px;
  z-index: 1;
  /*はじめは非表示*/
  transform: translateY(100px);
  transition: 0.3s;
}

#page-works {
  opacity: 0;
  bottom: 20px;
}

#page-top::after,
#page-works::after {
  position: absolute;
  top: 50%;
  right: 15%;
  content: "";
  display: inline-block;
  width: 0.78vw;
  height: 1.3023vw;
  background-image: url("../common/img/arrow.png");
  background-size: contain;
  background-repeat: no-repeat;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
}

#page-top:hover,
#page-works:hover {
  bottom: 128px;
  transition: 0.3s;
}

#page-works:hover {
  bottom: 28px;
  transition: 0.3s;
}

/*　上に上がる動き　*/
#page-works.UpMove {
  animation: UpAnime 0.8s forwards;
}

@keyframes UpAnime {
  from {
    opacity: 0;
    transform: translateY(100px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
#page-works.DownMove {
  animation: DownAnime 0.8s forwards;
}

@keyframes DownAnime {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 1;
    transform: translateY(200px);
  }
}
@media screen and (max-width: 1024px) {
  .ttl {
    font-size: 6vw;
  }
  .subTtl {
    font-size: 3.5vw;
    margin-top: 3%;
  }
  .footer {
    padding: 35% 0 2%;
  }
  #page-top,
  #page-works {
    width: 80%;
    position: fixed;
    bottom: 20px;
    right: 0;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
  }
  #page-top::after,
  #page-works::after {
    width: 2.78vw;
    height: 3.3023vw;
  }
  #page-top:hover,
  #page-works:hover {
    bottom: 20px;
  }
  #page-works.UpMove {
    animation: UpAnime 0.8s forwards;
  }
  #page-works.DownMove {
    animation: DownAnime 0.8s forwards;
  }
  @keyframes UpAnime {
    from {
      opacity: 0;
      bottom: 20px;
    }
    to {
      opacity: 1;
    }
  }
  @keyframes DownAnime {
    from {
      opacity: 1;
    }
    to {
      opacity: 0;
      bottom: 20px;
    }
  }
  .works_contents {
    padding: 0;
  }
  .works__catList {
    display: none;
  }
  .modal .modal-content {
    width: 90%;
    padding: 10% 0;
  }
  .modal .works__itemContents {
    width: 90%;
    margin: 10% auto 0;
  }
  .modal .works__itemTtl {
    font-size: 7vw;
  }
  .modal .works__itemContents.movieContents, .modal .works__itemContents.dtpContents {
    width: 90%;
  }
  .modal .works__itemContents.dtpContents .works__itemImgPc {
    width: 85%;
  }
  .modal .close {
    font-size: 8vw;
    top: 20px;
  }
}
/* テキストアニメーション */
.animationTtl {
  display: flex;
}

.animationTtl span {
  transition: all 0.5s;
  transition-delay: 1s;
  opacity: 0;
  transform: translateY(3rem);
}

.animationTtl span.is-show {
  opacity: 1;
  transform: translateY(0);
}

.animationSubTtl {
  display: flex;
}

.animationSubTtl span {
  transition: all 0.5s;
  transition-delay: 2s;
  opacity: 0;
  transform: translateY(3rem);
}

.animationSubTtl span.is-show {
  opacity: 1;
  transform: translateY(0);
}/*# sourceMappingURL=base.css.map */