:root {
  color-scheme: dark;
  --background: #070e0b;
  --panel: #101c16;
  --line: #304239;
  --white: #f4f3e9;
  --muted: #b0c0b6;
  --mint: #c9f2df;
  --dark-mint: #142c22;
  --sans: "Helvetica Neue", Helvetica, Arial, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  --serif: "Hiragino Mincho ProN", "Yu Mincho", YuMincho, "Noto Serif JP", serif;
}

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

html {
  background-color: var(--background);
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  color: var(--white);
  font: 1rem/1.7 var(--sans);
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }
h1, h2, h3, h4, p { margin: 0; }
[hidden] { display: none !important; }

:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 4px;
}

.note-shell {
  width: min(88rem, calc(100% - clamp(2rem, 12vw, 12rem)));
  margin-inline: auto;
}

.note-header {
  position: sticky;
  z-index: 2;
  top: 0;
  background: #070e0bf5;
  border-bottom: 1px solid var(--line);
}

.note-header__inner, .note-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
}

.note-header__inner {
  width: min(91rem, calc(100% - clamp(2rem, 9vw, 9rem)));
  min-height: clamp(4rem, 5.5vw, 5.5rem);
}

.note-header__actions {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3.75vw, 3.75rem);
}

.note-header__contact {
  color: var(--muted);
  font-size: clamp(0.78rem, 1.05vw, 1.05rem);
  white-space: nowrap;
}

.note-header__contact:hover { color: var(--white); }

