@charset 'UTF-8';

/* **********************************************************************
 *
 *       Title:  master.css
 *
 ********************************************************************** */

/* IE用印刷設定CSS
======================================================= */

@media print {
	body {
		_zoom: 67%; /*WinIE only */
	}
}

/* 基本設定
======================================================= */

* {
	margin: 0;
	padding: 0;
}

html { font-size: 62.5%; }

body {
	padding: 100px 0 0;
	font-size: 10px;
	font-size: 1.0rem;
	font-family: 'Noto Sans JP', 'メイリオ', 'Meiryo', 'Hiragino Kaku Gothic ProN','Hiragino Sans', 'ＭＳ Ｐゴシック', 'Helvetica', 'Arial', 'sans-serif';
	line-height: 1.8;
	position: relative;
	min-width: 1100px;
	text-align: left;
	color: #253345;
	background: #fff;
}

a:link,
a:visited {
	text-decoration: underline;
	color: #3B72BA;
}
a:hover,
a:active {
	text-decoration: none;
	color: #3B72BA;
}

a:focus {
	outline: none;
}

address,caption,cite,code,dfn,em,th,var {
	font-weight: normal;
	font-style: normal;
}

ul {
	margin: 5px 0 5px 10px;
	padding: 0 0 0 10px;
}

ol {
	margin: 5px 0 5px 15px;
	padding: 0 0 0 20px;
}

iframe {
	border: none;
}

img {
	max-width: 100%;
	height: auto;
	line-height: 1;
	vertical-align: top;
	border: 0;
}

.overimg {
	opacity: 1;
	transition: opacity .3s;
}

.overimg:hover {
	opacity: .7 !important;
}

.fadein {
	opacity: 0;
	transform: translateY(20px);
	transition: all 1s;
}

input[type="text"],
input[type="email"],
input[type="tel"] {
	width: 100%;
	padding: 14px 16px;
	border: 1px solid #D3D6DA;
	box-sizing: border-box;
	font-size: 16px;
	font-size: 1.6rem;
	border-radius: 0;
	-webkit-appearance: none;
	appearance: none;
}

input[type="radio"],
input[type="checkbox"] {
	margin: 0 8px 0 0;
}

input[type="submit"] {
	width: 380px;
	padding: 21px 0;
	border: 2px solid #253345;
	font-weight: bold;
	font-size: 16px;
	font-size: 1.6rem;
	color: #253345;
	background: #fff;
	background-size: 17px auto;
	border-radius: 6px;
	appearance: none;
}

input[type="submit"].send {
	border-color: #D4000E;
	color: #D4000E;
}

textarea {
	width: 100%;
	padding: 14px 16px;
	border: 1px solid #D3D6DA;
	box-sizing: border-box;
	font-size: 16px;
	font-size: 1.6rem;
	resize: vertical;
	border-radius: 0;
	-webkit-appearance: none;
	appearance: none;
}

select {
	padding: 12px 40px 10px 16px;
	border: 1px solid #66707D;
	border-radius: 3px;
	font-size: 16px;
	font-size: 1.6rem;
	background: #fff url(../img/arw_select.svg) no-repeat right 16px center;
	background-size: 8px auto;
	appearance: none;
}

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
	select:not(:target) {
		background: none;
		padding: 16px;
	}
}

.ie select,
.ie8 select,
.ie9 select {
	background: none;
	padding: 16px;
}

input[type="button"].back {
	width: 180px;
	padding: 14px 0;
	border: 2px solid #253345;
	font-size: 13px;
	font-size: 1.3rem;
	color: #253345;
	font-weight: bold;
	text-align: center;
	border-radius: 6px;
	background: #fff;
	appearance: none;
}

.ime {
	ime-mode: disabled;
}

input::placeholder,
textarea::placeholder {
	color: #98A6AE;
}

/* IE */
input:-ms-input-placeholder,
textarea:-ms-input-placeholder {
	color: #98A6AE;
}

/* Edge */
input::-ms-input-placeholder,
textarea::-ms-input-placeholder {
	color: #98A6AE;
}

/* header
======================================================= */

header {
	display: flex;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 20;
	width: 100%;
	min-width: 1080px;
	padding: 0 60px;
	box-sizing: border-box;
	font-size: 16px;
	font-size: 1.6rem;
	background: #fff;
}

header .logo {
	width: 230px;
	margin: 0;
	padding: 40px 0;
	font-size: 14px;
	font-size: 1.4rem;
	font-weight: bold;
}

header ul {
	margin: 0;
	padding: 0;
	list-style-type: none;
}

header .head_r {
	margin-left: auto;
}

