@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&display=swap");
* {
  box-sizing: border-box;
}

ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

h1, h2, h3, dl, dt, dd, p {
  margin: 0;
}

a {
  text-decoration: none;
  transition: opacity 0.3s ease-out;
}
a:hover {
  opacity: 0.8;
}

img {
  max-width: 100%;
  height: auto;
}

html {
  font-size: 62.5%;
}

body {
  font-size: 1.6rem;
  font-family: "Noto Sans JP", sans-serif;
  letter-spacing: 0.025em;
  line-height: 1.625;
}
body.menu--show {
  height: 100dvh;
  overflow: hidden;
}

@media (min-width: 751px) {
  .sp_only {
    display: none !important;
  }

  .wrapper {
    display: flex;
    display: -webkit-flex;
    flex-direction: column;
    min-height: 100dvh;
  }
  .wrapper .footer {
    margin-top: auto;
  }
}
@media (max-width: 750px) {
  .pc_only {
    display: none !important;
  }

  .inner--sp {
    padding-left: 20px;
    padding-right: 20px;
  }

  .wrapper {
    padding-top: 70px;
  }
}
/*-----------------------------------------
Header
-------------------------------------------*/
.header {
  padding: 0 20px;
  border-bottom: solid 1px #CEE6DF;
  z-index: 1000;
  transition: background 0.3s ease-out;
}
@media (max-width: 750px) {
  .header {
    width: 100%;
    background: white;
    position: fixed;
    left: 0;
    top: 0;
  }
  .header .header__left {
    display: flex;
    display: -webkit-flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    width: 100%;
  }
  .header.menu--show {
    height: 100dvh;
    background: #00A06D;
  }
  .header.menu--show .header__logo {
    background: url(../img/common/logo-white@sp.svg) no-repeat;
    background-size: contain;
  }
  .header.menu--show .header__logo img {
    opacity: 0;
  }
  .header.menu--show .sp-menu--show {
    background: url(../img/common/ico-close.svg) no-repeat center center;
    background-size: 30px 30px;
  }
  .header.menu--show .header__nav {
    display: block;
    margin-top: 40px;
  }
  .header.menu--show .header__nav li:not(:last-child) {
    margin-bottom: 25px;
  }
  .header.menu--show .header__nav a {
    color: white;
    font-size: 1.8rem;
  }
  .header.menu--show .header__nav .contact-link {
    font-size: 1.6rem;
    color: #00A06D;
    margin-top: 40px;
  }
}
@media (min-width: 751px) {
  .header {
    display: flex;
    display: -webkit-flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 50px;
    height: 80px;
  }
}
.header__logo {
  width: 130px;
  line-height: 1;
}
@media (min-width: 751px) {
  .header__logo {
    width: min((160 / 1024) * 100vw, 130px);
  }
}
@media (max-width: 750px) {
  .header__nav {
    display: none;
  }
}
@media (min-width: 751px) {
  .header__nav__list {
    display: flex;
    display: -webkit-flex;
    align-items: center;
  }
}
.header__nav__list li:not(:last-child) {
  margin-right: 60px;
}
@media (min-width: 751px) {
  .header__nav__list li:not(:last-child) {
    margin-right: 60px;
  }
}
@media (min-width: 751px) and (max-width: 1023px) {
  .header__nav__list li:not(:last-child) {
    margin-right: 30px;
  }
}
.header__nav a {
  color: #00A06D;
  font-weight: bold;
}
@media (min-width: 751px) and (max-width: 1023px) {
  .header__nav a {
    font-size: 1.4rem;
  }
}
.header__nav a.active {
  position: relative;
}
.header__nav a.active:after {
  position: absolute;
  content: "";
  display: block;
  width: 20px;
  border-bottom: solid 2px #00A06D;
  left: 0;
  right: 0;
  bottom: -8px;
  margin: auto;
}
.header__nav .contact-link {
  width: 100%;
  height: 50px;
  display: flex;
  display: -webkit-flex;
  justify-content: center;
  align-items: center;
  color: #00A06D;
  background: white;
  border-radius: 4px 4px 10px 4px;
}
@media (min-width: 751px) {
  .header__nav .contact-link {
    color: white;
    background: #00A06D;
    width: 140px;
    height: 40px;
  }
}
@media (min-width: 751px) and (max-width: 1023px) {
  .header__nav .contact-link {
    width: 120px;
    height: 30px;
  }
}
.header .sp-menu--show {
  border: none;
  width: 35px;
  height: 35px;
  background: url(../img/common/ico-menu.svg) no-repeat;
  background-size: contain;
  margin-left: auto;
}

/*-----------------------------------------
Footer
-------------------------------------------*/
.footer {
  background: #DFFDF4;
  padding: 60px 20px 35px;
  position: relative;
}
@media (min-width: 751px) {
  .footer {
    height: 120px;
    padding: 26px 50px;
  }
}
.footer .gototop {
  position: absolute;
  z-index: 1;
  top: -40px;
  right: 50px;
  display: block;
  transform: translateY(-100%);
}
@media (max-width: 750px) {
  .footer .gototop {
    right: 20px;
    width: 60px;
  }
  .footer .gototop img {
    width: 100%;
  }
}
@media (min-width: 751px) {
  .footer__nav {
    display: flex;
    display: -webkit-flex;
    justify-content: flex-end;
  }
}
.footer__nav .top-link {
  width: min((100% - 80px), 300px);
  height: 50px;
  border-radius: 4px 4px 10px 4px;
  border: 2px solid #006B49;
  color: #006B49;
  display: flex;
  display: -webkit-flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
}
@media (max-width: 750px) {
  .footer__nav .top-link {
    margin: auto;
    margin-bottom: 120px;
  }
}
@media (min-width: 751px) {
  .footer__nav .top-link {
    width: 200px;
    height: 40px;
    font-size: 1.4rem;
  }
}
.footer__nav__right {
  font-weight: 500;
  color: #006B49;
  text-align: right;
}
@media (max-width: 750px) {
  .footer__nav__right {
    text-align: center;
  }
  .footer__nav__right__links li:not(:last-child) {
    margin-bottom: 10px;
  }
}
@media (min-width: 751px) {
  .footer__nav__right__links {
    display: flex;
    display: -webkit-flex;
    justify-content: flex-end;
    margin-bottom: 10px;
  }
  .footer__nav__right__links li:not(:last-child) {
    margin-right: 40px;
  }
}
.footer__nav__right a {
  color: #006B49;
}
@media (min-width: 751px) {
  .footer__nav__right a {
    font-size: 1.3rem;
  }
}
.footer__nav__right .copyright {
  font-size: 1rem;
}
@media (max-width: 750px) {
  .footer__nav__right .copyright {
    margin-top: 20px;
  }
}
