@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;
}



/*======= コンテンツ ======*/



/*======= Service 取扱業務 ======*/
b.sv{
	display:block;
	margin-top:30px !important;
	margin-bottom:0px !important;
}

.secS {
	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; /* 背景画像より上に表示 */ 

	background-color: rgba(255, 255, 255, 0.5) !important;
	background-blend-mode: overlay;
}


/*カード*/
.secS-card__item{
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap:10px;
}
@media only screen and (max-width: 968px) {
	.secS-card__item{
		display: grid;
		grid-template-columns: repeat(2, 1fr);
	}
}
@media only screen and (max-width: 568px) {
	.secS-card__item{
		display: grid;
		grid-template-columns: repeat(1, 1fr);
	}
}
.secS-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;
	box-shadow: 0 13px 13px 0 rgba(0, 0, 0, .09);
}


.secS-card__item h4{

	padding: 5px 0;
	font-size: clamp(16px,1.5vw,20px);
	font-weight: bold;
	line-height: 1.3;
	text-align: center;
	position: relative;
	margin: 0 0 0px;
	font-weight: 400;
	color:#000;
	/* 見た目の調整用：分岐位置を変えたいときはこの値だけ変える */
	--split: 50%;     /* 左のグレーの長さ（%） */
	--bar-h: 5px;    /* 太バーの高さ */
	--gap: 8px;       /* 文字とバーの間隔 */

	padding-bottom: 20px;  /* ← h4内の上余白を追加 */
}


/* 太い下バー（左グレー→右黒の切替） */
.secS-card__item h4::after{
	content:"";
	position:absolute;
	left:0; right:0;
	bottom: var(--gap);
	height: var(--bar-h);
	background:
	linear-gradient(to right,
	var(--accent-color1) 0 var(--split),
	var(--accent-color4)    var(--split) 100%);
}



.secS-card__item p{
	display: inline-block;
	font-size: 15px;
	line-height: 1.5;
}




/*======= Professional 公認会計士・税理士紹介 ======*/

.secP{
	padding: var(--v-space) 0;
	background-color: #FFF;
}

span.small{
	font-size:16px;
}

h4.title2{
	display:inline-block;
	padding:5px;
	margin-bottom:10px;
	font-weight:500 !important;
	color:#666;
	width:30%;
}

@media screen and (max-width: 568px) { 
	h4.title2{
		width:50%;
		font-size:1.1em !important;
	}
}


/*カード*/
.secP-card__item{
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap:10px;

}
@media only screen and (max-width: 968px) {
.secP-card__item{
display: grid;
grid-template-columns: repeat(1, 1fr);
}
}
@media only screen and (max-width: 568px) {
	.secP-card__item{
		display: grid;
		grid-template-columns: repeat(1, 1fr);
	}
}
.secP-card__item div{
	/*子要素のそれぞれのdivの高さを揃える記述*/
	display: grid;
	grid-template-rows: subgrid;
	grid-row: span 4;
	/*ここまで*/

	box-sizing: border-box; /* paddingを幅に含める */
	padding: 80px;


	box-shadow: 0 13px 13px 0 rgba(0, 0, 0, .07);
}

/* iPad縦向き（Portrait）のみ */
@media screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait) {
	.secP-card__item div{
		padding: 20px;
	}
}
@media screen and (max-width: 568px) { 
	.secP-card__item div{
		padding: 40px;
	}
}

.secP-card__item H4{
	padding: 5px 0;
	font-size: clamp(16px,1.5vw,18px);
	font-weight: bold;
	line-height: 1.3;
	border-bottom: 2px dotted var(--main-color);
	margin-bottom:0px;
}
.secP-card__item p{
	display: inline-block;
	font-size: 15px;
	line-height: 1.5;
}

.iwaku{
	margin:0 auto;
	padding:0 !important;
	box-shadow:none !important;
}


/*======= FLOW ======*/

.secF {
	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(255, 255, 255, 0.5) !important;
	background-blend-mode: overlay;
}

span.sqc{
	display:inline-block;
	color:var(--accent-color1);
	margin-top:20px;
	margin-bottom:20px;
}

@media screen and (max-width: 568px) { 
	span.sqc1{
		display:inline-block;
		margin-bottom:0px;
	}

	span.sqc2{
		display:inline-block;
		margin-bottom:20px;
	}

}

/*======= FAQ ======*/
.faq_sec1 {
	padding: var(--v-space) 0;
	background-color: #FFF;

	position: relative; /* sectionの位置を相対的にする*/ 
	z-index: 1; /* 背景画像より上に表示 */ 
}
div.faq2 p.b {
	font-weight: bold;
	color: #444;
}
div.faq2 p.b::first-letter {
	color: var(--accent-color4);
	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-color1);
	font-size: 130%;
	font-weight: bold;
}
hr.faqHr{
	height: 0px;
	border: 1px dashed var(--accent-color2);
	margin: 20px auto;
}


/*======= 会社案内ページ ======*/
/*会社案内*/
.info_sec1{
	padding: var(--v-space) 0;
	background-color: #FFF;
	background-image: url(../img/bg_07.png);
	background-size:cover;
	background-position: bottom;

	position: relative; /* sectionの位置を相対的にする*/ 
	z-index: 1; /* 背景画像より上に表示 */ 

	background-color: rgba(255, 255, 255, 0.8) !important;
	background-blend-mode: overlay;

}
/* 概要・アクセス部分のテーブル */
.info1 {
	font-weight: bold;
	border-bottom: 1px dashed var(--accent-color2);
	padding: 5px;
	width: 5.25em;
}
.info2 {
	border-bottom: 1px dashed var(--accent-color2);
	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%;
	}
}

.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(50, 108, 145, 0.8);
	padding:40px;
	box-shadow: 0 13px 13px 0 rgba(0, 0, 0, .4);
}
@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;
}


/*全体共通*/
.waku{
	background-color:var(--main-color);
	color:white;
	padding:10px;
	margin-bottom:20px;
	border:5px double white;
	text-align:center;

	background: linear-gradient(75deg, #326C91, #4EA2C6);
}

@media only screen and (max-width: 568px) {
	.waku{
		text-align:initial;
	}
}

/*大画像のみ影*/
.imgtext-container > figure.img {
	box-shadow: 6px 6px 1px #eee ;
}