header .head_r .head_r_top {
	display: flex;
	justify-content: flex-end;
	margin: 0 0 18px;
}

header .head_r .head_r_top .sns {
	display: flex;
	margin: 9px 0 0;
}

header .head_r .head_r_top .sns li {
	margin: 0 0 0 16px;
	line-height: 1;
}

header .head_r .head_r_top .sns li:first-child {
	margin: 0;
}

header .head_r .head_r_top .btn {
	display: flex;
	margin: 0 0 0 16px;
	font-size: 14px;
	font-size: 1.4rem;
}

header .head_r .head_r_top .btn li {
	display: flex;
	flex-direction: column;
	width: 144px;
	margin: 0 0 0 4px;
}

header .head_r .head_r_top .btn li:first-child {
	margin: 0;
}

header .head_r .head_r_top .btn li a {
	display: flex;
	width: 100%;
	height: 100%;
	justify-content: center;
	align-items: center;
	padding: 6px 0;
	box-sizing: border-box;
	border-radius: 0 0 4px 4px;
	background: #253345;
	color: #F4F5F6;
	text-decoration: none;
}

header .head_r .head_r_top .btn li.ico01 a:before {
	content: '';
	display: inline-block;
	width: 12px;
	height: 10px;
	margin: 0 8px 0 0;
	background: url(../img/ico_mail_w.svg) no-repeat 0 0;
	background-size: 100% auto;
}

header .head_r .head_r_top .btn li.ico02 a:before {
	content: '';
	display: inline-block;
	width: 12px;
	height: 12px;
	margin: 0 8px 0 0;
	background: url(../img/ico_person_w.svg) no-repeat 0 0;
	background-size: 100% auto;
}

header .head_r nav {
	display: flex;
	justify-content: flex-end;
	padding: 0 0 5px;
}

header .head_r nav > ul {
	display: flex;
	text-align: center;
	line-height: 1.5;
}

header .head_r nav > ul > li {
	display: flex;
	margin: 0 0 0 32px;
	transition: margin .3s;
	position: relative;
}

@media screen and (max-width: 1200px) {
	header .head_r nav > ul > li {
		margin: 0 0 0 16px;
	}
}

header .head_r nav > ul > li:first-child {
	margin: 0;
}

header .head_r nav > ul > li a {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	height: 100%;
	padding: 0 0 3px;
	border-bottom: 3px solid transparent;
	box-sizing: border-box;
	font-weight: bold;
	color: #253345;
	text-decoration: none;
}

header .head_r nav > ul > li:hover a,
header .head_r nav > ul > li a.selected {
	border-color: #D4000E;
}

header .head_r nav > ul > li a span {
	display: block;
	margin: 2px 0 0;
	font-size: 11px;
	font-size: 1.1rem;
	font-weight: normal;
	color: #66707D;
}

header .head_r nav > ul > li ul {
	display: none;
	position: absolute;
	top: 100%;
	left: 50%;
	width: 284px;
	margin: 0 0 0 -142px;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0px 3px 32px 0px rgba(37, 51, 69, .16);
}

header .head_r nav > ul > li ul li {
	border-bottom: 2px solid #F4F5F6;
}

header .head_r nav > ul > li ul li:last-child {
	border-bottom: none;
}

header .head_r nav > ul > li ul li a {
	padding: 10px 32px;
	border: none;
	background: url(../img/arw.svg) no-repeat right 16px center;
	background-size: 12px auto;
}

.sp_trigger { display: none;}

/*　上に上がる動き　*/

header.UpMove{
	animation: UpAnime 0.5s forwards;
}

@keyframes UpAnime{
	from {
		opacity: 1;
		transform: translateY(0);
	}
	to {
		opacity: 0;
		transform: translateY(-100px);
	}
}

/*　下に下がる動き　*/

