@charset "UTF-8";



/*共通
-----------------------------------------------*/
.with-line{
	position: relative;
	display: inline-block;
}
.with-line p{
	font-size: min(2.5rem, 2.3vw);
	margin-bottom: .6em;
}
.with-line::before{
	content: "";
	position: absolute;
	width: 1.7em;
	height: 2px;
	top: 40%;
	left: -2.3em;
	transform: translateY(-50%);
	background: #3e352e;
}
.with-line::after{
	content: "";
	position: absolute;
	width: 1.7em;
	height: 2px;
	top: 40%;
	right: -2.3em;
	transform: translateY(-50%);
	background: #3e352e;
}

/* Tablet (Portrait)
------------------------------------------*/
@media only screen and (min-width: 768px) and (max-width: 959px) {
.with-line p{
	font-size: var(--fs-24);
}
.with-line::before{
	width: 1.2em;
	height: 1px;
	top: 40%;
	left: -2em;
}
.with-line::after{
	width: 1.2em;
	height: 1px;
	top: 40%;
	right: -2em;
}
}

/* Tablet調整 (Portrait)
------------------------------------------*/
@media only screen and (min-width: 768px) and (max-width: 870px) {
.with-line::before{
	left: -0.8em;
}
.with-line::after{
	right: -0.8em;
}
}

/* Mobile (Portrait)
------------------------------------------*/
@media only screen and (max-width: 767px) {
.with-line p{
	font-size: var(--fs-24);
}
.with-line::before{
	width: 1.2em;
	height: 1px;
	top: 40%;
	left: -1.8em;
}
.with-line::after{
	width: 1.2em;
	height: 1px;
	top: 40%;
	right: -1.8em;
}
}


/*導入
-----------------------------------------------*/
.lead .p-content__txt .u-ft-min.u-fs-32 {
	margin-top: -1.5rem;
	margin-bottom: 1.5rem;
}
.p-lead__img::after {
    background-image: url(../../images/guide/referral/bg_lead.png);
}
.lead-txt{
	text-align: center;
}

.lead-txt > div.with-line{
	position: relative;
	display: inline-block;
	width: 15em;
}
.lead-txt > div.with-line p{
	font-size: min(2.5rem, 2.3vw);
	margin-bottom: .6em;
}
.lead-txt > div.with-line::before{
	content: "";
	position: absolute;
	width: 1.7em;
	height: 2px;
	top: 40%;
	left: -2.3em;
	transform: translateY(-50%);
	background: #3e352e;
}
.lead-txt > div.with-line::after{
	content: "";
	position: absolute;
	width: 1.7em;
	height: 2px;
	top: 40%;
	right: -2.3em;
	transform: translateY(-50%);
	background: #3e352e;
}

.lead .p-lead__catch{
	margin-bottom: .6em;
}
.lead .lead-icon{
	width: 4.5em;
	margin-inline: auto;
	margin-bottom: 1em;
}
.lead .lead-txt p.u-fw-bold{
	font-size: var(--fs-22);
	margin-bottom: 1.4em;
}
.lead .p-layout__list{
	max-width: 900px;
	border-top: 1px solid #3e352e;
	border-bottom: 1px solid #3e352e;
	padding-top: 1.8em;
	margin-top: 1.8em;
	margin-bottom: 1.8em;
	padding-bottom: 1.8em;
	padding-left: 2.5em;
	margin-inline: auto;
}
.lead .p-layout__list.--col2.--check > li {
    height: fit-content;
    padding: 0 1em;
}
.lead .p-layout__list.--check > li {
    background: none;
    text-align: left;
	font-size: var(--fs-16);
}
.lead .p-layout__list.--check > li::before {
	top: 50%;
	left: -1em;
	width: 2rem;
}

/* Tablet (Portrait)
------------------------------------------*/
@media only screen and (min-width: 768px) and (max-width: 959px) {
.lead-txt > div.with-line{
	width: 14em;
}
.lead-txt > div.with-line p{
	font-size: var(--fs-24);
}
.lead-txt > div.with-line::before{
	width: 1.2em;
	height: 1px;
	top: 40%;
	left: -2em;
}
.lead-txt > div.with-line::after{
	width: 1.2em;
	height: 1px;
	top: 40%;
	right: -2em;
}
.lead .lead-icon{
	width: 3.8em;
}
.lead .p-layout__list{
	padding-left: 1em;
	max-width: 770px;
}
.lead .p-layout__list.--col2.--check > li {
    padding: 0 0 0 1em;
	font-size: var(--fs-15);
}
.lead .p-layout__list.--check > li::before {
	left: -0.6em;
	width: 1.8rem;
	top: 40%;
}
}

