@charset "utf-8";

/*--------------------------------------------------------------
  front-page設定
--------------------------------------------------------------*/

.contents {
	margin: 0;
	padding: 1rem;
}

/*--------------------------------------------------------------
  トップ　ビデオ用
--------------------------------------------------------------*/

/* 動画表示要素 */
.video-container {
	position: relative;
	margin: 0;
	padding: 0;
	width: 100vw;
	height: 100dvh;
	overflow: hidden;
}

.video-container video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	position: absolute;
	top: 0;
	left: 0;
}

#background-video {
	pointer-events: none;
}

/* ビューポートのアスペクト比が16:9よりも横長の場合のスタイル */
@media (min-aspect-ratio: 16/9) {
	.video-container video {
		width: 100vw;
		/* ビューポートの幅に合わせる */
		height: auto;
		/* 高さは自動で調整される */
	}
}

.text-area-grid {
	display: block;
}

.text-area-grid>div:first-child {
	height: 45vh;
}

.text-area-grid>div:last-child {
	height: 55vh;
}

.image-content-inner {
	width: 100%;
	height: 100%;
	display: block;
	justify-content: center;
	align-items: end !important;
}

.image-content-inner>div {
	width: 100%;
}

/* 動画の上に乗せる文字 */
.text-content-inner {
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}


.text-content-inner h1,
.text-content-inner h1>* {
	font-family: 'Noto Serif JP', 'Hiragino Mincho Pro', 'ヒラギノ明朝 Pro W3', '游明朝体', 'Yu Mincho', 'ＭＳ 明朝', serif;

	font-size: clamp(2.0rem, 2.2vw, 3.2rem);
	line-height: 1.5;
	font-weight: 300;
	text-align: center;
	color: #8c681e;
	letter-spacing: 1.5rem;
	/* text-shadow: 0px 0px 15px rgb(var(--main-color) / 1.0); */
}

.text-content-inner h2,
.text-content-inner h2>* {
	margin: 0 0 1rem 0;
	font-size: clamp(1.2rem, 1.4vw, 2.2rem);
	line-height: 1;
	font-weight: 300;
	text-align: center;
	color: #666;
	/* text-shadow: 0px 0px 8px rgb(var(--main-color) / 1.0); */
}

.text-content-inner h2>strong {
	margin: 0 1rem 1rem 0;
	padding: 0.1rem 1rem 0.4rem 1rem;
	border: 1px solid #666;
	border-radius: 2rem;
}

.text-content-inner h2>strong:last-child {
	margin: 0 0 1rem 0;
}

.text-content-inner h3,
.text-content-inner h3>* {
	display: flex;
	justify-content: start;
	align-items: start;

	font-size: clamp(1.2rem, 1.4vw, 2.2rem);
	line-height: 1.6;
	font-weight: 300;
	text-align: center;
	color: #999;
	/* text-shadow: 0px 0px 8px rgb(var(--main-color) / 1.0); */
}

.text-content-inner h3 img {
	margin: 0 0.5rem 0 0;
	float: left;
	width: clamp(2rem, 2.2vw, 3rem);
	height: clamp(2rem, 2.2vw, 3rem);
}

.curve {
	position: absolute;
	width: 100%;
	height: 30px;

	display: flex;
	justify-content: center;
	align-items: start;
}

.curve>img {
	width: 100px;
}

.toppage-text {
	position: relative;
	width: 100%;
	height: stretch;
	padding: 80px 0 0 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;

	color: #fff;

	font-size: clamp(1.4rem, 1.6vw, 2.4rem);
	line-height: 1.2;
	font-weight: 400;
	text-align: center;
}

.toppage-text p {
	margin: 0;
	padding: 2rem;
	font-size: clamp(1.3rem, 1.6vw, 2.6rem);
	line-height: 1.5;
	font-weight: 400;
	text-align: center;

	color: #333;

	background-color: rgb(255 255 255 / 0.9);

	font-family: serif;
	font-optical-sizing: auto;
	font-weight: 400;
}

.toppage-text img {
	width: 500px;
}

