@charset "utf-8";
/*モーダルを開くボタン*/
.modal-open{
  position: fixed;
  display: flex;
  align-items: center;
/*  justify-content: center;*/
  top: 50%;
  left: 50%;
  width: 300px;
  height: 50px;
  font-weight: bold;
  color: #fff;
  background: #000;
  margin: auto;
  cursor: pointer;
  transform: translate(-50%,-50%);
}
/*モーダル本体の指定 + モーダル外側の背景の指定*/
.modal-container{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  text-align: center;
  background: rgba(0,0,0,74%);
  padding: 40px 20px;
  overflow: auto;
  opacity: 0;
  visibility: hidden;
  transition: .3s;
  box-sizing: border-box;
  z-index: 100;
}
/*モーダル本体の擬似要素の指定*/
.modal-container:before{
  content: "";
  display: inline-block;
  vertical-align: middle;
  height: 100%;
}
/*モーダル本体に「active」クラス付与した時のスタイル*/
.modal-container.active{
  opacity: 1;
  visibility: visible;
}
/*モーダル枠の指定*/
.modal-body{
  position: relative;
  display: inline-block;
  vertical-align: middle;
  max-width:1000px;
  width: 90%;
}
/*モーダルを閉じるボタンの指定*/
.modal-close{
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  top: -20px;
  right: -20px;
  width: 40px;
  height: 40px;
  font-size: 40px;
  color: #fff;
  cursor: pointer;
}
/*モーダル内のコンテンツの指定*/
.modal-content{

}

.modal-content .pc{
  display: block;
}
.modal-content .sp{
  display: none;
}

.border-button.bb-type1 .modal-open:hover i b {
    left: 0;
}
.border-button.bb-type1 .modal-open:hover i b>svg {
    stroke: rgba(255,255,255,1);
}
.border-button.bb-type1 .modal-open:hover{
  background-color: var(--color-01);
}
.border-button.bb-type1 .modal-open:hover span,
.others .bnrBoxArea .bnrBox.border-button .modal-open:hover span.bnrBox-ttl{
color: rgba(255, 255, 255, 1);
}


/*````````````````````````````````````````*/
@media only screen and (max-width: 768px) {
/*````````````````````````````````````````*/

.modal-content .pc{
  display: none;
}
.modal-content .sp{
  display: block;
}

/*モーダルを閉じるボタンの指定*/
.modal-close{
  top: -4.26666666666667vw;
  right: -4.26666666666667vw;
  width: 8.53333333333333vw;
  height: 8.53333333333333vw;
}  
.modal-body{
  position: relative;
  display: inline-block;
  vertical-align: middle;
  max-width:100%;
  width:100%;
}
  .modal-container:before{
    height: 40%;
  }
  
  
}
  