@import url("https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@400;500;600&family=Noto+Sans+JP:wght@400;500;700&family=Cormorant+Garamond:wght@400;500;600&display=swap");

:root {
  --ink: #060f19;
  --gold: #d99b16;
  --gold-deep: #93600a;
  --gold-mid: #cf8a10;
  --gold-light: #fff18a;
  --gold-gradient: linear-gradient(112deg, #8f5a05 0%, #e29313 24%, #fff18a 47%, #c77a06 68%, #f0b025 100%);
  --gold-gradient-dark: linear-gradient(to right, #060f19 0%, #060f19 48%, #fff18a 54%, #d99b16 72%, #8f5a05 100%);
  --paper: #ffffff;
  --mist: #f5f5f5;
  --line: #e4e4e4;
  --pale: #d9d9d9;
  --max: 1136px;
  --font-serif-ja: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
  --font-sans-ja: "Noto Sans JP", sans-serif;
  --font-en: "Cormorant Garamond", Georgia, serif;
  --font-en-plain: Georgia, serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-serif-ja);
  line-height: 1.9;
  overflow-x: clip;
}

body.menu-open {
  overflow: hidden;
}

body.modal-open {
  overflow: hidden;
}

body.home-page .hero-copy {
  opacity: 0;
  transform: translateY(18px);
}

body.home-page .hero-mark {
  opacity: 0;
}

body.home-page.is-ready .hero-copy {
  animation: heroCopyIn 900ms ease-out both;
}

body.home-page.is-ready .hero-mark {
  animation: heroMarkIn 1200ms ease-out both;
}

@keyframes heroCopyIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroMarkIn {
  from {
    opacity: 0;
    transform: translateY(-50%) scale(0.94);
  }
  to {
    opacity: 0.42;
    transform: translateY(-50%) scale(1);
  }
}

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

  .scroll-label {
    animation: none;
  }
}

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: 90px;
  display: grid;
  grid-template-columns: 360px 1fr;
  align-items: stretch;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--line);
  transition: background 220ms ease, border-color 220ms ease, color 220ms ease;
}

.brand {
  display: flex;
  align-items: center;
  padding-left: 48px;
}

.brand img {
  width: 205px;
}

.home-page .site-header:not(.is-scrolled) {
  background: transparent;
  border-bottom-color: transparent;
  color: rgba(255, 255, 255, 0.72);
}

.home-page.menu-open .site-header,
.home-page .site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.95);
  border-bottom-color: var(--line);
  color: var(--ink);
}

.home-page .site-header:not(.is-scrolled) .menu-toggle span {
  background: #ffffff;
}

.home-page.menu-open .site-header .menu-toggle span,
.home-page .site-header.is-scrolled .menu-toggle span {
  background: var(--ink);
}

.global-nav {
  display: flex;
  justify-content: flex-end;
  align-items: stretch;
  gap: 13px;
  padding-right: 30px;
}

.global-nav a {
  min-width: 103px;
  display: grid;
  place-content: center;
  padding: 14px 14px 10px;
  text-align: center;
  font-size: 14px;
  white-space: nowrap;
}

.global-nav span {
  display: block;
  line-height: 1.25;
}

.global-nav small {
  display: block;
  margin-top: 4px;
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.global-nav a:hover {
  color: var(--gold-deep);
}

.global-nav a:hover small {
  color: var(--gold-mid);
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  margin-right: 16px;
  border: 0;
  background: transparent;
}

.menu-toggle span {
  display: block;
  width: 28px;
  height: 2px;
  margin: 7px auto;
  background: var(--ink);
}

.hero {
  min-height: 100vh;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--paper);
  background: #111;
}

.hero-video,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-video {
  position: fixed;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-video.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.hero-overlay {
  z-index: 1;
  background: linear-gradient(rgba(0, 0, 0, 0.32) 0%, rgba(0, 0, 0, 0.44) 72%, rgba(0, 0, 0, 0.78) 100%);
}

.hero-mark {
  position: absolute;
  z-index: 2;
  width: min(108vw, 1280px);
  max-width: none;
  top: 44%;
  left: -18vw;
  transform: translateY(-50%);
  height: auto;
  opacity: 0.42;
  filter: drop-shadow(0 12px 38px rgba(0, 0, 0, 0.3));
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 3;
  justify-self: center;
  width: min(88vw, 1010px);
  margin-left: 0;
  padding-top: 0;
  text-align: center;
}

.hero-en {
  margin: 0;
  color: #ffffff;
  font-family: var(--font-en);
  font-size: 116px;
  font-weight: 500;
  line-height: 0.92;
  letter-spacing: 0;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.56);
}

