/*****************************************************************************
CSS only for agefree
*****************************************************************************/
#page {
    background-color: #E7ECEC;
}
#contentsWrap {
    font-family: "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic, "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}

#browsebar-name .name {
  font-size: 15px;
}

/* Set
*****************************************************************************/
/* contents width
-----------------------------------------*/
#page,
#bottomlink {
    max-width: 100%;
    min-width: 980px;
}

/* mod_billboard
-----------------------------------------*/
.mod_breadcrumb {
  border-bottom:none;
}

/* Common main contents Style #sectionContents
*****************************************************************************/

/* Set
-----------------------------------------*/
#sectionContentsWrap {
  color: #4D4D4D;
  background-color: #E7ECEC;
}
.sectionContents .container {
  max-width: 980px;
  padding: 0;
  margin: 0 auto;
}
@media only screen and (max-width:640px) and (max-device-width:1280px){
  #globalfooter {
    padding-bottom: 30px;
  }
}

/* p
-----------------------------------------*/
#sectionContents p{
  margin: 0 0 10px 0;
  line-height: 1.3;
}
#sectionContents p.ex_lead{
  font-size: 18px;
  color: #319b42;
  line-height: 1.6;
}
#sectionContents p.ex_emphasis{
  font-size: 16px;
  line-height: 1.8;
}

/* color
-----------------------------------------*/
#sectionContents .ex_corecolor{
  color: #319b42;
}

/* Title
-----------------------------------------*/

.ex_title02_map{
  margin:0 0 16px 0;
}

.ex_title01 {
    font-size: 26px;
    line-height: 1.5;
    letter-spacing: 0.05em;
}
.ex_title02 {
    font-size: 31px;
    line-height: 1.2;
    letter-spacing: 0.05em;
    border-left: 3px solid #008C4F;
    padding-left: 10px;
}
.ex_title03 {
  font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
    color: #1A1A1A;
    font-size: 35px;
    line-height: 1.5;
    letter-spacing: 0.1em;
    text-align: center;
    padding: 0 10px;
    margin-bottom: 70px;
}
/*.ex_title03:after {
  content: "";
  width: 40px;
  height: 1px;
  background-color: #1A1A1A;
  display: block;
  margin: 20px auto 0 auto;
}
*/
.ex_title04 {
    font-size: 20px;
    line-height: 40px;
    color: #319B42;
    font-weight: bold;
    letter-spacing: 0.05em;
    border-left: 3px solid #008C4F;
    background-color: #DEE8D7;
    padding-left: 10px;
    margin-bottom: 20px;
}
  .ex_title03 .none {
    display: none;
  }

.ex_title05 {
    font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
    color: #1A1A1A;
    border-bottom: 2px solid #e5e5e5;
    font-size: 20px;
    line-height: 1.5;
    letter-spacing: 0.1em;
    text-align: left;
    padding: 0 10px 5px 10px;
    margin-bottom: 20px;
}


@media only screen and (max-width:640px) and (max-device-width:1280px){
  .ex_title02 {
      font-size: 22px;
      padding-left: 10px;
  }
  .ex_title03 {
      font-size: 24px;
      padding: 0 10px;
      margin-bottom: 30px;
  }
  .ex_title04 {
      font-size: 18px;
      line-height: 36px;
  }
  .ex_title03 .none {
    display: block;
  }
}


/* Common Style
*****************************************************************************/
/* mod_breadcrumb
-----------------------------------------*/
.mod_breadcrumb{
  font-size:14px;
  background-color:#FFF;
}
.mod_breadcrumb .container{
  margin:0 auto;
  width:976px;
  display: table;
  height:40px;
  padding: 10px 0;
}
.mod_breadcrumb ul{
 display:table-cell;
 vertical-align:middle;
 font-size: 12px;
}

