@charset "UTF-8";
*,
*:before,
*:after {
  box-sizing: inherit;
}

html {
  font-size: 62.5%;
  box-sizing: border-box;
  overflow-y: scroll;
}

body {
  width: 100%;
  font-family: "ゴシックMB101 M", "游ゴシック", Yu Gothic, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, "sans-serif";
  font-size: 1.6rem;
  font-feature-settings: "palt" 1;
  line-height: 1.6em;
  letter-spacing: 2px;
  color: #004386;
  margin: 0;
  padding: 0;
  background: #f5f2e9;
}

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

img {
  width: 100%;
  height: auto;
  vertical-align: bottom;
}

li {
  list-style-type: none;
}

#wrapper {
  overflow: hidden;
  padding: 10% 10.6% 0;
}

.top-only {
  animation: disableScroll 1.5s ease-in-out 3s both;
}

@keyframes disableScroll {
  0% {
    height: 0;
    opacity: 0;
  }
  10% {
    height: auto;
    opacity: 0;
  }
  100% {
    height: auto;
    opacity: 1;
  }
}

/* ヘッダー */
header {
  width: 100%;
  max-width: 1080px;
  display: flex;
  flex-direction: column;
  padding: 0 4%;
  margin: 1.5% auto 3.285%;
  position: relative;
  z-index: 100;
}

@media (min-width: 1080px) {
  header {
    margin: 16px auto 35px;
  }
}

#language {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
}

#language ul {
  display: flex;
  justify-content: flex-end;
  font-family: 'Open Sans', sans-serif;
  font-size: 1.1rem;
  line-height: 1.3em;
}

#language li {
  text-align: right;
  padding: 0 1.5em;
  border-left: solid 1px #004386;
}

#language li:first-child {
  border: none;
}

#language li:last-child {
  padding-right: 0;
}

#header-in {
  width: 100%;
  max-width: 1080px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 5px auto 0;
}

.company-logo {
  width: 63px;
}

#pc-nav {
  font-size: 1.5rem;
  width: 75%;
}

@media (max-width: 980px) {
  #pc-nav {
    width: 85%;
    font-size: 1.35rem;
  }
}

#pc-nav nav ul {
  display: flex;
  justify-content: space-between;
}

#pc-nav nav li {
  text-align: center;
  flex: 1;
  border-left: solid 1px #004386;
}

#pc-nav nav li:first-child {
  border: none;
}

#pc-nav nav li:last-child {
  padding: 0;
  border: none;
  flex: none;
}

.instgram {
  width: 22px;
  margin-left: 2em;
}

#container {
  width: 100%;
  margin: 0 auto;
}

h1 {
  font-size: 3.29vw;
  line-height: 2.2em;
}

@media (min-width: 1080px) {
  h1 {
    font-size: 3.6rem;
  }
}

#main {
  width: 100%;
  max-width: 1080px;
  display: flex;
  justify-content: center;
  flex-direction: column;
  margin: 10% auto 18%;
  padding-top: 3em;
  position: relative;
  z-index: -1;
}

#main::before {
  content: "";
  padding-top: 100%;
}

#main h1 {
  color: #fff;
  position: absolute;
  top: 24%;
  left: 28%;
}

h2 {
  font-size: 5rem;
  font-family: 'Open Sans', sans-serif;
  text-align: center;
  letter-spacing: 0.1em;
  line-height: 0.8em;
  padding-top: 0.2em;
}

h3 {
  font-size: 1.8rem;
  line-height: 1.3em;
  text-align: center;
  padding: 0.5em 0;
  font-family: "ゴシックMB101 B";
  font-weight: bold;
  white-space: nowrap;
}

h4 {
  font-size: 2.6rem;
  font-family: "ゴシックMB101 B";
  font-weight: bold;
  line-height: 1.4em;
}

@media (max-width: 980px) {
  h4 {
    font-size: 2.4rem;
  }
}

.h2_ruby {
  font-size: 1.9rem;
  text-align: center;
  margin-top: 0.7em;
}

/*  Topアニメーション  */
#top-anime {
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0;
  z-index: 10;
  pointer-events: none;
}

.toplogo {
  width: 24vw;
}

/*  SVGアニメーション  */
.st0 {
  fill: transparent;
  stroke: #006E33;
  stroke-dasharray: 400;
  stroke-dashoffset: 0;
  stroke-width: 0.8;
  opacity: 0;
}

.st1 {
  fill: transparent;
  stroke: #004385;
  stroke-dasharray: 400;
  stroke-dashoffset: 0;
  stroke-width: 0.8;
  opacity: 0;
}

.st2 {
  fill: transparent;
  stroke: #004385;
  stroke-dasharray: 300;
  stroke-dashoffset: 0;
  stroke-width: 0.8;
  opacity: 0;
}

