@charset "UTF-8";

:root {
  --green: #7dc342;
  --black: #00171F;
  --gray: #77787B;
  --red: #BA1200;
}

body {
  color: var(--black);
  font-family: 'Roboto', sans-serif;
}

.sp-d-none {
  display: none;
}

.container {
  margin: 0 auto;
  max-width: calc(100vw - 32px);
}

h2 {
  font-size: 22px;
  font-weight: bold;
}

h3 {
  font-size: 18px;
  font-weight: bold;
}

.scrollup {
  width: 36px;
  height: 36px;
  position: fixed;
  right: 30px;
  bottom: 80px;
  background-color: #FFFFFF;
  border-radius: 50%;
  border: 2px solid #FFFFFF;
}

.scrollup-inner {
  width: 30px;
  height: 30px;
  color: var(--green);
  font-size: 24px;
  border: 3px solid var(--green);
  border-radius: 50%;
  text-align: center;
  line-height: 30px;
  z-index: 2000;
}

.green-btn {
  color: #FFFFFF;
  background-color: var(--green);
  border: none;
  box-sizing: border-box;
}

.green-btn-select {
  color: var(--green);
  background-color: #FFFFFF;
  border: 1px solid var(--green);
  box-sizing: border-box;
}

.green-btn:hover {
  color: var(--green);
  background-color: #FFFFFF;
  border: 1px solid var(--green);
  box-sizing: border-box;
}

.green-btn-reverse {
  color: var(--green);
  background-color: #FFFFFF;
  border: 1px solid var(--green);
  box-sizing: border-box;
}

.green-btn-reverse-select {
  color: #FFFFFF;
  background-color: var(--green);
  border: none;
  box-sizing: border-box;
}

.green-btn-reverse:hover {
  color: #FFFFFF;
  background-color: var(--green);
  border: none;
  box-sizing: border-box;
}

.gray-btn {
  color: #FFFFFF;
  background-color: var(--gray);
  border: none;
  box-sizing: border-box;
}

.gray-btn:hover {
  color: var(--gray);
  background-color: #FFFFFF;
  border: 1px solid var(--gray);
  box-sizing: border-box;
}


@media screen and (min-width: 451px) {
  p, ul, ol, li, dl, dt, dd, span {
    font-size: 16px;
  }

  .sp-d-none {
    display: block;
  }

  .tab-d-none {
    display: none;
  }

  .container {
    max-width: calc(100vw - 32px);
  }

}

@media screen and (min-width: 1004px) {
  p, ul, ol, li, dl, dt, dd, span {
    font-size: 14px;
  }

  .pc-d-none {
    display: none;
  }

  .container {
    width: calc(100% - 16px);
    max-width: 1004px;
  }
}

.d-none {
  display: none;
}




/* HEADER */


.company-logo {
  display: flex;
  align-items: center;
  position: fixed;
  top: 0;
  z-index: 9901;
}

.company-logo img {
  height: 50px;
  margin: 5px 0 5px 5px;
}

/* Nav */
.nav-wrapper {
  width: 100%;
}

.g-nav {
  width: 100%;
  height: 60px;
  position: fixed;
  top: 0;
  background-color: rgba(255, 255, 255, 0.85);
  z-index: 9900;
}

.g-nav-inner {
  position: fixed;
  top: 0;
  right: 0;
}

.nav-sp-links {
  width: 120px;
  display: flex;
}

