:root {
  --color-white: #ffffff;
  --color-black: #000000;
  --color-divider: #d9d9d9;
  --color-border: #e6e6e6;
  --color-muted: #707070;
  --color-link-blue: #286ec8;
  --color-menu-icon: #4a4a4a;
  --color-toast-success: #52b82e;
  --color-toast-error: #fb3d3d;
  --container-xs: 444px;
  --container-md: 800px;
  --container-xl: 1200px;
  --container-xxl: 1400px;
  --header-height: 95px;
  --content-height: calc(100vh - 94px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--color-white);
  color: var(--color-black);
  font-family: "Inter", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

button,
input,
textarea {
  font: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.site-shell {
  min-height: 100vh;
  width: 100%;
}

.container {
  width: 100%;
  margin: 0 auto;
  padding-inline: 16px;
}

.container-xs {
  max-width: var(--container-xs);
}

.container-md {
  max-width: var(--container-md);
}

.container-xl {
  max-width: var(--container-xl);
}

.container-xxl {
  max-width: var(--container-xxl);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-divider);
}

.site-header__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: var(--header-height);
  padding-block: 20px;
}

.site-header__logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.site-header__logo img {
  width: 34px;
  height: 54px;
}

.menu-toggle {
  position: absolute;
  top: 50%;
  right: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 6px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--color-menu-icon);
  transform: translateY(-50%);
  cursor: pointer;
}

.menu-toggle:focus-visible,
.menu-close:focus-visible,
.menu-language:focus-visible,
.contact-submit:focus-visible {
  outline: 2px solid var(--color-black);
  outline-offset: 3px;
}

.menu-dialog {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: none;
  background: var(--color-black);
  color: var(--color-white);
}

.menu-dialog.is-open {
  display: block;
}

.menu-dialog__inner {
  padding-block: 20px;
  min-height: 100vh;
}

.menu-dialog__close-row {
  display: flex;
  justify-content: flex-end;
  padding-top: 7px;
  padding-right: 2px;
}

.menu-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 6px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--color-white);
  cursor: pointer;
}

.menu-dialog__nav-wrap {
  display: flex;
  justify-content: flex-end;
  margin-top: 36px;
  padding-right: 52px;
}

.menu-dialog__nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.menu-link {
  display: inline-flex;
  width: 200px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--color-white);
}

.menu-link__label {
  font-size: 24px;
  font-weight: 500;
  line-height: 30px;
}

.menu-dialog__language {
  margin-top: 35px;
}

.menu-language {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--color-white);
  cursor: pointer;
}

