/* Magnific Popup CSS */
.mfp-bg {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1042;
  overflow: hidden;
  position: fixed;
  background: #0b0b0b;
  opacity: 0.8; }

.mfp-wrap {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1043;
  position: fixed;
  outline: none !important;
  -webkit-backface-visibility: hidden; }

.mfp-container {
  text-align: center;
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  padding: 0 8px;
  box-sizing: border-box; }

.mfp-container:before {
  content: '';
  display: inline-block;
  height: 100%;
  vertical-align: middle; }

.mfp-align-top .mfp-container:before {
  display: none; }

.mfp-content {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  margin: 0 auto;
  text-align: left;
  z-index: 1045; }

.mfp-inline-holder .mfp-content,
.mfp-ajax-holder .mfp-content {
  width: 100%;
  cursor: auto; }

.mfp-ajax-cur {
  cursor: progress; }

.mfp-zoom-out-cur, .mfp-zoom-out-cur .mfp-image-holder .mfp-close {
  cursor: -moz-zoom-out;
  cursor: -webkit-zoom-out;
  cursor: zoom-out; }

.mfp-zoom {
  cursor: pointer;
  cursor: -webkit-zoom-in;
  cursor: -moz-zoom-in;
  cursor: zoom-in; }

.mfp-auto-cursor .mfp-content {
  cursor: auto; }

.mfp-close,
.mfp-arrow,
.mfp-preloader,
.mfp-counter {
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none; }

.mfp-loading.mfp-figure {
  display: none; }

.mfp-hide {
  display: none !important; }

