﻿@charset "utf-8";
/* CSS Document */

h2.p01 {
  font-family: var(--font-cinzel);
  font-size: 33px;
  font-weight: 400;
  margin-bottom: 30px;
}
h2.p01 span.copy {
	font-size: 16px;
	margin-left: 20px;
	display: inline-block;
}
h2.p02 {
  font-family: var(--font-cinzel);
  font-size: 27px;
  font-weight: 400;
  margin-bottom: 15px;
}

/* ------------------------ スマートフォン ------------------------ */
@media only screen and (max-width: 768px) {
	
	h2.p01 {
		font-size: 33px;
		margin-bottom: 30px;
	}
	h2.p01 span.copy {
		font-size: 16px;
		margin-left: 0;
		display: block;
	}
  h2.p02 {
    font-family: var(--font-cinzel);
    font-size: 27px;
    line-height: 1.2;
    margin-bottom: 15px;
  }
}

h3.p01,
footer ul.f-menu li a {
  font-size: 28px;
  font-family: var(--font-cinzel);
  line-height: 1.3;
  font-weight: 400;
}
h3.p01 {
  margin-bottom: 25px;
}

/* ------------------------ スマートフォン ------------------------ */
@media only screen and (max-width: 768px) {
  h3.p01,
  footer ul.f-menu li a {
    font-size: 23px;
    line-height: 1.3;
  }
  h3.p01 {
    margin-bottom: 25px;
  }
}

.box01 {
  border: 1px solid var(--key-color);
  padding: 20px;
}

/* ------------------------------------------
  トップページ
--------------------------------------------- */

.loading {
  display: none;
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  background-color: #ffffff;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 2s ease-out, visibility 0s 2s;
}

/* ローディング終了時に白背景をフェードアウト */
.loading.is-loaded {
  background-color: transparent;
  transition: background-color 1.5s ease-out 1s; /* 1秒遅延で背景を透明に */
}

/* ローディング中のスクロール禁止 */
body.loading-active {
  overflow: hidden;
  position: fixed;
  width: 100%;
  height: 100%;
  background-color: #ffffff !important; /* ローディング中は完全に白背景 */
  /* iOS Safari対応 */
  -webkit-overflow-scrolling: touch;
  /* タッチイベント無効化（Android対応） */
  touch-action: none;
}

#top main {
  padding-top: 0;
}
/*#top #header{
  opacity: 0;
}
#top #header.fixed {
  opacity: 1;
}
*/

/*---------------------------------------------
	loading
  ---------------------------------------------*/
/* bodyの裏に表示順序を制御 */
body {
  position: relative;
}

/* フルローディング画面（初回訪問用） */
.loading-full {
  display: none;
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  background-color: #ffffff;
  z-index: 10000;
}

body.loading-full-active .loading-full {
  display: block;
}

/* Show overlay without freezing body (for manual reload path) */
body.loading-full-overlay-only .loading-full {
  display: block;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: none;
}

/* フルローディング中はスクロール禁止 */
body.loading-full-active {
  overflow: hidden;
  position: fixed;
  width: 100%;
  height: 100%;
}