header.DownMove{
	animation: DownAnime 0.5s forwards;
}
@keyframes DownAnime{
	from {
		opacity: 0;
		transform: translateY(-100px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* レイアウト設定
======================================================= */

.wrappertop {
	font-size: 16px;
	font-size: 1.6rem;
	text-align: left;
	overflow: hidden;
}

.wrapper {
	width: 1080px;
	margin: 0 auto;
	padding: 120px 0 40px;
	background: #fff;
	font-size: 16px;
	font-size: 1.6rem;
	text-align: left;
}

.wrapper.w100 {
	width: 100%;
}

.wrapper.p0 {
	padding-top: 0;
}

/* TOP共通設定
======================================================= */

.wrappertop .block {
	margin: 0 0 120px;
}

.wrappertop h2,
.tit_topics {
	margin: 0 0 56px;
	padding: 28px 0 0;
	font-size: 30px;
	font-size: 3.0rem;
	font-weight: bold;
	text-align: center;
	line-height: 1.6;
	background: url(../img/bg_top_h2.svg) no-repeat center top;
	background-size: 32px auto;
}

/* 下層共通設定
======================================================= */

.un_tit {
	margin: 32px auto 0;
	position: relative;
	overflow: hidden;
}

.un_tit h1 {
	position: absolute;
	top: 0;
	left: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 1080px;
	height: 157px;
	margin: 0 0 0 -656px;
	padding: 0 116px 16px;
	font-size: 30px;
	font-size: 3.0rem;
	font-weight: bold;
	line-height: 1.5;
	background: url(../img/bg_un_tit.png) no-repeat center top;
	position: relative;
}

.un_tit h1:before {
	content: '';
	position: absolute;
	top: 23px;
	left: 0;
	width: 91px;
	height: 143px;
	background: url(../img/img_un_tit01.svg) no-repeat 0 0;
}

.un_tit h1:after {
	content: '';
	position: absolute;
	bottom: 0;
	right: 116px;
	width: 148px;
	height: 48px;
	background: url(../img/img_un_tit02.svg) no-repeat 0 0;
}

.wrapper .block {
	clear: both;
	width: 100%;
	margin: 0 0 80px;
	overflow: hidden;
}

.wrapper .block h2 {
	margin: 0 0 72px;
	font-size: 30px;
	font-size: 3.0rem;
	font-weight: bold;
	text-align: center;
}

.wrapper .block h3 {
	margin: 0 0 40px;
	padding: 0 0 0 26px;
	font-size: 20px;
	font-size: 2.0rem;
	font-weight: bold;
	border-left: 2px solid #D4000E;
}

.common_btn01 {
	width: 384px;
	margin: 0 auto;
	font-size: 16px;
	font-size: 1.6rem;
	font-weight: bold;
	line-height: 1.5;
}

.common_btn01 a {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 64px;
	padding: 8px 16px;
	box-sizing: border-box;
	border: 2px solid #D4000E;
	border-radius: 6px;
	color: #D4000E;
	text-decoration: none;
}

.common_btn01.black a {
	border-color: #253345;
	color: #253345;
}

.common_btn02 {
	width: 528px;
	margin: 0 auto;
	font-size: 16px;
	font-size: 1.6rem;
	font-weight: bold;
	line-height: 1.5;
}

.common_btn02 a {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 8px 16px;
	box-sizing: border-box;
	border: 2px solid #253345;
	border-radius: 6px;
	color: #253345;
	text-decoration: none;
}

/* パンくず
======================================================= */

ol.breadcrumb {
	display: flex;
	flex-wrap: wrap;
	max-width: 1312px;
	box-sizing: border-box;
	margin: 0 auto;
	padding: 4px 0 22px;
	list-style-type: none;
	border-bottom: 1px solid #D3D6DA;
	font-size: 12px;
	font-size: 1.2rem;
	color: #9299A2;
	transition: margin .3s;
}

.breadcrumb_wrap ol.breadcrumb {

	max-width: 100%;
	width: 100%;
	padding: 4px 60px 22px;
}

ol.breadcrumb li {
	padding: 0 0 0 26px;
	position: relative;
}

ol.breadcrumb li:first-child {
	padding: 0;
}

ol.breadcrumb li:before {
	content: '';
	position: absolute;
	top: .4em;
	left: 14px;
	width: 1px;
	height: 14px;
	background: #D3D6DA;
	transform: rotate(45deg);
}

ol.breadcrumb li:first-child:before {
	content: none;
}

ol.breadcrumb li a {
	color: #9299A2;
}

/* link_list
======================================================= */

.link_list {
	padding: 64px 0;
	border-top: 1px solid #D3D6DA;
	overflow: hidden;
}

/*.wrapper ~ .link_list {
	border-top: 1px solid #D3D6DA;
}*/

.link_list .slider .slides {
	display: none;
	margin: 0 32px;
}

.link_list .slider.slick-initialized .slides {
	display: block;
}

.slick-track {
	display: flex !important;
	/*align-items: center;*/
}

/* pagetop
======================================================= */

.pagetop {
	position: fixed;
	z-index: 10;
	right: 50px;
	bottom: 0;
}

.pagetop a {
	float: left;
	width: 56px;
	padding-top: 56px;
	height: 0;
	text-indent: 100%; 
	white-space: nowrap; 
	overflow: hidden; 
	background: #4C5766 url(../img/pagetop.svg) no-repeat 50% 50%;
	background-size: 14px auto;
}

/* footer
======================================================= */

footer {
	font-size: 16px;
	font-size: 1.6rem;
	background: #fff;
}

footer ul {
	margin: 0;
	padding: 0;
	list-style-type: none;
}

footer .foot_top {
	background: #253345;
}

footer .foot_top .inner {
	display: flex;
	width: 1080px;
	margin: 0 auto;
	padding: 64px 0;
	color: #D3D6DA;
}

footer .foot_top .inner .address {
	width: 300px;
	font-size: 14px;
	font-size: 1.4rem;
}

footer .foot_top .inner .address .logo {
	margin: 0 0 32px;
}

footer .foot_top .inner .menu {
	display: flex;
	margin-left: auto;
}

footer .foot_top .inner .menu > ul {
	margin: 0 0 0 64px;
}

footer .foot_top .inner .menu > ul > li {
	margin: 0 0 24px;
}

footer .foot_top .inner .menu > ul > li:last-child {
	margin: 0;
}

footer .foot_top .inner .menu > ul > li a {
	color: #D3D6DA;
	text-decoration: none;
}

footer .foot_top .inner .menu > ul > li a:hover {
	text-decoration: underline;
}

footer .foot_top .inner .menu > ul > li ul li {
	margin: 16px 0 0 16px;
	font-size: 14px;
	font-size: 1.4rem;
}

footer .foot_top .inner .menu > ul > li ul li:before {
	content: '\2514\a0';
}

footer .foot_btm {
	background: #4C5766;
}

footer .foot_btm .inner {
	display: flex;
	width: 1080px;
	margin: 0 auto;
	padding: 36px 0;
	font-size: 14px;
	font-size: 1.4rem;
	color: #D3D6DA;
}

footer .foot_btm .inner ul {
	display: flex;
	flex-wrap: wrap;
	width: 620px;
	margin: 0 0 -24px;
}

footer .foot_btm .inner ul li {
	margin: 0 24px 24px 0; 
}

footer .foot_btm .inner ul li a {
	color: #D3D6DA;
	text-decoration: none;
}

footer .foot_btm .inner ul li a:hover {
	text-decoration: underline;
}

footer .foot_btm .inner small {
	display: flex;
	align-items: center;
	width: 200px;
	margin-left: auto;
	color: #9299A2;
	text-align: right;
}

/* スマホPC切替スイッチ
======================================================= */

.dvc_switch {
	width: 100%;
	margin: 0 auto;
	text-align: center;
	background: #333;
}

.dvc_switch ul {
	margin: 0 auto;
	padding: 0;
}

.dvc_switch li {
	list-style-type: none;
}

.dvc_switch li.pc {
	display: none;
}

.dvc_switch li.sp {
	text-align: center;
}

.dvc_switch li.sp a {
	display: block;
	padding: 10px 0;
	text-decoration: none;
	color: #fff;
}

.dvc_switch li a {
	width: 100%;
	padding: 0;
	text-decoration: none;
	color: #fff;
}

.dvc_switch li:first-child a {
	line-height: 1.6;
}

.dvc_switch p {
	width: 40%;
	margin: 0 auto;
	text-align: center;
}


/* 汎用スタイル設定
======================================================= */

table {
	width: 100%;
	border-collapse: collapse;
	font-size: 16px;
	font-size: 1.6rem;
}

table.nbr,
table.tbr table.nbr {
	border-collapse: collapse;
	border-top: none;
	border-left: none;
}

table.nbr th,
table.tbr table.nbr th {
	font-weight: bold;
	padding: 0;
	border-right: none;
	border-bottom: none;
}

table.nbr td,
table.tbr table.nbr td {
	padding: 0;
	text-align: left;
	border-right: none;
	border-bottom: none;
}

table.tbr,
table.nbr table.tbr {
	border-collapse: collapse;
	border-top: 1px solid #D3D6DA;
	border-left: 1px solid #D3D6DA;
}

table.tbr th,
table.nbr table.tbr th {
	font-weight: bold;
	padding: 24px 32px;
	text-align: left;
	color: #253345;
	border-right: 1px solid #D3D6DA;
	border-bottom: 1px solid #D3D6DA;
	background: #F4F5F6;
	background-clip: padding-box;
}

table.tbr td,
table.nbr table.tbr td {
	padding: 24px 32px;
	text-align: left;
	border-right: 1px solid #D3D6DA;
	border-bottom: 1px solid #D3D6DA;
}

.tac { text-align: center !important; }
.tal { text-align: left !important; }
.tar { text-align: right !important; }

.mb5 { margin-bottom: 5px; }
.mb10 { margin-bottom: 10px; }
.mb15 { margin-bottom: 15px; }
.mb20 { margin-bottom: 20px; }
.mb25 { margin-bottom: 25px; }
.mb30 { margin-bottom: 30px; }
.mb35 { margin-bottom: 35px; }
.mb40 { margin-bottom: 40px; }

.pc_none { display: none; }
.clearfix {
	zoom: 1;
}
.clearfix:after {
	display: block;
	clear: both;
	content: '';
}
*:after {
	display: block;
	clear: both;
}

/* ちらつき防止
======================================================= */

.overimg {
	box-shadow: #fff 0 0 0;
}

.overimg:hover {
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=60)";
	filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=60);
	background: #fff¥9;
}

/* slick
======================================================= */

.slick-slider {
	position: relative;
	display: block;
	box-sizing: border-box;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	-webkit-touch-callout: none;
	-khtml-user-select: none;
	-ms-touch-action: pan-y;
	touch-action: pan-y;
	-webkit-tap-highlight-color: transparent;
}
.slick-list {
	position: relative;
	display: block;
	overflow: hidden;
	margin: 0;
	padding: 0;
}
.slick-list:focus {
	outline: none;
}
.slick-list.dragging {
	cursor: pointer;
	cursor: hand;
}
.slick-slider .slick-track,
.slick-slider .slick-list {
	-webkit-transform: translate3d(0, 0, 0);
	-moz-transform: translate3d(0, 0, 0);
	-ms-transform: translate3d(0, 0, 0);
	-o-transform: translate3d(0, 0, 0);
	transform: translate3d(0, 0, 0);
}
.slick-track {
	position: relative;
	top: 0;
	left: 0;
	display: block;
	margin-left: auto;
	margin-right: auto;
}
.slick-track:before,
.slick-track:after {
	display: table;
	content: '';
}
.slick-track:after {
	clear: both;
}
.slick-loading .slick-track {
	visibility: hidden;
}
.slick-slide {
	display: none;
	float: left;
	outline: none;
	/* height: 100%; */
	min-height: 1px;
}
[dir='rtl'] .slick-slide {
	float: right;
}
.slick-slide img {
	display: block;
}
.slick-slide.slick-loading img {
	display: none;
}
.slick-slide.dragging img {
	pointer-events: none;
}
.slick-initialized .slick-slide {
	display: block;
}
.slick-loading .slick-slide {
	visibility: hidden;
}
.slick-vertical .slick-slide {
	display: block;
	height: auto;
	border: 1px solid transparent;
}
.slick-arrow.slick-hidden {
	display: none;
}
.slide-arrow {
	position: absolute;
	top: 50%;
	width: 40px;
	height: 56px;
	margin: -28px 0 0;
	border: none;
	z-index: 1;
	opacity: 1;
	transition: .3s;
	cursor: pointer;
}
.slide-arrow.slick-prev {
	left: 0;
	background: url(../img/arw_slide_l.svg) no-repeat 0 0;
	background-size: 100% auto;
}
.slide-arrow.slick-next {
	right: 0;
	background: url(../img/arw_slide_r.svg) no-repeat 0 0;
	background-size: 100% auto;
}
.slick-prev:hover,
.slick-next:hover {
	opacity: 0.7;
}
.slick-dots {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
	text-align: center;
}
.slick-dots li {
	display: inline-block;
	vertical-align: top;
	width: 12px;
	height: 12px;
	margin: 0 8px;
	text-indent: 100%;
	white-space: nowrap;
	overflow: hidden;
	background: #D3D6DA;
	border-radius: 50%;
	cursor: pointer;
}
.slick-dots li.slick-active,
.slick-dots li:hover {
	background: #D4000E;
}

.slide-arrow.slick-disabled {
    display: none !important;
}

/* Magnific Popup
======================================================= */

/* Magnific Popup CSS */
.mfp-bg {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1042;
  overflow: hidden;
  position: fixed;
  background: #F4F5F6;
  opacity: 0.9; }

.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: 1;
  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: 0.65; }
  .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; } }

/* overlay at start */
.mfp-bg {
  opacity: 0;
  -webkit-transition: all 0.3s ease-out;
  -moz-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}
/* overlay animate in */
.mfp-bg.mfp-ready {
  opacity: 0.8;
}
/* overlay animate out */
.mfp-bg.mfp-removing {
  opacity: 0;
}
/* content at start */
.mfp-wrap .mfp-content {
  opacity: 0;

  -webkit-transition: all 0.3s ease-out;
  -moz-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}
/* content animate it */
.mfp-wrap.mfp-ready .mfp-content {
  opacity: 1;
}
/* content animate out */
.mfp-wrap.mfp-removing .mfp-content {
  opacity: 0;
}