@charset "UTF-8";
/**
 * layout.css
 *
 * 1.0 - Header
 *   1.1 - Header List
 *
 * 2.0 - Footer
 *
 * 3.0 - Content
 *   3.1 - Main
 *   3.2 - Summary / ミッツガルド大陸と異世界を愛する冒険者に贈る、豪華客船の旅
 *   3.3 - About /クルーズについて
 *   3.4 - Place / 乗船場所
 *   3.5 - Schedule / 出航スケジュール
 *   3.6 - Course / おすすめコース
 *
 * 10.0 - Plugin
 *    10.1 - Magnific-Popup
**/
/**
 * 1.0 - Header
 * ----------------------------------------------------------------------------
 */
#gungho {
  width: 100%;
  height: 31px;
  background: #fff;
  border-bottom: 4px solid #ccc;
}
#gungho .inner {
  width: 1000px;
  height: 31px;
  margin: 0 auto;
  position: relative;
}
#gungho #ragnarok {
  position: absolute;
  top: 0;
  left: 0;
}
#gungho #roInfo {
  position: absolute;
  overflow: hidden;
  top: 0;
  right: 0;
  font-size: 12px;
  line-height: 31px;
}
#gungho #roInfo li {
  float: left;
  margin-right: 15px;
}
#gungho #roInfo li a {
  color: #555;
}

#sns {
  overflow: hidden;
  width: 960px;
  height: 40px;
  margin: 0 auto;
}
#snsWrap {
  width: 100%;
  height: 40px;
  position: absolute;
  top: 42px;
  z-index: 9998;
}
#sns .snsInner {
  padding: 10px 0;
  float: right;
}
#sns .snsInner li {
  float: left;
  width: 110px;
}

/**
 * 2.0 - Footer
 * ----------------------------------------------------------------------------
 */
#footer {
  padding-top: 70px;
  background-color: #000;
  border-top: 2px solid #b47f58;
}
#footer > h2 {
  text-align: center;
  padding: 15px 0;
}
#footer .startRO {
  padding-bottom: 50px;
  text-align: center;
}
#footer .startRO p {
  padding-top: 10px;
  font-size: 14px;
}
#footer .startRO p a {
  text-decoration: underline;
  color: #fff;
}
#footer .startRO p a:hover {
  filter: alpha(opacity=70);
  -moz-opacity: 0.7;
  opacity: 0.7;
}
#footer .line {
  text-align: center;
}
#footer .f-sns {
  margin: 0 auto;
  padding: 35px 0;
  width: 655px;
  font-size: 0;
  line-height: 0;
}
#footer .f-sns li {
  display: inline-block;
  margin-left: 55px;
  width: 300px;
}
#footer .f-sns li:first-child {
  margin-left: 0;
}
#footer .credit {
  text-align: center;
  font-size: 12px;
  font-weight: bold;
  color: #5a5a5a;
  padding: 15px 0 80px;
}

/**
 * 3.0 - Content
 * ----------------------------------------------------------------------------
 */
[class*="Area"] {
  position: relative;
  padding: 70px 20px;
  text-align: center;
}
[class*="Area"] .common-inner {
  padding-left: 0;
  padding-right: 0;
}

/* 3.1 - Main
----------------------------------*/
.mainArea {
  padding-top: 40px;
  height: 736px;
  background: #008bee url(../img/main/bg.jpg) center top no-repeat;
}
.mainArea:after {
  position: absolute;
  content: '';
  left: 0;
  bottom: 0;
  width: 100%;
  height: 60px;
  background: url(../img/main/line.png) center top repeat;
}
.main-title {
  padding-left: 16px;
}
.main-schedule {
  position: absolute;
  z-index: 2;
  margin: 0 auto;
  left: 0;
  right: 0;
  bottom: 36px;
}

