@charset "utf-8";

/* common
-------------------------------- */
html {
	font-size: 100%;
	overflow-y: scroll;
}

body {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	font-family: "Yu Gothic Medium", "游ゴシック Medium", YuGothic, "游ゴシック体", "ヒラギノ角ゴ Pro W3", sans-serif;
	color: #333;
}

a {
	text-decoration: none;
	color: #333;
}

img {
	max-width: 100%;
}

#container {
	position: relative;
	width: 100%;
	max-width: 1200px;
	min-width: 320px;
	margin: 0 auto;
	line-height: 1.5;
}

.tp,
.sp {
	display: none;
}



/* header
-------------------------------- */
header {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	display: flex;
	justify-content: space-between;
	min-height: 125px;
	margin-top: -1px;
	z-index: 100;
	/* 桜色(spring)
	background: linear-gradient(180deg, rgba(254, 238, 237, .6) 24%, rgba(255, 255, 255, 0) 24% 100%); */
	/* 鮮緑(summer) */
	background: linear-gradient(180deg, rgba(108, 187, 90, .2) 24%, rgba(255, 255, 255, 0) 24% 100%);
	/* 黄蘗色(autumn)
	background: linear-gradient(180deg, rgba(252, 241, 110, .2) 24%, rgba(255, 255, 255, 0) 24% 100%); */
	/* 秘色(winter)
	background: linear-gradient(180deg, rgba(132, 185, 203, .2) 24%, rgba(255, 255, 255, 0) 24% 100%); */
}

header h1 {
	width: 400px;
	margin-top: 30px;
	padding-left: 20px;
	/* 桜色(spring)
	background: url(../images/logo/logoBg_spr.png) no-repeat left top; */
	/* 鮮緑(summer) */
	background: url(../images/logo/logoBg_sum.png) no-repeat left top;
	/* 黄蘗色(autumn)
	background: url(../images/logo/logoBg_aut.png) no-repeat left top; */
	/* 秘色(winter)
	background: url(../images/logo/logoBg_win.png) no-repeat left top; */
}

header h1 img {
	width: 85px;
	margin-top: -10px;
}

.nav {
	min-width: 200px;
	display: flex;
	justify-content: flex-end;
	margin-top: 55px;
	padding-right: 20px;
}

.nav li {
	width: 50px;
	z-index: 10;
}

.nav li+li {
	margin-left: 20px;
}

.nav li a {
	display: block;
	height: 0px;
	width: 50px;
	padding-top: 50px;
	overflow: hidden;
}

.nav .nav1 a {
	background: url(../images/icon/twit_1.png) top left / 50px 50px no-repeat;
}

.nav .nav2 a {
	background: url(../images/icon/inst_1.png) top left / 50px 50px no-repeat;
}

.nav .nav3 a {
	background: url(../images/icon/contact_1.png) top left / 50px 50px no-repeat;
}

.nav .nav1 a:hover {
	background: url(../images/icon/twit_2.png) top left / 50px 50px no-repeat;
}

.nav .nav2 a:hover {
	background: url(../images/icon/inst_2.png) top left / 50px 50px no-repeat;
}

.nav .nav3 a:hover {
	background: url(../images/icon/contact_2.png) top left / 50px 50px no-repeat;
}
/*
.nav a:hover {
	text-decoration: underline;
}

#home .link .nav1 a,
#matsumo .link .nav2 a,
#moshida .link .nav3 a,
#contact .link .nav4 a {
	color: #78a6be;
}
*/



/* hamburgerMenu
-------------------------------- */
.menu-btn {
	position: fixed;
	top: -1px;
	right: 10px;
	display: flex;
	height: 60px;
	width: 60px;
	justify-content: center;
	align-items: center;
	z-index: 90;
}

.menu-btn span,
.menu-btn span:before,
.menu-btn span:after {
	content: '';
	display: block;
	height: 3px;
	width: 25px;
	border-radius: 3px;
	background: rgba(0, 0, 0, .75);
	position: absolute;
	transition: all .5s;
}

.menu-btn span:before {
	bottom: 8px;
}

.menu-btn span:after {
	top: 8px;
}

#menu-btn-check:checked ~ .menu-btn span {
	background: rgba(255, 255, 255, 0);
}

#menu-btn-check:checked ~ .menu-btn span::before {
	bottom: 0;
	background: rgba(255, 255, 255, 1);
	transform: rotate(45deg);
}

#menu-btn-check:checked ~ .menu-btn span::after {
	top: 0;
	background: rgba(255, 255, 255, 1);
	transform: rotate(-45deg);
}

#menu-btn-check {
	display: none;
}

.menu-content {
	width: 40%;
	height: 100%;
	position: fixed;
	top: 0;
	left: 100%;
	z-index: 80;
	background: rgba(0, 0, 0, .75);
	transition: all .5s;
}

.menu-content ul {
	padding: 70px 10px 0;
}

.menu-content ul li {
	border-bottom: solid 1px #fff;
	list-style: none;
	margin-bottom: 10px;
}

.menu-content ul li a {
	display: block;
	width: 100%;
	font-size: 15px;
	box-sizing: border-box;
	color:#ffffff;
	text-decoration: none;
	padding: 9px 25px 10px 10px;
	position: relative;
}