.note-brand {
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
  font-size: clamp(1.35rem, 1.8vw, 1.8rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1;
  white-space: nowrap;
}

.note-brand img {
  width: 0.9em;
  height: 1.3em;
  object-fit: contain;
  padding: 2px;
  border-radius: 3px;
  background: var(--white);
}

.note-footer a {
  color: var(--muted);
  font-size: 0.85rem;
}

.note-footer a:hover { color: var(--mint); }
.note-footer { border-top: 1px solid var(--line); }
.note-footer__inner { min-height: 4.5rem; }

.note-footer small {
  color: var(--muted);
  font-size: 0.75rem;
}

.note-skip {
  position: fixed;
  z-index: 3;
  top: 0.5rem;
  left: 0.5rem;
  padding: 0.6rem 1rem;
  transform: translateY(-160%);
  color: var(--dark-mint);
  background: var(--mint);
}

.note-skip:focus { transform: none; }

.note-language {
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  padding: 3px;
  gap: 3px;
}

.note-language a {
  display: grid;
  min-width: 4.4rem;
  min-height: 2.3rem;
  place-items: center;
  padding: 0.2rem 0.55rem;
  color: var(--muted);
  font-size: 0.85rem;
  white-space: nowrap;
}

.note-language a[aria-current="page"] {
  color: var(--dark-mint);
  background: var(--mint);
  font-weight: 700;
}

.note-language a:hover:not([aria-current="page"]) {
  color: var(--white);
  background: var(--panel);
}

.note-kicker {
  color: var(--mint);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.note-title {
  font: 400 clamp(2.7rem, 4.55vw, 4.5rem)/1.12 var(--serif);
  letter-spacing: -0.035em;
  text-wrap: balance;
}

:lang(ja) .note-title { letter-spacing: 0; }

.note-hero .note-title, .note-confirmation .note-title {
  margin-block: 0.85rem 1rem;
}

.note-hero .note-title--stacked {
  display: grid;
  justify-items: start;
  gap: clamp(0.5rem, 1vw, 1rem);
  margin: 0;
}

.note-title__platform {
  display: inline-flex;
  align-items: center;
  gap: 0.26em;
}

.note-title__platform img {
  width: 0.85em;
  height: auto;
  border-radius: 0.14em;
}

.note-title__services {
  color: var(--mint);
  font: 600 clamp(0.94rem, 1.65vw, 1.55rem)/1.45 var(--sans);
}

.note-hero__intro, .note-confirmation__intro {
  max-width: 46rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.4rem);
}

.note-hero {
  padding-block: clamp(2.4rem, 3.3vw, 3.3rem) clamp(2rem, 3.15vw, 3.2rem);
  background:
    radial-gradient(ellipse at 92% 73%, rgba(147, 103, 52, 0.17), transparent 42%),
    radial-gradient(ellipse at 77% 3%, #22392a 0%, transparent 72%),
    linear-gradient(120deg, #142019, #0a120e);
}

.note-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem 1.2rem;
  margin-top: 1.9rem;
}

.note-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 0.85rem;
  min-height: 3rem;
  padding: 0.55rem 1.1rem;
  color: var(--dark-mint);
  background: var(--mint);
  border: 1px solid var(--mint);
  border-radius: 0;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
}

.note-button:hover { background: #ecfff4; }

.note-section { padding-block: clamp(3rem, 6vw, 5.5rem); }

.note-section h2 {
  margin: 0.35rem 0 0.55rem;
  font: 400 clamp(1.8rem, 3.8vw, 3.4rem)/1.23 var(--serif);
  letter-spacing: -0.02em;
}

.note-section__intro { color: var(--muted); }

.note-approach, .note-flow, .note-contact {
  border-top: 1px solid var(--line);
}

.note-approach h2 { text-wrap: balance; }

.note-approach__copy {
  display: grid;
  gap: 1rem;
  max-width: 46rem;
  margin-top: clamp(1.25rem, 2.6vw, 2.5rem);
  color: var(--muted);
  font-size: clamp(1rem, 1.2vw, 1.15rem);
}

.note-flow { background: #0c1711; }

.note-flow__list {
  display: grid;
  gap: 0.65rem;
  max-width: 46rem;
  margin: clamp(1.55rem, 3vw, 2.7rem) 0 0;
  padding: 0;
  list-style: none;
}

.note-flow__step {
  --step-size: 2rem;
  position: relative;
  display: grid;
  grid-template-columns: var(--step-size) minmax(0, 1fr);
  gap: clamp(0.75rem, 2vw, 1.35rem);
  padding-block-end: 1.25rem;
}

.note-flow__step:not(:last-child)::before {
  position: absolute;
  inset-block: calc(var(--step-size) + 0.35rem) 0.15rem;
  inset-inline-start: calc(var(--step-size) / 2 - 0.5px);
  border-inline-start: 1px solid #577469;
  content: "";
}

.note-flow__step:not(:last-child)::after {
  position: absolute;
  inset-block-end: 0.15rem;
  inset-inline-start: calc(var(--step-size) / 2 - 0.24rem);
  width: 0.48rem;
  height: 0.48rem;
  border-inline-end: 1px solid #577469;
  border-block-end: 1px solid #577469;
  transform: rotate(45deg);
  content: "";
}

.note-flow__number {
  display: grid;
  width: var(--step-size);
  height: var(--step-size);
  place-items: center;
  border: 1px solid #648472;
  border-radius: 50%;
  color: var(--mint);
  font-size: 0.82rem;
  line-height: 1;
}

.note-flow__step h3 {
  margin-block: 0.15rem 0.35rem;
  font: 400 clamp(1.15rem, 1.75vw, 1.5rem)/1.35 var(--serif);
}

.note-flow__step p,
.note-flow__step small,
.note-flow__rules-copy {
  color: var(--muted);
  font-size: 0.94rem;
}

.note-flow__step small {
  display: block;
  margin-block-start: 0.4rem;
  font-size: 0.8rem;
}

.note-flow__rules {
  max-width: 46rem;
  margin-block-start: 0.7rem;
  border-block: 1px solid var(--line);
  background: var(--panel);
}

.note-flow__rules summary {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 3rem;
  padding: 0.65rem 1rem;
  list-style: none;
  cursor: pointer;
}

.note-flow__rules summary::-webkit-details-marker { display: none; }
.note-flow__rules summary:hover { color: var(--mint); }

.note-flow__disclosure-icon {
  flex: none;
  color: var(--mint);
  font-size: 0.65rem;
}

.note-flow__rules[open] .note-flow__disclosure-icon { transform: rotate(180deg); }

.note-flow__rules-copy { padding: 0 1rem 1rem; }
.note-flow__rules-copy ul { margin: 0 0 0.65rem; padding-inline-start: 1.35rem; }
.note-flow__rules-copy li + li { margin-block-start: 0.25rem; }

.note-contact__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.25rem clamp(1.7rem, 6vw, 5rem);
}

.note-contact__inner .note-section__intro { max-width: 34rem; }
.note-contact__inner .note-button { justify-self: start; }

.note-confirmation {
  display: grid;
  align-items: center;
  min-height: calc(100svh - 9rem);
  padding-block: 4rem;
  background: radial-gradient(ellipse at 85% 5%, #1c3529 0%, transparent 66%);
}

.note-logo-strip {
  --logo-gap: clamp(1.5rem, 3vw, 3rem);
  padding-block: 0.9rem 1.25rem;
  border-block: 1px solid #30493b;
  background: #0c1610;
}

.note-logo-strip.note-logo-strip--compact {
  padding-block: clamp(0.65rem, 1.1vw, 1rem);
}

.note-logo-strip__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  margin-bottom: 0.45rem;
}

.note-logo-strip__heading h2 {
  color: var(--mint);
  font-size: clamp(0.88rem, 1.05vw, 1.05rem);
  font-weight: 600;
}

.note-logo-strip__toggle {
  display: grid;
  flex: 0 0 auto;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  place-items: center;
  border: 0;
  color: var(--mint);
  background: transparent;
  cursor: pointer;
}

.note-logo-strip__toggle span {
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border: 1px solid #426151;
}

.note-logo-strip__toggle:hover span { border-color: var(--mint); }

.note-logo-strip__toggle span::before {
  width: 0.4rem;
  height: 0.7rem;
  border-inline: 1px solid currentColor;
  content: "";
}

.note-logo-strip__toggle[aria-pressed="true"] span::before {
  width: 0;
  height: 0;
  border: 0.34rem solid transparent;
  border-right: 0;
  border-left: 0.49rem solid currentColor;
  translate: 1px 0;
}

.note-logo-strip__viewport {
  max-width: 120rem;
  margin-inline: auto;
  overflow-x: auto;
  scrollbar-color: #577469 #0c1610;
}

.note-logo-strip__track {
  display: flex;
  width: max-content;
}

.note-logo-strip__list {
  display: flex;
  flex: 0 0 auto;
  gap: var(--logo-gap);
  margin: 0;
  padding: 0 calc(var(--logo-gap) / 2);
  list-style: none;
}

.note-logo-strip__item {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  min-height: 2.6rem;
  gap: 0.5rem;
  color: var(--white);
  font-size: 0.98rem;
  font-weight: 700;
}

.note-logo-strip__item img {
  flex: 0 0 auto;
  width: 2.125rem;
  height: 2.125rem;
  object-fit: contain;
}

.note-logo-strip__item span {
  white-space: nowrap;
  line-height: 1.4;
}

@media (prefers-reduced-motion: no-preference) {
  .note-logo-strip[data-logo-motion] .note-logo-strip__viewport {
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 6.25%, black 93.75%, transparent);
  }

  .note-logo-strip[data-logo-motion] .note-logo-strip__track {
    animation: note-logo-scroll 18s linear infinite;
  }

  .note-logo-strip[data-logo-paused] .note-logo-strip__track,
  .note-logo-strip--compact .note-logo-strip__viewport:focus-within .note-logo-strip__track {
    animation-play-state: paused;
  }
}

@keyframes note-logo-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-100% / 3)); }
}

