@charset "UTF-8";


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


/*======= TOP ======*/
/*ご挨拶*/
.greeting {
	padding: clamp(40px, 6vw, 90px) 0;
	background-color: var(--base-color);
	position: relative;
	z-index: 1;
}

.g-container {
	display: grid;
	grid-template-columns: repeat(1, 1fr);
	gap: 30px;
}

@media (min-width: 568px) {
	.g-container {
		grid-template-columns: repeat(2, 1fr);
	}
}



/*======= 相続のお悩み ======*/

/*section1*/
.sec1 {
	padding: var(--v-space2) 0;
	background-color: #c2e3e7;
	background-image: url(../img/bg_01.svg);
	background-repeat: no-repeat;
	background-position: top;
	position: relative;
	z-index: 1;
}


.sec1__title {
    font-size: clamp(30px,5vw,40px);
    font-weight: 700;
    text-align: center;
    font-family: 'Kiwi Maru';
}  
.sec1__title span {
    font-size: clamp(40px,5vw,60px);
}


ul.sec1__list{
    margin-top: 10px;
    font-size: clamp(18px,5vw,25px);
    line-height: 1.7;
    list-style-type: none;
    column-count: 1;		/*リスト横並び数を指定*/
}
.sec1__list li+li {
    margin-top: 5px;
}
.sec1__list li {
    position: relative;
    padding-left: 35px;
    border-bottom: 1px solid var(--main-color);
}
.sec1__list li:before {
    content: "";
    position: absolute;
    width: clamp(2px,3vw,14px);
    height: clamp(17px,5vw,25px);
    top: 0em;
    left: 6px;
    -webkit-transform: rotate(50deg);
    -ms-transform: rotate(50deg);
    transform: rotate(50deg);
    border-right: 3px solid var(--accent-color2);
    border-bottom: 3px solid var(--accent-color2);
}
.sec1__list li:after {
    content: "";
    position: absolute;
    top: .2em;
    left: 0;
    width: clamp(18px,5vw,25px);
    height: clamp(18px,5vw,25px);
    border: 1px solid var(--main-color);
    border-radius: 2px;
}

.sec1-pcspwid{
	position: relative;
    width: 250px;
	top:-250px;
	margin-bottom:-250px;
    margin-left: auto;
}

@media (max-width: 830px) {
	.sec1-pcspwid{
		width: 150px;
		top:-150px;
		margin-bottom:-150px;
	}
}

@media (max-width: 568px) {
	.sec1-pcspwid{
		position: static;		
		margin-top: 20px;
		width: 50%;
		margin: 0 auto;
	}
}

/*section2*/
.sec2::before {
    content: "";
    width: 100%;
    height: 80px;
    background-color: #c2e3e7;
    position: absolute;
    top: -1px;
    clip-path: polygon(50% 100%, 100% 0%, 0% 0%);
	z-index: 1;
}
.sec2 {
    padding: var(--v-space2) 0;
    background-color: #FFF;

    padding-top: 100px;
    padding-bottom: 88px;
    position: relative;
	z-index: 1;
}

.sec2__catch01 {
    font-size: clamp(18px,5vw,25px);
    text-align: center;
    width: 160px;
    margin-inline: auto;
    border: 1.5px solid var(--main-color);
    font-weight: 700;    
    font-family: 'Kiwi Maru';
  }

.sec2__title {
    font-weight: 700;
    text-align: center;
    margin-top: 20px;
    position: relative;  
    font-size: clamp(23px,5vw,40px);
    font-family: 'Kiwi Maru';    
	background-image: url(../img/sec2__title.svg);
    background-size: contain;
    background-position: center bottom;
	background-repeat: no-repeat;
}
.sec2__title span {
    font-size: clamp(25px,5vw,50px);
    color:var(--main-color);
	font-family: 'ヒラギノ丸ゴ Pro W4', 'ヒラギノ丸ゴ Pro', 'Hiragino Maru Gothic Pro', 'HG丸ｺﾞｼｯｸM-PRO', 'HGMaruGothicMPRO', sans-serif;
}
@media (max-width: 568px) {
	.sec2__title {
		margin-top: 0px;
	}
}

