@charset "utf-8";

/* 全体 */
*,
::before,
::after {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

ul,
ol {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  opacity: .8;
}

body {
  font-family: ryo-gothic-plusn,"游ゴシック Medium", YuGothic, YuGothicM, "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro", メイリオ, Meiryo, sans-serif;
  font-size: 1rem;
  color: #000000;
  line-height: 1;
  background-color: #ffffff;
}

img {
  max-width: 100%;
}

p {
  line-height: 2;
}

/* header */
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 20px 0 30px;
  padding: 0 3vw;
}

.header-logo {
  display: block;
  width: 300px;
}

.toggle-menu-button {
  display: none;
}

.site-menu ul {
  display: flex;
  margin-top: 2vw;
}

.site-menu ul li {
  display: inline-block;
  border-right: 1px solid #C8D0D2;
  text-align: center;
  line-height: 1.8;
  padding: 0 1.5em;
}

.site-menu ul li:last-child{
  border-right: none;
}

.nav-txt h2 {
  color: #5D9713;
  font-weight: bold;
  font-size: 102%;
  letter-spacing: 0.1em;
}

.nav-txt p {
  color: #000000;
  font-size: 60%;
  letter-spacing: 0.1em;
}

.nav-txt{
  display:inline-block;
}

.kv-img-txt {
  position: relative;
}

/* スクロール */
.scroll span {
  color: #5D9713;
  font-size: 0.8em;
  font-family: "Kumbh Sans", sans-serif;
  font-weight: 500;
  position: absolute;
  right: 1.4271vw;
  bottom: 20%;
  writing-mode: vertical-rl;
  letter-spacing: 0.2em;
}

.scroll span::after {
  content: "";
  width: 0.8px;
  height: 6.55vw;
  position: absolute;
  left: 0.4vw;
  background: #5D9713;
  animation: pathmove 3s ease infinite;
  margin: 10px auto;
}

@keyframes pathmove {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }
  50% {
    transform: scaleY(1);
    transform-origin: top;
  }
  50.1% {
    transform: scaleY(1);
    transform-origin: bottom;
  }
  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}

/* footer */
.footer {
  margin-top: 10vh;
}

.footer-logo {
  display: block;
  max-width: 20vw;
  margin: 4vh auto;
}

.site-menu ul {
  justify-content: center;
  align-items: center;
}

.copyright p {
  background-color: #FBFBE5;
  color: #5D9713;
  max-width: 100%;
  height: auto;
  font-size: 12px;
  text-align: center;
  padding: 15px 0;
}

/* JavaScript用 */
/* ローディング画面 */
#loading {
  transition: all 4s cubic-bezier(1,0,.94,.1);
  background-color: #d5edeb;
  position: fixed;
  z-index: 9999;
  inset: 0;
  display: grid;
  place-content: center;
  place-items: center;
}

.spinner {
  width: 200px;
  height: auto;
}

.text_quick {
  width: 20%;
  font-size: 12px;
  letter-spacing: 0.7rem;
  font-family: "Quicksand, sans-serif";
}

/* ローディング完了したらローディング画面を隠す */
.loaded {
  opacity: 0;
  visibility: hidden;
}

/* フェードイン */
.fadein {
  opacity: 0;
}
.fadein-v {
  animation: fadeIn 1s ease forwards;
}
@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY( 20px );
  }
  100% {
    opacity: 1;
    transform: translateY( 0 );
  }
}


/* メディアクエリ */
@media (max-width: 1270px) {
  .kv {
    margin-top: 140px;
  }

  .site-menu ul {
    display: block;
    text-align: center;
  }

  .site-menu li {
    margin-top: 2vh;
  }

  .header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: #ffffff;
    height: 100px;
    z-index: 50;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
  }

  .header-inner {
    margin: 20px 0 30px;
    position: relative;
  }

  .header-logo {
    width: 250px;
  }
  
  /* ハンバーガーメニュー */
  .header-site-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #FBFBE5;
    padding: 30px 0 50px;
    display: none;
  }

  .header-site-menu.is-show {
    display: block;
  }

  .toggle-menu-button {
    display: block;
    width: 60px;
    /* width: 10vw; */
    height: 35px;
    background-image: url(../images/common/icon-menu.png);
    background-size: 50%;
    background-position: center;
    background-repeat: no-repeat;
    background-color: transparent;
    border: none;
    border-radius: 0;
    outline: none;
  }

  .nav-txt h2 {
    font-size: 2.5vw;
  }

  .nav-txt p {
    font-size: 1.5vw;
  }

  .site-menu ul li {
    text-align: center;
  }

  .nav-txt h2 {
    font-size: 0.9em;
  }

  .nav-txt p {
    font-size: 0.6em;
    margin-bottom: 2em;
  }

  .footer {
    margin-top: 0;
  }

  .footer .site-menu {
    display: none;
  }

  .footer-logo {
    margin: 30px auto;
    max-width: 40vw;
  }
}

@media screen and (max-width: 768px){

    .scroll span {
    font-size: 2vw;
    position: absolute;
    right: 0.5vw;
  }

  .scroll span::after {
    width: 0.7px;
    height: 10vw;
    position: absolute;
    left: 0.8vw;
    top: 8vw;
  }

}
