@keyframes lineAnime {
  0% {
    transform: translateY(-100%);
  }
  10% {
    transform: translateY(0%);
  }
  55% {
    transform: translateY(0%);
  }
  65% {
    transform: translateY(100%);
  }
  100% {
    transform: translateY(100%);
  }
}

@keyframes lineAnime_horizontal {
  0% {
    transform: translateX(-100%);
  }
  10% {
    transform: translateX(0%);
  }
  55% {
    transform: translateX(0%);
  }
  65% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(100%);
  }
}

@keyframes scroll {
  0% {
    height: 100%;
    transform: translateY(-100%);
  }
  10% {
    height: 100%;
    transform: translateY(0%);
  }
  55% {
    height: 100%;
    transform: translateY(0%);
  }
  65% {
    height: 0;
    transform: translateY(0%);
  }
  100% {
    height: 0;
    transform: translateY(0%);
  }
}

html,
body {
  height: 100%;
}

.kv {
  position: relative;
  height: 100%;
}

@media (max-width: 1000px) {
  .kv {
    max-height: 660px;
  }
}

@media (max-width: 767px) {
  .kv {
    max-height: 100%;
  }
}

.kv__inner {
  position: relative;
  height: 100%;
  overflow: hidden;
}

.kv video {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  width: auto;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
}

@media (max-width: 1000px) {
  .kv video {
    max-height: 660px;
  }
}

@media (max-width: 767px) and (orientation: portrait) {
  .kv video {
    height: 100vh;
  }
}

@media (max-width: 767px) and (orientation: landscape) {
  .kv video {
    max-height: none;
  }
}

.kv__txt {
  position: absolute;
  top: 50%;
  left: 0;
  z-index: 500;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  margin-top: -66px;
  text-align: center;
}

@media (max-width: 1000px) {
  .kv__txt {
    margin-top: -105px;
  }
}

.kv__copy {
  font-size: 30px;
  color: #FFFFFF;
  line-height: 1;
}

@media (max-width: 1000px) {
  .kv__copy {
    padding-left: 0.5em;
    text-align: center;
    line-height: 1.7;
  }
}

.kv__bottom {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 3;
  width: 100%;
}

.kvLogo {
  height: 57px;
  margin-top: 13px;
  padding-top: 10px;
}

@media (max-width: 1000px) {
  .kvLogo {
    height: 44px;
    margin-top: 4px;
    padding-top: 10px;
  }
}

.kvLogo__inner {
  position: relative;
  width: 175px;
  display: block;
  margin: 0 auto;
}

.kvLogo__item {
  width: 100%;
  transition: 0.3s ease-out;
}

.kvLogo__item--black {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  width: 100%;
  opacity: 0;
  transition: 0.3s ease-out;
}

.kvLogo.is-fixed .kvLogo__inner {
  position: fixed;
  top: 13px;
  left: 50%;
  z-index: 500;
  margin-left: -108px;
}

@media (max-width: 1000px) {
  .kvLogo.is-fixed .kvLogo__inner {
    top: 2px;
    margin-left: -88px;
  }
}

.kvLogo.is-fixed .kvLogo__inner::before {
  background: #fff;
  content: "";
  display: block;
  height: 60px;
  position: absolute;
  top: -13px;
  left: 0;
  width: 1800px;
}

@media (max-width: 1000px) {
  .kvLogo.is-fixed .kvLogo__inner::before {
    top: -2px;
    height: 38px;
  }
}

.kvLogo.is-fixed .kvLogo__inner::after {
  background: #fff;
  content: "";
  display: block;
  height: 60px;
  position: absolute;
  top: -13px;
  right: 0;
  width: 1800%;
}

@media (max-width: 1000px) {
  .kvLogo.is-fixed .kvLogo__inner::after {
    top: -2px;
    height: 38px;
  }
}

.kvLogo.is-fixed .kvLogo__item {
  opacity: 0;
}

.kvLogo.is-fixed .kvLogo__item--black {
  opacity: 1;
}

@media (max-width: 1000px) {
  .kvLogo.is-fixed .kvLogo__item--black {
    top: 1px;
  }
}

.kvLinks {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  font-size: 16px;
  line-height: 1;
  color: #FFFFFF;
}

@media (max-width: 767px) {
  .kvLinks {
    display: none;
  }
}

.kvLinks a {
  margin: 0 20px;
}

.is-pc .kvLinks a {
  transition: 0.3s ease-in-out;
}

.is-pc .kvLinks a:hover {
  opacity: 0.6;
}

.news {
  display: none;
  font-size: 14px;
  background: #FFFFFF;
}

@media (max-width: 767px) {
  .news {
    line-height: 1.43;
  }
}

.news.is-show {
  display: block;
}

.news__inner {
  display: flex;
  align-items: flex-start;
  padding: 6px 11.7%;
}

@media (max-width: 1000px) {
  .news__inner {
    padding: 9px 30px;
  }
}

@media (max-width: 767px) {
  .news__inner {
    padding: 9px 14px;
  }
}

.news__title {
  margin-right: 75px;
  white-space: nowrap;
  flex: 0 0 auto;
}

@media (max-width: 1000px) {
  .news__title {
    margin-right: 34px;
  }
}

@media (max-width: 767px) {
  .news__title {
    margin-right: 14px;
  }
}

.news__date {
  margin-right: 1em;
}

@media (max-width: 767px) {
  .news__date {
    display: block;
  }
}

.news__txt {
  word-break: break-all;
}

.intro {
  display: flex;
  flex-direction: row-reverse;
  padding: 140px 0 170px;
  border-top: 1px solid #707070;
}

@media (max-width: 1000px) {
  .intro {
    padding: 90px 0;
  }
}

