@charset "UTF-8";


#animation_container {
	position:absolute;
	margin:auto;
	left:-100%;right:-100%;
	top:-100%;bottom:-100%;
}

#im_container{
  width:100%;
  max-width:1000px;
  margin: 0 auto;
}

#im_wrap{
  width:100%; height: 100%;
}

#im_inner{
  overflow: hidden;
  position: relative;
  width:100%;
  padding-bottom: 64%;
}

#im_inview{
  width:100%;
  height: 100%;
  position: absolute; top:0; left: 0%;
}

.im_btn_cls{
  width:40px;
  height: 40px;
  border-radius: 50%;
  position: absolute;
  top:10px; right: -50px;/*10px;*/
  overflow: hidden;
  transition: 1s ease 0s right;
}
.im_btn_cls.slideIn{
  right: 10px;
}

.im_btn_cls button{
  line-height: 1;
  border:none;
  background-color: transparent;
  font-family: YuGothic, "Yu Gothic medium", "Hiragino Sans", Meiryo, "sans-serif";
  font-weight: bold;
  font-size: 20px;
  text-align: center;
  padding:10px 0;
  display: block;
  width:100%;
  color:#FFFFFF;
  cursor: pointer;
}
.im_btn_cls#im_sizeup{
  background-color: #e4566c;
}
.im_btn_cls#im_sizedown{
  background-color: #405062;
  top:55px;
}


#im_nav{
  /*display:none;*/
  width:100%;
  margin: 0 auto;
  pointer-events: none;
  opacity: 0;
  transition: 1s ease 0s opacity;
}
#im_nav.active{
  pointer-events: auto;
  opacity: 1;
}

#im_nav ul{
  font-size:0;
  width:100%;
  border-top:1px solid #064F74;
}
#im_nav li{
  display:inline-block;
  width:33.3333333334%;
  font-size:0;
  text-align: left;
  padding:15px 0;
  background-color: #006699;
  position: relative;
  border-bottom:1px solid #064F74;
  cursor: pointer;
  transition: 0.3s ease 0s background;
}
#im_nav li:hover{
  background-color: #0086C9;
}
#im_nav li::before{
  content: "";
  display: block;
  width:1px; height: 100%;
  background-color: #064F74;
  position: absolute;
  top:0; left: 0;
}

#im_nav li:nth-child(n+4){
  background-color: #6A0000;
  border-bottom:1px solid #4D0000;
}

#im_nav li:nth-child(n+4):hover{
  background-color: #A80000;
}
#im_nav li:nth-child(n+4)::before{
  background-color: #590000;
}

#im_nav li:nth-child(n+7){
  background-color: #45952E;
  border-bottom:1px solid #357622;
  width:25%;
}
#im_nav li:nth-child(n+7):hover{
  background-color: #5BBC3F;
}
#im_nav li:nth-child(n+7)::before{
  background-color: #357622;
}


#im_nav li#im_nav_btn7{
  width:100%;/*66.666666667%;*/
  background-color: #1D2431;
  /*border-bottom:none!important;*/
  text-align: center;
}
#im_nav li#im_nav_btn7::before{
  display:none;
}
#im_nav li#im_nav_btn7:hover{
  background-color: #2C3647;
}
#im_nav li#im_nav_btn7 .im_nav_btn_inner{
  display:inline-block;
  margin: 0 auto;
}


/*
#im_nav li:nth-child(n + 4){ background-color: rgba(191,70,70,1.00);}
#im_nav li:nth-child(n + 4):hover{ background-color: rgba(226,100,100,1.00);}
#im_nav li:nth-child(n + 4)::before{  background-color: rgb(180,50,50);}
*/

#im_nav li:nth-child(1)::before{display:none;}
#im_nav li:nth-child(4)::before{display:none;}


#im_nav li .im_nav_img{
  width:10px;
  height: 10px;
  display: inline-block;
  margin: 0 5px 0 5px;
  vertical-align: middle;
  background-image: url("../images_parts/nav-arrow.png");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}
#im_nav li p{
  font-size:12px;
  display: inline;
  color:#FFFFFF;
  vertical-align: middle;
  pointer-events: none;
}

#im_opentxt{display:none;}

