@charset "UTF-8";


/*=======================================================*/
/*      		セクション毎のCSS   			  		  */
/*======================================================*/


/*======= 共通 ======*/

/* 親要素からはみ出して画面いっぱいに */
.full {
	margin: 0 calc(50% - 50vw);
	width: 100vw;
}



/*======= TOP ======*/
/*ご挨拶*/
.greeting {
	padding: clamp(40px, 6vw, 90px) 0 var(--v-space);
	background-color: var(--base-color);
	position: relative; /* sectionの位置を相対的にする*/
	z-index: 1; /* 背景画像より上に表示 */
}

.greeting-spot {
	color: var(--accent-color1);
	font-size: 1.2em;
}



/*======= コンテンツ ======*/


/*======= 当事務所の特徴 ======*/
.secF{
	padding: var(--v-space) 0;
	background-color: #FFF;
	background-image: url(../img/bg_03.png);
	background-size:cover;
	background-position: bottom;
	position: relative; /* sectionの位置を相対的にする*/ 
	z-index: 1; /* 背景画像より上に表示 */ 
}
h2.titleN{
	font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
	font-size: clamp(25px, 5vw, 35px);
	text-align:center;
}

h2.titleN::after {
	display: block;
	content: '';
	width: 160px;
	height: 0px;
	margin-top: 0.6em;
	margin-bottom: 0.2rem;
	border-bottom: 4px double var(--accent-color3);
	font-weight: bold;
	font-size: 26px;
	margin:0 auto;
	color:#444;
}
.titleN + p {
	font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
	font-size:15px;
	text-align:center;
	font-style: italic;
	margin-top:10px;
}

/*カード*/
.secF-card__item{
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap:10px;
}
@media only screen and (max-width: 968px) {
	.secF-card__item{
		display: grid;
		grid-template-columns: repeat(2, 1fr);
	}
}
@media only screen and (max-width: 568px) {
	.secF-card__item{
		display: grid;
		grid-template-columns: repeat(1, 1fr);
	}
}
.secF-card__item div{
	/*子要素のそれぞれのdivの高さを揃える記述*/
	display: grid;
	grid-template-rows: subgrid;
	grid-row: span 3;
	/*ここまで*/

	padding: 10px;
	border-radius: 10px;
	box-sizing: border-box;
	box-shadow: 0 13px 13px 0 rgba(0, 0, 0, .06);
}


.secF-card__item h4 {
	position: relative;
	padding: 10px;
	font-size: clamp(14px, 1.2vw + 10px, 18px);
	font-weight: normal;
	line-height: 1.3;
	text-align: center;
	background-color: var(--accent-color1);
	color: white;
	margin: 0;
	overflow: hidden; /* 擬似要素のはみ出し防止 */
	margin-bottom:-20px;
}

/* 左上の三角形 */
.secF-card__item h4::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 0;
	height: 0;
	border-top: 20px solid var(--main-color);       /* 三角形の高さ */
	border-right: 27px solid transparent; /* 三角形の横幅 */
}



/*======= Service 業務案内 ======*/
.secS {
	padding: var(--v-space) 0;
	background-color: #FFF;
}


