@charset "UTF-8";


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




/*======= TOP ======*/
/*ご挨拶*/
.greeting {
	padding: clamp(40px, 6vw, 90px) 0 var(--v-space);
	padding-bottom:0;
	background-color: #fff;
	position: relative; /* sectionの位置を相対的にする*/ 
	z-index: 1; /* 背景画像より上に表示 */ 
	overflow: hidden;
}



/*=============== ご挨拶 h3 装飾 ====================*/

.greeting .haba2 h3 {
	position: relative;
	margin: 38px 0 22px;
	padding: 30px 20px 0;

	color: var(--main-color);
	font-family:
	"Yu Mincho",
	"游明朝",
	YuMincho,
	"ヒラギノ明朝 ProN W3",
	"Hiragino Mincho ProN",
	"HG明朝E",
	"ＭＳ Ｐ明朝",
	serif;

	font-size: clamp(20px, 2.2vw, 25px);
	font-weight: 600;
	line-height: 1.7;
	letter-spacing: 0.04em;
	text-align: center;
}


/* 上部の横線 */
.greeting .haba2 h3::before {
	content: "";
	position: absolute;
	top: 5px;
	left: 0;

	width: 100%;
	height: 1px;

	background-color: var(--main-color);
}


/* 中央の四角 */
.greeting .haba2 h3::after {
	content: "";
	position: absolute;
	top: 1px;
	left: 50%;

	width: 9px;
	height: 9px;

	background-color: var(--main-color);

	transform: translateX(-50%);

	/* 横線を中央だけ切る */
	box-shadow:
	-10px 0 0 #fff,
	10px 0 0 #fff;
}


/* スマートフォン */
@media screen and (max-width: 568px) {

	.greeting .haba2 h3 {
		margin: 30px 0 18px;
		padding: 25px 5px 0;

		font-size: 19px;
		line-height: 1.65;
		letter-spacing: 0.02em;
	}

	.greeting .haba2 h3::after {
		width: 7px;
		height: 7px;
		top: 2px;
	}

}


/*TELバナー*/
.tel_bnr{
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-template-rows: 1fr;
	grid-column-gap: 10px;
	grid-row-gap: 10px;
	padding: 30px 0 20px 0;
	position: relative;
	z-index: 2;
}

.tel_bnr img{
	box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
}




@media (max-width: 568px) {
	.tel_bnr{
		grid-template-columns: repeat(1, 1fr);
	}
}


/*======= BNR section ======*/
.bnr_sec1 {
	padding: var(--v-space) 0 var(--v-space);
	position: relative;
	background-color: var(--accent-color4);
	background-size: cover;
	background-position: bottom;
}
.bnr_sec1::before {
	content: "";
	position: absolute;
	top: -5px;
	left: 0;
	width: 100%;
	height: 60px;
	background-color: var(--base-color);
	clip-path: polygon(0 0, 50% 100%, 100% 0); /* ▼ 谷型 */
}


/*======= Service 業務内容 ======*/

.secS {
	padding: var(--v-space2) 0 var(--v-space);
	background-color: #FFF;
	background-image: url(../img/bg_03.jpg);
	background-size:cover;
	background-position: center;

	position: relative; /* sectionの位置を相対的にする*/ 
	z-index: 1; /* 背景画像より上に表示 */ 
}

.secS::before {
    content: "";
    position: absolute;
    inset: 0; /* top:0;right:0;bottom:0;left:0 */
    background-color: rgba(255, 255, 255, 0.6); /* 白を60%透過 */
    z-index: -1; /* 背景の下に置く */
}


/* 見出し */
.secS-title {
	position: relative;
	margin: 0 0 1em;
	padding: 14px 18px 20px;
	color: var(--main-color);
	font-size: clamp(22px, 2.2vw, 26px);
	font-weight: 500;
	line-height: 1.45;
	text-align: center !important;
}

.secS-title:not(:first-of-type) {
	margin-top: 2em;
}



/* カード全体 */
.secS-card {
	display: grid;
	gap: 18px;
}



