/* ==========================================================================
   Remodal's necessary styles
   ========================================================================== */

/* Hide scroll bar */

html.remodal-is-locked {
  overflow: hidden;

  touch-action: none;
}

/* Anti FOUC */

.remodal,
[data-remodal-id] {
  display: none;
}

/* Necessary styles of the overlay */

.remodal-overlay {
  position: fixed;
  z-index: 9999;
  top: -5000px;
  right: -5000px;
  bottom: -5000px;
  left: -5000px;

  display: none;
}

/* Necessary styles of the wrapper */

.remodal-wrapper {
  position: fixed;
  z-index: 10000;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;

  display: none;
  overflow: auto;

  text-align: center;

  -webkit-overflow-scrolling: touch;
}

.remodal-wrapper:after {
  display: inline-block;

  height: 100%;
  margin-left: -0.05em;

  content: "";
}

/* Fix iPad, iPhone glitches */

.remodal-overlay,
.remodal-wrapper {
  backface-visibility: hidden;
}

/* Necessary styles of the modal dialog */

.remodal {
  position: relative;

  outline: none;

  text-size-adjust: 100%;
}

.remodal-is-initialized {
  /* Disable Anti-FOUC */
  display: inline-block;
}

/* ==========================================================================
   Remodal's default mobile first theme
   ========================================================================== */

/* Default theme styles for the background */

.remodal-bg.remodal-is-opening,
.remodal-bg.remodal-is-opened {
  filter: blur(3px);
}

/* Default theme styles of the overlay */

.remodal-overlay {
  background: rgba(204, 204, 204, 0.9);
}

.remodal-overlay.remodal-is-opening,
.remodal-overlay.remodal-is-closing {
  animation-duration: 0.3s;
  animation-fill-mode: forwards;
}

.remodal-overlay.remodal-is-opening {
  animation-name: remodal-overlay-opening-keyframes;
}

.remodal-overlay.remodal-is-closing {
  animation-name: remodal-overlay-closing-keyframes;
}

/* Default theme styles of the wrapper */

.remodal-wrapper {
  padding: 30px 0 0;
}

/* Default theme styles of the modal dialog */

.remodal {
  box-sizing: border-box;
  width: 100%;
  margin-bottom: 10px;
  padding: 0;

  transform: translate3d(0, 0, 0);

  color: #2b2e38;
}

.remodal.remodal-is-opening,
.remodal.remodal-is-closing {
  animation-duration: 0.3s;
  animation-fill-mode: forwards;
}

.remodal.remodal-is-opening {
  animation-name: remodal-opening-keyframes;
}

.remodal.remodal-is-closing {
  animation-name: remodal-closing-keyframes;
}

/* Vertical align of the modal dialog */

.remodal,
.remodal-wrapper:after {
  vertical-align: middle;
}

/* Close button */
/*
.remodal-close {
  position: absolute;
  top: -60px;
  right: 0;
  display: block;
  overflow: visible;
  width: 60px;
  height: 35px;
  margin: 0;
  padding: 0;
  cursor: pointer;
  transition: color 0.2s;
  text-decoration: none;
  color: #fff;
  font-size: 0px;
  border: 0;
  outline: 0;
  background: transparent;
}


@media screen and (max-width: 767px) {
  .remodal-close {
  width: 40px;
  height: 35px;
  }
}


.remodal-close:after, .remodal-close:before {
    content: "";
    display: block;
    width: 80%;
    height: 2px;
    background-color: #fff;
    position: absolute;
    top: calc(50% - 1px);
    left: 10%;
}
.remodal-close:before {
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}
.remodal-close:after {
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
}
*/

/* Dialog buttons */

.remodal-confirm,
.remodal-cancel {
  font: inherit;

  display: inline-block;
  overflow: visible;

  min-width: 110px;
  margin: 0;
  padding: 12px 0;

  cursor: pointer;
  transition: background 0.2s;
  text-align: center;
  vertical-align: middle;
  text-decoration: none;

  border: 0;
  outline: 0;
}

.remodal-confirm {
  color: #fff;
  background: #81c784;
}

.remodal-confirm:hover,
.remodal-confirm:focus {
  background: #66bb6a;
}

.remodal-cancel {
  color: #fff;
  background: #e57373;
}

.remodal-cancel:hover,
.remodal-cancel:focus {
  background: #ef5350;
}

/* Remove inner padding and border in Firefox 4+ for the button tag. */

.remodal-confirm::-moz-focus-inner,
.remodal-cancel::-moz-focus-inner,
.remodal-close::-moz-focus-inner {
  padding: 0;

  border: 0;
}

/* Keyframes
   ========================================================================== */

@keyframes remodal-opening-keyframes {
  from {
    transform: scale(1.05);

    opacity: 0;
  }
  to {
    transform: none;

    opacity: 1;

    filter: blur(0);
  }
}

@keyframes remodal-closing-keyframes {
  from {
    transform: scale(1);

    opacity: 1;
  }
  to {
    transform: scale(0.95);

    opacity: 0;

    filter: blur(0);
  }
}