.mfp-preloader {
  color: #CCC;
  position: absolute;
  top: 50%;
  width: auto;
  text-align: center;
  margin-top: -0.8em;
  left: 8px;
  right: 8px;
  z-index: 1044; }
  .mfp-preloader a {
    color: #CCC; }
    .mfp-preloader a:hover {
      color: #FFF; }

.mfp-s-ready .mfp-preloader {
  display: none; }

.mfp-s-error .mfp-content {
  display: none; }

button.mfp-close,
button.mfp-arrow {
  overflow: visible;
  cursor: pointer;
  background: transparent;
  border: 0;
  -webkit-appearance: none;
  display: block;
  outline: none;
  padding: 0;
  z-index: 1046;
  box-shadow: none;
  touch-action: manipulation; }

button::-moz-focus-inner {
  padding: 0;
  border: 0; }

div.mfp-close {
  width: 44px;
  height: 44px;
  line-height: 44px;
  position: absolute;
  right: 0;
  top: 0;
  text-decoration: none;
  text-align: center;
  opacity: 0.65;
  padding: 0 0 18px 10px;
  color: #FFF;
  font-style: normal;
  font-size: 28px;
  font-family: Arial, Baskerville, monospace; }
  div.mfp-close:hover,
  div.mfp-close:focus {
    opacity: 1; }
  div.mfp-close:active {
    top: 1px; }

.mfp-close-btn-in div.mfp-close {
  color: #333; }

.mfp-image-holder div.mfp-close,
.mfp-iframe-holder div.mfp-close {
  color: #FFF;
  right: -6px;
  text-align: right;
  padding-right: 6px;
  width: 100%; }

.mfp-counter {
  position: absolute;
  top: 0;
  right: 0;
  color: #CCC;
  font-size: 12px;
  line-height: 18px;
  white-space: nowrap; }

.mfp-arrow {
  position: absolute;
  opacity: 0.65;
  margin: 0;
  top: 50%;
  margin-top: -55px;
  padding: 0;
  width: 90px;
  height: 110px;
  -webkit-tap-highlight-color: transparent; }
  .mfp-arrow:active {
    margin-top: -54px; }
  .mfp-arrow:hover,
  .mfp-arrow:focus {
    opacity: 1; }
  .mfp-arrow:before,
  .mfp-arrow:after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    position: absolute;
    left: 0;
    top: 0;
    margin-top: 35px;
    margin-left: 35px;
    border: medium inset transparent; }
  .mfp-arrow:after {
    border-top-width: 13px;
    border-bottom-width: 13px;
    top: 8px; }
  .mfp-arrow:before {
    border-top-width: 21px;
    border-bottom-width: 21px;
    opacity: 0.7; }

.mfp-arrow-left {
  left: 0; }
  .mfp-arrow-left:after {
    border-right: 17px solid #FFF;
    margin-left: 31px; }
  .mfp-arrow-left:before {
    margin-left: 25px;
    border-right: 27px solid #3F3F3F; }

.mfp-arrow-right {
  right: 0; }
  .mfp-arrow-right:after {
    border-left: 17px solid #FFF;
    margin-left: 39px; }
  .mfp-arrow-right:before {
    border-left: 27px solid #3F3F3F; }

.mfp-iframe-holder {
  padding-top: 40px;
  padding-bottom: 40px; }
  .mfp-iframe-holder .mfp-content {
    line-height: 0;
    width: 100%;
    max-width: 900px; }
  .mfp-iframe-holder div.mfp-close {
    top: -40px; }

.mfp-iframe-scaler {
  width: 100%;
  height: 0;
  overflow: hidden;
  padding-top: 56.25%; }
  .mfp-iframe-scaler iframe {
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
    background: #000; }

/* Main image in popup */
img.mfp-img {
  width: auto;
  max-width: 100%;
  height: auto;
  display: block;
  line-height: 0;
  box-sizing: border-box;
  padding: 40px 0 40px;
  margin: 0 auto; }

/* The shadow behind the image */
.mfp-figure {
  line-height: 0; }
  .mfp-figure:after {
    content: '';
    position: absolute;
    left: 0;
    top: 40px;
    bottom: 40px;
    display: block;
    right: 0;
    width: auto;
    height: auto;
    z-index: -1;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
    background: #444; }
  .mfp-figure small {
    color: #BDBDBD;
    display: block;
    font-size: 12px;
    line-height: 14px; }
  .mfp-figure figure {
    margin: 0; }

.mfp-bottom-bar {
  margin-top: -36px;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  cursor: auto; }

.mfp-title {
  text-align: left;
  line-height: 18px;
  color: #F3F3F3;
  word-wrap: break-word;
  padding-right: 36px; }

.mfp-image-holder .mfp-content {
  max-width: 100%; }

.mfp-gallery .mfp-image-holder .mfp-figure {
  cursor: pointer; }

@media screen and (max-width: 800px) and (orientation: landscape), screen and (max-height: 300px) {
  /**
       * Remove all paddings around the image on small screen
       */
  .mfp-img-mobile .mfp-image-holder {
    padding-left: 0;
    padding-right: 0; }
  .mfp-img-mobile img.mfp-img {
    padding: 0; }
  .mfp-img-mobile .mfp-figure:after {
    top: 0;
    bottom: 0; }
  .mfp-img-mobile .mfp-figure small {
    display: inline;
    margin-left: 5px; }
  .mfp-img-mobile .mfp-bottom-bar {
    background: rgba(0, 0, 0, 0.6);
    bottom: 0;
    margin: 0;
    top: auto;
    padding: 3px 5px;
    position: fixed;
    box-sizing: border-box; }
    .mfp-img-mobile .mfp-bottom-bar:empty {
      padding: 0; }
  .mfp-img-mobile .mfp-counter {
    right: 5px;
    top: 3px; }
  .mfp-img-mobile div.mfp-close {
    top: 0;
    right: 0;
    width: 35px;
    height: 35px;
    line-height: 35px;
    background: rgba(0, 0, 0, 0.6);
    position: fixed;
    text-align: center;
    padding: 0; } }

@media all and (max-width: 900px) {
  .mfp-arrow {
    -webkit-transform: scale(0.75);
    transform: scale(0.75); }
  .mfp-arrow-left {
    -webkit-transform-origin: 0;
    transform-origin: 0; }
  .mfp-arrow-right {
    -webkit-transform-origin: 100%;
    transform-origin: 100%; }
  .mfp-container {
    padding-left: 6px;
    padding-right: 6px; }
}


.mfp-hide {
    display: none !important;
}

.white-popup {
    position: relative;
    background: #fff;
    padding: 0;
    width: 100%;
    max-width: 400px !important;
    margin: 20px auto;
    border-radius: 10px;
}
#popup2.white-popup { width: 90%; }
  #cpBox{ z-index: 1;position: relative; }
  #popup p{
    text-align: center;
    font-size: 20px;
    line-height: 1.3 /* 26px */;
    padding: 30px 0 15px;
    /* border-bottom: 1px solid #ccc; */
  }

  #popup ul{
    display:block; width: 100%;
    overflow: hidden;
    border-radius: 0 0 11px 11px;
  }

  #popup ul li{
    display: block;
    width: auto;
    height: auto;
    vertical-align: middle;
    text-align: center;
  }

  #popup ul li:nth-child(2){
    text-decoration: none;
    -webkit-tap-highlight-color: #ccc;
  }

  #popup ul li a{
    text-decoration: none;
    -webkit-tap-highlight-color: #ccc;
    padding: 18px 0 18px;
    font-size: 123.3%;
    display: block;
    color: #0f6fe9;
    line-height: 1.5;
  }

#popup a.btn {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.5;
  position: relative;
  display: inline-block;
  padding: 1rem 4rem;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  text-align: center;
  vertical-align: middle;
  text-decoration: none;
  letter-spacing: 0.1em;
  color: #212529;
  border-radius: 0.5rem;
  width: 220px;
}

#popup .btn-wrap{
  margin: 30px 0;
}

#popup .btn-wrap02{
  margin: 0 0 30px;
}

#popup a.btn-c{
  font-size: 18px;
  position: relative;
  padding: 0.5rem 2rem 0.3rem 2rem;
  color: #fff;
  background: #32b16c;
  -webkit-box-shadow: 0 2px 0 #2c9d60;
  box-shadow: 0 2px 0 #2c9d60;
}

#popup a.btn-b{
  font-size: 16px;
  position: relative;
  padding: 0.5rem 2rem 0.3rem 2rem;
  color: #212529;
  text-decoration: underline;  
}