.toppage-text span.label {
	display: inline-block;
	margin: 0 0.5rem 0 0.5rem;
	padding: 0.2rem 0.5rem 0.2rem 0.5rem;
	color: #333;
	font-size: 1rem;
	line-height: 1.2;
	font-weight: 400;
	vertical-align: middle;
	border: 2px solid #fff;
	background-color: rgb(255 255 255 / 0.9);
}

.toppage-text div.flex-container {
	margin: 0 0 2rem 0;
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
}

.toppage-text div.flex-container span {
	position: relative;
	display: block;
	margin: 0 1rem 0 0;
	padding: 0.2rem 1rem 0.4rem 1rem;
	color: #fff;
	font-size: clamp(2.0rem, 2.2vw, 3.2rem);
	line-height: 1;
	font-weight: 400;
	border: 1px solid #fff;
	background-color: rgba(98, 174, 17, 0.9);
}



@media (max-width: 767.98px) {

	/* sm 以下の画面サイズの場合のスタイル */
	.text-content-inner h1,
	.text-content-inner h1>* {
		letter-spacing: 0.2rem;
	}

	.toppage-text div.flex-container {
		flex-direction: column;
	}

	.toppage-text div.flex-container>span {
		margin: 0 0 1rem 0;
	}

	.toppage-text img {
		width: 90%;
	}
}

@media (min-width: 768px) and (max-width: 991.98px) {

	/* md の画面サイズの場合のスタイル */

	.text-content-inner h1,
	.text-content-inner h1>* {
		letter-spacing: 0.2rem;
	}

	.toppage-text div.flex-container {
		flex-direction: column;
	}

	.toppage-text div.flex-container>span {
		margin: 0 0 1rem 0;
	}

	.toppage-text img {
		width: 90%;
	}
}


@media (min-width: 992px) {
	/* lg 以上の画面サイズの場合のスタイル */
}




/* パノラマ */
.panorama-container {
	position: relative;
	width: 100%;
	height: 100%;
	overflow: hidden;
}

.panorama-image {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: auto;
	min-width: 100%;
	background-image: url('../../img/front-page/shinjuku-image.jpg');
	background-size: auto 100%;
	background-position: center bottom;
	background-repeat: repeat-x;
	animation: panoramaScroll 200s linear infinite;
}

.controls {
	display: none !important;
	position: fixed;
	bottom: 20px;
	left: 50%;
	transform: translateX(-50%);
	background-color: rgba(0, 0, 0, 0.5);
	padding: 10px 20px;
	border-radius: 20px;
	z-index: 100;
	display: flex;
	gap: 15px;
}

.controls button {
	background: none;
	border: none;
	color: white;
	cursor: pointer;
	padding: 5px 10px;
	font-size: 14px;
	border-radius: 5px;
	transition: background 0.3s;
}

.controls button:hover {
	background: rgba(255, 255, 255, 0.2);
}

.content-overlay {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	text-align: center;
	color: white;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
	z-index: 10;
	background-size: cover;
}

.content-overlay>.banner-grid {
	width: 100%;
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: end;
}

.content-overlay>.banner-grid>ul {
	position: relative;
	width: 100%;
	height: 100%;
	display: grid;
	grid-template-columns: 1fr 1fr 1fr 1fr;
	justify-content: start;
	align-items: end;
}

.content-overlay>.banner-grid>ul li {
	width: 100%;
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: end;

	background-color: rgba(255, 255, 255, 0.8);
}


@keyframes panoramaScroll {
	0% {
		transform: translateX(0);
	}

	100% {
		transform: translateX(-50%);
	}
}


/*--------------------------------------------------------------
  トップメインコンテンツ用
--------------------------------------------------------------*/

#main-grid {
	margin: 0;
	padding: 0;
}

#main-grid .container-just>div {
	display: flex;
	justify-content: start;
	align-items: start;
}

#main-grid .main-grid-inner {
	display: grid;
	grid-template-columns: 1fr;
	column-gap: 2rem;
	row-gap: 2rem;
}

#main-grid .main-grid-inner>div {
	margin: 0;
	padding: 2rem;
	background-color: #fff;
	border-radius: 2rem;
}

#main-grid .main-grid-inner>div h2 {
	margin: 0 0 1rem 0;
}

#main-grid .main-grid-inner img {
	width: 100%;
	vertical-align: bottom;
}

