@charset "utf-8";

body{
  font-family: 'Zen Kaku Gothic New', "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", sans-serif;
  font-size: 16px;
  letter-spacing: 1.5px;
  line-height: 1.8;
  color: #4D4D4D;
  position: relative;
  overflow: hidden;
}

body a{
  color: #4D4D4D;
}

::selection {
  color: #fff;
  background-color: #707070;
}

.sp {
  display: none;
}

#container {
  top: 0;
  left: 0;
  width: 100%;
  position: absolute;
  z-index: 1;
}

.scrolldown {
  position: fixed;
  height: 50px;
  bottom: 0;
  left: 50px;
  z-index: 1;
  transition-duration: 2s;
  animation-duration: 1s;
  opacity: 0;
}

.scrolldown.play {
  opacity: 1;
}

/*Scrollテキストの描写*/
.scrolldown span{
    /*描画位置*/
  position: absolute;
  left: -23px;
  top: -20px;
    /*テキストの形状*/
  color: #000;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
}

/* 線の描写 */
.scrolldown::after{
  content: "";
    /*描画位置*/
  position: absolute;
  top: 0;
    /*線の形状*/
  width: 1px;
  height: 30px;
  background: #000;
    /*線の動き1.4秒かけて動く。永遠にループ*/
  animation: pathmove 1.4s ease-in-out infinite;
  opacity:0;
}

/*高さ・位置・透過が変化して線が上から下に動く*/
@keyframes pathmove{
  0%{
    height:0;
    top:0;
    opacity: 0;
  }
  30%{
    height:30px;
    opacity: 1;
  }
  100%{
    height:0;
    top:50px;
    opacity: 0;
  }
}

.stageBase {
  width: 100%;
  position: relative;
  overflow: hidden;
}

#stage1 {
  background: #FFF;
  height: 100vh;
  position: relative;
  transition-duration: 1.5s;
  transition-property: background-color;
  animation-duration: 1s;
}

#stage1.play {
  background: #D4E2EF;
}

#stage1 h1 {
  width: 230px;
  height: 43px;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  position: absolute;
  -webkit-transform: translate3d(0,20%,0);
  transform: translate3d(0,20%,0);
  opacity: 0;
  transition-duration: 3s;
  animation-duration: 1s;
}

#stage1 h1.play {
  -webkit-transform: translate3d(0,0,0);
  transform: translate3d(0,0,0);
  opacity: 1;
}

#stage1 .badge {
  position: absolute;
  right: 100px;
  top: 100px;
}

#stage1 .badge .circle {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color:#FFF;
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: 7;
}

#stage1 .badge .flower {
  opacity: 0;
  transform: scale(0);
  position: absolute;
  bottom: -20px;
  right: -20px;
  z-index: 5;
  transition:.8s cubic-bezier(0.8, 0, 0.2, 1) 1s;
}

#stage1 .badge .flower.open {
  opacity: 1;
  transform: scale(1.1);
}

#stage2 {
  background: #D4E2EF;
  height: 100vh;
  text-align: center;
  position: relative;
}

#stage2 .content {
  height: 400px;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  position: absolute;
  /*-webkit-transform: translate3d(0,20%,0);
  transform: translate3d(0,20%,0);
  opacity: 0;
  transition-duration: 1.6s;
  animation-duration: 1s;*/
  z-index: 1;
}

#stage2 .content p {
  color: #4D4D4D;
  line-height: 2;
  font-size: 16px;
  letter-spacing: 4px;
  padding: 0 0 30px 0;
  position: relative;
}

#stage2 .content.play {
  opacity: 1;
  -webkit-transform: translate3d(0,0,0);
  transform: translate3d(0,0,0);
}

/*#stage2 .content p.play.two {
  animation-duration: 1s;
  transition-duration: 6s;
}

#stage2 .content p.play.three {
  animation-duration: 1s;
  transition-duration: 12s;
}*/

#stage2 .pile {
  position: absolute;
  bottom: 20px;
  right: 100px;
}

