@charset "utf-8";

/* -------------------------------------------------- */
/* PC*/
/* -------------------------------------------------- */
/* 行政書士・司法書士ってどんな仕事？
------------------------------------ */
#about {
	padding-top: 80px;
	position: relative;
}

.aboutBg {
	position: absolute;
}

#aboutBg01 {
	bottom: -200px;
	left: 0;
	z-index: 2;
}

#about .inner {
	position: relative;
	z-index: 2;
}

#aboutWrap {
	display: flex;
	align-items: center;
	gap: 20px 50px;
}

#aboutContent {
	width: 45%;
	flex-shrink: 0;
}

#aboutText {
	margin-bottom: 30px;
	line-height: 1.78;
}

#aboutImg {
	margin-top: -90px;
	margin-right: calc(50% - 50vw);
	padding-right: 40px;
	flex-grow: 1;
}

/* はなだオフィスの強み
------------------------------------ */
#strengths {
	padding-top: 320px;
	position: relative;
	background-image: url(../../img/common/section_deco_top-wave.png), linear-gradient(to bottom, #ffffff, #ffffff 500px, #faf7fa 500px, #faf7fa);
	background-repeat: no-repeat;
	background-position: center top, center center;
}

@media screen and (min-width: 1750px) {
	#strengths {
		background-size: 100%;
	}
}

.strengthsBg {
	position: absolute;
}

#strengthsBg01 {
	top: 30%;
	right: 0;
}

#strengthsBg02 {
	bottom: 5%;
	left: 0;
}

#strengths .inner {
	position: relative;
	z-index: 1;
}

#strengthsList {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 60px;
	counter-reset: number 0;
}

.strengthsListItem {
	padding: 30px 20px;
	display: grid;
	grid-template-rows: subgrid;
	grid-row: span 4;
	grid-row-gap: 0;
	align-items: center;
	background-color: #ffffff;
	border: 1px solid #dfd2de;
	border-radius: 25px;
}

.strengthsListItem::before {
	counter-increment: number 1;
	content: counter(number, decimal-leading-zero);
	width: 54px;
	height: 54px;
	margin-inline: auto;
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 1.8rem;
	font-weight: 400;
	font-family: "Oswald", sans-serif;
	letter-spacing: 0.075em;
	color: #fff;
	background-color: #ab61a7;
	border-radius: 50%;
}

.strengthsListTitle {
	padding-block: 15px;
	font-size: 2.8rem;
	font-weight: 700;
	font-family: "Zen Maru Gothic", serif;
	text-align: center;
}

.strengthsListTitle .textColor {
	color: #ab61a7;
}

.strengthsListTitle .textMd {
	font-size: 3rem;
	letter-spacing: -0.05em;
}

.strengthsListTitle .textLg {
	font-size: 3.6rem;
}

.strengthsListImg {
	padding-bottom: 25px;
	display: flex;
	justify-content: center;
	align-items: center;
}

.strengthsListText {
	padding-inline: 10px;
	font-size: 1.6rem;
	line-height: 1.75;
}

/* 業務の流れ
------------------------------------ */
#flow {
	padding-top: 120px;
	padding-bottom: 50px;
	position: relative;
	background-color: #faf7fa;
}

.flowBg {
	position: absolute;
}

#flowBg01 {
	top: 50%;
	right: 0;
	z-index: 1;
}

#flow .inner {
	position: relative;
	z-index: 1;
}

#flowList {
	display: flex;
	flex-direction: column;
	gap: 50px;
	counter-reset: number 0;
}

.flowListItem {
	padding: 30px 30px 30px 40px;
	position: relative;
	display: flex;
	align-items: center;
	gap: 20px 30px;
	background-color: #ffffff;
	border: 2px solid #dedcdb;
	border-radius: 25px;
}

.flowListItem:not(:last-child)::after {
	content: "";
	width: 60px;
	height: 28px;
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translateX(-50%);
	background: url(../../img/beginner/flow_deco_arrow.svg) no-repeat center top / contain;
}

.flowListContent {
	flex-grow: 1;
}

.flowListTitle {
	margin-bottom: 15px;
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 3rem;
	font-weight: 700;
	font-family: "Zen Maru Gothic", serif;
	line-height: 1.3;
}

.flowListTitle::before {
	counter-increment: number 1;
	content: counter(number, decimal-leading-zero);
	flex-shrink: 0;
	font-size: 4rem;
	font-weight: 700;
	font-family: "Oswald", sans-serif;
	letter-spacing: 0.075em;
	color: #ab61a7;
}

