@charset "utf-8";
/*==================================================
　背景色が伸びる（中央から外）
===================================*/

/*========= ローディング画面のためのCSS ===============*/
#splash {
  position: fixed;
  width: 100%;
  height: 100%;
  background: #dbc8b7;
  z-index: 9999999;
  text-align: center;
  color: #fff;
}

#splash-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/*========= 画面遷移のためのCSS ===============*/

/*画面遷移アニメーション*/

.splashbg1,
.splashbg2 {
  display: none;
}

body.appear .splashbg1,
body.appear .splashbg2 {
  display: block;
}

/*右に消えるエリア*/
body.appear .splashbg1 {
  animation-name: PageAnime;
  animation-duration: 1.2s;
  animation-timing-function: ease-in-out;
  animation-fill-mode: forwards;
  content: '';
  position: fixed;
  z-index: 999;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 50%;
  transform: scaleX(1);
  background-color: #dbc8b7;
}

@keyframes PageAnime {
  0% {
    transform-origin: left;
    transform: scaleX(1);
  }
  50% {
    transform-origin: right;
  }
  100% {
    transform-origin: right;
    transform: scaleX(0);
  }
}

/*左に消えるエリア*/
body.appear .splashbg2 {
  animation-name: PageAnime2;
  animation-duration: 1.2s;
  animation-timing-function: ease-in-out;
  animation-fill-mode: forwards;
  content: '';
  position: fixed;
  z-index: 999;
  width: 100%;
  height: 100vh;
  top: 0;
  right: 50%;
  transform: scaleX(1);
  background-color: #dbc8b7;
}

@keyframes PageAnime2 {
  0% {
    transform-origin: right;
    transform: scaleX(1);
  }

  50% {
    transform-origin: left;
  }
  100% {
    transform-origin: left;
    transform: scaleX(0);
  }
}

/*画面遷移の後現れるコンテンツ設定*/
#wrapper {
  opacity: 0;
}

/*bodyにappearクラスがついたら出現*/
body.appear #wrapper {
  animation-name: PageAnimeAppear;
  animation-duration: 1s;
  animation-delay: 0.2s;
  animation-fill-mode: forwards;
  opacity: 0;
}

@keyframes PageAnimeAppear {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/*==================================================
　ポップアップ
===================================*/

#lineup-popup {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}

#lineup-popup-inner {
  position: relative;
  max-width: 600px;
  width: 100%;
}

#lineup-popup-inner img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
  max-height: 90vh;
  object-fit: contain;
}

#lineup-popup-close {
  position: absolute;
  top: -18px;
  right: -18px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: #fff;
  font-size: 22px;
  line-height: 40px;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
  padding: 0;
}

/* スマホ対応 */
@media (max-width: 768px) {
  #lineup-popup-inner {
    max-width: 100%;
  }

  #lineup-popup-close {
    top: -14px;
    right: -8px;
    width: 34px;
    height: 34px;
    font-size: 18px;
    line-height: 34px;
  }
}

/*==================================================
　クリックしたらナビ背景コンテンツがぼかされる
===================================*/

/*========= ぼかしのためのCSS ===============*/

.mainblur {
  filter: blur(8px);
}

/*========= ナビゲーションのためのCSS ===============*/

#g-nav {
  position: fixed;
  z-index: -1;
  opacity: 0;
  top: 0;
  width: 100%;
  height: 100vh;
  background: rgba(200, 174, 151, 0.8);
  transition: all 0.3s;
}

/*アクティブクラスがついたら透過なしにして最前面へ*/
#g-nav.panelactive {
  opacity: 1;
  z-index: 999;
}

/*ナビゲーションの縦スクロール*/
#g-nav.panelactive #g-nav-list {
  position: fixed;
  z-index: 999;
  width: 100%;
  height: 100vh;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

/*ナビゲーション*/
#g-nav ul {
  display: none;
  position: absolute;
  z-index: 999;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