.menu-content ul li a::before {
	content: "";
	width: 7px;
	height: 7px;
	border-top: solid 2px #fff;
	border-right: solid 2px #fff;
	transform: rotate(45deg);
	position: absolute;
	right: 11px;
	top: 16px;
}

#menu-btn-check:checked ~ .menu-content {
	left: 60%;
}

.hbgMenu {
	display: none;
}



/* main
-------------------------------- */
main {
	width: 100%;
	margin: 0 auto;
}

#mainVisual {
	position: relative;
	min-height: 100vh;
}

#contents {
	display: flex;
	justify-content: space-between;
	margin: 0 auto;
	padding: 0 20px;
}



/* heading
-------------------------------- */
/*h2 {
	font-size: 2rem;
	font-weight: normal;
	text-align: center;
	border-bottom: 1px solid #ccc;
	margin: 0 100px 20px;
}*/

h2,
h3 {
	font-size: 1.5rem;
	font-weight: normal;
	border-bottom: 1px solid #ccc;
	margin-bottom: 20px;
	padding: 0 10px;
}



/* footer
-------------------------------- */
footer {
	background: #333;
	color: #fff;
	font-size: 0.875rem;
	text-align: center;
	padding: 20px 0;
}

footer .nav {
	justify-content: center;
	margin: 0 0 20px;
	padding-right: 0;
}

footer a {
	color: #fff;
}

footer .link li+li::before {
	content: " | ";
}

footer .link li a:hover {
	text-decoration: underline;
}

#home footer .link1 a,
#matsumo footer .link2 a,
#moshida footer .link3 a,
#contact footer .link4 a {
	color: #78a6be;
}



/* button
-------------------------------- */
.button {
	font-size: 1.25rem;
	background: #0bd;
	color: #fff;
	border-radius: 25px;
	border: none;
	box-shadow: inset 2px 5px rgba(51, 51, 51, .3);
	padding: 10px 30px 8px;
	transition: all 0.5s 0s ease;
}

.button:hover {
	background: #0090aa;
}



/* grid
-------------------------------- */
.grid {
	display: grid;
	gap: 10px;
	grid-template-columns: repeat(auto-fit, minmax(115px, 1fr));
	margin-bottom: 0px;
}



/* modal
-------------------------------- */
.modal{
	display: none;
	height: 100vh;
	position: fixed;
	top: 0;
	width: 100%;
}

.modal__bg {
	background: rgba(0,0,0,0.8);
	height: 100vh;
	position: absolute;
	width: 100%;
}

.modal__content {
	background: #fff;
	left: 50%;
	padding: 40px;
	position: absolute;
	top: 50%;
	transform: translate(-50%,-50%);
	width: 60%;
}



/* scrool
-------------------------------- */
.bg a {
	display: inline-block;
	position: absolute;
	right: 5rem;
	bottom: 120px;
	z-index: 2;
	padding: 10px 10px 110px;
	overflow: hidden;
	color: #333;
	font-size: 14px;
	font-family: 'Josefin Sans', sans-serif;
	line-height: 1;
	letter-spacing: .2em;
	text-shadow: 0 0 10px #fff;
	text-transform: uppercase;
	text-decoration: none;
	writing-mode: vertical-lr;
}

.bg a::before {
	content: '';
	position: absolute;
	bottom: 0;
	left: 50%;
	width: 1px;
	height: 100px;
	background: rgba(255, 255, 255, .4);
}

.bg a::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 50%;
	width: 1px;
	height: 100px;
	background: #333;
	animation: sdl 1.5s cubic-bezier(1, 0, 0, 1) infinite;
}

@keyframes sdl {
	0% {
		transform: scale(1, 0);
		transform-origin: 0 0;
	}
	
	50% {
		transform: scale(1, 1);
		transform-origin: 0 0;
	}
	
	50.1% {
		transform: scale(1, 1);
		transform-origin: 0 100%;
	}
	
	100% {
		transform: scale(1, 0);
		transform-origin: 0 100%;
	}
}



/* mobile
-------------------------------- */
@media (max-width: 879px) {
	.bg a {
		bottom: 60px;
	}
	.pc {
		display: none;
	}
	
	.tp {
		display: block;
	}
}

@media (max-width: 800px) {
	#contents {
		display: block;
		padding-top: 52px;
	}
}

@media (max-width: 600px) {
	header {
		height: 100px;
	}
	
	header h1 {
		position: static;
		width: 100%;
		vertical-align: bottom;
		margin-left: 20px;
		padding: 10px 0;
		background: none;
	}
	
	header h1 img {
		width: 100px;
		margin-top: 5px;
	}
	
	header h1 .square {
		position: static;
	}
	
	header h1 .wave {
		display: none;
	}
	
	#nav {
		width: 100%;
		justify-content: center;
		font-size: 1rem;
		margin-top: 10px;
		margin-right: 12px;
	}
	
	#nav li {
		margin: 0 10%;
	}
	
	#nav li+li {
		margin-left: 0;
	}
	
	#nav a {
		text-align: center;
	}
	
	.page-header {
		flex-direction: column;
		align-items: center;
	}
		
	.hbgMenu {
		display: block;
	}
	
	main {
		width: 100%;
		min-width: 320px;
	}
	
	.bg a {
		bottom: 50px;
	}
	
	.tp {
		display: none;
	}
	
	.sp {
		display: block;
	}
}



