/* ==========================================================================
   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(43, 46, 56, 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;
}
.remodal-wrapper {
  /*padding: 10px 10px 0;*/
}
.remodal {
  box-sizing: border-box;
  width: 84%;
  /*margin-bottom: 10px;
  padding: 35px;*/
  transform: translate3d(0, 0, 0);
  color: #2b2e38;
  background: #fff;
}

.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: 10px;
  right: 10px;

  display: block;
  overflow: visible;

  width: 32px;
  height: 30px;
  margin: 0;
  padding: 0;
  cursor: pointer;
  transition: color 0.2s;
  text-decoration: none;

  color: #95979c;
  border: 0;
  outline: 0;
  background: transparent;
}

.remodal-close:hover,
.remodal-close:focus {
  color: #2b2e38;
}

/*.remodal-close:before {
  font-family: Arial, "Helvetica CY", "Nimbus Sans L", sans-serif !important;
  font-size: 25px;
  line-height: 35px;

  position: absolute;
  top: 0;
  left: 0;

  display: block;

  width: 35px;

  content: "\00d7";
  text-align: center;
}*/

/* 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;
  }
}

@keyframes remodal-closing-keyframes {
  from {
    transform: scale(1);

    opacity: 1;
  }
  to {
    transform: scale(0.95);

    opacity: 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: 768px) {
  .remodal {
    max-width: 82%;
  }
}*/

/* IE8
   ========================================================================== */

.lt-ie9 .remodal-overlay {
  background: #2b2e38;
}

.lt-ie9 .remodal {
  width: 700px;
}

/******************************* modalカスタム *******************************/

.remodal-wrapper {
  padding: 30px 0;
}
.remodal h2, .remodal p{
	margin:0;
	padding:0;
	vertical-align: baseline;
	font-size:105%;
	line-height:1.4;
}
.remodal{	background-color: #333f48;}
.remodal .modalBG01{	background-color: #333f48;}
.remodal .modalBG02{	background-color: #465662;}
.remodal .modalBG03{	background-color: #596f7d;}
.remodal .modalBG04{	background-color: #465662;}

#modalwindow02 {background-color: #4b5b69;}
#modalwindow02 .modalBG01{background-color: #4b5b69;}
#modalwindow02 .modalBG02{	background-color: #565656;}

#modalwindow01 .modalBG02 .ico_badge p,
#modalwindow02 .modalBG01 .ico_badge p{
	width:67%;
	float:left;
}
#modalwindow01 .modalBG02 .ico_badge img,
#modalwindow02 .modalBG01 .ico_badge img{
	width:30%;
	float:right;
}
#modalwindow02 .modalBG02 h2,
#modalwindow02 .modalBG02 h3,
#modalwindow02 .modalBG02 p{color:#4b5b69;}

.remodal .section{
	padding:50px 5%;
	text-align:left;
	color:#fff;
}
.remodal .section .textLeft{
	float:left;
	width:55%;
	margin-right:5%;
}
.remodal .section .textRight{
	float:right;
	width:55%;
}
.remodal .section h2{
	font-size:30px;
	margin-bottom:20px;
	letter-spacing:1px;
	line-height:1.3;
}
.remodal .section #ico_kscan{
	margin-bottom:40px;
	min-height:89px;
	display:table;
}
.remodal .section #ico_kscan h2{
	display:table-cell;
	vertical-align:middle;
}
.remodal .section #ico_kscan img{
	display:table-cell;
	margin-right:10px;
	width:106px;
	height:89px;
	vertical-align:middle;
}

.remodal .section h3{
	font-size:22px;
	margin:0 0 20px 0;
	letter-spacing:1px;
	line-height:1.2;
}
.remodal .section p{
	line-height:2.0;
}
.remodal .section .number{
	font-size:16px;
	color:#00adb0;
	line-height:1.2;
	letter-spacing:3px;
}
.remodal .section sup{
	font-size:0.7em;
}
.remodal .section .mediaLeft{
	float:left;
	width:40%;
}
.remodal .section .mediaRight{
	float:right;
	width:40%;
}
.remodal .section img{
	width:100%;
	height:100%;
}

.remodal .remodal-cancel{
	text-align:center;
	vertical-align:middle;
	width:260px;
	height:46px;
	display:block;
	margin:20px auto;
	padding-left:20px;
	letter-spacing:3px;
	border:1px solid #fff;
	background:url(../images/btn_close_off2.png) no-repeat 75px center;
	background-color:transparent;
	line-height:1;
	transition: all .25s;
}
.remodal .remodal-cancel:hover{
	border:1px solid #a8bac7;
	color:#a8bac7;
	background:url(../images/btn_close_on2.png) no-repeat 75px center;
}
.remodal .section .annotation{
	font-size:0.9em;
	line-height:1.6;
}

/****************************** SP調整 ******************************/
@media screen and (max-width: 767px){
	.remodal {
		width: 100%;
	}
	.remodal .section{
		padding:50px 0;
	}
	.remodal-wrapper {
		padding: 0;
	}
	.remodal .section .textLeft,
	.remodal .section .textRight,
	.remodal .section .mediaLeft,
	.remodal .section .mediaRight{
		float:none;
	}
	.remodal .section .textLeft,
	.remodal .section .textRight{
		padding:0 5%;
		width:90%;
		margin-bottom:30px;
	}
	.remodal .section .mediaLeft,
	.remodal .section .mediaRight{
		width:100%;
	}
	div.modalFirst{margin-bottom:0px !important;}
	img.modalFirst{margin-bottom:20px !important;}

	.remodal .section h2{
		font-size:22px;
		margin-bottom:15px;
	}
	.remodal .section h3{
		font-size:18px;
		margin:0 0 12px 0;
		letter-spacing:1px;
		line-height:1.2;
	}
	.remodal .section p{
		font-size:15px;
		line-height:1.8;
	}
	.remodal .section .number{
		font-size:15px;
	}
	.remodal .remodal-cancel{
		margin:30px auto;
	}
	.remodal .section #ico_kscan{
		margin:0 5% 40px;
	}
}



