/* --------------------------------
  0：base
  レイアウトのベーススタイル
-------------------------------- */
body {
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1.7;
  margin: 0;
  padding: 0;
}

.container {
	margin: 0 auto;
	width: 100%;
}

.contents-main {
  margin-top: 100px;
}

/* --------------------------------
  1：swiper
  スライダーのスタイル
-------------------------------- */

.swiper-wrapper .swiper-slide {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 100vh;
  opacity: 0;
  overflow: hidden;
}

/* ------ catch area ------- */
.catch-area {
	color: white;
	position: absolute;
	text-align: center;
	top: 50%;
	-webkit-transform: translateY(-50%);
	transform: translateY(-50%);
	width: 100%;
}

.catch-title {
	font-size: 40px;
	padding-bottom: 10px;
	text-shadow: 1px 1px 1px #333333;
}

.catch-text {
  font-size: 21px;
}

/* ------ Transparent layer ------- */
.swiper-slide::before {
  background: rgba(0, 0, 0, 0.2);
  bottom: 0;
  content: "";
  height: 100vh;
  left: 0;
  margin: auto;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  right: 0;
  top: 0;
  width: 100%;
  z-index: 0;
}

.swiper-slide.swiper-slide-active::before {
  opacity: 0.5;
}

/* --------------------------------
  ２：Top Lazy Load
  遅延ロード用スタイル
-------------------------------- */
@keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    display: none;
    opacity: 0;
    z-index: -1;
  }
}

#loader {
  background-color: #fff;
  height: 100vh;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 10;
}

#loader.loaded {
  animation: fadeOut 0.5s forwards;
}