#popup a.btn-c span{
  font-size: 14px;
  position: absolute;
  top: -1.25rem;
  left: calc(50% - 125px);
  display: block;
  width: 250px;
  padding: 0.2rem 0;
  color: #32b16c;
  border: 2px solid #32b16c;
  border-radius: 100vh;
  background: #fff;
  -webkit-box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
  box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
}

#popup a.btn-c span:before,
#popup a.btn-c span:after {
  position: absolute;
  left: calc(50% - 10px);
  content: "";
}

#popup a.btn-c span:before{
  bottom: -10px;
  border-width: 10px 10px 0 10px;
  border-style: solid;
  border-color: #32b16c transparent transparent transparent;
}

#popup a.btn-c span:after{
  bottom: -7px;
  border-width: 10px 10px 0 10px;
  border-style: solid;
  border-color: #fff transparent transparent transparent;
}

#popup a.btn-c i{
  margin-right: 1rem;
}

#popup a.btn-c:hover{
  -webkit-transform: translate(0, 3px);
  transform: translate(0, 3px);
  color: #fff;
  background: #30a967;
  -webkit-box-shadow: 0 2px 0 #2c9d60;
  box-shadow: 0 2px 0 #2c9d60;
}

#popup a.btn-b:hover{
  text-decoration: none;
}

#popup ul li:nth-child(2) a:hover{
  background-color: #ccc;
  border-radius: 0;
}

  #popup div.mfp-close{
    border: 2px solid #fff;
    padding: 0;
    border-radius: 50px;
    top: -60px;
    right: -24px;
    background: #4e4e4e;
    opacity: 1;
    cursor: pointer;
  }

.css-cancel {
    display: inline-block;
    margin: 0 20px 0 7px;
    padding: 0;
    width: 2px;
    height: 30px;
    background: #fff;
    transform: rotate(45deg);
    position: absolute;
    top: 7px;
    right: 2px;
    z-index: 1000;
}

.css-cancel:before {
    display: block;
    content: "";
    position: absolute;
    top: 50%;
    left: -13px;
    width: 30px;
    height: 2px;
    margin-top: -2px;
    background: #fff;
}

.close-btn {
    position: absolute;
    right: 0;
    top: -50px;
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    cursor: pointer;
}

.TxtRed{color: #f00}

#popup ul li.mfp-close {
    text-decoration: none;
    -webkit-tap-highlight-color: #ccc;
    padding: 18px 0 18px;
    font-size: 123.3%;
    display: block;
    color: #0f6fe9;
    line-height: 1.5;
    border: none;
    border-radius: 0;
    top: inherit;
    right: inherit;
    background: inherit;
}

#popup .kv {
    position: relative;
    overflow: hidden;
}

#popup .kv .kv_smaho {
    position: absolute;
    top: 0;
    left: 0;
}



/*POPUP TEL*/

#bback-popup-content div.popup_txt {
    padding: .7rem 3rem 1rem;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    margin: 0 auto 14px;
    box-sizing: border-box;
    background-color: #07c359;
    text-align: center;
    position: relative;
}
#bback-popup-content div.popup_txt:after {
    content: "";
    display: inline-block;
    vertical-align: middle;
    color: #07c359;
    line-height: 1;
    width: 0;
    height: 0;
    border-color: currentcolor transparent transparent;
    border-style: solid;
    border-width: .9em 1em;
    border-bottom: 0;
    right: 0;
    left: 0;
    margin: 0 auto;
    bottom: -11px;
    position: absolute;
}
#bback-popup-content p {
    border-bottom: inherit;
    padding: 16px 0 16px;
}
.comBtn02 a {
    padding: 16px 15px 16px 5px;
    min-width: 296px;
    color: #fff;
    font-weight: 700 !important;
    font-size: 1.6em;
    display: inline-block;
    background-color: #ec1234;
    border: 1px solid #ec1234;
    border-left: none;
    position: relative;
    box-sizing: border-box;
    text-align: center;
    letter-spacing: .1em;
    transition: none;
}  
.comBtn02 a span {
    font-size: 13px;
    display: block;
}

@media (min-width: 897px) {
    .comBtn02.sp {
        display: none;
    }
}

@media (max-width: 896px) {
  #bback-popup-content .comBtn02 {
      margin: 0 auto 15px;
      padding-left: 17px;
      max-width: 240px;
      box-sizing: border-box;
  }
  #bback-popup-content .comBtn02.sp {
      margin: 0 auto 32px;
      max-width: inherit;
      text-align: center;
      padding-left: 0;
  }
  #bback-popup-content .comBtn02 a {
      background-color: #08287f;
      border: 1px solid #08287f;
      padding: 8px 16px;
      border-radius: 100px;
      font-size: 1.5em;
      letter-spacing: 1px;
      text-decoration: none;
      line-height: 1.5;
  }
  #bback-popup-content .comBtn02 a img {
      margin: -2px 10px 0 0;
      vertical-align: middle;
      width: 19px;
  }
}