/*------------------------
		diving - popup
------------------------*/
.diving_modal_frame {
  width: 100%;
  height: 100vh;
}

#popup_slider_hidden {
  pointer-events: none;
}

.popup {
  /*display: none;*/
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: #fff;
  z-index: 100;
}

.popup_close {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 501;
  background-image: url("../images/popup_close_icon.svg");
  background-repeat: no-repeat;
  background-color: rgba(26,137,209,1);
  -webkit-background-size: 50px 42px;
       -o-background-size: 50px 42px;
          background-size: 50px 42px;
  background-position: center center;
  /*border-radius: 50%;*/
  width: 70px;
  height: 70px;
  opacity: 0.5;
    color: #fff;
   -webkit-transition: all 0.3s;
   transition: all 0.3s;
}

.popup_close:hover {
  opacity: 1;
  cursor: pointer;
}

.slides-navigation {
  top: 30%;
}

.slides-navigation a {
  width: 35px;
  height: 35px;
}

.slides-navigation a.next,
.slides-navigation a.prev {
  font-size: 0;
  line-height: 0;
  position: absolute;
  z-index: 9999;
  display: block;
  width: 35px;
  height: 35px;
  padding: 0;
  cursor: pointer;
  color: transparent;
  border: none;
  border-radius: 50%;
  outline: none;
  background: rgba(255,255,255,.7);
  transition: all .3s;
  -webkit-transition: all .3s;
}

.slides-navigation a.next:hover,
.slides-navigation a.prev:hover {
  background: rgba(255,255,255,.9);

}

/*.slides-navigation a.next {
  background-image: url("../images/btn_next.png");
  right: 40px;
}*/
.slides-navigation a.next
{
    right: 1vw;
}
[dir='rtl'] .slides-navigation a.next
{
    right: auto;
    left: -25px;
}
.slides-navigation a.next:before {
  content: '';
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 4px 0 4px 4px;
  border-color: transparent transparent transparent #1a8cd3;
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -4px 0 0 -2px;
}
[dir='rtl'] .slides-navigation a.next:before {
  content: '';
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 4px 0 4px 4px;
  border-color: transparent transparent transparent #1a8cd3;
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -4px 0 0 -2px;
}


/*.slides-navigation a.prev {
  background-image: url("../images/btn_prev.png");
  left: 40px;
}*/
.slides-navigation a.prev
{
    right: 1vw;
}
[dir='rtl'] .slides-navigation a.prev
{
  right: 20px;
  left: auto;
}
.slides-navigation a.prev:before {
  content: '';
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 4px 4px 4px 0;
  border-color: transparent #1a8cd3 transparent transparent;
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -4px 0 0 -2px;
}
[dir='rtl'] .slides-navigation a.prev:before {
  content: '';
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 4px 4px 4px 0;
  border-color: transparent #1a8cd3 transparent transparent;
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -4px 0 0 -2px;
}


.slides-pagination {
  max-width: 1200px;
  left: 0;
  right: 0;
  bottom: 300px;
  z-index: 501;
  text-align: left;
  padding: 0 40px;
  margin: auto;
}

.slides-pagination a.current {
  background-color: #fff;
  opacity: 1;
}

.slides-pagination a {
  text-indent: -9999px;
  border: 0px;
  background-color: #fff;
  opacity: 0.7;
  margin-right: 8px;
}

.popup_contents {
  position: absolute;
  bottom: 0;
  z-index: 500;
  width: 100%;
  height: 330px;
  color: #fff;
}

.popup_contents::before {
  width: 100%;
  height: 100%;
  content: '';
  background: #1a89d1;
  /* Old browsers */ /* FF3.6-15 */ /* Chrome10-25,Safari5.1-6 */
  /*background: linear-gradient(135deg, #5cc8d9 0%,#4785c5 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */*/
  /*filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#5cc8d9', endColorstr='#4785c5',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
  display: block;
  clear: both;
  position: absolute;
  left: 0;
  bottom: 0;
  opacity: 0.3;
}

.contents_inner {
  position: relative;
  max-width: 1200px;
  height: 100%;
  margin: 0 auto;
  padding: 70px 40px 0 40px;
  overflow: hidden;
}

.contents_leftbox {
  max-width: 430px;
  float: left;
  margin-bottom: 20px;
}

.leftbox_title {
  font-family: 'GildaDisplay-Regular', serif;
  font-size: 30px;
  margin-bottom: 20px;
}

.leftbox_point {
  font-family: 'SawarabiMincho-Regular', serif;
  font-size: 20px;
}

.contents_rightbox {
  max-width: 650px;
  float: right;
  margin-bottom: 20px;
}

.rightbox_text {
  font-family: 'NotoSansJP-Medium', sans-serif;
  font-size: 14px;
  line-height: 24px;
}

.contents_rightbox .link {
    display: block;
    margin-top: 30px;
    border: 1px solid #231916;
    color: #231916;
    padding: 15px 0;
    text-align: center;
    font-family: 'NotoSansJP-Bold', sans-serif;
    font-size: 14px;
}
.contents_rightbox .link {
    color: #fff;
    border: 1px solid #fff;
}

.iconlist {
  position: absolute;
  bottom: 2vw;
  width: 100%;
  list-style: none;
  overflow: hidden;
}

.iconlist_item {
  float: left;
  margin-right: 5px;
}

.iconlist_item img {
  width: 80px;
  height: 80px;
}

@media screen and (min-width:800px) and (max-width:1200px) {
  .slides-navigation a.next {
    right: 3.3vw;
  }

  .slides-navigation a.prev {
    left: 3.3vw;
  }

  .slides-pagination {
    padding: 0 3.3vw;
  }

  .contents_inner {
    padding: 5.8vw 3.3vw 0 3.3vw;
  }

  .contents_leftbox {
    max-width: 35vw;
    margin-bottom: 1.6vw;
  }

  .leftbox_title {
    font-size: 2.5vw;
    margin-bottom: 1.6vw;
  }

  .leftbox_point {
    font-size: 1.6vw;
  }

  .contents_rightbox {
    max-width: 54vw;
    margin-bottom: 1.6vw;
  }

  .rightbox_text {
    font-size: 1.1vw;
    line-height: 2vw;
  }

  .iconlist_item img {
    width: 7vw;
    height: 7vw;
  }
}

@media screen and (max-width:799px) {
  .popup {
    min-height: 100%;
  }
  .popup_close {
    right: 1.5vw;
  }

  .slides-navigation {
    display: none;
  }

  .slides-pagination {
    max-width: 100%;
    text-align: center;
  }

  .popup_contents {
    height: auto;
    min-height: 50%;
    top: 0;
    bottom: auto;
  }

  .contents_inner {
    max-width: 100%;
    height: 100%;
    padding: 40px 20px 20px 20px;
  }

  .contents_leftbox {
    width: 100%;
    max-width: 100%;
    float: left;
    margin-bottom: 20px;
  }

  .leftbox_title {
    font-size: 18px;
    margin-bottom: 10px;
  }

  .leftbox_point {
    font-size: 16px;
  }

  .contents_rightbox {
    width: 100%;
    max-width: 100%;
    float: right;
    margin-bottom: 20px;
  }

  .rightbox_text {
    font-size: 12px;
    line-height: 20px;
  }

  .iconlist {
    position: relative;;
    bottom: auto;
    width: 100%;
    list-style: none;
    overflow: hidden;
  }

  .iconlist_item {
    float: left;
    margin-right: 5px;
  }

  .iconlist_item img {
    width: 50px;
    height: 50px;
  }
}