/* 2列 */
.secS-card2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* PC時：2列カードの本文開始位置を揃える */
@media screen and (min-width: 869px) {

	.secS-card2 h4 {
		min-height: 58px;
		box-sizing: border-box;
	}

}


/* 各カード */
.secS-card > div {
	position: relative;
	display: grid;
	overflow: hidden;
	padding: 0;
	border-radius: 14px;
	box-sizing: border-box;
	background: #fff;
	box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
}


/* PC・タブレット */
/* 画像 → h4 → 本文 */


/* 画像 */
.secS-card-img {
	order: 1;
	display: block;
	width: 100%;
	height: 350px;
	margin: 0;
	border-radius: 0;
	box-sizing: border-box;
	object-fit: cover;
}


/* カード見出し */
.secS-card h4 {
	order: 2;
	position: relative;
	margin: 0;
	padding: 18px 18px 8px;
	color: #222;
	font-size: clamp(18px, 1.6vw, 20px);
	font-weight: 500;
	line-height: 1.45;
	text-align: center !important;
}


/* 本文 */
.secS-card p {
	order: 3;
	margin: 0;
	padding: 12px 18px 20px;
	font-size: 15px;
	line-height: 1.8;
}




/* タブレット */
@media screen and (max-width: 868px) {

	.secS-card2 {
		grid-template-columns: 1fr;
	}

}


/* SP */
/* h4 → 画像 → 本文 */
@media screen and (max-width: 480px) {

	.secS-card h4 {
		order: 1;
		padding: 18px 14px 8px;
	}

	.secS-card-img {
		order: 2;
		width: 100%;
		height: auto;
		aspect-ratio: 16 / 9;
		margin: 0;
		border-radius: 0;
	}

	.secS-card p {
		order: 3;
		padding: 12px 16px 18px;
		font-size: 14px;
	}

}


/* その他の業務：PCは画像1：文章2の横長レイアウト */
.secS-title-wide {
	margin-top: 2em;
}

.secS-card-wide > div {
	grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
	grid-template-rows: auto 1fr;
}

.secS-card-wide .secS-card-img {
	order: initial;
	grid-column: 1;
	grid-row: 1 / 3;
	width: 100%;
	height: 210px;
	min-height: 0;
	object-fit: cover;
}

.secS-card-wide h4 {
	order: initial;
	grid-column: 2;
	grid-row: 1;
	padding: 24px 24px 8px;
}

.secS-card-wide p {
	order: initial;
	grid-column: 2;
	grid-row: 2;
	padding: 12px 24px 24px;
}

/* タブレット以下は既存カードと同じ縦積み */
@media screen and (max-width: 868px) {

	.secS-card-wide > div {
		grid-template-columns: 1fr;
		grid-template-rows: auto auto auto;
	}

	.secS-card-wide .secS-card-img {
		order: 1;
		grid-column: 1;
		grid-row: 1;
		width: 100%;
		height: 350px;
		min-height: 0;
	}

	.secS-card-wide h4 {
		order: 2;
		grid-column: 1;
		grid-row: 2;
		padding: 18px 18px 8px;
	}

	.secS-card-wide p {
		order: 3;
		grid-column: 1;
		grid-row: 3;
		padding: 12px 18px 20px;
	}

}

@media screen and (max-width: 480px) {

	.secS-card-wide > div {
		grid-template-columns: 1fr;
		grid-template-rows: auto auto auto;
	}

	.secS-card-wide h4 {
		order: 1;
		grid-column: 1;
		grid-row: 1;
		padding: 18px 14px 8px;
	}

	.secS-card-wide .secS-card-img {
		order: 2;
		grid-column: 1;
		grid-row: 2;
		width: 100%;
		height: auto;
		min-height: 0;
		aspect-ratio: 16 / 9;
	}

	.secS-card-wide p {
		order: 3;
		grid-column: 1;
		grid-row: 3;
		padding: 12px 16px 18px;
	}

}


/*=======司法書士紹介 secP===========*/

