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

/*==============================
コンテンツ設定
==============================*/

/*ページビジュアル*/
#pageVisual{
	background: url(../img/maison/bg_main.webp) no-repeat center center / cover;
}

/*ページビジュアル  見出し英語*/
#pageVisual .pageNav h2::after{
	content: "YELL MAISON";
}

/*------------------------------
共通設定
------------------------------*/

/*section共通*/
section .inner{
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	max-width: 1100px;
}

/*h2共通*/
#design .txtBox h2,
#safety .txtBox h2,
#community .txtBox h2{
	padding: 0 0 12px 0;
	font-size: 1.4rem;
	line-height: 1;
	text-align: left;
	font-family: outfit,sans-serif;
	letter-spacing: 0;
	border-bottom: 1px solid #333;
}

/*h3共通*/
#design .txtBox h3,
#safety .txtBox h3,
#community .txtBox h3{
	margin: 16px 0 0 0;
	font-size: 2rem;
	letter-spacing: 0.1em !important;
}

/*h3 2番目共通*/
#design .txtBox h3:nth-of-type(2),
#safety .txtBox h3:nth-of-type(2){
	margin: 60px 0 0 0;
}

/*txtBox txt共通*/
#design .txtBox .txt,
#safety .txtBox .txt,
#community .txtBox .txt{
	margin: 15px 0 0 0;
}

/*txt*/
.txt{
	margin: 25px 0 0 0;
	font-size: 1.4rem;
	line-height: 2.1;
	text-align: justify;
	font-family:"ヒラギノ角ゴPro W3", "Hiragino Kaku Gothic Pro",Osaka, "メイリオ", Meiryo, "ＭＳ Ｐゴシック", sans-serif;
}


/*------------------------------
エールメゾン設定
------------------------------*/

/*エールメゾン全体*/
#yellmaison{
	background: #333;
}

/*エールメゾン中身*/
#yellmaison .inner{
	gap: 90px;
}

/*エールメゾン txtBox*/
#yellmaison .txtBox{
	max-width: 364px;
}

/*エールメゾン 見出し*/
#yellmaison .txtBox h2{
	padding: 0 0 25px 0;
	color: #fff;
	font-size: 3rem;
	line-height: 1;
	text-align: left;
	border-bottom: 1px solid #fff;
	letter-spacing: 0.1em;
}

/*エールメゾン 小見出し*/
#yellmaison .txtBox h3{
	margin: 25px 0 0 0;
	color: #fff;
	font-size: 2rem;
	line-height: 1.6;
	letter-spacing: 0.1em;
}

/*エールメゾン 本文*/
#yellmaison .txtBox .txt{
	color: #fff;
}

/*エールメゾン ロゴ*/
#yellmaison .txtBox .logo{
	margin: 25px 0 0 0;
	width: 226px;
}

/*エールメゾン 写真*/
#yellmaison .photo{
	width: 100%;
	max-width: 640px;
}

/*------------------------------
デザイン設定
------------------------------*/

/*デザイン中身*/
#design .inner{
	flex-direction: row-reverse;
}

/*デザイン txtBox*/
#design .txtBox{
	max-width: 400px;
}

/*デザイン txtBox 見出し*/
#design .txtBox h2{
	padding: 0 0 12px 0;
	font-size: 1.4rem;
	line-height: 1;
	text-align: left;
	font-family: outfit,sans-serif;
	letter-spacing: 0;
	border-bottom: 1px solid #333;
}

/*デザイン txtBox 小見出し*/
#design .txtBox h3{
	margin: 16px 0 0 0;
	font-size: 2rem;
}

/*デザイン txtBox 小見出し 2つ目*/
#design .txtBox h3:nth-of-type(2){
	margin: 60px 0 0 0;
}

/*デザイン 本文*/
#design .txtBox .txt{
	margin: 15px 0 0 0;
}

/*デザイン 結論*/
#design .txtBox .conclusion{
	margin: 60px 0 0 0;
	font-size: 2rem;
	text-align: justify;
}

/*デザイン 結論 span*/
#design .txtBox .conclusion span{
	display: block;
}

/*デザイン 結論 strong*/
#design .txtBox .conclusion strong{
	font-size: 4rem;
}

/*デザイン 写真*/
#design .photo{
	width: 100%;
	max-width: 542px;
}

/*------------------------------
セーフティ設定
------------------------------*/

