@charset "UTF-8";

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

【共通】

---------------------------------------*/
.shippori-mincho{
	font-family: "Shippori Mincho", serif;
}
#keyvisual .inner {
	width: 100%;
	height: 42rem;
	background-image: url(https://nikkoudou-kottou.com/img/referral/topimg_sp.webp);
	overflow: hidden;
}

/* ---------------------------------------------------
	MV
---------------------------------------------------*/
#keyvisual {
	margin-bottom: 0px;
	color: #fff;
}
#keyvisual .inner {
	height: 42rem;
	overflow: hidden;
	background-image: url(https://nikkoudou-kottou.com/img/referral/topimg.webp);
	position: relative;
	z-index: -2;
}
#keyvisual .inner::before {
	content: '';
	display: inline-block;
	height: 49rem;
	width: 42.4rem;
	position: absolute;
	right: 4.6rem;
	bottom: -75px;
	background-image: url(https://nikkoudou-kottou.com/img/referral/top_human.webp);
	background-repeat: no-repeat;
	background-size: contain;
	background-position: bottom;
}
.referral__ttl{
	border-bottom: solid 1px #fff;
	position: absolute;
	top: 13.5rem;
	left: 8.5rem;
	padding-bottom: 5px;
	line-height: 1.15;
	color: #ffffff;
}
.referral__ttl--sub{
	font-size: 3.5rem;
	margin-left: 5px;
}
.referral__ttl--main{
	font-size: 6rem;
}
.referral__summary{
	margin-bottom: 40px;
	padding: 60px 0 30px;
	border-top: solid 10px #4C5161;
	border-bottom: solid 10px #4C5161;
	background: url(https://nikkoudou-kottou.com/img/referral/content_bg.webp),#fff;
}
.referral__intro{
	padding-bottom: 40px;
}
.referral__intro-txt{
	margin-bottom: 40px;
	font-size: 2rem;
	text-align: center;
	font-family: var(--mincho-font);
}
.referral__intro-txt--main{
	font-size: 2.6rem;
	line-height: 1.6;
}
.referral__intro-txt span{
	display: inline-block;
	padding: 0 0 1px 5px;
	background: linear-gradient(transparent 60%, #F0ECE8 60%);
}
.referral__description{
	margin: 0 auto 40px;
}
.referral__description dl{
	display: flex;
	width: 800px;
	height: 120px;
	margin: 0 auto;
}
.referral__description--1{
	flex: 0 0 270px;
	height: 100%;
	background: #4C5161;
	border-radius: 8px 0 0 8px;
}
.referral__description-txt--1{
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
	height: 100%;
	color: #fff;
	font-size: 2rem;
	font-weight: bold;
}
.referral__description-txt--1::after{
	display: block;
	position: absolute;
	right: -27px;
	top: 0;
	background: #4C5161;
	height: 120px;
	width: 27px;
	clip-path: polygon(0% 0%, 100% 50%, 0% 100%);
	content: '';
}
.referral-description--2{
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	background: #F0ECE8;
	border-radius: 0 8px 8px 0;
}
.referral__description-txt--2{
	width: 100%;
	margin: 5px 0 0 53px;
	font-size: 2.2rem;
	font-family: var(--mincho-font);
	line-height: 1.1;
}
.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 span.red{
	font-size: 2.6rem;
}
.referral span.red:not(.large2){
	margin-left: -7px;
}
.referral-flow{
	width: 800px;
	padding: 30px 0 25px;
	margin: 0 auto 40px;
	background: url(https://nikkoudou-kottou.com/img/common/pt3.png);
	border: solid 1px #000;
}
.referral-flow__ttl{
	margin-bottom: 20px;
	font-family: var(--mincho-font);
	font-size: 2.3rem;
	text-align: center;
}
.referral-flow__btn{
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
	margin: 0 auto 15px;
	width: 440px;
	height: 55px;
	background: #2D313E;
	color: #fff;
	font-size: 2.2rem;
	font-weight: bold;
	text-align: center;
	cursor: pointer;
	transition: background .7s;
}
.referral-flow__btn:hover{
	background: #7D818E;
}
.referral-flow__btn:before, .referral-code__btn:before{
	display: block;
	position: absolute;
	border-radius: 50%;
	content: '';
}
.referral-flow__btn:before{
	width: 14px;
	height: 14px;
	top: calc(50% - 6px);
	right: calc(50% - 8.8em);
	background: #fff;
}
.referral-code__btn:before{
	width: 18px;
	height: 18px;
	top: calc(50% - 8px);
	right: 40px;
	background: #2D313E;
}
.referral-flow__btn:after, .referral-code__btn:after{
	display: block;
	position: absolute;
	content: '';
	transform: rotate(45deg);
}
.referral-flow__btn:after{
	top: calc(50% - 2px);
	right: calc(50% - 8.57em);
	width: 4px;
	height:  4px;
	border-top: 2px solid #2D313E;
	border-right: 2px solid #2D313E;
	transition: all .7s;
}
.referral-flow__btn:hover::after{
	border-top: 2px solid #7D818E;
	border-right: 2px solid #7D818E;
}
.referral-code__btn:after{
	top: calc(50% - 2.5px);
	right: 47px;
	width: 4.5px;
	height:  4.5px;
	border-top: 2px solid #fff;
	border-right: 2px solid #fff;
}
.referral-flow__btn-txt{
	margin-right: .5em;
	font-size: 2.2rem;
}
/*フローボタン【モーダル部分】
------------------------------------------------*/
.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__body{
	position: relative;
	max-width: 900px;
	max-height: calc(100vh - 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;
}
.referral .modal__content-box--top .modal__content-ttl{
	padding: 5px 0 3px;
	border-bottom: dashed 1px #000;
}
.referral .modal__content-box--top dl{
	width: 560px;
	margin: 0 auto;
}
.referral .modal__content-box--top dt{
	margin-left: 15px;
	font-family: var(--mincho-font);
	font-size: 18px;
}
.referral .modal__info-txt{
	width: fit-content;
	margin: 0 auto;
	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 10px 15px;
	list-style-type: disc;
	font-size: 14px;
	line-height: 1.3;
}
.referral-attention__list-wrap{
	position: relative;
}
.referral-attention__item::marker{
	font-size: 77%;
	margin-top: -5px;
}

.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{
	margin-bottom: -30px;
	padding-bottom: 0;
	transform: scale(.8) translateY(-20px);
}
.referral .modal__body .contact__mailinner .contact__linebtn {
	width: 400px;
	margin: 0 auto;
	background: no-repeat 30% center/29px url(https://nikkoudou-kottou.com/img/referral/icon_mail.webp),var(--color-sapphire);
}
.referral .modal__body .contact__mailinner .contact__linebtn {
	padding-left: 30px;
}
.referral-code{
	width: 800px;
	margin: 0 auto 10px;
	padding: 35px 0;
	border: solid 1px #000;
}
.referral-code__txt{
	width: fit-content;
	padding: 0 0 2px 2px;
	margin: 0 auto 15px;
	background: linear-gradient(transparent 62%, #DEDEDE 62%);
	font-size: 2rem;
	line-height: 1.4;
	font-weight: bold;
	text-align: center;
}
.referral-code__btn{
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
	width: 640px;
	min-width: 17.5em;
	height: 60px;
	margin: 0 auto;
	border: solid 2px #959595;
	border-radius: 8px;
	background: linear-gradient(20deg,#fff 20%,#cacaca 100%);
	box-shadow: 0 4px 4px rgb(0 0 0 /25%);
	text-decoration: none;
	color: #333;
	font-size: 2.5rem;
	font-weight: bold;
	font-family: var(--mincho-font);
	text-align: center;
	filter: brightness(1);
	transition: filter .7s;
}
.referral-code__btn:hover{
	filter: brightness(1.2);
}
.referral-attention{
	padding: 30px 0;
}
.referral-attention__wrap{
	width: 800px;
	margin: 0 auto;
	padding: 30px 25px 20px 20px;
	border: solid 1px #5B3E2E;
	background: #F0ECE8;
	color: #5B3E2E;
}

.referral-attention__ttl{
	margin-bottom: 20px;
	color: #5B3E2E;
	font-family: var(--mincho-font);
	font-size: 18px;
	line-height: 1;
	text-align: center;
}

  /* =====================================
	初めてのお客様へ　バナーリンク「
======================================= */

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