#stage2 .pile .circle {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background-color:#FFF;
  position: absolute;
  bottom: 0;
  right: 0;
  -webkit-transform: translate3d(0,-20%,0);
  transform: translate3d(0,-20%,0);
  opacity: 0;
  transition-duration: 3s;
  animation-duration: 1s;
}

#stage2 .pile .circle.play {
  opacity: 1;
  -webkit-transform: translate3d(0,0,0);
  transform: translate3d(0,0,0);
}

#stage2 .pile .circle.two {
  bottom: 100px;
}

#stage2 .pile .circle.three {
  bottom: 200px;
}

#stage2 .pile .circle.four {
  bottom: 300px;
}

#stage2 .pile .circle.five {
  bottom: 400px;
}

#stage2 .line {
  background: #FAF3B4;
  height: 20px;
  width: 100%;
  position: absolute;
  bottom: 0;
}

#stage3 {
  background: #FAF3B4;
  height: 100vh;
  position: relative;
}

#stage3 .cirle {
  width: 520px;
  height: 520px;
  border-radius: 50%;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  background: #FFF;
  opacity: 0;
  transform: scale(0.1);
  transition-duration: 1.5s;
  animation-duration: 1s;
}

#stage3 .cirle.play {
  opacity: 1;
  transform: scale(1);
}

#stage3 .cirle.right {
  right: 450px;
}

#stage3 .cirle.left {
  left: 450px;
}

@media screen and (max-width: 980px) {
  #stage3 .cirle.right {
    right: 0;
    left: -50%;
  }

  #stage3 .cirle.left {
    left: 0;
    right: -50%;
  }
}

#stage3 .profile {
  position: absolute;
  top: 200px;
  right: 0;
  /*bottom: 0;*/
  left: 0;
  margin: auto;
  width: 900px;
}

#stage3 .profile .miyamura {
  width: 480px;
}

#stage3 .profile .profileInr {
  overflow-x: hidden;
  /*height: 500px;*/
  text-align: center;
}

#stage3 .profile .profileInrHuman {
  display: flex;
  margin: 0 0 80px 0;
}

#stage3 .profile .profileInr.ipad {
  will-change:transform;
  transform: translate3d(0,0,0);
  transition: transform 2s;
  -webkit-overflow-scrolling: touch;
  -webkit-transform: translateZ(0px);
  -webkit-transition: -webkit-transform 2s;
}

#stage3 .profile .profileInr .human {
  text-align: center;
  padding: 0 0 15px 0;
}

#stage3 .profile .profileInr .human .photo {
  width: 190px;
  padding: 0 0 15px 0;
  margin: 0 auto;
}

#stage3 .profile .profileInr .human {
  font-size: 20px;
  letter-spacing: 7px;
  animation-duration: 3s;
  transition-duration: 3s;
  opacity: 0;
}

#stage3 .profile .profileInr .human.play {
  opacity: 1;
}

#stage3 .profile .profileInr .human .en {
  font-size: 11px;
  letter-spacing: 0.1em;
}

#stage3 .profile .profileInr .past {
  opacity: 0;
  animation-duration: 3s;
  transition-duration: 3s;
}

#stage3 .profile .profileInr .past.play {
  opacity: 1;
}

#stage3 .profile .profileInr .career {
  display: flex;
  padding: 0 0 30px 0;
}

#stage3 .profile .profileInr .career .title {
  width: 19px;
  text-align: center;
  padding: 0 30px 0 0;
}

#stage3 .profile .profileInr .career .inr {
  font-size: 14px;
  text-align: left;
}

#stage4 {
  background: #D3DBDB;
  height: 100vh;
  position: relative;
  overflow: hidden;
}

#stage4 .inner {
  width: 1000px;
  /*margin: 80px auto;*/
  position: absolute;
  margin: auto;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  height: 760px;
}