.secP {
	padding: var(--v-space2) 0 var(--v-space);
}


/* 画像＋文章 */

.secP-profile {
	margin-top: clamp(45px, 7vw, 60px);
}


/* 画像 */

.secP-profile-img {
	margin: 0;
	padding: 0;
}

.secP-profile-img img {
	display: block;

	width: 100%;
	max-width: 700px;
	height: auto;

	margin: 0;
}


/* h3 */

.secP-profile-heading {
	margin: 0;

	color: #333;

	font-size: clamp(22px, 2.3vw, 26px);
	font-weight: 600;
	font-style: normal;

	line-height: 1.55;
	letter-spacing: 0.02em;
}



/* 紹介文 */

.secP-profile-lead {
	margin: 1.7em 0 0;

	color: #444;

	font-size: clamp(16px, 1.45vw, 18px);
	line-height: 2.1;
}


/* 氏名 */

.secP-profile-name {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;

	column-gap: 0.8em;
	row-gap: 0.15em;

	margin: 1.35em 0 0;

	color: #222;
	line-height: 1.5;
}


.secP-profile-position {
	font-size: clamp(17px, 1.5vw, 20px);
	font-weight: 600;

	font-family:
		"游明朝",
		YuMincho,
		"ヒラギノ明朝 ProN W3",
		"Hiragino Mincho ProN",
		"HG明朝E",
		"ＭＳ Ｐ明朝",
		"ＭＳ 明朝",
		serif;
}


.secP-profile-person {
	font-size: clamp(25px, 2.3vw, 31px);
	font-weight: 600;

	font-family:
		"游明朝",
		YuMincho,
		"ヒラギノ明朝 ProN W3",
		"Hiragino Mincho ProN",
		"HG明朝E",
		"ＭＳ Ｐ明朝",
		"ＭＳ 明朝",
		serif;
}


.secP-profile-kana {
	font-size: clamp(16px, 1.45vw, 19px);
	font-weight: 600;

	font-family:
		"游明朝",
		YuMincho,
		"ヒラギノ明朝 ProN W3",
		"Hiragino Mincho ProN",
		"HG明朝E",
		"ＭＳ Ｐ明朝",
		"ＭＳ 明朝",
		serif;
}


/* 登録情報 */

.secP-profile-license {
	width: 100%;

	margin-top: 1.25em;
	padding-top: 1.15em;

	border-top: 1px solid #d8d5cf;

	box-sizing: border-box;
}



.secP-profile-license-row {
	display: grid;

	grid-template-columns:
		minmax(0, 1fr)
		8em;

	align-items: center;

	column-gap: 1.5em;

	padding: 0.65em 0;

	color: #333;

	font-size: clamp(15px, 1.35vw, 17px);
	line-height: 1.6;
}



.secP-profile-license-label {
	display: flex;
	flex-wrap: wrap;
	align-items: center;

	gap: 0.2em 1em;

	min-width: 0;
}


.secP-profile-license-no {
	width: 8em;

	text-align: right;
	white-space: nowrap;
}


/* PC */

@media print, screen and (min-width: 968px) {

	.secP-profile-license-label {
		flex-wrap: nowrap;
	}

}
/* タブレット以下 968px以下で縦積み*/

@media screen and (max-width: 968px) {

	.secP-profile.imgtext-container,
	.secP-profile.imgtext-container.reverse {
		flex-direction: column;
	}

	.secP-profile > .text,
	.secP-profile > .img {
		flex: none;
		width: 100%;
		min-width: 0;
	}

	.secP-profile-img img {
		width: 100%;
		max-width: 700px;
		height: auto;
	}


	/* h3 中央寄せ */

	.secP-profile-heading {
		text-align: center;
	}


	/* h3 アンダーライン */

	.secP-profile-heading::after {
		display:none;	
		/*	
		margin-left: auto;
		margin-right: auto;
		*/
	}

}


/* SP・タブレット */