/* Tablet調整 (Portrait)
------------------------------------------*/
@media only screen and (min-width: 768px) and (max-width: 870px) {
.lead-txt > div.with-line::before{
	left: -0.8em;
}
.lead-txt > div.with-line::after{
	right: -0.8em;
}
}

/* Mobile (Portrait)
------------------------------------------*/
@media only screen and (max-width: 767px) {
.lead-txt > div.with-line{
	width: 11.5em;
}
.lead-txt > div.with-line p{
	font-size: var(--fs-24);
}
.lead-txt > div.with-line::before{
	width: 1.2em;
	height: 1px;
	top: 40%;
	left: -1.8em;
}
.lead-txt > div.with-line::after{
	width: 1.2em;
	height: 1px;
	top: 40%;
	right: -1.8em;
}
.lead .lead-icon{
	width: 3.8em;
}
.lead .p-layout__list{
	padding-left: 1em;
}
.lead .p-layout__list.--col2.--check > li {
    padding: 0 0 0 1em;
	font-size: var(--fs-15);
}
.lead .p-layout__list.--check > li::before {
	left: -0.6em;
	width: 1.8rem;
	top: 40%;
}
.lead .p-layout__list.--check > li:nth-child(2):before {
	top: 23%;
}
}


/* important 
-----------------------------------------------*/
.important .p-bg__img-top{
	background-image: url(../../images/guide/referral/bg_important.png);
}
.important .with-line{
	width: 21em;
}
.important .with-line::before,
.important .with-line::after{
	background: #fff;
}

.important .p-bg__img-top .important-ttl{
    margin-bottom: var(--gap-30);
}
.important .u-fs-32{
	margin: .8em 0;
}

/* Tablet (Portrait)
------------------------------------------*/
@media only screen and (min-width: 768px) and (max-width: 959px) {
	.important .with-line{
		width: 19.8em;
	}
}

/* Tablet調整 (Portrait)
------------------------------------------*/
@media only screen and (min-width: 801px) and (max-width: 870px) {
	.important .with-line{
		width: 19.5em;
	}
}

/* Tablet調整 (Portrait)
------------------------------------------*/
@media only screen and (min-width: 768px) and (max-width: 800px) {
	.important .with-line{
		width: 18em;
	}
}
/* Mobile (Portrait)
------------------------------------------*/
@media only screen and (max-width: 767px) {
	.important .with-line{
		width: 17em;
	}
}


/*reason
-----------------------------------------------*/
.reason .p-layout__img-txt{
	background-image: url(../../images/guide/referral/bg_reason.png);
	background-position: top left;
	background-size: contain;
	background-repeat: no-repeat;
	padding: 3em 0;
}
.reason .p-layout__txt{
	width: min(49%, 580px);
}

/* Tablet (Portrait)
------------------------------------------*/
@media only screen and (min-width: 768px) and (max-width: 959px) {
	.reason .p-layout__img{
		width: min(47%,580px);
		height: 50vw;
	}
	.reason .p-layout__img-txt{
		padding: 3em 0 0;
	}
}
/* Mobile (Portrait)
------------------------------------------*/
@media only screen and (max-width: 767px) {
	.reason .p-layout__img-txt{
		padding: 60vw 0 0;
		background-size: 150%;
	}
}


/*cases
-----------------------------------------------*/
.cases .c-list-dotto{
	margin-inline: auto;
	display: grid;
	grid-auto-flow: column;
}
.cases .box1 .c-list-dotto{
	max-width: 1020px;
	grid-template-rows: repeat(6, auto);
}
.cases .box2 .c-list-dotto{
	max-width: 570px;
	grid-template-rows: repeat(3, auto);
}
.cases .box3 .c-list-dotto{
	max-width: 930px;
	grid-template-rows: repeat(3, auto);
}
.cases .box4 .c-list-dotto{
	max-width: 700px;
	grid-template-rows: repeat(4, auto);
}
.cases .box5 .c-list-dotto{
	grid-template-rows: repeat(2, auto);
	max-width: 960px;
}

/* options */
#options .u-fs-40{
	margin-bottom: .6em;
}

/* Tablet (Portrait)
------------------------------------------*/
@media only screen and (min-width: 768px) and (max-width: 959px) {
.cases .box1 .c-list-dotto{
	max-width: 600px;
	display: block;
	column-count: 2;
}
.cases .box3 .c-list-dotto{
	max-width: 650px;
	display: block;
	column-count: 2;
}
.cases .box4 .c-list-dotto{
	max-width: 680px;
}
.cases .box5 .c-list-dotto{
	max-width: 580px;
	grid-template-rows: repeat(3, auto);
}
}