#stage4 .inner.ipad {
  will-change:transform;
  transform: translate3d(0,0,0);
  transition: transform 2s;
  -webkit-overflow-scrolling: touch;
  -webkit-transform: translateZ(0px);
  -webkit-transition: -webkit-transform 2s;
}

@media screen and (min-width: 700px) and (max-height: 800px) {
   /* 横幅1000px以上で、高さ780px以下の場合 */
   #stage4 .inner {
   	 top: 200px;
   }
}

@media screen and (min-width: 500px) and (max-height: 700px) {
   /* 横幅1000px以上で、高さ780px以下の場合 */
   #stage4 .inner {
   	 top: 300px;
   }
}

#stage4 .inner .mapInner {
  display: flex;
  justify-content: space-between;
  padding: 0 0 60px 0;
}

#stage4 .inner .mapLogo {
  width: 230px;
  padding: 0 0 35px 0;
}

#stage4 .inner .mapImg {
  width: 640px;
}

#stage4 .inner ul.map {
  font-size: 14px;
}

#stage4 .inner ul.map li {
  padding: 0 0 30px 0;
  line-height: 2;
}

#stage4 .inner ul.map li img {
  vertical-align: text-bottom;
}

.btn{
  position: relative;
  overflow: hidden;
  text-decoration: none;
  display: inline-block;
  border: 1px solid #4D4D4D;
  padding: 7px 30px 10px;
  text-align: center;
  outline: none; 
  transition: ease .2s;
  border-radius: 30px;
  font-size: 14px;
}

#stage3 .btn.sp, #stage4 .btn.sp {
  display: none;
}

.btn span {
  position: relative;
  z-index: 3;
  color:#333;
}

.btn:hover span{
  color:#D3DBDB;
}

#stage3 .btn:hover span{
  color:#FFF;
}

.bgbottom:before {
  content: '';
  position: absolute;
  bottom:0;
  left: 0;
  z-index: 2;
  background:  #4D4D4D;
  width: 100%;
  height: 0;
  transition:.3s cubic-bezier(0.8, 0, 0.2, 1) 0s;
}


.bgbottom:hover:before{
   height: 100%;  
   background-color: #4D4D4D;
   border: 1px solid #4D4D4D;
}

.lawsuitBtn{
  position: relative;
  overflow: hidden;
  text-decoration: none;
  display: inline-block;
  border: 1px solid #4D4D4D;
  padding: 5px 20px 7px;
  text-align: center;
  outline: none; 
  transition: ease .2s;
  border-radius: 30px;
  font-size: 13px;
}

.lawsuitBtn span {
  position: relative;
  z-index: 3;
  color:#FFF;
}

.lawsuitBtn:hover span{
  color:#4D4D4D;
}

.lawsuitBtn:before {
  content: '';
  position: absolute;
  bottom:0;
  left: 0;
  z-index: 2;
  background:  #4D4D4D;
  width: 100%;
  height: 100%;
  transition:.3s cubic-bezier(0.8, 0, 0.2, 1) 0s;
}


.lawsuitBtn:hover:before{
   height: 0; 
   background-color: #4D4D4D;
}


.att{    
  text-align: left;
  font-size: 13px;
}

.att a{ 
border-bottom: 1px solid;
}

.otherLawyer {
  position: absolute;
  bottom: 50px;
  right: 50px;
  border-radius: 50%;
  border: 1px solid #4D4D4D;
  width: 100px;
  height: 70px;
  text-align: center;
  padding: 30px 0 0 0;
  line-height: 1.5;
  font-size: 14px;
  transition-duration: 1s;
  animation-duration: 1s;
  opacity: 0;
}

.otherLawyer.play {
  opacity: 1;
}

.otherLawyer span {
  position: relative;
  z-index: 3;
  color:#4D4D4D;
}

.otherLawyer:hover {
  background-color: #4D4D4D;
}

.otherLawyer:hover span{
  color:#D3DBDB;
}