@media screen and (max-width: 768px) {

	/* h3 */

	.secP-profile-heading {
		font-size: 22px;
		line-height: 1.55;
	}


	.secP-profile-heading::after {
		width: 130px;

		margin-top: 0.45em;
	}


	/* PC用強制改行を解除 */

	.secP-pc {
		display: none;
	}


	/* 本文 */

	.secP-profile-lead {
		margin-top: 1.4em;

		font-size: 16px;
		line-height: 1.9;
	}


	/* 名前 */

	.secP-profile-name {
		column-gap: 0.6em;
		row-gap: 0.15em;

		margin-top: 1.3em;
	}


	.secP-profile-position {
		font-size: 16px;
	}


	.secP-profile-person {
		font-size: 24px;
	}


	.secP-profile-kana {
		font-size: 15px;
	}


	/* 登録情報 */

	.secP-profile-license {
		margin-top: 1.15em;
		padding-top: 1em;
	}


	.secP-profile-license-row {
		grid-template-columns:
			minmax(0, 1fr)
			auto;

		column-gap: 1em;

		padding: 0.65em 0;

		font-size: 15px;
	}


	.secP-profile-license-no {
		width: auto;

		text-align: right;
	}

}


/* 狭いSP */

@media screen and (max-width: 480px) {

	.secP-profile-license-row {
		display: block;
	}


	.secP-profile-license-label {
		display: flex;
		flex-wrap: wrap;

		gap: 0.15em 0.7em;
	}


	.secP-profile-license-no {
		width: auto;

		margin-top: 0.15em;

		text-align: left;
	}

}

/*======== secO 事務所名の由来 =================*/

.secO {
	position: relative;
	overflow: hidden;
	min-height: 580px;
	display: flex;
	align-items: center;
	background-color: #344351;
	color: #fff;
}

/* bg_04 */
.secO::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
	linear-gradient(
	rgba(28, 45, 59, 0.72),
	rgba(28, 45, 59, 0.72)
	),
	url("../img/bg_01.jpg") center center / cover no-repeat;
	z-index: 0;
}

/* 全体幅 */
.secO-inner {
	position: relative;
	z-index: 1;
	width: min(1180px, calc(100% - 80px));
	margin: 0 auto;
}

/* 左側本文 */
.secO-content {
	width: 100%;
	max-width: 780px;
	padding: 70px 0 75px;
}


/* 見出し */ 
.secO-title {
	position: relative;
	margin: 0 0 30px;
	padding-left: 20px;

	font-size: clamp(22px, 2.2vw, 28px);
	font-weight: 500;
	line-height: 1.5;
	letter-spacing: 0.06em;
	color: #fff;
}

/* 左のライン */
.secO-title::before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	width: 2px;
	height: 34px;
	background-color: #fff;
	transform: translateY(-50%);
}



/* 司法書士事務所 栞 */

.secO-name {
	display: flex;
	align-items: center;
	gap: 22px;
	margin: 0;
	line-height: 1;
}

.secO-name-sub {
	display: block;
	font-family:
	"游明朝",
	YuMincho,
	"ヒラギノ明朝 ProN W3",
	"Hiragino Mincho ProN",
	"HG明朝E",
	"ＭＳ Ｐ明朝",
	serif;

	font-size: clamp(24px, 3vw, 38px);
	font-weight: 600;
	letter-spacing: 0.03em;
	white-space: nowrap;
}

.secO-name-main {
	display: block;
	font-family:
	"游明朝",
	YuMincho,
	"ヒラギノ明朝 ProN W3",
	"Hiragino Mincho ProN",
	"HG明朝E",
	"ＭＳ Ｐ明朝",
	serif;

	font-size: clamp(68px, 8vw, 105px);
	font-weight: 400;
	line-height: 0.9;
}



/* 本文 */

.secO-text {
	max-width: 760px;
	margin: 0;

	font-size: 15px;
	line-height: 2;
	letter-spacing: 0.035em;
	color: #fff;
	margin-top:2em;
}


/* SP*/

