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

目次
	背景画像
	scroll
	フェードイン
	メインビュー　ズーム
	アコーディオン
	流れる文字
	ボタン
	mainviewの記述
	movieの記述
-------------------------------------------*/


/*-------------------------------------------
背景画像
-------------------------------------------*/

.bg {
	position: relative;
}

.bg::before {
	position: absolute;
    content: "";
    width: 100%;
    max-width: 1080px;
    height: 1200px;
    top: -350px;
	left: 50%;
	transform: translateX(-50%);
	background-image: url(../images/bg/bg_site-pc.png);
	background-repeat: repeat;
	background-size: cover;
	background-position: 30% top;
	z-index: -10;
	opacity: .6;
	pointer-events: none;  /* ← これを追加 */
}
@media screen and (max-width: 768px) {
	.bg::before {
		max-width: 768px;
		height: 1400px;
		top: -450px;
		
	}
}
@media screen and (max-width: 480px) {
	.bg::before {
		max-width: 480px;
		height: 1000px;
		top: -270px;
		background-image: url(../images/bg/bg_site-sp.png);
	}
}


/*-------------------------------------------
scroll
-------------------------------------------*/
.mainview {
	position: relative;
}

.scroll {
	position: absolute;
	left: 50%;
	bottom: 2.5vw;
	height: 60px;
}
.scroll span {
	position: absolute;
	left: -21.5px;
	top: -21.5px;
}

.scroll::after {
	content: "";
	position: absolute;
	top: 0;
	width: 1px;
	height: 40px;
	background: var(--mainDark-c);
	/* アニメーション */
	animation: pathmove 1.5s ease-in-out infinite;
	opacity: 0;
}
@keyframes pathmove {
	0% {
		height: 0;
		top: 0;
		opacity: 0;
	}
	30% {
		height: 40px;
		opacity: 1;
	}
	100% {
		height: 0;
		top: 60px;
		opacity: 0;
	}
}

.slider {
	margin-top: 26px;
	display: flex;
	width: 100%;
	margin-inline: auto;
	align-items: center;
}

.slider_image {
	width: 600px;
	margin-left: 5px;
}
.slider_image img{
	width: 100%;
	height: auto;
}

/* 矢印ボタン */

/* 基本の矢印ボタンのスタイル */
.slide-arrow {
	position: absolute;
    bottom: -49px;
	transform: translateY(-50%);
	width: 0;
	height: 0;
	border-style: solid;
	cursor: pointer;
	z-index: 10;
	background: none; /* 背景を消す */
	border-color: transparent;
  }
  
  /* ◀ 左矢印 */
  .prev-arrow {
	border-width: 10px 18px 10px 0;   /* 三角形の大きさ */
	border-right-color: var(--mainDark-c);
	left: 67px;
  }
  
  /* ▶ 右矢印 */
  .next-arrow {
	border-width: 10px 0 10px 18px;
	border-left-color: var(--mainDark-c);
	right: 67px;
  }

  /* ボタンのデフォルトスタイルを無効化 */
  button {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	outline: none;
	padding: 0;
	border: none;
	background: none;
  }
  

  .slick-dots {
    bottom: -38px;
}

/*-------------------------------------------
フェードイン
-------------------------------------------*/

.fade-in {
    opacity: 0;
    transform: translateY(50px); /* 50px下から開始 */
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}


/*-------------------------------------------
メインビュー　ズーム
-------------------------------------------*/
.mainview__image {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 1.5s ease-in-out, transform 1.5s ease-out;
}

.mainview__image.fade-in-top {
    opacity: 1;
    transform: scale(1);
}

/*-------------------------------------------
アコーディオン
-------------------------------------------*/
.content {
	margin-inline: auto;
    max-width: 550px;
	margin-top: 26px;
}

.accordion {
    max-width: 550px;
    margin-bottom: 7px;
    border-bottom: 2px solid #b3b3b3;
}

.accordion summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 1em 2em;
    color: #767676;
    font-weight: 600;
    cursor: pointer;
}

.accordion summary::-webkit-details-marker {
    display: none;
}

.accordion summary::before,
.accordion summary::after {
    width: 3px;
    height: .9em;
    border-radius: 5px;
    background-color: #b3b3b3;
    content: '';
}

.accordion summary::before {
    position: absolute;
    right: 2em;
    rotate: 90deg;
}

.accordion summary::after {
    transition: rotate .3s;
}

.accordion[open] summary::after {
    rotate: 90deg;
}

