/*==========================================================================

   mixin

===========================================================================*/
/*--------------------------------------------------------------------------
   overwrite
---------------------------------------------------------------------------*/
.g-header .gnav__item--06 a {
  color: #0B8943;
}

.page-access .l-page-wrapper {
  overflow: hidden;
}

.c-contents {
  background: none;
}

/*--------------------------------------------------------------------------
   common
---------------------------------------------------------------------------*/

@media only screen and (max-width: 767px) {
  .m-page-mv__img {
    opacity: 0;
  }
  @keyframes design-bg {
    0% {
      transform: translateX(0%);
    }
    100% {
      transform: translateX(calc(-90% + 100vw));
    }
  }

  .m-page-mv__content {
    overflow: hidden;
  }
  .m-page-mv__content::before {
      content: '';
      display: block;
      position: sticky;
      top: 0;
      left: 0;
      z-index: -20;
      width: 100%;
      width: calc(170vh - 80px);
      height: 100%;
      background: url(../../img/design/img_mv.webp) center center no-repeat;
      background-size: cover;
      animation: design-bg 8s ease-in-out;
      animation-fill-mode: forwards;
      transform: translateX(calc(-100% + 100vw));
      transition: opacity 1s;
  }
}

/* section
-----------------------------------------------------------------*/

.m-page-mv__body::before{
  display: none;
}

/*--------------------------------------------------------------------------
   sec-design
---------------------------------------------------------------------------*/
@keyframes loop1 {
  0% {
    transform: translateX(0%);
  }
  to {
    transform: translateX(-100%);
  }
}
.sec-design {
  position: relative;
  z-index: -1;
  background: #fff;
}
.sec-design__body {
  position: relative;
  z-index: 0;
  text-align: center;
}
.sec-design__inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: 92%;
  max-width: 1000px;
  margin: 0 auto;
}
.sec-design__hdg {
  margin: 0 0 30px;
  font-family: "Noto Serif JP", serif, sans-serif;
  font-size: 30px;
  font-weight: 400;
}
.sec-design__hdg span {
  display: inline-block;
}
.sec-design__txt {
  margin: 0 0 100px;
  font-family: "Noto Serif JP", serif, sans-serif;
  font-size: 18px;
  line-height: 2.2;
  text-align: center;
}
.sec-design__center {
  width: 100%;
}
.sec-design__left {
  width: 55%;
  text-align: left;
}
.sec-design__right {
  position: relative;
  width: 35%;
  background: #000;
  text-align: left;
}
.sec-design__right figure img {
  width: 100%;
}
.sec-design__right dl {
  padding: 8% 10% 10%;
  color: #fff;
  font-family: "Noto Serif JP", serif, sans-serif;
}
.sec-design__right dl dt {
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.5;
  letter-spacing: 0.01em;
}
.sec-design__right dl dd {
  font-size: 14px;
}
.sec-design__right .txt-obj {
  display: flex;
  position: absolute;
  bottom: 0;
  z-index: 0;
  width: 100%;
}
.sec-design__right .txt-obj img {
  width: 100%;
}

.sec-design .js-scrollbg-img picture {
  display: block;
  position: relative;
  width: 100%;
}
.sec-design .js-scrollbg-img figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
}
.sec-design .js-scrollbg-img img {
  width: 100%;
}

.txt-loop {
  overflow: hidden;
  display: flex;
  position: relative;
  z-index: -1;
  width: 100%;
  height: 115px;
  margin: 0 0 50px;
  line-height: 1;
}
.txt-loop p {
  margin-top: -25px;
  color: #FAFAFA;
  font-size: 150px;
  white-space: nowrap;
  animation: loop1 25s linear infinite;
}

