:root {
  --white: #ffffff;
  --paper: #f5f5f2;
  --ink: #141414;
  --ink-soft: #282828;
  --muted: #626568;
  --line: #d9dad6;
  --line-dark: #3b3b3b;
  --red: #c5222c;
  --red-light: #e85b64;
  --header-height: 72px;
  --container: 1280px;
}

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

::selection {
  background: var(--red);
  color: var(--white);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 18px);
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--white);
  color: var(--ink);
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans",
    "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  line-break: strict;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

button {
  font: inherit;
}

:focus-visible {
  outline: 3px solid rgba(197, 34, 44, 0.34);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  transform: translateY(-160%);
  background: var(--ink);
  color: var(--white);
  padding: 0.7rem 1rem;
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(var(--container), calc(100% - 96px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  border-bottom: 1px solid rgba(217, 218, 214, 0.92);
  background: rgba(255, 255, 255, 0.97);
  transition: box-shadow 180ms ease;
}

.site-header.is-scrolled {
  box-shadow: 0 10px 34px rgba(20, 20, 20, 0.06);
}

.header-inner {
  width: min(var(--container), calc(100% - 64px));
  height: 100%;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
}

.brand {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
}

.brand img {
  width: 200px;
  height: auto;
  aspect-ratio: 260 / 56;
}

.primary-navigation {
  display: flex;
  align-self: stretch;
  align-items: stretch;
}

.primary-navigation a {
  position: relative;
  min-width: 112px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-inline: 1rem;
  color: var(--ink);
  line-height: 1.2;
  text-decoration: none;
  transition:
    background-color 180ms ease,
    color 180ms ease;
}

.primary-navigation a::after {
  position: absolute;
  right: 1rem;
  bottom: -1px;
  left: 1rem;
  height: 2px;
  background: var(--red);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms ease;
}

.primary-navigation a.is-active::after,
.primary-navigation a[aria-current="location"]::after {
  transform: scaleX(1);
}

.primary-navigation a span {
  font-size: 0.8rem;
  font-weight: 700;
}

.primary-navigation a small {
  margin-top: 0.28rem;
  color: var(--muted);
  font-size: 0.62rem;
}

.primary-navigation .navigation-contact {
  border-left: 1px solid var(--line);
  color: var(--red);
}

.menu-button {
  display: none;
}

.hero {
  min-height: calc(100svh - 112px);
  display: flex;
  align-items: stretch;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.hero-inner {
  min-height: inherit;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: 82px 66px;
}

.hero-kicker {
  margin: 0 0 2.6rem;
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  color: var(--red);
  font-size: 0.7rem;
  font-weight: 800;
  line-height: 1.3;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 1180px;
  margin: 0;
  color: var(--ink);
  font-size: 6.5rem;
  font-weight: 640;
  line-height: 0.98;
  letter-spacing: 0;
  text-wrap: balance;
}

.hero-period {
  color: var(--red);
}

.hero-rule {
  position: relative;
  height: 1px;
  margin-block: 3.5rem 2.5rem;
  overflow: hidden;
  background: var(--line);
}

.hero-rule span {
  position: absolute;
  top: 0;
  left: 0;
  width: 150px;
  height: 1px;
  background: var(--red);
  animation: hero-line 9s cubic-bezier(0.45, 0, 0.55, 1) infinite alternate;
}

@keyframes hero-line {
  from {
    left: 0;
  }
  to {
    left: calc(100% - 150px);
  }
}

.hero-details {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.82fr);
  gap: 8rem;
  align-items: start;
}

.hero-details p {
  margin: 0;
  text-wrap: pretty;
}

.hero-ja {
  max-width: 650px;
  color: var(--ink-soft);
  font-size: 1.2rem;
  font-weight: 650;
  line-height: 1.75;
}

.hero-en {
  max-width: 560px;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.8;
}

.hero-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 1rem 2.4rem;
  margin-top: 2.4rem;
}

.hero-links a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  border-bottom: 1px solid var(--ink);
  font-size: 0.78rem;
  font-weight: 750;
  text-decoration: none;
  transition:
    border-color 180ms ease,
    color 180ms ease;
}

.section {
  padding-block: 132px;
}

.section-label {
  margin: 0;
  color: var(--red);
  font-size: 0.7rem;
  font-weight: 800;
  line-height: 1.4;
  text-transform: uppercase;
}

