@charset "utf-8";
/* CSS Document */
/*--------------------------------------
ヘディング
---------------------------------------*/
.inheritance-measures-heading {
    padding: 90px 0 40px 0;
    overflow-x: clip;
}

.inheritance-measures-heading .inheritance-measures-heading_lead .catch {
    font-size: 38px;
    letter-spacing: 2px;
    line-height: 1.6;
    color: #008D95;
    margin-bottom: 36px;
    position: relative;
    font-family: "Noto Serif JP", serif;
    font-weight: 500;
}

.inheritance-measures-heading .inheritance-measures-heading_lead .caption {
    font-size: 19px;
    /*width: 83%; リードの横に画像が必要な際にこちらを使用*/
    width: 80%;
    text-align: justify;
}

.inheritance-measures-heading .inheritance-measures-heading_img {
    position: absolute;
    top: 90px;
    right: 0;
    display: flex;
    flex-direction: column;
}

.inheritance-measures-heading .inheritance-measures-heading_img::before {
    position: absolute;
    content: "";
    display: block;
    width: 20px;
    height: 100%;
    background-image: linear-gradient(180deg, rgba(242, 153, 4, 1), rgba(242, 153, 4, 0));
    top: 0;
    left: -10px;
}

.inheritance-measures-heading .inheritance-measures-heading_img .heading_img_01 {
    width: 300px;
}
.inheritance-measures-heading .inheritance-measures-heading_img .heading_img_02 {
    width: 300px;
}

@media screen and (max-width: 1024px) {
    .inheritance-measures-heading {
        padding: 70px 4% 60px 4%;
    }
    
    .inheritance-measures-heading .inheritance-measures-heading_lead .catch {
        font-size: 24px;
        letter-spacing: 1px;
        margin-bottom: 28px;
    }
    .inheritance-measures-heading .inheritance-measures-heading_lead .catch::after {
        width: 260px;
        height: 260px;
        right: -12%
    }
    
    .inheritance-measures-heading .inheritance-measures-heading_lead .caption {
        font-size: 16px;
        width: 100%;
    }
    
    .inheritance-measures-heading .inheritance-measures-heading_img .heading_img_01 {
        width: 180px;
    }
    .inheritance-measures-heading .inheritance-measures-heading_img .heading_img_02 {
        width: 180px;
    }
}

@media screen and (max-width: 767px) {
    .inheritance-measures-heading {
        padding: 40px 4% 0 4%;
    }

    .inheritance-measures-heading .inheritance-measures-heading_lead .catch {
        font-size: 18px;
        letter-spacing: 2px;
        margin-bottom: 20px;
    }
    .inheritance-measures-heading .inheritance-measures-heading_lead .catch::after {
        width: 180px;
        height: 180px;
        right: -20%;
        bottom: 0;
    }
    
    .inheritance-measures-heading .inheritance-measures-heading_lead .caption {
        font-size: 14px;
    }
    
    .inheritance-measures-heading .inheritance-measures-heading_img {
        position: absolute;
        top: inherit;
        bottom: inherit;
        right: 0;
        display: flex;
        flex-direction: row;
        padding: 0 4%;
        margin-top: 14px;
    }
    
    .inheritance-measures-heading .inheritance-measures-heading_img::before {
        width: 92%;
        height: 15px;
        background-image: linear-gradient(90deg, rgba(242, 153, 4, 1), rgba(242, 153, 4, 0));
        top: inherit;
        left: 4%;
        bottom: -6%;
    }
    
    .inheritance-measures-heading .inheritance-measures-heading_img .heading_img_01 {
        width: 58%;
    }
    .inheritance-measures-heading .inheritance-measures-heading_img .heading_img_02 {
        width: 42%;
    }
}

/*-------------------------------------------
減税対策
-------------------------------------------*/
.reduction {
	background-color: #F7F7F7;
    padding: 86px 0;
}

