@charset "utf-8";

* {
	box-sizing: border-box;
	word-break: break-all;
	-webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
html {
	/* font-size: 62.5%; */
}
body {
	font-size: 1.4rem;
	min-width: 1200px;
	color: #333;
	line-height: 1.8;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
}


/* loader
------------------------------------------------------------*/
#loader {
  width: 100%;
  height: 100%;
  background: #fff;
  text-align: center;
  position: fixed;
  z-index: 99999;
  top: 0;
  left: 0;
}
#loader div {
  position: absolute;
  top: 50%;
  left: 50%;
	-webkit-transform: translate(-50%,-50%);
	transform: translate(-50%,-50%);
}



/* nav
------------------------------------------------------------*/
#menuBtn {
	display: none;
}
nav > ul {
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: flex;
	-webkit-align-items: center;
	-moz-align-items: center;
	-ms-align-items: center;
	align-items: center;
}
nav > ul > li {
	position: relative;
}
nav > ul > li > a,
nav > ul > li > span {
	font-size: 1.5rem;
	font-weight: 600;
	line-height: 100px;
	color: #333;
	padding: 0 1.5vw;
	display: inline-block;
	text-decoration: none;
	position: relative;
	transition: .3s;
}
nav > ul > li:hover > a,
nav > ul > li:hover > span {
	background: #eef4fa;
}
nav > ul > li.ac > a,
nav > ul > li.ac > span {
	color: #1fb9e0;
	background: #eef4fa;
}
nav .subMenu {
	width: max-content;
  max-height: 0;
	overflow: hidden;
  position: absolute;
  left: 0;
  opacity: 0;
  transition: all .3s ease-in;
}
nav .subMenu li {
  text-align: center;
}
nav > ul > li:hover .subMenu,
nav > ul > li:checked .subMenu {
  max-height: 9999px;
  opacity: 1;
}
nav .subMenu li a {
	color: #fff;
	background: #1fb9e0;
	padding: 10px 20px;
	display: block;
	text-decoration: none;
	transition: .3s;
}
nav .subMenu li a:hover {
	background: #17aed3;
}
#spNav .btn {
	display: none;
}
.top nav .subMenu li a {
	background: #333;
}
.top nav .subMenu li a:hover {
	background: #111;
}


/* ページトップへ
------------------------------------------------------------*/
.pagetop {
	display: none;
	position: fixed;
	right: 3%;
	bottom: 30px;
	z-index: 100;
}
.pagetop a {
	transition: .3s;
}
.pagetop a:hover {
	opacity: .6;
}
.pagetop a::before {
	content: "";
	width: 16px;
	height: 16px;
	border-left: 3px solid #a5cc2b;
	border-top: 3px solid #a5cc2b;
	display: inline-block;
	-ms-transform: rotate(45deg);
	-webkit-transform: rotate(45deg);
	transform: rotate(45deg);
}


/* footer
------------------------------------------------------------*/
footer {
	font-size: 1.3rem;
	color: #eee;
	background: #333;
}
footer .topArea {
	padding: 50px 0;
	border-bottom: 1px solid #666;
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: flex;
}
footer .topArea .box {
	width: -webkit-calc(100% / 3);
	width: calc(100% / 3);
}
footer .topArea ul li:not(:last-child) {
	margin-bottom: 10px;
}
footer .topArea ul li::before {
	content: "";
	width: 4px;
	height: 1px;
	background: #ddd;
	margin-right: 10px;
	display: inline-block;
	position: relative;
	top: -4px;
}
footer .topArea ul li a {
	color: #fff;
	text-decoration: none;
}
footer .topArea ul li a:hover {
	text-decoration: underline;
}
footer .bottomArea {
	padding: 50px 0;
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: flex;
	-webkit-box-pack: justify;
	-webkit-justify-content: space-between;
	-moz-justify-content: space-between;
	-ms-justify-content: space-between;
	justify-content: space-between;
	-webkit-align-items: baseline;
	-moz-align-items: baseline;
	-ms-align-items: baseline;
	align-items: baseline;
}
footer .bottomArea .leftArea {
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: flex;
	-webkit-align-items: center;
	-moz-align-items: center;
	-ms-align-items: center;
	align-items: center;
}
footer .bottomArea .leftArea .logo {
	margin-right: 2vw;
	display: inline-block;
}
footer .bottomArea .leftArea p {
	font-size: 1.2rem;
}
footer .bottomArea .rightArea .snsArea {
	text-align: right;
}
footer .bottomArea .rightArea .snsArea li {
	width: 30px;
	line-height: 30px;
	background: #eee;
	display: inline-block;
	border-radius: 50%;
	text-align: center;
}
footer .bottomArea .rightArea .snsArea li:not(:last-child) {
	margin-right: 3px;
}
footer .bottomArea .rightArea .snsArea li a {
	display: block;
}
footer .bottomArea .rightArea .snsArea li img {
	vertical-align: middle;
}
footer .bottomArea .rightArea .copy {
	font-size: 1rem;
}


