@charset "UTF-8";

.scroll-hint-text {
	width: max-content;
	margin-top: 3px;
}
/*-----------------------------------

	header

-----------------------------------*/
header .main_menu > li:nth-child()::before {
	width: 100%;
  }
/*-----------------------------------

	price_block

-----------------------------------*/
#price_block {
	padding: 50px 0 80px;
}
#price_block .contents_wrap {
	max-width: 905px;
}
/* tab_box */
#price_block .tab_box {
	margin: 0 auto 50px;
	justify-content: center;
	gap: 30px 24px;
}
#price_block .tab_box a {
	font-size: 15px;
	font-weight: 500;
	line-height: 1.4;
	letter-spacing: 0.06em;
	padding: 9.5px 46px 9.5px 0;
	position: relative;
}
#price_block .tab_box a:hover{
	opacity: 0.7;
	transition: all 0.2s ease;
	text-decoration: underline;
}
#price_block .tab_box a:nth-of-type(n+4) {
	padding: 9.5px 55px 9.5px 0;
}
#price_block .tab_box a::before,
#price_block .tab_box a::after {
	content: "";
	display: block;
	width: 40px;
	height: 40px;
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
}
#price_block .tab_box a::before {
	background: #5A3C37;
	border-radius: 50vw;
}
#price_block .tab_box a::after {
	background: url(../img/common/btn_arw_icon.svg) no-repeat center / 14.5px 5px;
	transform: rotate(90deg);
}

@media screen and (max-width: 640px) {
	/* tab_box */
	#price_block .tab_box {
		gap: 15px 50px;
		margin: 0 auto 30px;
		display: -webkit-flex;
		display: flex;
		-webkit-justify-content: space-between;
		justify-content: space-between;
		-webkit-align-items: stretch;
		align-items: stretch;
	}
	#price_block .tab_box a {
		font-size: 12px;
		width: 40%;
		padding: 7.5px 33px 7.5px 0 !important;
	}
	#price_block .tab_box a::before,
	#price_block .tab_box a::after {
		width: 32px;
		height: 32px;
	}
	#price_block .tab_box a::after {
		background: url(../img/common/btn_arw_icon.svg) no-repeat center / 10.5px 5px;
	}
}
#price_block .price_box {
	padding-top: 60px;
	border-top: 1px solid rgba(0, 0, 0, 0.2);
	margin-bottom: 70px;
}
/*--
#price_block .price_box#final_tax_return {
	padding-bottom: 76px;
	border-bottom: 1px solid rgba(0, 0, 0, 0.2);
	margin-bottom: 98.3px;
}
--*/	
#price_block .price_box .basic {
	max-width: 535px;
	background: rgba(212, 168, 35, 0.3);
	margin: 0 auto 44px;
}
#price_block .price_box h3 {
	font-size: 30px;
	font-weight: 700;
	line-height: 1.47;
	letter-spacing: 0.06em;
	text-align: center;	
	margin-bottom: 30px;
}
#price_block .price_box h4 {
	font-size: 20px;
	font-weight: 700;
	line-height: 1.45;
	letter-spacing: 0.06em;
	color: #FFFFFF;
	background: #D4A823;
	text-align: center;
	padding: 12.5px 0;
	margin-bottom: 23px;
}
#price_block .price_box .basic h4 {
	padding: 5.5px 0;
	margin-bottom: 0;
}
#price_block .price_box .price {
	font-size: 18px;
	font-family: "Montserrat", sans-serif;;
	font-weight: 700;
	letter-spacing: 0.06em;
	color: #5A3C37;
	text-align: center;
	padding: 13px 0;
}
#price_block .price_box .price span {
	font-size: 40px;
	font-weight: 600;
	margin-right: 8px;
}
#price_block .price_box#inheritance_tax .table:nth-of-type(1) {
	margin-bottom: 66px;
}
#price_block .price_box .table table {
	width: 100%;
}
#price_block .price_box .table table th,
#price_block .price_box .table table td {
	font-size: 16px;
	font-weight: 500;
	line-height: 2.25;
	letter-spacing: 0.05em;
	vertical-align: middle;
	text-align: left;
}
#price_block .price_box .table table th {
	font-weight: 700;
	color: #D4A823;
	padding-left: 19px;
	padding-bottom: 6px;
	border-bottom: 1px solid #D4A823;
}
#price_block .price_box .table table th:first-of-type {
	width: 261px;
}
#price_block .price_box#inheritance_tax .table table th:first-of-type {
	width: 444px;
}
#price_block .price_box .table table th:nth-of-type(2) {
	width: 364px;
}
#price_block .price_box .table table td {
	padding: 10.5px 0 10.5px 19px;
	border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}
