@charset "UTF-8";

/*------------------------------------------------------------
mainView
------------------------------------------------------------*/
#front #mainView{
	background: url(../img/basic/mainView_pc.jpg) #000;
	background-repeat: no-repeat;
	background-position: right 25% center;
	min-height: 388px;
}


body {
	width: 100%;
	font-family: "Hiragino Mincho ProN W3", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "游明朝", YuMincho, "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
	color: #313131;
}

/*------------------------------------------------------------
トップ画像
------------------------------------------------------------*/

.main-image {
	background: url(../img/index/mainView2.png) #f3fafc no-repeat;
	background-position: center center;
	background-size: contain;
	height: 538px;
}

.text-layout {
	position: relative;
}

.main-image img {
	position: absolute;
	top: 80px;
	left: 105px;
	width: 50%;
}

/*------------------------------------------------------------
債務整理解セクション
------------------------------------------------------------*/

.index-solve h2 {
	margin-top: 69px;
}

.index-solve .f23 {
	color: black;
}

.solve-boxes {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 20px;
	color: #fff;
	margin: 56px 0;
}

.solve-box {
	width: 43%;
/*	height: 356px;*/
	padding: 45px 42px;
	background-position: center center;
	background-size: cover;
}
.solve-boxes a{
    background: #FFF;
    text-align: center;
    padding: 5px;
    color: #3a4c92;
    font-weight: bold;
}

.sbox1 {
	background-image: url(../img/index/self-back.jpg);
}
.sbox2 {
	background-image: url(../img/index/nini-back.jpg);
}
.sbox3 {
	background-image: url(../img/index/kojin-back.jpg);
}
.sbox4 {
	background-image: url(../img/index/too-many-back.jpg);
}

.solve-box h3 {
	font-size: 28px;
	margin: 0;
}

.solve-box p {
    font-size: 15px;
    line-height: 1.8rem;
}

/*------------------------------------------------------------
選ばれる理由セクション
------------------------------------------------------------*/
.back-gray {
	background: #f5f5f5;
}

.reason-subT {
	text-align: center;
	letter-spacing: 1rem;
}

.index-reason h2 {
	margin: 0;
	padding-top: 70px;
	letter-spacing: 0.8rem;
}

.ireason-boxes {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 20px;
	padding: 49px 0 89px 0;
}

.ireason-box {
	width: 42%;
	box-sizing: border-box;
	border: 2px solid #3a4c92;
	background: #FFF;
}

.ir-box-upper {
	display: flex;
}

.irb-upper-title {
	display: flex;
	justify-content: center;
	align-items: flex-end;
	width: 100%;
	text-align: center;
}

.irb-upper-title p {
	font-size: 21px;
	line-height: 1.7rem;
	margin: 0;
	font-weight: bold;
}

.ir-box-down {
	margin: 36px;
    line-height: 1.5rem;
    font-size: 15px;
}

