/* ローディングアニメーション */
.teamimg {
  max-width: 240px;
}
.shutter {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #fff;
  z-index: 9999;
  text-align: center;
  -webkit-animation: byeShutter 2s forwards;
  animation: byeShutter 2s forwards;
}
.shutter-naka {
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateY(-50%) translateX(-50%);
  -webkit-transform: translateY(-50%) translateX(-50%);
  -webkit-animation: shutterimg 2s forwards;
  animation: shutterimg 2s forwards;
}
.container {
  -webkit-animation: contentScale 2s forwards;
  animation: contentScale 2s forwards;
}

@keyframes byeShutter {
  0% {
    opacity: 1;
  }
  20% {
    opacity: 1;
  }
  70% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    display: none;
    z-index: -1;
  }
}
@keyframes contentScale {
  0% {
    opacity: 0;
  }
  70% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes shutterimg {
  0% {
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  60% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}
/* ローディングアニメーション */

/* スライド */
.mainimg {
  height: 100vh;
  position: relative;
}
.caticop-bg {
  height: 100vh;
  background: rgba(0, 0, 0, 0.3);
  position: absolute;
  z-index: 100;
  width: 100%;
  margin-top: 80px;
}
.caticop {
  position: absolute;
  top: 55%;
  left: 8%;
}
.caticop h5 {
  /* font-size: 340%; */
  font-size: 300%;
  line-height: 1.5;
  color: #fff;
  font-weight: bold;
  font-family: YuGothic, "游ゴシック", sans-serif, NotoSansCJKjp, メイリオ;
  text-shadow: 1px 2px 3px #000;
}
.caticop h6 {
  font-size: 180%;
  line-height: 1.5;
  color: #fff;
  font-weight: bold;
  font-family: YuGothic, "游ゴシック", sans-serif, NotoSansCJKjp, メイリオ;
  text-shadow: 1px 2px 3px #000;
}

.req-imgbox {
  box-sizing: border-box;
  width: 100%;
  position: relative;
  z-index: 10;
  padding-top: 80px;
}

.req-imgbox li {
  background-size: cover;
  background-position: top;
  height: 100vh;
  box-sizing: border-box;
}

.sl01 {
  background-image: url(../img/01.jpg);
}
.sl02 {
  background-image: url(../img/02.jpg);
}
.sl03 {
  background-image: url(../img/03.jpg);
}

/* スライド */
/* スクロール後のヘッダー */
.logo.fix {
  padding: 5px 0;
  -moz-transition: all 0.3s;
  -o-transition: all 0.3s;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}
.logo.fix h1 {
  width: 35%;
}
.logo.fix h1 img {
  width: 45%;
}

header {
  position: fixed;
  width: 100%;
  z-index: 500;
  background-color: #ffffff;
  box-sizing: border-box;
}

.logo {
  display: flex;
  width: 95%;
  margin: 0 auto;
  justify-content: space-between;
  padding: 20px 0px;
}

.head h1 {
  width: 40%;
}
.head h1 img {
  width: 50%;
}
.head_text01 {
  width: 20%;
}
.head_text02 {
  width: 2%;
}
.g-menu {
  display: flex;
  justify-content: center;
}

.menu {
  display: flex;
  padding-top: 10px;
}
.menu li {
  padding: 0px 10px;
}

.men a {
  color: #2a9141;
  transition: 0.2s;
  padding: 0 20px;
}
.men a:hover {
  color: #2a9141;
  opacity: 1;
}
.men span {
  color: #000;
  display: block;
  padding: 10px 10px 20px 14px;
  position: relative;
  font-size: 140%;
  font-weight: bold;
  letter-spacing: 0.02em;
  background-repeat: no-repeat;
  background-size: 4px;
  background-position: center bottom;
}
.men span::before,
.men span::after {
  background-color: #2a9141;
  height: 2px;
  bottom: 0;
  content: "";
  display: block;
  position: absolute;
  transition: all 0.2s ease;
  -webkit-transition: all 0.2s ease;
  width: 0;
}
.men span::before {
  left: 40%;
  border-radius: 0 4px 4px 0;
}
.men span::after {
  right: 40%;
  border-radius: 4px 0 0 4px;
}
.men a:hover span::before,
.men a:hover span::after {
  width: 40%;
}

.menu li:hover .menu_inner {
  max-height: 9999px;
  opacity: 1;
}
.naname {
  color: #2a9141;
  padding: 10px;
  font-size: 280%;
  font-weight: bold;
  line-height: 1.2em;
}

.tel {
  margin-right: 12px;
  box-sizing: border-box;
}

.ac-btn a {
  background-color: #0c4b8b;
  border-radius: 10px;
  padding: 7px 10px;
  color: #fff;
  font-size: 100%;
  line-height: 1.3;
  letter-spacing: 0.06em;
  font-weight: bold;
  text-align: center;
  display: block;
}

.sphead {
  display: none;
}

@media screen and (max-width: 800px) {
  .sphead {
    display: block;
  }

  .head {
    position: inherit;
  }

  .g-menu {
    display: none;
  }
  .logo {
    padding: 20px 0px 20px 20px;
  }

  .head h1 {
    width: 100%;
  }
  .head_text01 {
    display: none;
  }

  .mainimg {
    height: auto;
  }

  .req-imgbox {
    padding: 0;
  }

  .req-imgbox li {
    height: 40vh;
  }

  .caticop-bg {
    height: 40vh;
    position: absolute;
    margin: 0;
    box-sizing: border-box;
  }
  .caticop {
    top: auto;
    left: auto;
    bottom: 5%;
    text-align: center;
    width: 100%;
  }
  .caticop h5 {
    /* font-size: 200%; */
    font-size: 140%;
    text-align: center;
  }
  .caticop h6 {
    font-size: 120%;
    text-align: center;
  }

  .shutter-naka {
    width: 600px;
  }

  .tels {
    padding: 5%;
    text-align: center;
  }
  .tels h3 {
    font-size: 120%;
    font-weight: bold;
    padding-bottom: 20px;
  }
  .tels h5 {
    font-size: 220%;
    font-family: Arial, Helvetica, "sans-serif";
    font-weight: bold;
    padding-bottom: 0px;
  }
  .tels h5 a {
    color: #fff;
  }
  .spm-j {
    padding: 10px 0;
  }
  .tels h4 a {
    background-color: #fff;
    display: block;
    padding: 20px;
    font-size: 140%;
    border-radius: 30px;
    color: #0c4b8b;
    font-weight: bold;
  }
  .head_text02 {
    display: none;
  }
}
