@charset "utf-8";
body,div,dl,dt,dd,ul,ol,li,p,h1,h2,h3,h4,h5,h6,th,td,pre,code,blockquote,form,fieldset,legend,input,textarea,figcaption,figure{margin:0;padding:0}
table{border-collapse:collapse;border-spacing:0}
fieldset,img{border:0}
address,caption,cite,code,dfn,em,th,var{font-style:normal;font-weight:normal}
li{list-style:none}
caption,th{text-align:left}
h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal}
q:before,q:after{content:''}
abbr,acronym{border:0;font-variant:normal}
sup{vertical-align:text-top}
sub{vertical-align:text-bottom}
input,textarea,select{font-family:inherit;font-size:inherit;font-weight:inherit}
input,textarea,select{font-size:100%;}
legend{color:#FFF}
hr{display:none}
img{max-width: 100%;vertical-align: middle;}
select,input,button,textarea{font-size:99%}
table{font-size:inherit;font:100%;border-collapse:collapse;border-spacing:0}
pre,code,kbd,samp,tt{font-family:monospace;font-size:108%;line-height:100%}
article,aside,details,figcaption,figure,footer,header,hgroup,hr,menu,nav,section,main{display:block}*{margin:0;padding:0;box-sizing:border-box;max-height:999999px;outline:none;}*:focus{outline: none;}
button{background-color:transparent;border:none;cursor:pointer;outline:none;padding:0;}
* {box-sizing: border-box;}

/*-----------------------------------------------
 * Bace
-------------------------------------------------*/
:root {
	/* color */
	--txtColor: #0f1113;
	--mainColor: #013781;/* メインカラー */

	/* speed */
	--speed: all, .3s, ease, .3s;
}

/*-----------------------------------------------
 * SPデザイン
-------------------------------------------------*/
html {
	/* font-sizeをvwで指定 390px幅で10px指定 */
	font-size: clamp(9px, 2.6vw , 12px);
}
body {
	background-color: #e1f5f8;
	font-family: "Noto Sans JP", sans-serif;
	font-weight: 600;
	line-height: 1.5;
	font-size: 1.4em;
	font-feature-settings: "palt";
}
h1,h2,h3,h4,h5,h6 {
	font-weight: 600;
}
main {
	width: 100%;
	margin: auto;
	overflow-x: hidden;
}
.bg-video {
	display: none;
}
/* top */
#top {
	padding-top: 2rem;
	background-image: url('../images/referral/bg.png');
	background-repeat: no-repeat;
	background-size: cover;
	position: relative;
}
#top::after {
	content: "";
	display: inline-block;
	width: 100vw;
	height: 7.7vw;
	background-image: url('../images/referral/nami_white.svg');
	background-size: cover;
	background-repeat: no-repeat;
	position: absolute;
}
h1 {
	font-size: 3.2rem;
	letter-spacing: .15em;
	margin-bottom: 2rem;
}
h1 .copy {
	display: inline-block;
	color: #fff;
	background-color: var(--mainColor);
	padding: 0 1em;
	border-radius: 0 .5rem .5rem 0;
}
h1 .copy:first-of-type {
	margin-bottom: .6rem;
}
.ship {
	text-align: center;
}
.ship img {
	width: 43.5vw;
}
.nami01 {
	width: 130vw;
	position: absolute;
	top: 86vw;
	left: -7vw;
}
.nami02 {
	width: 60.7vw;
	position: absolute;
	top: 35vw;
	left: 1vw;
}
.top-txt {
	color: var(--mainColor);
	font-size: 1.6rem;
	font-weight: 900;
	text-align: center;
	padding: 12rem 0 4rem 0;
	background-image: linear-gradient(rgba(255,255,255,0), 15%,rgba(255,255,255,1));
	position: relative;
}
.top-txt p:nth-of-type(2) {
	font-size: 1.8rem;
	margin-top: 2.5rem;
}
/* about */
h2 {
	font-size: 2.1rem;
	color: #fff;
	display: inline-block;
	background-color: var(--mainColor);
	padding: .1em .7em;
	border-radius: .5rem;
}
#about,
#recruitment {
	text-align: center;
	padding: 6rem 2rem;
	position: relative;
} 
#about::after {
	content: "";
	display: inline-block;
	width: 100vw;
	height: 7.7vw;
	background-image: url('../images/referral/nami_white.svg');
	background-size: cover;
	background-repeat: no-repeat;
	transform: scale(-1, -1);
	position: absolute;
	bottom: 0;
	left: 0;
}
#about h2 {
	margin-bottom: 3.5rem;
}
#about div {
	background-color: #fff;
	padding: 2.5rem 1rem;
	border-radius: 1rem;
	border: solid 2px;
	position: relative;
	margin-bottom: 3.5rem;
}
#about h3 {
	display: flex;
	align-items: center;
	font-size: 2.4rem;
	font-weight: 900;
	padding: 0 .2em;
	position: absolute;
	top: -2rem;
	background: linear-gradient(0deg, rgba(255,255,255,1) 50%,rgba(255,255,255,0) 50%);
}
#about h3 span {
	font-size: 1rem;
	padding-left: .5rem;
}
/* recruitment */
#recruitment::after {
	content: "";
	display: inline-block;
	width: 100vw;
	height: 7.7vw;
	background-image: url('../images/referral/nami_white.svg');
	background-size: cover;
	background-repeat: no-repeat;
	/*transform: scale(1, -1);*/
	position: absolute;
	bottom: -7.7vw;
	left: 0;
}
.philosophy {
	border-color: var(--mainColor);
	color: var(--mainColor);
}
.philosophy .col {
	display: inline-block;
	font-size: 2.1rem;
	font-weight: 900;
	margin-bottom: 1rem;
}
.philosophy .cell {
	width: 3rem;
	height: 3rem;
	border: solid 1px var(--mainColor);
	display: inline-flex;
	justify-content: center;
	align-items: center;
}
.philosophy .cell + .cell {
	border-left: none;
}
.philosophy p:nth-of-type(2) {
	color: var(--txtColor);
	margin-top: .5rem;
}
.mission {
	border-color: #dc594f;
	color: #dc594f;
}
.mission li {
	width: 85%;
	font-size: 1.8rem;
	font-weight: 900;
	background-color: #fff4f3;
	border-radius: .5rem;
	padding: .8rem 0;
	margin: auto;
}
.mission li + li {
	margin-top: 1rem;
}
.value {
	border-color: #fca73d;
	color: #fca73d;
	font-size: 1.8rem;
	font-weight: 900;
}
.about-txt {
	font-size: 1.6rem;
	font-weight: 900;
	color: var(--mainColor);
}
.about-txt span {
	display: block;
	margin-bottom: 1rem;
}