/*セーフティ全体*/
#safety{
	background: #333;
}

/*セーフティ txtBox*/
#safety .txtBox{
	max-width: 400px;
}

/*セーフティ 見出し*/
#safety .txtBox h2{
	color: #fff;
	border-bottom: 1px solid #fff;
}

/*セーフティ 小見出し*/
#safety .txtBox h3{
	color: #fff;
}

/*セーフティ 本文*/
#safety .txtBox .txt{
	color: #fff;
}

/*セーフティ 写真*/
#safety .photo{
	width: 100%;
	max-width: 600px;
}

/*------------------------------
コミュニティ設定
------------------------------*/

/*コミュニティ中身*/
#community .inner{
	flex-direction: row-reverse;
}

/*コミュニティ txtBox*/
#community .txtBox{
	max-width: 400px;
}

/*コミュニティ 写真*/
#community .photo{
	width: 100%;
	max-width: 600px;
}

/*------------------------------
6つの特徴設定
------------------------------*/

/*6つの特徴全体*/
#features{
	padding: 0;
}

/*6つの特徴中身*/
#features .inner{
	width: 100%;
	max-width: 100%;
}

/*6つの特徴 ビジュアル*/
#features .visual{
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	background: url(../img/maison/bg_feature.webp) center center / cover;
}

/*6つの特徴 ビジュアル txtBox*/
#features .visual .txtBox{
	padding: 50px;
	max-width: 465px;
	background: #333;
}

/*6つの特徴 ビジュアル 見出し*/
#features .visual .txtBox h2{
	color: #fff;
	font-size: 1.4rem;
	line-height: 1;
	text-align: left;
	font-family: outfit,sans-serif;
	letter-spacing: 0;
}

/*6つの特徴 ビジュアル 小見出し*/
#features .visual .txtBox h3{
	margin: 15px 0 0 0;
	color: #fff;
	font-size: 3rem;
	line-height: 1;
}

/*6つの特徴 ビジュアル サブ小見出し*/
#features .visual .txtBox h4{
	margin: 20px 0 0 0;
	color: #fff;
	font-size: 2rem;
	line-height: 1.6;
	letter-spacing: 0.1em !important;
}

/*6つの特徴 ビジュアル 本文*/
#features .visual .txtBox .txt{
	color: #fff;
}

/*featureBox全体*/
.featureBox{
	width: 100%;
}

/*featureBoxリスト*/
.featureBox li{
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	position: relative;
}

/*featureBoxリスト 奇数*/
.featureBox li:nth-of-type(odd){
	flex-direction: row-reverse;
}

/*featureBox txtBox, photo共通*/
.featureBox li .txtBox,
.featureBox li .photo{
	width: 50%;
	height: 460px;
}

/*featureBox txtBox*/
.featureBox li .txtBox{
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	position: relative;
}

/*featureBox txtBox 装飾共通*/
.featureBox li .txtBox::before,
.featureBox li .txtBox::after{
	content: "";
	display: block;
	position: absolute;
}

/*featureBox txtBox 装飾 数字*/
.featureBox li .txtBox::before{
	font-size: 12rem;
	line-height: 1;
	top: -35px;
	left: 20px;
}

/*featureBox txtBox 装飾 数字 1番目*/
.featureBox li:first-of-type .txtBox::before{
	content: "1";
}

/*featureBox txtBox 装飾 数字 2番目*/
.featureBox li:nth-of-type(2) .txtBox::before{
	content: "2";
}

/*featureBox txtBox 装飾 数字 3番目*/
.featureBox li:nth-of-type(3) .txtBox::before{
	content: "3";
}

/*featureBox txtBox 装飾 数字 4番目*/
.featureBox li:nth-of-type(4) .txtBox::before{
	content: "4";
}

/*featureBox txtBox 装飾 数字 5番目*/
.featureBox li:nth-of-type(5) .txtBox::before{
	content: "5";
}

/*featureBox txtBox 装飾 数字 6番目*/
.featureBox li:nth-of-type(6) .txtBox::before{
	content: "6";
}

/*featureBox txtBox 装飾 スラッシュ*/
.featureBox li .txtBox::after{
	width: 170px;
	height: 1px;
	background: #333;
	transform: rotate(-45deg);
	top: 70px;
	left: -10px;
}

/*txtBox中身*/
.featureBox li .txtBox div{
	width: 450px;
}

