@charset "UTF-8";
.instagram {
  display: none;
}

/*
****************************************************************
*
* .hero
* What is PEACE?
*
****************************************************************
*/
.hero {
  width: 100%;
  height: 100vh;
  position: relative;
}

.hero__bg {
  width: 100%;
  height: 100%;
  background-image: url(../images/service-work/hero.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  position: absolute;
  z-index: -1;
}

.hero .section__inner {
  width: 100%;
  height: 100%;
  max-width: 84%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 12rem;
}
.hero__title {
  font-size: 10vh;
  letter-spacing: 0.1em;
}

.heroList {
  padding-top: 3vh;
}

.heroList__item {
  font-size: 2.8vh;
  text-transform: uppercase;
  display: block;
  letter-spacing: 0.1em;
  line-height: 2em;
}

.heroList__item::first-letter {
  font-size: 4.5vh;
  padding-right: 0.1em;
}

.hero__text {
  font-size: 2vh;
  line-height: 2.5em;
  padding-top: 2rem;
  width: 50rem;
}

@media (max-width: 768px) {
  .hero .section__inner {
    max-width: 90%;
  }
  .hero__title {
    font-size: 5vh;
  }

  .heroList {
    padding-top: 5vh;
  }

  .heroList__item {
    font-size: 2vh;
    line-height: 2.5em;
  }

  .heroList__item::first-letter {
    font-size: 3vh;
  }

  .hero__text {
    font-size: 2vh;
    line-height: 1.5;
    width: 72%;
    padding-top: 3rem;
  }
}

/*
****************************************************************
*
* .service
* 事業内容
*
****************************************************************
*/
.service {
  padding-bottom: 14rem;
}
.serviceCard__wrap {
  width: 100%;
  max-width: 128rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin: 5.5rem auto;
}

@media (min-width: 769px) and (max-width: 1280px) {
  .serviceCard__wrap {
    max-width: 85rem;
  }
}

.serviceCard {
  width: 40rem;
  height: 43rem;
  background: #e5e3df;
  border-radius: 1rem;
  padding: 8.5rem 8rem 0;
  margin-bottom: 7.5rem;
  font-family: var(--font-chikushi);
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.serviceCard::before {
  content: "";
  /*絶対配置で位置を指定*/
  position: absolute;
  top: 0;
  left: 0;
  /*色や形状*/
  background: #000;
  width: 100%;
  height: 100%;
  z-index: 2;
  /*アニメーション
  transition: transform 0.6s cubic-bezier(0.8, 0, 0.2, 1) 0s;
  */
  transform: scale(1, 1);
  transform-origin: right top;
}
/*
.serviceCard::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  background: #000;
  width: 100%;
  height: 100%;
}
*/

@keyframes sc {
  0% {
    transform: scale(1, 1);
  }
  100% {
    transform: scale(0, 1);
  }
}

.serviceCard:nth-of-type(even) {
  background: #f0f0f0;
}

.serviceCard.active:before {
  transform-origin: right top;
  /*transform: scale(1, 1);*/
  animation: sc 0.6s cubic-bezier(0.8, 0, 0.2, 1) 0s forwards;
}

.serviceCard:nth-of-type(2) {
  animation-delay: 0.2s;
}
.serviceCard:nth-of-type(3) {
  animation-delay: 0.4s;
}
.serviceCard:nth-of-type(4) {
  animation-delay: 0.6s;
}
.serviceCard:nth-of-type(5) {
  animation-delay: 0.8s;
}
.serviceCard:nth-of-type(6) {
  animation-delay: 1s;
}

.serviceCard__title {
  text-align: center;
  font-weight: 800;
  font-size: 3rem;
  position: relative;
  display: inline-block;
}

.serviceCard__title::before {
  content: "";
  display: block;
  width: 100%;
  height: 3px;
  background: #fff;
  border-radius: 1px;
  position: absolute;
  bottom: -0.9rem;
  left: 0;
  right: 0;
  margin: auto;
}

.serviceList {
  margin-top: 3.9rem;
  font-size: 2rem;
  line-height: 3rem;
}

@media (max-width: 768px) {
  .serviceCard__wrap {
    width: 90%;
  }

  .serviceCard {
    width: 100%;
    margin-bottom: 4rem;
  }

  .serviceCard__title {
    font-size: 2.4rem;
  }

  .serviceList {
    font-size: 1.8rem;
  }
}

/*
****************************************************************
*
* production
* 制作実績
*
****************************************************************
*/
.production {
  background: #000;
  padding-bottom: 28rem;
}

.production .sectionTitle {
  color: #fff;
}

.production .sectionTitle__deco {
  background: #fff;
}

.productionList {
  margin: 14rem auto 0;
  width: 100%;
  max-width: 128rem;
}

.productionList__item {
  width: 33.3%;
  padding: 10px;
  opacity: 0.1;
  transform: translateY(8rem);
}

.productionList__link {
  display: block;
  width: 100%;
  height: fit-content;
  overflow: hidden;
}

.productionList__img {
  display: block;
  width: 100%;
}

@media (max-width: 1300px) {
  .productionList {
    width: 90%;
    margin: 7.6rem auto 0;
  }
  .productionList__item {
    width: 50%;
    padding: 10px;
  }
}

/*
****************************************************************
*
* company
* 会社概要
*
****************************************************************
*/
.companyTable {
  width: 100%;
  max-width: 100rem;
  margin: 8rem auto 13.6rem;
  table-layout: fixed;
}

@media (min-width: 769px) and (max-width: 1280px) {
  .companyTable {
    max-width: 90%;
  }
}

.companyTable tr {
  width: 100%;
  height: 10rem;
  border-bottom: 1px solid #4d4d4d;
  font-size: 2rem;
}

.companyTable th {
  width: 37%;
  vertical-align: bottom;
  padding-bottom: 2.8rem;
}

.companyTable td {
  vertical-align: bottom;
  padding-bottom: 2.8rem;
  line-height: 1.3;
  /*word-break: keep-all;*/
}

.alignRight {
  display: block;
  text-align: right;
  padding-right: 9em;
}

@media (max-width: 768px) {
  .companyTable {
    width: 90%;
    margin: 5.7rem auto 10rem;
  }
  .companyTable th {
    vertical-align: middle;
    padding: 0;
    width: 25%;
    font-size: 1.5rem;
  }

  .companyTable td {
    line-height: 1.6;
    padding-bottom: 2rem;
    padding: 0;
    vertical-align: middle;
    font-size: 1.5rem;
  }

  .companyTable tr {
    height: 8.3rem;
  }

  .alignRight {
    padding-right: 0;
  }
}