/* 3.2 - Summary / ミッツガルド大陸と異世界を愛する冒険者に贈る、豪華客船の旅
----------------------------------*/
.summaryArea {
  background: #f5e9db url(../img/summary/bg.jpg) center top repeat;
}
.summaryArea .common-inner {
  width: 810px;
}
.summaryArea p {
  margin: 0 auto;
  max-width: 760px;
  font-size: 22px;
  line-height: 1.6em;
}
.summaryArea .table-cell p {
  font-size: 20px;
  font-family: "ヒラギノ明朝 ProN W3", "HiraMinProN-W3", "HG明朝E", "ＭＳ Ｐ明朝", "MS PMincho", "MS 明朝", serif;
}

/* 3.3 - About /クルーズについて
----------------------------------*/
.aboutArea {
  background: #684a33 url(../img/about/bg.jpg) center top repeat;
}
.aboutArea .guideArea {
  margin: 0 auto;
  padding: 35px 0;
  width: 960px;
  background-color: #fff;
  -webkit-box-shadow: 0 0 20px 4px rgba(0, 0, 0, 0.4);
  -moz-box-shadow: 0 0 20px 4px rgba(0, 0, 0, 0.4);
  -ms-box-shadow: 0 0 20px 4px rgba(0, 0, 0, 0.4);
  -o-box-shadow: 0 0 20px 4px rgba(0, 0, 0, 0.4);
  box-shadow: 0 0 20px 4px rgba(0, 0, 0, 0.4);
}
.aboutArea .guide-list .gl-item {
  position: relative;
  margin: 30px 5px 0;
  padding: 10px 0 112px;
  width: 290px;
  background-color: #fff;
  border: 2px solid #884400;
  -webkit-box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.3);
  -moz-box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.3);
  -ms-box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.3);
  -o-box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.3);
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.3);
}
.aboutArea .guide-list .gl-item:before, .aboutArea .guide-list .gl-item:after,
.aboutArea .guide-list .gl-item .guide-detail:before, .aboutArea .guide-list .gl-item .guide-detail:after {
  position: absolute;
  z-index: 2;
  content: '';
  width: 48px;
  height: 48px;
  background: url(../img/about/bg_deco.png) 0 0 no-repeat;
}
.aboutArea .guide-list .gl-item:before {
  top: -6px;
  left: -6px;
}
.aboutArea .guide-list .gl-item:after {
  top: -6px;
  right: -6px;
  background-position: 0 -100px;
}
.aboutArea .guide-list .gl-item .guide-detail {
  padding: 20px 15px 5px;
  text-align: left;
}
.aboutArea .guide-list .gl-item .guide-detail:before {
  bottom: -6px;
  left: -6px;
  background-position: 0 -200px;
}
.aboutArea .guide-list .gl-item .guide-detail:after {
  bottom: -6px;
  right: -6px;
  background-position: 0 -300px;
}
.aboutArea .guide-list .gl-item .guide-item {
  position: absolute;
  margin: 0 auto;
  left: 0;
  right: 0;
  bottom: 0;
}

/* 3.4 - Place / 乗船場所
----------------------------------*/
.placeArea {
  text-align: left;
  background: #ebcd91 url(../img/place/bg.jpg) center top no-repeat;
}
.place-detail {
  position: relative;
  z-index: 2;
  margin: 60px auto 0;
  padding-right: 300px;
  width: 860px;
  height: 290px;
  font-size: 20px;
  background: url(../img/place/bg_guide.png) right top no-repeat;
}
.place-detail .marker {
  position: relative;
  display: inline-block;
  font-size: 24px;
  font-weight: normal;
}
.place-detail .marker:after {
  position: absolute;
  z-index: -1;
  content: '';
  margin: 0 auto;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 10px;
  background-color: #ffde00;
}