/*txtBox 見出し*/
.featureBox li .txtBox h3{
	font-size: 1.4rem;
	font-family: outfit,sans-serif;
}

/*txtBox 小見出し*/
.featureBox li .txtBox h4{
	margin: 10px 0 0 0;
	font-size: 2rem;
	line-height: 1.6;
}

/*txtBox 本文*/
.featureBox li .txtBox .txt{
	margin: 15px 0 0 0;
}

/*txtBox 写真 img*/
.featureBox li .photo img{
	width: 100%;
	height: 100%;
	object-fit: cover;
	overflow: hidden;
}

/*1100px以下の場合*/
@media screen and (max-width:1100px){

	/*------------------------------
	共通設定
	------------------------------*/

	/*section共通*/
	section .inner{
		max-width: 100%;
	}

	/*h3共通*/
	#design .txtBox h3,
	#safety .txtBox h3,
	#community .txtBox h3{
		margin: 10px 0 0 0;
		font-size: 1.8rem;
	}

	/*h3 2番目共通*/
	#design .txtBox h3:nth-of-type(2),
	#safety .txtBox h3:nth-of-type(2){
		margin: 40px 0 0 0;
	}

	/*txtBox txt共通*/
	#design .txtBox .txt,
	#safety .txtBox .txt,
	#community .txtBox .txt{
		margin: 10px 0 0 0;
	}

	/*txt*/
	.txt{
		margin: 20px 0 0 0;
	}


	/*------------------------------
	エールメゾン設定
	------------------------------*/

	/*エールメゾン中身*/
	#yellmaison .inner{
		gap: 0;
	}

	/*エールメゾン 見出し*/
	#yellmaison .txtBox h2{
		padding: 0 0 20px 0;
		font-size: 2.6rem;
	}

	/*エールメゾン 小見出し*/
	#yellmaison .txtBox h3{
		margin: 20px 0 0 0;
		font-size: 1.8rem;
	}

	/*エールメゾン ロゴ*/
	#yellmaison .txtBox .logo{
		margin: 20px 0 0 0;
		width: 200px;
	}

	/*エールメゾン 写真*/
	#yellmaison .photo{
		max-width: calc(100% - 364px - 60px);
	}

	/*エールメゾン 写真*/
	#yellmaison .photo img{
		overflow: hidden;
		object-fit: cover;
		aspect-ratio: 1 / 0.8;
	}

	/*------------------------------
	デザイン設定
	------------------------------*/

	/*デザイン txtBox 小見出し*/
	#design .txtBox h3{
		margin: 10px 0 0 0;
		font-size: 1.8rem;
	}

	/*デザイン txtBox 小見出し 2つ目*/
	#design .txtBox h3:nth-of-type(2){
		margin: 30px 0 0 0;
	}

	/*デザイン 本文*/
	#design .txtBox .txt{
		margin: 10px 0 0 0;
	}

	/*デザイン 結論*/
	#design .txtBox .conclusion{
		margin: 30px 0 0 0;
		font-size: 1.8rem;
	}

	/*デザイン 結論 strong*/
	#design .txtBox .conclusion strong{
		font-size: 3rem;
	}

	/*デザイン 写真*/
	#design .photo{
		max-width: calc(100% - 400px - 60px);
	}

	/*デザイン 写真*/
	#design .photo img{
		overflow: hidden;
		object-fit: cover;
		aspect-ratio: 1 / 1.1;
	}

	/*------------------------------
	セーフティ設定
	------------------------------*/

	/*セーフティ 写真*/
	#safety .photo{
		max-width: calc(100% - 400px - 60px);
	}

	/*セーフティ 写真*/
	#safety .photo img{
		overflow: hidden;
		object-fit: cover;
		aspect-ratio: 1 / 1;
	}

	/*------------------------------
	コミュニティ設定
	------------------------------*/

	/*コミュニティ txtBox*/
	#community .txtBox{
		max-width: 400px;
	}

	/*コミュニティ 写真*/
	#community .photo{
		max-width: calc(100% - 400px - 60px);
	}

	/*コミュニティ 写真*/
	#community .photo img{
		overflow: hidden;
		object-fit: cover;
		aspect-ratio: 1 / 1;
	}

	/*------------------------------
	6つの特徴設定
	------------------------------*/

	/*6つの特徴 ビジュアル txtBox*/
	#features .visual .txtBox{
		padding: 30px;
		max-width: 40%;
	}

	/*6つの特徴 ビジュアル 見出し*/
	#features .visual .txtBox h2{
		font-size: 1.2rem;
	}

	/*6つの特徴 ビジュアル 小見出し*/
	#features .visual .txtBox h3{
		font-size: 2.6rem;
	}

	/*6つの特徴 ビジュアル サブ小見出し*/
	#features .visual .txtBox h4{
		margin: 10px 0 0 0;
		font-size: 1.8rem;
		text-align: justify;
	}

	/*featureBox txtBox, photo共通*/
	.featureBox li .txtBox,
	.featureBox li .photo{
		height: 400px;
	}


	/*featureBox txtBox*/
	.featureBox li .txtBox{
		padding: 0 40px;
	}

	/*featureBox txtBox 装飾 数字*/
	.featureBox li .txtBox::before{
		font-size: 9rem;
		top: -25px;
	}

	/*featureBox txtBox 装飾 スラッシュ*/
	.featureBox li .txtBox::after{
		width: 150px;
		top: 50px;
	}

	/*txtBox中身*/
	.featureBox li .txtBox div{
		width: 100%;
	}

	/*txtBox 見出し*/
	.featureBox li .txtBox h3{
		font-size: 1.2rem;
		font-family: outfit,sans-serif;
	}

	/*txtBox 小見出し*/
	.featureBox li .txtBox h4{
		font-size: 1.8rem;
	}



				

}