.hero-copy h1 {
  margin: 22px 0 0;
  color: #ffffff;
  font-size: clamp(24px, 2.5vw, 34px);
  font-weight: 400;
  letter-spacing: 0.08em;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.58);
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--font-en-plain);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.54);
}

.hero-kicker::before,
.hero-kicker::after {
  content: "";
  display: block;
  width: 42px;
  height: 1px;
  background: rgba(255, 255, 255, 0.38);
}

.scroll-label {
  position: absolute;
  top: calc(100% + 32px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: fit-content;
  margin: 0;
  color: #ffffff;
  font-family: var(--font-en);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
  animation: scrollPulse 2.6s ease-in-out infinite;
}

.scroll-label::after {
  content: none;
}

@keyframes scrollPulse {
  0%,
  100% {
    opacity: 0.42;
  }
  50% {
    opacity: 1;
  }
}

.section-inner {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding-inline: 32px;
}

.section-inner.narrow {
  max-width: 1040px;
}

.philosophy {
  position: relative;
  z-index: 4;
  min-height: auto;
  padding: 132px 0 142px;
  overflow: hidden;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.86);
  text-align: center;
}

.philosophy .section-inner {
  position: relative;
  z-index: 2;
}

.philosophy h2 {
  margin: 0 0 64px;
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 400;
  letter-spacing: 0.08em;
  line-height: 1.6;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.62);
}

.philosophy-text {
  display: grid;
  gap: 18px;
  font-size: 18px;
  font-weight: 600;
  line-height: 2.25;
  color: #ffffff;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.7);
}

.philosophy-text p {
  margin: 0;
}

.philosophy-actions {
  display: flex;
  justify-content: center;
  gap: 22px;
  margin-top: 62px;
  flex-wrap: wrap;
}

.philosophy-link {
  position: relative;
  display: grid;
  min-width: 230px;
  padding: 18px 62px 18px 22px;
  color: #ffffff;
  border-top: 1px solid rgba(255, 255, 255, 0.6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.26);
  text-align: left;
  transition: color 180ms ease, border-color 180ms ease;
}

.philosophy-link::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 22px;
  width: 34px;
  height: 1px;
  background: var(--gold-mid);
  transform: translateY(-50%);
}

.philosophy-link::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 22px;
  width: 8px;
  height: 8px;
  border-top: 1px solid var(--gold-mid);
  border-right: 1px solid var(--gold-mid);
  transform: translateY(-50%) rotate(45deg);
}

.philosophy-link span {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.philosophy-link small {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.58);
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.philosophy-link:hover {
  color: var(--gold-light);
  border-color: rgba(255, 241, 138, 0.72);
}

.section-link {
  position: relative;
  display: grid;
  width: min(100%, 360px);
  margin-top: 48px;
  padding: 18px 64px 18px 22px;
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, 0.64);
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  transition: color 180ms ease, border-color 180ms ease;
}

.section-link::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 22px;
  width: 36px;
  height: 1px;
  background: var(--gold-mid);
  transform: translateY(-50%);
}

.section-link::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 22px;
  width: 8px;
  height: 8px;
  border-top: 1px solid var(--gold-mid);
  border-right: 1px solid var(--gold-mid);
  transform: translateY(-50%) rotate(45deg);
}