/* 簡易ローディング画面（サイト内遷移用） */
.loading-simple {
  display: none;
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  background-color: rgba(255, 255, 255, 0.95);
  z-index: 10000;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

body.loading-simple-active .loading-simple {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* スピナーアニメーション */
.loading__spinner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid #f3f3f3;
  border-top: 3px solid #333;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
/* bodyの裏での表示順序制御 */
/* 1. 初期状態：メインビジュアルは裏に隠れている */
/* 2. ローディング中：スピナーが前面に表示 */
/* 3. ローディング終了：スピナーが消えてメインビジュアルが表示 */

/* 既存のローディング画面を非表示 */
body.loading-full-active .loading:not(.loading-full),
body.loading-simple-active .loading:not(.loading-simple) {
  display: none !important;
}

/* 初回訪問時（bodyにloading-full-activeクラスがある時）のみ、フルローディング画面を表示する */
body.loading-full-active .loading-full {
  display: block;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* 簡易ローディング時（bodyにloading-simple-activeクラスがある時）のみ、簡易ローディング画面を表示する */
body.loading-simple-active .loading-simple {
  display: flex;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* JSでこのクラスを追加すると、ローディング画面が非表示になる */

.loading.is-loaded {
  opacity: 1; /* 透明度は子要素で制御するため、親は1のまま */
  visibility: visible; /* JavaScriptで制御するため、visibleのまま */
}
/* ロゴのアニメーションなどを変更 */
.loading__logo {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--color-beige);
  clip-path: circle(0% at center);
  /* アニメーションを短くして早く消えるようにする */
  animation: circle-reveal 1.2s cubic-bezier(0.7, 0, 0.2, 1) 0.3s forwards;
  opacity: 1;
  transition: opacity 2s ease-out 0.5s; /* 0.5秒遅延させて背景を後からフェードアウト */
  z-index: 2;
}

/* ローディング終了時にロゴ背景もフェードアウト（遅延あり） */
.loading.is-loaded .loading__logo {
  opacity: 0;
  transition: opacity 2s ease-out 0.5s; /* 0.5秒遅延 */
}

/* ロゴ画像は先にフェードアウト */
.loading__logo img {
  width: 70%;
  opacity: 1;
  transition: opacity 1s ease-out; /* 1秒でフェードアウト、遅延なし */
}

/* ローディング終了時にロゴ画像を先にフェードアウト */
.loading.is-loaded .loading__logo img {
  opacity: 0;
  transition: opacity 1s ease-out; /* 遅延なしで先にフェードアウト */
}

@keyframes circle-reveal {
  from {
    clip-path: circle(0% at center);
  }
  to {
    /* 画面全体を覆うように少し大きめの円にする */
    clip-path: circle(100% at center);
  }
}

/* 以前のフェードインアニメーションは不要なため削除 */
@media only screen and (max-width: 768px) {
  .loading__logo img {
    width: 90%;
  }
}

body:not(.lodingEnd) .main-visual,
body.loading-full-active .main-visual,
body.loading-full-overlay-only .main-visual {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.main-visual {
  opacity: 0;
  visibility: hidden;
  transform: translateY(0);
  transition: opacity 0.3s ease, transform 0.1s ease;
  will-change: transform, opacity;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.main-visual {
	min-width: 1140px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: -1;
}
.main-visual__box {
	/*max-width: 1500px;*/
	position: relative;
	width: 100%;
  height: 100vh;
  /*max-height: 1000px;*/
  max-height: 1300px;
  min-height: 700px;
	margin: 0 auto;
  background-image: url("../img/index/main-img.jpg");
  background-position: top center;
  background-size: 2300px;
  /*background-size: cover;*/
	background-repeat: no-repeat;
}
.is-tall-window .main-visual__box {
	background-position: calc(50% - 100px) top;
}
.main-visual img.main-visual__message {
  width: 27%;
  position: absolute;
	top: 41%;
  left: 20px;
}
.main-visual .main-visual__logo {
  width: 19%;
  position: absolute;
  top: 41%;
  right: 6%;
}

/* ------------------------ ブレークポイント ------------------------ */
@media only screen and (max-width: 1500px) {

	.main-visual__box {
		max-height: 948px;
	}
	.is-tall-window .main-visual__box {
		background-size: 1800px;
		background-position: calc(50% - 110px) top;
	}

}

/* ------------------------ ブレークポイント ------------------------ */
@media only screen and (max-width: 1400px) {
	
	.main-visual .main-visual__logo {
		width: 23%;
		right: 3%;
	}
	
}

/* ------------------------ ブレークポイント ------------------------ */
@media only screen and (max-width: 1300px) {
	
	.main-visual img.main-visual__message {
		width: 27%;
	}
	
}


/* ------------------------ スマートフォン ------------------------ */
@media only screen and (max-width: 768px) {
  .main-visual {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 0;
    min-width: auto;
    opacity: 1;
    visibility: visible;
  }
  .main-visual__box {
    position: relative;
    width: 100%;
    height: auto;
    max-height: none;
    min-height: 0;
    padding-top: 177.07%;
    background-image: url("../img/index/main-img-sp.jpg?20250909-1000");
    background-position: center top;
    background-size: 100% auto;
    background-repeat: no-repeat;
  }

  /* Android Chrome のアドレスバー高の変動で body に .is-tall-window が付いた際の
     背景サイズジャンプを無効化（モバイルでは常に横幅基準のスケールに固定） */
  .is-tall-window .main-visual__box {
    background-size: 100% auto !important;
    background-position: center top !important;
  }
	
	.se-display .main-visual__box {
		background-image: url("../img/index/main-img-sp-se.jpg");
	}
	
	
}

.jw-transition {
	overflow-x: hidden;
}

.jw-section {
  position: relative;
  z-index: 1;
  background-color: var(--color-beige);
  padding-top: 100px;
  padding-bottom: 70px;
  margin-bottom: 0;
	height: 100%;
}
.jw-section .snap {
  height: 100px;
}
.jw-section .jw-section__txt01 {
  margin-bottom: 150px;
}
.jw-section .jw-section__txt01 h2 {
  width: 1000px;
  margin-left: -30px;
}
.jw-section .jw-section__txt01 h2 img {
  margin-bottom: 40px;
}
.jw-section .jw-section__txt01 img {
}
.jw-section .jw-section__txt01 p {
  font-size: 14px;
}
.jw-section .jw-section__txt01,
.jw-section .jw-section__txt02,
.jw-section .inner {
  will-change: opacity, transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.jw-section .jw-section__txt02 {
  text-align: center;
}
.jw-section .jw-section__txt02 h3 {
  text-align: left;
  margin-bottom: 20px;
}
.jw-section .jw-section__txt02 h3 img {
  width: 900px;
}
.jw-section .jw-section__txt02 p {
  text-align: left;
  margin-bottom: 140px;
}
.jw-section .jw-section__txt02 img {
  width: 100%;
}
.jw-section__logo-sogaini {
  margin-bottom: 10px;
}

/* ------------------------ スマートフォン ------------------------ */
@media only screen and (max-width: 768px) {
  .jw-section {
    padding-top: 60px;
    padding-bottom: 50px;
    margin-bottom: 0;
  }
  .jw-section .snap {
    height: 50px;
  }
  .jw-section .jw-section__txt01 {
    margin-bottom: 75px;
  }
  .jw-section .jw-section__txt01 h2 {
    width: 100%;
    margin-left: 0;
  }
  .jw-section .jw-section__txt01 h2 img {
		width: calc(100% + 66px);
		margin-left: -33px;
		max-width: none;
		margin-bottom: 10px;
  }
  .jw-section .jw-section__txt01 img {
  }
  .jw-section .jw-section__txt01 p {
    font-size: 14px;
		margin-left: -30px;
  }
  .jw-section .jw-section__txt02 {
    text-align: center;
  }
  .jw-section .jw-section__txt02 h3 {
    text-align: left;
    margin-bottom: 20px;
  }
  .jw-section .jw-section__txt02 h3 img {
    width: 100%;
  }
  .jw-section .jw-section__txt02 p {
    font-size: 13px;
    margin-bottom: 90px;
  }
  .jw-section__logo-wrapper img {
		width: calc(100% + 60px) !important;
		margin-left: -30px;
		max-width: none;
  }
}

/* ------------------------------------------
  JW フェードストライプ（GSAPピン固定）
--------------------------------------------- */
/* ラッパー：擬似的にスクロール距離を確保（200vh） */
.transition-container.jw-transition {
  position: relative;
  /* height: 200vh;  固定高さを撤去し成り行き + ScrollTrigger の end でスクロール距離を制御 */
  margin-bottom: 0;
}

/* ピンで固定される中身（CSSでは固定しない） */
/* ピン対象。高さは中の .jw-section の成り行きに合わせる（従来は100vh固定） */
.jw-transition .sticky-wrapper {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: visible;
}

.jw-transition .stripe-container {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.jw-transition .stripe {
  position: absolute;
  left: 0;
  width: 100%;
  background-color: var(--color-beige);
  transform-origin: bottom;
  transform: scaleY(0);
}

/* jw-section 本体は透明背景で上に乗せる（最初は中身を非表示） */
/* jw-section を成り行き高さにするため absolute 全面埋め込みを解除 */
.jw-transition .jw-section {
  position: relative; /* 通常フローに残す → 親(sticky-wrapper)の高さが内容に追随 */
  z-index: 2;
  background: transparent;
}
.message {
  background: var(--color-beige);
  /*padding: 100px 0;*/
	overflow: hidden;
	margin-top: -1px;
	padding-bottom: 0;
	margin-bottom: 100px;
}
.message p {
  color: #ffffff;
}
/* ---------- Message Section Video Scroll ---------- */
.message {
  position: relative;
}
.message .message__img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 3;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  visibility: visible;
}
.message .message__img img {
  display: none;
}

/* 背景用のラッパー（PC/SPで背景画像を切替） */
.message__img-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-image: url("../img/index/message-img.jpg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  transform-origin: center center;
  will-change: transform, opacity;
}
@media only screen and (max-width: 768px) {
  .message__img-bg {
    background-image: url("../img/index/message-img-sp.jpg");
  }
}
.message .video-container {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: #000;
}
.message .video-container video {
  width: 101%;
  height: 100%;
	margin-left: -0.5%;
  object-fit: cover;
  transform: translateZ(0);
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  -webkit-transform: translateZ(0);
  -moz-transform: translateZ(0);
  -ms-transform: translateZ(0);
}
.message__txt-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  transform: none;
  width: 100% !important;
  max-width: 100% !important;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
}

.message__txt {
  width: 100%;
  color: #ffffff;
  padding: 0 50px;
  line-height: 2.3;
  /*max-width: 1600px;*/
}

/* ------------------------ スマートフォン ------------------------ */
@media only screen and (max-width: 768px) {
	.message {
		margin-top: -1px;
		margin-bottom: 7px;
	}
  .message__txt {
    font-size: 14px;
    padding: 0 35px;
    line-height: 2;
    max-width: 1600px;
  }
}

.t-price {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 100px;
}
.t-price__left {
  width: 32%;
}
.t-price__left img {
  width: 100%;
}
.t-price__right {
  width: 59%;
}
.t-price__right__contents01 {
  padding-top: 100px;
  /*text-align: right;*/
}
.t-price__right__contents01__box {
  display: inline-block;
  margin-bottom: 120px;
  margin-right: 5%;
}
.t-price__right__contents01 p {
  text-align: left;
  font-size: 17px;
  line-height: 2;
}
.t-price__right__contents01 p:first-child {
	margin-bottom: 70px;
}
.t-price__right__contents02 {
	position: relative;
}

/* ------------------------ パソコン ------------------------ */
@media screen and (min-width: 768px) {

	.t-price__right__contents02__txt {
		position: absolute !important;
		top: 0;
		width: 100%;
	}

}

.t-price__right__contents02__txt img {
  width: 63%;
}
.t-price__right__contents02__photo {
  text-align: right;
  padding-right: 10%;
}
.t-price__right__contents02__photo img {
	margin-top: 17%;
  width: 50%;
}


/* ------------------------ ブレークポイント ------------------------ */
@media only screen and (max-width: 1250px) {
	
	
	.t-price__right__contents01 {
		padding-top: 0;
		text-align: right;
	}
	.t-price__right__contents01 p:first-child {
		margin-bottom: 30px;
	}
	.t-price__right__contents01__box {
		margin-bottom: 70px;
		margin-right: 5%;
	}
	
}

/* ------------------------ スマートフォン ------------------------ */
@media only screen and (max-width: 768px) {
  .t-price {
    display: block;
    margin-bottom: 70px;
  }
  .t-price__left {
    /*width: 34%;*/
    width: 100%;
		margin-bottom: 30px;
  }
  .t-price__left img {
    width: 48%;
  }
  .t-price__right {
    width: 100%;
  }
  .t-price__right__contents01 {
		padding: 0 35px;
    text-align: right;
  }
  .t-price__right__contents01__box {
    display: inline-block;
    margin-bottom: 80px;
    margin-right: 0;
  }
  .t-price__right__contents01 p {
    text-align: left;
    font-size: 14px;
    line-height: 2;
  }
  .t-price__right__contents02__txt img {
    width: 100%;
    margin-bottom: 30px;
  }
  .t-price__right__contents02__photo {
    text-align: center;
    margin-top: -15px;
    padding-right: 0;
  }
  .t-price__right__contents02__photo img {
    width: 83%;
		margin-top: -40px;
		/*margin-left: -30px;*/
  }

}

.t-movie {
}
.t-movie .t-movie__head {
  position: relative;
  margin-bottom: 80px;
}
.t-movie .t-movie__head .t-movie__head__y {
  width: 88%;
  margin-left: -50px;
  position: relative;
}
.t-movie .t-movie__head .t-movie__head__y img {
}
.t-movie .t-movie__head .t-movie__head__y .l-animation01 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}
.t-movie .t-movie__head .box {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 54%;
  text-align: right;
}
.t-movie .t-movie__head .box p {
  margin-bottom: 40px;
}
.t-movie .t-movie__head .box h2 {
}
.t-movie .youtube {
}
.youtube-modal-content iframe {
	vertical-align: bottom;
}

/* ------------------------ スマートフォン ------------------------ */
@media only screen and (max-width: 768px) {
	
  .t-movie .t-movie__head {
    position: relative;
    margin-bottom: 50px;
  }
  .t-movie .t-movie__head .t-movie__head__y {
    width: 100%;
    margin-left: 0;
  }
  .t-movie .t-movie__head .box {
    position: static;
    right: 0;
    bottom: 0;
    width: 100%;
    text-align: right;
  }
  .t-movie .t-movie__head .box p {
    font-size: 13px;
    margin-bottom: 15px;
  }
  .t-movie .t-movie__head .box h2 {
    text-align: right;
  }
  .t-movie .t-movie__head .box h2 img {
    width: 90%;
  }
	
}

.t-movie__player {
	background-color: #FFFFFF;
	padding: 20px 20px 40px;
}

.t-movie__player-wrapper {
	position: relative;
	aspect-ratio: 16 / 9;	
}

.js-youtube-trigger {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	cursor: pointer;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.4s ease-in-out, visibility 0.4s ease-in-out;
}

.js-youtube-trigger.is-active {
	opacity: 1;
	visibility: visible;
}

.js-youtube-trigger img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.js-youtube-trigger::before {
	content: "";
	width: 85px;
	height: 85px;
	background-image: url("../img/common/play-button.png");
	background-repeat: no-repeat;
	background-size: cover;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	margin: auto;
	transition: transform 0.3s;
}

.js-youtube-trigger:hover::before {
	transform: scale(1.1);
}

.t-movie__select {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 30px;
	margin-top: 15px;
	font-family: var(--font-cinzel);
	font-weight: 400;
}

.t-movie__select-item {
	width: 230px;
	cursor: pointer;
	transition: all 0.3s;
	opacity: 0.6;
	text-align: center;
}
.t-movie__select-item .image {
	margin-bottom: 15px;
}
.t-movie__select-item .text {
	
}
.t-movie__select-item .text p {
	background-image: url("../img/common/play-button-b.png");
	background-position: center bottom;
	background-repeat: no-repeat;
	background-size: 20px;
	padding-bottom: 20px;
	opacity: 0.4;
}
.t-movie__select-item:hover {
	opacity: 1;
}

.t-movie__select-item.is-active , .t-movie__select-item.is-active .text p {
	opacity: 1;
}

/* ------------------------ スマートフォン ------------------------ */
@media only screen and (max-width: 768px) {
	
	.t-movie .img-wrap {
		width: calc(100% + 40px);
		margin-left: -20px;
	}
	
	.t-movie__player {
		background-color: #FFFFFF;
		padding: 5px 5px 45px;
	}

	.t-movie__player-wrapper {
		position: relative;
		aspect-ratio: 16 / 9;
		margin-bottom: 40px;
	}

	.js-youtube-trigger {
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		cursor: pointer;
		opacity: 0;
		visibility: hidden;
		transition: opacity 0.4s ease-in-out, visibility 0.4s ease-in-out;
	}

	.js-youtube-trigger.is-active {
		opacity: 1;
		visibility: visible;
	}

	.js-youtube-trigger img {
		width: 100%;
		height: 100%;
		object-fit: cover;
	}

	.js-youtube-trigger::before {
		content: "";
		width: 70px;
		height: 70px;
		background-image: url("../img/common/play-button.png");
		background-repeat: no-repeat;
		background-size: cover;
		position: absolute;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		margin: auto;
		transition: transform 0.3s;
	}

	.js-youtube-trigger:hover::before {
		transform: scale(1.1);
	}

	.t-movie__select {
		display: block;
		margin-top: 15px;
		padding: 0 30px;
	}
	.t-movie__select-item {
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
		width: 100%;
		margin-bottom: 15px;
	}
	.t-movie__select-item .image {
		width: 45%;
		margin-bottom: 0;
	}
	.t-movie__select-item .text {
		width: 50%;
		display: flex;
		flex-wrap: wrap;
		align-items: center;
	}
	.t-movie__select-item .text p {
		background-position: top left;
		background-size: 15px;
		padding: 23px 0 0 0;
		line-height: 1.2;
		text-align: left;
	}
	.t-movie__select-item:hover {
		opacity: 1;
	}

	.t-movie__select-item.is-active {
		opacity: 1;
	}

}

#youtube-trigger {
  position: relative;
  border: 20px solid #ffffff;
}
#youtube-trigger::before {
  content: "";
  width: 85px;
  height: 85px;
  background-image: url("../img/common/play-button.png");
  background-repeat: no-repeat;
  background-size: cover;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
}

.youtube-modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  z-index: 9999;
  justify-content: center;
  align-items: center;
}
.youtube-modal-overlay.is-active {
  display: flex;
}

.youtube-modal-content {
  position: relative;
  width: 90%;
  max-width: 1200px;
  aspect-ratio: 16 / 9;
  background: #000;
}

#youtube-player-container {
  width: 100%;
  height: 100%;
}