.mod_breadcrumb ul li{
 float:left;
}
.mod_breadcrumb ul li a:link    {color:#333;}
.mod_breadcrumb ul li a:visited {color:#333;}
.mod_breadcrumb ul li a:hover   {color:#707070;}
.mod_breadcrumb ul li a:active  {color:#707070;}

.mod_breadcrumb ul li:before {
  content: ">";
  margin: 0 7px;
  color: #9f9f9f;
}
.mod_breadcrumb ul li:first-child:before {
  content: none;
  margin: 0;
}
@media only screen and (max-width:640px) and (max-device-width:1280px){
  .mod_breadcrumb {
    display: none;
  }
}


/* browsebar-in
-----------------------------------------*/
#browsebar.fix {
    position: fixed;
    width: 100%;
    max-width: 100%;
}

#browsebar-wrapper {
  height: 47px;
}
#browsebar-in {
  width: 100%;
  border-bottom: none;
  background:#333 url('../img/bg_elderlynav.png') repeat-x top left;
  border-top: none;
}
#browsebar-name .name a {
  width: 235px;
  -webkit-transition: all .25s ease;
     -moz-transition: all .25s ease;
      -ms-transition: all .25s ease;
       -o-transition: all .25s ease;
          transition: all .25s ease;
}
#browsebar-name .name a:hover {
  opacity: 0.8;
}
#pef_bmenu {
  float: right;
  width: 680px;
}
#browsebar-in ul{
  background:#333 url('../img/bg_elderlynav_line.png') no-repeat top left;
  display: table;
  padding: 0 0 0 2px;
  width: 100%;
}
#browsebar-in ul li{
  width: 25%;
  background:#333 url('../img/bg_elderlynav_line.png') no-repeat top right;
  display: table-cell;
  font-size: 90%;
  font-weight: bold;
  padding: 0 2px 0 0;
}
#browsebar-in ul li:first-child{
	min-width: 45px;
}
#browsebar-in ul li a{
  background:#333 url('../img/bg_elderlynav_a.png') repeat-x top left;
  display: block;
  height: 47px;
  line-height: 47px;
  text-align: center;
}
#browsebar-in ul li a:link    {color:#acacac; text-decoration:none;}
#browsebar-in ul li a:visited {color:#acacac; text-decoration:none;}
#browsebar-in ul li a:hover   {color:#FFF; text-decoration:none;}
#browsebar-in ul li a:focus   {color:#FFF; text-decoration:none;}
#browsebar-in ul li a:active  {color:#acacac; text-decoration:none;}

@media only screen and (max-width:640px) and (max-device-width:1280px){
  #browsebar-wrapper{
   display:none;
  }
}

/* tab_fixed_link
-----------------------------------------*/

.tab_fixed_link {
  position: fixed;
  right: 0;
  top: 20%;
  z-index: 9999;
}
.tab_fixed_link a {
  width: 60px;
  height: 320px;
  display: block;
  background: url(../img/tab_fixed_link_hover.png) 0 0 no-repeat;
}
.tab_fixed_link a img {
  -webkit-transition: all .25s ease;
     -moz-transition: all .25s ease;
      -ms-transition: all .25s ease;
       -o-transition: all .25s ease;
          transition: all .25s ease;
}
.tab_fixed_link a:hover img { opacity: 0; }

@media only screen and (max-width:640px) and (max-device-width:1280px){
  .tab_fixed_link{
   display:none;
  }
}

/* mod_conversion
-----------------------------------------*/
#mod_conversion {
  background-color: #329342;
  width: 100%;
  margin: 0;
  padding: 0;
  display: none;
}
#mod_conversion .table a {
  display: block;
  color: #FFF;
  line-height: 50px;
  padding: 0 10px;
  font-size: 17px;
}
#mod_conversion .table a:before {
  content: "";
  width: 12px;
  height: 12px;
  margin-right: 13px;
  display: inline-block;
  position: relative;
  top: 1px;
  border-top: 2px solid #FFF;
  border-right: 2px solid #FFF;
  -webkit-transform: rotate(45deg);
     -moz-transform: rotate(45deg);
      -ms-transform: rotate(45deg);
       -o-transform: rotate(45deg);
          transform: rotate(45deg);
}
#mod_conversion .table {
  width: 100%;
  display: table;
}
#mod_conversion .table-cell {
  display: table-cell;
  vertical-align: top;
}