.st3 {
  fill: transparent;
  stroke: #004385;
  stroke-dasharray: 100;
  stroke-dashoffset: 0;
  stroke-width: 0.8;
  opacity: 0;
}

.item01 {
  animation: j_and_c 3s ease-in 0s;
  animation-fill-mode: forwards;
}

.item02 {
  animation: j_and_c 3s ease-in 0.5s;
  animation-fill-mode: forwards;
}

.item03 {
  animation: j_and_c 3s ease-in 1s;
  animation-fill-mode: forwards;
}

.item04 {
  animation: r_line 3s ease-in 0.5s;
  animation-fill-mode: forwards;
}

.item05 {
  animation: r_line 3s ease-in 1s;
  animation-fill-mode: forwards;
}

.item06 {
  animation: r_line 3s ease-in 1.5s;
  animation-fill-mode: forwards;
}

.item07 {
  animation: corporation 3s ease-in 1.5s;
  animation-fill-mode: forwards;
}

@keyframes j_and_c {
  0% {
    stroke-dashoffset: 300;
    fill: transparent;
    opacity: 1;
  }
  30% {
    stroke-dashoffset: 0;
    fill: transparent;
    opacity: 1;
  }
  50% {
    stroke-dashoffset: 0;
    fill: #004385;
    opacity: 1;
  }
  100% {
    stroke-dashoffset: 0;
    fill: #004385;
    opacity: 1;
    stroke-width: 0;
  }
}

@keyframes corporation {
  0% {
    stroke-dashoffset: 100;
    fill: transparent;
    opacity: 1;
  }
  30% {
    stroke-dashoffset: 0;
    fill: transparent;
    opacity: 1;
  }
  50% {
    stroke-dashoffset: 0;
    fill: #004385;
    opacity: 1;
  }
  100% {
    stroke-dashoffset: 0;
    fill: #004385;
    opacity: 1;
    stroke-width: 0;
  }
}

@keyframes r_line {
  0% {
    stroke-dashoffset: 100;
    fill: transparent;
    opacity: 1;
  }
  30% {
    stroke-dashoffset: 0;
    fill: transparent;
    opacity: 1;
  }
  50% {
    stroke-dashoffset: 0;
    fill: #006E33;
    opacity: 1;
  }
  100% {
    stroke-dashoffset: 0;
    fill: #006E33;
    opacity: 1;
    stroke-width: 0;
  }
}

/* フッター */
#footer {
  width: 100%;
  margin: 0 auto;
}

#footer-nav {
  width: 100%;
  background: #004386;
  position: relative;
}

#footer-nav::after {
  width: 100vw;
  height: 100%;
  content: "";
  position: absolute;
  top: 0;
  right: 50%;
  background: #004386;
  z-index: -1;
}

#footer-nav::before {
  width: 100vw;
  height: 100%;
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  background: #004386;
  z-index: -1;
}

#footer-nav-in {
  width: 100%;
  max-width: 1080px;
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  padding: 3.5% 0;
}

@media (max-width: 980px) {
  #footer-nav-in {
    width: 93%;
    font-size: 1.35rem;
  }
}

#footer-nav-in ul {
  display: flex;
  flex: 1;
  color: #fff;
}

#footer-nav-in ul li {
  text-align: center;
  flex: 1;
  border-left: solid 1px #fff;
}

#footer-nav-in ul li:first-child {
  border: none;
}

#footer-in {
  width: 100%;
  max-width: 1186px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
  padding: 32px 0;
}

#footer-in a {
  width: 40%;
  font-size: 1.2rem;
  text-decoration: underline;
}

#footer-in p {
  width: 40%;
  text-align: right;
  font-size: 1.1rem;
  font-family: 'Open Sans', sans-serif;
}

/* アニメーション */
.fade {
  opacity: 0;
  transition: all 2s ease;
  transition-delay: 0.6s;
}

.fade-in {
  opacity: 1;
}

.fade-top {
  position: relative;
  opacity: 0;
  transform: translateY(-50px);
  transition: all 0.6s ease;
}

.fade-top-in {
  opacity: 1;
  transform: translateY(0);
}

.fade-bottom {
  position: relative;
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.6s ease;
}

.fade-bottom-in {
  opacity: 1;
  transform: translateY(0);
}

.fade-right {
  position: relative;
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.6s ease;
  transition-delay: 0.2s;
}

.fade-right-in {
  opacity: 1;
  transform: translateX(0);
}

#contact-us {
  width: 46px;
  height: 270px;
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  background: #f08300;
  border-radius: 20px 0 0 20px;
  position: fixed;
  top: 8.5em;
  right: 0;
  z-index: 1000;
}

@media (min-width: 760px) {
  a[href^="tel:"] {
    pointer-events: none;
  }
}