.section-link span {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.section-link small {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.58);
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.section-link:hover {
  color: var(--gold-light);
  border-color: rgba(255, 241, 138, 0.72);
}

.products {
  position: relative;
  z-index: 4;
  scroll-margin-top: 90px;
  padding: 108px 0 98px;
  color: #fff;
  background: linear-gradient(145deg, #07111b 0%, #101820 54%, #05070a 100%);
}

.services-page .section-title p {
  font-size: clamp(40px, 5.4vw, 72px);
}

.services-page .section-title.accent p {
  font-size: clamp(44px, 5.8vw, 80px);
}

.services-page .sub-hero h1 {
  font-size: clamp(58px, 8.5vw, 116px);
}

.section-title p {
  margin: 0;
  font-family: var(--font-en);
  font-size: clamp(72px, 10vw, 128px);
  font-weight: 400;
  line-height: 0.88;
  letter-spacing: 0.04em;
}

.section-title p::after {
  content: "";
  display: block;
  width: 82px;
  height: 2px;
  margin-top: 18px;
  background: var(--gold-gradient);
}

.section-title.dark p::after,
.section-title.pale p::after {
  opacity: 0.78;
}

.section-title h2 {
  margin: 16px 0 0;
  font-size: clamp(22px, 2.4vw, 31px);
  font-weight: 400;
  letter-spacing: 0.08em;
  overflow-wrap: anywhere;
}

.section-title.dark p {
  color: rgba(255, 255, 255, 0.88);
}

.section-title.accent p {
  color: var(--ink);
}

.section-title.accent h2 {
  position: relative;
  width: fit-content;
  padding-left: 28px;
  color: var(--gold-mid);
  font-family: var(--font-en-plain);
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 700;
  letter-spacing: 0.12em;
}

.section-title.accent h2::before {
  content: "";
  position: absolute;
  top: 0.28em;
  left: 0;
  width: 8px;
  height: 1.4em;
  background: var(--gold-gradient);
}

.section-title.accent p {
  font-size: clamp(72px, 9.5vw, 132px);
  line-height: 0.84;
}

.section-title.pale p {
  color: var(--pale);
}

.lead {
  max-width: 780px;
  margin: 42px 0 54px;
  font-size: 17px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}

.product-card {
  display: block;
  min-width: 0;
  transition: transform 260ms ease;
}

.product-card > img:first-child {
  width: 100%;
  aspect-ratio: 1.2 / 1;
  object-fit: cover;
  transition: transform 360ms ease, filter 360ms ease;
}

.product-card:hover {
  transform: translateY(-6px);
}

.product-card:hover > img:first-child {
  filter: brightness(1.08);
  transform: scale(1.025);
}

.product-logo-text {
  display: block;
  margin: 22px 0 12px;
  color: #fff;
  font-family: var(--font-en);
  font-size: 30px;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1;
}

.product-card p {
  margin: 0;
  color: #fff;
  font-size: 14px;
}

.recruit-section {
  position: relative;
  z-index: 4;
  scroll-margin-top: 90px;
  padding: 108px 0 118px;
  color: #fff;
  background: #0b0f13;
}

.recruit-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 1fr);
  gap: 58px;
  align-items: stretch;
  margin-top: 42px;
}

.recruit-copy p {
  margin: 0 0 24px;
  font-size: 17px;
  line-height: 2.15;
}

.recruit-copy .section-link {
  margin-top: 44px;
}

.recruit-image-space {
  min-height: 420px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background:
    linear-gradient(rgba(4, 9, 15, 0.1), rgba(4, 9, 15, 0.24)),
    url("assets/recruit.jpeg") center / cover no-repeat;
}