#slidePanelBottom {
  display: none;
}
#slidePanelBottom li {
  border-bottom: 1px solid #ddd;
}
#slidePanelBottom li a {
  background: #FFF;
  color: #329342;
  font-weight: bold;
  font-size: 15px;
  line-height: 50px;
  position: relative;
  padding: 0 15px;
  display: block;
}
#slidePanelBottom li a:after {
  content: "";
  width: 6px;
  height: 6px;
  margin-right: 13px;
  display: inline-block;
  position: absolute;
  right: 10px;
  top: 50%;
  margin-top: -3px;
  border-top: 2px solid #329342;
  border-right: 2px solid #329342;
  -webkit-transform: rotate(45deg);
     -moz-transform: rotate(45deg);
      -ms-transform: rotate(45deg);
       -o-transform: rotate(45deg);
          transform: rotate(45deg);
}

#mod_conversion .slidePanel_trigger {
  width: 50px;
  height: 50px;
  background: #fafafa;
  color: #000;
  text-align: center;
  display: table-cell;
  position: relative;
  padding-top: 14px;
  padding-left: 13px;
  box-sizing: border-box;
}

.btn_slidePanel span {
  display: inline-block;
  transition: all .4s;
  box-sizing: border-box;
}
.btn_slidePanel {
  position: relative;
  width: 26px;
  height: 20px;
}
.btn_slidePanel span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: #319b42;
  border-radius: 4px;
}
.btn_slidePanel span:nth-of-type(1) { top: 0;}
.btn_slidePanel span:nth-of-type(2) { top: 8px;}
.btn_slidePanel span:nth-of-type(3) { bottom: 0;}

.slidePanel_trigger.is-close span:nth-of-type(1) {
  transform: rotate(-45deg) translateY(7px) translateX(-5px);
}
.slidePanel_trigger.is-close span:nth-of-type(2) {
  transform: translateX(100px);
  background: rgba(255, 255, 255, 0);
}
.slidePanel_trigger.is-close span:nth-of-type(3){
  transform: rotate(45deg) translateY(-7px) translateX(-5px);
}

#slideBtnArea {
  background: #fafafa;
  padding: 20px;
  text-align: center;
}
#slideBtnArea a {
  display: inline-block;
  border-radius: 5px;
  border: 1px solid #319b42;
  background: #FFF;
  font-size: 16px;
  text-align: center;
  padding: 12px 40px;
  color: #319b42;
}

@media only screen and (max-width:640px) and (max-device-width:1280px){
  #mod_conversion {
    display: block;
    z-index: 999;
  }
}

/*  Style contentsTopBlk
*****************************************************************************/
.contentsTopBlk {
  background-color: #FFF;
  border-bottom: 1px solid #809697;
  padding: 10px 0 20px 0;
}
@media only screen and (max-width:640px) and (max-device-width:1280px){

  .contentsTopBlk {
    padding: 5px 0 15px 0;
  }

  .contentsTopBlk .container {
    padding: 0 10px;
  }

}

/*  Style contentsBottomBlk
*****************************************************************************/

.contentsBottomBlk {
  background-color: #FFF;
  padding: 40px 0 30px 0;
  text-align: center;
  border-top: 1px solid #CCCCCC;
}
.contentsBottomBlk p {
  text-align: center;
}
.contentsBottomBlk a {
  display: inline-block;
  -webkit-transition: all .25s ease;
     -moz-transition: all .25s ease;
      -ms-transition: all .25s ease;
       -o-transition: all .25s ease;
          transition: all .25s ease;
}
.contentsBottomBlk a:hover {
  opacity: 0.7;
}
.contentsBottomBlk p {
  text-align: center !important;
}
.contentsBottomBlk img {
  vertical-align: top;
}

@media only screen and (max-width:640px) and (max-device-width:1280px){

  .contentsBottomBlk {
    padding: 15px 40px;
  }

}


/* bottomlink
-----------------------------------------*/

