html {
  scroll-behavior: smooth;
  scroll-padding-top: 3.75rem;
}

@media screen and (max-width: 767px) {
  html {
    scroll-behavior: auto;
  }
}

body {
  background: #fff;
}

body.locked {
  overflow: hidden;
}

.ios-mac {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

p,
h5,
h4,
h3,
h2,
h1,
a,
dd,
dt,
li,
figcaption,
button,
address,
label,
textarea,
input,
button {
  color: var(--colorBlack);
  font-family: var(--familyNotoSans);
  font-size: var(--fontMax16Min14);
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.8;
}

.mv__figureButton,
.acureCta {
  align-items: center;
  background: linear-gradient(180deg, #47bddc 0%, #39a2be 100%);
  border-radius: 200px;
  box-shadow: 0 4px 0 3px #036983;
  color: #fff;
  cursor: pointer;
  display: flex;
  font-size: clamp(0.75rem, 1.1111vw, 1.1111vw);
  font-weight: 700;
  height: 2.7778vw;
  justify-content: center;
  letter-spacing: 0;
  line-height: 1;
  max-width: 12.5vw;
  position: relative;
  transition: 0.2s;
  width: 100%;
  z-index: 1;
}

.acureCta {
  font-size: 1rem;
  height: 2.5rem;
  max-width: 11.25rem;
}

.mv__figureButton:hover,
.acureCta:hover {
  box-shadow: 0 2px 0 0 #036983;
  transform: translateY(3px);
}

.mv__figureButton::before,
.acureCta::before {
  background: #53ceee;
  border-radius: 50%;
  content: "";
  height: 1.1111vw;
  left: 0.9722vw;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 1.1111vw;
}

.acureCta::before {
  height: 1rem;
  left: 0.875rem;
  width: 1rem;
}

.mv__figureButtonText,
.acureCta__text {
  align-items: center;
  background: linear-gradient(to bottom, #19add3 0%, #088cad 100%);
  border-radius: 200px;
  display: flex;
  height: calc(100% - 4px);
  justify-content: center;
  width: calc(100% - 4px);
}

.acureCta--secondary {
  background: linear-gradient(to bottom, #fff 0%, #e6f4f8 100%);
  box-shadow: 0 4px 0 3px #bbe3e6;
}

.acureCta--secondary:hover {
  box-shadow: 0 2px 0 0 #bbe3e6;
  transform: translateY(3px);
}

.acureCta--secondary .acureCta__text {
  background: linear-gradient(to bottom, #fff 0%, #e1f1f6 100%);
  color: #00a0c9;
}

@media screen and (max-width: 767px) {
  .acureCta__text {
    font-size: var(--fontMax16Min14);
  }
}

/* Header */

.header {
  left: 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 10;
}

.header__nav {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  padding: 1rem 2.5rem;
  position: relative;
  z-index: 1;
}

.header__logo {
  display: block;
}

.header__logo img {
  max-width: 8.75rem;
}

.hamburger {
  cursor: pointer;
  height: 1.625rem;
  position: relative;
  transition: 0.25s;
  width: 2.5rem;
}

.hamburger:hover {
  opacity: 0.4;
}

.hamburger span {
  background: #0bf;
  display: block;
  height: 0.125rem;
  position: absolute;
  transition: 0.25s;
  width: 100%;
}

.hamburger span:nth-child(1) {
  top: 0;
}

.hamburger span:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}

.hamburger span:nth-child(3) {
  bottom: 0;
}

.open .hamburger span {
  background: #fff;
}

.open .hamburger span:nth-child(1) {
  transform: translate(0px, 12px) rotate(45deg);
}

.open .hamburger span:nth-child(2) {
  opacity: 0;
  transform: translate(20px, -50%);
}

.open .hamburger span:nth-child(3) {
  transform: translate(0px, -12px) rotate(-45deg);
}

.sidedrawer {
  background: var(--colorPrimary);
  border-bottom-left-radius: 1.25rem;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
  max-width: 17.5rem;
  padding: 6.25rem 0 0;
  position: absolute;
  right: 0;
  top: 0;
  transform: translateX(100%);
  transition: 0.25s ease-in-out;
  width: 100%;
}

.sidedrawer__homeLink {
  align-items: center;
  background: #fff;
  border-bottom-left-radius: 1rem;
  border-top-right-radius: 5rem;
  display: flex;
  height: 9.125rem;
  justify-content: center;
  margin-top: 2.125rem;
  position: relative;
  width: 10.3125rem;
}

.homeLink__img {
  text-align: center;

  img {
    max-width: 3.25rem;
  }

  figcaption {
    color: #17ac4d;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1.2;
    margin-top: 0.375rem;
  }
}

.open .sidedrawer {
  transform: translateX(0);
}

.sidedrawer__nav {
  margin: 0 auto;
  max-width: 10rem;
}

.sidedrawer__list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.sidedrawer__link {
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 0.1875rem;
}

.sidedrawer__en {
  font-family: var(--familyPoppins);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
}

.sidedrawer__jp {
  font-size: 0.875rem;
  line-height: 1.9;
}

@media screen and (max-width: 767px) {
  .sidedrawer {
    align-items: center;
    display: grid;
    gap: 2.5rem;
    height: 100dvh;
    justify-content: unset;
    max-width: 100%;
    overflow-y: scroll;
    padding: 0;
  }
  .sidedrawer__nav {
    align-content: flex-end;
    height: 100%;
    margin-top: 4rem;
  }
  .sidedrawer__homeLink {
    border-bottom-right-radius: 0;
    bottom: 0;
    left: 0;
    margin-top: auto;
    position: relative;
  }
  .header__logo img {
    max-width: 5rem;
  }
  .hamburger {
    height: 1.375rem;
    width: 1.875rem;
  }
  .open .hamburger span:nth-child(1) {
    transform: translate(0px, 10px) rotate(45deg);
  }
  .open .hamburger span:nth-child(3) {
    transform: translate(0px, -10px) rotate(-45deg);
  }
}

/* Footer */

.footer {
  background: #0caad3;
  padding: clamp(3.75rem, 5.5556vw, 5rem) 1.25rem 2.1875rem;
}

.footer__nav {
  align-items: center;
  display: grid;
  gap: 0.625rem 2.5rem;
  grid-template-columns: 10.6875rem 1fr;
  grid-template-rows: 1fr auto;
  justify-self: center;
}

.footer__icon {
  display: block;
  grid-column: 1;
  grid-row: span 2;
  max-width: 10.6875rem;
}

.footer__list {
  display: flex;
  flex-wrap: wrap;
  gap: 1.125rem;
  grid-column: 2;
  grid-row: 1;
}

.footer__link,
.footer__copyright {
  color: #fff;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0;
}

.footer__copyright {
  grid-column: 2;
  grid-row: 2;
}

.footer__link {
  display: flex;
  gap: 0.375rem;
}

.footer__link img {
  max-width: 0.5rem;
}

@media screen and (max-width: 767px) {
  .footer {
    padding-top: 3rem;
  }
  .footer__nav {
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  .footer__icon {
    max-width: 7.5rem;
  }
  .footer__list {
    gap: 0.625rem;
    justify-content: center;
    margin-top: 2rem;
  }
  .footer__link,
  .footer__copyright {
    font-size: 0.625rem;
  }

  .footer__copyright {
    margin-top: 0.8125rem;
  }
}
