@charset "utf-8";
/* トップ */

/* ------ メインビジュアル ------ */
.main{
	position: relative;
}

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

/* キャッチコピーの箱（上下の真ん中より少し下） */
.main_copy{
	position: absolute;
	top: 54%;
	right: 0;
	left: 0;
	max-width: 1260px;
	margin: 0 auto;
	padding: 0 30px;
	transform: translateY(-50%);
}

/* キャッチコピー（1行ごとに緑の帯を敷いた白い文字。写真の明るさに関わらず読める） */
.catchcopy{
	font-size: 30px;
	font-weight: 700;
	line-height: 2.4;
	letter-spacing: 0.06em;
	color: #ffffff;
}

.catchcopy span{
	padding: 7px 22px;
	background-color: #85cb13;
	border-radius: 4px;
	-webkit-box-decoration-break: clone;
	box-decoration-break: clone;
}

/* 最新のお知らせ（右下の白い帯。1件だけ） */
.main_news{
	position: absolute;
	right: 0;
	bottom: 24px;
	width: calc(50% - 120px);
	min-width: 640px;
}

.main_news:not(:has(li)){
	display: none;
}

.main_news_label{
	margin-left: 4px;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.5;
	letter-spacing: 0.08em;
	color: #ffffff;
	text-shadow: 0 0 6px rgba(80, 32, 22, 0.5);
}

.main_news_item + .main_news_item{
	display: none;
}

.main_news_item a{
	display: flex;
	align-items: center;
	gap: 0 20px;
	min-height: 44px;
	margin-top: 4px;
	padding: 8px 24px 8px 18px;
	font-size: 14px;
	line-height: 1.5;
	background-color: #ffffff;
	border-radius: 4px 0 0 4px;
	box-shadow: 0 3px 8px rgba(80, 32, 22, 0.15);
}

.main_news_date{
	flex-shrink: 0;
	font-weight: 700;
}

.main_news_category{
	flex-shrink: 0;
	min-width: 76px;
	padding: 1px 10px;
	font-weight: 700;
	text-align: center;
	color: #ffffff;
	background-color: #85cb13;
}

.main_news_category:empty{
	display: none;
}

.main_news_title{
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.main_news_item a:hover{
	opacity: 0.8;
}



/* ------ 当社について（左に文章、右に画面の端まで写真） ------ */
.about{
	padding: 110px 0 120px;
}

.about_inner{
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 60px;
}

.about_body{
	flex: 1;
	max-width: 600px;
}

.about_catch{
	margin-top: 48px;
	font-size: 24px;
	font-weight: 700;
	line-height: 1.6;
}

.about_text{
	margin-top: 40px;
	font-size: 15px;
	line-height: 1.8;
}

/* 写真は、中身の幅の右から、画面の右の端まで出す */
.about_img{
	flex-shrink: 0;
	width: calc(540px + (100vw - 1200px) / 2);
	max-width: 70vw;
	margin-top: 64px;
	margin-right: calc((1200px - 100vw) / 2);
}

.about_img img{
	display: block;
	width: 100%;
	height: 390px;
	object-fit: cover;
	border-radius: 30px 0 0 30px;
}



/* ------ お知らせ（クリーム色の帯） ------ */
.news{
	padding: 90px 0 86px;
	background-color: #fffbe7;
}

.news_inner{
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 60px;
}

.news_head{
	flex-shrink: 0;
}

.news_more{
	margin-top: 64px;
}

/* 「一覧を見る」（文字と、オレンジの丸の矢印） */
.link_more{
	display: inline-flex;
	align-items: center;
	gap: 14px;
	font-size: 16px;
	font-weight: 700;
}

.link_more::after{
	content: "";
	width: 26px;
	height: 26px;
	background: #ff9b38 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 9'%3E%3Cpath d='M0 0l8 4.5L0 9z' fill='%23fff'/%3E%3C/svg%3E") no-repeat 10px center / 7px 8px;
	border-radius: 50%;
}

.link_more:hover{
	opacity: 0.7;
}

.news_list{
	flex: 1;
	max-width: 940px;
	margin-top: -20px;
}

.news_item + .news_item{
	border-top: 1px solid #8a6a5e;
}

.news_item a{
	display: flex;
	align-items: center;
	gap: 0 36px;
	padding: 24px 0;
	font-size: 16px;
	line-height: 1.6;
	letter-spacing: 0.1em;
}

.news_date{
	flex-shrink: 0;
	font-weight: 700;
}

/* 種類の札（並びの順に 緑・オレンジ） */
.news_category{
	flex-shrink: 0;
	min-width: 100px;
	padding: 1px 10px;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-align: center;
	color: #ffffff;
	background-color: #85cb13;
}

.news_item:nth-child(2n) .news_category{
	background-color: #fc9c36;
}

.news_category:empty{
	display: none;
}

.news_title{
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	text-decoration: underline;
	text-underline-offset: 5px;
}

.news_item a:hover{
	opacity: 0.7;
}



/* ------ 売買・賃貸のご案内（カードが3つ） ------ */
.guide{
	padding-top: 120px;
}

.guide_lead{
	margin-top: 44px;
	font-size: 22px;
	line-height: 1.7;
	text-align: center;
}

.guide_list{
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 50px 60px;
	margin-top: 60px;
}

.guide_img img{
	display: block;
	width: 100%;
	aspect-ratio: 360 / 240;
	object-fit: cover;
	border-radius: 14px;
}

/* 見出し（頭に緑の四角） */
.guide_name{
	position: relative;
	margin-top: 26px;
	padding-left: 26px;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.5;
}

.guide_name::before{
	content: "";
	position: absolute;
	top: 0.38em;
	left: 0;
	width: 14px;
	height: 14px;
	background-color: #85cb13;
}

.guide_text{
	margin-top: 18px;
	font-size: 15px;
	line-height: 1.6;
}



/* ------ 会社概要（写真を敷いた帯に、白い箱の表） ------ */
.company{
	position: relative;
	margin-top: 120px;
	padding: 96px 0 76px;
	overflow: hidden;
}

/* 写真は帯いっぱいに広げ、白っぽい膜を重ねて表を読みやすくする */
.company_bg{
	position: absolute;
	inset: 0;
}

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

.company_bg::after{
	content: "";
	position: absolute;
	inset: 0;
	background-color: rgba(255, 246, 228, 0.55);
}

.company .contents01{
	position: relative;
}

.company_table{
	margin-top: 46px;
	padding: 14px 40px 22px;
	background-color: #ffffff;
	border-radius: 14px;
	box-shadow: 0 3px 10px rgba(80, 32, 22, 0.12);
}

.company_row{
	display: flex;
	gap: 20px;
	padding: 28px 20px;
	font-size: 15px;
	line-height: 1.7;
}

.company_row + .company_row{
	border-top: 1px solid #8a6a5e;
}

.company_row dt{
	flex-shrink: 0;
	width: 104px;
	font-weight: 700;
}

.company_row dd{
	flex: 1;
	min-width: 0;
}

.company_address span{
	margin-right: 24px;
}

/* 地図へのリンク（オレンジの「＞MAP」） */
.company_map{
	display: inline-block;
	font-weight: 700;
	color: #e8780e;
	white-space: nowrap;
	border-bottom: 1px solid #ff9b38;
	line-height: 1.4;
}

.company_map::before{
	content: "＞";
}

.company_map:hover{
	opacity: 0.7;
}

.company .btn{
	margin-top: 76px;
}





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

	/* 中身の幅が画面いっぱいのときは、写真は右の余白のぶんだけ出す */
	.about_img{
		width: calc(45% + 30px);
		margin-right: -30px;
	}
}

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

	.main_img img{
		height: 480px;
	}

	.catchcopy{
		font-size: 26px;
	}

	.main_news{
		min-width: 0;
		width: 60%;
	}

	.guide_list{
		gap: 40px 30px;
	}

	.news_item a{
		gap: 0 20px;
	}
}





