@charset "UTF-8";

:root {
	--color-body: #000000;
	--color-black: #272727;
	--color-theme-1: #005D94;
	--color-theme-2: #FAAF3B;
	--font-family: "Noto Sans JP", sans-serif;
	--noto-serif: "Noto Serif JP", serif;
	--shippori: "Shippori Mincho", serif;
	--eb-garamond: "EB Garamond", serif;

	--padding: 15px;
}
html {
	scroll-behavior: smooth;
}
body {
	color: var(--color-body);
	font-family: var(--font-family);
}

@media(max-width: 991px) {
	body.noscroll {
		overflow: hidden;
		touch-action: pinch-zoom;
	}
}

button:hover,
a:hover {
	opacity: .6;
}
@media(min-width: 992px) {
	a[href^="tel:"] {
		pointer-events: none;
	}
}
img {
	max-width: 100%;
	height: auto;
}

::after,
::before,
* {
	--fs: 16;
	--font-size: calc((var(--fs)/16) * 1rem);
	font-size: var(--font-size);
}

[id] {
	scroll-margin-top: 100px;
}

@media(max-width: 991px) {
	[id] {
		scroll-margin-top: 40px;
	}
}

@media(max-width: 575px) {
	[id] {
		scroll-margin-top: 20px;
	}	
}

.container {
	--container: 1165px;
	padding-right: var(--padding);
	padding-left: var(--padding);
	max-width: calc(var(--container) + var(--padding) + var(--padding));
}

/*		header		*/
.header {
	background: #FFF;
	border-bottom: 4px solid var(--color-theme-2);
	box-shadow: 0 3px 20px rgba(0,0,0,.16);
	min-height: 160px;
	position: fixed;
	top: 0;
	right: 0;
	left: 0;
	padding: 20px var(--padding) 5px;
	z-index: 999;
}

.header-inner {
	display: grid;
	grid-template-columns: 1fr auto;
	grid-template-rows: auto auto;
	gap: 20px 30px;
	align-items: center;
	max-width: 1255px;
	width: 100%;
	margin-inline: auto;
}

.header-contact {
	display: grid;
	grid-template-columns: auto auto;
	gap: 30px;
}

.header-contact-tel {
	display: grid;
	gap: 5px;
}

.header-contact-tel a {
	display: flex;
	align-items: center;
	gap: 10px;
	max-inline-size: max-content;
	--fs: 34;
	font-family: var(--shippori);
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	color: var(--color-theme-1);
}

.header-contact-tel a::before {
	content: "";
	display: flex;
	justify-content: center;
	align-items: center;
	width: 26px;
	height: 25px;
	background: url(img/icon-tel.svg) no-repeat center / 12px, var(--color-theme-1);
}

.header-contact-tel span {
	--fs: 12;
	font-weight: 400;
	margin-left: -0.5em;
}

.contact-link {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 215px;
	min-height: 60px;
	--fs: 15;
	font-family: var(--shippori);
	font-weight: 600;
	color: var(--color-body);
	text-decoration: none;
	background: url(img/button-bg.png) center / cover;
	border-radius: 50px;
}

.header-menu {
	grid-column: 1 / -1;
}

.header-menu-list {
	max-width: 1070px;
	list-style: none;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 5px;
	padding-left: 0;
	margin-bottom: 0;
	margin-inline: auto;
}

.header-menu-link {
	display: inline-block;
	--fs: 15;
	font-family: var(--noto-serif);
	letter-spacing: 0.1em;
	text-decoration: none;
	color: var(--color-body);
	padding: 10px;
}

.sp-tel {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 45px;
	height: 45px;
	background: var(--color-theme-1);
}

.sp-tel img {
	width: 19px;
}

.sp-contact {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 45px;
	height: 45px;
	background: url(img/button-bg.png) center / cover;
}

.sp-contact img {
	width: 20;
}

.global-nav-button {
	position: relative;
	width: 50px;
	height: 60px;
	background: transparent;
	border: none;
	outline: none;
	padding: 0;
}

.global-nav-button span {
	width: 35px;
	height: 2px;
	background: #000;
	position: absolute;
	top: 50%;
	left: 50%;
	transition: .3s;
}

.global-nav-button span:nth-child(1) {
	transform: translate(-50%,calc(-50% - 13px));	
}

.global-nav-button span:nth-child(2) {
	transform: translate(-50%,-50%);
}

.global-nav-button span:nth-child(3) {
	transform: translate(-50%,calc(-50% + 13px));	
}

body.noscroll .global-nav-button span:nth-child(1) {
	transform: translate(-50%,-50%) rotate(45deg);
}

body.noscroll .global-nav-button span:nth-child(2) {
	opacity: 0;
	visibility: hidden;
}

body.noscroll .global-nav-button span:nth-child(3) {
	transform: translate(-50%,-50%) rotate(-45deg);
}