.cta-section {
  position: relative;
  z-index: 4;
  scroll-margin-top: 90px;
  color: #ffffff;
  background: linear-gradient(180deg, #ffffff 0%, #ffffff 48%, var(--ink) 100%);
  padding: 0;
}

.home-page .cta-section {
  background: linear-gradient(180deg, #0b0f13 0%, #0b0f13 48%, var(--ink) 100%);
}

.services-page .cta-section,
.careers-page .cta-section {
  background: linear-gradient(180deg, #07111b 0%, #07111b 48%, var(--ink) 100%);
}

.company-page .cta-section {
  background: linear-gradient(180deg, #07111b 0%, #07111b 48%, var(--ink) 100%);
}

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

.cta-link {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  align-content: start;
  justify-items: start;
  gap: 8px;
  min-height: 240px;
  padding: 48px 110px 48px 48px;
}

.cta-link {
  isolation: isolate;
  overflow: hidden;
}

.cta-link::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.92;
  background: linear-gradient(rgba(4, 9, 15, 0.58), rgba(4, 9, 15, 0.7)), var(--cta-image) center / cover no-repeat;
  transition: transform 260ms ease;
}

.cta-link:hover::before {
  transform: scale(1.04);
}

.cta-company {
  --cta-image: url("assets/company.jpeg");
}

.cta-contact {
  --cta-image: url("assets/contact.jpeg");
}

.cta-services {
  --cta-image: url("assets/eventbooth.jpeg");
}

.cta-link::after {
  content: "";
  position: absolute;
  right: 48px;
  bottom: 48px;
  width: 48px;
  height: 1px;
  background: var(--gold-mid);
}

.cta-link p {
  margin: 0 0 4px;
  color: var(--gold-light);
  font-family: var(--font-en);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.cta-link h2 {
  margin: 0;
  font-size: clamp(26px, 2.8vw, 38px);
  font-weight: 400;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.cta-link span {
  max-width: 400px;
  margin-top: 4px;
  color: #ffffff;
  font-size: 16px;
  line-height: 2;
}

.site-footer {
  position: relative;
  z-index: 4;
  background: var(--ink);
  color: #fff;
}

.footer-inner {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 68px 32px 32px;
}

.footer-main {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 64px;
  align-items: start;
}

.footer-brand p {
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--font-sans-ja);
  font-size: 13px;
  line-height: 2;
}

.footer-logo {
  width: 220px;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 34px;
}

.footer-page-links {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 28px;
}

.footer-columns h3 {
  margin: 0 0 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  font-family: var(--font-en);
  font-size: 13px;
  letter-spacing: 0.12em;
  line-height: 1.55;
}

.footer-columns h3 a {
  color: #ffffff;
}

.footer-page-links h3 {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
  min-width: max-content;
}

.footer-columns p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-family: var(--font-sans-ja);
  font-size: 12px;
  line-height: 2;
}

.footer-columns a {
  color: rgba(255, 255, 255, 0.68);
  transition: color 180ms ease;
}

.footer-columns a:hover {
  color: var(--gold-light);
}

.copyright {
  margin: 54px 0 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.68);
  font-family: var(--font-sans-ja);
  font-size: 12px;
}

.global-nav a.active {
  color: var(--gold-deep);
}

.sub-hero {
  position: relative;
  min-height: 620px;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
  background: #07111b;
  padding: 160px 0 92px;
}

.sub-hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 9, 15, 0.84) 0%, rgba(4, 9, 15, 0.6) 52%, rgba(4, 9, 15, 0.72) 100%),
    var(--sub-hero-image, url("assets/company.jpeg")) var(--sub-hero-position, center) / cover no-repeat;
  transform: scale(1.02);
}

.services-page {
  --sub-hero-image: url("assets/eventbooth.jpeg");
}

.company-page {
  --sub-hero-image: url("assets/company.jpeg");
}

.careers-page {
  --sub-hero-image: url("assets/recruit.jpeg");
}

.contact-page {
  --sub-hero-image: url("assets/contact.jpeg");
}

.policy-page {
  --sub-hero-image: url("assets/privacy-hero.jpeg");
  --sub-hero-position: 54% 50%;
}

.sub-hero-inner {
  position: relative;
  z-index: 1;
}

.sub-hero p {
  margin: 0;
  color: var(--gold-light);
  font-family: var(--font-en);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.sub-hero h1 {
  margin: 18px 0 22px;
  font-size: clamp(46px, 8vw, 112px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.08em;
}

.sub-hero span {
  display: block;
  max-width: 860px;
  font-size: 18px;
  line-height: 1.95;
}

.service-intro {
  position: relative;
  z-index: 4;
  scroll-margin-top: 90px;
  padding: 112px 0;
  background: #fff;
}

.service-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1fr);
  gap: 64px;
  align-items: center;
  margin-top: 56px;
}

.service-intro-grid h3 {
  margin: 0 0 28px;
  font-size: clamp(25px, 3vw, 38px);
  font-weight: 400;
  letter-spacing: 0.08em;
  line-height: 1.6;
}

.service-intro-grid img {
  width: 100%;
  min-height: 460px;
  object-fit: cover;
}

.service-copy {
  max-width: 760px;
  margin: 22px 0 0;
  font-size: 16px;
}

.service-fields,
.service-strength {
  position: relative;
  z-index: 4;
  scroll-margin-top: 90px;
  padding: 112px 0;
  color: #fff;
  background: #07111b;
}

.service-field-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  margin-top: 58px;
}

.service-field-grid article {
  min-width: 0;
  transition: transform 260ms ease;
}

.service-field-grid img {
  width: 100%;
  aspect-ratio: 1.18 / 1;
  object-fit: cover;
  margin-bottom: 24px;
  transition: transform 360ms ease, filter 360ms ease;
}

.service-field-grid article:hover {
  transform: translateY(-6px);
}

.service-field-grid article:hover img {
  filter: brightness(1.08);
  transform: scale(1.025);
}

.service-field-grid p {
  margin: 0 0 8px;
  color: var(--gold-light);
  font-family: var(--font-en);
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.12em;
  font-variant-numeric: tabular-nums;
}