/* Mobile (Portrait)
------------------------------------------*/
@media only screen and (max-width: 767px) {
.cases .c-list-dotto{
	display: block;
	column-count: 1;
}
}


/*policy
-----------------------------------------------*/
.policy .u-fs-32{
	margin-bottom: .8em;
}
.policy .p-bg__beige{
	margin-top: var(--gap-40);
}
.policy .c-list-check{
	max-width: 720px;
	margin-inline: auto;
	margin-bottom: 1.8em;
}
.policy .c-list-check li{
	width: 100%;
}
.policy .c-list-dotto{
	max-width: 620px;
	margin-inline: auto;
}

/* Tablet (Portrait)
------------------------------------------*/
@media only screen and (min-width: 768px) and (max-width: 959px) {
	.policy .c-list-dotto{
	max-width: 560px;
}
}


/*flow
-----------------------------------------------*/
.flow ul li:nth-child(1) .p-flow-ver__txt,
.flow ul li:nth-child(4) .p-flow-ver__txt,
.flow ul li:nth-child(7) .p-flow-ver__txt,
.flow ul li:nth-child(8) .p-flow-ver__txt {
	width: 100%;
}
.flow ul li:nth-child(2) .c-list-dotto{
	max-width: 480px;
	display: grid;
	grid-auto-flow: column;
	grid-template-rows: repeat(5, auto);
}
.flow ul li:nth-child(3) .c-list-dotto{
	max-width: 420px;
	display: grid;
	grid-auto-flow: column;
	grid-template-rows: repeat(4, auto);
}
.flow ul li:nth-child(5) .c-list-dotto{
	max-width: 670px;
	display: grid;
	grid-auto-flow: column;
	grid-template-rows: repeat(5, auto);
}

.flow .box1 .c-list-dotto.--count3{
	max-width: 840px;
	display: grid;
	grid-auto-flow: column;
	grid-template-rows: repeat(5, auto);
	margin-inline: auto;
}
.flow .box2 .c-list-dotto.--count3 {
	max-width: 690px;
	display: grid;
	grid-auto-flow: column;
	grid-template-rows: repeat(4, auto);
	margin-inline: auto;
}

/* Tablet (Portrait)
------------------------------------------*/
@media only screen and (min-width: 768px) and (max-width: 959px) {
.flow ul li:nth-child(2) .c-list-dotto,
.flow ul li:nth-child(5) .c-list-dotto{
	display: block;
	column-count: 1;
}
.flow ul li:nth-child(3) .c-list-dotto{
	display: block;
	column-count: 2;
}

.flow .box1 .c-list-dotto.--count3,
.flow .box2 .c-list-dotto.--count3 {
	display: block;
	column-count: 2;
}
.flow .box1 .c-list-dotto.--count3 {
	max-width: 570px;
}
.flow .box2 .c-list-dotto.--count3 {
	max-width: 450px;
}
}

/* Mobile (Portrait)
------------------------------------------*/
@media only screen and (max-width: 767px) {
.flow ul li:nth-child(2) .c-list-dotto,
.flow ul li:nth-child(3) .c-list-dotto,
.flow ul li:nth-child(5) .c-list-dotto{
	display: block;
	column-count: 1;
}

.flow .box1 .c-list-dotto.--count3,
.flow .box2 .c-list-dotto.--count3 {
	display: block;
	column-count: 1;
}
}


/*system
-----------------------------------------------*/
.system .system-list{
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--gap-50);
}
.system .system-list dl dt{
	margin: .6em auto .4em;
	line-height: 1.4;
}
.system .system-list li:last-child dl dt{
	margin: 1.3em auto 1.1em;
}

.system .referral-list{
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	margin-bottom: 1.8em;
}
.system .referral-list li{
	font-size: var(--fs-20);
}
.system .referral-list li:nth-child(1),
.system .referral-list li:nth-child(2){
	clip-path: polygon(
		0 0,
		calc(100% - 20px) 0,
		100% 50%,
		calc(100% - 20px) 100%,
		0 100%
		);
	}
.system .referral-list li:nth-child(1){
	padding: 1.2em 2.4em .8em 2.4em;
	background-color: #3fa9f5;
	z-index: 2;
}
.system .referral-list li:nth-child(2){
	padding: 1.2em 4em .8em 4.5em;
	background-color: #438aca;
	margin-left: -1em;
	z-index: 1;
}
.system .referral-list li:nth-child(3){
	padding: 1.2em 2em .8em 2.8em;
	background-color: #476a9e;
	margin-left: -1em;
}

.system .referral-list li span.u-ft-en{
	font-size: var(--fs-16);
	display: block;
	margin-bottom: .2em;
}