.section-intro {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  align-items: end;
  gap: 3rem;
}

.section-intro h2,
.company-heading h2,
.contact h2 {
  margin: 0;
  font-size: 4.8rem;
  font-weight: 640;
  line-height: 1.05;
  letter-spacing: 0;
  text-wrap: balance;
}

.business {
  background: var(--white);
}

.business-list {
  margin-top: 5rem;
  border-top: 1px solid var(--ink);
}

.business-row {
  display: grid;
  grid-template-columns: 52px 300px minmax(0, 1fr);
  gap: 2.5rem;
  align-items: start;
  padding-block: 2.8rem;
  border-bottom: 1px solid var(--line);
}

.business-index {
  margin: 0;
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 800;
}

.business-name h3 {
  margin: 0;
  font-size: 1.45rem;
  font-weight: 680;
  line-height: 1.28;
}

.business-name p {
  margin: 0.5rem 0 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.business-copy p {
  max-width: 760px;
  margin: 0;
}

.business-copy p + p {
  margin-top: 0.7rem;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.75;
}

.company {
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.company-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
  gap: 8rem;
  align-items: start;
}

.company-heading h2 {
  margin-top: 2.2rem;
}

.company-table {
  margin: 0;
  border-top: 1px solid var(--ink);
}

.company-table > div {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 2.2rem;
  padding-block: 1.45rem;
  border-bottom: 1px solid var(--line);
}

.company-table dt {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
}

.company-table dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  font-size: 0.92rem;
  font-variant-numeric: tabular-nums;
}

.company-table dd span[lang="en"] {
  color: var(--muted);
}

.company-table a {
  color: var(--red);
}

.contact {
  background: var(--ink);
  color: var(--white);
}

.contact .section-label {
  color: var(--red-light);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
  gap: 8rem;
}

.contact h2 {
  margin-top: 2.2rem;
}

.contact-intro {
  max-width: 430px;
  margin: 1.8rem 0 0;
  color: #c9c9c7;
  font-size: 0.9rem;
}

.contact-intro + .contact-intro {
  margin-top: 0.75rem;
}

.contact-direct {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 2rem;
  border-bottom: 1px solid #555555;
  color: var(--red-light);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  transition:
    border-color 180ms ease,
    color 180ms ease;
}

.contact-form {
  position: relative;
  padding-top: 2.65rem;
  border-top: 1px solid #4a4a4a;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
}

.form-field {
  min-width: 0;
  display: grid;
  gap: 0.55rem;
}

.form-field-wide {
  grid-column: 1 / -1;
}

.form-field > span {
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 750;
}

.form-field > span small {
  color: #9f9f9c;
  font-size: 0.66rem;
  font-weight: 500;
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid #484848;
  border-radius: 0;
  background: #1a1a1a;
  color: var(--white);
  padding: 0.9rem 1rem;
  font-size: 1rem;
  line-height: 1.5;
  outline: 0;
  transition:
    border-color 180ms ease,
    background-color 180ms ease;
}

.form-field input {
  min-height: 52px;
}

.form-field textarea {
  min-height: 156px;
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--red-light);
  background: #1d1d1d;
}

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-top: 1.35rem;
  color: #b7b7b4;
  font-size: 0.72rem;
  line-height: 1.65;
}

.form-consent input {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin: 0.15rem 0 0;
  accent-color: var(--red);
}

.form-consent a {
  color: var(--white);
}

.form-submit {
  width: 100%;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.6rem;
  border: 1px solid var(--red);
  border-radius: 0;
  background: var(--red);
  color: var(--white);
  padding-inline: 1.25rem;
  font-weight: 750;
  cursor: pointer;
  transition:
    background-color 180ms ease,
    border-color 180ms ease;
}

.form-submit small {
  font-size: 0.7rem;
  font-weight: 500;
}

.form-submit:disabled {
  cursor: wait;
  opacity: 0.62;
}

.form-status {
  min-height: 1.8rem;
  margin: 1rem 0 0;
  color: #c9c9c7;
  font-size: 0.76rem;
}

.form-status.is-success {
  color: #9bd4ad;
}

.form-status.is-error {
  color: #ff8b92;
}

