@charset "UTF-8";

/* スライドインアニメーション */
.slideIn {
	opacity: 0;
	transform: translateY(50px);
	/* 移動距離を50pxに設定 */
	transition: opacity 1.5s ease-in-out, transform 2s ease-in-out;
	/* 遅く発火するように持続時間を2秒に設定 */
}

.slideIn.visible {
	opacity: 1;
	transform: translateY(0);
}

/* カードの基本スタイル */
.special-intro {
	padding: 50px 0;
	height: 400px;
	background-image: url(../images/special_top_v.jpg);
	background-position: right center;
	background-repeat: no-repeat;
	background-size: cover;
	position: relative;
	z-index: -2;
	width: 100%;
}

.special-intro h1 {
	color: #1F9884;
	font-size: 2.5rem;
	font-weight: 800;
}

.special-intro .sub-head-en {
	font-weight: 600;
}

.container-special {
	padding: 15vh 0;
}

.intro-philosophy {
	display: flex;
	animation: fadeIn 1.5s ease-in-out;
}

.bk-color {
	background-color: #E1EFEC;
	position: relative;
	z-index: -99;
	animation: slideIn 1s ease-out;
}

.philosophy-box {
	margin-left: 2rem;
	animation: fadeIn 2s ease-in-out;
}

.philosophy-box h2 {
	color: #1F9884;
}

.philosophy-box h3 {
	color: #fff;
	background-color: #1F9884;
	display: inline-block;
	padding: 0.5rem;
	margin: 1rem 0;
	font-weight: 400;
}

.numbers-box {
	text-align: center;
	padding: 15vh 0;
	animation: fadeIn 2.5s ease-in-out;
}

.numbers-box h2 {
	font-size: 2rem;
	margin-bottom: 3rem;
}

.numbers-wrap {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

.numbers-wrap img {
	margin-bottom: 2rem;
	transition: transform 0.3s ease;
	max-width: 48%;
}

.numbers-wrap img:hover {
	transform: scale(1.05);
}

.two {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	max-width: 48%;

}

.two img {
	max-width: 100%;
}

/* セクション内のコンテンツ */
.spe_sec02 {
	margin-top: 15vh;
}

.section2-content {
	background-color: white;
	/* コンテンツの幅を設定 */
	margin: 0 auto;
	/* コンテンツを中央に配置 */
	padding: 40px;
	border: 3px solid #1F9884;
	text-align: center;
}

.section2-content h2 {
	font-size: 30px;
	margin-bottom: 20px;
}

.section2-content p {
	font-size: 18px;
	margin-bottom: 30px;
}

/* 見出しのスタイル */
/* テキストのスタイル */
/* ロゴのコンテナ */
.logo-container {
	display: grid;
	grid-template-columns: 1fr;
	/* 1列目にロゴを配置 */
	gap: 20px;
	width: 60%;
	margin: 0 auto;
	justify-items: center;
	/* 横方向にセンター配置 */
	align-items: center;
	/* 縦方向にセンター配置 */
}

.logo-container .logo-single {
	grid-column: span 1;
	/* 1列にロゴを配置 */
	justify-self: center;
}

.logo-container img {
	max-width: 100%;
	height: auto;
	object-fit: contain;
}

/* 1行目のロゴ設定（1列） */
/* ロゴを4行2列に配置 */
@media (min-width: 768px) {
	.logo-container {
		grid-template-columns: 1fr 1fr;
		/* 2列に分ける */
		grid-template-rows: repeat(4, auto);
		/* 4行に分ける */
	}

	.logo-container .logo-single {
		grid-column: span 2;
		/* 1行目のロゴは2列分の幅を取る */
		justify-self: center;
	}
}


.hitomono {
	font-size: 24px;
	font-weight: 800;
	color: #1F9884;
}