@media(max-width: 1199px) {
	.header-menu-link {
		--fs: 14;
		padding: 10px 5px;
	}
}

@media(max-width: 991px) {
	.header {
		min-height: 100px;
		padding: 15px var(--padding);
	}
	.header-inner {
		grid-template-columns: 1fr auto auto auto;
		grid-template-rows: auto;
		gap: 15px;
	}
	.header-menu {
		position: fixed;
		top: 100px;
		right: 0;
		bottom: 0;
		left: 0;
		background: #FFF;
		opacity: 0;
		visibility: hidden;
		overflow-y: scroll;
		transition: 0.5s;
	}
	body.noscroll .header-menu {
		opacity: 1;
		visibility: visible;
	}
	.header-menu {
		padding: 100px var(--padding) 50px;
	}
	.header-menu-list {
		max-width: 400px;
		flex-direction: column;
		gap: 0;
	}
	.header-menu-item {
		width: 100%;
		border-bottom: 2px solid var(--color-theme-1);
	}
	.header-menu-link {
		display: block;
		--fs: 16;
		padding: 15px 10px;
	}
}

@media(max-width: 767px) {
	.header {
		min-height: 80px;
	}
	.header-inner {
		gap: 10px;
	}
	.header-logo img {
		width: 190px;
	}
	.sp-tel {
		width: 34px;
		height: 34px;
	}
	.sp-tel img {
		width: 16px;
	}
	.sp-contact {
		width: 34px;
		height: 34px;
	}
	.sp-contact img {
		width: 20px;
	}
	.global-nav-button {
		width: 40px;
		height: 40px;
	}
	.global-nav-button span {
		width: 26px;
	}
	.global-nav-button span:nth-child(1) {
		transform: translate(-50%,calc(-50% - 10px));	
	}	
	.global-nav-button span:nth-child(3) {
		transform: translate(-50%,calc(-50% + 10px));	
	}
	.header-menu {
		top: 80px;
	}
}

@media(max-width: 575px) {
	.header {
		min-height: 70px;
		padding: 10px var(--padding);
	}
	.header-logo img {
		width: 140px;
	}
	.header-menu {
		top: 70px;
		padding-top: 50px;
	}
	.header-menu-item {
		border-bottom: 1px solid var(--color-theme-1);
	}
	.header-menu-link {
		--fs: 15;
	}
}

/*		main		*/
main {
	margin-top: 160px;
}

@media(max-width: 991px) {
	main {
		margin-top: 100px;
	}
}

@media(max-width: 767px) {
	main {
		margin-top: 80px;
	}
}

@media(max-width: 575px) {
	main {
		margin-top: 70px;
	}
}

.section-title {
	display: grid;
	place-items: center;
	gap: 15px;
	--fs: 28;
	font-size: var(--font-size);
	font-family: var(--noto-serif);
	letter-spacing: 0.1em;
	color: var(--color-theme-1);
	max-inline-size: max-content;
	margin-inline: auto;
	margin-bottom: 60px;
}

.section-title::before {
	content: "";
	width: 21px;
	aspect-ratio: 1 / 1;
	background: url(img/icon-kyoei.svg) center / cover;
}

.consultation-link {
	position: relative;
	display: grid;
	place-content: center;
	place-items: center;
	max-width: 475px;
	width: 100%;
	min-height: 150px;
	--fs: 23;
	font-family: var(--noto-serif);
	font-weight: 600;
	color: var(--color-body);
	text-decoration: none;
	background: url(img/button-bg.png) center / cover;
	border-radius: 100px;
	box-shadow: 5px 5px 6px rgba(0,0,0,.2);
	padding: 10px 60px;
}

.consultation-link::before {
	content: "";
	width: 7px;
	aspect-ratio: 7 / 17;
	background: url(./img/arrow.svg) center / cover;
	position: absolute;
	top: 50%;
	right: 40px;
	transform: translateY(-50%);
}

.consultation-link span {
	--fs: 38;
	font-family: var(--shippori);
	color: var(--color-theme-1);
}

@media(max-width: 767px) {
	.section-title {
		--fs: 23;
		letter-spacing: 0.1em;
		line-height: calc(32 / 23);
		margin-bottom: 40px;
	}
	.consultation-link {
		--fs: 16;
		max-width: 340px;
		min-height: 110px;
	}
	.consultation-link::before {
		width: 5px;
		right: 30px;
	}
	.consultation-link span {
		--fs: 26;
	}
}


.fv {
	max-width: 1440px;
	margin-inline: auto;
}

.fv-content {
	position: relative;
	display: grid;
	z-index: 5;
}

.fv-text {
	display: flex;
	flex-direction: column;
	justify-content: center;
	grid-column: 1 / 2;
	grid-row: 1 / 2;
	padding: 70px 0 110px;
}