#bottomlink {
  padding-top: 40px;
}


/* Slider
*****************************************************************************/

.bx-wrapper {
    margin-bottom: 0 !important;
}
.bx-wrapper .bx-viewport {
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    border: 0 !important;
    left: 0px;
}
.mod_billboard {
    width: 2940px;
    height: 485px;
    position: relative; left: 50%; margin-left: -1470px;
}
.mod_billboard-sp {
  display: none;
}
.mod_billboard .slideBox {
  float: left;
}
.slideBox {
  position: relative;
}
.slideBox:before {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background: rgba(0,0,0,0.2);
  display: block;
  z-index: 999;
}
.slideBox.active:before{
  display: none;
}
.slideBox .btn {
  position: absolute;
  right: 30px;
  bottom: 115px;
  z-index: 998;
}
.slideBox .btn a {
  color: #FFF;
  font-size: 17px;
  background: url(../img/arrow06.png) 25px 13px no-repeat;
  background-color: #319b42;
  font-weight: 600;
  letter-spacing: 0.05em;
  position: relative;
  padding: 13px 25px 13px 45px;
  border-radius: 3px;
  /* box-shadow */
  box-shadow:0px 0px 3px 1px rgba(0,0,0, 0.2);
  -moz-box-shadow:0px 0px 3px 1px rgba(0,0,0, 0.2);
  -webkit-box-shadow:0px 0px 3px 1px rgba(0,0,0, 0.2);

  -webkit-transition: all .25s ease;
     -moz-transition: all .25s ease;
      -ms-transition: all .25s ease;
       -o-transition: all .25s ease;
          transition: all .25s ease;
}
.slideBox .btn a:hover {
  color: #319b42;
  background: url(../img/arrow07.png) 25px 13px no-repeat;
  background-color: #FFF;
}

#page .bx-wrapper .bx-pager {
  left: 50%;
  width: 300px;
  bottom: 100px;
  margin-left: -150px;
}
#page .bx-controls-direction {
    width: 980px;
    margin: 0 auto;
    position: relative;
    z-index: 98;
}
#page .bx-wrapper .bx-controls-direction a {
    z-index: 98;
    margin-top: -25px;
    outline: 0;
    width: 50px;
    height: 50px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    -webkit-transition: all .25s linear;
       -moz-transition: all .25s linear;
        -ms-transition: all .25s linear;
         -o-transition: all .25s linear;
            transition: all .25s linear;
}
#page .bx-wrapper .bx-controls-direction a:hover {
    opacity: 0.6;
}
#page .bx-wrapper .bx-controls-direction a.bx-prev {
    top: -265px; left: -55px;
    background-image: url(../img/slider-btn-prev.png);
}
#page .bx-wrapper .bx-controls-direction a.bx-next {
    top: -265px; right: -55px;
    background-image: url(../img/slider-btn-next.png);
}
#page .bx-wrapper .bx-loading {
    background: url(../img/loader.gif) center center no-repeat #fff;
}
#page .bx-controls-direction {
    z-index: 98; position: relative;
}

#page .bx-wrapper .bx-pager.bx-default-pager a {
    background: #FFF;
    width: 9px;
    height: 9px;
    margin: 0 5px;
    outline: 0;
    border: 1px solid #FFF;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    box-shadow:0px 0px 10px -1px rgba(0,0,0,0.8);
    -moz-box-shadow:0px 0px 10px -1px rgba(0,0,0,0.8);
    -webkit-box-shadow:0px 0px 10px -1px rgba(0,0,0,0.8);
    -webkit-transition: all .25s linear;
       -moz-transition: all .25s linear;
        -ms-transition: all .25s linear;
         -o-transition: all .25s linear;
            transition: all .25s linear;
}
#page .bx-wrapper .bx-pager.bx-default-pager a:hover{
    background: #ddd;
}
#page .bx-wrapper .bx-pager.bx-default-pager a.active {
    border: 1px solid #FFF;
    background: transparent;
}



