@charset "UTF-8";

/*--- 相続・遺言ページ ---*/

/*--- LV下テキスト ---*/

#txt_box + section.dec2_1:not(.composite_box01):not(.block_text_6) .wrapper_item {
	background: var(--i_main_color);
	color: #fff;
}

#txt_box + section .heading.block_header_1 p,
#txt_box + section .heading.block_header_6 .h {
	color: var(--i_main_color);
}

/*--- こんなお悩みありませんか？ ---*/

#trouble + section::before {
	position: absolute;
	display: block;
	content: "";
	pointer-events: none;
	height: 14vw;
	max-height: 250px;
	min-height: 130px;
	aspect-ratio: 535 / 648;
	width: 100%;
	max-width: 1300px;
	left: 50%;
	transform: translateX(-50%);
	bottom: 0;
	background: url("/common/upload_data/aobagpjp/image/trouble.png.webp") no-repeat bottom right / contain;
	z-index: 2;
}

#what + section::before {
	position: absolute;
	display: block;
	content: "";
	pointer-events: none;
	height: 14vw;
	max-height: 250px;
	min-height: 130px;
	aspect-ratio: 524 / 624;
	width: 100%;
	max-width: 1300px;
	left: 50%;
	transform: translateX(-50%);
	bottom: 0;
	background: url("/common/upload_data/aobagpjp/image/qa.png.webp") no-repeat bottom right / contain;
	z-index: 2;
}

#reason + section::before {
	position: absolute;
	display: block;
	content: "";
	pointer-events: none;
	height: 14vw;
	max-height: 180px;
	min-height: 100px;
	aspect-ratio: 582 / 572;
	width: 100%;
	max-width: 1300px;
	left: 50%;
	transform: translateX(-50%);
	bottom: 0;
	background: url("/common/upload_data/aobagpjp/image/one.png.webp") no-repeat bottom right / contain;
	z-index: 2;
}

#trouble + section .heading.block_header_4 .h,
#what + section .heading.block_header_4 .h,
#reason + section .heading.block_header_4 .h {
	font-size: 2.6rem !important;
	color: var(--i_txt_color);
	position: relative;
	display: inline-block;
	margin-bottom: 20px;
}

#trouble + section .heading.block_header_4 .h::before,
#what + section .heading.block_header_4 .h::before,
#reason + section .heading.block_header_4 .h::before,
#trouble + section .heading.block_header_4 .h::after,
#what + section .heading.block_header_4 .h::after,
#reason + section .heading.block_header_4 .h::after {
	position: absolute;
	display: block;
	content: "";
	pointer-events: none;
	background: #ebc2be;
	z-index: -1;
}

#trouble + section .heading.block_header_4 .h::before,
#what + section .heading.block_header_4 .h::before,
#reason + section .heading.block_header_4 .h::before {
	width: 100%;
	height: 30%;
	left: 0;
	bottom: 0;
}

#trouble + section .heading.block_header_4 .h::after,
#what + section .heading.block_header_4 .h::after,
#reason + section .heading.block_header_4 .h::after {
	width: 20px;
	height: 10px;
	left: 50%;
	transform: translateX(-50%);
	bottom: -9px;
	clip-path: polygon(50% 100%, 0 0, 100% 0);
}

#trouble + section > .content_wrapper,
#what + section > .content_wrapper,
#reason + section > .content_wrapper {
	padding-block: 65px;
}

#trouble + section .inner_item_txt,
#what + section .inner_item_txt {
	max-width: 760px;
}

#trouble + section .inner_item_txt p,
#what + section .inner_item_txt p {
	position: relative;
	text-align: left;
	background-image: repeating-linear-gradient(90deg, var(--i_txt_color), var(--i_txt_color) 1px, transparent 1px, transparent 3px);
	background-position: left bottom;
	background-repeat: repeat-x;
	background-size: 100% 1px;
	line-height: 1.3;
	padding-left: 25px;
	padding-bottom: 17px;
	margin-bottom: 17px;
}

#trouble + section .inner_item_txt p::before {
	position: absolute;
	display: block;
	content: "quiz";
	pointer-events: none;
	font-size: 2rem;
	top: -0.1rem;
	left: 0;
	font-family: 'Material Symbols Outlined';
	color: var(--i_sub_color);
}

#what + section .inner_item_txt p::before {
	position: absolute;
	display: block;
	content: "warning";
	pointer-events: none;
	font-size: 2rem;
	top: -0.1rem;
	left: 0;
	font-family: 'Material Symbols Outlined';
	color: var(--i_sub_color);
}

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

	#trouble + section .heading.block_header_4 .h,
	#what + section .heading.block_header_4 .h {
		font-size: 2rem !important;
		margin-bottom: 10px;
	}
}