.menu-language__labels {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.menu-language__labels span {
  line-height: 15px;
}

.menu-language__labels .is-active-en,
.menu-language__labels .is-active-ja {
  font-size: 14px;
  font-weight: 600;
}

.menu-language__labels .is-inactive {
  font-size: 10px;
  font-weight: 500;
}

.page-main {
  width: 100%;
}

.public-notice-page {
  min-height: var(--content-height);
}

.page-fullscreen {
  min-height: var(--content-height);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.home-page .page-container {
  max-width: var(--container-md);
}

.home-page__inner {
  width: 427px;
}

.home-page__title {
  margin: 0 0 60px;
  font-size: 48px;
  font-weight: 600;
  line-height: 60px;
  text-wrap: balance;
}

.home-page__subtitle {
  margin: 0;
  font-size: 32px;
  font-weight: 600;
  line-height: 32px;
}

.about-page .page-container,
.team-page .page-container {
  max-width: var(--container-md);
  padding-top: 82px;
  padding-bottom: 82px;
}

.section-title {
  margin: 0 0 32px;
  font-size: 40px;
  font-weight: 600;
  line-height: 48px;
}

.section-title--small {
  margin: 0 0 32px;
  font-size: 28px;
  font-weight: 600;
  line-height: 40px;
}

.body-copy {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 20px;
}

.body-copy--mission {
  margin-bottom: 160px;
}

.body-copy--symbol {
  margin-bottom: 160px;
}

.about-page__meta {
  display: flex;
  justify-content: space-between;
  gap: 48px;
}

.about-page__left,
.about-page__right {
  display: flex;
  flex-direction: column;
}

.about-page__left {
  gap: 60px;
}

.about-page__right {
  width: 256px;
  gap: 19px;
}

.about-section__heading {
  margin: 0;
  min-height: 20px;
  font-size: 16px;
  font-weight: 500;
  line-height: 20px;
}

.about-section__heading.is-placeholder {
  color: transparent;
}

.about-section__title {
  margin: 0;
  font-size: 25px;
  font-weight: 500;
  line-height: 30px;
}

.about-section__subtitle {
  margin: 0;
  font-size: 14px;
  font-weight: 300;
  line-height: 17px;
}

.about-page__button {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 256px;
  height: 48px;
  border: 0;
  border-radius: 8px;
  background: var(--color-black);
  color: var(--color-white);
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
}

.team-page__list {
  display: flex;
  flex-direction: column;
  gap: 50px;
  margin-bottom: 60px;
}

.team-page__row {
  display: flex;
  justify-content: space-between;
  gap: 34px;
}

.profile-card {
  width: 256px;
}

.profile-card__image {
  width: 256px;
  height: 256px;
  margin-bottom: 30px;
  background: #f7f7f7;
  object-fit: cover;
}

.profile-card__name {
  margin: 0 0 5px;
  font-size: 20px;
  font-weight: 500;
  line-height: 24px;
}

.profile-card__title {
  margin: 0;
  font-size: 14px;
  line-height: 17px;
}

.coming-soon-page .page-container {
  max-width: var(--container-md);
}

.coming-soon-page__message {
  margin: 0;
  padding-block: 120px;
  font-size: 40px;
  font-weight: 600;
  text-align: center;
}

.contact-page .page-container {
  max-width: var(--container-xs);
  min-height: var(--content-height);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 120px;
  padding-bottom: 120px;
  padding-inline: 40px;
}

.contact-page__title {
  margin: 0 0 30px;
  font-size: 24px;
  font-weight: 600;
  line-height: 30px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-field {
  width: 100%;
  padding: 8.5px 14px;
  border: 1px solid var(--color-border);
  border-radius: 0;
  background: var(--color-white);
  color: var(--color-black);
  font-size: 16px;
}

.contact-field::placeholder {
  color: #7a7a7a;
}

.contact-field:focus {
  outline: none;
  border-color: var(--color-black);
}

.contact-field--textarea {
  min-height: 136px;
  resize: vertical;
}

.contact-submit {
  width: 100%;
  height: 48px;
  border: 0;
  border-radius: 0;
  background: var(--color-black);
  color: var(--color-white);
  font-size: 16px;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.contact-submit[disabled] {
  opacity: 0.4;
  cursor: not-allowed;
}

.public-notice-page .page-container {
  max-width: var(--container-md);
  padding-top: 64px;
  padding-bottom: 64px;
}

.public-notice-page__title {
  margin: 0 0 24px;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.3;
}

.public-notice-page__list {
  width: 100%;
  border-top: 1px solid var(--color-divider);
  border-bottom: 1px solid var(--color-divider);
}

.public-notice-page__item + .public-notice-page__item {
  border-top: 1px solid var(--color-divider);
}

.public-notice-page__link {
  display: block;
  padding: 22px 0;
  color: var(--color-link-blue);
  font-size: 18px;
  line-height: 1.6;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.public-notice-page__link:hover,
.public-notice-page__link:focus-visible {
  opacity: 0.6;
  text-decoration: underline;
}

.site-footer {
  background: var(--color-white);
}

.site-footer__outer {
  background: var(--color-white);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.site-footer__top {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 24px;
  padding-block: 90px;
}

.site-footer__brand img {
  width: 128px;
  height: 44px;
}

.site-footer__nav {
  display: flex;
  justify-content: space-between;
  gap: 32px;
}

.site-footer__column {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.site-footer__column--mobile {
  display: none;
}

.site-footer__heading {
  margin: 0 0 20px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
}

.site-footer__column a {
  font-size: 12px;
}

.site-footer__divider {
  border-top: 1px solid var(--color-black);
}

.site-footer__bottom {
  display: grid;
  grid-template-columns: 3fr 6fr 3fr;
  align-items: start;
  row-gap: 20px;
  padding-top: 35px;
  padding-bottom: 38px;
}

.site-footer__copyright {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
}

.site-footer__links {
  display: flex;
  justify-content: center;
  gap: 30px;
}

.site-footer__links a,
.site-footer__country,
.site-footer__country--mobile {
  color: var(--color-muted);
}

.site-footer__links a {
  font-size: 12px;
}

.site-footer__country {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  text-align: right;
  color: var(--color-black);
}

.site-footer__country--mobile {
  display: none;
  margin: 0;
  font-size: 10px;
  font-weight: 500;
}

.toast-stack {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 1300;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none;
}

.toast {
  min-width: 240px;
  max-width: min(360px, calc(100vw - 32px));
  padding: 14px 16px;
  border-radius: 10px;
  color: var(--color-white);
  box-shadow: 2px 2px 48px 3px #00000040;
  font-size: 14px;
  line-height: 1.4;
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.toast--success {
  background: var(--color-toast-success);
}

.toast--error {
  background: var(--color-toast-error);
}

@media (min-width: 576px) {
  .container {
    padding-inline: 24px;
  }
}

@media (max-width: 575.98px) {
  .menu-dialog__nav-wrap {
    padding-right: 0;
  }

  .home-page__inner {
    width: auto;
    padding-inline: 36px;
  }

  .home-page__title {
    margin-bottom: 34px;
    font-size: 32px;
    line-height: 32px;
  }

  .home-page__subtitle {
    font-size: 20px;
    line-height: 20px;
  }

  .about-page .page-container,
  .team-page .page-container {
    padding-top: 30px;
    padding-bottom: 30px;
  }

  .section-title {
    margin-bottom: 10px;
    font-size: 32px;
    line-height: 38px;
  }

  .section-title--small {
    margin-bottom: 10px;
    font-size: 20px;
    line-height: 28px;
  }

  .body-copy {
    font-size: 14px;
  }

  .body-copy--mission {
    margin-bottom: 60px;
  }

  .body-copy--symbol {
    margin-bottom: 60px;
  }

  .about-page__meta {
    flex-direction: column;
    gap: 78px;
  }

  .about-page__left {
    gap: 50px;
  }

  .about-page__right {
    width: 100%;
    display: grid;
    grid-template-columns: 7fr 5fr;
    row-gap: 83px;
    column-gap: 24px;
    margin-bottom: 114px;
  }

  .about-section__heading {
    font-size: 14px;
  }

  .about-section__title {
    font-size: 20px;
  }

  .about-page__button {
    width: 100%;
  }

  .team-page__list {
    gap: 34px;
    align-items: center;
  }

  .team-page__row {
    flex-direction: column;
  }

  .profile-card,
  .profile-card__image {
    width: 280px;
  }

  .profile-card__image {
    height: 280px;
    margin-bottom: 20px;
  }

  .coming-soon-page__message {
    font-size: 24px;
  }

  .contact-page .page-container {
    padding-top: 30px;
    padding-bottom: 30px;
  }

  .public-notice-page .page-container {
    padding-top: 32px;
    padding-bottom: 32px;
  }

  .public-notice-page__title {
    font-size: 24px;
  }

  .public-notice-page__link {
    padding: 18px 0;
    font-size: 16px;
  }

  .site-footer__outer {
    filter: invert(100%);
  }

  .site-footer__top {
    grid-template-columns: 1fr;
    row-gap: 40px;
    padding-block: 42px;
  }

  .site-footer__brand img {
    width: 110px;
    height: 38px;
  }

  .site-footer__nav {
    gap: 24px;
  }

  .site-footer__column {
    flex: 1;
  }

  .site-footer__column--desktop {
    display: none;
  }

  .site-footer__column--mobile {
    display: flex;
  }

  .site-footer__divider {
    display: none;
  }

  .site-footer__bottom {
    grid-template-columns: 1fr;
    padding-top: 0;
  }

  .site-footer__copyright-wrap {
    order: 2;
  }

  .site-footer__legal {
    order: 1;
  }

  .site-footer__country-wrap {
    display: none;
  }

  .site-footer__copyright-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    color: var(--color-muted);
  }

  .site-footer__copyright {
    font-size: 10px;
    font-weight: 500;
  }

  .site-footer__links {
    justify-content: flex-start;
  }

  .site-footer__country--mobile {
    display: block;
  }
}
