/*
 *  Remodal - v1.1.1
 *  Responsive, lightweight, fast, synchronized with CSS animations, fully customizable modal window plugin with declarative configuration and hash tracking.
 *  http://vodkabears.github.io/remodal/
 *
 *  Made by Ilya Makarov
 *  Under MIT License
 */

/* ==========================================================================
   Remodal's default mobile first theme
   ========================================================================== */

.remodal-bg.remodal-is-opening,
.remodal-bg.remodal-is-opened {
  -webkit-filter: blur(3px);
  filter: blur(3px);
}

/* Default theme styles of the overlay */

.remodal-overlay {
  background: rgba(000, 000, 000, 0.7);
}

.remodal-overlay.remodal-is-opening,
.remodal-overlay.remodal-is-closing {
  -webkit-animation-duration: 0.3s;
  animation-duration: 0.3s;
  -webkit-animation-fill-mode: forwards;
  animation-fill-mode: forwards;
}

.remodal-overlay.remodal-is-opening {
  -webkit-animation-name: remodal-overlay-opening-keyframes;
  animation-name: remodal-overlay-opening-keyframes;
}

.remodal-overlay.remodal-is-closing {
  -webkit-animation-name: remodal-overlay-closing-keyframes;
  animation-name: remodal-overlay-closing-keyframes;
}

/* Default theme styles of the wrapper */

.remodal-wrapper {
  padding: 10px 10px 0;
}

/* Default theme styles of the modal dialog */

.remodal_inner{
	-webkit-perspective: 1300px;
	-moz-perspective: 1300px;
	perspective: 1300px;
}

.remodal {
  box-sizing: border-box;
  width: 100%;
  margin-bottom: 10px;
  display: flex;
  /*padding: 35px;*/

  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);

  color: #2b2e38;
  background: #fff;
}
.remodal .remodal_img{
	width: 50%;
	padding: 60px 10px;
	box-sizing: border-box;
}
.remodal .remodal_text{
	width: 50%;
	padding: 100px 30px 30px;
	box-sizing: border-box;
	overflow-y: scroll;
	height: 600px;
	line-height: 1.5;
}
.remodal .remodal_text img{
	max-height: 170px;
}
.remodal .remodal_img.green_box.remodal_img{
	background: #1fb8c9;
}
.remodal .remodal_img.orange_box.remodal_img{
	background: #f29100;
}
.remodal .item_title,
.remodal .item_title span{
	font-size: 20px;
}

.remodal .item_title span::after {
    left: 47.5%;
}
.remodal .lead_text{
	font-size: 14px;
	font-weight: bold;
	margin-bottom: 20px;
}
.remodal .detail_text{
	text-align: left;
	margin-bottom: 30px;
}
.remodal .price_text{
	font-weight: bold;
	margin: 20px 0;
}
.remodal .price_list {
	margin: 17px 0 20px;
}
.remodal .price_list li {
	display: inline-block;
	width:  49%;
	margin-top: 3px;
	vertical-align: top;
	font-weight: bold;
	text-align: left;
}
.remodal .price_list li:nth-child(2n+1) {
	margin-right: 2%;
}
.remodal .shop_list{
	border: 1px solid #ccc;
	padding: 10px 26px;
  margin-top: 20px;
	margin-bottom: 20px;
}
.remodal .shop_list p {
	text-align: left;
	margin-bottom: 5px;
  margin-left: -1.5em;
}
.remodal .shop_list ul +  p {
  margin-top: 10px;
}
.remodal .shop_list ul {
}
.remodal .shop_list ul li{
	text-align: left;
	margin-bottom: 5px;
	position: relative;
  list-style: none;
}
.remodal .shop_list ul li{
}
.remodal .shop_list ul li::before{
  display: none;
	content: '・';
	position: absolute;
	left: -20px;
	font-size: 20px;
	top: -5px;
}
.remodal .shop_list ul li:last-child{
	margin-bottom: 0;
}
.remodal .kome{
	margin-bottom: 30px;
	text-align: left;
}