/* 3.5 - Schedule / 出航スケジュール
----------------------------------*/
.scheduleArea {
  background: url(../img/schedule/bg.jpg) center top no-repeat;
}
.schedule-desc {
  position: relative;
  padding: 40px 20px;
  background-color: #fff;
}
.schedule-desc:after {
  position: absolute;
  content: '';
  margin: 0 auto;
  left: 0;
  right: 0;
  bottom: -18px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 18px 15px 0 15px;
  border-color: #fff transparent transparent transparent;
}
.schedule-desc [data-desc-icon] {
  position: relative;
  text-align: left;
  font-size: 23px;
  font-weight: bold;
  line-height: 1em;
  vertical-align: middle;
}
.schedule-desc [data-desc-icon] .ico {
  position: absolute;
  z-index: 2;
  content: '';
  margin: auto 0;
  left: 0;
  top: 0;
  bottom: 0;
}
.schedule-desc [data-desc-icon]:after {
  position: absolute;
  z-index: 1;
  content: '';
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1px;
  background-color: #000;
}
.schedule-desc [data-desc-icon][data-desc-icon="exp"] {
  margin-right: 20px;
  padding-left: 90px;
  width: 410px;
}
.schedule-desc [data-desc-icon][data-desc-icon="zeny"] {
  margin-left: 20px;
  padding-left: 75px;
  width: 470px;
}
.schedule-detail {
  margin: 60px auto 0;
  padding: 30px 60px;
  max-width: 960px;
  background: url(../img/common/bg_ptn_02.jpg) 0 0 repeat;
  -webkit-box-shadow: 0 2px 2px 0px rgba(0, 0, 0, 0.6);
  -moz-box-shadow: 0 2px 2px 0px rgba(0, 0, 0, 0.6);
  -ms-box-shadow: 0 2px 2px 0px rgba(0, 0, 0, 0.6);
  -o-box-shadow: 0 2px 2px 0px rgba(0, 0, 0, 0.6);
  box-shadow: 0 2px 2px 0px rgba(0, 0, 0, 0.6);
}
.schedule-detail .table-cell > li {
  vertical-align: top;
}
.schedule-detail p {
  font-size: 20px;
  line-height: 1.5em;
}
.schedule-wrap {
  margin: 50px auto 0;
  padding: 7px;
  width: 980px;
  border: 3px solid #000;
  background-color: #ded3ac;
}
.schedule-nav {
  display: table;
  width: 100%;
  table-layout: fixed;
}
.schedule-nav > * {
  display: table-cell;
}
.schedule-nav [data-scroll-target] {
  width: 310px;
  height: 69px;
  background: url(../img/schedule/btn_nav.png) 0 0 no-repeat;
  font-size: 18px;
  text-align: center;
  cursor: pointer;
  overflow: hidden;
  text-indent: 100%;
  white-space: nowrap;
}
.schedule-nav [data-scroll-target][data-scroll-target="season-01"] {
  background-position: 0 0px;
}
.schedule-nav [data-scroll-target][data-scroll-target="season-01"].active, .schedule-nav [data-scroll-target][data-scroll-target="season-01"]:hover {
  background-position: -500px 0px;
}
.schedule-nav [data-scroll-target][data-scroll-target="season-02"] {
  background-position: 0 -100px;
}
.schedule-nav [data-scroll-target][data-scroll-target="season-02"].active, .schedule-nav [data-scroll-target][data-scroll-target="season-02"]:hover {
  background-position: -500px -100px;
}
.schedule-nav [data-scroll-target][data-scroll-target="season-03"] {
  background-position: 0 -200px;
}
.schedule-nav [data-scroll-target][data-scroll-target="season-03"].active, .schedule-nav [data-scroll-target][data-scroll-target="season-03"]:hover {
  background-position: -500px -200px;
}

