/* FONTS */
@font-face {
	font-family: 'MPLUS Light';
	src: url('/src/assets/font/MPLUS1p-Light.ttf');
}
@font-face {
	font-family: 'MPLUS Regular';
	src: url('/src/assets/font/MPLUS1p-Regular.ttf');
}
@font-face {
	font-family: 'MPLUS Bold';
	src: url('/src/assets/font/MPLUS1p-Bold.ttf');
}
@font-face {
	font-family: 'Walkway Black';
	src: url('/src/assets/font/Walkway-Black.ttf');
}

/* GENERAL */
* {
	box-sizing: border-box;
}
html {
	font-family: 'MPLUS Regular', sans-serif;
	font-size: 10px;
	color: #333;
	scroll-behavior: smooth;
}
body {
	font-size: 1.6rem;
}
.inner {
	margin: 0 auto;
	max-width: 160rem;
	padding: 0 4rem;
}
strong {
	font-weight: 600;
}
a {
	display: inline-block;
	color: #333;
	text-decoration: none;
}
p {
	line-height: 1.5;
}
@media screen and (max-width: 768px) {
	html {
		font-size: 8px;
	}
	.inner {
		padding: 0 2rem;
	}
}

/* HEADER */
header {
	background-color: rgba(255,255,255,0.95);
	border-top: 2rem solid #222;
}
header::before {
	content: '';
	position: absolute;
	top: 0.9rem;
	left: 50%;
	width: 20rem;
	height: 2rem;
	transform: translateX(-50%);
	background-color: #222;
	clip-path: polygon(
		0 0,
		100% 0,
		calc(100% - 1rem) 100%,
		1rem 100%
	);
}
header::after {
	content: '';
	display: table;
	clear: both;
}
header .inner {
	padding: 0;
}
header h1 {
	float: left;
}
header h1 a {
	display: block;
	padding: 3.2rem 2rem 1.8rem;
	width: 35.4rem;
}
header h1 a img {
	width: 100%;
}
@media screen and (max-width: 768px) {
	header h1 {
		float: none;
		margin-top: 2rem;
	}
	header h1 a {
		margin: 0 auto;
	}
}

/* CONTACT */
.contact-sns {
	float: right;
	margin-top: 2.5rem;
	margin-right: 2rem;
	font-family: 'MPLUS Regular';
	font-size: 3rem;
	margin-top: 3.5rem; /* TEMP */
}
.contact-sns li {
	float: left;
	margin-left: 0.3rem;
}
.contact-sns li:first-child {
	margin-right: 1rem;
	padding: 0.5rem 0;
	font-size: 1.2rem;
	color: #666;
	font-size: 2.2rem; /* TEMP */
	font-weight: 400; /* TEMP */
}
.contact-sns li a {
	color: #333;
}
@media screen and (max-width: 768px) {
	.contact-sns {
		float: none;
		width: 100%;
		margin-top: 1rem;
		margin-bottom: 2rem;
		margin-right: 0;
	}
	.contact-sns li {
		float: none;
		text-align: center;
		line-height: 1.2;
	}
	.contact-sns li span {
		display: block;
		overflow: hidden;
		height: 0;
	}
}

/* NAV */
nav {
	clear: right;
	float: right;
	margin-right: 0.75rem;
}
nav ul li {
	float: left;
}
nav ul li a {
	padding: 1rem 1.5rem;
}
.sns-link-facebook {
	color: #1877F2 !important;
}

/* SECTIONS */
section .inner {
	padding: 10rem 4rem;
}
.section-title {
	margin-bottom: 4rem;
	font-family: 'Walkway Black';
	font-size: 4rem;
	letter-spacing: 2px;
}
@media screen and (max-width: 768px) {
	section .inner {
		padding: 8rem 2rem;
	}
}

/* FOOTER */
footer {
	position: relative;
	padding: 7rem 5rem 5rem 5rem;
	background-color: #222;
	color: #fff;
}
footer::before {
	content: '';
	position: absolute;
	top: -1px;
	left: 50%;
	width: 20rem;
	height: 2rem;
	transform: translateX(-50%);
	background-color: #fff;
	clip-path: polygon(
		0 0,
		100% 0,
		calc(100% - 1rem) 100%,
		1rem 100%
	);
}
footer p {
	text-align: center;
}

/* FORM */
.raitech-form .form-group {
	margin-bottom: 2rem;
}
.raitech-form label {
	display: block;
	margin-left: 1rem;
	margin-bottom: 0.5rem;
	text-transform: uppercase;
	font-size: 1.4rem;
	font-weight: 600;
}
.raitech-form input,
.raitech-form textarea {
	display: block;
	padding: 1rem;
	width: 100%;
	background-color: rgba(0,0,0,0.02);
	border: 0;
	border-bottom: 1px solid #aaa;
	font-family: 'MPLUS Regular';
	font-size: 1.6rem;
	resize: none;
	outline: none;
}
.raitech-form textarea {
	min-height: 10rem;
}
.g-recaptcha {
	margin-bottom: 2rem;
}

/* BUTTONS */
.btn {
	display: inline-block;
	cursor: pointer;
	background-color: #333;
	border: 0;
	font-family: 'MPLUS Regular';
	color: #fff;
	-webkit-transition: all 250ms ease;
	-moz-transition: all 250ms ease;
	-o-transition: all 250ms ease;
	transition: all 250ms ease;
	line-height: 1;
}
.btn-md {
	padding: 1.5rem 5rem 1.5rem 4rem;
	font-size: 1.6rem;
	clip-path: polygon(
		0 0,
		100% 0,
		calc(100% - 1.5rem) 100%,
		0 100%
	);
}
.btn-sm {
	padding: 1rem 2.5rem 1rem 2rem;
	font-size: 1.4rem;
	clip-path: polygon(
		0 0,
		100% 0,
		calc(100% - 1.2rem) 100%,
		0 100%
	);
}
.btn-blue {
	background-color: #36c !important;
}
.btn-red {
	background-color: #c00 !important;
}
.btn-black {
	background-color: #333 !important;
}
.btn-white {
	background-color: #eee !important;
	color: #333;
}
.btn-with-loader img {
	width: 5.3rem;
}
.loader-container {
	float: left;
	width: 0;
	height: 5.3rem;
	overflow: hidden;
	-webkit-transition: all 100ms ease;
	-moz-transition: all 100ms ease;
	-o-transition: all 100ms ease;
	transition: all 100ms ease;
}
.loader-container.open {
	width: 5.3rem;
}
@media screen and (min-height:769px) {
	.btn:hover {
		opacity: 0.8;
	}
}

/* COLUMNS */
.col-2 {
	margin: 0 -1rem;
}
.col-2::after {
	content: '';
	clear: both;
	display: table;
}
.col-2 > div {
	float: left;
	width: 50%;
	padding: 0 1rem;
}
@media screen and (max-width: 768px) {
	.col-2 > div {
		float: none;
		width: 100%;
	}
}