/* ==========================================================================
   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;
}

.photo_inner {
  overflow: 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;
}

@media (max-width: 767px) {
  .remodal {
    box-sizing: border-box;
    width: 100%;
    margin-bottom: 10px;
    padding: 65px 10px;
    transform: translate3d(0, 0, 0);
  }
}

/* ///////// remodal inner ///////// */

@import url('https://fonts.googleapis.com/css2?family=Zen+Kaku+Gothic+New:wght@400;500&display=swap');


.remodal {
  position: relative;
  outline: none;
  text-size-adjust: 100%;
  background: #fff;
  min-height: 85vh;
}

.flex_2wrap {
  display: flex;
}

.image_wrap {
  width: 42%;
  margin-right: 3%;
}

.txt_wrap {
  width: 53%;
  margin-left: 2%;
  text-align: left;
}

button.remodal-close {
  top: -22.5px;
  left: auto;
  right: -22.5px;
  background: #2D3233;
  border-radius: 50%;
  border: solid 1px;
}

.remodal-close:hover, .remodal-close:focus {
  color: #FC9700;
  background: #fff;
}

.remodal-close:before {
  top: 4px;
  width: 43px;
}

.remodal .main-img {
  height: auto;
}

.modal_ttl {
  padding-bottom: 25px;
  border-bottom: solid 1px #cbcbcb;
  margin-bottom: 26px;
}

h3.modal_h3 {
  position: relative;
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-weight: 500;
  color: #242323;
  padding-left: 16px;
  margin-bottom: 6px;
}

h3.modal_h3.mg10 {
  margin-bottom: 10px;
}

h3.modal_h3:before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 10px;
  height: 10px;
  background: #CBCBCB;
  border-radius: 50%;
}

p.modal_p {
  font-family:'Zen Kaku Gothic New', sans-serif;
  font-weight: 400;
  color: #242323;
}

.remodal .sub-img {
  display: flex;
  margin: 4% 0 0;
  flex-wrap: wrap;
}

.remodal .sub-img li {
  margin-right: 4%;
  margin-bottom: 4%;
  width: calc(92% / 3);
}

.remodal .sub-img li:nth-child(3n) {
  margin-right: 0;
}

/* ///////// remodal inner ///////// */