/* PC調整 (Portrait)
------------------------------------------*/
@media only screen and (min-width: 960px) and (max-width: 1100px) {
.system .referral-list li:nth-child(1){
	padding: 1.2em 1.8em .8em 1.5em;
}
.system .referral-list li:nth-child(2){
	padding: 1.2em 1.8em .8em 2.6em;
	margin-left: -1.5em;
}
.system .referral-list li:nth-child(3){
	padding: 1.2em 1.3em .8em 2.6em;
	margin-left: -1.5em;
}
}

/* Tablet (Portrait)
------------------------------------------*/
@media only screen and (min-width: 768px) and (max-width: 959px) {
.system .system-list{
	gap: var(--gap-30);
}
.system .system-list dl dt{
	font-size: var(--fs-28);
}

.system .referral-list li:nth-child(1){
	padding: 1.2em 1.8em .8em 1.5em;
}
.system .referral-list li:nth-child(2){
	padding: 1.2em 1.8em .8em 2.6em;
	margin-left: -1.5em;
}
.system .referral-list li:nth-child(3){
	padding: 1.2em 1.3em .8em 2.6em;
	margin-left: -1.5em;
}
}

/* Mobile (Portrait)
------------------------------------------*/
@media only screen and (max-width: 767px) {
.system .system-list{
	grid-template-columns: repeat(1, 1fr);
}
.system .system-list li{
	border-bottom: 1px solid rgba(62, 53, 46, 0.2);
	padding-bottom: 1.5em;
	margin-bottom: .5em;
}
.system .system-list li:last-child{
	border-bottom: none;
	padding-bottom: 0;
	margin-bottom: 0;
}
.system .system-list li div{
	width: 80%;
	margin-inline: auto;
}
.system .system-list li:last-child dl dt{
	margin: .6em auto .4em;
}

.system .referral-list{
	display: block;
	margin-bottom: 1.6em;
}

.system .referral-list li:nth-child(2),
.system .referral-list li:nth-child(3){
	clip-path: polygon(
		0 0,
		50% 15%,
		100% 0,
		100% 100%,
		0 100%
	);
	}
.system .referral-list li:nth-child(1){
	padding: 1.5em 0 2em;
	clip-path: none;
}
.system .referral-list li:nth-child(2){
	padding: 2.5em 0 2em;
	margin-left: 0;
	margin-bottom: -1.5em;
	margin-top: -1.5em;
}
.system .referral-list li:nth-child(3){
	padding: 2.5em 0 1.5em;
	margin-left: 0;
}

.system .referral-list li span.u-ft-en{
	margin-bottom: .3em;
}
}


/*collaboration
-----------------------------------------------*/
.collaboration .c-list-dotto{
	max-width: 590px;
}

/* Tablet (Portrait)
------------------------------------------*/
@media only screen and (min-width: 768px) and (max-width: 959px) {
.p-layout__img-txt .p-layout__txt:not(.tb-float) .c-list-dotto{
	width: 80%;
}
}

/* Mobile (Portrait)
------------------------------------------*/
@media only screen and (max-width: 767px) {
}


/* message
-----------------------------------------------*/
.p-message__bg::before {
	background-image: url(../../images/guide/referral/bg_message.jpg);
}

/* Tablet (Portrait)
------------------------------------------*/
@media only screen and (min-width: 768px) and (max-width: 959px) {
}

/* Mobile (Portrait)
------------------------------------------*/
@media only screen and (max-width: 767px) {
}


/* counseling
-----------------------------------------------*/
#counseling .c-list-check > li::before{
	border-left: 1px solid #518454;
    border-bottom: 1px solid #518454;
}
#counseling .p-counseling__heading {
	border-bottom: none;
	margin-bottom: 0;
	padding-bottom: .8em;
}
#counseling .c-list-check.--count2{
	max-width: 770px;
	margin-inline: auto;
}
#counseling .c-cta__tel-style{
	margin-bottom: 0;
}
#counseling .c-cta__tel-style dt{
	border: 1px solid #3e352e;
	border-radius: 17px;
	padding: .4em 1.2em;
	font-size: var(--fs-16);
}

/* Tablet (Portrait)
------------------------------------------*/
@media only screen and (min-width: 768px) and (max-width: 959px) {
#counseling .c-list-check.--count2 > li{
	font-size: var(--fs-15);
}
}

/* Mobile (Portrait)
------------------------------------------*/
@media only screen and (max-width: 767px) {
#counseling .p-counseling__heading {
	padding-bottom: 0;
}
#counseling .c-cta__tel-style dt{
	margin-bottom: 1em;
}
}