@charset "utf-8";
/*
 エリア別ページ（三重県・滋賀県・岐阜県）用のスタイル。
 地図（.gmap）は会社概要ページでも使われているため、両ページで読み込んでいます。
*/

/* ---- 地図（元は幅1010px固定でスマホからはみ出していました） ---- */
.gmap {
	position: relative;
	width: 100%;
	max-width: 1010px;
	margin: 15px auto 10px;/*上は直前のテキストとの間隔*/
	aspect-ratio: 1010 / 300;
}

.gmap iframe {
	width: 100%;
	height: 100%;
	border: 0;
	display: block;
}

/* aspect-ratio 非対応ブラウザ向けのフォールバック */
@supports not (aspect-ratio: 1 / 1) {

	.gmap {
		height: 300px;
	}
}

/* リード文と最初の見出しの間隔を50pxにします
   （.inner の margin-top:-30px を打ち消してから指定） */
main > .inner {
	margin-top: 0;
}

main > .inner > h5:first-child {
	margin-top: 50px;
}

/* ---- PC時は本文の幅を80%にして、1行の文字数を抑えます ---- */
@media screen and (min-width: 768px) {

	main > p:not(.area-cta),
	main > .inner > p:not(.area-cta) {
		width: 80%;
		margin-right: auto;
		margin-left: auto;
	}
}

/* SP時は幅85%・文字サイズを1px小さくします */
@media screen and (max-width: 767px) {

	main > p:not(.area-cta),
	main > .inner > p:not(.area-cta) {
		width: 85%;
		margin-right: auto;
		margin-left: auto;
		font-size: 1.5rem;
	}
}

/* 前の段落との間に1行分の余白を入れます */
.area-gap {
	margin-top: 1.7em;
}

/* ---- 商談場所の導入文 ---- */
.area-place-lead {
	margin-bottom: 15px;
}

/* ---- よくいただくご相談カード（写真つき） ---- */
.area-cards .list {
	margin-bottom: 30px;
}

/* 見出し（h6・幅95%）に合わせて本文も95%にします */
.area-cards .list p {
	width: 95%;
	margin-right: auto;
	margin-left: auto;
}

.area-cards .area-card-img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	margin-bottom: 14px;
	border-radius: 4px;
}

@supports not (aspect-ratio: 1 / 1) {

	.area-cards .area-card-img {
		height: auto;
	}
}

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

	.area-cards .list {
		margin-bottom: 26px;
	}

	.area-cards .area-card-img {
		max-width: 400px;
		margin-right: auto;
		margin-left: auto;
	}
}

/* ---- ご相談の流れ（コンパクト版・番号バッジ＋本文） ---- */
.area-steps {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 12px 24px;
	max-width: 940px;
	margin: 0 auto;
	padding: 0;
	text-align: left;
	list-style: none;
	counter-reset: none;
}

.area-steps li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 12px 14px;
	background: #f7f8fa;
	border-left: 3px solid #004C9F;
	list-style: none;
}

/* 5項目なので最後の1つは2列ぶんを使って余白をなくします */
.area-steps li:last-child {
	grid-column: 1 / -1;
}

.area-steps__num {
	flex: 0 0 26px;
	width: 26px;
	height: 26px;
	margin-top: 2px;
	border-radius: 50%;
	background: #004C9F;
	color: #fff;
	font-size: 1.4rem;
	font-weight: bold;
	line-height: 26px;
	text-align: center;
}

.area-steps__img {
	flex: 0 0 96px;
	width: 96px;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: 3px;
	background: #fff;
}

.area-steps__body {
	flex: 1 1 auto;
	min-width: 0;
}

.area-steps__ttl {
	display: block;
	font-weight: bold;
	line-height: 1.5;
}

.area-steps__txt {
	display: block;
	font-size: 1.4rem;
	line-height: 1.7;
}

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

	.area-steps {
		grid-template-columns: 1fr;
		gap: 10px;
	}

	.area-steps li {
		padding: 10px 12px;
		gap: 10px;
	}

	.area-steps__img {
		flex-basis: 80px;
		width: 80px;
	}
}