.reduction h4 {
    margin-bottom: 32px;
    font-size: 26px;
    line-height: 1.6;
    color: #008D95;
    font-family: "Noto Serif JP", serif;
    font-weight: 400;
    letter-spacing: 2px;
}
.reduction h4 span {
    text-decoration: underline;
    text-decoration-color: #F29904;
    text-underline-offset: 4px;
    text-decoration-thickness: 2px;
}

.reduction .caption {
    margin-bottom: 34px;
    font-size: 19px;
}

.reduction .reduction_items .reduction_box {
	width: 100%;
	margin-top: 40px;
	position: relative;
}

.reduction .reduction_items .reduction_box .box {
	display: flex;
	align-items: center;
	width: 100%;
	height: 240px;
	margin-bottom: 60px;
}

.reduction .reduction_items .reduction_box .box:nth-child(2) {
	height: 420px;
}

.reduction .reduction_items .reduction_box .box:nth-child(3) {
	height: 560px;
}

.reduction .reduction_items .reduction_box .box:nth-child(4) {
	height: 460px;
}

.reduction .reduction_items .reduction_box .box:nth-child(4)::after {
	content: "";
	position: absolute;
	display: inline-block;
	background-image: url("../images/character/woman_09.png");
	background-size: contain;
	vertical-align: middle;
	width: 270px;
	height: 270px;
	right: -18%;
	bottom: -2%;
}

.reduction .reduction_items .reduction_box .box .box_number {
	width: 8%;
	background-color: #F29904;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: bold;
	font-size: 36px;
	color: #fff;
	border: 4px solid #24936E;
	border-top-left-radius: 15px;
	border-bottom-left-radius: 15px;
	border-right: none;	
}

.reduction .reduction_items .reduction_box .box .box_image {
	width: 30%;
	background-color: #E2E97C;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	border: 4px solid #24936E;
	border-left: none;	
	border-right: none;	
}

.reduction .reduction_items .reduction_box .box .box_image p {
	font-weight: bold;
	font-size: 28px;
	margin-bottom: 15px;
	color: #24936E;
}

.reduction .reduction_items .reduction_box .box:nth-child(4) .box_image p:first-of-type {
	font-size: 20px;
	margin-bottom: -10px;
}

.reduction .reduction_items .reduction_box .box .box_items {
	width: 62%;
	background-color: #fff;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 0 45px;
	border: 4px solid #24936E;
	border-left: none;
	border-top-right-radius: 15px;
	border-bottom-right-radius: 15px;
}

.reduction .reduction_items .reduction_box .box .box_items .box_title {
	font-weight: bold;
	font-size: 24px;
	color: #24936E;
	margin-bottom: 18px;
}

.reduction .reduction_items .reduction_box .box:first-of-type .box_items .box_title {
	margin-bottom: 0;
}

.reduction .reduction_items .reduction_box .box .box_items .box_title span {
	font-size: 28px;
	color: #F29904;
}

.reduction .reduction_items .reduction_box .box .box_items .point {
	margin-bottom: 16px;
}

.reduction .reduction_items .reduction_box .box .box_items .point .point_title,
.reduction .reduction_items .reduction_box .box .box_items .example .example_title {
	background-color: #F29904;
	width: 120px;
	text-align: center;
	color: #fff;
	border-radius: 10px;
	padding: 5px 0;
	margin-bottom: 10px;
    font-size: 20px;
}

.reduction .reduction_items .reduction_box .box .box_items .point .point_text,
.reduction .reduction_items .reduction_box .box .box_items .example .example_text {
	margin-bottom: 5px;
    font-size: 19px;
}

.reduction .reduction_items .reduction_box .box .box_items .example .example_table table {
	border: solid 1px #ccc;
	width: 100%;
}

.reduction .reduction_items .reduction_box .box .box_items .example .example_table table tr th {
	background: #f3eed2;
	border: solid 1px #ccc;
	text-align: center;
	width: 40%;
    font-size: 19px;
}