/*------------------------------------------------------------
解決事例
------------------------------------------------------------*/
.case-title {
	height: 165px;
	background-image: url(../img/index/case-back.jpg);
	background-position: center center;
	background-size: cover;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

.case-title h2 {
	margin: 0;
	color: #fff;
	letter-spacing: 0.8rem;
}

.case-subT {
	text-align: center;
	letter-spacing: 0.6rem;
	color: #fff;
	margin-bottom: 0;
}

.index-case-boxes {
	display: flex;
	padding: 44px 23px 44px;
	justify-content: center;
	gap: 20px;
}

.index-case-box {
	margin-top: 0;
	width: 32%;
	padding: 30px 16px 40px;
	box-shadow: 0px 0px 12px -6px rgba(0,0,0,0.6);
}

.index-case-box .ic-tab a {
	color: #fff;
	display: block;
	padding: 3px 35px;
	background: #3a4c92;
	margin-right: 10px;
}

.ic-title {
	font-weight: bold;
	line-height: 1.5rem;
}

.ic-tab {
	width: 100%;
	padding: 5px 0;
	text-align: center;
	color: #fff;
}

.ic-content {
	line-height: 1.5rem;
}

.ic-button {
	text-align: center;
	padding: 14px 0;
	border-radius: 3px;
	color: #fff;
}

.ic-button a {
	text-decoration: none;
}

.ic-button:hover {
	opacity: 0.8;
}

.case-arrow {
	margin: 0 auto 45px;
	text-align: center;
	padding: 22px;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 554px;
	letter-spacing: 0.2rem;
}

.link-none {
	text-decoration: none;
	color: #fff;

}

.link-none:hover {
	opacity: 0.8;
}

.arrow-make {
	display: inline-block;
	width: 50px;
	border-bottom: 1px solid #fff;
	position: relative;
}

.arrow-make::before {
	content: "";
	position: absolute;
	bottom: 3px;
	right: 0;
	width: 17px;
	height: 1px;
	background: #fff;;
	transform: rotate(30deg);
}

/*------------------------------------------------------------
お客様の声セクション
------------------------------------------------------------*/
/* お客様の声セクション */
.ivoice-box .columnContent .rightWrapper{
	border-bottom: 1px dashed #d3d3d3;
    width: 100%;
}
.index-voice-boxes {
	display: flex;
	justify-content: space-between;
	padding: 58px 40px;
}

.ivoice-box {
	display: flex;
	flex-direction: column;
	width: 45%;
	background: #fff;
	padding: 0 25px;
}

.ivoice-title {
	font-size: 22px;
	font-weight: bold;
	padding: 44px 0 23px;
	text-align: center;
	border-bottom: 3px solid #c5a55a;
}

.ivoice-content-box {
	display: flex;
	flex-direction: column;
	height: 109px;
	margin-top: 20px;
	position: relative;
}


.ivoice-content-box p {
	margin: 0;
}

.ivoice-column-tag {
	display: flex;
	align-items: center;
}

.ivct-tag {
	background: #c5a55a;
	color: #fff;
	padding: 5px 35px;
	margin-left: 16px!important;
}

.ivct-tag a {
	color: #fff;
}

.ivoice-content {
	font-weight: bold;
	line-height: 1.5rem;
	margin: 0;
	padding: 19px 0 24px;
}

.iv-button {
	background: #c5a55a;
	margin: 48px 0 44px;
	padding: 20px 0;
	font-size: 17px;
	text-align: center;
	width: 357px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.ivoice-name {
	color: #c5a55a;
	font-size: 17px;
}

.voice-line {
	line-height: 1.1rem;;
}

/* お客様の声セクション */
.ivoice-title {
	padding: 20px 0 23px;
}

.ivoice-content-box {
	display: flex;
	flex-direction: column;
/* 	height: 130px; */
	margin-top: 20px;
	position: relative;
}

.ivoice-name {
	font-size: 14px;
}

/* お客様の声セクション */
.ivoice-content-box {
	height: auto;
}

/*------------------------------------------------------------
メリットセクション
------------------------------------------------------------*/

.index-melit {
	padding: 0 0 4rem 0;
	background-image: url(../img/index/melit-back.jpg);
	background-position: center;
	background-size: cover;
}

.index-melit h2 {
	color: #fff;
	margin: 0;
	padding: 70px 0 66px;
}

.index-melit-box {
	padding: 50px 40px 40px;
	background: rgba(255, 255, 255, 0.9);
	display: flex;
}

.im-box-left {
	width: 60%;
	margin: 0;
	line-height: 1.5rem;
	padding: 0 40px;
}

@media (max-width: 1024px) {
	.main-image {
		height: 379px;
	}
	.main-image img{
		top: 40px;
	}
}

@media (max-width: 1000px){
	/* トップ画像 */
	.main-image {
		background-image: url(../img/index/mainView2.png);
		background-position: center center;
		background-size: cover;
		height: 450px;
	}

	.main-image img {
		position: absolute;
		top: 48px;
		left: 0;
		width: 70%;
	}


	/* 選ばれる理由セクション */

	.irb-upper-title p{
		font-size: 18px;
	}
	.ir-box-down {
		margin: 18px;
		line-height: 1.1rem;
	}

	/* お客様の声セクション */
	.ivoice-title {
		padding: 20px 0 23px;
	}

	.ivoice-content-box {
		display: flex;
		flex-direction: column;
		height: 130px;
		margin-top: 20px;
		position: relative;
	}

	.ivoice-name {
		font-size: 14px;
	}

	.iv-button {
		margin: 40px 0 36px;
		padding: 15px 0;
		font-size: 17px;
		text-align: center;
		width: 260px;
		display: flex;
		align-items: center;
		justify-content: center;
	}

	/* メリットセクション */


	.index-melit h2 {
		color: #fff;
		margin: 0;
		padding: 60px 0 56px;
	}

	.index-melit-box {
		width: 90%;
		min-width: 500px;
		margin: 0 auto;
		padding: 40px 15px 30px;
		background: rgba(255, 255, 255, 0.9);
		display: flex;
	}

	.im-box-left {
		width: 60%;
		margin: 0;
		line-height: 1.5rem;
		padding: 0 20px;
	}

	.im-box-right img {
		width: 100%;
	}

}


@media (max-width: 999px) {
	#front .underlayerWrapper.double{
		padding: 10px;
	}
	
	.index-case-box .ic-tab a {
		width: 70%;
		margin-bottom: 5px;
	}
	
	.solve-box {
		padding: 30px;
	}
}

@media screen and (max-width: 767px){
	.main-image {
		height: 600px;
		background-position: 70% center;
	}

	/* 債務整理解セクション */
	.solve-boxes {
		gap: 40px;
	}

	.solve-box {
		width: 90%;
		height: auto;
		padding: 20px 42px;

	}

	/* 選ばれる理由セクション */

	.ireason-boxes {
		gap: 40px;
		padding: 49px 0 89px 0;
	}

	.ireason-box {
		width: 80%;
		height: auto;
		box-sizing: border-box;
		border: 2px solid #3a4c92;
	}

	.irb-upper-noimg img {
		width: 60px;
	}

	/* 解決事例 */
	.index-case-boxes {
		display: flex;
		flex-direction: column;
		padding: 44px 10px 44px;
		justify-content: center;
		align-items: center;
		gap: 20px;
	}

	.index-case-box {
		width: 95%;
		padding: 30px 16px 40px;
		box-shadow: 0px 0px 12px -6px rgba(0,0,0,0.6);
	}

	.case-arrow {
		margin: 0 auto 45px;
		display: flex;
		width: 80%;
		letter-spacing: 1rem;
	}

	.case-arrow.f18 {
		font-size: 0.8rem;
	}

	.arrow-make {
		width: 30px;
	}

	.arrow-make::before {
		bottom: 2px;
		width: 12px;
	}

	/* お客様の声セクション */
	.index-voice-boxes {
		flex-direction: column;
		justify-content: center;
		align-items: center;
		gap: 40px;
	}

	.ivoice-box {
		display: flex;
		flex-direction: column;
		width: 100%;
		background: #fff;
		padding: 0 25px;
	}

	.iv-button {
		margin: 15px auto;
	}

	.iv-button {
		width: 60%;
		font-size: 14px;
	}

	/* メリットセクション */
	.index-melit {
		height: auto;
		padding: 0 15px 40px;
	}

	.index-melit h2 {
		color: #fff;
		margin: 0;
		padding: 40px 0 30px;
	}

	.index-melit-box {
		width: auto;
		min-width: 300px;
		padding: 30px 20px 30px;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 10px;
	}

	.im-box-left {
		width: 100%;
		margin: 0;
		line-height: 1.3rem;
		padding: 0 30px;
		order: 2;
	}

	.im-box-right img {
		width: 100%;
	}

	.footer-map iframe {
		width: 300px;
	}

}

@media screen and (max-width: 600px){
	/* メインイメージ */
	.main-image {
		background-position: 75% center;
	}
	.main-image img {
		position: absolute;
		top: 50px;
		left: 20px;
		width: 200px;
	}
	/* 債務整理解セクション */
	.case-arrow img {
		width: 95%;
	}
	/* お客様の声セクション */
	.ivoice-content-box {
		height: auto;
	}
	
	.index-case-box .ic-tab a {
		width: 70%;
		margin-bottom: 5px;
	}

}

@media (max-width: 480px) {
	#front .spOnly img{
		width: 100%;
	}
	#front .underlayerWrapper.double{
		padding: 10px;
	}
	#front section .contentWrapper{
		padding: 1rem;
		margin: 0;
	}

	.index-contact {
		height: 580px;
	}

	.index-voice-boxes {
		padding: 0;
	}

	.iv-button {
		width: 100%;
	}
	
	.index-case-box .ic-tab a {
		width: 50%;
	}

}