.accordion p {
    transform: translateY(-10px);
    opacity: 0;
    margin: 0;
    padding: .3em 2em 1.5em;
    color: #767676;
    transition: transform .5s, opacity .5s;
}

.accordion[open] p {
    transform: none;
    opacity: 1;
}


/*-------------------------------------------
流れる文字
-------------------------------------------*/
.fade-in-slide {
    overflow: hidden; /* コンテンツが流れる範囲外にはみ出さないようにする */
    position: relative;
    width: 100%;
	color: var(--subLight-c);
}

/* 内部テキスト */
.fade-in-slide .slide-text {
    white-space: nowrap; /* 改行を無効にする */
    display: inline-block;
    animation: slide 15s linear infinite; /* 5秒で右から左に流れるアニメーション */
}

/* テキストが右から左へ流れるアニメーション */
@keyframes slide {
    0% {
        transform: translateX(150%); /* 初めは画面の右外に */
    }
    100% {
        transform: translateX(-100%); /* 最後は画面の左外に */
    }
}
@media screen and (max-width: 768px) {
	@keyframes slide {
		0% {
			transform: translateX(100%); /* 初めは画面の右外に */
		}
		100% {
			transform: translateX(-100%); /* 最後は画面の左外に */
		}
	}
}

/*-------------------------------------------
ボタン
-------------------------------------------*/
.btn__wrap {
	text-align: center;
	margin-block: 70px;
}
.btn {
	color: #fff;
	background-color: var(--subLight-c);
	border-radius: 20px;
	display: block;
	position: relative;
	box-sizing: border-box;
	width: 200px;
	text-align: center; 
	margin-inline: auto;
	text-decoration: none;
	cursor: pointer;
	z-index:999;
	transition: all 0.3s;
	position: relative;
}
.btn::after {
	content: "";
    position: absolute;
    right: 21px;
    width: 10px;
    height: 10px;
    border-right: 2px solid #ffffff;
    border-bottom: 2px solid #ffffff;
    transform: rotate(-45deg);
    border-radius: 1px;
    top: 15px;
}


/* リンクボタンのエフェクト */
.glowing-button {
	position: relative;
	/* display: inline-block; */
	padding: 10px 20px;
	font-size: 16px;
	overflow: hidden;
  }
  
  .glowing-button::before {
	content: "";
	position: absolute;
	top: 50%;
	left: -120px;
	width: 80px;
	height: 200px;
	background-image: linear-gradient(
	  90deg,
	  hsla(0, 0%, 100%, 0),
	  hsla(0, 0%, 100%, 0.9) 80%,
	  hsla(0, 0%, 100%, 0)
	);
	transform: translateY(-50%) rotate(-25deg); /* 斜めの角度（逆向き） */
	animation: glowing 2s linear infinite;
	pointer-events: none;
  }
  
  @keyframes glowing {
	0% {
	  left: -120px;
	  opacity: 1;
	}
	20% {
	  left: 100%;
	  opacity: 1;
	}
	21% {
	  opacity: 0;
	}
	100% {
	  left: 100%;
	  opacity: 0;
	}
  }
  

/*-------------------------------------------
mainviewの記述
-------------------------------------------*/
.mainview {
	height: calc(100svh); 
}
@media screen and (max-width: 768px) {
	.mainview {
		height: calc(100svh); 
	}
}

.mainview__inner {
	height: inherit;
	padding-top: 0;
}

.mainview__title {
	display: flex;
    justify-content: center;
    align-items: center;
    height: inherit;
	background-position: center;
}

.fade-in-top {
    opacity: 1 !important;
}

.mainview__image {
    opacity: 0;  /* 初期状態: 非表示 */
    transition: opacity 1s ease-in-out;  /* opacityだけをアニメーション */
}

.mainview__image.is-active {
    opacity: 1;  /* 表示状態 */
}
/*-------------------------------------------
movieの記述
-------------------------------------------*/
.video-container {
    position: relative;
}

.video-thumbnail {
    cursor: pointer;
    width: 100%;
    height: auto;
    display: block;
}

.video-player {
    display: none; /* 初めは非表示 */
    width: 100%;
}

figcaption {
    margin-top: 20px;
	width: 80%;
	margin-inline: auto;
	line-height: 1.8em;
}
.video-sp {
	height: 360px;
	object-fit: contain;
}
.images__container.movie {
	align-items: center;
}
.video-container p {
	margin-top: 10px;
}
@media screen and (max-width: 768px) {
	figcaption {
		width: 100%;
	}
	.sp__mgn-top {
		margin-top: 50px;
	}
}