.sec-design__item._item_02 {
  padding-top: 120px;
}
.sec-design__item._item_02 .sec-design__txt {
  text-align: left;
}
.sec-design__item._item_02 .sec-design__img {
  position: relative;
  margin-top: -11%;
}
.sec-design__item._item_02 .js-scrollbg-img picture {
  position: relative;
  mix-blend-mode: multiply;
}
.sec-design__item._item_02 .txt-loop {
  position: absolute;
  top: 50%;
  margin-bottom: 0;
  transform: translateY(-50%);
}
.sec-design__item._item_03 {
  padding-top: 100px;
}
.sec-design__item._item_03 .sec-design__center {
  padding-top: 100px;
}
@media only screen and (max-width: 767px) {
  .sec-design__body {
    text-align: left;
  }
  .sec-design__inner {
    display: block;
    width: 100%;
    max-width: none;
  }
  .sec-design__hdg {
    margin-bottom: 10px;
    font-size: 18px;
    line-height: 2;
  }
  .sec-design__hdg span {
    display: inline;
  }
  .sec-design__txt {
    margin-bottom: 0;
    font-size: 14px;
    line-height: 2.2;
    text-align: justify;
  }
  .sec-design__left,
  .sec-design__right {
    width: 100%;
  }
  .sec-design__left {
    margin-bottom: 50px;
  }
  .sec-design__left,
  .sec-design__center {
    width: 86%;
    margin: 0 auto 50px;
  }
  .sec-design__right dl {
    padding: 8% 6% 10%;
  }
  .sec-design__right dl dt {
    margin: 0 0 15px;
    font-size: 16px;
    line-height: 2;
    letter-spacing: 0.02em;
  }
  .sec-design__right dl dd {
    line-height: 1.8;
  }

  .sec-design .js-scrollbg-img {
    overflow: hidden;
    position: sticky;
    top: 0;
    height: 100vh;
  }
  .sec-design .js-scrollbg-img picture {
    display: inline-block;
    width: auto;
    height: 100vh;
  }
  .sec-design .js-scrollbg-img picture img {
    width: auto;
    height: 100%;
    object-fit: cover;
    object-position: center center;
  }

  .txt-loop {
    height: 75px;
  }
  .txt-loop p {
    margin-top: -20px;
    font-size: 100px;
  }

  .sec-design__item._item_02 {
    padding-top: 50px;
  }
  .sec-design__item._item_02 .sec-design__img {
    margin-top: 0;
  }
  .sec-design__item._item_02 .txt-loop {
    top: 50vh;
    z-index: 1;
    mix-blend-mode: multiply;
  }
  .sec-design__item._item_03 {
    padding-top: 50px;
  }
  .sec-design__item._item_03 .sec-design__center {
    padding-top: 50px;
  }
}

/*--------------------------------------------------------------------------
   m-profile
---------------------------------------------------------------------------*/
.m-profile {
  padding: 55px 0 0;
  background: #fff;
}
.m-profile__box {
  display: flex;
  justify-content: center;
  width: 92%;
  max-width: 1000px;
  border: 1px solid #000;
  margin: 0 auto;
  padding: 40px 0;
}
.m-profile__img {
  width: 21%;
}
.m-profile__img img {
  width: 100%;
  height: auto;
}
.m-profile__txt {
  width: 63%;
  margin-left: 3.5%;
  font-family: "Noto Serif JP", serif, sans-serif;
}
.m-profile__txt-name {
  margin: 0 0 10px;
}
.m-profile__txt-name ._name_1 {
  font-size: 14px;
  letter-spacing: 0.2em;
}
.m-profile__txt-name ._name_2 {
  display: flex;
  font-size: 24px;
  letter-spacing: 0.3em;
}
.m-profile__txt-name ._name_2 > span + span {
  position: relative;
  margin-left: 15px;
  padding-left: 18px;
}
.m-profile__txt-name ._name_2 > span + span::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 1px;
  height: 24px;
  background: #000;
  transform: translateY(-50%);
}
.m-profile__txt-prf {
  margin-bottom: -5px;
  font-size: 16px;
  line-height: 2;
}
@media only screen and (max-width: 767px) {
  .m-profile__box {
    display: block;
    width: calc(100% - 40px);
    padding: 40px 0;
  }
  .m-profile__img, 
  .m-profile__txt {
    width: 83%;
    margin: 0 auto;
  }
  .m-profile__img {
    margin-bottom: 30px;
  }
  .m-profile__txt-name {
    margin-bottom: 20px;
  }
  .m-profile__txt-name ._name_1 {
    margin-bottom: 5px;
  }
  .m-profile__txt-prf {
    font-size: 12px;
  }
}