.reduction .reduction_items .reduction_box .box .box_items .example .example_table table tr td {
	border: solid 1px #ccc;
	padding: 5px 15px;
	text-align: right;
	width: 60%;
    font-size: 19px;

}
.reduction .reduction_items .reduction_box .box .box_items .example .example_table table tr td.total {
	background: #f8f6ee;
	font-weight: bold;
	text-align: center;
}

table {
	border-collapse: collapse;
	border-spacing: 0
}


@media screen and (max-width: 1024px) {
    .reduction {
        padding: 64px 4%;
    }
    
	.reduction .reduction_items .reduction_box .box {
		flex-direction: column;
		height: 100%;
	}

	.reduction .reduction_items .reduction_box .box:nth-child(2) {
		height: 100%;
	}

	.reduction .reduction_items .reduction_box .box:nth-child(3) {
		height: 100%;
	}

	.reduction .reduction_items .reduction_box .box:nth-child(4) {
		height: 100%;
	}
	
	.reduction .reduction_items .reduction_box .box .box_number {
		width: 100%;
		font-size: 36px;
		border-top-left-radius: 15px;
		border-bottom-left-radius: 0;
		border-top-right-radius: 15px;
		border-bottom-right-radius: 0;
		border: 4px solid #24936E;
		border-bottom: none;
	}

	.reduction .reduction_items .reduction_box .box .box_image {
		width: 100%;
		background-color: #E2E97C;
		display: flex;
		align-items: center;
		justify-content: center;
		flex-direction: column;
		border-left: 4px solid #24936E;
		border-right: 4px solid #24936E;
		border-top: none;	
		border-bottom: none;
		padding: 15px 0;
	}

	.reduction .reduction_items .reduction_box .box .box_items {
		width: 100%;
		background-color: #fff;
		display: flex;
		flex-direction: column;
		justify-content: center;
		padding: 15px 30px 30px 30px;
		border: 4px solid #24936E;
		border-top: none;
		border-top-right-radius: 0;
		border-bottom-right-radius: 15px;
		border-bottom-left-radius: 15px;
	}
	
	.reduction .reduction_items .reduction_box .box .box_items .box_title {
		font-weight: bold;
		font-size: 24px;
		color: #24936E;
		margin-bottom: 30px;
		text-align: center;
	}
	
	.reduction .reduction_items .reduction_box .box:nth-child(4)::after {
		width: 180px;
		height: 180px;
		right: inherit;
		left: -6%;
		bottom: -2%;
		transform: scale(-1, 1)
	}
}


@media screen and (max-width: 767px) {
    .reduction h4 {
        margin-bottom: 28px;
        font-size: 16px;
        line-height: 1.8;
        color: #008D95;
        letter-spacing: 0;
    }
    
    .reduction .caption {
        font-size: 14px;
    }
        
	.reduction .reduction_items .reduction_box .box .box_items .example .example_table table tr th {
		width: 20%;
		font-size: 12px;
	}

	.reduction .reduction_items .reduction_box .box .box_items .example .example_table table tr td {
		width: 80%;
		font-size: 12px;
	}
	
	.reduction .reduction_items .reduction_box .box:nth-child(4)::after {
		width: 120px;
		height: 120px;
		left: -6%;
		bottom: -2%;
		transform: scale(-1, 1)
	}
    
    .reduction .reduction_items .reduction_box .box .box_image p {
        font-weight: bold;
        font-size: 20px;
        margin-bottom: 15px;
        color: #24936E;
    }
    
    .reduction .reduction_items .reduction_box .box .box_items .box_title {
		font-size: 18px;
	}
    .reduction .reduction_items .reduction_box .box .box_items .box_title span {
		font-size: 20px;
    }
    
    .reduction .reduction_items .reduction_box .box .box_items .point .point_title,
    .reduction .reduction_items .reduction_box .box .box_items .example .example_title {
        font-size: 16px;
    }

    .reduction .reduction_items .reduction_box .box .box_items .point .point_text,
    .reduction .reduction_items .reduction_box .box .box_items .example .example_text {
        font-size: 14px;
    }


}


