* {
    box-sizing: border-box;
    scroll-behavior: smooth;
}

html {
    font-size: 62.5%;
}

body {
    font-family: "Noto Serif JP", serif;
    font-optical-sizing: auto;
    color: #000;
    font-size: 1.6rem;
    font-weight: 400;
}

p {
    line-height: 1.75;
}

a {
    transition: 0.3s all;
    text-decoration: none;
}

img {
    vertical-align: bottom;
}

ul {
    padding: 0;
}

li {
    list-style: none;
}

table {
  border-collapse:collapse
}

.pc {
    display: block;
}

.sp {
    display: none;
}

.inner {
    max-width: 1240px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

.inner_content {
    max-width: 1040px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

.inner_form {
  max-width: 740px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}

.more_link {
  display: inline-block;
  position: relative;
  color: #000;
}

.more_link::after {
  content: "";
  display: block;
  width: 60px;
  height: 1px;
  position: absolute;
  top: 50%;
  right: -80px;
  transform: translateY(-50%);
  background-color: #000;
}

@media (max-width: 767px) {
  .pc {
    display: none;
  }
  .sp {
    display: block;
  }
  .inner {
      max-width: 100%;
  }
  .inner_content {
      max-width: 100%;
  }
  .inner_form {
    max-width: 100%;
  }
}

/* KV */

header {
  position: relative;
  width: 100%;
  height: 90vh;
  min-height: 580px;
}

.page-template-front-page header {
  height: 100vh;
}

.kv {
  height: 100%;
  width: 100%;
}

.page-template-front-page .kv {
  position: fixed;
  top: 0;
  left: 0;
}

.page-template-front-page .kv .slick-slide img {
  width: 100%;
}

.slide-animation{
    animation: fadezoom 8s 0s forwards;
}
@keyframes fadezoom {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.2);
  }
}

.page-template-page-heart-vege .kv {
  background: url(../img/kv_heart-vege.jpg) no-repeat center;
  background-size: cover;
}

.page-template-page-akaimahou .kv {
  background: url(../img/kv_akaimahou.jpg) no-repeat center;
  background-size: cover;
}

.page-template-page-company .kv {
  background: url(../img/kv_company.jpg) no-repeat center;
  background-size: cover;
}

.page-template-page-recruit .kv {
  background: url(../img/kv_recruit.jpg) no-repeat top 30% left 0;
  background-size: cover;
}

.page-template-page-contact header,
.page-template-page-recruit-form header,
.page-template-page-akaimahou-form header {
  height: 20vh;
  min-height: 200px;
}

.page-template-page-recruit header {
  height: 50vh;
  min-height: 400px;
}

.kv::after {
  content: "";
  display: block;
  background-color: rgba(0,0,0,0.55);
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.kv_top {
  position: fixed;
  top:0;
  left: 0;
}

.kv_text {
  position: absolute;
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
  color: #fff;
  z-index: 10;
}

.kv_text h1 {
  font-size: 2.8rem;
  margin-bottom: 40px;
}

.kv_text h1 span{
  display: block;
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.page-template-front-page .kv_text {
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
}

.page-template-front-page .kv_text h1{
  font-size: 11rem;
  font-weight: 400;
  line-height: 1;
  font-family: "Alumni Sans Pinstripe", sans-serif;
}

.page-template-front-page .kv_text p{
  font-size: 2.8rem;
}

.page-template-page-heart-vege .kv_text {
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
}

.page-template-page-heart-vege .kv_text h1 {
  margin-bottom: 0;
}

.page-template-page-heart-vege .kv_text h1 img{
  width: 650px;
}

nav {
  position: fixed;
  right: 45px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 100;
}

nav li a{
  color: #fff;
  display: inline-block;
  width: 100%;
  padding: 10px 0;
  position: relative;
}

nav li a::after{
  content: attr(data-hover);
  display: inline-block;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  color: transparent;
  white-space: nowrap;
  transition: 0.5s;
}

nav.scroll li a {
  color: #000;
}

nav.scroll li a:hover {
  color: transparent;
}

nav.scroll li a:hover::after {
  color: #000;
}

nav li a:hover{
  cursor: pointer;
  color: transparent;
}

nav li a:hover::after{
  color: #fff;
}

main {
  position: relative;
  width: 100%;
  height: 100%;
}

@media (max-width: 767px) {
  nav {
    display: none;
  }
  .slick-slider,
  .slick-list,
  .slick-track,
  .slick-initialized .slick-slide {
    height: 100vh;
  }
  .slick-slide img {
    height: 100%;
    object-fit: cover;
  }
  .kv_text {
    left: 0;
    padding: 0 20px;
  }
  .kv_text h1 {
    font-size: 2.4rem;
  }
  .page-template-page-heart-vege header {
    height: 50vh;
  }
  .page-template-page-heart-vege .kv_text {
    width: 90%;
  }
}

/* トップページ */

section h2 {
  font-size: 2.2rem;
  margin-bottom: 40px;
}

/* フッター */

footer {
  background-color: #fff;
  padding: 100px 0;
  text-align: center;
  position: relative;
  z-index: 100;
}

footer a{
  display: block;
  width: 200px;
  height: auto;
  margin: 0 auto;
  margin-bottom: 20px;
}

footer p {
  font-size: 1.4rem;
}

@media (max-width: 767px) {
  footer {
    padding: 60px 0 30px;
  }
}

/* スケジュール */

#schedule {
  background-color: #ECF9E9;
  padding: 100px;
}

#schedule h3{
  font-size: 3rem;
  margin-bottom:20px;
}