.flowListLabel {
	padding: 0.4em 0.9em;
	flex-shrink: 0;
	font-size: 1.6rem;
	font-weight: 500;
	color: #ffffff;
	background-color: #d33d02;
	border-radius: 20px;
}

.flowListText {
	font-size: 1.6rem;
	line-height: 1.625;
}

.flowListImg {
	width: 30%;
	flex-shrink: 0;
	border-radius: 15px;
	overflow: hidden;
}

.flowListImg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	font-family: 'object-fit: cover;';
}

/* ------------------------------------ */
/* ホバーエフェクト */
/* ------------------------------------ */
@media screen and (min-width: 1025px) {

}

/* -------------------------------------------------- */
/* TAB&SP */
/* -------------------------------------------------- */
@media screen and (max-width: 1024px) {
	/* 行政書士・司法書士ってどんな仕事？
	------------------------------------ */
	#aboutBg01 {
		width: 34.146vw;
	}

	#aboutWrap {
		flex-direction: column;
	}

	#aboutContent {
		width: 100%;
	}

	#aboutImg {
		margin-top: -120px;
		margin-right: 0;
		padding-right: 0;
		order: -1;
	}

	#aboutLink {
		text-align: center;
	}

	/* はなだオフィスの強み
	------------------------------------ */
	#strengths {
		padding-top: 200px;
		background-image: url(../../img/common/section_deco_top-wave.png), linear-gradient(to bottom, #ffffff, #ffffff 200px, #faf7fa 200px, #faf7fa);
		background-position: center top -80px, center center;
	}
}


/* -------------------------------------------------- */
/* TAB(調整) */
/* -------------------------------------------------- */
@media screen and (min-width: 768px) and (max-width: 1024px) {

	/* はなだオフィスの強み
	------------------------------------ */
	#strengthsList {
		gap: 25px;
	}

	.strengthsListTitle {
		font-size: 2.5rem;
	}

	.strengthsListTitle .textLg {
		font-size: 3.2rem;
	}

	.strengthsListTitle .textMd {
		font-size: 2.6rem;
	}

	/* 業務の流れ
	------------------------------------ */
	.flowListItem {
		padding: 30px;
	}

	.flowListTitle {
		font-size: 2.5rem;
	}

	.flowListTitle::before {
		font-size: 3.5rem;
	}

	.flowListLabel {
		font-size: 1.4rem;
	}
}

/* -------------------------------------------------- */
/* SP(調整) */
/* -------------------------------------------------- */
@media screen and (max-width: 767px) {
	/* 行政書士・司法書士ってどんな仕事？
	------------------------------------ */
	#about {
		padding-top: 40px;
		padding-bottom: 50px;
	}

	#aboutBg01 {
		bottom: -100px;
	}

	#aboutImg {
		margin-top: -16vw;
	}

	#aboutText {
		text-align: justify;
	}

	/* はなだオフィスの強み
	------------------------------------ */
	#strengths {
		padding-top: 100px;
		background-size: 100%;
		background-position: center top 0px, center center;
		background-image: url(../../img/common/section_deco_top-wave.png), linear-gradient(to bottom, #ffffff, #ffffff 13.333vw, #faf7fa 13.333vw, #faf7fa);
	}

	#strengthsBg01 {
		width: 26.732vw;
	}

	#strengthsBg02 {
		width: 26.927vw;
	}

	#strengthsList {
		grid-template-columns: auto;
		gap: 25px;
	}

	.strengthsListItem::before {
		width: 45px;
		height: 45px;
		font-size: 1.6rem;
	}

	.strengthsListTitle {
		font-size: 2.2rem;
	}

	.strengthsListTitle .textLg {
		font-size: 2.8rem;
	}

	.strengthsListTitle .textMd {
		font-size: 2.4rem;
	}

	.strengthsListText {
		padding-inline: 0;
		text-align: justify;
	}

	/* 業務の流れ
	------------------------------------ */
	#flow {
		padding-top: 80px;
		padding-bottom: 0;
	}

	#flowBg01 {
		width: 26.829vw;
	}

	.flowListItem {
		padding: 30px 20px;
		flex-direction: column;
	}

	.flowListTitle {
		font-size: 2.2rem;
	}

	.flowListTitle::before {
		font-size: 2.8rem;
	}

	.flowListLabel {
		font-size: 1.2rem;
	}

	.flowListText {
		text-align: justify;
	}

	.flowListImg {
		width: 100%;
	}
}