#price_block .price_box .table table .tb_price {
	font-size: 20px;
	font-weight: 700;
}
#price_block .price_box .att_txt {
	font-size: 14px;
	font-weight: 500;
	line-height: 1.43;
	letter-spacing: 0.06em;
	margin-top: 14px;
}
#price_block .price_box#inheritance_procedure .btn {
	margin-top: 70px;
}
#price_block .price_box#business_succession .btn ,
#price_block .price_box#realestate_inheritance .btn ,
#price_block .price_box#prenatal_measures .btn ,
#price_block .price_box#inheritance_tax .btn ,
#price_block .price_box#final_tax_return .btn {
	margin-top: 57px;
}
#price_block .price_box .btn::after {
	content: "";
	display: block;
	background: url(../img/common/ext_link_icon.svg) no-repeat center / contain;
	width: 14px;
	height: 13px;
	margin: auto;
	position: absolute;
	top: 0;
	right: 28px;
	bottom: 0;
	z-index: 1;
}
#price_block .price_box .pdf_icon::after {
	content: "";
	display: block;
	background: url(../img/price/pdf_icon.svg) no-repeat center / contain;
	width: 18px;
	height: 20px;
	margin: auto;
	position: absolute;
	top: 0;
	right: 28px;
	bottom: 0;
	z-index: 1;
}
#price_block .price_box .blank_cel {
	border-bottom: none !important;
}
#price_block .price_box .kasan_cel {
	vertical-align: top;
    width: 12%;
}

#price_block table .pc {
	display: table-cell;
}
#price_block .dotted {
	width: 6px;
	margin: 0 auto;
}

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

	.scroll_box .table{
		overflow-x: auto!important;
	}
	.scroll_box table{
		width: 1100px!important;
	}
}

@media screen and (max-width: 640px) {
	#price_block {
		padding: 50px 0 0px;
	}
	#price_block .unscroll_box {
		padding-top: 40px;
		margin-bottom: 50px !important;
	}
	#price_block .unscroll_box#inheritance_tax {
		padding-bottom: 40px;
	}

	#price_block .price_box h3 {
		font-size: 18px;
	}
	#price_block .unscroll_box h4 {
		font-size: 16px;
		padding: 7.5px 0;
		margin-bottom: 17px;
	}
	#price_block .unscroll_box .basic {
		margin: 0 auto 32px;
	}
	#price_block .unscroll_box .price {
		font-size: 15px;
		padding: 10px 0;
	}
	#price_block .unscroll_box .price span {
		font-size: 30px;
		margin-right: 4px;
	}
	#price_block .unscroll_box .table table tr {
		display: block;
	}
	#price_block .unscroll_box .table table th,
	#price_block .unscroll_box .table table td {
		font-size: 12px;
		line-height: 1.8;
	}
	#price_block .price_box .table table th {
		display: none;
	}
	#price_block .unscroll_box .table table td {
		width: 85%;
		padding: 12px 0 12px 8px;
	}
	#price_block .unscroll_box .table table td.first-child {
		display: block;
		font-size: 14px;
		color: #D4A823;
		width: 100%;
	}
	#price_block .unscroll_box  .table table td:last-of-type {
		width: 90px;
		white-space: nowrap;
	}
	#price_block .unscroll_box  .table table .tb_price {
		font-size: 12px;
	}
	#price_block .price_box  .att_txt {
		font-size: 12px;
		margin-top: 10px;
	}
	#price_block .unscroll_box#inheritance_procedure .btn {
		margin-top: 50px;
	}

	#price_block .price_box#business_succession .btn ,
	#price_block .price_box#realestate_inheritance .btn ,
	#price_block .price_box#prenatal_measures .btn ,
	#price_block .price_box#inheritance_tax .btn ,
	#price_block .price_box#final_tax_return .btn {
		margin-top: 40px;
	}
/*--
	#realestate_inheritance td {
		width: 50% !important;
		white-space: normal;
	}
	#realestate_inheritance td:first-child {
		width: 30% !important;
		min-width: 60px;
	}
	
	#realestate_inheritance .tb_price {
		width: 20% !important;
	}
--*/

	.scroll_box table td {
		padding: 12px 0 12px 8px !important;
		font-size: 12px !important;
        line-height: 1.8 !important;
	}
	.scroll_box table {
		width: 680px!important;
	}
	#price_block .unscroll_box .kasan_cel {
		width: 25% !important;
	}
	#price_block .sp_display {
		display: flex !important;
		width: -webkit-fill-available;
	}
	#price_block .sp_display .tb_price {
		width: 200px !important;
		text-align: right !important;
	}
	#price_block table .pc {
		display: none;
	}

	#prenatal_measures .sp_display .width_50 {
		width: 50% !important;
	} 
	#prenatal_measures .sp_display .tb_price {
		width: 50% !important;
	}
	#prenatal_measures .sp_display {
		flex-wrap: wrap;
	}
}