.contact-form-button {
  height: 60px;
  width: 60px;
  background-color: var(--green);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact-form-button i {
  font-size: 36px;
  color: #FFFFFF;
}

.hamburger {
  height: 60px;
  width: 60px;
  background-color: var(--gray);
  position: relative;
  z-index: 9999;
}

.hamburger span.middle-bar {
  display: block;
  width: 32px;
  height: 6px;
  background-color: #FFFFFF;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  animation-name: hamburger-middle-r;
  animation-duration: 0.8s;
}

.hamburger span.middle-bar::before {
  display: block;
  content: "";
  width: 32px;
  height: 6px;
  background-color: #FFFFFF;
  position: absolute;
  top: -26px;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  animation-name: hamburger-top-r;
  animation-duration: 0.8s;
}

.hamburger span.middle-bar::after {
  display: block;
  content: "";
  width: 32px;
  height: 6px;
  background-color: #FFFFFF;
  position: absolute;
  top: 0;
  bottom: -26px;
  left: 0;
  right: 0;
  margin: auto;
  animation-name: hamburger-bottom-r;
  animation-duration: 0.8s;
}

.hamburger.clicked span.middle-bar {
  transform: rotate(45deg);
  animation-name: hamburger-middle;
  animation-duration: 0.8s;
}

.hamburger.clicked span.middle-bar::before {
  top: 0;
  transform: rotate(-90deg);
  animation-name: hamburger-top;
  animation-duration: 0.8s;
}

.hamburger.clicked span.middle-bar::after {
  bottom: 0;
  transform: rotate(0deg);
  animation-name: hamburger-bottom;
  animation-duration: 0.8s;
}

@keyframes hamburger-middle {
  0% {transform: rotate(0deg);}
  50% {transform: rotate(0deg);}
  100% {transform: rotate(45deg);}
}

@keyframes hamburger-top {
  0% {top: -26px; transform: rotate(0deg);}
  50% {top: 0; transform: rotate(0deg);}
  100% {top: 0; transform: rotate(-90deg);}
}

@keyframes hamburger-bottom {
  0% {bottom: -26px;}
  50% {bottom: 0; transform: rotate(0deg);}
  100% {bottom: 0; transform: rotate(-90deg);}
}

@keyframes hamburger-middle-r {
  0% {transform: rotate(45deg);}
  50% {transform: rotate(0deg);}
  100% {transform: rotate(0deg);}
}

@keyframes hamburger-top-r {
  0% {top: 0; transform: rotate(-90deg);}
  50% {top: 0; transform: rotate(0deg);}
  100% {top: -26px; transform: rotate(0deg);}
}

@keyframes hamburger-bottom-r {
  0% {bottom: 0; transform: rotate(-90deg);}
  50% {bottom: 0; transform: rotate(0deg);}
  100% {bottom: -26px;}
}

.nav-bg {
  width: 100%;
  height: calc(100vh - 60px);
  background-color: var(--black);
  opacity: 0.8;
  position: fixed;
  top: 60px;
  left: -100%;
  z-index: 999;
  animation-name: nav-bg-r;
  animation-duration: 0.4s;
}

.nav-bg.nav-open {
  left: 0;
  animation-name: nav-bg;
  animation-duration: 0.4s;
}

@keyframes nav-bg {
  0% {left: -100%;}
  100% {left: 0;}
}

@keyframes nav-bg-r {
  0% {left: 0;}
  100% {left: -100%;}
}

.g-nav ul {
  width: 80%;
  height: calc(100vh - 60px);
  padding-top: 40px;
  background-color: var(--gray);
  position: fixed;
  top: 60px;
  right: -100%;
  z-index: 1000;
  animation-name: nav-ul-r;
  animation-duration: 0.4s;
}

.g-nav ul.nav-open {
  right: 0;
  animation-name: nav-ul;
  animation-duration: 0.4s;
}

@keyframes nav-ul {
  0% {right: -100%;}
  100% {right: 0;}
}

@keyframes nav-ul-r {
  0% {right: 0;}
  100% {right: -100%;}
}

.g-nav li {
  margin-left: 30px;
  color: #FFFFFF;
  font-size: 22px;
  font-weight: bold;
}

.g-nav li:nth-of-type(n + 2) {
  margin-top: 40px;
}

@media screen and (min-width: 545px) {

  header {
    height: 60px;
    background-color: transparent;
  }

  .company-logo {
    position: fixed;
    left: 0;
    z-index: 1000;
  }

  .g-nav {
    background-color: rgba(255, 255, 255, 0.75);
    z-index: 999;
  }

  .nav-sp-links, .nav-bg {
    display: none;
  }

  .g-nav ul {
    width: 464px;
    height: 60px;
    padding-top: 0;
    background-color: transparent;
    position: static;
    top: auto;
    right: auto;
    display: flex;
    justify-content: space-between;
  }

  .g-nav li {
    width: 80px;
    text-align: center;
    margin-left: 0;
    color: var(--gray);
    font-size: 16px;
    font-weight: bold;
    line-height: 60px;
  }

  .g-nav li:nth-of-type(n + 2) {
    margin-top: 0;
  }

  .g-nav li.current-page {
    background: linear-gradient(transparent 0 50%, #7dc342 51% 70%, transparent 71% 100%);
  }

  .g-nav li:hover {
    background: linear-gradient(transparent 0 50%, #7dc342 51% 70%, transparent 71% 100%);
  }

}

@media screen and (min-width: 1004px) {
  
  .company-logo {
    left: calc((100vw / 2) - 502px);
  }

  .g-nav {
    display: flex;
    justify-content: center;
  }

  .g-nav-inner {
    width: 1004px;
    position: static;
    display: flex;
    justify-content: flex-end;
  }

}

/* FOOTER */
footer {
  background-color: var(--gray);
  overflow: hidden;
  position: relative;
}

.container.footer {
  padding-top: 30px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.footer-text, .footer-link {
  width: calc((100% - 16px) / 2);
}

.footer-text-title {
  font-size: 18px;
  font-weight: medium;
  color: #FFFFFF;
}

.footer-text-address, .footer-text-contact {
  margin-top: 10px;
  font-size: 12px;
  color: #FFFFFF;
  line-height: 1.2;
}

.footer-link p:last-of-type {
  margin-top: 10px;
}

.footer-link p a {
  display: block;
  height: 50px;
  width: 100%;
  text-align: center;
  font-size: 18px;
  font-weight: medium;
  line-height: 50px;
}

.footer-space {
  display: none;
}

.footer-image {
  margin: 20px 0;
}

.copyright {
  height: 60px;
  width: 100%;
  position: absolute;
  bottom: 0;
  background-color: var(--black);
  display: flex;
  align-items: center;
}

.copyright > .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}

.copyright small {
  color: #FFFFFF;
}

.copyright-links {
  margin-bottom: 10px;
}

.copyright-links small:first-of-type {
  margin-right: 16px;
}

@media screen and (min-width: 710px) {
  footer > .container {
    padding-top: 10px;
    flex-wrap: nowrap;
    justify-content: space-between;
  }

  .footer-text, .footer-link {
    width: calc(((100% - (8px * 11)) / 12) * 3 + (8px * 2));
    margin-top: 40px;
  }

  .footer-space {
    display: block;
    width: calc(((100% - (8px * 11)) / 12));
  }

  .footer-image {
    width: calc(((100% - (8px * 11)) / 12) * 5 + (8px * 4));
    margin: 0;
  }

  .copyright {
    height: 30px;
  }

  .copyright > .container {
    flex-direction: row-reverse;
    justify-content: space-between;
  }

  .copyright-links {
    margin-bottom: 0;
  }
}

@media screen and (min-width: 821px) {
  footer > .container {
    height: 270px;
  }

  .footer-text, .footer-link {
    width: calc(((100% - (16px * 11)) / 12) * 3 + (16px * 2));
  }

  .footer-link p:last-of-type {
    margin-top: 16px;
  }

  .footer-link p a {
    font-size: 20px;
  }

  .footer-space {
    width: calc(((100% - (16px * 11)) / 12));
  }

  .footer-image {
    width: calc(((100% - (16px * 11)) / 12) * 5 + (16px * 4));
    display: flex;
    justify-content: center;
  }

  .footer-image img {
    width: 90%;
  }

  .copyright-links small:first-of-type {
    margin-right: 32px;
  }

}