/* 流れ */
.sec2__steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px 40px;
}
.sec2__steps > li:not(:last-child)::after {
    position: absolute;
    top: 50%;
    right: -20px;
    display: block;
    width: 15px;
    height: 50px;
    content: "";
    background-image: url(../img/arrow.svg);
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
    transform: translate(50%, -50%);
}
.sec2__steps > li:not(:last-child) {
    position: relative;
}
.sec2__steps h3{
	margin-top: -30px;
    position: relative;
	font-size: 18px;
	min-height: 0vw;
	text-align: center;
	background: var(--main-color);/*背景色*/
	color: #fff;
	border-radius: 20px;
  	padding: 0.5em;/*文字まわり（上下左右）の余白*/
	font-family: 'ヒラギノ丸ゴ Pro W4', 'ヒラギノ丸ゴ Pro', 'Hiragino Maru Gothic Pro', 'HG丸ｺﾞｼｯｸM-PRO', 'HGMaruGothicMPRO', sans-serif;
}
.sec2__card {
    display: grid;
    min-height: 100px;
    padding: 10px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
@media (max-width: 568px) {
	.sec2__steps {
		grid-template-columns: repeat(1, 1fr);
		gap: 40px 0px;
	}
	.sec2__steps > li:not(:last-child)::after {
		position: static;		
		margin: 0 auto;
		margin-bottom: -100px;
		transform: rotate(90deg);/* 回転 */
	}
}

.sec3{
	padding: var(--v-space) 0;
    background-color: #FFF;
    background-image: url(../img/bg_02.jpg);
    background-repeat: no-repeat;
	position: relative;
	z-index: 1;
}

.sec4{
	padding: var(--v-space) 0;
    background-color: #FFF;
	position: relative;
	z-index: 1;
}

/* 画像とテキスト */
.sec4-imgtext {
	padding:clamp(20px, 7vw, 30px) 0;
	background-color: rgba(255, 255, 255, 0.7);
}

.sec4-imgtext + .re_sec1-imgtext {
	padding-top: 0;
}

.sec4-imgtext-container {
	display: flex;
	flex-direction: column;
	/*gap: clamp(45px, 6vw, 80px);*/	/* テンプレ初期値 */
	gap: clamp(25px, 6vw, 35px);
}


@media (min-width: 768px) {
	.sec4-imgtext-container {
		flex-direction: row;
		align-items: top;
	}

	.sec4-imgtext-container.reverse {
		flex-direction: row-reverse;
	}

	.sec4-imgtext-container > .sec4-text {
		flex: 1;
		min-width: 17em;
  	}

	.sec4-imgtext-container > .sec4-img {
		/*flex: 2;*/	/* テンプレ初期値 */
		flex: 0.4;
	}
}

.sec5{
	padding: var(--v-space) 0;
    background-color: #c2e3e7;
	position: relative;
	z-index: 1;
}

/* 画像とテキスト */
.sec5-imgtext {
	padding:clamp(45px, 7vw, 60px) 0 0;
}

.sec5-imgtext + .sec5-imgtext {
	padding-top: 0;
}

.sec5-imgtext-container {
	display: flex;
	flex-direction: column;
	/*gap: clamp(45px, 6vw, 80px);*/	/* テンプレ初期値 */
	gap: clamp(25px, 6vw, 35px);
}


@media (min-width: 568px) {
	.sec5-imgtext-container {
		flex-direction: row;
		align-items: center;
	}

	.sec5-imgtext-container.reverse {
		flex-direction: row-reverse;
	}

	.sec5-imgtext-container > .sec5-text {
		flex: 0.8;
		min-width: 17em;
  	}

	.sec5-imgtext-container > .sec5-img {
		/*flex: 2;*/	/* テンプレ初期値 */
		flex: 0.5;
	}
}

/*======= FAQ ======*/
.faq_sec1 {
	padding: var(--v-space) 0;
	background-color: #FFF;
	position: relative;
	z-index: 1;
}
div.faq2 p.b {
	font-weight: bold;
	color: #444;
}
div.faq2 p.b::first-letter {
	color: var(--main-color);
	font-size: 130%;
}
div.faq2 p {
	margin-top: 5px;
	line-height: 1.4;
	text-align: left;
	text-indent: -1.4em;
	padding-left: 1.4em;
	display: block;
}
div.faq2 p::first-letter {
	color: var(--accent-color2);
	font-size: 130%;
	font-weight: bold;
}
hr.faqHr{
	height: 0px;
	border: 1px dashed var(--accent-color1);
	margin: 20px auto;
}



/*======= 会社案内ページ ======*/
/*会社案内*/
.info_sec1{
	padding: var(--v-space) 0;
	background-color: #FFF;
	background-image: url(../img/bg_03.jpg);
	background-size: cover;
	background-position: center;
	position: relative;
	z-index: 1;
}
/* 概要・アクセス部分のテーブル */
.info1 {
	font-weight: bold;
	border-bottom: 1px dashed #999;
	padding: 5px;
	width: 5.25em;
}
.info2 {
	border-bottom: 1px dashed #999;
	padding: 5px;
	width: 400px;
}
@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%;
	}
}

/*会社概要*/
.bg_b{
	background: rgba(255, 255, 255, 0.85);
	padding:40px;
}
@media screen and (max-width: 568px) {
	.bg_b {
		background: rgba(255, 255, 255, 0.85);
		padding: 20px;
	}
}

.access_sec1{
	padding: var(--v-space) 0;
	background-color: #FFF;
	position: relative;
	z-index: 1;
}

/*お問い合わせ*/
.sec_contact{
	padding: var(--v-space) 0;
	background: rgba(0, 0, 0, 0.5);
}

.sec_contact__frame{
	position: relative;
	line-height: 1.3;
	background: rgba(255, 255, 255, 0.9);
	padding: 30px 10px 30px 10px;
	display: inline-block;
	text-align: center;
	font-weight: 400;
	border: 5px solid var(--main-color);
	border-radius: 15px;
	position: relative;
	top: -10px;
	left: -10px;
	width: 100%;
	box-sizing: border-box;
	max-width: 768px;
  	left: 50%;
    transform: translate(-50%);
}


@media (max-width: 768px) {
	.sec_contact__frame {
		width: 97%;
	}
}

.sec_contact__tel{
	font-size: clamp(28px, 5vw, 40px);
	font-weight: 600;
	color: var(--main-color);
}