.fv-text h2 {
	--fs: 76;
	font-size: var(--font-size);
	font-family: var(--noto-serif);
	font-weight: 600;
	color: var(--color-theme-1);
	line-height: calc(115 / 76);
	margin-bottom: 30px;
}

.fv-text h2 span {
	position: relative;
	--fs: 76;	
}

.fv-text h2 span::before {
	content: "";
	width: 12px;
	aspect-ratio: 1 / 1;
	background: var(--color-theme-2);
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	border-radius: 50%;
}

.fv-text p {
	--fs: 39;
	font-weight: 600;
	font-family: var(--noto-serif);
	margin-bottom: 50px;
}

.fv-image {
	position: relative;
	margin-left: auto;
	grid-column: 1 / 2;
	grid-row: 1 / 2;
	margin-left: 30%;
	margin-right: calc((100vw - 100%) / -2);
	z-index: -1;
}

.fv-image > * {
	width: 100%;
	min-height: 550px;
	max-height: 700px;
	object-fit: cover;
}

.fv .consultation-link {
	position: absolute;
	bottom: 0;
	transform: translateY(25%);
}

.fv .scroll {
	display: flex;
	align-items: center;
	gap: 10px;
	--fs: 12;
	font-weight: 500;
	font-family: var(--noto-serif);
	writing-mode: vertical-rl;
	position: absolute;
	bottom: 0;
	left: -90px;
	transform: translateY(40%);
}

.fv .scroll::after {
	content: "";
	display: inline-block;
	width: 1px;
	height: 80px;
	background: #000000;
}

@media(max-width: 1349px) {
	.fv .scroll {
		display: none;
	}
}

@media(max-width: 1199px) {
	.fv-text h2 {
		--fs: 70;
	}
	.fv-text h2 span {
		--fs: 70;
	}
	.fv-text p {
		--fs: 30
	}
	.fv-image img {
		object-position: left;
	}
}

@media(max-width: 991px) {
	.fv-text {
		display: block;
		padding: 50px 15px;
	}
	.fv-text h2 {
		--fs: 65;
	}
	.fv-text h2 span {
		--fs: 65;
	}
	.fv-text p {
		margin-bottom: 0;
	}
	.fv-image {
		text-align: right;
		background: #f5f7fb;
		margin-left: calc(var(--padding) * -1);
		margin-right: calc(var(--padding) * -1);
	}
	.fv-image img {
		min-height: auto;
		max-height: 800px;
		max-width: 700px;
	}
	.fv .consultation-link {
		left: 50%;
		transform: translate(-50%,40%);
	}
}

@media(max-width: 575px) {
	.fv {
		overflow-x: clip;
	}
	.fv-text {
		padding-top: 35px;
	}
	.fv-text h2 {
		--fs: 40;
		margin-bottom: 10px;
	}
	.fv-text h2 span {
		--fs: 40;
	}
	.fv-text h2 span::before {
		width: 6px;
	}
	.fv-text p {
		--fs: 25;
	}
	.fv-image img {
		margin-right: -20px;
	}
}

.worry {
	position: relative;
	padding-top: 110px;
	margin-top: -55px;
	overflow-x: clip;
}

.worry::before {
	content: "";
	width: 145vw;
	height: 950px;
	background: #EDEDED;
	clip-path: polygon(50% 100%, 0 0, 100% 0);
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	z-index: -1;
}

.worry-content {
	display: grid;
	grid-template-columns: repeat(3,1fr);
	gap: 35px;
	margin-bottom: 100px;
}

.worry-item p {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	max-width: 90%;
	width: 100%;
	min-height: 90px;
	--fs: 18;
	font-weight: 500;
	text-align: center;
	letter-spacing: 0.1em;
	line-height: calc(27 / 18);
	color: var(--color-theme-1);
	background: #FFF;
	border: 1px solid var(--color-theme-1);
	margin-inline: auto;
	margin-top: -60px;
	margin-bottom: 0;
	z-index: 1;
}

.worry h3 {
	--fs: 55;
	font-size: var(--font-size);
	font-family: var(--noto-serif);
	font-weight: 600;
	text-align: center;
	letter-spacing: 0.1em;
	line-height: calc(85 / 55);
	color: var(--color-theme-1);
	margin-bottom: 150px;
}

.worry-about {
	display: grid;
	align-items: center;
	position: relative;
	margin-bottom: 50px;
}