.calendarArea {
  position: relative;
  height: 630px;
}
.calendarArea [data-season-bg] {
  background: url(../img/common/bg_ptn_stripe_01.png) 0 0 repeat;
}
.calendarArea [data-season-bg]:after {
  background: url(../img/common/bg_ptn_stripe_01.png) 0 0 repeat;
}
.calendarArea [data-season-bg][data-season-bg*="-"] {
  position: relative;
}
.calendarArea [data-season-bg][data-season-bg*="-"]:after {
  position: absolute;
  z-index: 1;
  content: '';
  top: 0;
  right: 0;
}
.calendarArea [data-season-bg][data-season-bg^="01-"]:after, .calendarArea [data-season-bg][data-season-bg^="02"] {
  background-image: url(../img/common/bg_ptn_stripe_02.png);
}
.calendarArea [data-season-bg][data-season-bg^="01"] {
  background-color: #67d6c5;
}
.calendarArea [data-season-bg][data-season-bg^="01"][data-season-bg^="01-"]:after {
  background-color: #32b0d9;
}
.calendarArea [data-season-bg][data-season-bg^="02"] {
  background-color: #32b0d9;
}
.calendarArea [data-season-bg][data-season-bg^="02"][data-season-bg^="02-"]:after {
  background-color: #6ca6dc;
}
.calendarArea [data-season-bg][data-season-bg^="03"] {
  background-color: #6ca6dc;
}
.calendarArea [data-season-bg][data-season-bg^="03"][data-season-bg^="03-"]:after {
  background-color: #fff;
}
.calendarArea .iScrollLoneScrollbar {
  left: 10px !important;
  right: 10px !important;
  bottom: 8px !important;
  height: 20px !important;
}
.calendarArea .iScrollIndicator {
  background-color: #828282 !important;
  -webkit-border-radius: 15px !important;
  -moz-border-radius: 15px !important;
  -ms-border-radius: 15px !important;
  -o-border-radius: 15px !important;
  border-radius: 15px !important;
  border: none !important;
}
.calendar-wrap {
  display: block;
  position: absolute;
  z-index: 3;
  top: 0;
  left: 0;
  width: 960px;
  height: 630px;
  border: 1px solid #000;
  border-right: none;
  background-color: #fff;
  overflow: hidden;
}
.calendar-list {
  position: absolute;
  top: 0;
  z-index: 1;
  white-space: nowrap;
  font-size: 0;
  list-style: none;
}
.calendar-list > * {
  display: inline-block;
  vertical-align: top;
  font-size: 18px;
}
.calendar-list .cl-day {
  width: 92px;
  height: 630px;
  text-align: center;
  border-right: 1px solid #000;
}
.calendar-list .cl-day[data-season-bg*="-"] {
  position: relative;
}
.calendar-list .cl-day[data-season-bg*="-"]:after {
  width: 82px;
  height: 100%;
}
.calendar-list .cl-day p {
  position: relative;
  z-index: 2;
  margin-bottom: 3px;
  padding: 2px 5px;
  border-bottom: 1px solid #000;
  background-color: #fff;
  text-align: center;
}
.calendar-list .badge {
  position: relative;
  z-index: 3;
}
.calendar-link {
  position: relative;
  z-index: 3;
  margin-top: 10px;
  margin-left: 10px;
  width: 92px;
}
.calendar-link[data-season="01"] .cl-link {
  width: 334px;
}
.calendar-link[data-season="01"] .cl-link:after {
  left: 324px;
  width: 320px;
}
.calendar-link[data-season="02"] .cl-link {
  width: 434px;
}
.calendar-link[data-season="02"] .cl-link:after {
  left: 424px;
  width: 220px;
}
.calendar-link[data-season="03"] .cl-link {
  width: 364px;
}
.calendar-link[data-season="03"] .cl-link:after {
  left: 354px;
  width: 290px;
}
.calendar-link .cl-link {
  position: relative;
  display: block;
  margin-bottom: 10px;
  padding: 5px;
  text-align: center;
  font-size: 19px;
  font-family: "ヒラギノ明朝 ProN W3", "HiraMinProN-W3", "HG明朝E", "ＭＳ Ｐ明朝", "MS PMincho", "MS 明朝", serif;
  cursor: pointer;
}
.calendar-link .cl-link[data-link-border="true"]:before {
  position: absolute;
  z-index: -1;
  content: '';
  padding: 4px;
  top: -4px;
  left: -4px;
  width: 100%;
  height: 100%;
  -webkit-box-sizing: content-box;
  -moz-box-sizing: content-box;
  -ms-box-sizing: content-box;
  -o-box-sizing: content-box;
  box-sizing: content-box;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  -ms-border-radius: 4px;
  -o-border-radius: 4px;
  border-radius: 4px;
}
.calendar-link .cl-link[data-link-border="true"]:after {
  background-position: right -200px;
}
.calendar-link .cl-link[data-link-border="true"][data-link-type="line"]:after {
  background-position: left -200px;
}
.calendar-link .cl-link[data-link-bg][data-link-bg="exp"] {
  background-color: #ffde00;
}
.calendar-link .cl-link[data-link-bg][data-link-bg="exp"][data-link-border="true"]:before {
  background-color: #003cff;
}
.calendar-link .cl-link[data-link-bg][data-link-bg="zeny"] {
  color: #fff;
  background-color: #003cff;
}
.calendar-link .cl-link[data-link-bg][data-link-bg="zeny"]:after {
  background-position: right -100px;
}
.calendar-link .cl-link[data-link-bg][data-link-bg="zeny"][data-link-type="line"]:after {
  background-position: left -100px;
}
.calendar-link .cl-link[data-link-bg][data-link-bg="zeny"][data-link-border="true"]:before {
  background-color: #ffde00;
}
.calendar-link .cl-link[data-link-bg][data-link-bg="zeny"][data-link-border="true"]:after {
  background-position: right -300px;
}
.calendar-link .cl-link[data-link-bg][data-link-bg="zeny"][data-link-border="true"][data-link-type="line"]:after {
  background-position: left -300px;
}
.calendar-link .cl-link[data-link-type]:after {
  position: absolute;
  content: '';
  z-index: -1;
  margin: auto 0;
  top: 0;
  bottom: 0;
  height: 28px;
  background: url(../img/schedule/arrow.png) right 0 no-repeat;
}
.calendar-link .cl-link[data-link-type][data-link-type="line"]:after {
  background-position: left 0;
}
.calendar-link .cl-link small {
  font-size: .85em;
}

