/* ==============================
   トップページ専用 — top.css
   （オープニングアニメーションを含む）
   ============================== */
:root {
  --fade-in-duration: 800ms;
  --hold-duration: 700ms;
  --fade-out-duration: 800ms;
  --easing: cubic-bezier(.2,.75,.2,1);
  --bg: #ffffff;
}

/* 初回はオープニング表示＆ページ非表示 */
body.is-opening {
  overflow: hidden;
  height: 100vh;
}

main.page {
  opacity: 0;
  transform: translateY(10px);
  filter: blur(2px);
  transition: opacity 600ms var(--easing) 80ms, transform 600ms var(--easing) 80ms, filter 600ms var(--easing) 80ms;
}
body.is-ready main.page {
  opacity: 1;
  transform: none;
  filter: none;
}

/* Opening layer */
.opening {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: var(--bg);
}
.opening__logo {
  opacity: 0;
  transform: translateY(8px) scale(.98);
  filter: blur(4px);
  will-change: opacity, transform, filter;
}
.opening__logo img {
  display: block;
  width: min(60vw, 300px);
  height: auto;
}

/* アニメーション */
.opening.is-animate .opening__logo {
  animation:
    opening-in var(--fade-in-duration) var(--easing) 0ms both,
    opening-hold var(--hold-duration) linear var(--fade-in-duration) both,
    opening-out var(--fade-out-duration) var(--easing) calc(var(--fade-in-duration) + var(--hold-duration)) both;
}