#youtube-player-container iframe {
  width: 100%;
  height: 100%;
}

.youtube-modal-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: white;
  font-size: 40px;
  line-height: 1;
  cursor: pointer;
  font-family: sans-serif;
  padding: 0;
}


/* ------------------------ スマートフォン ------------------------ */
@media only screen and (max-width: 768px) {
	
  #youtube-trigger {
    position: relative;
    border: 5px solid #ffffff;
  }
  #youtube-trigger::before {
    content: "";
    width: 60px;
    height: 60px;
    background-image: url("../img/common/play-button.png");
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
  }

  .youtube-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 9999;
    justify-content: center;
    align-items: center;
  }
  .youtube-modal-overlay.is-active {
    display: flex;
  }
  .youtube-modal-content {
    position: relative;
    width: 90%;
    max-width: 1200px;
    aspect-ratio: 16 / 9;
    background: #000;
  }
  .youtube-modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 40px;
    line-height: 1;
    cursor: pointer;
    font-family: sans-serif;
    padding: 0;
  }
}

.link-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.link-header p {
}
.link-header p a.button01 {
  margin-top: 20px;
}

#gallery {
  overflow: hidden;
	background: var(--color-beige);
}

.gallery-section {
  width: 100%;
  padding: 80px 0;
  background-color: #e6e4e0;
}