.schedule_ttl p {
  margin-bottom: 30px;
}

.schedule_pdf {
  width: 100%;
  height: 600px;
  background: url(../img/schedule_A4.jpg)no-repeat center;
  background-size: cover;
}

.schedule_pdf a{
  color: #fff;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 10;
  background-color: rgba(0,0,0,0.3);
}

.schedule_pdf a:hover{
  opacity: 0.7;
}

@media (max-width: 767px) {
  #schedule {
    padding: 60px 0;
  }
  .schedule_pdf {
    height: 250px;
  }
}

/* Access */

#access {
  background-color: #fff;
  padding: 200px;
}

.access_wrap {
  display: flex;
  justify-content: space-between;
  margin-bottom: 100px;
}

.access_img {
  width: 70%;
  margin-left: 10%;
}

.access_ttl {
  flex-shrink: 0;
}

.access_ttl h3{
  font-size: 2rem;
  margin-bottom: 40px;
}

.access_ttl p{
  margin-bottom: 20px;
}

.access_ttl ul{
  margin-bottom: 100px;
}

.access_ttl ul li a{
  color: #000;
}

@media (max-width: 767px) {
  #access {
    padding: 60px 0;
  }
  .access_wrap {
    display: block;
    margin-bottom: 40px;
  }
  .access_ttl {
    margin-bottom: 40px;
  }
  .access_ttl ul {
    margin-bottom: 40px;
  }
  .access_img {
    width: 100%;
    margin-left: 0;
  }
  #access iframe {
    height: 250px;
  }
}

/* ハンバーガー */

@media (max-width: 767px) {
  .header_hum {
      width: 30px;
      height: 15px;
      position: fixed;
      top: 20px;
      right: 20px;
      z-index: 100;
      display: block;
  }
  .header_hum span {
      position: absolute;
      left: 0;
      display: block;
      width: 30px;
      height: 2px;
      background-color: #fff;
      transition: 0.3s all;
  }
  .header_hum span:nth-of-type(1) {
      top: 0;
  }
  .header_hum span:nth-of-type(2) {
      top: 50%;
      transform: translateY(-50%);
  }
  .header_hum span:nth-of-type(3) {
      bottom: 0;
  }
  .header_hum.is-open span:nth-of-type(1) {
      top: 50%;
      transform: translateY(-50%) rotate(45deg);
  }
  .header_hum.is-open span:nth-of-type(2) {
      display: none;
  }
  .header_hum.is-open span:nth-of-type(3) {
      top: 50%;
      transform: translateY(-50%) rotate(-45deg);
  }
  .header_gnav.sp {
      display: block;
      position: fixed;
      top: 0;
      right: -100%;
      width: 100%;
      z-index: 80;
      transition: 0.3s all;
      background-color: rgba(0,0,0,0.4);
      padding:60px 20px;
  }
  .header_gnav.is-open {
      right: 0;
  }
  .header_gnavBg.is-open {
      opacity: 1;
      visibility: visible;
  }
  .header_gnavBg {
      opacity: 0;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100vh;
      background-color: rgba(0, 0, 0, 0.76);
      z-index: 70;
      transition: 0.3s all;
      visibility: hidden;
  }
  .header_gnavWrap {
      position: relative;
      z-index: 75;
      height: 100%;
      overflow: hidden;
  }
  .header_gnavWrap li a{
      display: flex;
      padding: 15px 0;
      color: #fff;
  }
}