.service-field-grid h3,
.strength-grid h3 {
  margin: 0 0 14px;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.06em;
}

.service-field-grid span,
.strength-grid p {
  display: block;
  margin: 0;
  font-size: 14px;
  line-height: 2;
}

.strength-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2px;
  margin-top: 58px;
  background: rgba(255, 255, 255, 0.2);
}

.strength-grid article {
  min-height: 230px;
  padding: 34px;
  background: #07111b;
}

.company-page .section-title p {
  font-size: clamp(40px, 5.4vw, 72px);
}

.company-page .sub-hero h1 {
  font-size: clamp(58px, 8.5vw, 116px);
}

.section-title.company-accent p {
  color: var(--gold-mid);
}

.section-title.company-accent h2 {
  color: var(--ink);
}

.company-message {
  position: relative;
  z-index: 4;
  scroll-margin-top: 90px;
  padding: 112px 0;
  background: #ffffff;
}

.company-message-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1fr);
  gap: 64px;
  align-items: center;
  margin-top: 56px;
}

.company-message-grid h3 {
  margin: 0 0 28px;
  font-size: clamp(24px, 2.45vw, 32px);
  font-weight: 400;
  letter-spacing: 0.08em;
  line-height: 1.6;
  white-space: nowrap;
}

.company-message-grid p {
  margin: 0 0 22px;
  font-size: 16px;
}

.company-message-grid .lead {
  max-width: 760px;
  margin: 0 0 22px;
  font-size: 17px;
}

.company-message-grid img {
  width: 100%;
  min-height: 460px;
  object-fit: cover;
}

.company-sign {
  padding-top: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.company-profile {
  position: relative;
  z-index: 4;
  scroll-margin-top: 90px;
  padding: 112px 0;
}

.company-profile {
  color: #ffffff;
  background: #07111b;
}

.company-table {
  width: 100%;
  margin-top: 58px;
  border-collapse: collapse;
  font-family: var(--font-sans-ja);
}

.company-table tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.company-table tr:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.company-table th,
.company-table td {
  padding: 24px 0;
  vertical-align: top;
  text-align: left;
  font-size: 15px;
  line-height: 1.9;
}

.company-table th {
  width: 220px;
  padding-right: 32px;
  color: var(--gold-light);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.company-table td {
  color: rgba(255, 255, 255, 0.9);
}

.careers-page .section-title p {
  font-size: clamp(40px, 5.4vw, 72px);
}

.careers-page .sub-hero h1 {
  font-size: clamp(58px, 8.5vw, 116px);
}

.section-title.career-accent p {
  color: var(--gold-mid);
}

.section-title.career-accent h2 {
  color: var(--ink);
}

.career-message,
.career-requirements {
  position: relative;
  z-index: 4;
  scroll-margin-top: 90px;
  padding: 126px 0 112px;
  background: #ffffff;
}

.career-message-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1fr);
  gap: 64px;
  align-items: center;
  margin-top: 56px;
}

.career-message-grid h3 {
  margin: 0 0 28px;
  font-size: clamp(25px, 3vw, 38px);
  font-weight: 400;
  letter-spacing: 0.08em;
  line-height: 1.6;
}

.career-message-grid p {
  margin: 0 0 22px;
  font-size: 16px;
}

.career-message-grid .lead {
  max-width: 760px;
  margin: 0 0 22px;
  font-size: 17px;
}

.career-message-grid img {
  width: 100%;
  min-height: 460px;
  object-fit: cover;
}

.career-entry-link {
  position: relative;
  display: grid;
  width: min(100%, 360px);
  margin-top: 42px;
  padding: 18px 64px 18px 22px;
  color: var(--ink);
  border-top: 1px solid rgba(6, 15, 25, 0.34);
  border-bottom: 1px solid rgba(6, 15, 25, 0.18);
  transition: color 180ms ease, border-color 180ms ease;
}

.career-entry-link::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 22px;
  width: 36px;
  height: 1px;
  background: var(--gold-mid);
  transform: translateY(-50%);
}

.career-entry-link::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 22px;
  width: 8px;
  height: 8px;
  border-top: 1px solid var(--gold-mid);
  border-right: 1px solid var(--gold-mid);
  transform: translateY(-50%) rotate(45deg);
}