@media screen and (max-width:767px) {
	
	* {
		-webkit-appearance: none;
	}
	body {
		line-height: 1.5;
		min-width: inherit;
		padding-top: 60px;
	}
	
	
	/* header
	------------------------------------------------------------*/
	header {
		width: 100%;
		background: #fff;
		padding:  10px 0 10px 5vw;
		position: fixed;
		top: 0;
		left: 0;
		z-index: 1000;
	}
	header .logo img {
		height: 40px;
	}
	header .btn {
		display: none;
	}
	
	
	/* nav
	------------------------------------------------------------*/
	#navToggle {
		background: #F2F2F2;
		padding: 23px 30px;
		position: fixed;
		top: 0;
		right: 0;
		height: 60px;
	}
	#navToggle > div {
		position: relative;
		width: 15px;
	}
	#navToggle span {
		width: 100%;
		height: 1px;
		left: 0;
		display: block;
		background: #262626;
		position: absolute;
		transition: transform 0.6s ease-in-out, top 0.5s ease;
	}
	#navToggle span:nth-child(1) {
		top: 0;
	}
	#navToggle span:nth-child(2) {
		top: 6px;
	}
	#navToggle span:nth-child(3) {
		top: 12px;
	}
	.open #navToggle {
		background: #FFF;
	}
	.open #navToggle span {
		background: #1fbae0;
	}
	.open #navToggle span:nth-child(1) {
		top: 6px;
		transform: rotate(45deg);
	}
	.open #navToggle span:nth-child(2) {
		top: 6px;
		width: 0;
		left: 50%;
	}
	.open #navToggle span:nth-child(3) {
		top: 6px;
		transform: rotate(-45deg);
	}
	#navToggle {
		z-index: 1000;
	}
	#spNav {
		background: #1fbae0;
		padding:  0 10vw;
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 990;
		visibility: hidden;
		opacity: 0;
		transition: opacity 0.6s ease, visibility 0.6s ease;
	}
	#spNav nav {
		padding-top: 15vh;
	}
	#spNav nav a,
	#spNav nav span {
		font-size: 1.5rem;
		line-height: 1;
		color: #FFF;
		padding-right: 0;
		transition: color 0.6s ease;
	}
	#spNav nav > ul {
		width: 100%;
		margin-bottom: 8vh;
		display: block;
	}
	#spNav nav > ul > li {
		opacity: 0;
		transform: translateX(200px);
		transition: transform 0.6s ease, opacity 0.2s ease;
	}
	#spNav nav > ul > li:hover > a,
	#spNav nav > ul > li:hover > span {
		background: none;
	}
	#spNav nav > ul > li.ac > a,
	#spNav nav > ul > li.ac > span {
		background: none;
	}
	#spNav .btn {
		line-height: inherit;
		padding: 15px;
		display: block;
		text-align: center;
	}
	nav .menu > a .icon {
		display: none;
	}
	#spNav nav > ul > li:not(:last-child) {
		margin-bottom: 30px;
	}
	#spNav nav > ul > li:nth-child(2) {
		transition-delay: 0.15s;
	}
	#spNav nav > ul > li:nth-child(3) {
		transition-delay: 0.3s;
	}
	#spNav nav > ul > li:nth-child(4) {
		transition-delay: 0.45s;
	}
	#spNav nav > ul > li:nth-child(5) {
		transition-delay: 0.6s;
	}
	#spNav nav > ul > li:nth-child(6) {
		transition-delay: 0.75s;
	}
	#spNav nav > ul > li:nth-child(7) {
		transition-delay: 0.9s;
	}
	#spNav nav > ul > li > a,
	#spNav nav > ul > li > span{
		font-weight: 600;
	}
	#spNav nav .subMenu {
		max-height: inherit;
		background: none;
		padding: 0;
		margin: 15px 0 0 25px;
		display: block;
		position: static;
		opacity: 1;
	}
	#spNav nav .subMenu li {
		text-align: left;
	}
	#spNav nav .subMenu li:not(:last-child),
	#spNav nav > ul > li ul li:not(:last-child) {
		margin-bottom: 10px;
	}
	#spNav nav .subMenu li a {
		background: none;
		padding: 0;
	}
	.open {
		overflow: hidden;
	}
	.open #spNav {
		visibility: visible;
		opacity: 1;
	}
	.open #spNav li {
		line-height: 1;
		opacity: 1;
		transform: translateX(0);
		transition: transform 1s ease, opacity 0.9s ease;
	}
	
	
	/* ページトップへ
	------------------------------------------------------------*/
	.pagetop {
		right: 0;
		bottom: 0;
	}
	.pagetop a {
		background: #fff;
		padding: 8px 12px;
		display: inline-block;
	}
	.pagetop a::before {
		width: 10px;
		height: 10px;
		position: relative;
		top: 4px;
	}


	/* footer
	------------------------------------------------------------*/
	footer {
		font-size: 1.2rem;
	}
	footer .topArea {
		padding: 20px 0;
		display: block;
	}
	footer .topArea .box {
		width: 100%;
	}
	footer .topArea .box:not(:last-child) {
		margin-bottom: 10px;
	}
	footer .bottomArea {
		padding: 20px 0;
		-webkit-flex-wrap: wrap;
		flex-wrap: wrap;
	}
	footer .bottomArea .leftArea {
		width: 100%;
		margin-bottom: 20px;
		display: block;
		text-align: center;
	}
	footer .bottomArea .leftArea .logo {
		margin: 0 0 10px;
	}
	footer .bottomArea .rightArea {
		width: 100%;
		text-align: center;
	}
	footer .bottomArea .rightArea .snsArea {
		margin-bottom: 10px;
		text-align: center;
	}
}