@charset "utf-8";

/* top */

/* sp - 599px */
/* tablet 560px - 959px */
/* PC 960px - */

/* header
----------------------------------------- */

/* main-visual-area */
.main-visual-area {
	position: relative;
	width: 100%;
	height: 100vh;
	height: calc(var(--vh, 1vh) * 100);
}
.main-visual-slide .slide-left,
.main-visual-slide .slide-right {
  position: relative;
	width: 100%;
	height: 50vh;
	height: calc(var(--vh, 1vh) * 50);
	margin: 0;
	padding: 0;
  opacity: 0;
	transition: all 1.0s;
  z-index: -10;
}
.slide-left {
	transform: translateY(28px);
	transition-delay: .25s;
}
.slide-right {
	transform: translateY(30px);
	transition-delay: .1s;
}
.main-visual-slide.fade-in .slide-left,
.main-visual-slide.fade-in .slide-right {
	transform: translateY(0);
	opacity: 1;
}
.main-visual-slide li {
	width: 100%;
	height: 50vh;
	height: calc(var(--vh, 1vh) * 50);
	margin: 0;
	padding: 0;
}
.main-visual-slide .m-slide01 {
	background: url(../images/index/main-visual01_sp.jpg) center center no-repeat;
	background-size: cover;
}
.main-visual-slide .m-slide02 {
	background: url(../images/index/main-visual02_sp.jpg) center center no-repeat;
	background-size: cover;
}
.main-visual-slide .m-slide03 {
	background: url(../images/index/main-visual03_sp.jpg) center center no-repeat;
	background-size: cover;
}
.main-visual-slide .m-slide04 {
	background: url(../images/index/main-visual04_sp.jpg) center center no-repeat;
	background-size: cover;
}
.main-visual-copy {
	display: flex;
	flex-direction: row-reverse;
	position: absolute;
	top: 50%;
	left: 50%;
	margin-top: -7.8em;
	margin-left: -4.8em;
	z-index: 1000;
	line-height: 2.8;
}
.main-visual-copy > span {
	position: relative;
	display: inline-block;
	-webkit-writing-mode: vertical-rl;
	-ms-writing-mode: tb-rl;
	writing-mode: vertical-rl;
	vertical-align: top;
  font-family: var(--font-jpn2);
	font-size: 1.6rem;
	color: var(--txt-beige);
	letter-spacing: 0.24em;
	opacity: 0;
}
.main-visual-copy > span::before {
	content: "";
	display: block;
	position: absolute;
	right: 4px;
	top: 0;
	width: 1px;
	margin: 0;
	background-image: linear-gradient(to bottom, #fff, #fff 1px, #fff 1px, #fff 3px);
	background-size: 2px 3px;
	background-repeat: repeat-y;
}
.main-visual-copy > span.tagline01::before {
	height: 8em;
}
.main-visual-copy > span.tagline02::before {
	height: 9.5em;
}
.main-visual-copy > span.tagline03::before {
	height: 12em;
}
.main-visual-copy > span.tagline01.move::before {
	-webkit-animation: copyLineMove1 2.5s ease 1;
	animation: copyLineMove1 2.5s ease 1;
}
.main-visual-copy > span.tagline02.move::before {
	-webkit-animation: copyLineMove2 2.5s ease 1;
	animation: copyLineMove2 2.5s ease 1;
}
.main-visual-copy > span.tagline03.move::before {
	-webkit-animation: copyLineMove3 2.5s ease 1;
	animation: copyLineMove3 2.5s ease 1;
}
@keyframes copyLineMove1 {
	0% {
		bottom: 8em;
		height: 0;
	}
	20% {
		bottom: 0;
		height: 0;
	}
	40% {
		bottom: 0;
		height: 0;
	}
	100% {
		bottom: 0;
		height: 8em;
	}
}
@keyframes copyLineMove2 {
	0% {
		bottom: 9.5em;
		height: 0;
	}
	20% {
		bottom: 0;
		height: 0;
	}
	40% {
		bottom: 0;
		height: 0;
	}
	100% {
		bottom: 0;
		height: 9.5em;
	}
}
@keyframes copyLineMove3 {
	0% {
		bottom: 12em;
		height: 0;
	}
	20% {
		bottom: 0;
		height: 0;
	}
	40% {
		bottom: 0;
		height: 0;
	}
	100% {
		bottom: 0;
		height: 12em;
	}
}
.main-visual-copy .tagline02 {
	margin-top: 1.3em;
}
.main-visual-copy .tagline03 {
	margin-top: 2.6em;
}
.main-visual-copy .tagline01 span,
.main-visual-copy .tagline02 span,
.main-visual-copy .tagline03 span {
	display: inline-block;
	transform: translateY(0);
	opacity: 0;
	transition: all 0.6s;
}
.main-visual-copy .tagline01 span.move,
.main-visual-copy .tagline02 span.move,
.main-visual-copy .tagline03 span.move {
	transform: translateY(0);
	opacity: 1;
}

@media only screen and (min-width: 560px) {
  .slide-left {
    transform: translateY(30px);
    transition: all 1.2s;
    transition-delay: .4s;
  }
  .slide-right {
    transition: all 1.2s;
  }
  .main-visual-slide .m-slide01 {
    background: url(../images/index/main-visual01_sp.jpg) center center no-repeat;
  }
  .main-visual-slide .m-slide02 {
    background: url(../images/index/main-visual02_sp.jpg) center center no-repeat;
  }
  .main-visual-slide .m-slide03 {
    background: url(../images/index/main-visual03_sp.jpg) center center no-repeat;
  }
  .main-visual-slide .m-slide04 {
    background: url(../images/index/main-visual04_sp.jpg) center center no-repeat;
  }
  .main-visual-copy {
    margin-top: -9.7em;
    margin-left: -7.0em;
    line-height: 3.2;
  }
  .main-visual-copy > span {
    font-size: 2.0rem;
  }
  .main-visual-copy > span::before {
    right: 8px;
  }
}

@media only screen and (min-width: 960px) {
  .main-visual-slide {
    display: flex;
    flex-direction: row-reverse;
  }
  .slide-left,
  .slider-right {
    transform: translateY(65px);
    transition: all 1.2s;
    transition-delay: 0;
    width: 50%;
    height: 100vh;
  }
  .slide-right {
    transition-delay: .3s;
  }
  .main-visual-slide li {
    height: 100vh;
  }
  .main-visual-slide .m-slide01 {
    background: url(../images/index/main-visual01_pc.jpg) center center no-repeat;
  }
  .main-visual-slide .m-slide02 {
    background: url(../images/index/main-visual02_pc.jpg) center center no-repeat;
  }
  .main-visual-slide .m-slide03 {
    background: url(../images/index/main-visual03_pc.jpg) center center no-repeat;
  }
  .main-visual-slide .m-slide04 {
    background: url(../images/index/main-visual04_pc.jpg) center center no-repeat;
  }
  .main-visual-copy {
    left: 25%;
    margin-top: -12.3em;
    margin-left: -7.0em;
    line-height: 2.7;
  }
  .main-visual-copy > span {
    font-size: 2.2rem;
    letter-spacing: 0.20em;
  }
  .main-visual-copy > span::before {
    position: absolute;
    right: 8px;
    height: 10.6em;
  }
  .main-visual-copy > span.move::before {
    -webkit-animation: copyLineMove 2.6s ease 1;
    animation: copyLineMove 2.6s ease 1;
  }
  @keyframes copyLineMove {
    0% {
      bottom: 10.6em;
      height: 0;
    }
    20% {
      bottom: 0;
      height: 0;
    }
    40% {
      bottom: 0;
      height: 0;
    }
    100% {
      bottom: 0;
      height: 10.6em;
    }
  }
  .main-visual-copy .tagline01 span,
  .main-visual-copy .tagline02 span,
  .main-visual-copy .tagline03 span {
    transition: all 1.0s;
  }
}

/* scroll-line */
.scroll-line {
	position: absolute;
	left: 30px;
	bottom: 30px;
	width: 0.5px;
	height: 80px;
	background:rgba(255,255,255,0.3);
	transition: all 1.5s;
}
.scroll-line::after {
	content: '';
	display: block;
	position: absolute;
	left: 0;
	width: 0.5px;
	background:rgba(255,255,255,0.7);
	-webkit-animation: lineMove 3.0s ease infinite;
	animation: lineMove 4.0s ease infinite;
}
@keyframes lineMove {
	0% {
		bottom: 100%;
		height: 0;
	}
	20% {
		bottom: 0;
		height: 100%;
	}
	40% {
		bottom: 0;
		height: 0;
	}
	100% {
		bottom: 0;
		height: 0;
	}
}

@media only screen and (min-width: 560px) {
  .scroll-line {
    left: 50px;
    bottom: 50px;
    width: 1px;
  }
  .scroll-line::after {
    width: 1px;
  }
}

@media only screen and (min-width: 960px) {
  .scroll-line {
    left: 70px;
    bottom: 150px;
    width: 1px;
  }
  .scroll-line::after {
    width: 1px;
  }
}

/* trace-nav */
@media only screen and (min-width: 960px) {
  .trace-nav-wrap {
    display: none;
  }
  #top .trace-nav-wrap {
    display: block;
  }
  .trace-nav {
    position: fixed;
    top: -10px;
    right: 0;
    width: 100%;
    padding: 30px 78px 0 0;
    z-index: 100000;
    text-align: right;
    opacity: 0;
    transition: all .3s;
  }
  .trace-nav.fixed {
    top: 0;
    opacity: 1;
  }
  .trace-nav li {
    display: inline-block;
    width: auto;
  }
  .trace-nav li:not(:last-child) {
    margin-right: 3.4%;
  }
  .trace-nav a {
    position: relative;
    display: inline-block;
    font-family: var(--font-eng1);
    font-size: 1.4rem;
    line-height: 1.4;
    letter-spacing: 0.06em;
    transition: color .4s;
  }
  .trace-nav a:hover {
    color: var(--dark-beige);
  }
  .trace-nav a.jpn {
    position: relative;
    display: inline-block;
    font-family: var(--font-jpn1);
    font-size: 1.25rem;
    line-height: 1.4;
    letter-spacing: 0.06em;
  }
  #top .trace-nav .gnav01 a::after,
  #story .trace-nav .gnav02 a::after,
  #intermission .trace-nav .gnav03 a::after,
  #sikou .trace-nav .gnav04 a::after,
  #our-firm .trace-nav .gnav05 a::after,
  #access .trace-nav .gnav06 a::after {
    content: '';
    display: block;
    position: absolute;
    bottom: -4px;
    left: -3px;
    width: calc(100% + 6px);
    height: 1px;
    background-color: var(--beige);
  }
  #top .trace-nav .gnav01 a:hover::after,
  #story .trace-nav .gnav02 a:hover::after,
  #intermission .trace-nav .gnav03 a:hover::after,
  #sikou .trace-nav .gnav04 a:hover::after,
  #our-firm .trace-nav .gnav05 a:hover::after,
  #access .trace-nav .gnav06 a:hover::after {
    background-color: var(--dark-beige);
  }
}

/* contents
----------------------------------------- */

/* slide-img-area */
.slide-img-area {
	position: relative;
  width: 100%;
  overflow: clip;
}
.slide-img-area ul {
  width: 100%;
  transition-timing-function: linear;
}

@media only screen and (min-width: 960px) {
  .slide-img-area {
    padding-bottom: 130px;
  }
}