/*--- 3つの専門家がチームになって、サポートいたします ---*/

#obi + section::before {
	width: 40px;
	height: 10px;
	left: 50%;
	transform: translateX(-50%);
	bottom: 0;
	clip-path: polygon(0% 100%, 50% 0, 100% 100%);
	position: absolute;
	display: block;
	content: "";
	pointer-events: none;
	background: #fff;
	z-index: 3;
}

/*--- 画像＋テキスト ---*/

a[id^="l_hd"] + section .heading.block_header_2 .h {
	font-size: clamp(1.85rem, 2.3vw, 2.5rem) !important;
	background: var(--i_sub_color);
	color: var(--i_bg_color);
	padding: 7px 12px 5px 25px;
	margin-bottom: 10px;
}
a[id^="l_hd"] + section .heading.block_header_2 .h:before {
	display: none;
}
a[id^="l_hd"] + section .heading.block_header_2 .h:after {
	position: absolute;
	content: "";
	left: 0;
	top: 0;
	border-width: 0 0 15px 15px;
	border-style: solid;
	border-color: #fff #fff #dda6a0;
	box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.15);
}
a[id^="l_hd"] + section .heading.block_header_2 p {
	font-size: clamp(1.7rem, 1.8vw, 2rem) !important;
	color: var(--i_txt_color);
	line-height: 1.5;
}

@media screen and (min-width: 901px) {
	#l_hd + section .inner_item_txt {
		padding-right: 6%;
	}

	#l_hd2 + section .inner_item_txt {
		padding-left: 6%;
	}
}

@media screen and (max-width: 800px) {
	a[id^="l_hd"] + section .heading.block_header_2 p {
		line-height: 1.4;
		padding-left: 5px;
	}
}

#l_hd1 + section::before {
	width: 50px;
	height: 15px;
	left: 50%;
	transform: translateX(-50%);
	top: 0;
	clip-path: polygon(0% 0%, 100% 0, 50% 100%);
	position: absolute;
	display: block;
	content: "";
	pointer-events: none;
	background: var(--i_bg_color);
	z-index: 3;
}

#l_hd1 + section::after {
	position: absolute;
	display: block;
	content: "";
	pointer-events: none;
	height: 14vw;
	max-height: 180px;
	min-height: 100px;
	aspect-ratio: 582 / 572;
	width: 100%;
	max-width: 1300px;
	left: 50%;
	transform: translateX(-50%);
	bottom: 0;
	background: url("/common/upload_data/aobagpjp/image/guu.png.webp") no-repeat bottom right / contain;
	z-index: 2;
}

/*--- 料金表 ---*/

#price + div dl > * {
	display: table-cell;
	vertical-align: middle;
}
#price + div dl {
	display: table;
	table-layout: fixed;
	width: 100%;
	border-bottom: 1px solid var(--i_border_color)
}
#price + div dl:last-of-type {
	border-bottom: none;
}
#price + div dt {
	padding: 10px;
	position: relative;
	line-height: 1.5;
	width: 60%;
	border-right: 1px solid var(--i_border_color);
}

#price + div dd {
	padding: 10px;
}

#price + div .heading.block_header_4 {
	background: var(--i_sub2_color);
	padding: 10px 6px 5px 6px;
	margin-bottom: 0;
	border-bottom: 1px solid var(--i_border_color);
}
#price + div .heading.block_header_4 .h {
	font-size: 2.3rem !important;
}
#price + div .inner_item_txt {
	text-align: left;
	margin-top: 0;
	border: 1px solid var(--i_border_color);
	padding: 0;
	flex-grow: 1;
}
#price + div .inner_item:last-of-type .inner_item_txt {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-content: center;
}
#price + div .inner_item:last-of-type .inner_item_txt ul {
	padding: 20px 20px 10px;
}
#price + div .inner_item:last-of-type .inner_item_txt ul + p {
	padding: 0 20px 20px;
}

@media screen and (max-width: 800px) {
	#price + div .heading.block_header_4 .h {
		font-size: 2.0rem !important;
	}
}
/*--- 選択型　お問い合わせボタン ---*/

#select_btn + .composite_box01 .wrapper_item {
	justify-content: space-between;
}
#select_btn + .composite_box01.block_images_7 .inner_item {
	border-radius: 10px;
}

