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


/******************************************************

PC設定 1200px以上の場合に適用

*******************************************************/

/* message */
.message {
	background-color: #ededed;
}

.message__box {
	display: flex;
	flex-direction: row-reverse;
}

.message__img {
	width: 42%;
}

.message__img img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.message__content {
	width: 58%;
	background-color: #b2d8d4;
	padding: 45px;
}

.message__ttl {
	font-size: 36px;
	font-weight: bold;
	margin-bottom: 20px;
	color: #1d9791;
}

.message__txt {
	line-height: 2.1;
}



/* philosophy（理念） */
.philosophy {
	background-color: #b2d8d4;
	padding-top: 120px;
	padding-bottom: 120px;
	}

.philosophy__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	margin-bottom: 50px;
	}

.philosophy__h2 {
	font-size: 36px;
}

.philosophy__list {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 50px;
	}

.philosophy__item {
	background-color: #ededed;
	padding: 50px 30px 44px;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	}

.philosophy__icon {
	width: 108px;
	height: 108px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 24px;
	}

.philosophy__icon img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
	}

.philosophy__h3 {
	font-size: 24px;
	font-weight: 700;
	color: #1d9791;
	line-height: 1.5;
	letter-spacing: 0.05em;
	margin-bottom: 18px;
	}

.philosophy__txt {
	font-size: 16px;
	line-height: 2;
	color: #333;
	letter-spacing: 0.04em;
	text-align: left;
	}



/* history（沿革） */
.history {
	background-color: #ededed;
	padding-top: 120px;
	padding-bottom: 120px;
	}

.history__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	margin-bottom: 50px;
	}

.history__h2 {
	font-size: 36px;
}

.history__list {
	padding: 0 120px;
	}

.history__item {
	display: flex;
	justify-content: space-between;
	align-items: start;
	position: relative;
	padding-bottom: 40px;
	}

.history__item::before {
	display: inline-block;
	content: "";
	width: 17px;
	height: 17px;
	border-radius: 10px;
	background-color: #e89313;
	position: absolute;
	left: -50px;
	top: 10px;
}

.history__item::after {
	display: inline-block;
	content: "";
	width: 1px;
	height: 100%;
	background-color: #e89313;
	position: absolute;
	left: -42px;
	top: 15px;
	margin: auto;
}

.history__item:last-child::after {
	display: none;
}

.history__year {
	font-size: 24px;
	font-weight: 700;
	color: #333;
	line-height: 1.6;
	letter-spacing: 0.05em;
	width: 100px;
	}

.history__content {
	font-size: 24px;
	font-weight: 400;
	color: #333;
	line-height: 1.6;
	letter-spacing: 0.05em;
	width: calc(100% - 150px);
	}





/******************************************************

タブレット 1199px以下の場合に適用

*******************************************************/

@media screen and (max-width: 1199px){


/* philosophy */
.philosophy {
	padding-bottom: 100px;
	}

.philosophy__head {
	margin-bottom: 40px;
	}

.philosophy__list {
	gap: 24px;
	}

.philosophy__item {
	padding: 40px 24px 36px;
	}

.philosophy__icon {
	width: 90px;
	height: 90px;
	margin-bottom: 20px;
	}

.philosophy__h3 {
	font-size: 22px;
	margin-bottom: 16px;
	}

.philosophy__txt {
	font-size: 15px;
	}



/* history */
.history__list {
	padding: 0 80px;
	}

}



/******************************************************

タブレット小 959px以下の場合に適用

*******************************************************/

@media screen and (max-width: 959px){


/* philosophy */
.philosophy__list {
	grid-template-columns: 1fr;
	gap: 20px;
	}

.philosophy__item {
	padding: 36px 24px 30px;
	}

.philosophy__icon {
	width: 80px;
	height: 80px;
	margin-bottom: 18px;
	}

.philosophy__h3 {
	font-size: 20px;
	margin-bottom: 14px;
	}

.philosophy__txt {
	font-size: 14px;
	}



/* history */
.history__list {
	padding: 0 60px;
	}


}



/******************************************************

スマホ 767px以下の場合に適用

*******************************************************/

@media screen and (max-width: 767px){

/* message */
.message__box {
	display: block;
}

.message__img {
	width: 100%;
}
	
.message__content {
	width: 100%;
	background-color: #b2d8d4;
	padding: 30px;
}

.message__ttl {
	font-size: 20px;
	margin-bottom: 10px;
}

.message__txt {
	line-height: 1.8;
}
	
	
	
/* philosophy */
.philosophy {
	padding-top: 60px;
	padding-bottom: 64px;
	}

.philosophy__head {
	margin-bottom: 30px;
	}
	
.philosophy__h2 {
	font-size: 20px;
	}

.philosophy__list {
	gap: 16px;
	}

.philosophy__item {
	padding: 30px 20px 28px;
	}

.philosophy__icon {
	width: 72px;
	height: 72px;
	margin-bottom: 14px;
	}

.philosophy__h3 {
	font-size: 18px;
	margin-bottom: 12px;
	}

.philosophy__txt {
	font-size: 14px;
	line-height: 1.9;
	}



/* history（沿革） */
.history {
	padding-top: 60px;
	padding-bottom: 60px;
	}

.history__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	margin-bottom: 20px;
	}

.history__h2 {
	font-size: 20px;
}

.history__list {
	padding: 0 0 0 20px;
	}

.history__item {
	padding-bottom: 30px;
	}

.history__item::before {
	width: 11px;
	height: 11px;
	left: -20px;
	top: 6px;
}

.history__item::after {
	left: -15px;
	top: 15px;
}

.history__year {
	font-size: 16px;
	width: 70px;
	}

.history__content {
	font-size: 16px;
	width: calc(100% - 80px);
	}

	
	

}
