.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  transition: transform 0.3s ease, position 1s ease;
  z-index: 9999;
  opacity: 1;
  background-color: #fff;
  transition: 0.4s ease;
}
.header.active {
  filter: drop-shadow(0px 3px 6px rgba(0, 0, 0, 0.16));
}
.header__inner {
  transition: padding-block 0.3s ease;
}
.header__logo {
  transition: width 0.3s ease;
  width: clamp(6.375rem, -8.13rem + 22.66vw, 19.0625rem);
  background-color: #fff;
}
.header__flex {
  display: grid;
  grid-template-columns: auto 1fr;
}
.header__grid {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: min(5rem, 4.1666666667vw);
  padding-block: min(1.5rem, 1.25vw);
  align-items: center;
  background-color: #fff0f5;
}
@media screen and (max-width: 1024px) {
  .header__grid {
    display: none;
  }
}
.header__nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  justify-self: end;
}
@media screen and (max-width: 1024px) {
  .header__nav {
    grid-template-columns: 1fr;
    align-items: start;
    justify-self: center;
    gap: 1.5rem;
    margin-block-end: 2.5rem;
  }
}
.header__nav a {
  display: block;
  width: 100%;
  text-align: center;
  justify-self: center;
  padding-inline: min(1.5rem, 1.25vw);
  line-height: 1.2;
  margin-inline: auto;
}
.header__nav a:hover {
  color: #e2c6f5;
}
.header__txt span {
  padding-inline-start: 1em;
}
@media screen and (max-width: 1024px) {
  .header__txt {
    text-align: center;
    margin-block-end: 2rem;
  }
}
.header__tell {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: nowrap;
  font-size: clamp(1rem, 0.82rem + 0.78vw, 1.5rem);
  line-height: 1;
  gap: 1rem;
  margin-block-end: 1rem;
}
@media screen and (max-width: 1024px) {
  .header__tell {
    justify-content: center;
  }
}
.header__btn a {
  display: block;
  margin-inline: auto;
  width: 200px;
  padding-block: 0.5rem;
  background: #3cb371;
  border-radius: 25px;
  text-align: center;
}
.header__flex--sp {
  display: none;
}
@media screen and (max-width: 1024px) {
  .header__flex--sp {
    display: flex !important;
    align-items: center;
  }
}
.header__menu {
  margin: 0 0 0 auto;
  position: relative;
  z-index: 9999;
  width: 40px;
  height: 35px;
  transition: 0.5s;
  padding: 10px;
  font-size: 1rem;
}
.header__hamburger {
  margin: 0 auto;
  cursor: pointer;
  position: relative;
}
.header__hamburger span {
  position: absolute;
  background: #333;
  height: 2px;
  width: 20px;
  left: 0;
  border-radius: 10px;
}
.header__hamburger--top {
  top: 0;
  transition: 0.5s;
}
.header__hamburger--middle {
  top: 6px;
  transition: 0.5s;
}
.header__hamburger--bottom {
  top: 12px;
  transition: 0.5s;
}
.header__menu.active .header__hamburger--top {
  transform: translateY(6px) rotate(45deg);
}
.header__menu.active .header__hamburger--middle {
  display: none;
}
.header__menu.active .header__hamburger--bottom {
  transform: translateY(-6px) rotate(-45deg);
}
.g-nav__bg {
  position: fixed;
  top: 0;
  right: -100%;
  height: 100vh;
  width: 100%;
  transition: all 0.5s;
  overflow: hidden;
  z-index: 999;
  padding-block: 5.5rem 0;
  padding-inline: 2rem;
  background: #fff;
}
.g-nav__bg--inner {
  margin: 0 auto;
  position: relative;
  z-index: 999;
}
.g-nav__bg.active {
  right: 0;
}
.footer {
  background: url(../img/cmn/ft_bg.png) no-repeat center/cover;
}
.footer__link {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: min(56px, 2.9166666667vw);
  transform: translateY(-50%);
  margin-block-end: clamp(3rem, 2.09rem + 3.9vw, 5.5rem);
}
@media screen and (max-width: 768px) {
  .footer__link {
    grid-template-columns: 1fr;
    transform: translateY(-20%);
  }
}
.footer__link > div a {
  width: 100%;
  height: 100%;
  display: inline-grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.125rem;
  background: #3cb371;
  font-size: clamp(0.9375rem, 0.85rem + 0.39vw, 1.1875rem);
  padding-block: 1em;
}
.footer__link > div a img {
  justify-self: end;
}
@media screen and (max-width: 768px) {
  .footer__link > div a img {
    max-width: 25px;
  }
}
.footer__link > div a::after {
  content: "";
}
.footer__logo {
  font-size: clamp(1rem, 0.68rem + 1.37vw, 1.875rem);
  text-align: center;
  margin-block-end: clamp(2rem, 0.72rem + 5.46vw, 5.5rem);
}
.footer__nav {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  gap: 1rem 3em;
  margin-block-end: clamp(3rem, 1.54rem + 6.24vw, 7rem);
}
@media screen and (max-width: 768px) {
  .footer__nav {
    flex-direction: column;
  }
}
.footer .copyright {
  text-align: center;
  font-size: 0.75rem;
  display: block;
}
.pagetop {
  position: fixed;
  z-index: 999;
  right: 20px;
  bottom: clamp(0.75rem, 0.29rem + 1.95vw, 2rem);
}
.pagetop a {
  writing-mode: vertical-rl;
  font-size: 0.75rem;
  letter-spacing: normal;
  width: min(5rem, calc(56 / 375 * 100vw));
}
.sns {
  position: fixed;
  z-index: 999;
  top: 50%;
  right: 20px;
  transform: translate(0, -50%);
  display: flex;
  flex-direction: column;
  row-gap: 2.0833333333vw;
}
@media screen and (max-width: 768px) {
  .sns {
    top: auto;
    right: 0;
    bottom: 0;
    transform: translate(0, 0%);
    flex-direction: row;
    justify-content: space-evenly;
    width: 100%;
    background-color: #fff;
    padding-block: 1rem 0.75rem;
  }
}
.fixed {
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}
.fixed.active {
  opacity: 1;
}