/* --- 隕句・縺・--- */
.gallery-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0 60px;
  margin-bottom: 24px;
}

.gallery-title {
  font-family: serif;
  font-size: 28px;
  font-weight: normal;
  color: #333;
}

.gallery-more {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #333;
  font-size: 14px;
  letter-spacing: 1px;
}

.gallery-slider {
  margin-bottom: 150px;
}
.gallery-slider .swiper {
  overflow: visible;
}
.gallery-slider .swiper-slide {
  display: block;
  border-radius: 8px;
  overflow: hidden;
  transition: opacity 0.3s;
}
.gallery-slider .swiper-slide img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  display: block;
}

/* ------------------------ スマートフォン ------------------------ */
@media only screen and (max-width: 768px) {
	
	#gallery {
		padding-bottom: 50px;
	}
	.gallery-slider {
		margin-bottom: 15px;
	}
}

/* ------------------------ スマートフォン ------------------------ */
@media only screen and (max-width: 768px) {
}

.t-story__section {
  display: flex;
  gap: 11%;
  align-items: flex-start;
  padding-top: 20px;
  padding-bottom: 20px;
  border-top: 1px solid #ffffff;
}
.t-story__heading {
  flex: 0 0 50%;
}

.t-story__description {
  flex: 1;
}
.t-story__section h2 {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.6;
  margin: 0;
}
.t-story__section p {
  font-size: 15px;
  margin: 0;
  padding-top: 5px;
}
.details-section {
  display: flex;
  justify-content: space-between;
  gap: 11%;
  align-items: flex-start;
  margin-top: 80px;
}
.product-info {
  flex: 0 0 50%;
}
.standards-info {
  flex: 1;
}
.small-heading {
  font-size: 14px;
  margin: 0 0 20px 0;
}
.details-section h3 {
  font-size: 21px;
  font-weight: 500;
  line-height: 1.6;
  margin: 0 0 30px 0;
  padding-top: 20px;
  border-top: 1px solid #ffffff;
}
.product-info > p {
  font-size: 15px;
}
.standards-info ul {
  margin: 0;
  font-size: 14px;
}
.standards-info ul li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  border-bottom: 1px solid #808080;
  padding: 10px 0;
}
.standards-info ul li h4 {
  font-weight: 500;
  width: 10%;
}
.standards-info ul li p {
  width: 88%;
}
.standards-info ul li:first-of-type {
  border-top: 1px solid #808080;
}