/* 3.6 - Course / おすすめコース
----------------------------------*/
.courseArea {
  text-align: left;
}
.courseArea [data-season-bg="01"] .course-title {
  background-color: #67d6c5;
}
.courseArea [data-season-bg="01"] .course-title:before {
  background-position: 0 0px;
}
.courseArea [data-season-bg="02"] .course-title {
  background-color: #32b0d9;
}
.courseArea [data-season-bg="02"] .course-title:before {
  background-position: 0 -100px;
}
.courseArea [data-season-bg="03"] .course-title {
  background-color: #6ca6dc;
}
.courseArea [data-season-bg="03"] .course-title:before {
  background-position: 0 -200px;
}
.course-detail {
  position: relative;
  z-index: 2;
  margin: 60px auto 0;
  padding-right: 330px;
  width: 860px;
  height: 300px;
  font-size: 20px;
  font-weight: bold;
  background: url(../img/place/bg.png) right top no-repeat;
}
.course-detail .marker {
  position: relative;
  display: inline-block;
  font-size: 24px;
}
.course-detail .marker:after {
  position: absolute;
  z-index: -1;
  content: '';
  margin: 0 auto;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 10px;
  background-color: #ffde00;
}
.course-item {
  margin-top: 60px;
  padding-bottom: 60px;
  width: 960px;
  background-color: #fff;
}
.course-item > p {
  text-align: center;
}
.course-title {
  position: relative;
  width: 100%;
  height: 70px;
  overflow: hidden;
  text-indent: 100%;
  white-space: nowrap;
}
.course-title:before {
  position: absolute;
  content: '';
  margin: auto;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 590px;
  height: 40px;
  background: url(../img/course/text_heading.png) 0 0 no-repeat;
}
.course-list {
  padding: 50px 70px 40px;
  display: table;
  width: 100%;
  table-layout: fixed;
}
.course-list > * {
  display: table-cell;
}
.course-list .cl-detail {
  vertical-align: middle;
}
.course-list .cl-image {
  width: 384px;
  vertical-align: middle;
}

/**
 * 10.0 - Plugin
 * ----------------------------------------------------------------------------
 */