/*-------------------------------------------
よくある相続税対策
-------------------------------------------*/
.countermeasures {
    padding: 84px 0;
}

.countermeasures h4 {
    margin-bottom: 32px;
    font-size: 26px;
    line-height: 1.4;
    color: #008D95;
    font-family: "Noto Serif JP", serif;
    font-weight: 600;
}

.countermeasures .countermeasures_list {
	margin-top: 60px;
	position: relative;
}


.countermeasures .countermeasures_list li {
	margin-bottom: 40px;
}

.countermeasures .countermeasures_list li:last-of-type {
	position: relative;
}

.countermeasures .countermeasures_list li:last-of-type::before {
	content: "";
	position: absolute;
	display: inline-block;
	background-image: url("../images/character/woman_10.png");
	background-size: contain;
	vertical-align: middle;
	width: 240px;
	height: 240px;
	right: -16%;
	bottom: -2%;
	z-index: 1;
}

.countermeasures .countermeasures_list .countermeasures_box {
	width: 100%;
	background-color: #F7F7F7;
	padding: 15px 25px 20px 25px;
	border-radius: 5px;
	position: relative;
}


.countermeasures .countermeasures_list .countermeasures_box .countermeasures_message {
	margin-bottom: 7px;
	font-size: 22px;
	font-weight: bold;
	border-bottom: 1px solid #008D95;
}

.countermeasures .countermeasures_list .countermeasures_box .countermeasures_message span {
	font-weight: bold;
	color: #008D95;
	font-size: 36px;
}

.countermeasures .countermeasures_list .countermeasures_box .countermeasures_text {
	font-size: 19px;
}

@media screen and (max-width: 1279px) {
    .countermeasures{
        padding: 48px 4%;
    }

	.countermeasures .countermeasures_list li:last-of-type::before {
		display: none;
	}

}

@media screen and (max-width: 767px) {
	.countermeasures .countermeasures_list .countermeasures_box {
		padding: 12px 12px 12px 12px;

	}
	
	.countermeasures .countermeasures_list .countermeasures_box .countermeasures_message {
		font-size: 16px;
		padding-bottom: 3px;
	}

	.countermeasures .countermeasures_list .countermeasures_box .countermeasures_message span {
		font-size: 20px;
	}
	
	.countermeasures .countermeasures_list .countermeasures_box .countermeasures_text {
		font-size: 14px;
	}
	
	.countermeasures .countermeasures_list li:last-of-type::before {
		width: 90px;
		height: 90px;
		right: 0;
		bottom: -69%;
	}
}

/*-------------------------------------------
トータルサポート
-------------------------------------------*/
.total_support {
	background-color: #D9FAFF;
	width: 100%;
	padding: 74px 0;
    position: relative;
}

.total_support .inner {
    display: flex;
    width: 100%;
}

.total_support .support_detail {
    margin: 0 auto;
}
.total_support .support_detail p {
    margin-bottom: 32px;
    line-height: 1.8;
    font-size: 19px;
}
.total_support .support_detail p span {
    color: #008D95;
    font-weight: bold;
}
.total_support .support_detail img {
    width: 72%
}

.total_support .support_character {
    width: 180px;
    position: absolute;
    right: 20%;
    bottom: 8%;
}

@media screen and (max-width: 1279px) {
    .total_support {
        padding: 48px 4%;
    }
    
    .total_support .support_character {
        display: none;
    }
    
    .total_support .support_detail img {
        width: 100%;
    }


}

@media screen and (max-width: 767px) {
    .total_support .support_detail p {
        margin-bottom: 16px;
        line-height: 1.4;
        font-size: 16px;
        letter-spacing: 1px;
    }
    

}