@charset "UTF-8";


/*=======================================================*/
/*      		セクション毎のCSS   			  		  */
/*======================================================*/

/*======= TOPページ ======*/
/*ご挨拶*/
.greeting {
	padding: clamp(40px, 6vw, 90px) 0;
	background-color: var(--base-color);
}

/*section1 業務案内*/
.sec1 {
	padding: 20px 0 100px 0;
	background-color: #F7F7F7;
}

/*4つ*/
.sec1-item {
	/*padding-bottom: 2vw;*/
	box-sizing: border-box;
	background-color: rgba(255, 255, 255, 0.6);
	border-radius: 5px;
	padding: 12px;
}
.sec1-item-container {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 15px 10px;
}
@media only screen and (max-width: 768px) {
	.sec1-item-container {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media only screen and (max-width: 568px) {
	.sec1-item-container {
		grid-template-columns: repeat(1, 1fr);
	}
}
/**/
.sec1-item h4 {
	font-size: clamp(18px, 1.8vw, 21px);
	margin: 7px 0 20px 0;
	text-align: center;
	border-top: 2px dotted #54924c;
	border-bottom: 2px dotted #54924c;
	background-color: rgba(216, 234, 224, 0.3);
	font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
}


/*文字ボタン*/
.btwi{
	display: block;
	width: 99%;	/*★ボタンをしたに揃えるために追加*/
	margin: 10px auto 5px auto;
	box-sizing: border-box;
	margin-top: auto;	/*★ボタンをしたに揃えるために追加*/
}
@media screen and (max-width: 768px) {
}
@media screen and (max-width: 568px) {
	.btwi{
		width: 100%;
	}
}
.c-btn a {
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
	height: 50px;
	color: #454545;
	line-height: 1.1;
	text-decoration: none;
	transition: 0.3s;
	padding: 0 32px 0 20px;	/*通常*/
	/*padding: 0 32px 0 10px;*/	/*左にアイコン入れているので*/
	border-radius: 5px;
}
.btn07 a {
	background-color: #54924c2b;
	border: 1px solid #54924c;
	font-size: clamp(13px, 1.4vw, 15px);
}
.btn07 a::before {
	content: '';
	position: absolute;
	top: 50%;
	right: 10px;
	transform: translateY(-50%);
	width: 17px;
	height: 17px;
	background-color: transparent;
	border: 2px solid #54924c;
	border-radius: 50%;
}
.btn07 a::after {
	content: '';
	position: absolute;
	top: calc(50% - 1px);
	right: 20px;
	transform: rotate(45deg) translateY(-50%);
	width: 6px;
	height: 6px;
	border-width: 2px 2px 0 0;
	border-style: solid;
	border-color: #54924c #54924c transparent transparent;
}
.btn07 a:hover {
	background-color: #54924c9d;
	color: #fff;
}
.btn07 a:hover::before {
	border: 2px solid #fff;
}
.btn07 a:hover::after {
	border-color: #fff #fff transparent transparent;
}





/*sec2*/
.sec2 {
	padding: 30px 0 clamp(40px, 6vw, 90px) 0;
}

/**/
.flex-child-intr01{
	width: 37%;
	margin-bottom: 20px;
}
.flex-child-intr02{
	width: 57%;
	margin-bottom: 20px;
}
/*画像装飾*/
.imgdeco{
	box-shadow:10px 10px 0 rgba(185, 204, 163, 0.3);
	/*margin-bottom: 20px;*/
}

/**/
.h3name{
	font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
	font-size: clamp(21px, 2.3vw, 25px);
	line-height: 1;
	color: #333;
	font-weight: 400;
	border-bottom: 1px dotted #555;
	margin: 10px 0;
	padding: 2px 0;
}
/**/
h4.ab{
	font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
	font-size: clamp(15px, 1.7vw, 19px);
	line-height: 1;
	color: #79694e;
	font-weight: 400;
	margin: 10px 0;
	padding: 2px 0;
}
/**/
.pintr{
	font-size: clamp(11px, 1.5vw, 15px);
	line-height: 1.4;
}



/*任意のみ表示*/
@media screen and (min-width: 869px) {
	.any-min769 {
		display: none;/*869以下表示*/
	}
}
@media screen and (max-width: 768px) {
	.any-max768 {
		display: none;/*768以上表示*/
	}
}


/*TELバナー*/
div.habatel{
	margin: 0 7%;
}
@media only screen and (max-width: 768px)  {
	div.habatel{
		margin: 0;
	}
}


/*TELバナー セクション*/
.topbnr_sec{
	padding: 60px 0 30px 0;
}
@media only screen and (max-width: 568px) {
	.topbnr_sec{
		padding: 60px 0 20px 0;
	}
}
.topbnr_sec-container {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-template-rows: 1fr;
	grid-column-gap: 10px;
	grid-row-gap: 10px;
}

.topbnr_sec-container img {
	/*border-radius: 5px;*/
box-shadow: 0px 3px 3px 0px rgba(0, 0, 0, 0.3);
}

@media only screen and (max-width: 568px) {
	.topbnr_sec-container {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		grid-template-rows: 2fr;
		grid-column-gap: 10px;
		grid-row-gap: 10px;
	}
}
/*topの背景だけちょっとグレー*/
.topbnr_sec2{
	padding: 60px 0;
	background-color: #F7F7F7;
	/*background-size: 10px 10px;
	background-image: repeating-linear-gradient(90deg, #a0c09b54 0, #c1ddbd54 1px, #ECF4E3 0, #ECF4E3 50%);*/
}









/*======= 事業内容(Business)ページ ======*/
/*section1*/
.services_sec1 {
	padding: 20px 0 30px 0;
}

/**/
div.linkukuri {
	box-sizing: border-box;
	padding: 15px 27px;
	background: rgb(245, 245, 245);
	margin: 0 auto;
	width: max-content;
	text-align: center;
	/*box-shadow: 0px 3px 3px 0px rgba(83, 83, 83, 0.5);*/
	border-radius: 5px;
}
/*ページ内リンク リスト*/
.link-menu {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}
ul.link-menu li a {
	display: inline-block;
	white-space: nowrap;
	font-size: clamp(14px, 1.5vw, 16px);
}
ul.link-menu li::after {
	content: "　|　";
	color: #aaa;
}
.link-menu li a:hover{
	display:inline-block;
	color: var(--accent-color1);
	text-decoration: underline;
}
ul.link-menu li:last-child::after{
	content: none;
}
@media screen and (max-width: 868px) {
	div.linkukuri {
		width: 98%;
	}
	.link-menu {
		gap: 0%;
	}
	.link-menu li {
		display:inline-block;
		width: 100%;
		border-bottom: 1px dashed #858585;
	}
	.link-menu li a{
		display:inline-block;
		padding: 10px 0px;
		font-size: 14px !important;
	}
	ul.link-menu li::after{
		content: none;
	}
}



/*section2*/
.services_sec2 {
	padding: clamp(40px, 5vw, 80px) 0;
	background-color: #fff;
}
/*section3*/
.services_sec3 {
	padding: clamp(40px, 5vw, 80px) 0;
	background-color: #E3EFF4;
}
/*section4*/
.services_sec4 {
	padding: clamp(40px, 5vw, 80px) 0;
	background-color: #fff;
}
/*section5*/
.services_sec5 {
	padding: clamp(40px, 5vw, 80px) 0;
	background-color: #F2F0EB;
}

/**/
@media screen and (max-width: 768px) {
	.services_sec1 {
		padding: 0px 10px 50px 10px;
	}
	.services_sec2 {
		padding: clamp(40px, 5vw, 80px) 10px;
	}
	.services_sec3 {
		padding: clamp(40px, 5vw, 80px) 10px;
	}
	.services_sec4 {
		padding: clamp(40px, 5vw, 80px) 10px;
	}
	.services_sec5 {
		padding: clamp(40px, 5vw, 80px) 10px;
	}
}



.imgtext2 {
	padding: 0;
	background-color: rgba(255,255,255,0.7);
}
.imgtext-container2 {
	display: flex;
	flex-direction: column;
}
@media print, screen and (min-width: 769px) {
	.imgtext-container2.reverse {
		flex-direction: row-reverse;
	}
}
@media print, screen and (min-width: 769px) {
	.imgtext-container2 {
		flex-direction: row;
		align-items: center;
	}
}

@media print, screen and (min-width: 769px) {
	.imgtext-container2 > .text {
		flex: 1;
		min-width: 17em;
	}
}
@media print, screen and (min-width: 769px) {
	.imgtext-container2 > .img {
		flex: 1;
	}
}



/* タイトルとサブタイトル（短い線で装飾） */
.heading-decoration2 {
	font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
	font-size: clamp(25px, 2.3vw, 30px);
	min-height: 0vw;
	font-weight: 400;
	color: #444;
	line-height: 1.1;
	text-align: center;
	margin: 25px 30px;
}
.heading-decoration2::after {
	display: block;
	content: '';
	width: 160px;
	height: 0px;
	border-top: double 3px #87a86a;
	margin-top: 0.2em;
	margin-right: auto;
	margin-left: auto;
}
.heading-decoration2 + p {
	margin: 20px 30px;
}

@media screen and (max-width: 568px) {
	.heading-decoration2 {
		text-align:center;
	}
	.heading-decoration2::after {
		margin-right:auto;
		margin-left:auto;
	}
	.heading-decoration2 + p {
		margin: 20px 15px;
	}
}

/*heading-decoration2 + p と同じように余白を展開する*/
.aburep {
	margin: 20px 30px;
}
@media screen and (max-width: 568px) {
	.aburep {
		margin: 20px 10px;
	}
}

/*見出し*/
.puti{
	font-size: clamp(15px, 1.7vw, 19px);
	position: relative;
	/*display: inline-block;*/
	/*padding: 0 2em;*/
	text-align: center;
	margin: 0 auto;
}
.puti:before,
.puti:after {
	font-family: 'Font Awesome 5 Free';
	line-height: 1;
	/*position: absolute;
	top: calc(50% - .5em);*/
	color: #eebe00;
}
.puti:before {
	left: 0;
	content: '\f101';
}
.puti:after {
	right: 0;
	content: '\f100';
}

/*普通リスト*/
ul.usuallyul {
	list-style: disc;
	margin-left: 35px;
	margin-top: 10px;
	margin-bottom: 20px;
}
ul.usuallyul li {
	/*font-size: clamp(13px, 1.5vw, 16px);*/
	line-height: 1.7;
}
@media screen and (max-width: 568px) {
	ul.usuallyul {
		margin-left: 15px;
	}
}





/*======= 相続・贈与について inheritance ======*/
/*section1*/
.inheritance_sec1{
	padding: 20px 0 0 0;
}
/*section2*/
.inheritance_sec2{
	padding: clamp(40px, 5vw, 80px) 0;
	background-image: url(../img/bg_02.png);
	background-position: top center;
	background-repeat: no-repeat;
	background-size: cover;
}

/* リスト項目　横並び */
ul.sideli{
	display: flex;
	justify-content: start;/*アイテムを先頭に寄せる*/
	align-items: center;
	flex-wrap: wrap;
	gap: 0px 10px;
	box-sizing: border-box;
}
ul.sideli li{
	width: calc((100% - 11px) / 2);
	position:relative;
	padding: 0 2px;
	font-weight: 400;
	font-size: clamp(13px, 1.5vw, 15px);
	line-height: 50px;
	/*border: solid 1px var(--main-color);*/
	border: dashed 1px var(--main-color);
	background: #f0f4ea;
	box-sizing: border-box;
	margin: 5px 0;
	text-align: center;
}

@media only screen and (max-width: 768px) {
	ul.sideli li {
		width: 100%;
	}
	ul.sideli li.spss {
		font-size: 12px;
	}
}

/*section3*/
.inheritance_sec3{
	padding: clamp(40px, 5vw, 80px) 0 30px 0;
}

/*3つ*/
.inheritance_sec3-item-container {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 15px 20px;
}
@media only screen and (max-width: 768px) {
	.inheritance_sec3-item-container {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media only screen and (max-width: 568px) {
	.inheritance_sec3-item-container {
		grid-template-columns: repeat(1, 1fr);
	}
}

.inheritance_sec3-item {
	padding-bottom: 2vw;
	box-sizing: border-box;
	/*background-color: rgba(161, 205, 213, 0.2);
	padding: 15px;*/
}
.inheritance_sec3-item p {
	line-height: 1.4;
	color: #454545;
	font-family: "Montserrat", sans-serif;
	font-size: 14px;
	text-align: justify;
	margin-top: 20px;
}

.inheritance_sec3-item h4.fuki {
	position: relative;
	padding: 15px;
	border: 1px solid var(--main-color);
	border-radius: 5px;
	color: #333;
	font-size: clamp(20px, 1.7vw, 22px);
	line-height: 1.2;
	margin-bottom: 20px;
	text-align: center;
	font-weight: 600;
	font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
}

.inheritance_sec3-item h4.fuki:before {
	position: absolute;
	top: 99%;
	left: 50px;
	transform: skew(-25deg);
	height: 15px;
	width: 15px;
	border-right: 2px solid var(--main-color);
	background-color: white;
	content: "";
}
.inheritance_sec3-item h4.fuki:after {
	content: '';
	background-color: #b7c68d2b;
	border-radius: 5px;
	width: calc(100% + 2px);
	height: calc(100% + 2px);
	position: absolute;
	top: -7px;
	left: 4px;
	z-index: -1;
}

/*section4*/
.inheritance_sec4{
	padding: 30px 0;
}


h4.zxc {
	font-size: clamp(19px, 1.7vw, 23px);
	line-height: 1.5;
	text-align: center;
	margin: 0 auto 20px auto;
	position: relative;
	padding: 1rem 1.2rem;
	border-bottom: 3px solid #ccc;
	border-left: 3px solid #ccc;
	border-radius: 0 10px 0 10px;
	font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
}
@media only screen and (max-width: 768px) {
	h4.zxc {
		padding: 1rem 1rem;
	}
}
h4.zxc::before {
	position: absolute;
	right: 50px;
	bottom: -21px;
	width: 0;
	height: 0;
	content: '';
	border-width: 21px 21px 0 0;
	border-style: solid;
	border-color: #ccc transparent transparent transparent;
}

h4.zxc::after {
	position: absolute;
	right: 54px;
	bottom: -14px;
	width: 0;
	height: 0;
	content: '';
	border-width: 14px 14px 0 0;
	border-style: solid;
	border-color: #fff transparent transparent transparent;
}

/**/
.psbox{
	display: block;
	background: rgba(253, 224, 213, 0.8);
	/*border: 1px solid #ccc;*/
	padding: 5px;
	color: #454545;
	font-weight: 600;
	text-align: center;
	font-size: clamp(14px, 1.4vw, 16px);
	border-radius: 5px;
	margin-bottom: 10px;
}










/*======= ご相談の流れ Flow ======*/
/*section1*/
.flow_sec1{
	padding: 20px 0 var(--v-space) 0;
}
h3.hkagi{
	font-size: clamp(17px, 1.8vw, 20px);
	line-height: 1.3;
	color: #343434;
}
/*カギカッコ見出しの変形*/
.hkagi {
	width: fit-content;
	margin: 0 auto;
	position: relative;
	/*padding: 1em 1.7em;*/
	text-align: center;
	color: #000;
	background-image: url(../img/greeting_h.png);
	background-size: cover;
	background-position: bottom center;
	background-repeat: no-repeat;
}
/*
.hkagi:before,
.hkagi:after {
	position: absolute;
	content: '';
}
.hkagi:after {
	top: 0;
	left: 0;
	width: 40px;
	height: 40px;
	border-top: 2px solid #c3c3c3;
	border-left: 2px solid #c3c3c3;
}
.hkagi:before {
	right: 0;
	bottom: 0;
	width: 40px;
	height: 40px;
	border-right: 2px solid #c3c3c3;
	border-bottom: 2px solid #c3c3c3;
}
*/

/**/
.pbg{
	font-size: clamp(16px, 1.7vw, 18px);
	background: rgba(245, 245, 245, 0.9);
	text-align: center;
	width:230px;
	margin: 10px auto;
	padding: 5px;
	border-radius: 20px;
	font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;

}

/**/
.tellink a {
	font-size: clamp(17px, 1.8vw, 20px);
}



/* よくある質問 FAQ */
.faq_sec1 {
	/*padding: clamp(50px, 4vw, 50px) 0;*/	/*ページ内カテゴリーの場合*/
	padding: var(--v-space) 0;
	/*padding: 0px 0 100px 0;*/	/*別ページの場合*/
	background-color: #f9f7f5;
}
/*通常デザイン*/
div.faq p.b {
	font-weight: 600;
	color: #000;
}
div.faq p.b::first-letter {
	color: var(--accent-color2);
	/*font-size: 110%;*/
	font-weight: 600;
}
div.faq p {
	margin-top: 5px;
	line-height: 1.4;
	text-align: left;
	text-indent: -1em;
	padding-left: 1em;
	display: block;
	color: #555;
}
div.faq p::first-letter {
	color: #eb6100;
	font-weight: 600;
	/*font-size: 110%;*/
}







/*======= 事務所概要 office ======*/
/*案内*/
.office_sec1{
	padding: 20px 0 var(--v-space) 0;
	/*background-image: url(../img/bg_01.jpg);
	background-position: top center;
	background-repeat: no-repeat;
	background-size: cover;*/
}
/**/
.bg_b {
	background: rgba(242, 242, 242, 0.5);
	/*background: rgba(255, 255, 255, 0.5);*/
	padding: 30px;
	/*border: 1px solid #adc6df;*/
}
@media only screen and (max-width: 768px) {
	.bg_b {
		padding: 15px;
	}
}
/* 概要・アクセス部分のテーブル */
.info1 {
	font-weight: 600;
	border-bottom: 1px solid #9db59a;
	padding: 13px 5px;
	width: 10em;
	/*font-family: "Zen Old Mincho", serif;*/
	font-size: 105%;
	color: #3e6439;
}
.info2 {
	border-bottom: 1px solid #9db59a;
	padding: 13px 5px;
	/*width: 400px;*/
	/*font-family: "Zen Old Mincho", serif;*/
	font-size: 105%;
	letter-spacing: 0.5px;
}
.info3 {
	font-weight: bold;
	border-bottom: 1px dashed #999;
	padding: 5px;
	width: 9em;
	color: #000;
	/*font-family: "Zen Old Mincho", serif;*/
}
.info4 {
	border-bottom: 1px dashed #999;
	padding: 5px;
	/*font-family: "Zen Old Mincho", serif;*/
}
@media screen and (max-width: 568px) {
	.info1 {
		display: block;
		padding: 8px 2px 2px 2px;
		width: 100%;
		border-bottom: 1px solid rgba(255,255,255,0);
	}
	.info2 {
		display: block;
		padding: 2px;
		width: 99%;
		font-size: 95%;
	}
	.info3 {
		display: block;
		padding: 8px 2px 8px 2px;
		width: 100%;
		background-color: #0000000f;
	}
	.info4 {
		display: block;
		padding: 8px 2px;
		width: 99%;
	}
}
/*2つ*/
.office_sec1-item {
	box-sizing: border-box;
}
.office_sec1-item-container {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 15px 20px;
}
@media only screen and (max-width: 768px) {
	.office_sec1-item-container {
		grid-template-columns: repeat(1, 1fr);
	}
}

/*枠*/
.photo02{
	padding: 12px;
	border: 1px solid #9db59a;
	box-sizing: border-box;

}

/*アクセス*/
.access_sec1 {
	padding: var(--v-space) 0;
	background-color: #c4d0a22b;
}


