/* 10.1 - Magnific-Popup
----------------------------------*/
.popup-wrap {
  position: relative;
  margin: 0 auto;
  padding: 20px;
  max-width: 640px;
  width: 100%;
  background-color: #fff;
  text-align: center;
  overflow: hidden;
}
.popup-wrap img {
  width: 100%;
}
.popup-wrap[data-popup="event"] {
  background: url(../img/common/bg_ptn_03.png) 0 0 repeat;
}
.popup-wrap[data-popup="event"] .eventArea {
  padding: 0;
  background-color: #fff;
}
.popup-wrap[data-popup="event"] .event-title {
  display: inline-block;
  margin-bottom: 10px;
  padding-bottom: 2px;
  font-size: 26px;
  font-weight: bold;
  font-family: "ヒラギノ明朝 ProN W3", "HiraMinProN-W3", "HG明朝E", "ＭＳ Ｐ明朝", "MS PMincho", "MS 明朝", serif;
  border-bottom: 1px solid #fff;
}
.popup-wrap[data-popup="event"] .event-title a {
  color: #fff;
}
.popup-wrap[data-popup="event"] .event-heading {
  padding: 5px;
  background-color: #b6deff;
  font-size: 24px;
  font-weight: bold;
  font-family: "ヒラギノ明朝 ProN W3", "HiraMinProN-W3", "HG明朝E", "ＭＳ Ｐ明朝", "MS PMincho", "MS 明朝", serif;
}
.popup-wrap[data-popup="event"] .event-detail {
  padding: 20px;
  text-align: left;
}

.mfp-bg {
  position: fixed;
  z-index: 1042;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000;
  filter: alpha(opacity=20);
  -moz-opacity: 0.2;
  opacity: 0.2;
  overflow: hidden;
}

.mfp-wrap {
  position: fixed;
  z-index: 1043;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  outline: none !important;
  -webkit-backface-visibility: hidden;
}

.mfp-container {
  text-align: center;
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  margin: 0 auto;
  padding: 0;
  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;
  z-index: 1045;
  display: inline-block;
  vertical-align: middle;
  margin: 0 auto;
  text-align: left;
}

.mfp-inline-holder .mfp-content, .mfp-inline-holder .mfp-ajax-holder .mfp-content {
  width: 100%;
  max-width: 640px;
  cursor: auto;
}

.mfp-ajax-cur {
  cursor: progress;
}

.mfp-zoom-out-cur {
  cursor: -moz-zoom-out;
  cursor: -webkit-zoom-out;
  cursor: zoom-out;
}
.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 {
  position: absolute;
  z-index: 1044;
  color: #ccc;
  top: 40%;
  width: auto;
  text-align: center;
  margin-top: -0.8em;
  left: 8px;
  right: 8px;
}
.mfp-preloader a {
  color: #ccc;
}
.mfp-preloader a:hover {
  color: #fff;
}

.mfp-s-ready .mfp-preloader, .mfp-s-error .mfp-content {
  display: none;
}

button.mfp-close, button.mfp-arrow {
  z-index: 1046;
  display: block;
  padding: 0;
  cursor: pointer;
  border: 0;
  -webkit-appearance: none;
  outline: none;
  box-shadow: none;
  overflow: visible;
  touch-action: manipulation;
}
button::-moz-focus-inner {
  padding: 0;
  border: 0;
}

.mfp-close {
  position: absolute;
  margin: 0 auto;
  top: 0;
  right: 0;
  width: 40px;
  height: 40px;
  text-indent: -9999px;
  background: url(../img/common/btn_close.png) 0 0 no-repeat;
}

.mfp-close-btn-in .mfp-close {
  color: #333;
}

.mfp-image-holder .mfp-close, .mfp-iframe-holder .mfp-close {
  bottom: -90px;
}

.mfp-counter {
  position: absolute;
  top: 0;
  right: 0;
  color: #ccc;
  font-size: 12px;
  line-height: 18px;
  white-space: nowrap;
}

.mfp-arrow {
  position: absolute;
  margin: auto 0;
  top: 0;
  bottom: 0;
  padding: 0;
  width: 48px;
  height: 60px;
  background: url(../img/common/btn_arrow.png) 0 0 no-repeat;
  -webkit-tap-highlight-color: transparent;
}
.mfp-arrow-left {
  left: 0;
  background-position: 0 0;
}
.mfp-arrow-left:hover, .mfp-arrow-left:focus {
  background-position: -100px 0;
}
.mfp-arrow-right {
  right: 0;
  background-position: 0 -100px;
}
.mfp-arrow-right:hover, .mfp-arrow-right:focus {
  background-position: -100px -100px;
}

