@charset "UTF-8";


#reimwool_wrapper{
  margin: auto;
  overflow: hidden;
}



@media screen and (max-width:960px) {
  #reimwool_wrapper{
    width: 360px;
  }
  .reimwool_block{
    max-width: 340px;
  }
}

@media screen and (min-width:960px) {
  #reimwool_wrapper{
    width: 960px;
  }
  .reimwool_block{
    max-width:460px;
  }

}

.reimwool_block{
  position: relative;
  display: block;
  margin: auto;
  left:0;
  right: 0;
  height: auto;
  box-sizing: border-box;
  border:solid 1px gray;
  padding: 10px 30px;
  border-radius: 10px;
}



img{
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
}

.logo_style{
  box-sizing: border-box;
  padding: 25px;
}




h1{
  font-size: 150%;
}

h2{
  font-size: 130%;
}




/*bg circle*/

@media screen and (max-width:960px) {
  #bgrwapper1,#bgrwapper2{
    width: 360px;
  }
}

@media screen and (min-width:960px) {
  #bgrwapper1,#bgrwapper2{
    width: 960px;
  }
}

#bgrwapper1{
  position: fixed;
  margin: auto;
  height: 200px;
  font-size: 0;
  top:0;
  left:0;
  right: 0;
  z-index: -1;
}

#bgrwapper2{
  position: fixed;
  margin: auto;
  height: 200px;
  font-size: 0;
  left:0;
  right: 0;
  bottom: 0;
  z-index: -1;
}
#bgrwapper1,#bgrwapper2{
  text-align: center;
  filter:blur(5px);
}


@media screen and (max-width:960px) {
  .circle{
    position: relative;
    display:inline-block;
    border-radius: 50%;
    margin: 5px 5px;
    width:50px;
    height:50px;
    overflow: hidden;
  }
}

@media screen and (min-width:960px) {
  .circle{
    position: relative;
    display:inline-block;
    border-radius: 50%;
    margin: 5px 13.2px;
    width:80px;
    height:80px;
    overflow: hidden;
  }
}



/*img_modal*/

#img_modal,#img_modal_bg{
  width: 100vw;
  height: 100vh;
  font-size: 0;
  overflow: hidden;
  z-index: -1;
}
#img_modal{
  opacity: 0;
  transition-duration: 1s;
}
#img_modal_bg{

  opacity: 0;
  background-color: black;
  transition-duration: 1s;
}
#close_area{
  position: relative;
  width: 100%;
  height: 70px;
  display: block;
  z-index: 12;
}
#target_img_area{
  position: relative;
  display: block;
  box-sizing: border-box;
  padding-top: 10px;
  padding-bottom: 10px;
  width: 100%;
  height:calc(80% - 70px);
}
#target_text{
  position: relative;
  display: block;
  box-sizing: border-box;
  width: 100%;
  height:20%;
  padding: 20px 20px;
  text-align: center;
  font-size: 14px;
  color: white;
}
#target_img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
#loader{
  display: none;
  width: 50px;
  height: 50px;
  background-image: url(../icon/load.gif);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  z-index: 11;
}
#pre_button,#next_button{
  position: absolute;
  width: 50px;
  height: 100%;
  z-index: 11;
  top:0;
  bottom: 0;
  margin: auto;

}

#pre_button{
  left: 0px;
}
#pre_button::before{
  content: "";
  width: 30px;
  height: 5px;
  box-sizing: border-box;
  border-radius: 20px;
  background-color:#dddddd;
  position: absolute;
  top:50%;
  left: 5px;
  margin: auto;
  transform-origin: left;
  transform: rotateZ(45deg);
}
#pre_button::after{
  content: "";
  width: 30px;
  height: 5px;
  box-sizing: border-box;
  border-radius: 20px;
  background-color:#dddddd;
  position: absolute;
  top:calc(50% + 2px);
  left: 5px;
  margin: auto;
  transform-origin: left;
  transform: rotateZ(-45deg);
}
#next_button{
  right: 0px;
}
#next_button::before{
  content: "";
  width: 30px;
  height: 5px;
  box-sizing: border-box;
  border-radius: 20px;
  background-color:#dddddd;
  position: absolute;
  top:calc(50% + 2px);
  left: 5px;
  margin: auto;
  transform-origin: right;
  transform: rotateZ(45deg);
}
#next_button::after{
  content: "";
  width: 30px;
  height: 5px;
  box-sizing: border-box;
  border-radius: 20px;
  background-color: #dddddd;
  position: absolute;
  top:50%;
  left: 5px;
  margin: auto;
  transform-origin: right;
  transform: rotateZ(-45deg);
}
#next_button:hover,#pre_button:hover{
  cursor: pointer;
}
.img_trg_anc:hover{
  cursor: pointer;
}
#close_button{
  position: absolute;
  width: 100px;
  height: 30px;
  margin: auto;
  bottom: 0;
  border: solid 1px white;
  color: white;
  line-height: 30px;
  letter-spacing: 4px;
  right: 5%;
  font-size: 12px;
  text-align: center;
  transition-duration: 0.5s;
  z-index: 12;
}
#close_button:hover{
  color: black;
  background-color:white;
  cursor: pointer;
    z-index: 12;
}
#close_button::before{
  content: "";
  color: white;
  width: 0%;
  height: 1px;
  position: absolute;
  top:35px;
  left:0;
  transition-duration: 0.3s;
  background-color: white;
  z-index: -1;
}
#close_button:hover::before{
  width: 100%;
}