/* ---- ご相談の流れ（三重・滋賀ページ） ---- */
.area-flow {
	max-width: 900px;
	margin: 0 auto;
	padding-left: 1.6em;
	text-align: left;
	line-height: 1.9;
}

.area-flow li {
	margin-bottom: 12px;
	list-style: decimal;
}

/* ---- よくあるご質問 ---- */
.area-faq {
	max-width: 900px;
	margin: 0 auto;
	text-align: left;
}

.area-faq dt {
	margin-top: 18px;
	padding: 10px 14px 10px 2.2em;
	position: relative;
	background: #f5f5f5;
	font-weight: bold;
	line-height: 1.7;
}

.area-faq dt::before {
	content: "Q";
	position: absolute;
	left: 14px;
	color: #c9302c;
	font-weight: bold;
}

.area-faq dd {
	margin: 0;
	padding: 12px 14px 12px 2.2em;
	position: relative;
	line-height: 1.9;
}

.area-faq dd::before {
	content: "A";
	position: absolute;
	left: 14px;
	color: #666;
	font-weight: bold;
}

/* ---- 関連ページ（ボタン形式） ---- */
.area-links {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 12px;
	max-width: 940px;
	margin: 0 auto;
	padding: 0;
	text-align: left;
	list-style: none;
}

.area-links li {
	list-style: none;
	background: none;
	margin: 0;
}

.area-links a {
	display: block;
	position: relative;
	height: 100%;
	padding: 14px 34px 14px 16px;
	border: 1px solid #cfdcec;
	border-left: 4px solid #004C9F;
	border-radius: 4px;
	background: #fff;
	color: #004C9F;
	text-decoration: none;
	line-height: 1.5;
	transition: background-color .2s, color .2s;
}

.area-links a::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 14px;
	width: 7px;
	height: 7px;
	margin-top: -4px;
	border-top: 2px solid #004C9F;
	border-right: 2px solid #004C9F;
	transform: rotate(45deg);
	transition: border-color .2s;
}

.area-links__ttl {
	display: block;
	font-weight: bold;
}

.area-links__sub {
	display: block;
	margin-top: 2px;
	color: #666;
	font-size: 1.3rem;
	transition: color .2s;
}

.area-links a:hover {
	background: #004C9F;
	color: #fff;
}

.area-links a:hover .area-links__sub {
	color: #fff;
}

.area-links a:hover::after {
	border-color: #fff;
}

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

	.area-links {
		grid-template-columns: 1fr;
		gap: 10px;
		width: 85%;
		margin-right: auto;
		margin-left: auto;
	}
}

/* ---- CTA ---- */
.area-cta {
	margin: 24px 0;
	text-align: center;
}

.area-cta .btnB {
	display: inline-block;
	/* .btnB の width:30% を打ち消して文字幅に合わせます（改行防止） */
	width: auto;
	/* 見た目は .btnA に統一しています（白地・角丸・青の細枠・青文字）。 */
	box-sizing: border-box;
	min-width: 260px;
	max-width: 100%;
	padding: 0.7em 2.2em;
	border: 1px solid #004C9F;
	border-radius: 1em;
	background: #fff;
	color: #004C9F;
	font-size: 17px;
	font-weight: bold;
	line-height: 1.5;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color .2s;
}

.area-cta .btnB:hover {
	background: #EEF4FB;
	opacity: 1;
}

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

	/* 電話ボックス・リンクボタンと横幅を揃えます（85%・中央寄せ） */
	.area-cta .btnB {
		display: inline-block;
		min-width: 0;
		width: 85%;
		margin-right: auto;
		margin-left: auto;
		padding: 0.8em 1em;
		white-space: normal;
	}

	main .tel {
		width: 85%;
		margin-right: auto;
		margin-left: auto;
	}

	.area-faq dt,
	.area-faq dd {
		padding-left: 2em;
	}
}