/*======= 無料相談 ======*/
.secC{
	padding: var(--v-space) 0;
	position: relative;
	z-index: 1;
	background-color: #f7f7f7;
	background-image: repeating-linear-gradient(0deg, #e6e6e6 0, #e6e6e6 1px, transparent 1px, transparent 15px), repeating-linear-gradient(90deg, #e6e6e6 0, #e6e6e6 1px, transparent 1px, transparent 15px);
	background-size: 15px 15px;
}

.diagonal p {
	color: #666;
	font-size: 25px !important;
	text-align:center;
	font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
}


@media screen and (max-width: 568px) { 
	.diagonal p {
		color: #666;
		font-size: 20px !important;
		text-align:center;
		font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
	}
}

/*======= Flow ご対応の流れ ======*/
/*section2*/
.sec2 {
	padding: var(--v-space) 0;
	background-color: #FFF;
	background-image: url(../img/bg_03.png);
	background-size:cover;
	background-position: bottom;
	position: relative; /* sectionの位置を相対的にする*/ 
	z-index: 1; /* 背景画像より上に表示 */ 
}

/*カード*/
.sec2-card__item{
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap:10px;
}
@media only screen and (max-width: 968px) {
	.sec2-card__item{
		display: grid;
		grid-template-columns: repeat(2, 1fr);
	}
}
@media only screen and (max-width: 568px) {
	.sec2-card__item{
		display: grid;
		grid-template-columns: repeat(1, 1fr);
	}
}
.sec2-card__item div{
	/*子要素のそれぞれのdivの高さを揃える記述*/
	display: grid;
	grid-template-rows: subgrid;
	grid-row: span 3;
	/*ここまで*/

	padding: 10px;
	background-color: var(--base-color);
	border-radius: 10px;
	box-sizing: border-box;
	border: solid 1px var(--main-color);
}
.sec2-card__item H4{
	padding: 5px 0;
	font-size: clamp(16px,1.5vw,20px);
	font-weight: bold;
	line-height: 1.3;
	text-align: center;
	border-bottom: 2px dotted var(--main-color);
}
.sec2-card__item p{
	display: inline-block;
	font-size: 15px;
	line-height: 1.5;
}


.flex-child06 img {
	/* ここにスタイル */
	box-shadow: 6px 6px 1px #888 ;
}


/*======= FAQ ======*/
.faq_sec1 {
	padding: var(--v-space) 0;
	background-color: #EAF5EC;

	position: relative;
	/* sectionの位置を相対的にする*/
	z-index: 1;
	/* 背景画像より上に表示 */
}

.faq-item {
	display: grid;
	grid-template-columns: 1.5em 1fr;
	column-gap: 10px;
	row-gap: 5px;
}

.faq-label {
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-weight: bold;
	font-size: 110%;
	line-height: 1.5;
	border-radius: 3px;
	width: 1.5em;
	text-align: center;
	align-self: start;
	/* lavelを上揃えに */
}

.faq-label.q {
	background-color: var(--accent-color2);
}

.faq-label.a {
	background-color: var(--accent-color1);
}

.faq-question,
.faq-answer {
	margin: 0;
	line-height: 1.6;
	text-align: justify;
}

.faq-question {
	font-weight: bold;
}

hr.faqHr {
	height: 0px;
	border: 1px dashed var(--accent-color2);
	margin: 20px auto;
}

.contentsbgA{
	margin-bottom:30px;
	padding:20px;
	box-shadow: 0 13px 13px 0 rgba(0, 0, 0, .01);
}

/*======= 会社案内ページ ======*/
/*会社案内*/
.info_sec1{
	padding: var(--v-space) 0;
	background-color: #FFF;
	background-image: url(../img/bg_04.png);
	background-size:cover;
	background-position: bottom;

	position: relative; /* sectionの位置を相対的にする*/ 
	z-index: 1; /* 背景画像より上に表示 */ 

	background-color: rgba(0, 0, 0, 0.5) !important;
	background-blend-mode: overlay;
}
/* 概要・アクセス部分のテーブル */
.info1 {
	font-weight: bold;
	border-bottom: 1px dashed var(--main-color);
	padding: 5px;
	width: 5.25em;
}
.info2 {
	border-bottom: 1px dashed var(--main-color);
	padding: 5px;
	width: 400px;
}

.info1a,.info2a{
	border-bottom: 1px dashed var(--accent-color2);
}

@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%;
	}
}

.info-sec1-container {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 5px 5px;
}

@media (min-width: 568px) {
	.info-sec1-container {
		grid-template-columns: repeat(6, 1fr);
	}
}

/*会社概要*/
.bg_b{
	background: rgba(1, 39, 61, 0.8);
	padding:40px;
}
@media screen and (max-width: 568px) {
	.bg_b {
		padding: 20px;
	}
}

.access_sec1{
	padding: var(--v-space) 0;
	background-color: #FFF;

	position: relative; /* sectionの位置を相対的にする*/ 
	z-index: 1; /* 背景画像より上に表示 */ 
}





/*======= 調整 ======*/
.l-c {
	margin-right: auto;
	margin-left: auto;
}


/*その他*/
strong{
	font-weight:normal;
}



/*全体の大画像*/
.imgtext-container > figure.img {
	box-shadow: 6px 6px 1px #eee ;
}