.career-entry-link span {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.career-entry-link small {
  margin-top: 4px;
  color: var(--gold-mid);
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.career-entry-link:hover {
  color: var(--gold-deep);
  border-color: rgba(207, 138, 16, 0.55);
}

.career-work,
.career-benefits {
  position: relative;
  z-index: 4;
  scroll-margin-top: 90px;
  padding: 112px 0;
  color: #ffffff;
  background: #07111b;
}

.work-grid,
.benefit-grid {
  display: grid;
  margin-top: 58px;
}

.work-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2px;
  background: rgba(255, 255, 255, 0.2);
}

.work-grid article,
.benefit-grid article {
  min-width: 0;
  background: #07111b;
}

.work-grid article {
  min-height: 270px;
  padding: 36px;
}

.work-grid p {
  margin: 0 0 14px;
  color: var(--gold-light);
  font-family: var(--font-en);
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.12em;
  font-variant-numeric: tabular-nums;
}

.work-grid h3,
.benefit-grid h3 {
  margin: 0 0 16px;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.06em;
}

.work-grid span,
.benefit-grid p {
  display: block;
  margin: 0;
  font-size: 14px;
  line-height: 2;
}

.career-table {
  width: 100%;
  margin-top: 58px;
  border-collapse: collapse;
  font-family: var(--font-sans-ja);
}

.career-table tr {
  border-bottom: 1px solid var(--line);
}

.career-table tr:first-child {
  border-top: 1px solid var(--line);
}

.career-table th,
.career-table td {
  padding: 24px 0;
  vertical-align: top;
  text-align: left;
  font-size: 15px;
  line-height: 1.9;
}

.career-table th {
  width: 220px;
  padding-right: 32px;
  color: var(--gold-mid);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.career-table td {
  color: var(--ink);
}

.benefit-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}

.benefit-grid article {
  min-height: 210px;
  padding: 30px 0;
  border-top: 2px solid rgba(255, 255, 255, 0.22);
  border-bottom: 2px solid rgba(255, 255, 255, 0.18);
}

.benefit-grid h3 {
  color: var(--gold-light);
}

.contact-page .section-title p {
  font-size: clamp(40px, 5.4vw, 72px);
}

.contact-page .sub-hero h1 {
  font-size: clamp(58px, 8.5vw, 116px);
}

.policy-page .sub-hero h1 {
  font-size: clamp(44px, 7vw, 92px);
}

.section-title.contact-accent p {
  color: var(--gold-mid);
}

.section-title.contact-accent h2 {
  color: var(--ink);
}

.contact-section {
  position: relative;
  z-index: 4;
  scroll-margin-top: 90px;
  padding: 126px 0 118px;
  background: #ffffff;
}

.contact-layout {
  max-width: 920px;
  margin-top: 58px;
}

.contact-form {
  display: grid;
  gap: 0;
  font-family: var(--font-sans-ja);
  border-top: 1px solid var(--line);
}

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

.form-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px;
  align-items: start;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.form-row label {
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.form-row label span {
  display: inline-block;
  margin-left: 8px;
  color: var(--gold-mid);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(6, 15, 25, 0.28);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  outline: none;
  padding: 0 0 12px;
}

.form-row textarea {
  min-height: 150px;
  resize: vertical;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-bottom-color: var(--gold-mid);
}

.form-row input:user-invalid,
.form-row select:user-invalid,
.form-row textarea:user-invalid {
  border-bottom-color: #b3261e;
}

.privacy-check {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 28px;
  font-family: var(--font-sans-ja);
  font-size: 13px;
  line-height: 1.8;
}

.privacy-check input {
  width: 16px;
  height: 16px;
  accent-color: var(--gold-mid);
}

.privacy-check a {
  color: var(--gold-deep);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.form-status {
  min-height: 1.8em;
  margin: 24px 0 0;
  color: #b3261e;
  font-family: var(--font-sans-ja);
  font-size: 13px;
}

.submit-button {
  position: relative;
  width: min(100%, 320px);
  margin-top: 34px;
  padding: 18px 64px 18px 22px;
  border: 0;
  border-top: 1px solid rgba(6, 15, 25, 0.34);
  border-bottom: 1px solid rgba(6, 15, 25, 0.18);
  background: transparent;
  color: var(--ink);
  font-family: var(--font-sans-ja);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-align: left;
  cursor: pointer;
}

.submit-button::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 22px;
  width: 36px;
  height: 1px;
  background: var(--gold-mid);
  transform: translateY(-50%);
}

.submit-button::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 22px;
  width: 8px;
  height: 8px;
  border-top: 1px solid var(--gold-mid);
  border-right: 1px solid var(--gold-mid);
  transform: translateY(-50%) rotate(45deg);
}

.submit-button:hover {
  color: var(--gold-deep);
  border-color: rgba(207, 138, 16, 0.55);
}

.submit-button:disabled {
  opacity: 0.5;
  cursor: wait;
}

.thanks-popup {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 220ms ease, visibility 220ms ease;
}

.thanks-popup.is-open {
  opacity: 1;
  visibility: visible;
}

.thanks-popup__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 15, 25, 0.68);
  backdrop-filter: blur(5px);
}