@media only screen and (max-width: 867px) {

	.secO {
		min-height: auto;
	}

	.secO-inner {
		width: calc(100% - 40px);
	}

	.secO-content {
		max-width: none;
		padding: 55px 0 60px;
	}

	.secO-title {
		margin-bottom: 28px;
		padding-left: 16px;
		font-size: 21px;
	}

	.secO-title::before {
		height: 28px;
	}

	.secO-name {
		gap: 14px;
	}

	.secO-name-sub {
		font-size: clamp(20px, 6vw, 28px);
	}

	.secO-name-main {
		font-size: clamp(60px, 18vw, 82px);
	}

	.secO-line {
		width: 60px;
		margin: 24px 0 22px;
	}

	.secO-text {
		font-size: 14px;
		line-height: 1.9;
		letter-spacing: 0.02em;
	}

}


/*========================================
小さいスマホ
========================================*/

@media only screen and (max-width: 480px) {

	.secO-inner {
		width: calc(100% - 32px);
	}

	.secO-content {
		padding: 48px 0 52px;
	}

	.secO-name {
		gap: 10px;
	}

	.secO-name-sub {
		font-size: 20px;
	}

	.secO-name-main {
		font-size: 62px;
	}

}



/*======= FLOW ======*/

.secF {
	padding: var(--v-space2) 0 var(--v-space);
	background-color: #fff;
}




/*======= 会社案内ページ ======*/
/*会社案内*/
.info_sec1{
	padding: var(--v-space2) 0 var(--v-space);
	background-color: #FFF;
	background-image: url(../img/bg_02.jpg);
	background-size:cover;
	background-position: center;

	position: relative; /* sectionの位置を相対的にする*/ 
	z-index: 1; /* 背景画像より上に表示 */ 
}


/* 概要・アクセス部分のテーブル */
.info1 {
	font-weight: bold;
	border-bottom: 1px dashed var(--accent-color1);
	padding: 5px;
	width: 5.25em;
	line-height: 1.5;
	letter-spacing: 0.06em;
}
.info2 {
	border-bottom: 1px dashed var(--accent-color1);
	padding: 5px;
	width: 400px;
	line-height: 1.5;
	letter-spacing: 0.06em;
}
@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.9);
	padding:40px;
	border-radius: 20px;
}
@media screen and (max-width: 568px) {
	.bg_b {
		padding: 20px;
	}
}


/*======= ACCESS アクセス ======*/

.access_sec1{
	padding: var(--v-space2) 0 var(--v-space);
	background-color: #FFF;

	position: relative; /* sectionの位置を相対的にする*/ 
	z-index: 1; /* 背景画像より上に表示 */ 
}

/* アクセス部分のテーブル */
.access1 {
	font-weight: bold;
	border-bottom: 1px dashed var(--accent-color1);
	padding: 5px;
	width: 5.25em;
}
.access2 {
	border-bottom: 1px dashed var(--accent-color1);
	padding: 5px;
	width: 400px;
	line-height: 1.5;
	letter-spacing: 0.06em;
}

@media screen and (max-width: 568px) {
	.access1 {
		display: block;
		padding: 8px 2px 2px 2px;
		width: 100%;
		border-bottom: 1px solid rgba(255,255,255,0);
	}
	.access2 {
		display: block;
		padding: 2px;
		width: 99%;
	}
}



/*======= FAQ ======*/
.faq_sec1 {
	padding: var(--v-space2) 0 var(--v-space);
	background-color: #fafcfa;

	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(--main-color);
}

.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;
}



/*======= 調整 ======*/
.l-c {
	margin-right: auto;
	margin-left: auto;
}


/*その他*/
strong{
	font-weight:normal;
}






/*全体*/
h2{
	font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
	font-weight:600;
}
h3{
	font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
	font-weight:600;
}
.greeting .heading06 {
	font-family:
	"Yu Mincho",
	"游明朝",
	YuMincho,
	"ヒラギノ明朝 ProN W3",
	"Hiragino Mincho ProN",
	"HG明朝E",
	"ＭＳ Ｐ明朝",
	serif;
	font-weight: 600;
}