/*960px以下の場合*/
@media screen and (max-width:960px){

	/*------------------------------
	共通設定
	------------------------------*/

	/*h2共通*/
	#design .txtBox h2,
	#safety .txtBox h2,
	#community .txtBox h2{
		font-size: 1.2rem;
	}

	/*h3 2番目共通*/
	#design .txtBox h3:nth-of-type(2),
	#safety .txtBox h3:nth-of-type(2){
		margin: 30px 0 0 0;
	}

	/*txt*/
	.txt{
		line-height: 1.8;
	}

	/*------------------------------
	エールメゾン設定
	------------------------------*/

	/*エールメゾン txtBox*/
	#yellmaison .txtBox{
		max-width: calc(50% - 20px);
	}

	/*エールメゾン 写真*/
	#yellmaison .photo{
		max-width: calc(50% - 20px);
	}

	/*エールメゾン 写真*/
	#yellmaison .photo img{
		aspect-ratio: 1 / 1;
	}

	/*------------------------------
	デザイン設定
	------------------------------*/

	/*デザイン txtBox*/
	#design .txtBox{
		max-width: calc(50% - 20px);
	}

	/*デザイン 写真*/
	#design .photo{
		max-width: calc(50% - 20px);
	}

	/*デザイン 写真*/
	#design .photo img{
		aspect-ratio: 1 / 1.6;
	}

	/*------------------------------
	セーフティ設定
	------------------------------*/

	/*セーフティ txtBox*/
	#safety .txtBox{
		max-width: calc(50% - 20px);
	}

	/*セーフティ 写真*/
	#safety .photo{
		max-width: calc(50% - 20px);
	}

	/*セーフティ 写真*/
	#safety .photo img{
		aspect-ratio: 1 / 1.1;
	}

	/*------------------------------
	コミュニティ設定
	------------------------------*/

	/*コミュニティ txtBox*/
	#community .txtBox{
		max-width: calc(50% - 20px);
	}

	/*コミュニティ 写真*/
	#community .photo{
		max-width: calc(50% - 20px);
	}

	/*コミュニティ 写真*/
	#community .photo img{
		aspect-ratio: 1 / 1.1;
	}
		




}

/*768px以下の場合*/
@media screen and (max-width:768px){

	

}