@media (max-width: 767px) {
  .intro {
    display: block;
    text-align: center;
    padding: 42px 25px 60px;
    margin: 0;
  }
}

.intro__col {
  display: flex;
  align-items: center;
  width: 50%;
}

@media (max-width: 767px) {
  .intro__col {
    width: 100%;
  }
}

.intro__txt {
  margin-left: 32%;
  line-height: 2.5;
}

@media (max-width: 1000px) {
  .intro__txt {
    margin-left: 25%;
  }
}

@media (max-width: 767px) {
  .intro__txt {
    width: 100%;
    margin: 22px 0 0 0;
  }
}

.intro__copy {
  display: flex;
  flex-direction: row-reverse;
  margin: 0 auto;
  font-size: 40px;
  line-height: 1.6;
}

@media (max-width: 1000px) {
  .intro__copy {
    font-size: 35px;
  }
}

@media (max-width: 767px) {
  .intro__copy {
    display: block;
    font-size: 30px;
  }
}

.intro__vertical {
  -ms-writing-mode: tb-rl;
      writing-mode: vertical-rl;
  white-space: nowrap;
}

@media (max-width: 767px) {
  .intro__vertical {
    -ms-writing-mode: inherit;
        writing-mode: inherit;
    white-space: normal;
  }
}

.intro__line, .intro__line--hasPeriod {
  position: relative;
  display: inline-grid;
  overflow: hidden;
}

@media (max-width: 767px) {
  .intro__line, .intro__line--hasPeriod {
    display: block;
  }
}

.intro__line::before, .intro__line--hasPeriod::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  z-index: 1;
  width: 1px;
  height: 100%;
  transform: translateY(-100%);
  background: #707070;
}

@media (max-width: 767px) {
  .intro__line::before, .intro__line--hasPeriod::before {
    width: 100%;
    height: 1px;
    top: auto;
    bottom: 0;
    left: 0;
    right: auto;
    transform: translateX(-100%);
  }
}

.intro__line--hasPeriod::before {
  height: calc(100% - 0.5em);
}

@media (max-width: 767px) {
  .intro__line--hasPeriod::before {
    height: 1px;
    width: calc(100% - 0.5em);
  }
}

.intro__line--hasPeriod::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: 2;
  width: 2px;
  height: 0.5em;
  background: #FFFFFF;
}

@media (max-width: 767px) {
  .intro__line--hasPeriod::after {
    height: 2px;
    width: 0.5em;
  }
}

.intro.is-show .intro__line::before,
.intro.is-show .intro__line--hasPeriod::before {
  animation: lineAnime 5s linear 0s infinite;
}

@media (max-width: 767px) {
  .intro.is-show .intro__line::before,
  .intro.is-show .intro__line--hasPeriod::before {
    animation: lineAnime_horizontal 5s ease-in-out 0.01s infinite;
  }
}

.intro.is-show [data-line="2"]::before {
  animation-delay: 0.6s;
}

.flow {
  padding: 50px 5.8% 60px;
  text-align: center;
  background: #F4F0EA;
}

@media (max-width: 1000px) {
  .flow {
    padding: 40px 60px 60px;
  }
}

@media (max-width: 767px) {
  .flow {
    padding: 24px 22px 30px;
  }
}

.flow__title {
  position: relative;
}

@media (max-width: 767px) {
  .flow__title {
    line-height: 1.7;
  }
}

.flow__title::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  margin-top: -0.5px;
  background: #707070;
}

.flow__title span {
  position: relative;
  z-index: 2;
  padding: 2px 18px;
  border: 1px solid #707070;
  border-radius: 20px;
  background: #FFFFFF;
}

@media (max-width: 1000px) {
  .flow__title span {
    padding: 3px 38px;
  }
}

@media (max-width: 767px) {
  .flow__title span {
    padding: 10px 32px;
    border-radius: 35px;
  }
}

.flow ol {
  margin-top: 24px;
  counter-reset: item;
}

@media (max-width: 1000px) {
  .flow ol {
    margin-top: 40px;
  }
}

@media (max-width: 767px) {
  .flow ol {
    margin-top: 10px;
  }
}

.flow li {
  position: relative;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.flow li::before {
  content: counter(item);
  counter-increment: item;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin: 0 auto;
  border: 1px solid #707070;
  border-radius: 50%;
  background: #FFFFFF;
}

@media (max-width: 1000px) {
  .flow li::before {
    width: 33px;
    height: 33px;
  }
}

.flow__line {
  position: relative;
  width: 100%;
  height: 34px;
  margin: 10px 0 20px;
  overflow: hidden;
}

@media (max-width: 767px) {
  .flow__line {
    height: 30px;
    margin-bottom: 14px;
  }
}

.flow__line::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 1px;
  height: 100%;
  margin-left: -0.5px;
  background: #707070;
  transform: translateY(-100%);
}

.flow.is-show li {
  opacity: 1;
}

.flow.is-show .flow__line::before {
  animation: lineAnime 5s ease-in-out 0.5s infinite;
}

.flow li:nth-child(2) {
  transition-delay: 1.3s;
}

.flow li:nth-child(2) .flow__line::before {
  animation-delay: 1.6s;
}

.flow li:nth-child(3) {
  transition-delay: 2.6s;
}

.flow li:nth-child(3) .flow__line::before {
  animation-delay: 2.9s;
}

.flow li:nth-child(4) {
  transition-delay: 3.9s;
}

.flow li:nth-child(4) .flow__line::before {
  animation-delay: 4.2s;
}

.flow__txt {
  margin-top: 11px;
  font-size: 26px;
}

@media (max-width: 1000px) {
  .flow__txt {
    margin-top: 4px;
    font-size: 20px;
  }
}

.flow__detail {
  margin-top: 3px;
}
