/* ==========================================================================
   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(/uploads/image/pgs/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(/uploads/image/pgs/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;
	}
}