@keyframes opening-in {
  0% { opacity: 0; transform: translateY(12px) scale(.985); filter: blur(6px); }
  100% { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}
@keyframes opening-hold {
  0%, 100% { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}
@keyframes opening-out {
  0% { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
  100% { opacity: 0; transform: translateY(-8px) scale(1.02); filter: blur(6px); }
}

/* 完全に非表示に */
.opening.is-hidden { display: none; }

/* 低モーション環境ではスキップ */
@media (prefers-reduced-motion: reduce) {
  .opening.is-animate .opening__logo { animation: none; opacity: 1; transform: none; filter: none; }
  main.page { transition: none; }
}

/*------------------------------------
.hero
------------------------------------*/
.hero {
	position: relative;
	background-image: url("../images/top/hero-bg_pc.webp");
	background-position: center bottom;
	background-repeat: no-repeat;
	background-size: cover;
	min-height: 100svh;
	margin-bottom: 100px;
}
.hero .hero__inner {
	position: absolute;
	top: 45px;
	left: 80px;
}
.hero p {
	font-size: 25px;
	letter-spacing: .06em;
	margin-top: 10px;
}
.hero .scroll {
	display: flex;
	align-items: center;
	position: absolute;
	right: 130px;
	bottom: 0;
	letter-spacing: .06em;
	line-height: 1;
	color: #fff;
	writing-mode: vertical-rl;
	-webkit-writing-mode: vertical-rl;
	-ms-writing-mode: vertical-rl;
}
.hero .scroll:after {
	content: "";
	background-color: #fff;
	width: 1px;
	height: 120px;
	margin-top: 10px;
}
@media screen and (max-width: 768px) {
	.hero {
		background-image: url("../images/top/hero-bg_sp.webp");
	}
	.hero .hero__inner {
		top: 26px;
		left: 28px;
		width: 53.6%;
	}
	.hero p {
		font-size: 12px;
		margin-top: 10px;
	}
	.hero .scroll {
		right: 38px;
	}
	.hero .scroll:after {
		width: 2px;
	}
}

/*------------------------------------
.concept
------------------------------------*/
.concept {
	padding-bottom: 180px;
}
@media screen and (max-width: 768px) {
	.concept {
		padding-bottom: 30px;
	}
}

/*.concept__inner*/
.concept__inner {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	position: relative;
	max-width: 800px;
	width: calc(100% - 10vw);
	height: 200px;
	margin: 0 auto;
}
.concept__inner:before,
.concept__inner:after {
	content: "";
	position: absolute;
    width: 90px;
    height: 90px;
}
.concept__inner:before {
    border-top: 1px solid #000;
	border-left: 1px solid #000;
    top: 0;
    left: 0;
}
.concept__inner:after {
	border-right: 1px solid #000;
    border-bottom: 1px solid #000;
    right: 0;
    bottom: 0;
}
.concept__inner h1 {
	font-family: "Zen Old Mincho", serif;
	font-size: 32px;
	font-weight: 600;
	letter-spacing: .08em;
	line-height: 1;
	margin-bottom: 20px;
}
.concept__inner p {
	font-family: "Zen Old Mincho", serif;
	font-size: 20px;
	line-height: 2;
}
@media screen and (max-width: 768px) {
	.concept__inner h1 {
		font-size: 3.73vw;
	}
	.concept__inner p {
		font-size: 2.93vw;
	}
}

/*.concept__box*/
.concept__box {
	display: flex;
	justify-content: space-between;
	gap: clamp(16px, 3vw, 48px);
	padding-top: 5.21vw;
}
.concept__box .img {
	flex: 0 0 auto;
	inline-size: clamp(260px, 36vw, 620px);
}
.concept__box .img img {
	display: block;
	width: 100%;
	height: auto;
	object-fit: cover;
}
.concept__box .txt {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
	writing-mode: vertical-rl;
	text-orientation: mixed;
}
.concept__box[data-index="01"] .txt {
	margin-top: clamp(40px, 7vw, 100px);
}
.concept__box .txt h2 {
	font-family: "Zen Old Mincho", serif;
	font-size: 32px;
	font-weight: 600;
	letter-spacing: .16em;
	line-height: 1;
	margin-left: 4.17vw;
}
.concept__box .txt p {
	font-size: 18px;
	font-weight: 400;
	line-height: 2.66666666667;
}
.tcy-rotate {
  display: inline-block;
  transform: rotate(-90deg);
  transform-origin: center center;
  line-height: 1;
}
.concept__box[data-index="02"] .img {
	margin-top: clamp(20px, 4vw, 60px);
}
@media screen and (max-width: 1080px) {
	.concept__box {
		display: block;
		padding-top: 50px;
	}
	.concept__box .img {
		inline-size: 66.6666666667%;
	}
	.concept__box .txt {
		width: 100%;
	}
	.concept__box[data-index="02"] .img {
		width: calc(100% - 16%);
		margin-top: 50px;
		margin-inline: auto;
	}
}
@media screen and (max-width: 768px) {}

/*.concept__img*/
.concept__img {
	display: flex;
	justify-content: flex-end;
	margin-top: -5.73vw;
	padding-left: 8%;
}
@media screen and (max-width: 1080px) {
	.concept__img {
		margin-top: 30px;
	}
}
@media screen and (max-width: 768px) {
	.concept__box .txt h2 {
		font-size: 5.87vw;
		margin-left: 30px;
	}
	.concept__box .txt p {
		font-size: 4vw;
		line-height: 1.978;
	}
}

/*------------------------------------
.journey
------------------------------------*/
.journey {
	padding-top: 150px;
}
.journey:after {
	content: "";
	position: absolute;
	top: 0;
	background-color: #f5f5f5;
	width: 100%;
	height: 100%;
	z-index: -1;
}
@media screen and (max-width: 768px) {
	.journey {
		padding-top: 30px;
	}
	.journey:after {
		background-color: #f4f4f4;
	}
}

/*.journey__video*/
.journey__video {
	position: relative;
	max-width: 1200px;
	margin: 0 auto;
}
.video-wrapper {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
}
#youtube-player,
.video-wrapper iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

/* サムネイル */
.video-poster {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 2;
	opacity: 1;
	visibility: visible;
	transition: opacity .3s ease, visibility .3s ease;
}

/* 一度再生したらサムネは消す */
.journey__video.has-started .video-poster {
	opacity: 0;
	visibility: hidden;
}

/* 中央再生ボタン：初回だけ表示 */
.play-btn {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 13.5%;
	transform: translate(-50%, -50%);
	cursor: pointer;
	z-index: 4;
}
.journey__video.has-started .play-btn {
	display: none;   /* 再生後は非表示 */
}

/* 初回だけ全域クリック可能 */
.video-click-area {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	background: transparent !important;
	border: 0;
	padding: 0;
	z-index: 3;
	pointer-events: auto;   /* 初期は有効 */
	cursor: pointer;
}
.journey__video.has-started .video-click-area {
	pointer-events: none;   /* 再生後は無効 */
}
@media screen and (max-width: 768px) {
	.journey__video .play-btn {
		width: 13.3333333333%;
	}
}

/*.journey__container*/
.journey__container {
	max-width: 800px;
	padding: 150px 0;
}
.journey__container h2 {
	font-size: 36px;
	line-height: 1;
	text-align: center;
	margin-bottom: 80px;
}
.journey__container p {
	font-size: 18px;
	line-height: 2;
}
@media screen and (max-width: 768px) {
	.journey__container {
		padding: 50px 0 100px;
	}
	.journey__container h2 {
		font-size: 6.93vw;
		margin-bottom: 50px;
	}
	.journey__container p {
		font-size: 4.27vw;
	}
}

/*------------------------------------
.experience
------------------------------------*/
.experience h2 {
	font-size: 36px;
	line-height: 1;
	text-align: center;
	margin-bottom: 80px;
}
.experience__container {
	max-width: 1200px;
	margin-bottom: 150px;
}
.experience-list {
	display: flex;
	flex-wrap: wrap;
	gap: 5.2083vw 4.1667vw;
}
.experience-list li {
	width: calc((100% - 4.1667vw) / 2);
}
.experience-list .img {
	margin-bottom: 40px;
}
.experience-list h3 {
	font-size: 24px;
	line-height: 1;
	margin-bottom: 30px;
}
.experience-list p {
	line-height: 1.875;
}
@media screen and (max-width: 768px) {
	.experience h2 {
		font-size: 6.93vw;
		margin-bottom: 50px;
	}
	.experience__container {
		margin-bottom: 100px;
	}
	.experience-list {
		gap: 50px;
	}
	.experience-list li {
		width: 100%;
	}
	.experience-list .img {
		margin-bottom: 30px;
	}
	.experience-list h3 {
		font-size: 5.33vw;
	}
	.experience-list p {
		font-size: 4.27vw;
	}
}

/*------------------------------------
.flow
------------------------------------*/
.flow {
	padding-bottom: 100px;
}
.flow h2 {
	font-size: 36px;
	line-height: 1;
	text-align: center;
	margin-bottom: 80px;
}
.flow__container {
	display: flex;
	justify-content: space-between;
	gap: calc(70 / 1200 * 100%);
	max-width: 1200px;
}
.flow__left {
	flex: 0 0 calc(880 / 1200 * 100%);
}
.flow__right {
	flex: 0 0 calc(250 / 1200 * 100%);
}
@media screen and (max-width: 768px) {
	.flow {
		padding-bottom: 60px;
	}
	.flow h2 {
		font-size: 6.93vw;
		margin-bottom: 50px;
	}
	.flow__left {
		flex: 1 1 auto;
		width: 100%;
	}
	.flow__right {
		display: none;
	}
}

/*.flow-list */
.flow-list {
	margin-bottom: 200px;
}
.flow-list li:not(:last-child) {
	margin-bottom: 100px;
}
.flow-list .img {
	position: relative;
	width: 100%;
	aspect-ratio: 11 / 7;
	overflow: hidden;
	margin-bottom: 40px;
}
.flow-list .img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.flow-list .inner {
	display: flex;
	align-items: center;
	height: 70px;
	padding-left: 80px;
}
.flow-list .num {
	flex-shrink: 0;
	width: 80px;
	font-size: 70px;
	line-height: 1;
	margin-left: -80px;
}
.flow-list h3 {
	font-size: 32px;
}
.flow-list .desc {
	white-space: normal;
	overflow-wrap: anywhere;
	word-break: break-word;
	margin-left: 80px;
	padding-top: 20px;
}
@media screen and (max-width: 768px) {
	.flow-list {
		margin-bottom: 100px;
	}
	.flow-list li:not(:last-child) {
		margin-bottom: 50px;
	}
	.flow-list .img {
		margin-bottom: 30px;
	}
	.flow-list .inner {
		height: 20px;
		padding-left: 35px;
	}
	.flow-list .num {
		width: 35px;
		font-size: 8vw;
		margin-left: -35px;
	}
	.flow-list h3 {
		font-size: 5.33vw;
	}
	.flow-list .desc {
		font-size: 4.27vw;
		margin-left: 35px;
		padding-top: 30px;
	}
}

/*.flow__block*/
.flow__block {
	display: flex;
	gap: 30px;
	padding-left: 11.98vw;
}
.flow__block:not(:last-child) {
	position: relative;
	margin-bottom: 80px;
}
.flow__block:not(:last-child):after {
	content: "";
	position: absolute;
	right: 0;
	bottom: -39px;
	left: 0;
	background-color: #bbb;
	width: 100%;
	height: 2px;
}
.flow__block .flow__title {
	flex-shrink: 0;
	width: 11.98vw;
	font-size: 20px;
	letter-spacing: 0;
	margin-left: -11.98vw;
}
.flow__block .flow__content {
	width: 100%;
}
.flow__block .list,
.flow__block p {
	line-height: 1.875;
}
.flow__block .list li:before {
	content: "・";
}
.flow__block .google-map {
	max-width: 500px;
	margin-top: 30px;
	aspect-ratio: 5 / 3;
}
.flow__block .google-map  iframe {
	width: 100%;
	height: 100%;
}
@media screen and (max-width: 768px) {
	.flow__block {
		flex-wrap: wrap;
		gap: 20px;
		padding-left: 0;
	}
	.flow__block:not(:last-child) {
		margin-bottom: 60px;
	}
	.flow__block:not(:last-child):after {
		bottom: -29px;
		height: 1px;
	}
	.flow__block .flow__title {
		width: 100%;
		margin-left: 0;
	}
}

/*.activity*/
.activity dl {
	display: flex;
	padding-left: 140px;
}
.activity dl:not(:last-child) {
	border-bottom: 1px solid #bbb;
}
.activity dt,
.activity dd {
	display: flex;
	align-items: center;
	line-height: 1.875;
	padding: 15px 0;
}
.activity dl:first-child dt,
.activity dl:first-child dd {
	padding-top: 0;
}
.activity dl:last-child dt,
.activity dl:last-child dd {
	padding-bottom: 0;
}
.activity dt {
	flex-shrink: 0;
	width: 140px;
	margin-left: -140px;
}
@media screen and (max-width: 768px) {}

/*.schedule-list*/
.schedule-list li {
	display: flex;
	padding-left: 75px;
}
.schedule-list li:not(:last-child) {
	margin-bottom: 10px;
}
.schedule-list time {
	flex-shrink: 0;
	width: 75px;
	margin-left: -75px;
}
@media screen and (max-width: 768px) {}

/*.faq-list*/
.faq-list {
	font-weight: 700;
}
.faq-list li:not(:last-child) {
	margin-bottom: 30px;
}
.faq-list .que:before {
	content: "Q. ";
}
.faq-list .ans:before {
	content: "A. ";
}
@media screen and (max-width: 768px) {}

/*.flow__sticky*/
.flow__sticky {
	position: sticky;
	top: 50px;
	background-color: #fff;
	padding: 20px;
}
.flow__sticky h4 {
	font-size: 18px;
	font-weight: 700;
	letter-spacing: 0;
	line-height: 1;
	text-align: center;
	margin-bottom: 30px;
}
.flow__sticky dl {
	line-height: 1.875;
	margin-bottom: 30px;
}
.flow__sticky dt {
	font-weight: 700;
}
.flow__sticky dd span {
	font-size: 26px;
}
.flow__sticky a {
	display: flex;
	justify-content: center;
	align-items: center;
	background-color: #000;
	width: 100%;
	height: 40px;
	font-size: 18px;
	letter-spacing: .05em;
	line-height: 1;
	color: #fff;
}
@media screen and (max-width: 768px) {}

/*------------------------------------
.lifestyle
------------------------------------*/
.lifestyle__container {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 100px 0;
}
.lifestyle__container h2 {
	position: relative;
	font-family: "Zen Old Mincho", serif;
	font-size: 36px;
	font-weight: 600;
	line-height: 1;
	margin-inline: auto;
	padding-bottom: 80px;
}
.lifestyle__container p {
	align-self: flex-start; /* pを左揃えに戻す */
	font-size: 18px;
	letter-spacing: .08em;
	line-height: 3.83333333333;
	margin-left: var(--h2-left, 0px);
}
@media screen and (max-width: 768px) {
	.lifestyle__container {
		padding: 60px 0;
	}
	.lifestyle__container h2 {
		font-size: 24px;
		line-height: 1.875;
		padding-bottom: 30px;
	}
	.lifestyle__container p {
		letter-spacing: .06em;
		line-height: 2;
	}
}

/*.lifestyle__parallax*/
.lifestyle__parallax {
	display: flex;
	justify-content: center;
	align-items: center;
	background-attachment: fixed;
	background-image: url("../images/top/lifestyle-img.webp?251031");
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	height: 600px;
}
@media screen and (max-width: 768px) {
	.lifestyle__parallax {
		background-attachment: scroll;
		height: 200px;
	}
}