.form-honey {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.form-noscript {
  margin: 0.5rem 0 0;
  color: #c9c9c7;
  font-size: 0.75rem;
}

.site-footer {
  border-top: 1px solid var(--line-dark);
  background: var(--ink);
  color: var(--white);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.1fr 1fr 0.6fr;
  gap: 5rem;
  padding-block: 64px;
}

.footer-lockup {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.footer-lockup img {
  width: 198px;
  height: auto;
  aspect-ratio: 260 / 56;
}

.footer-brand p,
.footer-location p,
.footer-bottom p {
  margin: 0.75rem 0 0;
  color: #b8b8b6;
  font-size: 0.74rem;
}

.footer-location p:first-child {
  margin-top: 0;
  color: var(--white);
  font-size: 0.84rem;
  font-weight: 700;
}

.footer-links {
  display: grid;
  align-content: start;
  gap: 0.7rem;
}

.footer-links a {
  min-height: 30px;
  color: #d1d1cf;
  font-size: 0.75rem;
  text-decoration: none;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--line-dark);
  padding-block: 18px;
}

.footer-bottom p {
  margin: 0;
}

/* Privacy policy */
.legal-main {
  background: var(--white);
}

.legal-hero {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  padding-block: 96px 84px;
}

.legal-hero h1 {
  max-width: 900px;
  margin: 2rem 0 0;
  font-size: 4.7rem;
  font-weight: 640;
  line-height: 1.08;
  letter-spacing: 0;
}

.legal-hero .legal-lead {
  max-width: 720px;
  margin: 1.8rem 0 0;
  color: var(--muted);
}

.legal-updated {
  margin: 1.5rem 0 0;
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 700;
}

.legal-section {
  padding-block: 92px 120px;
}

.legal-content {
  max-width: 920px;
}

.policy-intro {
  margin-bottom: 3.8rem;
  padding-bottom: 1.8rem;
  border-bottom: 1px solid var(--ink);
}

.policy-block {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 3.5rem;
  padding-block: 2rem;
  border-bottom: 1px solid var(--line);
}

.policy-block h2 {
  margin: 0;
  font-size: 1.04rem;
  line-height: 1.5;
}

.policy-copy p {
  margin: 0 0 0.75rem;
  color: var(--muted);
}

.policy-copy p[lang="en"] {
  font-size: 0.86rem;
}

.policy-copy a {
  color: var(--red);
}

.back-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--red);
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
}

@media (hover: hover) {
  .primary-navigation a:hover {
    background: var(--paper);
    color: var(--red);
  }

  .hero-links a:hover {
    border-color: var(--red);
    color: var(--red);
  }

  .contact-direct:hover {
    border-color: var(--red-light);
    color: var(--white);
  }

  .form-submit:hover {
    border-color: #c82a35;
    background: #c82a35;
  }

  .footer-links a:hover,
  .form-consent a:hover {
    color: var(--red-light);
  }
}

@media (max-width: 1180px) {
  .container {
    width: calc(100% - 64px);
  }

  .hero h1 {
    font-size: 5.35rem;
  }

  .hero-details {
    gap: 5rem;
  }

  .business-row {
    grid-template-columns: 44px 250px minmax(0, 1fr);
    gap: 1.8rem;
  }

  .company-layout,
  .contact-layout {
    gap: 5rem;
  }
}

@media (max-width: 980px) {
  .header-inner {
    width: calc(100% - 40px);
  }

  .primary-navigation a {
    min-width: 96px;
    padding-inline: 0.7rem;
  }

  .hero h1 {
    font-size: 4.6rem;
  }

  .section-intro {
    grid-template-columns: 220px minmax(0, 1fr);
  }

  .business-row {
    grid-template-columns: 42px 220px minmax(0, 1fr);
  }

  .company-layout,
  .contact-layout {
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 3.5rem;
  }
}