/* .otherLawyer:before {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  border-radius: 50%;
  z-index: 2;
  background:  #4D4D4D;
  width: 100%;
  height: 0;
  transition:.3s cubic-bezier(0.8, 0, 0.2, 1) 0s;
}

.otherLawyer:hover:before{
   height: 100%;  
   background-color: #4D4D4D;
   border: 1px solid #4D4D4D;
} */

#stage4 ul.route {
  display: flex;
  justify-content: space-between;
}

#stage4 ul.route li.mapPhoto {
  width: 300px;
  font-size: 14px;
}

#stage4 ul.route li.mapPhoto p {
  padding: 0 0 10px 0;
}

#stage4 ul.route li.arrow {
  padding: 90px 15px 0;
}

#stage5 {
  background: #D4E2EF;
  height: 100vh;
  position: relative;
}

#stage5 h1 {
  width: 230px;
  height: 43px;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  position: absolute;
  z-index: 10;
}

#stage5 .circle {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color:#FFF;
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 7;
}

#stage5 .border {
    position: absolute;
    width: 80%;
    left: 0;
    bottom: 0;
    right: 0;
    margin: auto;
    top: 0;
    height: 30px;
    rotate: -25deg;
}

#stage5.stageBase .border.second_play:before {
  right: 0px;
  left: auto;
  animation: minus_border_anim 1s cubic-bezier(0, 0.55, 0.45, 1) forwards;
}

#stage5 .border.second_play .circle {
  left: auto;
  right: 0;
}

#stage5 .border .flower {
  opacity: 0;
  transform: scale(0);
  position: absolute;
  bottom: -20px;
  right: -20px;
  z-index: 5;
  transition:.3s cubic-bezier(0.8, 0, 0.2, 1) 2s;
}

#stage5 .border.second_play .flower.open {
  opacity: 1;
  transform: scale(1.1);
}

#stage5 .border:before{
	content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    margin: auto;
    top: 0;
    border-radius: 30px;
    height: 30px;
    background: #FFF;
}

#stage5 .border.first_play:before{
  animation: plus_border_anim 1s cubic-bezier(0, 0.55, 0.45, 1) forwards;
}

#stage5 .footer {
  position: absolute;
  bottom: 15px;
  font-size: 11px;
  margin: auto;
  right: 50px;
  /*left: 0;*/
  text-align: right;
}

#stage5 .footer li a {
  position: relative;
  display:inline-block;
}

#stage5 .footer li a span{
  position:relative;
  z-index: 2;
}

#stage5 .footer li a:hover span {
  color: #4D4D4D;
}

#stage5 .footer li a:after{
  /*padding: 0 0.3em;*/
  content: '';
  position: absolute;
  bottom: 0;
  background-image: linear-gradient(rgba(0, 0, 0, 0) 50%, rgba(255,255,255,1) 50%);
  background-position: 0 10%;
  background-size: auto 200%;
  transition: .3s;
  height: 100%;
  width: 98%;
  z-index:1;
  bottom:0;
  left:0;
}

#stage5 .footer li a:hover:after {
  background-position: 0 100%;
}

@keyframes plus_border_anim {
	0%{
		width: 5%;
	}
	100%{
		width: 100%;
	}
}

@keyframes minus_border_anim {
  0%{
    width: 100%;
  }
  100%{
    width: 30px;
  }
}


#stage5 .reload {
  position: fixed;
  height: 50px;
  bottom: 0;
  left: 50px;
  z-index: 1;
  transition-duration: 3s;
  animation-duration: 1s;
  opacity: 0;
}

#stage5 .reload.play {
  opacity: 1;
}

/*Scrollテキストの描写*/
#stage5 .reload span{
    /*描画位置*/
  position: absolute;
  left: -23px;
  top: 5px;
    /*テキストの形状*/
  color: #000;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
}

/* 線の描写 */
#stage5 .reload::before{
  content: "";
    /*描画位置*/
  position: absolute;
  top: 0;
    /*線の形状*/
  width: 1px;
  height: 30px;
  background: #000;
    /*線の動き1.4秒かけて動く。永遠にループ*/
  animation: reloadpathmove 1.4s ease-in-out infinite;
  opacity:0;
}