.note-feature-section { padding-block: clamp(1.65rem, 4vw, 4rem); }

@media (min-width: 651px) {
  .note-shell.note-feature-section {
    width: min(102rem, calc(100% - clamp(2rem, 4vw, 4rem)));
  }
}

.note-feature-heading {
  position: relative;
  padding-block: 1rem 0.9rem;
  border-top: 1px solid var(--line);
  font: 400 clamp(1.65rem, 2.8vw, 2.7rem)/1.1 var(--serif);
}

.note-feature-heading::before {
  position: absolute;
  top: -1px;
  left: 0;
  width: 5rem;
  height: 1px;
  background: #9abda4;
  content: "";
}

.note-feature-translation {
  margin-bottom: 1rem;
  font-size: 0.84rem;
}

.note-feature-layout {
  display: grid;
  grid-template-columns: clamp(10rem, 17vw, 14rem) minmax(0, 1fr);
  gap: clamp(0.6rem, 1.35vw, 1.2rem);
  margin-top: 0.3rem;
}

.note-feature-rail {
  min-width: 0;
  padding: 1rem 0.6rem 0.75rem;
  border: 1px solid var(--line);
  background: #0d1812;
}

.note-feature-rail__label {
  margin: 0 0.5rem 0.65rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.note-feature-tabs {
  max-height: min(21.5rem, 65svh);
  margin: 0;
  padding: 0 0.25rem 0 0;
  overflow: hidden auto;
  overscroll-behavior-y: contain;
  scrollbar-color: #688879 #14241a;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  list-style: none;
}

.note-feature-tab {
  display: flex;
  align-items: center;
  gap: 0.64rem;
  min-height: 2.875rem;
  padding: 0.36rem 0.4rem 0.36rem 0.65rem;
  border-inline-start: 2px solid transparent;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.note-feature-tab img {
  flex: 0 0 auto;
  width: 1.5rem;
  height: 1.5rem;
  object-fit: contain;
}

.note-feature-tab:hover {
  color: var(--white);
  background: #14251c;
}

.note-feature-tab[aria-selected="true"] {
  border-inline-start-color: var(--mint);
  color: var(--mint);
  background: #20372b;
}

.note-feature-tab:focus-visible { outline-offset: -3px; }

.note-feature {
  display: grid;
  grid-template-columns: minmax(0, 56fr) minmax(0, 44fr);
  border: 1px solid #34493d;
  background: var(--panel);
  box-shadow: 0 2px #101c16, 0 3px #293b31, 0 0.75rem 1.6rem #0004;
}

[data-company-features-ready] .note-feature {
  min-height: min(25rem, 74svh);
}

.note-feature-section:not([data-company-features-ready]) .note-feature + .note-feature {
  margin-top: 1.4rem;
}

.note-feature__main,
.note-feature__related {
  min-width: 0;
  padding: clamp(0.85rem, 1.75vw, 1.6rem);
}

.note-feature__main {
  background: linear-gradient(90deg, #15251b, #121e17 87%, #0b1510);
}

.note-feature__related {
  border-inline-start: 1px solid #394e42;
  background: linear-gradient(90deg, #0c1711, #14221a 12%, #101a15);
}

.note-feature--single { grid-template-columns: minmax(0, 1fr); }

.note-feature--single .note-feature__main {
  display: grid;
  grid-template-areas: "cover kind" "cover title" "cover summary" "cover link";
  grid-template-columns: minmax(0, 58fr) minmax(0, 42fr);
  gap: 0.7rem clamp(1rem, 2.2vw, 2rem);
  align-content: center;
  align-items: start;
  background: linear-gradient(115deg, #15251b, #121e17 59%, #0b1510);
}

.note-feature--single .note-feature__kind { grid-area: kind; }
.note-feature--single .note-feature__title { grid-area: title; }
.note-feature--single .note-feature__summary { grid-area: summary; }
.note-feature--single .note-feature__link { grid-area: link; }

.note-feature--single .note-feature__cover {
  grid-area: cover;
  align-self: center;
}

.note-feature--single .note-feature__main > * { margin-top: 0; }

.note-feature__kind,
.note-related__kind {
  color: var(--mint);
  font-size: clamp(0.73rem, 0.9vw, 0.9rem);
  font-weight: 600;
  line-height: 1.5;
}

.note-feature__title {
  margin-top: clamp(0.6rem, 1.1vw, 1.1rem);
  font: 400 clamp(1.2rem, 2vw, 2rem)/1.42 var(--serif);
  overflow-wrap: anywhere;
}

.note-feature__summary {
  max-width: 34rem;
  margin-top: 0.65rem;
  color: var(--muted);
  font-size: clamp(0.85rem, 1.05vw, 1rem);
  overflow-wrap: anywhere;
}

.note-feature__link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  margin-top: 0.85rem;
  padding-block: 0.55rem 0.2rem;
  border-top: 1px solid var(--line);
  color: var(--white);
  font-size: 0.84rem;
  font-weight: 600;
}

.note-feature__cover {
  display: block;
  margin-top: 0.6rem;
}

.note-feature__cover:hover { outline: 1px solid var(--mint); }

.note-feature__cover img,
.note-related img {
  width: 100%;
  height: auto;
}

.note-feature__related-title {
  font: 400 clamp(1.1rem, 1.65vw, 1.55rem)/1.35 var(--serif);
}

.note-feature__related-list {
  margin: 0.75rem 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.note-feature__related-list li { border-bottom: 1px solid var(--line); }

.note-related {
  display: grid;
  grid-template-columns: minmax(0, 40fr) minmax(0, 60fr) auto;
  align-items: center;
  gap: 0.62rem;
  padding-block: 0.8rem;
}

.note-feature__related-list li:only-child .note-related {
  grid-template-columns: minmax(0, 1fr) auto;
}

.note-feature__related-list li:only-child .note-related img {
  grid-column: 1 / -1;
  width: 84%;
}

.note-related__title {
  margin-top: 0.23rem;
  font: 400 clamp(0.85rem, 1.16vw, 1.1rem)/1.55 var(--serif);
  overflow-wrap: anywhere;
}

.note-feature__link span,
.note-related__arrow { color: var(--mint); }

.note-feature__link:hover,
.note-related:hover .note-related__title { color: var(--mint); }

.note-related__arrow {
  font-size: 0.92rem;
  line-height: 1;
}

@media (max-width: 950px) {
  .note-shell { width: calc(100% - clamp(2rem, 8vw, 5rem)); }

  .note-feature { grid-template-columns: minmax(0, 1fr); }

  .note-feature__related {
    border-inline-start: 0;
    border-top: 1px solid #394e42;
  }
}

@media (max-width: 650px) {
  html { scroll-padding-top: 4.5rem; }

  .note-shell,
  .note-header__inner { width: calc(100% - 2rem); }

  .note-header__inner, .note-footer__inner { min-height: 4rem; }
  .note-header__actions { gap: 0.7rem; }

  .note-language a {
    min-width: 3.4rem;
    padding-inline: 0.3rem;
    font-size: 0.76rem;
  }

  .note-title { font-size: clamp(2rem, 7.25vw, 3.35rem); }
  .note-logo-strip { padding-block: 0.55rem 0.95rem; }
  .note-logo-strip__heading { margin-bottom: 0.4rem; }

  .note-contact__inner { grid-template-columns: minmax(0, 1fr); }

  .note-feature-layout { grid-template-columns: clamp(5.25rem, 23vw, 9rem) minmax(0, 1fr); }

  .note-feature-rail { padding: 0.7rem 0.25rem 0.55rem; }

  .note-feature-rail__label {
    margin-inline: 0.24rem;
    font-size: 0.7rem;
    letter-spacing: 0;
  }

  .note-feature-tabs {
    max-height: min(21rem, 61svh);
    padding-right: 0;
  }

  .note-feature-tab {
    flex-direction: column;
    justify-content: center;
    gap: 0.25rem;
    min-height: 3.25rem;
    padding: 0.25rem 0.1rem;
    font-size: 0.72rem;
    text-align: center;
  }

  .note-feature-tab img {
    width: 1.25rem;
    height: 1.25rem;
  }

  .note-feature--single .note-feature__main {
    display: block;
  }

  .note-feature--single .note-feature__main > * + * { margin-top: 0.65rem; }

  .note-feature__main,
  .note-feature__related {
    padding: clamp(0.6rem, 2vw, 0.9rem);
    background: var(--panel);
  }

  .note-feature__title { font-size: clamp(1.05rem, 3vw, 1.2rem); }

  .note-related {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.4rem;
  }

  .note-related img,
  .note-feature__related-list li:only-child .note-related img {
    grid-column: 1 / -1;
    width: 100%;
  }
}

@media (max-width: 360px) {
  .note-header__inner { width: calc(100% - 1.5rem); }
  .note-header__actions { gap: 0.5rem; }
  .note-brand { font-size: 1.16rem; }
  .note-language a { min-width: 3rem; }
}