.remodal .close-btn,
.remodal .close-btn span {
	display: inline-block;
	transition: all .4s;
	box-sizing: border-box;
}
.remodal .close-btn {
	position: absolute;
	right: 2%;
	width: 40px;
	height: 40px;
	margin: 1.5rem 0px 0px 1.5rem;
}
.remodal .close-btn span {
	position: absolute;
	left: 0;
	width: 100%;
	height: 1px;
	background-color: #404040;
}
.remodal .close-btn span:nth-of-type(1) {
	-webkit-transform: translateY(20px) rotate(-45deg);
	transform: translateY(20px) rotate(-45deg);
}
.remodal .close-btn span:nth-of-type(2) {
	top: 40px;
	-webkit-transform: translateY(-20px) rotate(45deg);
	transform: translateY(-20px) rotate(45deg);
}

.remodal.remodal-is-opening,
.remodal.remodal-is-closing {
  -webkit-animation-duration: 0.3s;
  animation-duration: 0.3s;
  -webkit-animation-fill-mode: forwards;
  animation-fill-mode: forwards;
}

.remodal.remodal-is-opening {
  -webkit-animation-name: remodal-opening-keyframes;
  animation-name: remodal-opening-keyframes;
}

.remodal.remodal-is-closing {
  -webkit-animation-name: remodal-closing-keyframes;
  animation-name: remodal-closing-keyframes;
}



/* Dialog buttons */

.remodal-confirm,
.remodal-cancel {
  font: inherit;

  display: inline-block;
  overflow: visible;

  min-width: 110px;
  margin: 0;
  padding: 12px 0;

  cursor: pointer;
  -webkit-transition: background 0.2s;
  transition: background 0.2s;
  text-align: center;
  vertical-align: middle;
  text-decoration: none;

  border: 0;
  outline: 0;
}



/* Keyframes
   ========================================================================== */

@-webkit-keyframes remodal-opening-keyframes {
  from {
    -webkit-transform: scale(1.05);
    transform: scale(1.05);

    opacity: 0;
  }
  to {
    -webkit-transform: none;
    transform: none;

    opacity: 1;

    -webkit-filter: blur(0);
    filter: blur(0);
  }
}

@keyframes remodal-opening-keyframes {
  from {
    -webkit-transform: scale(1.05);
    transform: scale(1.05);

    opacity: 0;
  }
  to {
    -webkit-transform: none;
    transform: none;

    opacity: 1;

    -webkit-filter: blur(0);
    filter: blur(0);
  }
}

@-webkit-keyframes remodal-closing-keyframes {
  from {
    -webkit-transform: scale(1);
    transform: scale(1);

    opacity: 1;
  }
  to {
    -webkit-transform: scale(0.95);
    transform: scale(0.95);

    opacity: 0;

    -webkit-filter: blur(0);
    filter: blur(0);
  }
}

@keyframes remodal-closing-keyframes {
  from {
    -webkit-transform: scale(1);
    transform: scale(1);

    opacity: 1;
  }
  to {
    -webkit-transform: scale(0.95);
    transform: scale(0.95);

    opacity: 0;

    -webkit-filter: blur(0);
    filter: blur(0);
  }
}

@-webkit-keyframes remodal-overlay-opening-keyframes {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes remodal-overlay-opening-keyframes {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@-webkit-keyframes remodal-overlay-closing-keyframes {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

@keyframes remodal-overlay-closing-keyframes {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

/* Media queries
   ========================================================================== */
@media only screen and (min-width: 641px) {
  .remodal {
    max-width: 820px;
	/*margin: 8% auto;*/
	margin: 0 auto;
  }
}
@media (max-width: 767px){
	.remodal .close-btn {
		position: absolute;
		right: 2%;
		width: 40px;
		height: 40px;
		margin: 10px 0 0 0;
	}
	.remodal-wrapper{
	}
	.remodal{
		display: block !important;
		margin-bottom: 0;
	}
	.remodal .remodal_img,
	.remodal .remodal_text{
		width: 100% !important;
	}
	.remodal .remodal_img {
		width: 50%;
		padding: 30px 10px;
	}
	.remodal .remodal_text {
		width: 50%;
		padding: 40px 30px;
		line-height: 1.75;
	}
	.remodal .remodal_text {
		overflow-y: auto !important;
		height: auto !important;
	}
	.remodal .kome {
		margin-bottom: 0;
	}
}


/* IE8
   ========================================================================== */

.lt-ie9 .remodal-overlay {
  background: #2b2e38;
}

.lt-ie9 .remodal {
  width: 700px;
}