#g-nav.panelactive ul {
  display: block;
}
/*リストのレイアウト設定*/

#g-nav li {
  list-style: none;
  text-align: center;
}

#g-nav li a {
  color: #fff;
  text-decoration: none;
  padding: 10px;
  display: block;
  letter-spacing: 0.1em;
  font-weight: bold;
}

/*===================================
　ボタン：2本線が×に
===================================*/

/*ボタン外側*/
.openbtn {
  position: fixed;
  z-index: 9999;
  top: 25px;
  right: 10px;
  cursor: pointer;
  width: 50px;
  height: 50px;
}

/*ボタン内側*/

.openbtn span {
  display: inline-block;
  transition: all 0.4s;
  position: absolute;
  left: 13px;
  height: 3px;
  background-color: #666;
}

.openbtn span:nth-of-type(1) {
  top: 22px;
  width: 50%;
}

.openbtn span:nth-of-type(2) {
  top: 29px;
  width: 30%;
}

/*activeクラスが付与されると線が回転して×に*/

.openbtn.active span:nth-of-type(1) {
  top: 20px;
  left: 16px;
  transform: translateY(6px) rotate(-45deg);
  width: 35%;
}

.openbtn.active span:nth-of-type(2) {
  top: 32px;
  left: 16px;
  transform: translateY(-6px) rotate(45deg);
  width: 35%;
}

/*===================================
　丸が動いてスクロールを促す
===================================*/

/*スクロールダウン全体の場所*/
.scrolldown2 {
  position: fixed;
  bottom: 10px;
  left: 50%;
  z-index: 2;
}

/*Scrollテキストの描写*/
.scrolldown2 span {
  position: absolute;
  left: 10px;
  bottom: 10px;
  color: #c8ae97;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  -ms-writing-mode: tb-rl;
  -webkit-writing-mode: vertical-rl;
  writing-mode: vertical-rl;
}

/* 丸の描写 */
.scrolldown2:before {
  content: '';
  position: absolute;
  bottom: 0;
  left: -4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #c8ae97;
  animation:
    circlemove 1.6s ease-in-out infinite,
    cirlemovehide 1.6s ease-out infinite;
}

/*下からの距離が変化して丸の全体が上から下に動く*/
@keyframes circlemove {
  0% {
    bottom: 45px;
  }
  100% {
    bottom: -5px;
  }
}

/*上から下にかけて丸が透過→不透明→透過する*/
@keyframes cirlemovehide {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  80% {
    opacity: 0.9;
  }
  100% {
    opacity: 0;
  }
}

/* 線の描写 */
.scrolldown2:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 2px;
  height: 50px;
  background: #c8ae97;
}

/*===================================
　線から塗に変化（上から下）
===================================*/

/* ボタン共通設定 */
.btn04 {
  position: relative;
  display: inline-block;
  padding: 10px 30px;
  color: #121212;
  border: 1px solid #121212;
  text-decoration: none;
  outline: none;
  overflow: hidden;
}

/*hoverした際のボタンの形状*/
.btn04:hover {
  color: #fff;
  border-color: transparent;
  transition-delay: 0.6s;
}

/*線の設定*/
.btn04 span {
  display: block;
  z-index: 2;
}

/*== 線から塗に変化（上から下） */

/*線の設定*/
.bordertop span::before,
.bordertop span::after {
  content: '';
  position: absolute;
  width: 1px;
  height: 0;
  background: #c8ae97;
  transition: all 0.3s;
}

/*左線*/
.bordertop span::before {
  left: 0;
  top: 0;
}

/*右線*/
.bordertop span::after {
  right: 0;
  top: 0;
}

/*hoverをすると線が伸びる*/
.bordertop:hover span::before,
.bordertop:hover span::after {
  height: 100%;
}

/*背景の設定*/
.bordertop::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  z-index: -1;
  width: 100%;
  height: 0;
  background: #c8ae97;
  transition: all 0.3s;
}