@media only screen and (max-width:768px) and (max-device-width:1536px){

    .mod_billboard-pc {
      display: none;
    }
    .mod_billboard-sp {
        width: 100%;
        height: auto;
        min-height: 158px;
        display: block;
        position: inherit; left: 0%; margin-left: 0px;
    }
    #page .mod_billboard-sp .bx-controls-direction {
        width: 100%; position: inherit;
    }
    #page .mod_billboard-sp .bx-controls-direction a {
        margin-top: -13px;
        width: 25px;
        height: 25px;
    }
    #page .mod_billboard-sp .bx-controls-direction a.bx-prev {
        top: 50%; left: 5px;
    }
    #page .mod_billboard-sp .bx-controls-direction a.bx-next {
        top: 50%; right: 5px;
    }
    #page .mod_billboard-sp .bx-pager {
        width: 100px;
        bottom: 10px;
        text-align: left;
        left: 0;
        margin-left: 10px;
    }
    #page .mod_billboard-sp .bx-pager.bx-default-pager a {
        width: 7px; height: 7px;
    }
    #page .mod_billboard-sp img {
        width: 100%;
        height: auto;
    }
  .mod_billboard-sp .slider a {
    position: relative;
    display: block;
  }
  .mod_billboard-sp .nav {
    font-size: 13px;
    display: block;
    color: #FFF;
    padding: 5px 10px 5px 20px;
    background: url(../img/arrow06.png) 10px center no-repeat;
    background-size: 5px auto;
    background-color: #319b42;
    position: absolute;
    bottom: 10px; right: 10px;
    border-radius: 5px;
  }
}

/* linkBlk
-----------------------------------------*/
.linkBlk {
  background-color: #FFF;
  padding: 80px 0;
}

.linkBlk ul {
  overflow: hidden;
}
.linkBlk ul li {
  width: 242px;
  float: left;
  margin: 1px;
}
.linkBlk ul li a {
  color: #009BC6;
  line-height: 80px;
  padding: 0 30px;
  background-color: #E5E5E5;
  display: block;
  position: relative;
  -webkit-transition: all .25s ease;
     -moz-transition: all .25s ease;
      -ms-transition: all .25s ease;
       -o-transition: all .25s ease;
          transition: all .25s ease;
}
.linkBlk ul li a:after {
  content: "";
  width: 0;
  height: 0;
  border-top: 22px solid transparent;
  border-left: 24px solid #transparent;
  border-bottom: 24px solid #transparent;
  border-right: 24px solid #C0D1AB;
  display: block;
  position: absolute;
  bottom: 0; right: 0;
}
.linkBlk ul li a:hover {
  opacity: 0.7;
}

@media only screen and (max-width:768px) and (max-device-width:1536px){

  .linkBlk {
    padding: 0px 0;
  }
  .linkBlk ul li a {
    background-color: #FFF;
    font-size: 16px;
    line-height: 45px;
    padding: 0 20px;
  }
  .linkBlk ul {
    overflow: hidden;
  }
  .linkBlk ul li {
    width: 100%;
    float: none;
    border-bottom: 1px solid #E5E5E5;
    margin: 0 0 0px 0;
  }
}