.thanks-popup__panel {
  position: relative;
  width: min(100%, 620px);
  padding: 58px 54px 54px;
  background: #ffffff;
  color: var(--ink);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.26);
  text-align: center;
}

.thanks-popup__en {
  margin: 0 0 14px;
  color: var(--gold-mid);
  font-family: var(--font-en);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.2;
}

.thanks-popup__panel h2 {
  margin: 0;
  font-size: clamp(24px, 3.2vw, 34px);
  font-weight: 400;
  letter-spacing: 0.06em;
  line-height: 1.55;
}

.thanks-popup__panel h2 span {
  display: block;
}

.thanks-popup__panel p:last-child {
  margin: 24px 0 0;
  font-family: var(--font-sans-ja);
  font-size: 15px;
  line-height: 2;
}

.thanks-popup__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 38px;
  height: 38px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.thanks-popup__close::before,
.thanks-popup__close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 24px;
  height: 1px;
  background: var(--ink);
}

.thanks-popup__close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.thanks-popup__close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.policy-section {
  position: relative;
  z-index: 4;
  scroll-margin-top: 90px;
  padding: 112px 0 118px;
  background: #ffffff;
}

.policy-content {
  max-width: 880px;
  font-family: var(--font-sans-ja);
}

.policy-content > p:first-child {
  margin: 0 0 52px;
  font-size: 16px;
  line-height: 2.1;
}

.policy-content section {
  padding: 30px 0;
  border-top: 1px solid var(--line);
}

.policy-content section:last-of-type {
  border-bottom: 1px solid var(--line);
}

.policy-content h2 {
  margin: 0 0 12px;
  color: var(--gold-mid);
  font-size: 18px;
  letter-spacing: 0.06em;
}

.policy-content p {
  margin: 0;
  font-size: 15px;
  line-height: 2;
}

.policy-content a {
  color: var(--gold-deep);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.policy-date {
  margin-top: 42px;
  color: rgba(6, 15, 25, 0.72);
}

.page-top {
  position: fixed;
  right: 36px;
  bottom: 32px;
  z-index: 45;
  display: grid;
  justify-items: center;
  gap: 8px;
  color: #ffffff;
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 700;
}

.page-top::before {
  content: none;
}

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: 300px 1fr;
  }

  .brand {
    padding-left: 24px;
  }

  .brand img {
    width: 190px;
  }

  .global-nav a {
    min-width: 87px;
    font-size: 13px;
  }
}

@media (max-width: 940px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .menu-toggle {
    display: block;
    align-self: center;
  }

  .global-nav {
    position: fixed;
    inset: 90px 0 auto 0;
    display: none;
    background: #fff;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    gap: 0;
    padding-right: 0;
  }

  body.menu-open .global-nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .global-nav a {
    width: auto;
    min-height: 74px;
    border-bottom: 1px solid var(--line);
  }

  .hero {
    min-height: 700px;
  }

  .hero-mark {
    width: min(90vw, 700px);
    top: 68%;
    left: 42%;
    transform: translate(-50%, -50%);
  }

  .hero-en {
    font-size: 82px;
  }

  .philosophy {
    min-height: auto;
    padding-bottom: 96px;
  }

  .product-grid,
  .recruit-layout,
  .service-intro-grid,
  .company-message-grid,
  .career-message-grid,
  .work-grid,
  .benefit-grid,
  .contact-layout,
  .strength-grid,
  .footer-main,
  .footer-columns,
  .cta-grid {
    grid-template-columns: 1fr;
  }

  .service-field-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cta-link {
    min-height: 190px;
    padding: 38px 84px 38px 32px;
  }

  .cta-link::after {
    right: 32px;
    bottom: 38px;
  }

  .cta-link span {
    margin-top: 2px;
  }

  .recruit-image-space {
    min-height: 320px;
  }

  .footer-main {
    gap: 42px;
  }

  .footer-brand p {
    max-width: 100%;
  }

  .footer-page-links {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 14px 24px;
  }
}