/* 募集ポジション */
#recruitment {
	background-color: #fff;
	padding: 3rem 2rem;
	position: relative;
}
#recruitment h2 {
	margin-bottom: 2rem;
}
.position-item {
	color: var(--mainColor);
	background-color: #d7e2f1;
}
.position-item + .position-item {
	margin-top: 1rem;
}
.position-head {
	display: flex;
	align-items: center;
	padding: 1rem 2rem;
	background-color: #fff;
	border-radius: .5rem;
	border: solid 1px var(--mainColor);
	transition: var(--speed);
	position: relative;
}
.position-head:hover {
	cursor: pointer;
	opacity: .7;
}
.position-head:focus {
	opacity: 1;
}
.position-head::after {
	content: "";
	display: inline-block;
	width: 1.4rem;
	height: 1rem;
	background-image: url(../images/referral/arrow.svg);
	background-size: contain;
	background-repeat: no-repeat;
	position: absolute;
	top: 0;
	bottom: 0;
	right: 2rem;
	margin: auto;
	transition: var(--speed);
}
.position-head.active::after {
	transform: scale(1, -1);
}
.category-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 5rem;
	height: 5rem;
	background-color: #e8f0fb;
	border-radius: 50%;
	padding: .5rem;
	margin-right: 2rem;
}
.category-name {
	font-size: 1.8rem;
}
.position-content {
	display: none;
	background-color: #d7e2f1;
	padding: 2rem 1.5rem;
}
.job {
	background-color: #fff;
	border-radius: .5rem;
	padding: 1.5rem;
	text-align: left;
}
.job + .job {
	margin-top: 1.5rem;
}
.job-name {
	font-size: 1.6rem;
	padding-bottom: .5rem;
	border-bottom: solid 1px;
	margin-bottom: .7rem;
}
.job-description {
	color: var(--txtColor);
	font-weight: 500;
	margin-bottom: 1rem;
}
.link {
	text-align: right;
}
.link a {
	color: var(--mainColor);
	text-decoration: none;
	transition: var(--speed);
	padding: 0 1.7rem .2rem 0;
	position: relative;
}
.link a:hover {
	opacity: .7;
}
.link a::after {
	content: "";
	display: inline-block;
	width: 1.5rem;
	height: 1.5rem;
	background-image: url(../images/referral/arrow02.svg);
	background-repeat: no-repeat;
	background-size: contain;
	position: absolute;
	top: 0;
	bottom: 0;
	right: 0;
	margin: auto;
}
/* footer */
footer {
	background-color: var(--mainColor);
	color: #fff;
	text-align: center;
	padding: 6rem 0 2rem 0;
}
.message {
	font-size: 2.1rem;
	margin-bottom: 2.5rem;
}
footer img {
	width: 38.5vw;
	margin-bottom: 2.5rem;
}
.copyright {
	font-size: 1.2rem;
	font-weight: 500;
}

/*-----------------------------------------------
 * PCデザイン
-------------------------------------------------*/
@media screen and (min-width: 768px) {
	html {
		/* rootのfont-sizeをvwで指定 1440px幅で10px指定 */
		font-size: clamp(9px, .695vw , 12px);
	}
	main {
		width: clamp(390px, 30vw, 500px);
		box-shadow: 0px 0px 50px #bfe9ef;
		background-color: #e1f5f8;
	}
	.bg-video {
		display: block;
		position: fixed;
    width: 100%;
    height: 100vh;
    z-index: -1;
    top: 0;
    left: 0;
    mix-blend-mode: soft-light;
    opacity: 0.6;
    pointer-events: none;
	}
	.bg-video .bg-video-inner video {
		position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    filter: grayscale(1);
	}
	/* top */
	#top::after,
	#about::after,
	#recruitment::after {
		width: clamp(390px, 30vw, 500px);
		/*height: 2.4vw;*/
		height: max(2.4vw, 30px);
	}
	.ship img {
		width: clamp(170px, 11.8vw, 200px);
	}
	.nami01 {
		width: clamp(530px, 36.8vw, 560px);
		top: clamp(315px, 24.65vw, 420px);
		left: -33px;
	}
	.nami02 {
		width: clamp(252px, 17.5vw, 270px);
		top: clamp(120px, 9.72vw, 170px);
	}
	/* recruitment */
	#recruitment::after {
		bottom: min(-2.4vw, -30px);;
	} 

	/* footer */
	footer img {
		width: 10.41vw;
	} 
}