.worry-about::before {
	content: "";
	width: calc(35% + (100vw - 100%) / 2);
	height: 340px;
	background: linear-gradient(135deg,#FFFFFF 0%, #FCCD86 75%, var(--color-theme-2) 100%);
	position: absolute;
	right: calc((100vw - 100%) / -2);
	bottom: 0;
	transform: translateY(45%);
	z-index: -1;
}

.worry-about-text {
	grid-column: 1 / 2;
	grid-row: 1 / 2;
}

.worry-about-text h4 {
	--fs: 47;
	font-size: var(--font-size);
	font-weight: 500;
	font-family: var(--noto-serif);
	line-height: 1.8;
	margin-bottom: 50px;
}

.worry-about-text h4 span {
	display: inline-block;
	--fs: 62;
	font-size: var(--font-size);
	font-weight: 600;
	line-height: 1;
	color: var(--color-theme-1);
	background: #FFF;
	padding: 8px 40px;
	margin-bottom: 0;
}

.worry-about-text h4 span:nth-of-type(1) {
	margin-left: 10px;
	margin-bottom: 20px;
}

.worry-about-text h4 span:nth-of-type(2) {
	margin-left: calc(1em + 10px);
}

.worry-about-text h4 span span {
	display: contents;
}

.worry-about-text p {
	--fs: 35;
	display: inline-block;
	font-weight: 500;
	letter-spacing: 0.1em;
	background: linear-gradient(to left,#FFE9C7,var(--color-theme-2));
	clip-path: polygon(0 0, 100% 0%, calc(100% - 130px) 100%, 0% 100%);
	padding: 0 100px 10px calc((100vw - 1165px) / 2 + 150px);
	margin-bottom: 0;
	margin-left: calc((100vw - 1165px) / -2);
	margin-bottom: 10px;
}

.worry-about-text p span {
	--fs: 64;
	font-size: var(--font-size);
	font-family: var(--noto-serif);
	line-height: 1;
	color: var(--color-theme-1);
	vertical-align: bottom;
	padding: 0 10px;
}

.worry-about-image {
	position: relative;
	max-width: 75%;
	grid-column: 1 / 2;
	grid-row: 1 / 2;
	margin-left: auto;
	z-index: -1;
}

@media(max-width: 1199px) {
	.worry-about-text h4 {
		--fs: 40;
		margin-bottom: 30px;
	}
	.worry-about-text h4 span {
		--fs: 50;
	}
	.worry-about-text p {
		--fs: 30;
	}
	.worry-about-text p span {
		--fs: 55;
		padding: 0 5px;
	}
}

@media(max-width: 1194px) {
	.worry-about-text p {
		padding: 0 100px 10px calc(15px + 150px);
		margin-left: -15px;
	}
}

@media(max-width: 991px) {
	.worry {
		margin-top: 0;
	}
	.worry::before {
		width: 200vw;
		height: 875px;
	}
	.worry-content {
		gap: 15px;
		margin-bottom: 70px;
	}
	.worry-item p {
		--fs: 16;
		letter-spacing: 0;
		min-height: 80px;
		margin-top: -50px;
	}
	.worry h3 {
		--fs: 45;
	}
	.worry-about-text h4 {
		--fs: 30;
		margin-bottom: 20px;
	}
	.worry-about-text h4 span {
		--fs: 34;
	}
	.worry-about-text h4 span:nth-of-type(1) {
		margin-bottom: 10px;
	}
	.worry-about-text p {
		--fs: 25;
		clip-path: polygon(0 0, 100% 0%, calc(100% - 70px) 100%, 0% 100%);
		padding: 0 50px 5px calc(15px + 125px);
	}
	.worry-about-text p span {
		--fs: 45;
		padding: 0 5px;
	}
}

@media(max-width: 767px) {
	.worry {
		padding-top: 80px;
	}
	.worry::before {
		width: 100vw;
		height: calc(100% - 600px - 70px - 57px);
		clip-path: polygon(100% 0, 100% calc(100% - 180px), 50% 100%, 0 calc(100% - 180px), 0 0);
	}
	.worry-content {
		max-width: 600px;
		grid-template-columns: 1fr;
		gap: 50px;
		margin-inline: auto;
		margin-bottom: 50px;
	}
	.worry-item p {
		letter-spacing: 0.1em;
	}
	.worry h3 {
		--fs: 34;
		margin-bottom: 115px;
	}
	.worry-about {
		display: block;
		margin-bottom: 0;
	}
	.worry-about::before {
		width: 100vw;
		height: calc(300px + 275px);
		top: -275px;
		right: calc(var(--padding) * -1);
		left: calc(var(--padding) * -1);
		transform: none;
		z-index: -5;
	}
	.worry-about-text h4 {
		text-align: center;
	}
	.worry-about-text h4 span {
		padding: 5px 10px;
	}
	.worry-about-text h4 span:nth-of-type(1) {
		margin-bottom: 0;
		margin-left: 0;
	}
	.worry-about-text h4 span:nth-of-type(2) {
		margin-left: 0;
	}
	.worry-about-text p {
		display: block;
		--fs: 28;
		text-align: center;
		clip-path: none;
		padding: 5px 0 10px;
		margin-right: calc(var(--padding) * -1);
		margin-bottom: 0;
		margin-left: calc(var(--padding) * -1);
	}
	.worry-about-text p span {
		--fs: 51;
		padding: 0 10px;
	}
	.worry-about-image {
		max-width: 100vw;
		margin: -30px calc(var(--padding) * -1) 0;
	}
	.worry-about-image img {
		width: 100%;
		height: 380px;
		object-fit: cover;
		object-position: 70%;
	}
	.worry .consultation-link {
		margin-top: -40px;
	}
}

@media(max-width: 575px) {
	.worry::before {
		height: calc(100% - 650px - 70px - 57px);
	}
	.worry-about-text h4 span:has(span) {
		display: contents;
	}
	.worry-about-text h4 span span {
		display: inline-block;
	}
}

.choice {
	padding-top: 120px;
	margin-bottom: 200px;
}

.choice .section-title {
	margin-bottom: 100px;
}

.choice-content {
	display: grid;
	grid-template-columns: repeat(3,1fr);
	gap: 35px;
	max-inline-size: max-content;
	margin-inline: auto;
}

@media(max-width: 991px) {
	.choice .section-title {
		margin-bottom: 70px;
	}
	.choice-content {
		gap: 20px;
	}
}

@media(max-width: 767px) {
	.choice {
		padding-top: 80px;
		margin-bottom: 90px;
	}
	.choice .section-title {
		margin-bottom: 55px;
	}
	.choice-content {
		max-width: 300px;
		grid-template-columns: 1fr;
		gap: 70px;
	}
}

.flow {
	background: #FCF9F2;
	padding-top: 100px;
	padding-bottom: 150px;
}

.flow-content {
	display: grid;
	gap: 35px;
	max-width: 660px;
	margin-inline: auto;
	margin-bottom: 100px;
}

.flow-item {
	position: relative;
	display: grid;
	grid-template-columns: 170px 95px 1fr;
	align-items: center;
	gap: 0 35px;
	min-height: 185px;
	background: #FFF;
	padding: 20px 15px;
}

.flow-item:not(:last-child):before {
	content: "";
	width: 32px;
	aspect-ratio: 1/cos(50deg);
	clip-path: polygon(50% 100%,100% 0,0 0);
	background: linear-gradient(45deg,#FFF);
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translate(-50%,100%);
}

.flow-item-step {
	position: relative;
	display: grid;
	--fs: 23;
	font-weight: 600;
	line-height: 1;
	color: var(--color-theme-1);
	text-align: center;
}

.flow-item-step::before {
	content: "";
	width: 1px;
	height: 90px;
	background: #BCBCBC;
	position: absolute;
	top: 50%;
	right: 0;
	transform: translateY(-50%);
}

.flow-item-step span {
	--fs: 70;
	font-family: var(--eb-garamond);
	font-weight: 500;
	font-style: italic;
	color: var(--color-theme-2);
}

.flow-item-image {
	text-align: center;
}

.flow-item-content {
	display: grid;
	max-width: 260px;
}

.flow-item-content h3 {
	--fs: 20;
	font-size: var(--font-size);
	font-family: var(--noto-serif);
	font-weight: 600;
	color: var(--color-theme-1);
}

.flow-item-content p {
	--fs: 15;
	margin-bottom: 0;
}

.flow .lead {
	--fs: 18;
	font-size: var(--font-size);
	line-height: calc(27 / 18);
	margin-bottom: 100px;
}

@media(max-width: 991px) {

}

@media(max-width: 767px) {
	.flow {
		padding-top: 80px;
		padding-bottom: 80px;
	}
	.flow-content {
		max-width: 550px;
		margin-bottom: 50px;
	}
	.flow-item {
		grid-template-columns: 120px 60px 1fr;
		gap: 0 25px;
	}
	.flow .lead {
		--fs: 16;
		font-weight: 400;
		margin-bottom: 60px;
	}
}

@media(max-width: 575px) {
	.flow-content {
		gap: 25px;
	}
	.flow-item {
		min-height: 0;
		grid-template-columns: 50px 1fr;
		grid-template-rows: auto auto;
		place-content: center;
		gap: 10px 20px;
		padding: 25px 20px;
	}
	.flow-item:not(:last-child):before {
		aspect-ratio: 1/cos(55deg);
	}
	.flow-item-step {
		--fs: 15;
	}
	.flow-item-step::before {
		content: none;
	}
	.flow-item-step span {
		--fs: 47;
	}
	.flow-item-image {
		grid-column: 1 / 2;
	}
	.flow-item:nth-child(1) .flow-item-image img {
		width: 27px;
	}
	.flow-item:nth-child(2) .flow-item-image img {
		width: 33px;
	}
	.flow-item:nth-child(3) .flow-item-image img {
		width: 38px;
	}
	.flow-item-content {
		max-width: 100%;
		position: relative;
		grid-column: 2 / 3;
		grid-row: 1 / -1;
		padding-left: 25px;
	}
	.flow-item-content::before {
		content: "";
		width: 1px;
		min-height: 120px;
		height: 100%;
		background: #BCBCBC;
		position: absolute;
		top: 50%;
		left: 0;
		transform: translateY(-50%);
	}
	.flow-item-content h3 {
		--fs: 18;
	}
}

.factoring {
	position: relative;
	background: linear-gradient(to bottom, var(--color-theme-1) 0%,#005C93 20%,#002F4A 90%);
	padding-top: 140px;
	padding-bottom: 160px;
	overflow-x: clip;
	z-index: -2;
}

.factoring::before {
	content: "";
	width: 113px;
	aspect-ratio: 113 / 1325;
	background: url(img/text-kyoei.png) center / cover;
	mix-blend-mode: difference;
	position: absolute;
	top: 50%;
	right: -1px;
	transform: translateY(-50%);
}

.factoring::after {
	content: "";
	width: 748px;
	aspect-ratio: 748 / 775;
	background: url(img/bg-logo.png) center / cover;
	position: absolute;
	top: 0;
	left: 0;
	z-index: -1;
}

.factoring .section-title {
	color: var(--color-theme-2);
}

.factoring p {
	--fs: 18;
	line-height: calc(27 / 18);
	font-weight: 300;
	color: #FFF;
	max-width: 765px;
	margin-inline: auto;
	margin-bottom: 125px;
}

.factoring-content {
	position: relative;
	display: grid;
	grid-template-columns: repeat(2,1fr);
	gap: 35px;
}

.factoring-item {
	text-align: center;
	background: #FFF;
	padding: 0 20px 75px;
}

.factoring-item h3 {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 5px;
	--fs: 25;
	font-size: var(--font-size);
	font-family: var(--noto-serif);
	font-weight: 600;
	letter-spacing: 0;
	color: var(--color-theme-1);
	max-width: 345px;
	width: 100%;
	min-height: 63px;
	background: #FFF;
	border-right: 10px solid var(--color-theme-1);
	border-left: 10px solid var(--color-theme-2);
	box-shadow: 0 3px 6px rgba(0,0,0,0.16);
	margin-top: -30px;
	margin-inline: auto;
	margin-bottom: 45px;
}

.factoring-item h3 span {
	--fs: 60;
	font-family: var(--eb-garamond);
	font-size: var(--font-size);
	color: var(--color-theme-2);
	font-weight: 500;
}

@media(max-width: 991px) {
	.factoring::before {
		width: 95px;
	}
	.factoring::after {
		width: 500px;
	}
	.factoring-content {
		gap: 20px;
	}
}

@media(max-width: 767px) {
	.factoring {
		padding-top: 80px;
		padding-bottom: 80px;
	}
	.factoring::before {
		width: 100vw;
		aspect-ratio: 375 / 32;
		background: url(img/text-kyoei_sp.svg) center / cover;
		top: auto;
		bottom: 0;
		left: 50%;
		transform: translateX(-50%);
	}
	.factoring::after {
		width: 75%;
	}
	.factoring-content {
		max-width: 600px;
		grid-template-columns: 1fr;
		gap: 60px;
		margin-inline: auto;
	}
	.factoring p {
		--fs: 16;
		line-height: calc(27 / 16);
		margin-bottom: 80px;
	}
	.factoring-item {
		padding: 0 20px 50px;
	}
	.factoring-item h3 {
		--fs: 14;
		max-width: 208px;
		min-height: 50px;
		border-right: 6px solid var(--color-theme-1);
		border-left: 6px solid var(--color-theme-2);
		margin-top: -20px;
		margin-bottom: 25px;
	}
	.factoring-item h3 span {
		--fs: 33;
	}
}

.voice {
	background: #EDEDED;
	padding-top: 100px;
	padding-bottom: 195px;
}

.voice-content {
	display: grid;
	grid-template-columns: repeat(3,1fr);
	gap: 35px;
}

.voice-item {
	background: #FFF;
	padding: 40px 30px 90px;
}

.voice-item-header {
	text-align: center;
}

.voice-item h3 {
	--fs: 20;
	font-size: var(--font-size);
	font-weight: 500;
	font-family: var(--noto-serif);
	text-align: center;
	color: var(--color-theme-1);
	letter-spacing: 0.1em;
	position: relative;
	padding-bottom: 10px;
	margin-bottom: 30px;
}

.voice-item h3::before {
	content: "";
	width: 25px;
	height: 3px;
	background: var(--color-theme-2);
	position: absolute;
	left: 50%;
	bottom: 0;
	transform: translateX(-50%);
}

.voice-item-header p {
	--fs: 18;
	font-weight: 350;
	line-height: calc(28 / 18);
}

.voice-item-body p {
	--fs: 15;
	font-weight: 350;
	line-height: calc(25 / 15);
	color: var(--color-black);
	margin-bottom: 0;
}

@media(max-width: 1199px) {
	.voice-content {
		gap: 15px;
	}
}

@media(max-width: 991px) {
	.voice-content {
		max-width: 600px;
		grid-template-columns: 1fr;
		margin-inline: auto;
	}
	.voice-item {
		padding: 40px 30px;
	}
}

@media(max-width: 767px) {
	.voice {
		padding-top: 80px;
		padding-bottom: 100px;
	}
	.voice-item {
		padding: 40px 20px 60px;
	}
}

.faq {
	padding-top: 120px;
	padding-bottom: 200px;
}

.faq-content {
	max-width: 920px;
	margin-inline: auto;
	margin-bottom: 180px;
}

.faq-content .faq-details {
	border-bottom: 1px dashed #707070;
	list-style: none;
}

.faq-question {
	list-style: none;
	--fs: 18;
	font-weight: 350;
	line-height: calc(30 / 18);
	position: relative;
	padding: 50px 50px 50px 80px;
}

.faq-question::before {
	content: "Q.";
	--fs: 35;
	font-family: var(--shippori);
	font-weight: 600;
	color: var(--color-theme-1);
	position: absolute;
	top: 35px;
    left: 25px;
}

.faq-details .faq-question::after {
	content: "";
	width: 38px;
	aspect-ratio: 1;
	background: url(img/faq-open.svg) no-repeat center / 12px,var(--color-theme-2);
	border-radius: 50%;
	position: absolute;
	top: 45px;
	right: 0;
	transition: 0.2s;
}

.faq-details[open] .faq-question::after {
	background: url(img/faq-close.svg) no-repeat center / 12px,#9B9B9B;
}

.faq-question::marker {
	content: "";
}

summary::-webkit-details-marker {
  display:none;
}

.faq-question::-webkit-details-marker {
	display: none;
}

.faq-answer-inner {
	position: relative;
	padding: 20px 50px 70px 80px;
}

.faq-answer-inner::before {
	content: "A.";
	--fs: 35;
	font-family: var(--shippori);
	font-weight: 600;
	color: var(--color-theme-2);
	position: absolute;
	top: 10px;
    left: 25px;
}

.faq-answer-inner p {
	--fs: 18;
	font-weight: 350;
	line-height: calc(30 / 18);
}

@media(max-width: 767px) {
	.faq {
		padding-top: 80px;
		padding-bottom: 60px;
	}
	.faq-content {
		margin-bottom: 60px;
	}
	.faq-question {
		--fs: 16;
		padding: 40px;
	}
	.faq-question::before {
		--fs: 28;
		top: 28px;
		left: 2px;
	}
	.faq-details .faq-question::after {
		width: 30px;
		top: 38px;
	}
	.faq-answer-inner {
		padding: 0 40px 40px;
	}
	.faq-answer-inner::before {
		--fs: 28;
		top: -10px;
		left: 2px;
	}
	.faq-answer-inner p {
		--fs: 16;
	}
}

/*		footer		*/
.footer {
	position: relative;
	background: linear-gradient(225deg,var(--color-theme-1) 0%,#005C93 20%,#002F4A 95%);
	background: url(img/footer-bg.png) center / 100% 100%;
	border-bottom: 9px solid var(--color-theme-2);
	padding: 80px var(--padding) 140px;
}

.footer-inner {
	display: flex;
	justify-content: space-between;
	gap: 30px;
	max-width: 1180px;
	margin-inline: auto;
}

.footer-logo {
	margin-bottom: 20px;
}

.footer-left p {
	--fs: 15;
	font-family: var(--noto-serif);
	color: #FFF;
	line-height: 1;
	margin-bottom: 0;
}

.footer-right a {
	display: flex;
	align-items: baseline;
	gap: 10px;
	--fs: 49;
	font-family: var(--shippori);
	font-weight: 600;
	text-decoration: none;
	color: var(--color-theme-2);
	max-inline-size: max-content;
	margin-bottom: 5px;
}

.footer-right a::before {
	content: "";
	display: inline-block;
	width: 40px;
	aspect-ratio: 1 / 1;
	background: url(img/icon-tel.svg) no-repeat center / 19px,var(--color-theme-2);
}

.footer-right p {
	--fs: 13;
	color: #FFF;
	font-weight: 400;
	margin-left: -0.5em;
}

.page-top {
	display: grid;
	place-content: center;
	place-items: center;
	gap: 5px;
	--fs: 12;
	font-weight: 350;
	color: #FFF;
	text-decoration: none;
	width: 66px;
	height: 66px;
	background: var(--color-theme-2);
	position: absolute;
	right: 0;
	bottom: -9px;
}

.page-top:hover {
	opacity: 1;
}

@media(max-width: 767px) {
	.footer {
		background: linear-gradient(200deg,var(--color-theme-1) 0%,#005C93 20%,#002F4A 95%);
		padding: 50px var(--padding) 80px;
	}
	.footer-inner {
		flex-direction: column;
		align-items: center;
		gap: 50px;
	}
	.footer-logo {
		margin-bottom: 25px;
	}
	.footer-logo img {
		width: 250px;
	}
	.footer-left p {
		--fs: 13;
	}
	.footer-right a {
		--fs: 37;
		margin-bottom: 0;
	}
	.footer-right a::before {
		width: 30px;
		background-size: 15px;
	}
	.page-top {
		width: 47px;
		height: 47px;
		gap: 0;
	}
}

/*		お申し込みフォーム用		*/
.mail-form.apply{
	background:#EDEDED;
	padding: 150px 0;
}
@media screen and (max-width: 767px){
	.mail-form.apply{
		padding: 100px 0;
	}
}
.mail-form table.formTable{
	width:100%;
	margin:0 auto;
	border-collapse:collapse;
}
.mail-form table.formTable td,table.formTable th{
	padding:10px;
	vertical-align: top;
	box-sizing: border-box;
	text-align: left;
}
.mail-form table.formTable th::before{
	content: "";
	height: 10px;
	aspect-ratio: cos(60deg);
	clip-path: polygon(0 0,100% 50%,0 100%);
	background: linear-gradient(45deg,#fbb03b,#fbb03b);
	display: inline-block;
	margin-right: 0.2em;
}
.mail-form table.formTable th{
	width:350px;
	font-weight:normal;
	text-align:left;
}
.mail-form table.formTable th span{
	color:#fff;
	background: #005d94;
	font-size:13px;
	display: inline-block;
	margin-left: 0.4em;
	padding: 1px 5px 3px;
	border-radius: 3px;
	box-sizing: border-box;
	border: 1px solid #fbb03b;
}
.mail-form input[type="text"]{
	width: 100%;
	font-size:16px;
}
.mail-form select{
	width:200px;
	font-size:16px;
}
.mail-form input[type="text"],select,textarea{
	padding: 10px;
	box-sizing: border-box;
	border:none;
	border-radius: 5px;
}
.mail-form textarea{
	font-size: 13px;
	width: 100%;
}
.mail-form form input[type="submit"], .mail-form form input[type="reset"], .mail-form form input[type="button"] {
	width:250px;
	height:60px;
	cursor: pointer;
	background: #fbb03b;
	border-radius: 10px;
	border: 3px solid #005d94;
	color:#005d94;
	font-size: 16px;
	transition : all 0.5s ease 0s;
}
.mail-form form input[type="submit"]:hover{
	background: #005d94;
	color:#fbb03b;
}
/*　簡易版レスポンシブ用CSS（必要最低限のみとしています。ブレークポイントも含め自由に設定下さい）　*/
@media screen and (max-width:767px) {
	.mail-form table.formTable, .mail-form table.formTable tbody, .mail-form table.formTable tr,
	.mail-form table.formTable th, .mail-form table.formTable td{
		display:block;
		width:100%;
	}
	.mail-form table.formTable th {
		margin-top:5px;
		border-bottom:0;
	}
	.mail-form form input[type="text"], .mail-form form textarea {
		display:block;
	}
	.mail-form table.formTable th,
	.mail-form input[type="text"], .mail-form select, .mail-form textarea{
		font-size:14px;
	}
	.mail-form table.formTable th span{
		font-size:12px;
	}
}

/*プライバシーポリシー*/
.mail-form .privacy{
	background: #fff;
	padding: 20px;
	box-sizing: border-box;
	height: 150px;
    overflow-y: scroll;
    margin: 0 auto 50px auto;
    text-align: left;
	border-radius: 15px;
}
.mail-form .privacy h4{
	border-bottom:1px solid #005d94;
	padding-bottom: 10px;
	margin-bottom: 15px;
}
.mail-form .privacyUl{
	margin-left: 1.2em;
}

.mail-form .blue {
    color: #005d94;
}

.mail-form .txtCenter {
    text-align: center;
}

.mail-form .lh18 {
    line-height: 1.8em !important;
}

.mail-form .lh15 {
    line-height: 1.5em !important;
}

@media screen and (min-width: 768px) {
    .mail-form .font18-20px {
        font-size: 20px !important;
    }
	.mail-form .font14-16px {
        font-size: 16px !important;
    }
}

@media screen and (max-width: 767px) {
    .mail-form .font18-20px {
        font-size: 18px !important;
    }
    .mail-form .font14-16px {
        font-size: 14px !important;
    }
}

/*		thanks用		*/
.inner768 {
    max-width: 768px;
    width: calc(100% - 30px);
	text-align: center;
	padding-top: 50px;
	padding-bottom: 50px;
    margin-left: auto;
    margin-right: auto;
}

.lh20 {
    line-height: 2em !important;
}

img.imgCenter {
    max-width: 100%;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.qrLIne {
    width: 150px;
}

a {
    color: #333;
    text-decoration: none;
}

.thanksBtn {
	font-weight: bold;
    border-bottom: 3px #fbb03b dashed;
    padding-bottom: 5px;
    color: #fbb03b;
}