#im_opentxt,
#im_hanrei{
  position: absolute; top:0; left: 0;
  width:100%; height: 100%;
  opacity: 0;
  transition: 0.3s ease 0s opacity;
  pointer-events: none;
}
#im_opentxt.active,
#im_hanrei.active{
  transition: 1s ease 0s opacity;
  opacity: 1;
  pointer-events: auto;
}
#im_opentxt .im_opentxt_inner,
#im_hanrei .im_hanrei_inner{
  width:100%;
  height: 100%;
  position: relative;
  background-color: rgba(0,0,0,0.5);
  cursor: pointer;
  overflow: hidden;
}

.im_opentxt_fukidashi,
.im_hanrei_fukidashi{
  position: absolute; top:50%; left: 50%;
  width:80%;
  max-width:600px;
  display: block;
  transform: translate(-50%,-50%) scale(0.5,0.5);
  transition: 0.3s ease 0s transform;
  text-align: center;
  background-color: #FFFFFF;
  border-radius: 20px;
  padding:3% 0;
}
.im_hanrei_fukidashi{
  width:40%;
  padding:3% 2%;
}

.im_opentxt_fukidashi ul,
.im_hanrei_fukidashi ul{font-size: 0;}

.im_opentxt_fukidashi li/*,
.im_hanrei_fukidashi li*/{
  display:inline-block;
  margin: 0 2%;
  width:42%;
}
.im_opentxt_fukidashi li img/*,
.im_hanrei_fukidashi li img*/{
  width:90%; max-width:242px;
  margin: 0 auto; display: block;
}
.im_opentxt_fukidashi li:nth-child(3){
  width:20%;
  max-width:100px;
  display: block;
  margin: 3% auto 0;
}

.im_hanrei_fukidashi li:nth-child(2){
  width:30%;
  max-width:100px;
  display: block;
  margin: 3% auto 0;
}


.im_hanrei_fukidashi li img{
  width:90%; max-width:350px;
  margin: 0 auto; display: block;
}
#im_opentxt.active .im_opentxt_inner .im_opentxt_fukidashi{
  transition: 1.5s ease 0s transform;
  transform: translate(-50%,-50%) scale(1,1)
}
#im_hanrei.active .im_hanrei_inner .im_hanrei_fukidashi{
  transition: 1s ease 0s transform;
  transform: translate(-50%,-50%) scale(1,1)
}

.im_hanrei_fukidashi li:nth-child(1){ width:100%; }

@media screen and (max-width:640px){
  #im_nav li{
    width:50%;
  }
  #im_nav li:nth-child(3)::before{display:none;}
  #im_nav li:nth-child(4)::before{display:block;}
  #im_nav li:nth-child(5)::before{display:none;}
  #im_nav li#im_nav_btn7{ width:100%;}
  #im_nav li:nth-child(n+7){ width:33.3333333%; }
  
}
@media screen and (max-width:480px){
  #im_inner{
    padding-bottom: 120%;
  }
  .im_btn_cls#im_sizeup{
    background-color: #e4566c;
    top:auto;
    bottom:55px;
  }
  .im_btn_cls#im_sizedown{
    top:auto;
    bottom:10px;
  }
  #im_nav{display: block;}
  #im_nav li{text-align: center;}
  #im_nav li .im_nav_img{display: none;}
  #im_nav li:nth-child(n+7){ width:50%; }
  
  .im_opentxt_fukidashi/*,
  .im_hanrei_fukidashi*/{
    width:60%;
    padding:5% 0;
  }
  .im_opentxt_fukidashi li:nth-child(1),
  .im_opentxt_fukidashi li:nth-child(2)/*,
  .im_hanrei_fukidashi li:nth-child(1),
  .im_hanrei_fukidashi li:nth-child(2)*/{
    display: block;
    width:70%;
    margin: 0 auto;
  }
  .im_opentxt_fukidashi li:nth-child(1){margin-bottom: 10%;}
  .im_opentxt_fukidashi li:nth-child(3){width:40%;}
  /*.im_hanrei_fukidashi li:nth-child(1){margin-bottom: 10%;}
  .im_hanrei_fukidashi li:nth-child(3){width:40%;}*/
  
  .im_hanrei_fukidashi{
    width:80%;
    padding:3% 2%;
  }
}

@media screen and (max-width:380px){
  #im_nav li p{
    font-size:10.5px;
  }
}

.hanrei2_box{
  width:100%;
  max-width:600px;
  margin: 10px auto 0;
}