/* POP UP
*****************************************************************************/
/*! Lity - v2.2.2 - 2016-12-14
* http://sorgalla.com/lity/
* Copyright (c) 2015-2016 Jan Sorgalla; Licensed MIT */
.lity {
  z-index: 9999;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  white-space: nowrap;
  background: #0b0b0b;
  background: rgba(0, 0, 0, 0.9);
  outline: none !important;
  opacity: 0;
  -webkit-transition: opacity 0.3s ease;
  -o-transition: opacity 0.3s ease;
  transition: opacity 0.3s ease;
}
.lity.lity-opened {
  opacity: 1;
}
.lity.lity-closed {
  opacity: 0;
}
.lity * {
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}
.lity-wrap {
  z-index: 9990;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 15px;
  text-align: center;
  outline: none !important;
}
.lity-wrap:before {
  content: '';
  display: inline-block;
  height: 100%;
  vertical-align: middle;
  margin-right: -0.25em;
}
.lity-loader {
  z-index: 9991;
  color: #fff;
  position: absolute;
  top: 50%;
  margin-top: -0.8em;
  width: 100%;
  text-align: center;
  font-size: 14px;
  font-family: Arial, Helvetica, sans-serif;
  opacity: 0;
  -webkit-transition: opacity 0.3s ease;
  -o-transition: opacity 0.3s ease;
  transition: opacity 0.3s ease;
}
.lity-loading .lity-loader {
  opacity: 1;
}
.lity-container {
  z-index: 9992;
  position: relative;
  text-align: left;
  vertical-align: middle;
  display: inline-block;
  white-space: normal;
  max-width: 100%;
  max-height: 100%;
  outline: none !important;
}
.lity-content {
  z-index: 9993;
  width: 100%;
  -webkit-transform: scale(1);
      -ms-transform: scale(1);
       -o-transform: scale(1);
          transform: scale(1);
  -webkit-transition: -webkit-transform 0.3s ease;
  transition: -webkit-transform 0.3s ease;
  -o-transition: -o-transform 0.3s ease;
  transition: transform 0.3s ease;
  transition: transform 0.3s ease, -webkit-transform 0.3s ease, -o-transform 0.3s ease;
}
.lity-loading .lity-content,
.lity-closed .lity-content {
  -webkit-transform: scale(0.8);
      -ms-transform: scale(0.8);
       -o-transform: scale(0.8);
          transform: scale(0.8);
}
.lity-content:after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  display: block;
  right: 0;
  width: auto;
  height: auto;
  z-index: -1;
  -webkit-box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
          box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
}
.lity-close {
  z-index: 9994;
  width: 50px;
  height: 50px;
  background-color: #FFF;
  display: block;
  position: fixed;
  right: 20px;
  top: 20px;
  -webkit-appearance: none;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  padding: 0;
  color: #319b42;
  font-style: normal;
  font-size: 35px;
  font-family: Arial, Baskerville, monospace;
  line-height: 35px;
  /*text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);*/
  border: 1px solid #319b42;
  /*border: 0;*/
  /*background: none;*/
  border-radius: 50%;
  outline: none;
  -webkit-box-shadow: none;
          box-shadow: none;
  -webkit-transition: all .25s ease;
     -moz-transition: all .25s ease;
      -ms-transition: all .25s ease;
       -o-transition: all .25s ease;
          transition: all .25s ease;
}
.lity-close::-moz-focus-inner {
  border: 0;
  padding: 0;
}
.lity-close:hover,
.lity-close:focus,
.lity-close:active,
.lity-close:visited {
  text-decoration: none;
  text-align: center;
  padding: 0;
  color: #fff;
  font-style: normal;
  font-size: 35px;
  font-family: Arial, Baskerville, monospace;
  line-height: 35px;
  /*text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);*/
  border: 0;
  background: #319b42;
  outline: none;
  -webkit-box-shadow: none;
          box-shadow: none;
}
.lity-close:active {
  top: 1px;
}
/* Image */
.lity-image img {
  max-width: 100%;
  display: block;
  line-height: 0;
  border: 0;
}
/* iFrame */
.lity-iframe .lity-container,
.lity-youtube .lity-container,
.lity-vimeo .lity-container,
.lity-facebookvideo .lity-container,
.lity-googlemaps .lity-container {
  width: 100%;
  max-width: 964px;
}
.lity-iframe-container {
  width: 100%;
  height: 0;
  padding-top: 56.25%;
  overflow: auto;
  pointer-events: auto;
  -webkit-transform: translateZ(0);
          transform: translateZ(0);
  -webkit-overflow-scrolling: touch;
}
.lity-iframe-container iframe {
  position: absolute;
  display: block;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -webkit-box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
          box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
  background: #000;
}
.lity-hide {
  display: none;
}

@media only screen and (max-width:768px) and (max-device-width:1536px){

  .lity-close {
    width: 40px;
    height: 40px;
    right: 15px;
    top: 15px;
  }
}