/*高さ・位置・透過が変化して線が上から下に動く*/
@keyframes reloadpathmove{
  0%{
    height:0;
    top:-50px;
    opacity: 0;
  }
  30%{
    height:30px;
    opacity: 1;
  }
  100%{
    height:0;
    top:0px;
    opacity: 0;
  }
}

@media screen and (min-width: 769px) and (max-width: 1050px) {
  #stage5 .footer {
  	top: 180px;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    height: 40px;
  	/*display: flex;
    right: 0;*/
    margin: auto;
    text-align: center;
    width: 90%;
    /*justify-content: space-between;*/
  }
}

@media screen and (min-width: 769px) and (max-width: 1000px) {
   #stage3 .profile {
   	 width: 100%;
   }
   #stage3 .profile .profileInrHuman {
   	justify-content: space-between;
   }
   #stage3 .profile .miyamura {
   	 width: 48%;
   	 padding: 0 0 0 2%;
   }
   #stage3 .profile .igeta {
   	 width: 48%;
   	 padding: 0 2% 0 0;
   }
   #stage4 .inner {
   	 width: 95%;
   }
   #stage4 .inner .mapImg {
   	 width: 400px;
   }

   #stage3 .btn.sp {
    display: inline-block;
  }
  .otherLawyer {
   display: none;
  }
}

@media screen and (max-width: 768px) {
  .pc {
  	display: none;
  }
  .sp {
  	display: block;
  }
  .scrolldown{
  	display: none;
  }
  .spScrolldown {
    position: absolute;
    height: 50px;
    bottom: 0;
    margin: auto;
    left: 0;
    right: 0;
    z-index: 1;
    width: 1px;
    transition-duration: 3s;
    animation-duration: 1s;
    opacity: 0;
  }
  .spScrolldown.play {
    opacity: 1;
  }

  /*Scrollテキストの描写*/
  .spScrolldown span{
      /*描画位置*/
    position: absolute;
    left: -23px;
    top: -20px;
      /*テキストの形状*/
    color: #000;
    font-size: 0.7rem;
    letter-spacing: 0.05em;
  }

	/* 線の描写 */
	.spScrolldown::after{
	  content: "";
	    /*描画位置*/
	  position: absolute;
	  top: 0;
	    /*線の形状*/
	  width: 1px;
	  height: 30px;
	  background: #000;
	    /*線の動き1.4秒かけて動く。永遠にループ*/
	  animation: pathmove 1.4s ease-in-out infinite;
	  opacity:0;
	}
 
  #stage1 .badge {
  	right: 60px;
    top: 80px;
  }

  #stage2 {
  	text-align: left;
  }

  #stage2 .content {
  	height: auto;
    width: 90%;
    padding: 30px 0 0 0;
    -webkit-transform: translate3d(0,5%,0);