.mfp-iframe-holder .mfp-content {
  line-height: 0;
  width: 100%;
  max-width: 900px;
}

.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: 20px;
    padding-right: 20px;
  }
  .mfp-container.mfp-inline-holder {
    padding-left: 0;
    padding-right: 0;
  }
}
/**
 * Fade-zoom animation for first dialog
 */
.mfp-zoom-in .zoom-anim-dialog {
  opacity: 0;
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
  -webkit-transform: scale(0.8);
  -moz-transform: scale(0.8);
  -ms-transform: scale(0.8);
  -o-transform: scale(0.8);
  transform: scale(0.8);
}
.mfp-zoom-in.mfp-ready .zoom-anim-dialog {
  opacity: 1;
  -webkit-transform: scale(1);
  -moz-transform: scale(1);
  -ms-transform: scale(1);
  -o-transform: scale(1);
  transform: scale(1);
}
.mfp-zoom-in.mfp-removing .zoom-anim-dialog {
  -webkit-transform: scale(0.8);
  -moz-transform: scale(0.8);
  -ms-transform: scale(0.8);
  -o-transform: scale(0.8);
  transform: scale(0.8);
  opacity: 0;
}
.mfp-zoom-in.mfp-bg {
  opacity: 0;
  -webkit-transition: opacity 0.3s ease-out;
  -moz-transition: opacity 0.3s ease-out;
  -o-transition: opacity 0.3s ease-out;
  transition: opacity 0.3s ease-out;
}
.mfp-zoom-in.mfp-ready.mfp-bg {
  filter: alpha(opacity=20);
  -moz-opacity: 0.2;
  opacity: 0.2;
}
.mfp-zoom-in.mfp-removing.mfp-bg {
  opacity: 0;
}

.mfp-slide-bottom .zoom-anim-dialog {
  opacity: 0;
  -webkit-transition: all 0.2s ease-out;
  -moz-transition: all 0.2s ease-out;
  -o-transition: all 0.2s ease-out;
  transition: all 0.2s ease-out;
  -webkit-transform: translateY(-20px) perspective(600px) rotateX(10deg);
  -moz-transform: translateY(-20px) perspective(600px) rotateX(10deg);
  -ms-transform: translateY(-20px) perspective(600px) rotateX(10deg);
  -o-transform: translateY(-20px) perspective(600px) rotateX(10deg);
  transform: translateY(-20px) perspective(600px) rotateX(10deg);
}
.mfp-slide-bottom.mfp-ready .zoom-anim-dialog {
  opacity: 1;
  -webkit-transform: translateY(0) perspective(600px) rotateX(0);
  -moz-transform: translateY(0) perspective(600px) rotateX(0);
  -ms-transform: translateY(0) perspective(600px) rotateX(0);
  -o-transform: translateY(0) perspective(600px) rotateX(0);
  transform: translateY(0) perspective(600px) rotateX(0);
}
.mfp-slide-bottom.mfp-removing .zoom-anim-dialog {
  opacity: 0;
  -webkit-transform: translateY(-10px) perspective(600px) rotateX(10deg);
  -moz-transform: translateY(-10px) perspective(600px) rotateX(10deg);
  -ms-transform: translateY(-10px) perspective(600px) rotateX(10deg);
  -o-transform: translateY(-10px) perspective(600px) rotateX(10deg);
  transform: translateY(-10px) perspective(600px) rotateX(10deg);
}
.mfp-slide-bottom.mfp-bg {
  opacity: 0;
  -webkit-transition: opacity 0.3s ease-out;
  -moz-transition: opacity 0.3s ease-out;
  -o-transition: opacity 0.3s ease-out;
  transition: opacity 0.3s ease-out;
}
.mfp-slide-bottom.mfp-ready.mfp-bg {
  opacity: 0.8;
}
.mfp-slide-bottom.mfp-removing.mfp-bg {
  opacity: 0;
}