@media (max-width: 620px) {
  .site-header {
    height: 78px;
  }

  .brand {
    padding-left: 18px;
  }

  .brand img {
    width: 160px;
  }

  .global-nav {
    top: 78px;
  }

  body.menu-open .global-nav {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 620px;
  }

  .hero-video {
    width: 100%;
    max-width: none;
    height: 100%;
    inset: 0;
    object-fit: cover;
    object-position: center center;
    transform: none;
  }

  .hero-copy {
    width: 92vw;
    margin-left: 0;
  }

  .hero-mark {
    width: 720px;
    top: 66%;
    left: 39%;
    transform: translate(-50%, -50%);
    opacity: 0.42;
  }

  .hero-en {
    font-size: clamp(38px, 11.2vw, 44px);
    white-space: nowrap;
  }

  .hero-copy h1 {
    margin-top: 16px;
    font-size: clamp(17px, 4.7vw, 19px);
    letter-spacing: 0.03em;
    white-space: nowrap;
  }

  .hero-kicker {
    gap: 10px;
    margin-top: 14px;
    font-size: 9px;
    font-weight: 400;
    letter-spacing: 0.1em;
    white-space: nowrap;
  }

  .hero-kicker::before,
  .hero-kicker::after {
    width: 26px;
  }

  .section-inner {
    padding-inline: 22px;
  }

  .section-title p {
    font-size: clamp(54px, 18vw, 82px);
  }

  .philosophy,
  .products,
  .recruit-section,
  .service-intro,
  .service-fields,
  .service-strength,
  .company-message,
  .company-profile,
  .career-message,
  .career-work,
  .career-requirements,
  .career-benefits,
  .contact-section,
  .policy-section,
  .cta-section {
    padding-block: 76px;
  }

  .sub-hero {
    min-height: 520px;
    padding: 132px 0 70px;
  }

  .philosophy h2 {
    margin-bottom: 38px;
  }

  .philosophy-text,
  .lead,
  .recruit-copy p {
    font-size: 15px;
  }

  .cta-link {
    gap: 16px;
  }

  .cta-section {
    padding-block: 0;
  }

  .cta-section .section-inner {
    width: 100%;
    padding-inline: 0;
  }

  .cta-grid {
    gap: 0;
  }

  .cta-section {
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .cta-link {
    min-height: 240px;
  }

  .service-field-grid {
    grid-template-columns: 1fr;
  }

  .section-title.accent p {
    font-size: clamp(50px, 17vw, 70px);
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .services-page .section-title p,
  .services-page .section-title.accent p,
  .company-page .section-title p,
  .careers-page .section-title p,
  .contact-page .section-title p {
    font-size: clamp(32px, 10vw, 44px);
  }

  .services-page .sub-hero h1,
  .company-page .sub-hero h1,
  .careers-page .sub-hero h1,
  .contact-page .sub-hero h1 {
    font-size: clamp(46px, 15vw, 68px);
  }

  .contact-page .sub-hero h1 {
    font-size: clamp(42px, 13vw, 54px);
  }

  .policy-page .sub-hero h1 {
    font-size: clamp(34px, 10vw, 46px);
  }

  .service-intro-grid img,
  .company-message-grid img,
  .career-message-grid img,
  .recruit-image-space {
    min-height: 300px;
  }

  .company-message-grid h3 {
    font-size: 20px;
    letter-spacing: 0.04em;
  }

  .company-table,
  .company-table tbody,
  .company-table tr,
  .company-table th,
  .company-table td {
    display: block;
    width: 100%;
  }

  .company-table th {
    padding: 20px 0 6px;
  }

  .company-table td {
    padding: 0 0 20px;
  }

  .career-table,
  .career-table tbody,
  .career-table tr,
  .career-table th,
  .career-table td {
    display: block;
    width: 100%;
  }

  .career-table th {
    padding: 20px 0 6px;
  }

  .career-table td {
    padding: 0 0 20px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 22px 0;
  }

  .thanks-popup {
    padding: 18px;
  }

  .thanks-popup__panel {
    padding: 48px 26px 38px;
  }

  .thanks-popup__panel p:last-child {
    font-size: 14px;
  }

  .page-top {
    right: 16px;
    bottom: 18px;
    font-size: 11px;
  }

  .footer-logo {
    width: 180px;
  }
}