#select_btn + .composite_box01.block_images_7 .inner_item_txt {
	background: var(--i_btn_color);
	border-radius: 10px;
	border: 1px solid var(--i_border_color);
	box-shadow: 0 5px 8px rgba(41, 51, 56, 0.18);
}
#select_btn + .composite_box01.block_images_7 .inner_item:last-of-type .inner_item_txt {
	background: var(--i_sub_color);
}

#select_btn + .composite_box01.block_images_7 .inner_item > a:hover + .inner_item_txt {
	opacity: .8;
}

#select_btn + div .heading.block_header_4 .h {
	font-size: clamp(2rem, 2.5vw, 2.3rem) !important;
	margin-bottom: 20px;
}

#select_btn + div .heading.block_header_4 p {
	position: relative;
	display: inline-block;
	padding: 0 40px 5px 10px;
	color: #fff;
	font-size: clamp(1.5rem, 2.5vw, 1.8rem);
	border-bottom: 1px solid rgba(255, 255, 255, 0.8);
}
#select_btn + div .heading.block_header_4 p:before {
	display: block;
	position: absolute;
	content: "⇀";
	width: 30px;
	height: 100%;
	top: calc(50% - 13px);
	transform: translateY(-50%);
	right: 0px;
	font-size: 3rem;
	pointer-events: none;
	color: #fff;
	z-index: 2;
}

#select_btn + div .inner_item.empty {
	display: none;
}
#select_btn + .composite_box01.block_images_7 .inner_item:has(+ .inner_item.empty) {
	width: 100% !important;
}
@media screen and (min-width: 701px) {
	#select_btn + .composite_box01.block_images_7 .inner_item {
		width: calc(50% - 10px) !important;
	}
}
@media screen and (max-width: 700px) {
	#select_btn + .composite_box01.block_images_7 .inner_item {
		width: 100% !important;
	}
	#select_btn + .composite_box01.block_images_7 .inner_item:has(+ .inner_item) {
		margin-bottom: 20px !important;
	}
	#select_btn + .composite_box01.block_images_7 .inner_item_txt {
		min-height: 260px;
	}
}

/*--- FEATURES ---*/
#hd_faq + section .heading.block_header_1 p,
#hd_faq + section .heading.block_header_6 .h,
a[id^="hd_feat"] + section .heading.block_header_1 p,
a[id^="hd_feat"] + section .heading.block_header_6 .h {
	font-size: 5rem;
	letter-spacing: 0.8rem;
	font-weight: 400;
}

@media screen and (max-width: 800px) {
	#hd_faq + section .heading.block_header_1 p,
	#hd_faq + section .heading.block_header_6 .h,
	a[id^="hd_feat"] + section .heading.block_header_1 p,
	a[id^="hd_feat"] + section .heading.block_header_6 .h {
		font-size: 3.5rem;
		letter-spacing: 0.4rem;
	}
}

/*--- 知っておきたい 『相続登記の義務化』 ---*/
#know1 + section {
	overflow: visible;
}
#know1 + section .heading.block_header_1:before {
	top: -55px;
	left: -25px;
	width: 100%;
	height: 50px;
	pointer-events: none;
	background: url("/common/upload_data/aobagpjp/image/important.png.webp") no-repeat top left / contain;
	z-index: 2;
}
@media screen and (min-width: 1201px) {
	#know1 + section .heading.block_header_1:before {
		left: -50px;
		height: 55px;
	}

}
/*--- 相続登記のご相談は「あおばグループ」 ---*/

#connect + section .wrapper_item {
	position: relative;
}

#connect + section .inner_item_txt {
	margin-right: 30px;
	background: var(--i_sub2_color);
	flex-basis: auto !important;
	margin-bottom: 2px;
	max-width: none !important;
	border: 1px solid var(--i_border_color);
	padding: 20px !important;
	border-radius: 15px;
	position: relative;
}

#connect + section .inner_item_txt::before {
	content: "";
	display: block;
	width: 30px;
	height: 30px;
	border-left: 1px solid var(--i_border_color);
	border-top: 1px solid var(--i_border_color);
	position: absolute;
	top: 20px;
	right: -16px;
	background: var(--i_sub2_color);
	transform: rotate(135deg) matrix(1, 0.3, 0.3, 1, 0, 0);
}

#connect + section .inner_item_img > a {
	pointer-events: none;
}

#connect + section .inner_item_img img {
	max-width: 200px !important;
	height: auto;
}
@media screen and (max-width: 900px) {
	#connect + section .inner_item_txt {
		margin-right: auto;
		margin-top: 30px;
	}
	#connect + section .inner_item_txt::before {
		top: 0;
		right: 20%;
		transform: rotate(45deg) matrix(1, 0.3, 0.3, 1, 0, 0)translateX(-50%);
	}
}