/*600px以下の場合*/
@media screen and (max-width:600px){

	/*------------------------------
	エールメゾン設定
	------------------------------*/

	/*エールメゾン中身*/
	#yellmaison .inner{
		gap: 30px;
	}

	/*エールメゾン txtBox*/
	#yellmaison .txtBox{
		max-width: 100%;
	}

	/*エールメゾン 写真*/
	#yellmaison .photo{
		max-width: 100%;
	}

	/*エールメゾン 写真*/
	#yellmaison .photo img{
		aspect-ratio: 16 / 9;
	}

	/*------------------------------
	デザイン設定
	------------------------------*/

	/*デザイン中身*/
	#design .inner{
		gap: 30px;
	}

	/*デザイン txtBox*/
	#design .txtBox{
		max-width: 100%;
	}

	/*デザイン 写真*/
	#design .photo{
		max-width: 100%;
	}

	/*デザイン 写真*/
	#design .photo img{
		aspect-ratio: 16 / 9;
	}

	/*------------------------------
	セーフティ設定
	------------------------------*/

	/*セーフティ中身*/
	#safety .inner{
		gap: 30px;
	}

	/*セーフティ txtBox*/
	#safety .txtBox{
		max-width: 100%;
	}

	/*セーフティ 写真*/
	#safety .photo{
		max-width: 100%;
	}

	/*セーフティ 写真*/
	#safety .photo img{
		aspect-ratio: 16 / 9;
	}

	/*------------------------------
	コミュニティ設定
	------------------------------*/

	/*コミュニティ中身*/
	#community .inner{
		gap: 30px;
	}

	/*コミュニティ txtBox*/
	#community .txtBox{
		max-width: 100%;
	}

	/*コミュニティ 写真*/
	#community .photo{
		max-width: 100%;
	}

	/*コミュニティ 写真*/
	#community .photo img{
		aspect-ratio: 16 / 9;
	}

	/*------------------------------
	6つの特徴設定
	------------------------------*/

	#features .visual{
		background: none;
	}

	/*6つの特徴 ビジュアル*/
	#features .visual {
		background: #333;
	}

	/*6つの特徴 ビジュアル txtBox*/
	#features .visual .txtBox{
		margin: 0 auto;
		padding: 30px 0;
		width: calc(100% - 80px);
		max-width: 100%;
		background: none;
	}

	/*featureBoxリスト*/
	.featureBox li{
		flex-direction: column-reverse;
	}

	/*featureBoxリスト 奇数*/
	.featureBox li:nth-of-type(odd){
		flex-direction: column-reverse;
	}

	/*featureBox photo共通*/
	.featureBox li .txtBox,
	.featureBox li .photo{
		width: 100%;
	}

	/*featureBox txtBox*/
	.featureBox li .txtBox{
		padding: 60px;
		height: auto;
	}

	/*featureBox photo共通*/
	.featureBox li .photo{
		height: auto;
		aspect-ratio: 16 / 9;
	}

}

/*430px以下の場合*/
@media screen and (max-width:430px){

	/*ページビジュアル*/
	#pageVisual{
		background: url(../img/maison/bg_main_sp.webp) no-repeat center center / cover;
	}

	/*------------------------------
	共通設定
	------------------------------*/

	/*h3 2番目共通*/
	#design .txtBox h3:nth-of-type(2),
	#safety .txtBox h3:nth-of-type(2){
		margin: 20px 0 0 0;
	}

	/*------------------------------
	エールメゾン設定
	------------------------------*/

	/*エールメゾン 見出し*/
	#yellmaison .txtBox h2{
		padding: 0 0 15px 0;
		font-size: 2.2rem;
	}

	/*エールメゾン 小見出し*/
	#yellmaison .txtBox h3{
			margin: 15px 0 0 0;
			font-size: 1.6rem;
	}

	/*------------------------------
	デザイン設定
	------------------------------*/

	/*デザイン中身*/
	#design .inner{
		gap: 20px;
	}

	/*デザイン 結論*/
	#design .txtBox .conclusion{
		margin: 20px 0 0 0;
	}

	/*------------------------------
	セーフティ設定
	------------------------------*/

	/*セーフティ中身*/
	#safety .inner{
		gap: 20px;
	}

	/*------------------------------
	コミュニティ設定
	------------------------------*/

	/*コミュニティ中身*/
	#community .inner{
		gap: 20px;
	}

	/*------------------------------
	6つの特徴設定
	------------------------------*/

	/*6つの特徴 ビジュアル txtBox*/
	#features .visual .txtBox{
		width: calc(100% - 40px);
	}

	/*featureBox txtBox*/
	.featureBox li .txtBox{
		padding: 60px 30px;
	}

	/*featureBox txtBox 装飾 数字*/
	.featureBox li .txtBox::before{
		font-size: 7rem;
		top: -20px;
	}

	/*featureBox txtBox 装飾 スラッシュ*/
	.featureBox li .txtBox::after{
		width: 100px;
		top: 40px;
		left: 0;
	}



	

}




