@keyframes remodal-overlay-opening-keyframes {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes remodal-overlay-closing-keyframes {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

/* Media queries
   ========================================================================== */

@media only screen and (min-width: 641px) {
  .remodal {
    max-width: 780px;
  }
}

/* IE8
   ========================================================================== */

.lt-ie9 .remodal-overlay {
  background: #2b2e38;
}

.lt-ie9 .remodal {
  width: 700px;
}
.remodal.wid400 {
  max-width: 400px
}



.modal_co {
  background: #fff;
  border-radius: 10px;
  padding: 50px 20px;
}
.mo_flex {
  margin: 0 auto;
  max-width: 560px;
  display: flex;
  justify-content: space-between;
}
.remodal-close {
  font-size: 22px;
  margin-top: 20px;
  border: none;
  background: none;
  display: block;
  text-align: center;
  color: #333;
  font-weight: 500;
  margin: 20px auto 0;
}
.mottl {
  font-size: 24px;
  font-weight: bold;
  position: relative;
  text-align: center;
}
.mottl::before {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -15px;
  display: inline-block;
  width: 60px;
  height: 2px;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  background-color: black;
  border-radius: 2px;
}
.mo_btn {
  margin-top: 60px;
  display: flex;
  justify-content: space-between;
}
.mo_btn li {
  width: 48%;
}
.mo_btn li a {
  line-height: 1em;
  font-size: 20px;
  padding: 25px 0;
  text-align: center;
  color: #fff;
  display: block;
  position: relative;
  background-image: linear-gradient(90deg, rgba(83, 182, 244, 1), rgba(49, 147, 237, 1));
}
.mo_btn li:last-child a {
  background-image: linear-gradient(90deg, rgba(89, 140, 240, 1), rgba(54, 98, 229, 1));
}
.mo_btn li a::before,
.mo_btn li a::after {
  content: "";
  position: absolute;
  top: calc(50% - 1px);
  right: 20px;
  width: 12px;
  height: 2px;
  border-radius: 9999px;
  background-color: #ffffff;
  transform-origin: calc(100% - 1px) 50%;
}

.mo_btn li a::before {
  transform: rotate(45deg);
}

.mo_btn li a::after {
  transform: rotate(-45deg);
}
.mo_box {
  border-radius: 5px;
  border:2px solid #0772de;
  padding: 20px 10px;
  background: #f5f5f5;
  margin-top: 30px;
}
.mo_flex02 {
  display: flex;
  justify-content: center;
}
.mo_flex02 div {
  text-align: center;
}
.mo_flex02 div:first-child {
  margin-right: 6%;
}
.mo_subttl {
  font-size: 18px;
  font-weight: bold;
  color: #fff;
  text-align: center;
  padding: 5px 20px;
  background: #0773dd;
  border-radius: 25px;
  margin-bottom: 20px;
}
.mo_txt {
  margin-top: 15px;
  font-size: 18px;
  text-align: center;
}
.mo_txt02 {
  margin-top: 30px;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  letter-spacing: -0.5px;
  position: relative;
  z-index: 1;
}
.mo_txt02 a {
  text-decoration: underline;
  color: #0773dd;
}
.mo_txt02::before {
  content: "";
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: #fff;
  position: absolute;
  left: calc(50% - 75px);
  bottom: 7px;
  z-index: -1;
}
.mo_txt02:after {
  border: solid transparent;
  content: '';
  height: 0;
  width: 0;
  pointer-events: none;
  position: absolute;
  border-top-width: 30px;
  border-bottom-width: 15px;
  border-left-width: 15px;
  border-right-width: 15px;
  margin-left: -30px;
  border-bottom-color: #fff;
  bottom: 100%;
  left: 53%;
}

@media screen and (max-width: 767px) {
  .modal_co {
    background: #fff;
    border-radius: 10px;
    padding: 8vw 4vw;
    width: 92%;
    margin: 0 auto;
  }
  .mo_flex {
    display: block;
  }
  .mottl {
    font-size: 4vw;
  }
  
  .mo_btn {
    margin-top: 10vw;
  }
  .mo_btn li {
    width: 48%;
  }
  .mo_btn li a {
    font-size: 3.2vw;
    padding: 8vw 0;
  }
  .mo_btn li a::before,
  .mo_btn li a::after {
    right: 15px;
    width: 9px;
  }

  .mo_box {
    border-radius: 5px;
    border:none;
    padding: 5vw 0;
    background: #fff;
    margin-top: 1vw;
  }
  .mo_flex02 {
    display: flex;
    justify-content: space-between;
  }
  .mo_flex02 div {
    text-align: center;
    width: 48%;
  }
  .mo_flex02 div:first-child {
    margin-right: 0;
  }
  .mo_subttl {
    font-size: 2.933vw;
    padding: 5px 2vw;
    background: #0773dd;
    border-radius: 25px;
    margin-bottom: 4vw;
  }
  .mo_txt {
    font-size: 3.2vw;
  }
  .mo_txt02 {
    margin-top: 15px;
    font-size: 2.933vw;
  }
  .mo_txt02::before {
    content: "";
    width: 27vw;
    height: 27vw;
    border-radius: 50%;
    background: #f3f1ef;
    position: absolute;
    left: calc(50% - 15vw);
    bottom: 2vw;
    z-index: -1;
  }
  .mo_txt02:after {
    border-bottom-color: #f3f1ef;
    bottom: 92%;
    left: 55%;
    z-index: -1;
  }
}