/* ------ スマホ・タブレット ------ */
@media screen and (max-width: 900px){

	.main_img img{
		height: 75vw;
		min-height: 280px;
		max-height: 520px;
	}

	/* 写真の上の方にキャッチコピー、下にお知らせの白い帯を重ねる */
	.main_copy{
		top: 18%;
		padding: 0 16px;
		transform: none;
	}

	.catchcopy{
		font-size: 20px;
		line-height: 2.3;
	}

	.catchcopy span{
		padding: 5px 12px;
	}

	.main_news{
		bottom: 14px;
		width: calc(100% - 16px);
	}

	.main_news_label{
		font-size: 13px;
	}

	.main_news_item a{
		flex-wrap: wrap;
		gap: 2px 12px;
		margin-top: 2px;
		padding: 8px 16px 10px;
		font-size: 13px;
	}

	.main_news_category{
		min-width: 64px;
		padding: 0 8px;
	}

	.main_news_title{
		flex-basis: 100%;
	}

	.about{
		padding: 50px 0 60px;
	}

	.about_inner{
		flex-direction: column;
		gap: 0;
	}

	.about_body{
		max-width: none;
	}

	.about_catch{
		margin-top: 26px;
		font-size: 18px;
	}

	.about_text{
		margin-top: 20px;
		font-size: 14px;
	}

	.about_img{
		width: 100%;
		max-width: none;
		margin: 36px 0 0;
	}

	.about_img img{
		height: auto;
		aspect-ratio: 482 / 290;
		border-radius: 14px;
	}

	.news{
		padding: 40px 0 34px;
	}

	.news_inner{
		flex-direction: column;
		gap: 0;
	}

	.news_head{
		display: flex;
		justify-content: space-between;
		align-items: flex-end;
		width: 100%;
	}

	.news_more{
		margin-top: 0;
	}

	.link_more{
		gap: 10px;
		font-size: 14px;
	}

	.link_more::after{
		width: 22px;
		height: 22px;
		background-position: 8px center;
	}

	.news_list{
		width: 100%;
		margin-top: 12px;
	}

	.news_item a{
		flex-wrap: wrap;
		gap: 4px 12px;
		padding: 18px 0;
		font-size: 14px;
	}

	.news_category{
		min-width: 80px;
		font-size: 12px;
	}

	.news_title{
		flex-basis: 100%;
		white-space: normal;
	}

	.guide{
		padding-top: 60px;
	}

	.guide_lead{
		margin-top: 22px;
		font-size: 16px;
	}

	.guide_list{
		grid-template-columns: minmax(0, 1fr);
		gap: 40px;
		max-width: 420px;
		margin: 30px auto 0;
	}

	.guide_name{
		margin-top: 18px;
		padding-left: 22px;
		font-size: 16px;
	}

	.guide_name::before{
		width: 12px;
		height: 12px;
	}

	.guide_text{
		margin-top: 12px;
		font-size: 14px;
	}

	.company{
		margin-top: 60px;
		padding: 40px 0 32px;
	}

	.company .contents01{
		padding: 0 8px;
	}

	.company_table{
		margin-top: 30px;
		padding: 10px 20px 14px;
	}

	.company_row{
		flex-direction: column;
		gap: 2px;
		padding: 14px 10px;
		font-size: 14px;
	}

	.company_row dt{
		width: auto;
	}

	.company_address{
		display: flex;
		justify-content: space-between;
		align-items: center;
		gap: 12px;
	}

	.company_address span{
		margin-right: 0;
	}

	.company .btn{
		margin-top: 36px;
	}
}
