@charset "UTF-8";
/* *****************************************************************

Stylesheet: ベーススタイル（全て）に適応

******************************************************************/
/* TOPのパネル */
.top-panel {
  /* 位置調整 */
  position: relative;
  -webkit-transform: translateY(-100px);
          transform: translateY(-100px);
  z-index: 1;
}

.top-panel .smb-panels__item {
  /* パネルの影 */
  -webkit-box-shadow: 0 -6px 8px rgba(0, 0, 0, 0.1) !important;
          box-shadow: 0 -6px 8px rgba(0, 0, 0, 0.1) !important;
}

.top-panel .smb-panels__item:hover {
  /* 標準であるホバーエフェクトの除去 */
  -webkit-box-shadow: none;
          box-shadow: none;
}

.top-panel .smb-panels__item__body {
  /* 標準のh2装飾の除去 */
  padding: 80px;
}

.top-panel .smb-panels__item__body h2 {
  background-color: transparent;
  border-left: none;
}

/* ヘッダー */
/* グローバルメニュー位置調整 */
.l-header .c-navbar__item {
  position: relative;
}

.l-header .c-navbar__item::after {
  /* メニューアイテムの左に区切り線 */
  content: "";
  position: absolute;
  top: 50%;
  display: block;
  height: 30px;
  margin-top: -15px;
  border-right: 1px solid #ccc;
}

.l-header .c-navbar__item:last-of-type::before {
  /* 最後のメニューアイテムの右に区切り線 */
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  display: block;
  height: 30px;
  margin-top: -15px;
  border-right: 1px solid #ccc;
}

.swiper-slide {
  /* 表示させる高さの調整 */
  position: relative;
  height: 70vh;
  overflow: hidden;
}

.swiper-slide .main-visual {
  width: 100%;
  height: 100%;
  max-width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -webkit-transform: scale(1);
          transform: scale(1);
  -webkit-transition: -webkit-transform 9s ease;
  transition: -webkit-transform 9s ease;
  transition: transform 9s ease;
  transition: transform 9s ease, -webkit-transform 9s ease;
}

.swiper-slide-active .main-visual {
  -webkit-transform: scale(1.2);
          transform: scale(1.2);
}

.swiper-slide-active .hero__title {
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  opacity: 1;
}

.swiper-slide-active .hero__btn {
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  opacity: 1;
}

.hero {
  overflow: hidden;
}

.hero__title {
  position: absolute;
  top: 30%;
  left: 50%;
  color: #fff;
  text-align: center;
  width: 90vw;
  -webkit-transform: translate(-50%, 20px);
          transform: translate(-50%, 20px);
  -webkit-transition: opacity 1.2s ease 1.5s, -webkit-transform 1.2s ease 1.5s;
  transition: opacity 1.2s ease 1.5s, -webkit-transform 1.2s ease 1.5s;
  transition: opacity 1.2s ease 1.5s, transform 1.2s ease 1.5s;
  transition: opacity 1.2s ease 1.5s, transform 1.2s ease 1.5s, -webkit-transform 1.2s ease 1.5s;
  z-index: 1;
  opacity: 0;
}

.hero__title h2 {
  font-size: 36px;
  text-shadow: 1px 2px 3px rgba(0, 0, 0, 0.8);
  line-height: 2em;
}

.hero__title span {
  display: block;
}

.hero__btn {
  position: absolute;
  bottom: 30%;
  left: 50%;
  font-size: 16px;
  color: #fff;
  -webkit-transform: translate(-50%, 20px);
          transform: translate(-50%, 20px);
  -webkit-transition: opacity 1.2s ease 2.5s, -webkit-transform 1.2s ease 2.5s;
  transition: opacity 1.2s ease 2.5s, -webkit-transform 1.2s ease 2.5s;
  transition: opacity 1.2s ease 2.5s, transform 1.2s ease 2.5s;
  transition: opacity 1.2s ease 2.5s, transform 1.2s ease 2.5s, -webkit-transform 1.2s ease 2.5s;
  opacity: 0;
  z-index: 1;
}

.hero__btn a {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  color: #fff;
  background-color: #cd162c;
  text-decoration: none;
  width: 240px;
  height: 60px;
}

@media (max-width: 1023px) {
  /******************************************************************

Stylesheet: 1023px以下（タブレット）で適用

******************************************************************/
  /* ヒーロースライダー */
  .hero__title h2 {
    font-size: 32px;
  }
  .hero .swiper-slide {
    height: 80vh;
  }
  /* タブレット以下でパネルの画像の重なりをなくす */
  .top-panel {
    margin-top: 30px;
    -webkit-transform: none;
            transform: none;
    /* パネルの影を調節 */
  }
  .top-panel .smb-panels__item {
    -webkit-box-shadow: 10px 0 -10px rgba(0, 0, 0, 0.2);
            box-shadow: 10px 0 -10px rgba(0, 0, 0, 0.2);
  }
  .top-panel .smb-panels__item__body {
    padding: 30px;
  }
}

@media (max-width: 639px) {
  /******************************************************************

Stylesheet: 639px以下(スマホ)で適用

******************************************************************/
  /* ヒーロースライダー */
  .hero__title {
    top: 15%;
  }
  .hero__title h2 {
    font-size: 24px;
  }
  .hero__btn {
    bottom: 20%;
  }
  .hero__btn a {
    /* ボタンのサイズを小さく */
    width: 180px;
    height: 45px;
  }
}
/*# sourceMappingURL=style.css.map */