.header {
  position: fixed;
  width: 100%;
  background: #fff;
  z-index: 999;
}

.header__container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
}
.header__logo-image {
  display: block;
  max-width: 110px;
  height: auto;
}
.header__menu-button {
  position: absolute;
  top: 1.8rem;
  right: 1rem;
  z-index: 1100;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
}

.header__menu-line {
  height: 1px;
  background: #000;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}

.header__menu-line:nth-child(1) {
  width: 28px;
}
.header__menu-line:nth-child(2) {
  width: 22px;
}
.header__menu-line:nth-child(3) {
  width: 16px;
}

.header__menu-button.is-open .header__menu-line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
  width: 28px;
}

.header__menu-button.is-open .header__menu-line:nth-child(2) {
  opacity: 0;
}

.header__menu-button.is-open .header__menu-line:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
  width: 28px;
}

.header__menu-content {
  position: fixed;
  inset: 0;
  z-index: 1050;
  background: #fff;
  padding: 5rem 1.5rem 1.5rem;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px);

  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    visibility 0s linear 0.25s;
}

.header__menu-content.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);

  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    visibility 0s linear 0s;
}

.header__menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.header__menu-item + .header__menu-item {
  margin-top: 1.5rem;
}

.header__menu-item {
  margin: 1rem 0;
}

.header__menu-item-link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: #000;
  text-align: center;
}

.header__menu-item-link--style-001 {
  font-size: 0.95rem;
  letter-spacing: 0.1em;
}

.header__menu-item-link--style-002 {
  font-size: 1.25rem;
  opacity: 0.9;
}

.main {
  width: 90%;
  max-width: 960px;
  margin-inline: auto;
  padding-bottom: 120px;
}

main > section {
  margin-block-start: 100px;
}

main > section:first-child {
  margin-block-start: 0;
}

main > section:last-of-type {
  margin-bottom: 0;
}

@media (max-width: 767px) {
  .page {
    --section-gap: 72px;
  }
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em;
  margin: 0 0 2rem;
  list-style: none;
  font-size: 0.75rem;
  padding: 0.5rem 1.5rem;
  opacity: 0.8;
}

.crumbs li {
  display: inline-flex;
  align-items: center;
}

.crumbs li + li::before {
  content: "›";
  margin: 0 0.5em;
}

.crumbs a {
  color: inherit;
  text-decoration: none;
}

.crumbs a:hover {
}

.c-page-header {
  position: relative;
  padding: 64px 0 120px;
  text-align: center;
}

.c-page-header__title {
  margin: 0;
}

.c-page-header__en {
  display: block;
  font-size: clamp(1rem, 2vw, 1rem);
  letter-spacing: 0em;
}

.c-page-header__ja {
  display: block;
  margin-top: 5px;
  letter-spacing: 0.1em;
  line-height: 1.8;
  margin-inline: auto;
  font-size: clamp(2rem, 3vw, 1.5rem);
}

.c-page-header__note {
  display: block;
  margin-top: 7px;
  letter-spacing: 0.1em;
  line-height: 1.8;
  margin-inline: auto;
  font-size: clamp(1rem, 2vw, 1rem);
}

.c-page-header__description {
  margin-top: 24px;
  font-size: 14px;
  line-height: 1.9;
  max-width: 42ch;
  margin-inline: auto;
}

.c-page-header .c-stroke {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
}

@supports (text-wrap: balance) {
  .c-page-header__ja {
    text-wrap: balance;
  }
}

@media (max-width: 540px) {
  .c-page-header__ja {
    font-size: 0.8em;
  }
}

.c-stroke {
  position: relative;
  width: 1px;
  height: 64px;
  overflow: hidden;
}

.c-stroke__line {
  position: absolute;
  inset: 0;
  background: currentColor;
  transform: translateY(-100%);
}

.c-stroke.is-animated .c-stroke__line {
  animation: stroke-down 1.6s ease-in-out infinite;
}

@keyframes stroke-down {
  0% {
    transform: translateY(-100%);
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  100% {
    transform: translateY(100%);
    opacity: 0;
  }
}

.footer {
  padding: 80px 24px 40px;
  font-family: inherit;
  background: #795548;
  color: #fff;
  position: relative;
}

.footer__container {
  margin: 0 auto;
}

@media (max-width: 540px) {
  .footer__container {
    margin: 0 auto;
    padding-bottom: 20%;
  }
}

.footer__logo {
  display: block;
  margin-bottom: 10px;
  font-size: 1.25rem;
  width: 300px;
}

.footer__address-list {
  font-style: normal;
  margin-bottom: 103px;
  width: 340px;
}

.footer__nav {
  margin-top: 24px;
}

.footer__nav {
  position: absolute;
  padding-top: 55px;
  right: 0;
  top: 0;
  width: 600px;
}

.footer__menu {
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}

.footer__menu-item-link {
  text-decoration: none;
  color: inherit;
  font-size: 0.875rem;
}

.footer__menu-item-link:hover .footer__menu-item-link--style-001 {
  opacity: 1;
}

.footer__copyright {
  display: block;
  margin-top: 16px;
  font-size: 0.75rem;
}

.footer__cta-button {
  display: block;
  right: 2%;
  bottom: 2%;
  max-width: 450px;
  position: fixed;
  transition: transform 0.3s ease-in-out;
  width: 35%;
}

.footer__cta-button-image {
  border-radius: 5px;
}

@media (max-width: 768px) {
  .footer__cta-button {
    display: block;
    right: 2%;
    bottom: 1%;
    max-width: 350px;
    position: fixed;
    transition: transform 0.3s ease-in-out;
    width: 92%;
  }
}

@media (max-width: 540px) {
  .footer__cta-button {
    display: block;
    right: 4%;
    bottom: 1%;
    max-width: 450px;
    position: fixed;
    transition: transform 0.3s ease-in-out;
    width: 92%;
  }
}

@media (max-width: 768px) {
  .footer__logo {
    display: block;
    margin-bottom: 10px;
    font-size: 1.25rem;
    width: unset;
  }

  .footer__address-list {
    font-style: normal;
    margin-bottom: 50px;
    width: unset;
  }

  .footer__nav {
    position: static;
    padding-top: 0px;
    right: 0;
    top: 0;
    width: unset;
  }

  .footer__menu {
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 60px;
  }

  .footer__copyright {
    display: block;
    margin-top: 16px;
    font-size: 0.75rem;
    text-align: left;
  }
}

@media (max-width: 540px) {
  .footer__menu {
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 60px;
  }
}