@media (max-width: 799px) {
  :root {
    --header-height: 64px;
  }

  .container,
  .header-inner {
    width: calc(100% - 40px);
  }

  .brand img {
    width: 174px;
    height: auto;
  }

  .menu-button {
    width: 48px;
    height: 48px;
    display: grid;
    place-content: center;
    gap: 7px;
    border: 0;
    background: transparent;
    color: var(--ink);
    cursor: pointer;
  }

  .menu-button span {
    width: 23px;
    height: 1px;
    display: block;
    background: currentColor;
    transition: transform 180ms ease;
  }

  .menu-button[aria-expanded="true"] span:first-child {
    transform: translateY(4px) rotate(45deg);
  }

  .menu-button[aria-expanded="true"] span:last-child {
    transform: translateY(-4px) rotate(-45deg);
  }

  .primary-navigation {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    max-height: calc(100svh - var(--header-height));
    overflow-y: auto;
    display: grid;
    align-content: start;
    border-bottom: 1px solid var(--line);
    background: var(--white);
    padding: 0 20px 20px;
    box-shadow: 0 22px 44px rgba(20, 20, 20, 0.1);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    visibility: hidden;
    transition:
      opacity 180ms ease,
      transform 180ms ease,
      visibility 180ms ease;
  }

  .primary-navigation.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    visibility: visible;
  }

  .primary-navigation a {
    min-width: 0;
    min-height: 64px;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    border-bottom: 1px solid var(--line);
    padding: 0 8px;
  }

  .primary-navigation a span {
    font-size: 1rem;
  }

  .primary-navigation a small {
    margin: 0;
    font-size: 0.7rem;
  }

  .primary-navigation .navigation-contact {
    border-left: 0;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    padding-block: 64px 54px;
  }

  .hero h1 {
    font-size: 4rem;
  }

  .hero-details {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .hero-links {
    justify-content: flex-start;
  }

  .section {
    padding-block: 96px;
  }

  .section-intro,
  .company-layout,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 2.8rem;
  }

  .section-intro h2,
  .company-heading h2,
  .contact h2 {
    font-size: 3.7rem;
  }

  .company-heading h2,
  .contact h2 {
    margin-top: 1.5rem;
  }

  .contact-form {
    padding-top: 2.2rem;
  }
}

@media (max-width: 620px) {
  .container,
  .header-inner {
    width: calc(100% - 32px);
  }

  .hero-inner {
    padding-block: 50px 44px;
  }

  .hero-kicker {
    margin-bottom: 1.9rem;
    font-size: 0.65rem;
  }

  .hero h1 {
    font-size: 3.15rem;
    line-height: 1.03;
  }

  .hero-rule {
    margin-block: 2.4rem 1.8rem;
  }

  .hero-ja {
    font-size: 1.03rem;
  }

  .hero-en {
    font-size: 0.88rem;
  }

  .hero-links {
    margin-top: 1.8rem;
  }

  .section {
    padding-block: 78px;
  }

  .section-intro h2,
  .company-heading h2,
  .contact h2 {
    font-size: 3rem;
  }

  .business-list {
    margin-top: 3.2rem;
  }

  .business-row {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 0.9rem;
    padding-block: 2.2rem;
  }

  .business-index {
    grid-row: 1 / 3;
  }

  .business-name,
  .business-copy {
    grid-column: 2;
  }

  .business-name h3 {
    font-size: 1.28rem;
  }

  .business-copy {
    margin-top: 0.6rem;
  }

  .company-table > div {
    grid-template-columns: 1fr;
    gap: 0.4rem;
    padding-block: 1.2rem;
  }

  .company-table dt {
    color: var(--red);
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-field-wide {
    grid-column: auto;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding-block: 50px;
  }

  .footer-bottom {
    display: grid;
    justify-content: start;
    padding-block: 18px 26px;
  }

  .legal-hero {
    padding-block: 62px 58px;
  }

  .legal-hero h1 {
    font-size: 3rem;
  }

  .legal-section {
    padding-block: 70px 88px;
  }

  .policy-block {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

@media (max-width: 360px) {
  .container,
  .header-inner {
    width: calc(100% - 28px);
  }

  .brand img {
    width: 158px;
  }

  .hero h1 {
    font-size: 2.65rem;
  }

  .hero-kicker {
    display: grid;
    gap: 0.25rem;
  }

  .hero-rule span {
    width: 90px;
  }

  @keyframes hero-line {
    from {
      left: 0;
    }
    to {
      left: calc(100% - 90px);
    }
  }

  .section-intro h2,
  .company-heading h2,
  .contact h2 {
    font-size: 2.65rem;
  }

}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  .site-header,
  .hero-links,
  .site-footer {
    display: none;
  }

  .hero,
  .section,
  .legal-hero,
  .legal-section {
    min-height: 0;
    padding-block: 36px;
  }

  .contact {
    background: var(--white);
    color: var(--ink);
  }
}
