@charset "utf-8";
#wrap-contents{
font-family: 'Noto Serif JP', serif;
font-weight: 400;
font-style: normal;
color: #292929;
}
#wrap-contents h1,#wrap-contents h2, #wrap-contents h3, #wrap-contents h4{
font-family: 'Noto Serif JP', serif;
font-weight: 700;
font-style: normal;
}
#wrap-contents .lead,#wrap-contents .semi{ font-weight: 600}
#wrap-contents .bold{font-weight: 700}

#wrap-contents .f-gothic{
font-family:"Noto Sans JP", "HiraginoSans-W3", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, sans-serif
}
#wrap-contents a,#wrap-contents a:hover{ text-decoration: none;}
#wrap-contents img{vertical-align: bottom}

.inner{ margin: 0 auto;}

a.btn,a[class^="btn-"]{ transition:0.3s ease-in-out;}
a[class^="btn-"]{display: flex; align-items: center; justify-content: center; margin: 0 auto; font-weight: 600; box-sizing: border-box; line-height:1;}

#wrap-contents picture{display: block}
#wrap-contents ul{list-style: none; padding: 0; }

/* ========================================
#mainvisual
======================================== */
#mainvisual{
background: rgb(254,251,240);
background: -moz-linear-gradient(180deg, rgba(254,251,240,1) 0%, rgba(243,214,80,1) 77.5%, rgba(190,136,21,1) 100%);
background: -webkit-linear-gradient(180deg, rgba(254,251,240,1) 0%, rgba(243,214,80,1) 77.5%, rgba(190,136,21,1) 100%);
background: linear-gradient(180deg, rgba(254,251,240,1) 0%, rgba(243,214,80,1) 77.5%, rgba(190,136,21,1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#fefbf0",endColorstr="#be8815",GradientType=1);
}
#site-title{margin-top: 0;}
.btn-buy{margin: 0 auto;}
.btn-buy:hover{color: #fff}
.btn-buy,.btn-buy span{ display: flex; align-items: center; justify-content: center; box-sizing: border-box}
.btn-buy span{ border-style:solid; width: 100%; height: 100%;}

.icn-arrow{ position: relative;}
.icn-arrow:after{content: "\025b6"; position: absolute; top: 50%; margin-top: -0.5em;}

#mainvisual .btn-buy{ background: #100986; color: #fff}
#mainvisual .btn-buy span{ border-color: #d4b75b;}
#mainvisual .btn-buy:hover{ background: #050556}

#product .btn-buy{ background: #d3bb40; color: #fff}
#product .btn-buy span{ border-color: #100986; border-width: 2px;}
#product .btn-buy:hover{background: #af900e}

@media print, screen and (min-width: 48.0625em){
/* PC */
.sp-only{ display:none}
#mainvisual{height: 724px}
#mainvisual .inner{ padding: 22px 0 0; width: 1160px; position: relative;}
#site-title,#mainvisual .lead{ position: relative; z-index: 2}
#site-title{margin-left: -34px;}
#mainvisual .lead{ margin-bottom: 35px; font-size: 18px; line-height: 2.04;}

.btn-buy{ padding: 4px; font-size: 31px; color: #fff; width: 594px; height: 96px; border-radius: 48px}
.btn-buy span{ border-radius: 48px;}
.btn-buy .icn-arrow:after{right: 43px; font-size: 18px;}

.mv-product{position: absolute; top: 9px; right: -66px; z-index: 1;}
}
@media screen and (max-width: 48em){
/* スマホ */
.inner{ overflow: hidden}
.sp-only{ display: block}
#mainvisual .inner{padding-top: 4vw; padding-bottom: 14vw}
#mainvisual .sp-inner{ margin: 0 auto; width: 83.2%; text-align: center;}
#mainvisual .lead{font-size: 3.7vw; line-height: 1.78;}
.btn-buy{padding: 2px; width: 87.2%; font-size: 4.9vw; height: 14.9vw;}
.btn-buy,.btn-buy span{ border-radius: 7.45vw}
.btn-buy .icn-arrow:after{right: 6.6vw; font-size: 2.9vw;}
}

/* ========================================
lazyload
======================================== */
img.lazyload {
  opacity: 0;
  -webkit-transition: opacity 3s;
  transition: opacity 3s;
}
img.lazyloaded {
  opacity: 1;
}

/* ========================================
#about
======================================== */
#about{position: relative;}
.bg-top-about,.bg-top-product{position: absolute; top: 0; z-index: 1; line-height: 1}
#about .inner{text-align: center; background: #fff;}
#about h2{ color: #be910f; line-height: 1; text-align: center; letter-spacing: 0.08em}
.btn-dtail{ background: #e9dda0; border-radius: 8px; font-weight: 600}
.bg-about-l,.bg-about-r{position: absolute; top: 8px;}
.btn-dtail.icn-arrow:after{ color: #292929;}
.btn-dtail.icn-arrow:hover:after{ color: #fff}

@media print, screen and (min-width: 48.0625em){
/* PC */
.bg-top-about,.bg-top-product,.bg-top-product{ left: 50%; margin-left: -150px;}
#about{ background: url("/sp/egoma_amani_ad/images/bg-about.gif") repeat-x 0 10px;}
#about .inner{ padding: 110px 0 90px; width: 860px}
#about h2{ margin: 0 auto 34px; padding-bottom: 20px; font-size: 40px; border-bottom: 5px dotted #d4b75b; width: 14em; }
#about .lead{ margin-bottom: 50px; font-size: 22px; line-height: 2.04;}
.about-mark{ width: 214px; margin: 0 auto 45px;}
.btn-dtail{ font-size: 26px; width: 564px; height: 86px;}
.btn-dtail:hover{ background-color: #c1a11e; color: #fff}
.btn-dtail.icn-arrow:after{ font-size: 15px; right: 34px}
}
@media screen and (max-width: 48em){
/* スマホ */
.bg-top-about,.bg-top-product{ left: 0; width: 100%;}
#about{ background: url("/sp/egoma_amani_ad/images/bg-about-sp.gif") repeat-y 0 6.9vw; background-size: 100% auto;}
#about .inner{ padding-top: 19vw; padding-bottom: 13.6vw; width: 79.7%}
#about h2{ margin: 0 auto 5.8vw; padding-bottom: 3.4vw; font-size: 5.8vw; border-bottom: 3px dotted #d4b75b;}
#about .lead{ margin-bottom: 10.4vw; font-size: 4vw; line-height: 2.16}
.about-mark{width: 47.6vw; margin: 0 auto 11.2vw}
.btn-dtail{ font-size: 4.2vw; height: 13.3vw}
.btn-dtail.icn-arrow:after{ font-size: 2.4vw; right: 4.8vw}
}

/* ========================================
#product
======================================== */
#product{background: #100986; position: relative}
#product h2,#product .intro h3{color: #fff; text-align: center}
#product h2{position: relative; line-height: 1; letter-spacing: 0.1em;}
#product h2:before,#product h2:after{content: ""; display: block; position: absolute; top: 50%; margin-top: -1px; height: 2px; background: #fff;}
#product h2:before{left: 0;}
#product h2:after{right: 0;}

.lineup{ display: flex; align-items: flex-end;}
.lineup a{display: block}
.lineup .btn{color: #fff;}
.lineup .btn.icn-arrow:after{ content: "\025bc"; color: #fff; font-size: 13px; right: 20px;}

#product .intro h3 .border{ display: inline-block;}

.movie{ margin: 0 auto; background: #fff; color: #100986; line-height: 1; font-weight: 600}

#product .btn-buy{
-moz-text-shadow: 0px 0px 5px rgba(0, 0, 0, 0.69);
-webkit-text-shadow: 0px 0px 5px rgba(0, 0, 0, 0.69);
-ms-text-shadow: 0px 0px 5px rgba(0, 0, 0, 0.69);
text-shadow: 0px 0px 5px rgba(0, 0, 0, 0.69);
}

@media print, screen and (min-width: 48.0625em){
/* PC */
.bg-top-about{ width: 300px}
#product .inner{padding-top: 134px; padding-bottom: 100px; width: 1080px; }
#product h2{ font-size: 41px; width: 650px; margin: 0 auto 44px;}
#product h2:before,#product h2:after{width: 140px;}
#product .intro{margin-bottom: 105px;}

.lineup{ margin: 0 auto; width: 606px; justify-content: space-between}
.lineup li{width: 270px;}
.lineup .picture{ margin: 0 auto 15px; width:220px; transition:0.3s ease-in-out;}
.lineup .btn{font-size: 22px; padding: 16px 0; transition:0.3s ease-in-out;}
.lineup a:hover .picture{ transform: scale(1.1)}

#product .intro h3{ font-size: 27px; line-height: 1.6;}
#product .intro h3 .border{ border-bottom: 4px solid #cbb43f}
.movie{ width: 640px; font-size: 35px;}
#product .btn:not(.btn-buy){ border-radius: 8px;}

}
@media screen and (max-width: 48em){
/* スマホ */
.product-wrap{overflow-x: hidden}
#product .inner{ padding-top: 18.6vw}
#product .intro{ width: 87.2vw; margin: 0 auto}
#product h2{ font-size: 6vw; width: 87.2vw; margin: 0 auto 6.9vw;}
#product h2:before,#product h2:after{width: 16.5vw;}
.lineup{ margin-bottom: 11.3vw; padding: 0 1.3vw; justify-content: space-between}
.lineup li{width: 40vw;}
.lineup .picture{ margin: 0 auto 2.6vw; width:33.3vw;}
.lineup .btn{font-size: 3.4vw; padding: 1em 0; border-radius: 3px;}
.lineup .btn.icn-arrow:after{ font-size: 1.8vw; right: 3.3vw}

#product .intro h3{ margin-bottom: 6vw; font-size: 4.4vw; line-height: 1.9;}
#product .intro h3 .border{ border-bottom: 3px solid #cbb43f}
.movie{ margin-bottom: 14.4vw; width: 100%; font-size: 5.3vw;}
}

#product .product-wrap{
background-color: #fff;
border-radius: 10px;
}
#product .product-wrap h3,#product .product-wrap h3 small,#product .product-wrap .lead {color: #100986}
.item-list,.item-box{display: flex; flex-wrap: wrap; align-items: flex-end}
.item-list a{ display: block;}
.item-img{display: block; margin: 0 auto;}
.ajinomoto{ margin: 0 auto; display: block; text-align: center; line-height: 1.3}
.item-list p{text-align: center; color: #4d4d4d}
.btn{display: block; line-height: 1; text-align: center}
.item-list p.btn{ color: #fff}
.btn-product01{ background: #ffa600;}
.btn-product02{ background: #2aad38;}

.ttl-recommend{
background: rgb(255,255,255);
background: -moz-linear-gradient(90deg, rgba(255,255,255,1) 0%, rgba(249,235,170,1) 20%, rgba(192,139,25,1) 38%, rgba(190,136,21,1) 62%, rgba(243,214,80,1) 80%, rgba(255,255,255,1) 100%);
background: -webkit-linear-gradient(90deg, rgba(255,255,255,1) 0%, rgba(249,235,170,1) 20%, rgba(192,139,25,1) 38%, rgba(190,136,21,1) 62%, rgba(243,214,80,1) 80%, rgba(255,255,255,1) 100%);
background: linear-gradient(90deg, rgba(255,255,255,1) 0%, rgba(249,235,170,1) 20%, rgba(192,139,25,1) 38%, rgba(190,136,21,1) 62%, rgba(243,214,80,1) 80%, rgba(255,255,255,1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#ffffff",endColorstr="#ffffff",GradientType=1);
color: #fff;
-moz-text-shadow: 0px 0px 5px rgba(0, 0, 0, 0.69);
-webkit-text-shadow: 0px 0px 5px rgba(0, 0, 0, 0.69);
-ms-text-shadow: 0px 0px 5px rgba(0, 0, 0, 0.69);
text-shadow: 0px 0px 5px rgba(0, 0, 0, 0.69);
text-align: center;
}
.recommend h5:before{ display: block; content: ""; position: absolute; left: 0; top: 0; z-index: 0}
.recommend h5 span{position: relative; z-index: 1}

.ttl-howto{ text-align: center;}
#product01 .ttl-howto{ color: #ff9900}
#product02 .ttl-howto{ color: #2aad38}
.howto {justify-content: space-around}

@media print, screen and (min-width: 48.0625em){
/* PC */
#product .product-wrap{background: url("/sp/egoma_amani_ad/images/bg-product.jpg") #fff no-repeat 0 0;}
.row{ display: flex; flex-wrap: wrap}
.row.reverce{ flex-direction: row-reverse}
.row.reverce .col.f-gothic{ padding-right: 30px}
.row .col{width: 50%}

.head-group{ justify-content: space-between; align-items: center}
#product01 .col-txt{width: 485px}
#product01 .col-img{width: 185px}
#product02 .col-txt{width: 340px}
@supports (-ms-ime-align: auto) {
	#product02 .head-group{margin-left: -20px; margin-right: -20px;}
 #product02 .col-txt{width: 380px}
}

#product02 .col-img{width: 490px}

.item-img{margin-bottom: 18px}
.brend-200 .item-img{width: 98px}
.brend-600 .item-img{width: 120px}

.item-box{width: 320px}
.egoma-100 .item-img{width: 92px}
.egoma-200 .item-img{width: 113px}
.amani-100 .item-img{width: 92px}

#product .product-wrap{padding: 130px 120px 100px;}
#product01{margin-bottom: 60px}
#product02{margin-bottom: 100px}
#product .product-wrap h3{ margin: 0 0 40px; font-size: 41px; line-height: 1.46; white-space: nowrap}
#product .product-wrap h3 small{font-size: 26px;}
#product .product-wrap .lead{font-size: 19px; line-height: 1.84}

#product01 .item-list li,#product02 .item{width: 140px;}
#product01 .item-list li:first-child{margin-right: 58px}
#product02 .item-list li:first-child{margin-right: 30px}
.item-box .item{margin-right: 20px}
#product02 .btn{width: 140px; margin: 0 auto}

.ajinomoto{ width: 100px;}
.item-list p{ font-size: 13px; line-height: 1.38}
.item-list p.btn{font-size:14px; padding: 4px 0;}
.item-list a .item-img,.item-list a p{ transition:0.3s ease-in-out;}
.item-list a:hover .item-img{ transform: scale(1.1)}
a:hover .btn-product01{ background: #d86100}
a:hover .btn-product02{ background: #0d8e16}

.ttl-recommend{ font-size: 24px; line-height: 1; margin-bottom: 75px; padding: 15px 0;}

#product .product-wrap h5{ margin: 0 0 32px; font-size: 21px; line-height: 1.85}
#product .product-wrap h5 + p{ margin: 0; font-size:16px; line-height: 1.75 }

.recommend{ margin-bottom: 60px; justify-content: space-between}
.recommend .col:first-child{width: 350px}
.recommend .col:last-child{ width: 480px; padding-left: 35px; box-sizing: border-box}
.recommend h5{padding: 20px 0 0 17px; position: relative}
.recommend h5:before{background: url("/sp/egoma_amani_ad/images/icn-drop.gif") no-repeat 0 0; width: 58px; height: 94px;}
.recommend p{ padding-left: 17px}

.ttl-howto{position: relative; font-size: 20px; line-height: 1.8; margin:0 auto 40px; width: 724px}
.ttl-howto:before, .ttl-howto:after{display: block; content: ""; position: absolute; top: 50%; width: 52px;}
.ttl-howto:before{left: 0}
.ttl-howto:after{right: 0}

#product01 .ttl-howto:before,#product01 .ttl-howto:after{
background: url("/sp/egoma_amani_ad/images/ttl-howto-01.gif") no-repeat 0 0; height: 100px; margin-top: -50px;
}
#product02 .ttl-howto:before,#product02 .ttl-howto:after{
background: url("/sp/egoma_amani_ad/images/ttl-howto-02.gif") no-repeat 0 0; height: 102px; margin-top: -51px;
}
.ttl-howto:after{transform: rotate(180deg)}

.howto .col{width: 300px; text-align: center}
.howto picture{ margin: 0 auto;}
#product01 .howto picture{ width: 272px}
#product02 .howto picture{ width: 284px}
}
@media screen and (max-width: 48em){
/* スマホ */
#product{ padding-bottom: 13.3vw}
#product .product-wrap{width: 90.6vw; margin: 0 auto 11.4vw; padding-bottom: 14.2vw; background: url("/sp/egoma_amani_ad/images/bg-product-sp.gif") #fff no-repeat 0 0; background-size: 100% auto}
.col-txt{padding: 22vw 6.9vw 0 9.6vw;}
.col-img{ padding: 0 5vw 12vw}
#product .product-wrap h3{ margin: 0 0 5.7vw; font-size: 7.4vw; line-height: 1.44}
#product .product-wrap h3 small{font-size: 65%;}
#product .product-wrap .lead{font-size: 3.6vw; line-height: 1.77; margin-bottom: 3vw}

#product01 .item-list{ margin-left: 5vw; margin-right: 5vw}

.item-list{margin-bottom: 0;}
#product01 .item-list{ justify-content: center;}
#product01 .item-list li{width: 32.9vw; padding: 0 3.4vw; box-sizing: border-box}
/* #product02 .item-box{width: 48.2%;} */
#product02 .item-list justify-content: space-between; {}
#product02 .item-box{justify-content: space-between}
#product02 .item-box .item,#product02 li.item{ width: 25vw;}
#product02 .btn-product02{ width: 25vw}
.btn-product02{ margin: 3.7vw auto 0;}

.item-img{margin-bottom: 3.2vw}
.brend-200 .item-img{width: 16.2vw}
.brend-600 .item-img{width: 20vw}

.egoma-100 .item-img{width: 13.2vw}
.egoma-200 .item-img{width: 16.2vw}
.amani-100 .item-img{width: 13vw}

#product02 .ajinomoto{ width: 21.6vw}

.item-list p{ font-size: 2.8vw; line-height: 1.33; margin-bottom: 0}
.item-list p.btn{font-size:3.3vw; padding: 1.3vw 0; border-radius: 5px}

.ttl-recommend{ margin: 0 2vw 8vw; padding: 2.6vw 0; font-size: 4.8vw; line-height: 1.27;}
.row.recommend{ width: 77.3vw; margin: 0 auto 11vw;}
.recommend h5{ margin: 2vw 0 0; padding: 1.8vw 0 5vw; text-align: center; font-size: 4.5vw; line-height: 1.76; position: relative}
.recommend h5:before{background: url("/sp/egoma_amani_ad/images/icn-drop-sp.gif") no-repeat 0 0; background-size: 100% auto; width: 10.6vw; height: 17.3vw; top: 0; left: 50%; margin-left: -5.3vw;}
.recommend p{margin: 0; font-size: 3.4vw; line-height: 1.69}

.ttl-howto{ margin: 0 4.7vw 8.6vw; padding: 1em 0;  font-size: 4vw; line-height: 1.7}
#product01 .ttl-howto{ border-top: 2px solid #ff9600; border-bottom: 2px solid #ff9600}
#product02 .ttl-howto{ border-top: 2px solid #2aad38; border-bottom: 2px solid #2aad38}

.howto{ display: flex; margin: 0 4.7vw;}
.howto .col{width: 47.5%;}

}

@media screen and (max-width: 20em){
#product02 .item-box .item{width: 5em}

}

/* アニメーション
======================================== */

@media screen {
    .js-scroll-y {
        opacity: 0;
        transition: all 1s;
        transform: translate(0px, 120px) scale(1);
    }
    .js-scroll-y-in {
        opacity: 1;
        transform: translate(0px, 0px) scale(1);
    }
    .js-scroll-left {
        opacity: 0;
        transition: all 1s;
        transform: translate(-60px, 0) scale(1);
    }
    .js-scroll-left-in {
        opacity: 1;
        transform: translate(0px, 0px) scale(1);
    }
    .js-scroll-right {
        opacity: 0;
        transition: all 1s;
        transform: translate(60px, 0) scale(1);
    }
    .js-scroll-right-in {
        opacity: 1;
        transform: translate(0px, 0px) scale(1);
    }
}

/* Magnific Popup CSS */
.mfp-bg {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1042;
  overflow: hidden;
  position: fixed;
  background: #0b0b0b;
  opacity: 0.8; }

.mfp-wrap {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1043;
  position: fixed;
  outline: none !important;
  -webkit-backface-visibility: hidden; }

.mfp-container {
  text-align: center;
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  padding: 0 8px;
  box-sizing: border-box; }

.mfp-container:before {
  content: '';
  display: inline-block;
  height: 100%;
  vertical-align: middle; }

.mfp-align-top .mfp-container:before {
  display: none; }

.mfp-content {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  margin: 0 auto;
  text-align: left;
  z-index: 1045; }

.mfp-inline-holder .mfp-content,
.mfp-ajax-holder .mfp-content {
  width: 100%;
  cursor: auto; }

.mfp-ajax-cur {
  cursor: progress; }

.mfp-zoom-out-cur, .mfp-zoom-out-cur .mfp-image-holder .mfp-close {
  cursor: -moz-zoom-out;
  cursor: -webkit-zoom-out;
  cursor: zoom-out; }

.mfp-zoom {
  cursor: pointer;
  cursor: -webkit-zoom-in;
  cursor: -moz-zoom-in;
  cursor: zoom-in; }

.mfp-auto-cursor .mfp-content {
  cursor: auto; }

.mfp-close,
.mfp-arrow,
.mfp-preloader,
.mfp-counter {
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none; }

.mfp-loading.mfp-figure {
  display: none; }

.mfp-hide {
  display: none !important; }

.mfp-preloader {
  color: #CCC;
  position: absolute;
  top: 50%;
  width: auto;
  text-align: center;
  margin-top: -0.8em;
  left: 8px;
  right: 8px;
  z-index: 1044; }
  .mfp-preloader a {
    color: #CCC; }
    .mfp-preloader a:hover {
      color: #FFF; }

.mfp-s-ready .mfp-preloader {
  display: none; }

.mfp-s-error .mfp-content {
  display: none; }

button.mfp-close,
button.mfp-arrow {
  overflow: visible;
  cursor: pointer;
  background: transparent;
  border: 0;
  -webkit-appearance: none;
  display: block;
  outline: none;
  padding: 0;
  z-index: 1046;
  box-shadow: none;
  touch-action: manipulation; }

button::-moz-focus-inner {
  padding: 0;
  border: 0; }

.mfp-close {
  width: 44px;
  height: 44px;
  line-height: 44px;
  position: absolute;
  right: 0;
  top: 0;
  text-decoration: none;
  text-align: center;
  opacity: 0.65;
  padding: 0 0 18px 10px;
  color: #FFF;
  font-style: normal;
  font-size: 28px;
  font-family: Arial, Baskerville, monospace; }
  .mfp-close:hover,
  .mfp-close:focus {
    opacity: 1; }
  .mfp-close:active {
    top: 1px; }

.mfp-close-btn-in .mfp-close {
  color: #333; }

.mfp-image-holder .mfp-close,
.mfp-iframe-holder .mfp-close {
  color: #FFF;
  right: -6px;
  text-align: right;
  padding-right: 6px;
  width: 100%; }

.mfp-counter {
  position: absolute;
  top: 0;
  right: 0;
  color: #CCC;
  font-size: 12px;
  line-height: 18px;
  white-space: nowrap; }

.mfp-arrow {
  position: absolute;
  opacity: 0.65;
  margin: 0;
  top: 50%;
  margin-top: -55px;
  padding: 0;
  width: 90px;
  height: 110px;
  -webkit-tap-highlight-color: transparent; }
  .mfp-arrow:active {
    margin-top: -54px; }
  .mfp-arrow:hover,
  .mfp-arrow:focus {
    opacity: 1; }
  .mfp-arrow:before,
  .mfp-arrow:after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    position: absolute;
    left: 0;
    top: 0;
    margin-top: 35px;
    margin-left: 35px;
    border: medium inset transparent; }
  .mfp-arrow:after {
    border-top-width: 13px;
    border-bottom-width: 13px;
    top: 8px; }
  .mfp-arrow:before {
    border-top-width: 21px;
    border-bottom-width: 21px;
    opacity: 0.7; }

.mfp-arrow-left {
  left: 0; }
  .mfp-arrow-left:after {
    border-right: 17px solid #FFF;
    margin-left: 31px; }
  .mfp-arrow-left:before {
    margin-left: 25px;
    border-right: 27px solid #3F3F3F; }

.mfp-arrow-right {
  right: 0; }
  .mfp-arrow-right:after {
    border-left: 17px solid #FFF;
    margin-left: 39px; }
  .mfp-arrow-right:before {
    border-left: 27px solid #3F3F3F; }

.mfp-iframe-holder {
  padding-top: 40px;
  padding-bottom: 40px; }
  .mfp-iframe-holder .mfp-content {
    line-height: 0;
    width: 100%;
    max-width: 900px; }
  .mfp-iframe-holder .mfp-close {
    top: -40px; }

.mfp-iframe-scaler {
  width: 100%;
  height: 0;
  overflow: hidden;
  padding-top: 56.25%; }
  .mfp-iframe-scaler iframe {
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
    background: #000; }

/* Main image in popup */
img.mfp-img {
  width: auto;
  max-width: 100%;
  height: auto;
  display: block;
  line-height: 0;
  box-sizing: border-box;
  padding: 40px 0 40px;
  margin: 0 auto; }

/* The shadow behind the image */
.mfp-figure {
  line-height: 0; }
  .mfp-figure:after {
    content: '';
    position: absolute;
    left: 0;
    top: 40px;
    bottom: 40px;
    display: block;
    right: 0;
    width: auto;
    height: auto;
    z-index: -1;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
    background: #444; }
  .mfp-figure small {
    color: #BDBDBD;
    display: block;
    font-size: 12px;
    line-height: 14px; }
  .mfp-figure figure {
    margin: 0; }

.mfp-bottom-bar {
  margin-top: -36px;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  cursor: auto; }

.mfp-title {
  text-align: left;
  line-height: 18px;
  color: #F3F3F3;
  word-wrap: break-word;
  padding-right: 36px; }

.mfp-image-holder .mfp-content {
  max-width: 100%; }

.mfp-gallery .mfp-image-holder .mfp-figure {
  cursor: pointer; }

@media screen and (max-width: 800px) and (orientation: landscape), screen and (max-height: 300px) {
  /**
       * Remove all paddings around the image on small screen
       */
  .mfp-img-mobile .mfp-image-holder {
    padding-left: 0;
    padding-right: 0; }
  .mfp-img-mobile img.mfp-img {
    padding: 0; }
  .mfp-img-mobile .mfp-figure:after {
    top: 0;
    bottom: 0; }
  .mfp-img-mobile .mfp-figure small {
    display: inline;
    margin-left: 5px; }
  .mfp-img-mobile .mfp-bottom-bar {
    background: rgba(0, 0, 0, 0.6);
    bottom: 0;
    margin: 0;
    top: auto;
    padding: 3px 5px;
    position: fixed;
    box-sizing: border-box; }
    .mfp-img-mobile .mfp-bottom-bar:empty {
      padding: 0; }
  .mfp-img-mobile .mfp-counter {
    right: 5px;
    top: 3px; }
  .mfp-img-mobile .mfp-close {
    top: 0;
    right: 0;
    width: 35px;
    height: 35px;
    line-height: 35px;
    background: rgba(0, 0, 0, 0.6);
    position: fixed;
    text-align: center;
    padding: 0; } }

@media all and (max-width: 900px) {
  .mfp-arrow {
    -webkit-transform: scale(0.75);
    transform: scale(0.75); }
  .mfp-arrow-left {
    -webkit-transform-origin: 0;
    transform-origin: 0; }
  .mfp-arrow-right {
    -webkit-transform-origin: 100%;
    transform-origin: 100%; }
  .mfp-container {
    padding-left: 6px;
    padding-right: 6px; } }