/* ------------------------ スマートフォン ------------------------ */
@media only screen and (max-width: 768px) {
  .t-story__section {
    display: block;
    padding-top: 20px;
    padding-bottom: 20px;
    border-top: 1px solid #ffffff;
  }
  .t-story__section.sp-line {
    border-bottom: 1px solid #ffffff;
  }
  .t-story__heading {
    flex: 0 0 50%;
  }

  .t-story__description {
    flex: 1;
  }
  .t-story__section h2 {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.6;
    margin-bottom: 20px;
  }
  .t-story__section p {
    font-size: 14px;
    margin-bottom: 30px;
    padding-top: 5px;
		line-height: 2;
  }
  .details-section {
    display: block;
    margin-top: 0;
    padding-top: 20px;
    border-top: 1px solid #ffffff;
  }

  .js-accordion-trigger {
    position: relative;
    cursor: pointer;
    padding: 20px 40px 20px 0;
    margin: 0;
  }
  .js-accordion {
    border-top: 1px solid #ffffff;
  }
  .js-accordion:last-of-type {
    border-bottom: 1px solid #ffffff;
  }

  .js-accordion-trigger::before,
  .js-accordion-trigger::after {
    content: "";
    position: absolute;
    right: 10px;
    top: 50%;
    width: 18px;
    height: 1px;
    background-color: #000;
    transition: transform 0.3s ease-in-out;
  }

  .js-accordion-trigger::before {
    transform: translateY(-50%);
  }
  .js-accordion-trigger::after {
    transform: translateY(-50%) rotate(90deg);
  }

  .js-accordion-trigger.is-active::after {
    transform: translateY(-50%) rotate(0deg);
  }

  .js-accordion-content {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.4s ease-out;
  }

  .js-accordion-content h3 {
    margin-top: 0;
    padding-top: 20px;
  }

  .js-accordion-content > p {
    padding-bottom: 20px;
    margin-bottom: 0;
  }

  .js-accordion-content ul {
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .product-info,
  .standards-info {
    flex: initial;
  }
  .small-heading {
    margin: 0;
  }
  .details-section h3 {
    border-top: none;
    padding-top: 0;
    font-size: 18px;
    margin-bottom: 20px;
  }
  .product-info > p {
    font-size: 14px;
  }
  .standards-info ul li:first-of-type {
    border-top: none;
  }
}
.t-data__section {
  background-color: #f2efec;
  padding-top: 150px;
  padding-bottom: 100px;
  margin-bottom: 0;
}
.t-data__section__box {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.t-data__section__box .left {
  width: 50%;
}
.t-data__section__box .left img {
  width: 37%;
  margin: 0 auto 50px;
}
.t-data__section__box .left p {
}
.t-data__section__box .left p.bikou {
  font-size: 14px;
}
.t-data__section__box .left ul {
  margin: 0;
  font-size: 14px;
}
.t-data__section__box .left ul li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  border-top: 1px solid #b2b2b2;
  padding: 8px 0;
}
.t-data__section__box .left ul li h4 {
  font-weight: 500;
  width: 20%;
}
.t-data__section__box .left ul li p {
  width: 78%;
}
.standards-info ul li:first-of-type {
  border-top: 1px solid #b2b2b2;
}
.t-data__section__box .right {
  width: 41%;
  position: relative;
}
.t-data__section__box .right img.text {
  width: 55%;
  position: absolute;
  top: 0;
  left: 15px;
}
.t-data__section__box .right img.photo {
  width: 57%;
	margin-left: 31%;
}
.t-data__section__box .right img.jw {
}

/* ------------------------ ブレークポイント ------------------------ */
@media only screen and (max-width: 1700px) {

	.t-data__section__box .left {
		width: 50%;
	}
	.t-data__section__box .right {
		width: 45%;
	}

}

/* ------------------------ ブレークポイント ------------------------ */
@media only screen and (max-width: 1500px) {

	.t-data__section__box .left {
		width: 50%;
	}
	.t-data__section__box .right {
		width: 45%;
	}
	.t-data__section__box .left p , .t-data__section__box .left ul , .t-data__section__box .left p.bikou {
		font-size: 14px;
	}

}

/* ------------------------ ブレークポイント ------------------------ */
@media only screen and (max-width: 1300px) {

	.t-data__section__box .left {
		width: 50%;
	}
	.t-data__section__box .right {
		width: 45%;
	}
	.t-data__section__box .left p , .t-data__section__box .left ul , .t-data__section__box .left p.bikou {
		font-size: 13px;
		line-height: 2;
	}
	.t-data__section__box .left ul li h4 {
		width: 30%;
	}
	.t-data__section__box .left ul li p {
		width: 68%;
	}
	

}

/* ------------------------ スマートフォン ------------------------ */
@media only screen and (max-width: 768px) {
  .t-data__section {
    padding-top: 100px;
    padding-bottom: 100px;
    margin-bottom: 0;
  }
	.t-data__section_logo{
		width: 85%;
	}
  .t-data__section__box {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  .t-data__section__box .left {
    order: 2;
    width: 100%;
  }
  .t-data__section__box .left img {
    width: 300px;
    margin: 0 auto 50px;
  }
  .t-data__section__box .left p {
    margin-bottom: 50px;
  }
  .t-data__section__box .left ul {
    margin: 30px 0 0;
    font-size: 14px;
  }
  .t-data__section__box .left ul li {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 12px 0;
  }
  .t-data__section__box .left ul li h4 {
    font-weight: 500;
    width: 40%;
  }
  .t-data__section__box .left ul li p {
    width: 58%;
    margin-bottom: 0;
  }
  .standards-info ul li:first-of-type {
    border-top: 1px solid #b2b2b2;
  }
  .t-data__section__box .right {
    order: 1;
		width: calc(100% + 60px);
		margin-left: -30px;
    margin-bottom: 0;
  }
  .t-data__section__box .right img.text {
    width: 52%;
    position: absolute;
    top: 19%;
    left: 0;
  }
  .t-data__section__box .right img.photo {
    width: 83%;
    margin: 0 5% 0 12%;
  }
  .t-data__section__box .right img.jw {
  }
}

.t-news {
  background-color: #000000;
  color: #ffffff;
  padding-top: 150px;
  padding-bottom: 150px;
  margin-bottom: 0;
  border-bottom: 1px solid #ffffff;
}


.img-wrap {
  overflow: hidden;
  position: relative;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.img-wrap.active {
  opacity: 1;
}
.img-wrap.active::before {
  animation: img-wrap 1s cubic-bezier(0.7, 0, 0.2, 1) forwards;
  background: var(--color-beige);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 1;
}
.img-wrap.active.black::before {
  background: #000000;
}
.img-wrap.active.white::before {
  background: #ffffff;
}
.section-bg .img-wrap.active::before {
  background: var(--key-color);
}

@keyframes img-wrap {
  100% {
    transform: translateY(100%);
  }
}

/* ------------------------------------------
  ギャラリーページ
--------------------------------------------- */

/* ギャラリー全体のラッパー */
.gallery_wrapper {
  position: relative;
  font-family: serif;
  height: 100vh;
  min-height: 700px;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* BACKボタン */
.back_button {
  position: absolute;
  top: 30px;
  right: 40px;
  display: flex;
	justify-content: flex-end;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #333;
  font-size: 14px;
  letter-spacing: 0.1em;
}
.back_button svg {
  transition: transform 0.3s ease;
}
.back_button:hover svg {
  transform: translateX(5px);
}

/* 左側のメインコンテンツエリア */
.gallery_content {
  max-width: 1000px;
  width: calc(60% - 100px); /* 右側のスペースを空ける */
  margin-left: auto;
  margin-right: auto;
}

/* Swiperの基本スタイル */
.gallery_content .swiper-slide {
  background: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
	height: 100vh;
}
.gallery_content .swiper-slide img {
  display: block;
  width: 100%;
  max-height: 80vh;
  height: auto;
  object-fit: contain;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* フェードエフェクトの強化 */
.gallery_content .swiper-slide-active img {
  opacity: 1;
}
.gallery_content .swiper-slide:not(.swiper-slide-active) img {
  opacity: 0;
}
/* 画像下のテキスト */
.photo_info {
  margin-top: 15px;
  color: #333;
  position: absolute;
  bottom: 30px;
  left: 30px;
	padding: 0 35px;
}
.photo_info .number {
  font-size: 16px;
  margin: 0;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.photo_info .name {
  font-size: 14px;
  margin: 5px 0 0 0;
}

/* 右下のサムネイルグリッド */
.thumb_grid {
  position: absolute;
  bottom: 30px;
  right: 30px;
  width: 220px; /* サムネイルエリアの幅 */
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

/* サムネイル画像アイテム */
.thumb_item {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1; /* 正方形にする */
  object-fit: cover;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.thumb_item:hover {
  opacity: 0.8;
}
.thumb_item.active {
  opacity: 1;
}

/* ------------------------ スマートフォン ------------------------ */
@media only screen and (max-width: 768px) {
	
	/* ギャラリー全体のラッパー */
	.gallery_wrapper {
		position: relative;
		font-family: serif;
		height: auto;
		min-height: inherit;
		box-sizing: border-box;
		display: block;
		justify-content: center;
		align-items: center;
	}

	/* BACKボタン */
	.back_button {
		position: static;
		display: flex;
		justify-content: flex-end;
		align-items: right;
		gap: 10px;
		text-decoration: none;
		color: #333;
		font-size: 14px;
		letter-spacing: 0.1em;
		padding: 25px 10px 0 10px;
	}
	.back_button svg {
		transition: transform 0.3s ease;
	}
	.back_button:hover svg {
		transform: translateX(5px);
	}

	/* 左側のメインコンテンツエリア */
	.gallery_content {
		max-width: 1000px;
		width: 100%;
		margin: 40px auto 50px;
	}

	/* Swiperの基本スタイル */
	.gallery_content .swiper-slide {
		background: transparent;
		display: flex;
		justify-content: center;
		align-items: center;
		height: auto;
	}
	.gallery_content .swiper-slide img {
		display: block;
		width: auto;
		max-width: 97vw;
		max-height: 97vh;
		height: auto;
		object-fit: contain;
		transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
	}

	.gallery_content .swiper-slide.is-landscape {
		min-height: inherit;
	}

	.gallery_content .swiper-slide.is-landscape img {
		width: 97%;
		max-width: 97vw;
		height: auto;
		max-height: 70vh;
	}

	/*.gallery_content .swiper-slide.is-portrait {
		min-height: 97vh;
	}*/

	.gallery_content .swiper-slide.is-portrait img {
		width: 70vw;
		max-width: 70vw;
		height: auto;
		max-height: 97vh;
	}

	/* フェードエフェクトの強化 */
	.gallery_content .swiper-slide-active img {
		opacity: 1;
	}
	.gallery_content .swiper-slide:not(.swiper-slide-active) img {
		opacity: 0;
	}
	/* 画像下のテキスト */
	.photo_info {
		margin-top: 15px;
		color: #333;
		position: static;
		bottom: 30px;
		left: 30px;
	}
	.photo_info .number {
		font-size: 16px;
		margin: 0;
		transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	}
	.photo_info .name {
		font-size: 14px;
		margin: 5px 0 0 0;
	}

	/* 右下のサムネイルグリッド */
	.thumb_grid {
		position: static;
		width: 100%; /* サムネイルエリアの幅 */
		display: grid;
		grid-template-columns: repeat(6, 1fr);
		gap: 8px;
		padding: 0 35px;
	}

	/* サムネイル画像アイテム */
	.thumb_item {
		width: 100%;
		height: auto;
		aspect-ratio: 1 / 1; /* 正方形にする */
		object-fit: cover;
		cursor: pointer;
		opacity: 0.6;
		transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	}
	
}


.footer-parallax-spacer {
  pointer-events: none;
}

/* ------------------------------------------
  Message: image initial display (no CSS fixed)
--------------------------------------------- */
.message .message__img {
  position: absolute; /* overlay above video without pushing layout */
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 3;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  visibility: visible;
  transform: translateZ(0);
	overflow: hidden;
}
.message .message__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform, opacity;
  transform-origin: center center;
}

/* removed duplicate conflicting block (Intro Image Overlay) */

/* Sticky override for video-container */
.message .video-container{
  position: sticky;
  top:0;
  width:100%;
  height:100vh;
  overflow:hidden;
  background:#000;
  z-index: 10; /* base layer */
}

/* When landing via an anchor below .message, temporarily disable sticky
   so the anchor can be visible and not be covered by the video. */
body.disable-message-sticky-initial .message .video-container {
  position: relative !important;
  top: auto !important;
  z-index: 1 !important;
}

/* Sticky fix: allow sticky children inside .message */
.message {
  overflow: visible;
}

/* Z-index layering: img(30) > text(20) > video(10) */
.message__txt-wrapper {
  z-index: 20 !important; /* ensure above video, below image */
  pointer-events: none;
}
.message .message__img {
  z-index: 30; /* top overlay */
}

/* Overrides: ensure text overlay sits above video (below image) */
.message__txt-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  transform: none;
  width: 100% !important;

  max-width: 100% !important;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
}




