/* 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(0,0,0,.8)
}
.remodal-overlay.remodal-is-opening,
.remodal-overlay.remodal-is-closing {
  animation-duration: 0.5s;
  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: 10px 15px 0;
}
/* Default theme styles of the modal dialog */
.remodal.remodal-is-opening,
.remodal.remodal-is-closing {
  animation-duration: 0.5s;
  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-wrap{
	width:100%;
	text-align:right;
	overflow:hidden;
	padding:10px 0 6px;
}
.remodal-close {
  display: block;
  overflow: visible;
  width: 28px;
  height: 28px;
  margin: 0;
  padding:0;
  cursor: pointer;
  transition: color 0.2s;
  text-decoration: none;
  border: 0;
  outline: 0;
  background: transparent;
  background:url(../../img/common/modal-close.png);
  background-size:100% 100%;
  float:right;
    position: absolute;
    right: 30px;
    top: 50px;
    z-index: 4;
}
.remodal-close:hover,
.remodal-close:focus {
	opacity:0.6;
}
/* 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 {
  box-sizing: border-box;
  width: 100%;
  margin-bottom: 10px;
  transform: translate3d(0, 0, 0);
  max-width:960px;
 position: relative;
  outline: none;
  text-size-adjust: 100%;
}
.remodal-content {
　background:#fff;
  position: relative;
  width:100%;
  padding: 0px;
}
.remodal-is-initialized {
  /* Disable Anti-FOUC */
  display: inline-block;
}

.modalinner{
    padding: 20px;
    background: #fff;
}

.modalins{
    border: 1px solid #0041A8;
    text-align: left;
    position: relative;
}

.modal_ttl{
    font-size: 21px;
    color: #fff;
    line-height: 1;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.modal_ttl span{
    background: #0041A8;
    letter-spacing: 0.1em;
    padding: 10px;
}

.flag{
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    width: 100%;
    margin: 5% auto 0;
}

.flag dl{
    text-align: center;
    width: 25%;
    margin: 0 4% 15px;
}

.remodal#modal02 .flag dl{
    width: 15%;
    margin: 0 2.5% 15px;
}

.flag dl dt{
    background: #E6E6E6;
}

.flag dl dd{
    padding-top: 5px;
    line-height: 1.4;
}

.list_flag{
   padding:0 20px 20px; 
}

.list_flag .ttl{
    color: #0041A8;
    font-size: 17px;
    position: relative;
    padding-bottom: 20px;
}

.list_flag .ttl:after{
    position: absolute;
    content: "";
    width: 100%;
    border-bottom:1px solid #0041A8;
    top: 16px;
    left: 0;
}

.list_flag .ttl span{
    background: #fff;
    border-radius: 15px;
    border: 1px solid #0041A8; 
    padding: 5px 25px;
    position: relative;
    z-index: 2
}


@media screen and (max-width: 768px) {
    
.remodal-wrapper {
    padding: 0 15px 0;
}
.remodal-content {
  width:100%;
  padding: 0;
}
    
    .remodal-close-wrap{
        position: absolute;
        top: 2%;
    }
    
.remodal-close {
    position:relative;
  width: 20px;
  height: 20px;
    top: 4.5%;
    right: 6%;
    z-index: 4;
}
    
.modalinner{
    padding: 10px;
}


.modal_ttl{
    font-size: 16px;
    margin-top: 0px;
}

.modal_ttl span{
}

.flag{
    display: flex;
    width: 100%;
    margin: 25px auto 0;
}

.flag dl{
    text-align: center;
    width: 45%;
    margin: 0 2.5% 10px;
}
    
.remodal#modal02 .flag dl{
    width: 30%;
    margin: 0 1.5% 10px;
}

.flag dl dt{
    background: #E6E6E6;
}
    
 .flag dl dd{
    font-size: 10px;
 }

.list_flag{
   padding:0 20px 20px; 
}

.list_flag .ttl{
    font-size: 15px;
    padding-bottom: 5px;
    margin-top: 5px;
}

.list_flag .txt{
    font-size: 11px;
}


}

/* Keyframes
   ========================================================================== */
@keyframes remodal-opening-keyframes {
  from {transform: scale(0.8);opacity: 0;}
  to {transform: none;opacity: 1;}
}
@keyframes remodal-closing-keyframes {
  from {transform: scale(1);opacity: 1;}
  to {transform: scale(0.9);opacity: 0;}
}
@keyframes remodal-overlay-opening-keyframes {
  from {opacity: 0;}
  to {opacity: 1;}
}
@keyframes remodal-overlay-closing-keyframes {
  from {opacity: 1;}
  to {opacity: 0;}
}

/* IE8
   ========================================================================== */
.lt-ie9 .remodal-overlay {
  background: #2b2e38;
}
.lt-ie9 .remodal {
  width: 700px;
}