#main-grid h2 {
	margin: 2rem 0 1rem 0;
	padding: 0;
	font-size: clamp(1.8rem, 2.0vw, 2.0rem);
	line-height: 1.2;
	font-weight: 400;
	text-align: start;

	color: rgb(var(--main-color) / 1.0)
}

#main-grid .about-us {
	margin: 2rem 0 0 0;
	padding: 2rem;
	width: 100%;
	background-color: #fff;
	border-radius: 2rem;
}

#main-grid .about-us h2 {
	margin: 0 0 1rem 0;
	padding: 0;
	font-size: clamp(1.8rem, 2.0vw, 3.0rem);
	line-height: 1.2;
	font-weight: 400;
	text-align: start;
}

#main-grid .about-us h4 {
	margin: 0.5rem 0 0.5rem 0;
	padding: 0;
	font-size: clamp(1.4rem, 1.5vw, 2rem);
	line-height: 1.2;
	font-weight: 400;
	text-align: center;
}


#main-grid .about-us strong {
	font-size: 2rem;
	line-height: 1;
	font-weight: 500;

	color: rgb(66 66 66 / 1.0);
}

#main-grid .about-us p {
	text-align: center;
}

#main-grid strong,
#main-grid strong.number {
	font-size: 3rem;
	line-height: 1;
	font-weight: 600;

	color: rgb(var(--main-color) / 1.0);
}

#main-grid strong>small,
#main-grid strong>small.number {
	font-size: 1.5rem;
	line-height: 1;
	font-weight: 600;

	color: rgb(var(--main-color) / 1.0);
}

#main-grid strong.number,
#main-grid strong>small.number {
	font-family: "Outfit", "Noto Sans JP", sans-serif;
	font-optical-sizing: auto;
	font-style: normal;
}

#main-grid span.topic {
	font-size: 2rem;
	line-height: 1;
}


#main-grid .main-grid-inner table {
	margin: 1rem 0 0 0;
	border: 1px solid #eee;
}

#main-grid .main-grid-inner table tr,
#main-grid .main-grid-inner table th,
#main-grid .main-grid-inner table td {
	border: 1px solid #eee;
	padding: 0.2rem 1rem 0.2rem 1rem;
}

#main-grid .main-grid-inner table tr:first-child th {
	text-align: center;
}

#main-grid .main-grid-inner table th {
	text-align: end;
	background-color: #e2b605;
	color: #fff;
}

#main-grid .main-grid-inner table td {
	text-align: end;
	background-color: #fff;
	color: #333;
}


#main-grid .sub-grid-inner {
	display: grid;
	grid-template-columns: 2fr 3fr;
	column-gap: 3rem;
	row-gap: 2rem;
}

#main-grid .sub-grid-inner>div:last-child {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: start;
}

#main-grid .second-grid-inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	column-gap: 3rem;
	row-gap: 2rem;
}

@media (max-width: 767.98px) {

	/* sm 以下の画面サイズの場合のスタイル */

	#main-grid .main-grid-inner {
		grid-template-columns: 1fr;
	}

	#main-grid .sub-grid-inner {
		grid-template-columns: 1fr;
	}

	#main-grid .second-grid-inner {
		grid-template-columns: 1fr
	}
}

@media (min-width: 768px) and (max-width: 991.98px) {

	/* md の画面サイズの場合のスタイル */
	#main-grid .main-grid-inner {
		grid-template-columns: 1fr;
	}

	#main-grid .sub-grid-inner {
		grid-template-columns: 1fr;
	}

	#main-grid .second-grid-inner {
		grid-template-columns: 1fr
	}
}

@media (min-width: 992px) {
	/* lg 以上の画面サイズの場合のスタイル */
}



/* グレーグラデーションボーダー */
hr.gra {
	border: 0;
	height: 1px;
	margin: 1.2rem 0 1.2rem 0;
	background-image: -webkit-linear-gradient(left, #f0f0f0, #8c8b8b, #f0f0f0);
	background-image: -moz-linear-gradient(left, #f0f0f0, #8c8b8b, #f0f0f0);
	background-image: -ms-linear-gradient(left, #f0f0f0, #8c8b8b, #f0f0f0);
	background-image: -o-linear-gradient(left, #f0f0f0, #8c8b8b, #f0f0f0);
}