/*hoverをすると背景が伸びる*/
.bordertop:hover::before {
  height: 100%;
  transition-delay: 0.4s;
}

/*===================================
　ページ内にある指定の範囲内で下から出現
===================================*/

/*リンクの形状*/
#page-top a {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #c8ae97;
  width: 60px;
  height: 50px;
  color: #fff;
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
  font-size: 0.6rem;
  transition: all 0.3s;
}

#page-top a:hover {
  background: #999;
  height: 55px;
}

/*リンクを右下に固定*/
#page-top {
  position: fixed;
  right: 0;
  bottom: 0;
  z-index: 2;
  opacity: 0;
  transform: translateY(100px);
}

/*　上に上がる動き　*/

#page-top.UpMove {
  animation: UpAnime 0.5s forwards;
}
@keyframes UpAnime {
  from {
    opacity: 0;
    transform: translateY(100px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/*　下に下がる動き　*/

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

/*===================================
　複数画像を並列に見せる
===================================*/
.slider {
  width: 94%;
  margin: 0 auto;
}

.slider img {
  width: 100%;
  height: auto;
}

.slider .slick-slide {
  margin: 0 10px;
}

/*矢印の設定*/

/*戻る、次へ矢印の位置*/
.slick-prev,
.slick-next {
  position: absolute;
  top: 42%;
  cursor: pointer;
  outline: none;
  border-top: 2px solid #c8ae97;
  border-right: 2px solid #c8ae97;
  height: 15px;
  width: 15px;
}

.slick-prev {
  left: -1.5%;
  transform: rotate(-135deg);
}

.slick-next {
  right: -1.5%;
  transform: rotate(45deg);
}

/*ドットナビゲーションの設定*/

.slick-dots {
  text-align: center;
  margin: 20px 0 0 0;
}

.slick-dots li {
  display: inline-block;
  margin: 0 5px;
}

.slick-dots button {
  color: transparent;
  outline: none;
  width: 8px;
  height: 8px;
  display: block;
  border-radius: 50%;
  background: #ddd;
}

.slick-dots .slick-active button {
  background: #c8ae97;
}

/*===================================
　最低限おぼえておきたい動き
===================================*/

/* ふわっ（その場で） */
.fadeIn {
  animation-name: fadeInAnime;
  animation-duration: 2s;
  animation-fill-mode: forwards;
  opacity: 0;
}

@keyframes fadeInAnime {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}
/* ボンッ（拡大） */
.zoomOut {
  animation-name: zoomOutAnime;
  animation-duration: 0.5s;
  animation-fill-mode: forwards;
}

@keyframes zoomOutAnime {
  from {
    transform: scale(1.2);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

.zoomOutTrigger {
  opacity: 0;
}

/*===========================================================*/
/* 　テキストの動き　/
/*===========================================================*/

/*========= テキストが流れるように出現 ===============*/

/*全共通*/

.slide-in {
  overflow: hidden;
  display: inline-block;
  padding: 0 10px;
}

.slide-in_inner {
  display: inline-block;
}

/*左右のアニメーション*/
.leftAnime,
.rightAnime {
  opacity: 0;
}

.slideAnimeLeftRight {
  animation-name: slideText-100;
  animation-duration: 0.8s;
  animation-fill-mode: forwards;
  opacity: 0;
}

@keyframes slideText-100 {
  from {
    transform: translateX(-100%);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.slideAnimeRightLeft {
  animation-name: slideText100;
  animation-duration: 0.8s;
  animation-fill-mode: forwards;
  opacity: 0;
}

@keyframes slideText100 {
  from {
    transform: translateX(100%);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/*========= テキストがじわっと出現 ===============*/

.blur {
  animation-name: blurAnime;
  animation-duration: 1s;
  animation-fill-mode: forwards;
}

@keyframes blurAnime {
  from {
    filter: blur(10px);
    transform: scale(1.02);
    opacity: 0;
  }

  to {
    filter: blur(0);
    transform: scale(1);
    opacity: 1;
  }
}

.blurTrigger {
  opacity: 0;
}

/*========= テキストがほのかに光りながら出現 ===============*/

.glowAnime span {
  opacity: 0;
}
.glowAnime.glow span {
  animation: glow_anime_on 1s ease-out forwards;
}
@keyframes glow_anime_on {
  0% {
    opacity: 0;
    text-shadow:
      0 0 0 #fff,
      0 0 0 #fff;
  }
  50% {
    opacity: 1;
    text-shadow:
      0 0 10px #fff,
      0 0 15px #fff;
  }
  100% {
    opacity: 1;
    text-shadow:
      0 0 0 #fff,
      0 0 0 #fff;
  }
}

/*===================================
　画像リンクの動き
===================================*/

span.mask {
  display: block;
  overflow: hidden;
}

/*　波紋　*/

.circle span.mask {
  position: relative;
}

.circle span.mask::before {
  position: absolute;
  content: '';
  transform: scale(0);
  opacity: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.circle span.mask:hover::before {
  animation: circle 0.75s;
}

@keyframes circle {
  0% {
    transform: scale(0);
    opacity: 1;
  }
  30% {
    opacity: 1;
  }
  100% {
    transform: scale(2);
  }
}

/* 背景が出現＋テキスト */

.bgDU,
.bgDU .mask {
  display: block;
  position: relative;
  overflow: hidden;
}

.bgDU .mask::before {
  content: '';
  position: absolute;
  z-index: 2;
  left: 0;
  top: 0;
  opacity: 0;
  transition: 0.3s ease-in-out;
  transform: translateY(100%);
  background: #e2a2b2;
  width: 100%;
  height: 100%;
}

.bgDU:hover .mask::before {
  opacity: 1;
  transform: translateY(0);
}

.bgDU .cap {
  position: absolute;
  opacity: 0;
  transition: 0.5s ease-in-out;
  z-index: 3;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
}

.bgDU:hover .cap {
  opacity: 1;
}

/*===================================
　スクロールするとヘッダー背景画像拡大
===================================*/

#header {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

#header-img {
  position: fixed;
  z-index: 1;
  top: 0;
  width: 100%;
  height: 100vh;
  background: url('../images/main_img_01.jpg') no-repeat top center;
  background-size: contain; /* coverから修正箇所 */
  transform-origin: center;
}

#container,
#footer {
  position: relative;
  z-index: 3;
  background: #fff;
}

@media (max-width: 768px) {
  #header-img {
    background-image: url('../images/sp_main_img_01.jpg');
  }
}
/* video */
/* 左下に固定配置 */
.video-thumbnail {
  position: fixed;
  bottom: 20px;
  left: 20px;
  width: 120px;
  height: 200px;
  cursor: pointer;
  border-radius: 8px;
  overflow: hidden;
  z-index: 9999999;
  background: black;
  /* タッチ操作時のレスポンス向上 */
  touch-action: manipulation;
}

/* サムネイルの動画 */
.video-thumbnail video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* モーダル（全画面動画） */
.video-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
  z-index: 10000000;
}

/* モーダル内の動画 */
.video-modal video {
  max-width: 90%;
  max-height: 90%;
}

/* 閉じるボタン */
.close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  font-size: 20px;
  line-height: 1;
  color: white;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  padding: 0;
}

/* サムネイル用の閉じるボタン（小さいサイズ） */
.small-close {
  width: 30px;
  height: 30px;
  font-size: 16px;
  top: 5px;
  right: 5px;
  z-index: 10000001;
}

/* 表示時のスタイル */
.video-modal.show {
  opacity: 1;
  visibility: visible;
}

/* サムネイルを非表示 */
.video-thumbnail.hidden {
  display: none;
}
