@charset "UTF-8";
/* CSS Document */
@import url('https://fonts.googleapis.com/css2?family=Hanken+Grotesk:ital,wght@0,100..900;1,100..900&family=Noto+Sans+JP:wght@100..900&display=swap');

html,
body {
	padding: 0;
	margin: 0;
	font-family: "Noto Sans JP", sans-serif;
}
img,video {
	max-width: 100%;
	border: none;
}
ul,li {
	padding: 0;
	margin: 0;
	list-style: none;
}
a {
	color: #000;
}
h1,h2,h3 {
	line-height: inherit;
	padding: 0;
	margin: 0;
}
p {
	padding: 0;
	margin: 0;
}
.spv {
	display: none;
}
#wrapper {
	position: relative;
	font-size: 14px;
	line-height: 1.6;
}
@media only screen and (max-width: 768px)  {
	.spv {
		display: block;
	}
	.pcv {
		display: none;
	}
	#wrapper {
		font-size: 12px;
	}
	
}

header{
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
	z-index: 1000;
}
.header_inner {
  position: relative;
	padding: 25px;
}
.header_inner h1 {
	max-width: 150px;
	width: 30%;
	line-height: 0;
}
.header_inner nav {
	position: absolute;
	bottom: 25px;
	right: 25px;
}
.header_inner nav .nav_list li{
  display: inline-block;
  text-align: right;
  padding-left: 20px;
}
.header_inner nav .nav_list li a{
	color: #000;
	font-weight: 600;
	font-family: "Hanken Grotesk", sans-serif;
	letter-spacing: 1px
}
@media only screen and (max-width: 768px) {
  .header_inner nav {
    position: fixed;
    right: -60%; /* 右から出てくる */
    top: 0;
    width: 50%; /* スマホに収まるサイズ */
    height: 100vh;
    padding-top: 60px;
    background-color: #fff;
    transition: all .6s;
    z-index: 200;
    overflow-y: auto; /* メニューが多くなったらスクロールできるように */
  }
  .hamburger {
    position: absolute;
    right: 15px;
    top: 15px;
    width: 40px; /* クリックしやすい幅 */
    height: 40px; /* クリックしやすい高さ */
    cursor: pointer;
    z-index: 300;
  }
  .hamburger_border {
    position: absolute;
    left: 11px;
    width: 18px;
    height: 2px;
    background-color: #333;
    transition: all .6s;
  }
  .hamburger_border_top {
    top: 14px;
  }
  .hamburger_border_center {
    top: 20px;
  }
  .hamburger_border_bottom {
    top: 26px;
  }
  .black_bg {
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    z-index: 100;
    background-color: #333;
    opacity: 0;
    visibility: hidden;
    transition: all .6s;
    cursor: pointer;
  }
  .nav-open nav {
    right: 0;
  }
  .nav-open .black_bg {
    opacity: .8;
    visibility: visible;
  }
  .nav-open .hamburger_border_top {
    transform: rotate(45deg);
    top: 20px;
  }
  .nav-open .hamburger_border_center {
    width: 0;
    left: 50%;
  }
  .nav-open .hamburger_border_bottom {
    transform: rotate(-45deg);
    top: 20px;
  }
	.header_inner nav .nav_list li{
	  display: block;
	  text-align: right;
		padding: 5%;
	}
	.header_inner nav .nav_list li a{
		font-size: 20px;
	}
}

footer {
	background: #ecf2c2;
	color: #000;
	text-align: center;
	padding: 100px 0;
	border-top: 4px solid #000;
}
footer .logo {
	max-width: 300px;
	width: 50%;
	margin: 0 auto;
}
footer .data {
	margin: 2.5% auto;
}
footer .data p {
	margin: 5px auto;
}
footer .data a {
	color: #000;
}
@media only screen and (max-width: 768px)  {
	footer {
		text-align: center;
		padding: 25% 0;
	}
	footer .data {
		margin: 10% auto;
	}
}


/*========*/






main {
	position: relative;
}

main h2 {
	text-align: center;
	margin: 75px auto 100px;
	font-size: 40px;
	letter-spacing: 2px;
	font-weight: 600;
	font-family: "Hanken Grotesk", sans-serif;
}
main .btn {
	text-align: center;
	margin: 50px auto;
	position: relative;
	max-width: 150px;
}
main .btn::before {
	content: "";
	background: url("https://keyx.jp/wp/wp-content/themes/keyx/assets/img/icon.svg") no-repeat center center;
	background-size: 40px;
	width: 40px;
	height: 100%;
	position: absolute;
	top: 50%;
	left: 0;
	transform: translate(0,-50%);
}
main .btn a {
	display: block;
	position: relative;
	font-size: 18px;
	font-weight: 600;
	color: #000;
	font-family: "Hanken Grotesk", sans-serif;
	margin-left: 50px;
	width: 100px;
	text-decoration: none;
	padding: 5px 0;
	border-bottom: 2px solid #000;
}

@media only screen and (max-width: 768px)  {
	main .btn {
		text-align: center;
		margin: 15% auto;
	}
	main h2 {
		text-align: center;
		margin: 0 auto 15%;
		font-size: 38px;
		letter-spacing: 2px;
		font-weight: 600;
		font-family: "Hanken Grotesk", sans-serif;
	}
	
}


.anim,.btn {
	opacity: 0;
	transition: 1.5s all 0s ease;
}
.anim.ac,.btn.ac {
	opacity: 1;
}

