:root {
  --bg: #f4f4f3;
  --ink: #4c4c4c;
  --yellow: #ffeb00;
  --white: #ffffff;
  --line: rgba(76, 76, 76, 0.22);
  --gutter: 80px;
  --design-pc: 1512px;
  --index: 120px;
  --font-en: "Outfit", sans-serif;
  --font-ja: "Noto Sans JP", sans-serif;
  --font-mincho: "A-OTF Ryumin Pr6N", "YuMincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
}
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.fade-in.is-show {
  opacity: 1;
  transform: translateY(0);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--font-ja);
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p, h1, h2, dl, dd, ul { margin: 0; }
ul { padding: 0; }

.skip-link {
  position: fixed;
  left: 12px;
  top: 12px;
  z-index: 99;
  transform: translateY(-160%);
  background: var(--ink);
  color: var(--white);
  padding: 8px 12px;
  font-size: 14px;
}
.skip-link:focus { transform: translateY(0); }

/* Keep the 1512px Figma canvas centered on wider displays. */
.page-gutter {
  padding-inline: max(var(--gutter), calc((100vw - var(--design-pc)) / 2 + var(--gutter)));
}

.site-header {
  height: 80px;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.header-inner {
  height: 100%;
  display: grid;
  grid-template-columns: 225px 1fr 225px;
}
.site-logo {
  height: 80px;
  display: flex;
  align-items: center;
  padding-left: 20px;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
}
.site-logo picture,
.site-logo img { width: 136px; height: 50px; }
.site-logo img { object-fit: contain; }
.global-nav {
  display: flex;
  align-items: center;
  gap: 40px;
  padding-inline: 40px;
  font: 500 18px/1.7 var(--font-en);
}
.global-nav a, .contact-button { transition: opacity .2s ease; }
.global-nav a:hover, .contact-button:hover { opacity: .58; }
.contact-button {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
    background: var(--yellow);
    border-left: 1px solid var(--line);
    border-right: 1px solid var(--line);
    font: 500 18px / 1.7 var(--font-en);
    border-bottom: 1px solid var(--line);
}

/* The viewport-based FV height is retained from the approved implementation behavior. */
.hero {
  height: calc(90vh - 80px);
  border-bottom: 1px solid var(--line);
}
.hero-inner {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: darken;
  pointer-events: none;
}
.hero-brand {
  position: absolute;
  z-index: 1;
  top: 80px;
  left: 0;
  width: min(42%, 566.525px);
}
.hero-brand img { width: 100%; height: auto; }
.hero-copy {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 40px;
  width: 52%;
  text-align: right;
}
.hero-copy h1 {
  font: 400 70px/1.5 var(--font-mincho);
  letter-spacing: .01em;
}
.hero-copy p {
  margin-top: 8px;
  font: 500 20px/1.7 var(--font-en);
}

.section { border-bottom: 1px solid var(--line); }
.section-grid {
  display: grid;
  grid-template-columns: var(--index) minmax(0, 1232px);
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
}
.section-index {
  position: relative;
  min-width: 0;
  padding-top: 108px;
  border-right: 1px solid var(--line);
}
.section-index::after {
  content: "";
  position: absolute;
  left: 0;
  top: 150px;
  width: 120px;
  border-bottom: 1px solid var(--line);
}
.section-corner {
    position: absolute;
    left: 0px;
    top: 80px;
    width: 20px;
    height: 20px;
    object-fit: contain;
    transform-origin: center;
}
.section-index-text {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 120px;
  font: 500 20px/1.7 var(--font-en);
  white-space: nowrap;
}
.section-index-text h2 { font: inherit; }
.section-content { min-width: 0; }

.section-vision .section-grid {
  min-height: 627px;
  height: auto;
}
.vision-content {
  width: 100%;
  min-height: 627px;
  height: auto;
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 0;
}
.vision-copy {
  padding: 140px 0px 140px 40px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
.vision-copy > * { width: 100%; max-width: 516px; }
.vision-ja {
  font: 400 32px/1.8 var(--font-mincho);
  -webkit-text-stroke: .5px #4c4c4c;
  paint-order: stroke fill;
}
.vision-en { font: 500 14px/1.8 var(--font-en); }
.vision-symbol {
  height: 546px;
  display: flex;
  align-items: center;
  padding: 10px 40px;
}
.vision-symbol img { width: 224px; height: 260px; object-fit: contain; }

.section-brand .section-grid { height: 357px; }
.coming-soon {
  width: 100%;
  height: 357px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  font: 500 14px/1.8 var(--font-en);
}
.coming-copy {
  padding: 140px 40px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
.coming-copy > * { width: 100%; max-width: 496px; }
.coming-ja { font: 400 18px/1.8 var(--font-ja); }
.coming-blank { min-width: 0; }

.section-outline { border-bottom: 1px solid var(--line); }
.outline-shell {
  min-height: 799px;
  background: var(--yellow);
}
.outline-content {
  min-height: 799px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 140px 80px 80px;
}
.company-list { width: min(100%, 700px); }
.company-row {
    display: grid;
    grid-template-columns: 160px 1fr;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid #4c4c4c38;
}
.company-row dt, .company-row dd { min-width: 0; display: flex; flex-direction: column; }
.label-ja, .value-ja { color: var(--ink); font: 500 18px/1.8 var(--font-ja); }
.value-ja { font-weight: 400; }
.label-en, .value-en { color: var(--white); font: 500 14px/1.8 var(--font-en); }
.company-row-business { align-items: start; }
.business-list { padding-left: 1.25em; list-style: disc; }
.business-list + .business-list { margin-top: 0; }

.contact-grid {
  display: grid;
  grid-template-columns: 403px minmax(0, 949px);
  min-height: 491px;
  height: auto;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
}
.contact-title-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 40px;
  padding: 140px 40px 80px;
  border-right: 1px solid var(--line);
}
.contact-title-line {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 82px;
}
.contact-title-line h2 { font: 500 48px/1.7 var(--font-en); }
.contact-title-line span {
  position: relative;
  width: 80px;
  height: 1px;
  flex: 0 0 80px;
}
.contact-title-line span::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1px;
  height: 80px;
  background: var(--ink);
  transform: translate(-50%, -50%) rotate(90deg);
  transform-origin: center;
}
.mail-icon {
  position: relative;
  width: 323px;
  height: 85px;
  flex: 0 0 85px;
  overflow: hidden;
}
.mail-icon img {
    position: absolute;
    left: 50%;
    top: 50%;
    object-fit: contain;
    transform: translate(-50%, -50%);
    transform-origin: center;
    transition: opacity .5s ease, width .5s ease, height .5s ease;
}
.mail-icon-normal {
  width: 97.998px;
  height: 69.414px;
  opacity: 1;
}
.mail-icon-hover {
  width: 120.002px;
  height: 85px;
  opacity: 0;
}
@media (hover: hover) and (pointer: fine) {
  .contact-title-block:hover .mail-icon-normal { opacity: 0; }
  .contact-title-block:hover .mail-icon-hover { opacity: 1; }
}
.contact-copy {
  display: flex;
  flex-direction: column;
  gap: 60px;
  padding: 140px 40px 40px;
}
.contact-ja { font: 400 18px/1.8 var(--font-ja); }
.contact-en { margin-top: 20px; font: 500 14px/1.8 var(--font-en); }
.contact-corner-wrap {
  width: 60px;
  height: 60px;
  align-self: flex-end;
}
.under_line{
border-bottom: 2px solid #ffeb00;
display: inline-block;
}
.contact-corner {
  width: 60px;
  height: 60px;
  object-fit: contain;
  transform-origin: center;
}

.site-footer { background: var(--ink); color: var(--white); }
.footer-logo-wrap {
    height: calc(90vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 140px;
}
.footer-logo-wrap img { width: 492px; height: 181px; object-fit: contain; }
.copyright {
  height: 65px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  font: 500 14px/1.8 var(--font-en);
  letter-spacing: .2em;
}

@media (max-width: 900px) {
  :root { --gutter: 20px; }
  .page-gutter { padding-inline: 20px; }

  .site-header { height: 56px; }
  .header-inner { grid-template-columns: 1fr 120px; }
  .site-logo {
    height: 56px;
    padding-left: 10px;
    border-right: 0;
  }
  .site-logo picture,
  .site-logo img { width: 111px; height: 40px; }
  .global-nav { display: none; }
  .contact-button {
    height: 56px;
    font-size: 14px;
    border-right: 0;
  }

  .hero { height: calc(90vh - 56px); }
  .hero-inner { height: 100%; }
  .hero-video { object-position: center center; }
  .hero-brand {
    top: 80px;
    left: 0;
    width: min(91%, 318px);
  }
  .hero-copy {
    right: 0;
    bottom: 24px;
    width: 100%;
  }
  .hero-copy h1 { font-size: 40px; line-height: 1.5; }
  .hero-copy p { margin-top: 0; font: 500 14px/1.7 var(--font-en); }

  .section-grid {
    display: block;
    border-left: 1px solid var(--line);
    border-right: 1px solid var(--line);
  }
  .section-index {
    height: 104px;
    padding-top: 80px;
    border-right: 0;
  }
  .section-index::after {
    left: -20px;
    top: auto;
    bottom: 0;
    width: 134px;
  }
  .section-corner {
        left: 0px;
        top: 85px;
        width: 14px;
        height: 14px;
    }
  .section-index-text {
    margin-left: 22px;
    width: 92px;
    font-size: 14px;
    line-height: 1.7;
  }

  .section-vision .section-grid { height: auto; }
  .vision-content {
    display: block;
    height: auto;
    padding-bottom: 40px;
  }
  .vision-copy {
    padding: 40px 0;
    align-items: stretch;
    gap: 20px;
  }
  .vision-copy > * { max-width: none; }
  .vision-ja {
    font-size: 20px;
    -webkit-text-stroke: .35px #4c4c4c;
  }
  .vision-en { font: 400 14px/1.8 var(--font-en); }
  .vision-symbol {
    height: 220.698px;
    padding: 0 80px;
    margin-top: 0;
    justify-content: center;
  }
  .vision-symbol img { width: 190px; height: 220.698px; }

  .section-brand .section-grid { height: auto; }
  .coming-soon {
    display: block;
    height: 214px;
  }
  .coming-copy {
    height: 214px;
    padding: 80px 0;
    align-items: stretch;
    gap: 0;
  }
  .coming-copy > * { max-width: none; }
  .coming-ja { font-size: 16px; }
  .coming-blank { display: none; }

  .outline-shell { min-height: 0; }
  .outline-content { min-height: 0; padding: 80px 20px; }
  .company-list { width: 100%; }
  .company-row {
    display: block;
    padding-bottom: 20px;
    margin-bottom: 20px;
  }
  .company-row dt { margin-bottom: 8px; }
  .label-ja, .value-ja { font-size: 16px; }
  .label-en, .value-en { font: 400 14px/1.8 var(--font-en); }
  .business-list { padding-left: 1.5em; }

  .contact-grid {
    display: block;
    height: auto;
    border-left: 1px solid var(--line);
    border-right: 1px solid var(--line);
  }
  .contact-title-block {
    height: 272px;
    gap: 24px;
    padding: 80px 0 40px;
    border-right: 0;
  }
  .contact-title-line { height: 68px; }
  .contact-title-line h2 { font-size: 40px; }
  .contact-title-line span { width: 40px; flex-basis: 40px; }
  .contact-title-line span::before { height: 40px; }
  .mail-icon {
    width: 100%;
    height: 60px;
    flex-basis: 60px;
    overflow: visible;
  }
  .mail-icon-normal {
    width: 84px;
    height: 60px;
    opacity: 1;
  }
  .mail-icon-hover { display: none; }

  .contact-copy {
    height: 370px;
    gap: 20px;
    padding: 0 0 20px;
  }
  .contact-ja { font-size: 16px; }
  .contact-en { margin-top: 20px; font: 400 14px/1.8 var(--font-en); }
  .contact-corner-wrap {
    width: 40px;
    height: 40px;
    margin-right: 20px;
  }

  .contact-corner { width: 40px; height: 40px; }

  .footer-logo-wrap { height: 245.309px; padding: 80px; }
  .footer-logo-wrap img { width: 230px; height: auto; }
  .copyright { height: 38px; font-size: 10px; letter-spacing: .2em; }
}

@media (max-width: 390px) {
  .page-gutter { padding-inline: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
