@charset "UTF-8";

*{
	box-sizing: border-box;
}
/*--------------------------------------

【共通】

---------------------------------------*/
.shippori-mincho{
	font-family: "Shippori Mincho", serif;
}
#keyvisual .inner {
	width: 100%;
	height: auto;
	max-height: 38rem;
	aspect-ratio: 375 / 350;
	padding-top: 3.5rem;
	background-image: url(https://nikkoudou-kottou.com/img/referral/topimg_sp.webp);
	overflow: hidden;
}

/* ---------------------------------------------------
	MV
---------------------------------------------------*/
#keyvisual {
	color: #fff;
}
#keyvisual .inner {
	position: relative;
	z-index: -2;
}
#keyvisual .inner::before {
	z-index: -1;
}
.referral__ttl{
	width: 100%;
	font-size: clamp(2.5rem,5.8vw,6rem);
	font-weight: 600;
	letter-spacing: min(.1vw,2px);
	text-align: center;
}
.referral__ttl--sub{
	font-size: clamp(1.7rem,4.2vw,2.15rem);
	margin-left: 1.5rem;
}
.referral__ttl--main{
	border-bottom: solid 1px #fff;
}
.referral__ttl .large{
	font-size: clamp(2.9rem,7.7vw,3.6rem);
}
@media screen and (max-width: 576px) {
	#keyvisual .inner {
		background-image: url(https://nikkoudou-kottou.com/img/referral/topimg_sp.webp);
	}
	#keyvisual .inner::before {
		content: '';
		display: inline-block;
		height: 40rem;
		width: 86%;
		position: absolute;
		right: 7%;
		bottom: -3rem;
		background-image: url(https://nikkoudou-kottou.com/img/referral/top_human.webp);
		background-repeat: no-repeat;
		background-size: contain;
		background-position: bottom;
		vertical-align: middle;
	}
	#keyvisual .referral__ttl {
		position: absolute;
		bottom: 3rem;
		right: 1rem;
		line-height: 1.1em;
	}
}
@media screen and (min-width: 577px) {
	#keyvisual .point {
		display: flex;
		column-gap: 2rem;
	}
	#keyvisual .box {
		display: flex;
		height: 36rem;
		flex-direction: column;
		width: 90%;
		z-index: 1;
		position: relative;
		margin: 0 auto;
	}
	#keyvisual .inner {
		height: 36rem;
		overflow: hidden;
		background-image: url(https://nikkoudou-kottou.com/img/referral/topimg.webp);
		position: relative;
	}
	#keyvisual .inner::before {
		content: '';
		display: inline-block;
		height: 34rem;
		width: 32rem;
		position: absolute;
		right: 0%;
		bottom: 0;
		background-image: url(https://nikkoudou-kottou.com/img/referral/top_human.webp);
		background-repeat: no-repeat;
		background-size: contain;
		background-position: bottom;
		vertical-align: middle;
	}
	#keyvisual .referral__ttl {
		max-width: 570px;
		margin: 8rem auto 0;
		color: #ffffff;
		line-height: 1.2;
		text-align: left;
	}
	.referral__ttl {
        font-size: clamp(2.9rem, 5.8vw, 4.2rem);
    }
	.referral__ttl--sub {
        font-size: clamp(1.7rem, 4.2vw, 2.2rem);
        margin-left: 0;
	}
	#keyvisual .catch::before {
		content: '';
		display: inline-block;
		width: 32rem;
		height: auto;
		position: absolute;
		top: 0;
		left: 1rem;
		bottom: 0;
		background-image: url(https://nikkoudou-kottou.com/img/referral/top_subbg.webp);
		background-repeat: no-repeat;
		background-size: contain;
		background-position: bottom;
		vertical-align: middle;
	}
	#keyvisual .catch span {
		font-size: clamp(2rem, 5.2vw, 3.6rem);
	}
}
@media screen and (min-width: 821px) {
	#keyvisual .inner::before {
		right: 10%;
	}
}
.referral__intro{
	padding-top: 30px;
}
.referral__intro-txt{
	margin-bottom: 40px;
	font-size: 1.8rem;
	text-align: center;
	font-family: var(--mincho-font);
	font-weight: bold;
}
.referral__intro-txt span{
	background: linear-gradient(transparent 60%, #F0ECE8 60%);
}
.referral__description-txt--1{
	width: 88%;
	margin: 0 auto 15px;
	padding: 5px;
	background: #8E796E;
	border-radius: 100px;
	color: #fff;
	font-weight: bold;
	text-align: center;
}
.referral__description-txt--2{
	margin-bottom: 40px;
	padding-top: .5em;
	font-family: var(--mincho-font);
	font-weight: bold;
	text-align: center;
}
.referral__description-txt--2 .dot{
	padding-top: .5em;
	background: top left / 1em .5em repeat-x radial-gradient(circle, #717171 1.5px, rgba(0,0,0,0) .1em);
}
.referral .red{
	color: #B31037;
}
.referral__description-txt--2 .large{
	font-size: 1.8rem;
}
.referral__description-txt--2 .large2{
	font-size: 2.3rem;
}
.referral-flow{
	padding: 30px 0;
	background: url(https://nikkoudou-kottou.com/img/common/pt3.png);
}
.referral-flow__ttl{
	margin-bottom: 20px;
	font-family: var(--mincho-font);
	font-size: 1.8rem;
	text-align: center;
}
.referral-flow__btn{
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
	margin: 0 auto 10px;
	width: 76%;
	min-width: 17.5em;
	max-width: 440px;
	height: 55px;
	background: #2D313E;
	color: #fff;
	font-size: 16px;
	font-weight: bold;
	text-align: center;
	cursor: pointer;
}
.referral-flow__btn:before, .referral-code__btn:before{
	display: block;
	position: absolute;
	top: calc(50% - 6px);
	right: calc(50% - 8.02em);
	width: 12px;
	height: 12px;
	border-radius: 50%;
	content: '';
}
.referral-flow__btn:before{
	background: #fff;
}
.referral-code__btn:before{
	background: #2D313E;
}
.referral-flow__btn:after, .referral-code__btn:after{
	display: block;
	position: absolute;
	top: calc(50% - 2px);
	right: calc(50% - 7.75em);
	width: 3px;
	height:  3px;
	content: '';
	transform: rotate(45deg);
}
.referral-flow__btn:after{
	border-top: 1px solid #2D313E;
	border-right: 1px solid #2D313E;
}
.referral-code__btn:after{
	border-top: 1px solid #fff;
	border-right: 1px solid #fff;
}
.referral-flow__btn-txt{
	margin-right: .5em;
	font-size: 16px;
}
.referral .modal__container {
	display: flex;
	align-items: center;
	justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(0 0 0 /70%);
    padding: 30px 10px 20px;
    overflow: hidden auto;
    opacity: 0;
    visibility: hidden;
    transition: .3s;
	z-index: 10000000;
}
.referral .modal__container.show {
	opacity: 1;
    visibility: visible;
}
.referral .modal__body{
	position: relative;
	max-width: 522px;
	max-height: calc(100dvh - 60px);
	overflow-y: scroll;
	margin: 0 auto;
	padding-bottom: 20px;
	background: #fff;
}
.modal__content{
	margin: 0 15px;
}
.referral .modal__body--close{
	position: sticky;
	top: 0;
	right: 0;
	width: 36px;
	height: 36px;
	margin: 0 0 0 auto;
	background: #E3E3E3;
	font-size: 3.4rem;
	padding-bottom: 5px;
	cursor: pointer;
}
.referral .modal__body--close:before, .referral .modal__body--close:after{
	display: block;
	position: absolute;
	top: 8px;
	right: 17px;
	width: 2px;
	height: 20px;
	background: #333;
	content: '';
}
.referral .modal__body--close:before{
	transform: rotate(45deg);
}
.referral .modal__body--close:after{
	transform: rotate(-45deg);
}
.referral .modal__catch-txt {
	display: flex;
	align-items: center;
	margin-bottom: 20px;
	color: #4C5161;
	font-family: var(--mincho-font);
	font-size: 1.8rem;
}
.referral .modal__catch-txt:before {
	display: block;
	width: 10px;
	height: 10px;
	margin-right: 5px;
	background: #4C5161;
	content: '';
}
.referral .modal__content-box:not(:last-child){
	margin-bottom: 20px;
}
.referral .modal__content-box .large{
	font-size: 18px;
}
.referral .modal__content-box .large2{
	font-size: 23px;
}
.referral .modal__content-box--top{
	padding-bottom: 15px;
	background: #F0ECE8;
	font-weight: bold;
}
.referral .modal__content-box--middle{
	font-family: var(--mincho-font);
	font-weight: bold;
}
.referral .modal__content-middle-txt{
	line-height: 1.1;
	text-align: center;
}
.referral .modal__content-box--bottom{
	padding: 20px 5px 10px 15px;
	border: solid 1px #5B3E2E;
	background: #F0ECE8;
	color: #5B3E2E;
}
.referral .modal__content-ttl{
	margin-bottom: 20px;
	color: #5B3E2E;
	font-family: var(--mincho-font);
	text-align: center;
}
.modal__content-box--top .modal__content-ttl{
	padding: 5px 0 3px;
	border-bottom: dashed 1px #000;
}
.modal__content-box--top dt{
	margin-left: 15px;
	font-family: var(--mincho-font);
	font-size: 18px;
}
.modal__info-txt{
	margin: 0 15px;
	font-family: var(--mincho-font);
	font-size: 14px;
	line-height: 1.4;
}
.referral .modal__content-box--bottom .modal__content-ttl{
	font-size: 18px;
}
.referral-attention__list{
	padding: 0 10px 30px 15px;
	list-style-type: disc;
	overflow: scroll;
	font-size: 14px;
	line-height: 1.3;
}
.referral-attention__list-wrap{
	position: relative;
}
.referral-attention__list-wrap:after{
	display: block;
	position: absolute;
	bottom: 0;
	left: 0;
	width: calc(100% - 10px);
	height: 30px;
	background: linear-gradient(transparent 0%, #F0ECE8 100%);
	content: '';
}
.referral-attention__item::marker{
	font-size: 77%;
	margin-top: -5px;
}
.referral  .modal__content-box--bottom .referral-attention__list{
	max-height: 250px;
}
.referral .modal__content-middle-list{
	width: fit-content;
	margin: 0 auto;
	line-height: 1.1;
}
.referral .modal__content-middle-list:after{
	display: block;
	height: calc(25px / 2);
	width: 25px;
	margin: 5px auto 0;
	clip-path: polygon(0% 0%, 100% 0, 50% 80%);
	background: #3A5667;
	content: '';
}
.referral .modal__content-middle-item span{
	display: inline-block;
	margin: 0 0 .4em 1em;
	font-size: 13px;
}
.referral .modal__body .contact{
	background: inherit;
	margin-bottom: 0;
	padding-bottom: 0;
}
.referral .modal__body .contact a {
	margin: 0;
}
.referral .modal__body .contact a .contact-btn__inner::after {
	right: 1em;
}
.referral .modal__body .tel__main-txt{
	font-size: 3.2rem;
}
.referral .modal__body .contact__telbox{
	margin: 0 auto 20px;
}
.referral .modal__body .contact__mailinner{
	margin: 0;
}
.referral .modal__body .contact__mailinner a p{
	position: relative;
}
.referral .modal__body .contact__mailinner a p::after{
	position: absolute;
	top: calc(50% - .4em);
	right: 1em;
}
.referral .modal__body .contact__mailinner .contact__linebtn {
	padding-left: 30px;
}
.referral .modal__body .contact__mailinner .contact__linebtn{
	background: no-repeat 30% center/29px url(https://nikkoudou-kottou.com/img/referral/icon_mail.webp),var(--color-sapphire);
}
.referral-code{
	padding: 40px 0;
	background: #0A0425;
}
.referral-code__txt{
	margin-bottom: 20px;
	color: #fff;
	line-height: 1.4;
	font-weight: bold;
	text-align: center;
}
.referral-code__btn{
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
	width: 76%;
	min-width: 17.5em;
	max-width: 440px;
	height: 48px;
	margin: 0 auto;
	border: solid 2px #959595;
	background: linear-gradient(20deg,#fff 20%,#cacaca 100%);
	text-decoration: none;
	color: #333;
	font-weight: bold;
	text-align: center;
}
.referral-attention{
	padding: 30px 0;
}
.referral-attention__wrap{
	width: 92%;
	margin: 0 auto;
	padding: 20px 5px 10px 15px;
	border: solid 1px #5B3E2E;
	background: #F0ECE8;
	color: #5B3E2E;
}
.referral-attention__list{
	max-height: 270px;
}
.referral-attention__ttl{
	margin-bottom: 20px;
	color: #5B3E2E;
	font-family: var(--mincho-font);
	font-size: 18px;
	text-align: center;
}
@media screen and (min-width: 577px) {
	.referral__intro-txt {
		font-size: 2rem;
	}
	.referral__intro-txt--main{
		font-size: 2.6rem;
		line-height: 1.6;
	}
	.referral__description-txt--1{
		padding: 10px;
		font-size: 2rem;
	}
	.referral__description-txt--2{
		font-size: 2.2rem;
		line-height: 1.1;
	}
	.referral__description-txt--2 .large{
		font-size: 2.2rem;
	}
	.referral__description-txt--2 .large2{
		font-size: 2.6rem;
	}
	.referral-flow__ttl{
		font-size: 2.2rem;
	}
}
/* =====================================
	初めてのお客様へ　バナーリンク「
======================================= */

.hazimete-banner{
	margin-bottom: 40px;
}