　　 transform: translate3d(0,5%,0);
  }
  #stage2 .content p {
  	position: relative;
  	z-index: 1;
  }
  #stage2 .pile {
  	right: 10%;
  }
  #stage2 .content p {
  	line-height: 2.5;
  }
  #stage3 .cirle {
    width: 500px;
    height: 500px;
    top: 0px;
    left: auto;
    right: auto;
  }
  #stage3 .cirle.right {
    right: -200px;
    left: 0;
  }
  #stage3 .cirle.left {
    left: -200px;
    right: 0;
  }
  #stage3 .profile {
  	width: 90%;
  }
  #stage3 .profile .profileInr {
  	overflow-x: initial;
    perspective: 1000;
    will-change:transform;
    transform: translate3d(0,0,0);
    transition: transform 2s;
    -webkit-overflow-scrolling: touch;
    -webkit-transform: translateZ(0px);
    -webkit-transition: -webkit-transform 2s;
  }
  #stage3 .profile .profileInrHuman {
    justify-content: space-between;
  }
  #stage3 .profile .profileInr .career {
  	display: inline-block;
  }
  #stage3 .profile .profileInr .career .title {
  	width: 100%;
    text-align: left;
    /*font-weight: bold;*/
    font-size: 16px;
    padding: 0 0 15px 0;
  }
  /* #stage3 .profile .profileInr .career .inr.history {
    height: 280px;
  } */
  #stage3 .profile .profileInr .career .inr.job {
    height: 255px;
  }
  #stage3 .profile .profileInr .career .title img {
  	width: 16px;
  	vertical-align: sub;
  }
  #stage3 .profile .miyamura {
  	width: 48%;
  }
  #stage3 .profile .igeta {
  	width: 48%;
  }
  #stage3 .profile .profileInr .human .photo {
  	width: 100%;
  }
  #stage4 .inner {
  	width: 100%;
  	position: static;
  	height: auto;
  	margin: 80px auto;
  	perspective: 1000;
  	will-change:transform;
  	transform: translate3d(0,0,0);
    transition: transform 2s;
    -webkit-overflow-scrolling: touch;
    -webkit-transform: translateZ(0px);
    -webkit-transition: -webkit-transform 2s;
  }
  #stage4 .inner .mapInner {
  	display: block;
  	margin: 60px auto 30px;
  	padding: 0;
  }
  #stage4 .inner .mapInner .address {
  	width: 90%;
    margin: 0 auto;
  }
  #stage4 .btn {
  	margin: 0 0 30px 0;
  }
  #stage4 .btn .tel02 {
    opacity: 0;
    display: none;
    vertical-align: sub;
    padding: 0 10px 0 0;
  }
  #stage4 .btn .tel01 {
    opacity: 1;
    display: inline-block;
    vertical-align: sub;
    padding: 0 10px 0 0;
  }
  #stage4 .btn:hover .tel02 {
    opacity: 1;
    display: inline-block;
  }
  #stage4 .btn:hover .tel01 {
    opacity: 0;
    display: none;
  }
  #stage4 .btn.sp {
    display: inline-block;
    padding: 10px 20px;
  }
  #stage3 .btn.sp {
    display: inline-block;
  }
  #stage4 .btn.sp span {
    display: inline-block;
  }
  /*#stage4 .btn.sp:hover {
    border-width: 1px 0px 1px 1px;
  }*/
  #stage4 .inner .mapImg {
    width: 100%;
  }
  #stage4 ul.route {
  	display: block;
    margin: 0 auto;
    width: 80%;
  }
  #stage4 ul.route li.mapPhoto {
  	width: 100%;
  }
  #stage4 ul.route li.arrow {
  	text-align: center;
    padding: 0 0 30px;
    transform: rotate(90deg);
    margin: 0 0 0 -20px;
  }
  #stage5 .border {
  	/*rotate: -70deg;
    width: 180%;
    left: -40%;*/
    rotate: -60deg;
    width: 150%;
    left: -30%;
  }
  #stage5 .footer {
  	top: 180px;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    height: 40px;
  	/*display: flex;
    right: 0;*/
    margin: auto;
    text-align: center;
    width: 90%;
    /*justify-content: space-between;*/
  }
  #stage5.stageBase .border.second_play:before {
  	right: 5px;
  	animation: minus_border_anim_sp 1s cubic-bezier(0, 0.55, 0.45, 1) forwards;
  }
  #stage5 .reload {
  	margin: auto;
    left: 0;
    right: 0;
    width: 50px;
    transform: translateX(25px);
    bottom: 30px;
  }
  #stage5 .spScrolldown {
  	bottom: 0px;
  }

  .att{    
  text-align: left;
  font-size: 13px;
}

.att a{ 
border-bottom: 1px solid;
}
}

@keyframes minus_border_anim_sp {
  0%{
    width: 100%;
  }
  100%{
    width: 2.5%;
  }
}

@media screen and (max-width: 700px) {
  #stage2 .content p {
  	line-height: 1.8;
  }
}

