:root {
  --ink: #111111;
  --paper: #f1efe9;
  --paper-2: #e7e3d9;
  --acid: #c8ff2f;
  --line: rgba(17,17,17,.18);
  --white-line: rgba(255,255,255,.22);
  --sans: "Inter Tight", "Noto Sans JP", Arial, sans-serif;
  --jp: "Noto Sans JP", "Inter Tight", sans-serif;
  --pad: clamp(22px, 4vw, 64px);
  --radius: 34px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
p, h1, h2, h3 { margin-top: 0; }

.site-header {
  position: fixed;
  z-index: 100;
  top: 14px;
  left: 18px;
  right: 18px;
  min-height: 64px;
  padding: 10px 12px 10px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: rgba(241,239,233,.78);
  border: 1px solid rgba(17,17,17,.12);
  backdrop-filter: blur(18px);
  border-radius: 999px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 800; letter-spacing: .08em; }
.brand-mark { width: 34px; height: 18px; border: 1.5px solid currentColor; border-radius: 999px; position: relative; display: inline-block; overflow: hidden; }
.brand-mark::after { content: ""; position: absolute; inset: 0 50% 0 0; background: currentColor; }
.brand-mark i { position: absolute; width: 5px; height: 5px; border-radius: 50%; background: var(--acid); top: 5px; left: 6px; z-index: 2; }
.desktop-nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 32px); font-size: 11px; font-weight: 700; letter-spacing: .08em; }
.desktop-nav > a { position: relative; }
.desktop-nav > a:not(.nav-contact)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -4px; height: 1px; background: currentColor; transition: right .3s ease; }
.desktop-nav > a:not(.nav-contact):hover::after, .desktop-nav > a.is-current::after { right: 0; }
.nav-contact { display: flex; align-items: center; gap: 24px; padding: 14px 18px; color: var(--paper); background: var(--ink); border-radius: 999px; transition: transform .25s ease, background .25s ease; }
.nav-contact:hover { transform: translateY(-2px); background: #282828; }
.mobile-menu { display: none; position: relative; }
.mobile-menu summary { list-style: none; cursor: pointer; font-size: 12px; font-weight: 800; letter-spacing: .08em; }
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu nav { position: fixed; top: 92px; left: 18px; right: 18px; display: grid; padding: 22px; background: var(--ink); color: white; border-radius: 26px; box-shadow: 0 20px 60px rgba(0,0,0,.2); }
.mobile-menu nav a { padding: 17px 2px; border-bottom: 1px solid var(--white-line); font-size: 17px; font-weight: 600; }

.hero { min-height: 100svh; padding: 98px 18px 18px; display: flex; flex-direction: column; }
.hero-grid { flex: 1; display: grid; grid-template-columns: 1.15fr .85fr; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); background: var(--paper); }
.hero-copy { min-width: 0; padding: var(--pad); display: flex; flex-direction: column; justify-content: space-between; }
.eyebrow { display: flex; justify-content: space-between; gap: 20px; margin: 0 0 8vh; font-size: 10px; font-weight: 700; letter-spacing: .15em; }
.hero h1 { margin: 0; font-size: clamp(70px, 10.2vw, 190px); line-height: .78; letter-spacing: -.075em; font-weight: 700; }
.hero-line { display: block; white-space: nowrap; }
.hero-line-accent { position: relative; z-index: 2; }
.hero-line em { font-style: normal; -webkit-text-stroke: 1.5px var(--ink); color: transparent; }
.hero-bottom { margin-top: 7vh; display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.hero-ja { margin: 0; font-family: var(--jp); font-size: clamp(13px,1.25vw,18px); line-height: 1.9; font-weight: 500; }
.circle-link { width: 92px; height: 92px; flex: 0 0 92px; border-radius: 50%; border: 1px solid var(--ink); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; font-size: 9px; letter-spacing: .13em; transition: transform .35s ease, background .35s ease, color .35s ease; }
.circle-link b { font-size: 20px; font-weight: 400; }
.circle-link:hover { transform: rotate(8deg) scale(1.06); background: var(--ink); color: var(--paper); }

.hero-art { position: relative; min-height: 680px; overflow: hidden; background: var(--ink); color: var(--paper); isolation: isolate; }
.hero-art::before { content: ""; position: absolute; width: 70%; aspect-ratio: 1; right: -22%; top: -20%; background: radial-gradient(circle at 30% 30%, rgba(200,255,47,.8), rgba(200,255,47,.06) 42%, transparent 66%); filter: blur(10px); opacity: .9; }
.hero-art::after { content: ""; position: absolute; inset: 0; opacity: .12; background-image: linear-gradient(rgba(255,255,255,.2) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.2) 1px, transparent 1px); background-size: 52px 52px; mask-image: linear-gradient(to bottom, #000, transparent 85%); }
.capsule-shape { position: absolute; z-index: 3; width: min(27vw, 430px); height: min(55vw, 760px); left: 50%; top: 48%; transform: translate(-50%,-50%) rotate(26deg); border-radius: 999px; border: 1px solid rgba(255,255,255,.65); background: linear-gradient(150deg, rgba(255,255,255,.13), rgba(255,255,255,.015)); box-shadow: inset 0 0 60px rgba(255,255,255,.05), 0 30px 100px rgba(0,0,0,.35); backdrop-filter: blur(10px); animation: floatCapsule 7s ease-in-out infinite; }
.capsule-shape::before { content: ""; position: absolute; inset: 49.6% 0 auto; height: 1px; background: rgba(255,255,255,.7); }
.capsule-core { position: absolute; left: 50%; top: 26%; width: 26%; aspect-ratio: 1; transform: translate(-50%,-50%); background: var(--acid); border-radius: 50%; box-shadow: 0 0 55px rgba(200,255,47,.45); }
.orbital { position: absolute; z-index: 1; left: 50%; top: 50%; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; transform: translate(-50%,-50%) rotate(-20deg); }
.orbital-a { width: 82%; aspect-ratio: 1; }
.orbital-b { width: 122%; aspect-ratio: 1; transform: translate(-50%,-50%) rotate(28deg) scaleY(.52); }
.art-label { position: absolute; z-index: 4; font-size: 10px; font-weight: 700; letter-spacing: .17em; }
.art-label::before { content: "+"; color: var(--acid); margin-right: 8px; }
.art-label-a { top: 15%; left: 8%; }
.art-label-b { top: 58%; right: 7%; }
.art-label-c { bottom: 13%; left: 8%; }
.art-index { position: absolute; z-index: 4; right: 6%; bottom: 5%; font-size: 10px; letter-spacing: .15em; opacity: .55; }

.ticker { margin-top: 12px; overflow: hidden; border: 1px solid var(--line); border-radius: 999px; background: var(--acid); }
.ticker-track { width: max-content; display: flex; align-items: center; gap: 24px; padding: 9px 0; animation: ticker 25s linear infinite; font-size: 11px; font-weight: 800; letter-spacing: .13em; }
.ticker-track i { font-size: 7px; font-style: normal; }

.section-pad { padding: clamp(90px, 11vw, 180px) var(--pad); }
.section-head { display: grid; grid-template-columns: 90px 1fr; padding-bottom: 20px; border-bottom: 1px solid var(--line); margin-bottom: clamp(60px,8vw,130px); }
.section-head-light { border-color: var(--white-line); }
.section-no, .section-name { margin: 0; font-size: 10px; letter-spacing: .13em; font-weight: 700; }
.message-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 7vw; }
.message-kicker { padding-top: 12px; display: flex; flex-direction: column; font-size: clamp(24px,3.3vw,54px); font-weight: 600; line-height: .98; letter-spacing: -.045em; }
.message-kicker span:nth-child(2) { color: transparent; -webkit-text-stroke: 1px var(--ink); }
.message-body h2 { margin-bottom: clamp(44px,6vw,90px); font-family: var(--jp); font-size: clamp(42px,6vw,92px); line-height: 1.15; letter-spacing: -.07em; font-weight: 600; }
.body-copy { width: min(760px,100%); margin-left: auto; display: grid; grid-template-columns: repeat(2,1fr); gap: 24px 40px; font-family: var(--jp); font-size: 14px; line-height: 2.1; }
.body-copy p:first-child { grid-column: 1/-1; font-size: 17px; }

.business { background: var(--ink); color: var(--paper); }
.business-intro { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 70px; }
.business-intro h2 { margin: 0; font-size: clamp(56px,9vw,145px); line-height: .8; letter-spacing: -.07em; }
.business-intro p { max-width: 260px; margin: 0; font-family: var(--jp); font-size: 13px; line-height: 1.8; }
.business-list { border-top: 1px solid var(--white-line); }
.business-item { position: relative; display: grid; grid-template-columns: 72px minmax(260px,.9fr) 1fr 55px; gap: 28px; align-items: center; padding: 28px 12px; border-bottom: 1px solid var(--white-line); overflow: hidden; transition: color .35s ease, padding .35s ease; }
.business-item::before { content: ""; position: absolute; z-index: 0; inset: 0; background: var(--acid); transform: translateY(101%); transition: transform .35s cubic-bezier(.22,.61,.36,1); }
.business-item > * { position: relative; z-index: 1; }
.business-item:hover { color: var(--ink); padding-left: 24px; }
.business-item:hover::before { transform: translateY(0); }
.business-no { align-self: start; font-size: 10px; opacity: .65; }
.business-title small { display: block; margin-bottom: 10px; font-size: 9px; letter-spacing: .12em; opacity: .6; }
.business-title h3 { margin: 0; font-family: var(--jp); font-size: clamp(18px,2vw,28px); font-weight: 600; }
.business-item p { margin: 0; font-family: var(--jp); font-size: 12px; line-height: 1.8; opacity: .74; }
.business-arrow { justify-self: end; font-size: 28px; }

.company { position: relative; overflow: hidden; background: #171717; color: var(--paper); }
.company-watermark { position: absolute; left: -1.5vw; bottom: -4vw; font-size: 24vw; line-height: .7; letter-spacing: -.085em; font-weight: 800; color: rgba(255,255,255,.025); pointer-events: none; }
.company-layout { position: relative; z-index: 1; display: grid; grid-template-columns: .9fr 1.1fr; gap: 8vw; }
.micro { margin-bottom: 24px; font-size: 9px; font-weight: 700; letter-spacing: .15em; opacity: .6; }
.company-statement h2 { margin: 0; font-size: clamp(48px,6vw,100px); line-height: .9; letter-spacing: -.065em; }
.company-orbit { width: min(320px,70%); aspect-ratio: 1; margin: 70px 0 0; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; position: relative; }
.company-orbit::after { content: ""; position: absolute; inset: 18%; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; }
.company-orbit span { position: absolute; width: 18px; height: 18px; background: var(--acid); border-radius: 50%; left: 50%; top: -9px; transform: translateX(-50%); box-shadow: 0 0 40px rgba(200,255,47,.6); }
.company-data { margin: 0; align-self: center; }
.company-data div { display: grid; grid-template-columns: 145px 1fr; gap: 26px; padding: 23px 0; border-top: 1px solid var(--white-line); }
.company-data div:last-child { border-bottom: 1px solid var(--white-line); }
.company-data dt { font-size: 10px; letter-spacing: .1em; opacity: .55; }
.company-data dd { margin: 0; font-family: var(--jp); font-size: clamp(15px,1.4vw,19px); line-height: 1.7; }
.company-data a { border-bottom: 1px solid currentColor; }

.next { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.next-card { min-height: 420px; padding: clamp(28px,4vw,60px); border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-direction: column; justify-content: space-between; transition: transform .35s ease; }
.next-card:hover { transform: translateY(-8px); }
.next-card h2 { margin: 90px 0 0; font-size: clamp(48px,6vw,94px); line-height: .83; letter-spacing: -.065em; }
.next-card-accent { background: var(--acid); border-color: var(--acid); }
.big-arrow { align-self: end; width: 82px; height: 82px; display: grid; place-items: center; border: 1px solid currentColor; border-radius: 50%; font-size: 34px; transition: background .25s ease, color .25s ease, transform .25s ease; }
.big-arrow:hover { background: var(--ink); color: var(--paper); transform: rotate(8deg); }

.site-footer { min-height: 150px; margin: 0 18px 18px; padding: 30px var(--pad); border-radius: var(--radius); background: var(--ink); color: var(--paper); display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: end; gap: 20px; }
.site-footer > p { margin: 0; font-size: 9px; letter-spacing: .13em; opacity: .6; }
.site-footer > p:nth-child(2) { text-align: center; }
.copyright { text-align: right; }
.brand-footer .brand-mark i { background: var(--acid); }

/* Sub pages */
.subpage { padding-top: 0; }
.subhero { min-height: 94svh; margin: 18px; padding: 118px var(--pad) 42px; border-radius: var(--radius); background: var(--ink); color: var(--paper); display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; position: relative; }
.subhero::after { content: ""; position: absolute; width: 48vw; aspect-ratio: 1; right: -14vw; top: -16vw; border-radius: 50%; background: radial-gradient(circle, rgba(200,255,47,.28), transparent 68%); filter: blur(5px); }
.subhero .eyebrow { position: relative; z-index: 2; }
.subhero-title-wrap { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 4vw; }
.subhero h1 { margin: 0; font-size: clamp(70px,12vw,200px); line-height: .78; letter-spacing: -.075em; }
.subhero-ja { position: relative; z-index: 2; align-self: end; margin: 0; font-family: var(--jp); font-size: clamp(20px,3vw,42px); font-weight: 500; }
.philosophy-symbol { width: min(28vw,420px); aspect-ratio: 1; border: 1px solid rgba(255,255,255,.32); border-radius: 50%; position: relative; flex: 0 0 auto; }
.philosophy-symbol::before, .philosophy-symbol::after { content: ""; position: absolute; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; }
.philosophy-symbol::before { inset: 16%; }
.philosophy-symbol::after { inset: 32%; }
.philosophy-symbol span { position: absolute; width: 18%; aspect-ratio: 1; border-radius: 50%; background: var(--acid); left: 4%; top: 42%; box-shadow: 0 0 70px rgba(200,255,47,.4); }
.philosophy-copy { display: grid; grid-template-columns: 1fr 1fr; gap: 10vw; }
.philosophy-copy .lead { font-family: var(--jp); font-size: clamp(36px,5vw,72px); line-height: 1.35; letter-spacing: -.06em; font-weight: 600; }
.philosophy-copy > div { max-width: 620px; font-family: var(--jp); font-size: 15px; line-height: 2.1; }
.values { background: var(--ink); color: var(--paper); }
.value-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.value-card { min-height: 520px; padding: 28px; border: 1px solid var(--white-line); border-radius: 28px; display: flex; flex-direction: column; transition: background .35s ease, color .35s ease, transform .35s ease; }
.value-card:hover { background: var(--acid); color: var(--ink); transform: translateY(-7px); }
.value-card > span { font-size: 10px; opacity: .5; }
.value-card small { margin-top: auto; font-size: 10px; letter-spacing: .15em; opacity: .55; }
.value-card h2 { margin: 16px 0 28px; font-family: var(--jp); font-size: clamp(38px,4vw,62px); line-height: 1.15; letter-spacing: -.06em; }
.value-card p { margin: 0; font-family: var(--jp); font-size: 13px; line-height: 1.9; opacity: .7; }
.contact-symbol { width: min(23vw,330px); aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; background: var(--acid); color: var(--ink); font-size: clamp(70px,10vw,160px); }
.contact-coming { min-height: 65vh; display: flex; flex-direction: column; justify-content: center; }
.contact-coming h2 { max-width: 1100px; font-family: var(--jp); font-size: clamp(32px,5vw,74px); line-height: 1.35; letter-spacing: -.055em; }
.text-link { display: inline-block; width: fit-content; margin-top: 44px; padding-bottom: 4px; border-bottom: 1px solid currentColor; font-size: 11px; font-weight: 700; letter-spacing: .12em; }

@keyframes ticker { to { transform: translateX(-50%); } }
@keyframes floatCapsule { 0%,100% { transform: translate(-50%,-50%) rotate(26deg); } 50% { transform: translate(-50%,-53%) rotate(23deg); } }

.reveal { animation: revealIn .8s ease both; animation-timeline: view(); animation-range: entry 8% cover 28%; }
@keyframes revealIn { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 980px) {
  .desktop-nav { display: none; }
  .mobile-menu { display: block; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { min-height: 66vw; }
  .capsule-shape { width: 31vw; height: 55vw; }
  .message-layout, .company-layout, .philosophy-copy { grid-template-columns: 1fr; }
  .message-kicker { display: none; }
  .business-item { grid-template-columns: 52px 1fr 44px; }
  .business-item p { grid-column: 2/3; }
  .business-arrow { grid-column: 3/4; grid-row: 1/3; }
  .value-grid { grid-template-columns: 1fr; }
  .value-card { min-height: 390px; }
  .company-orbit { display: none; }
  .subhero-title-wrap { align-items: end; }
  .philosophy-symbol, .contact-symbol { width: 24vw; }
}

@media (max-width: 700px) {
  :root { --radius: 24px; }
  .site-header { top: 10px; left: 10px; right: 10px; min-height: 58px; padding-left: 14px; }
  .brand { font-size: 12px; }
  .hero { padding: 78px 10px 10px; min-height: auto; }
  .hero-grid { min-height: 720px; }
  .hero-copy { padding: 28px 20px 32px; }
  .eyebrow { margin-bottom: 80px; }
  .hero h1 { font-size: clamp(62px,19vw,98px); line-height: .81; }
  .hero-line { white-space: normal; }
  .hero-bottom { align-items: end; margin-top: 70px; }
  .hero-ja { font-size: 12px; line-height: 1.8; }
  .circle-link { width: 66px; height: 66px; flex-basis: 66px; }
  .hero-art { min-height: 470px; }
  .capsule-shape { width: 44vw; height: 82vw; }
  .ticker { margin-top: 8px; }
  .section-pad { padding: 90px 20px; }
  .section-head { grid-template-columns: 46px 1fr; margin-bottom: 58px; }
  .message-body h2 { font-size: 43px; }
  .body-copy { grid-template-columns: 1fr; font-size: 13px; }
  .body-copy p:first-child { grid-column: auto; font-size: 15px; }
  .business-intro { display: block; }
  .business-intro h2 { font-size: 58px; margin-bottom: 25px; }
  .business-item { grid-template-columns: 38px 1fr 28px; gap: 12px; padding: 24px 2px; }
  .business-item:hover { padding-left: 8px; }
  .business-title small { font-size: 8px; }
  .business-title h3 { font-size: 17px; line-height: 1.45; }
  .business-item p { font-size: 11px; }
  .company-layout { gap: 60px; }
  .company-statement h2 { font-size: 53px; }
  .company-data div { grid-template-columns: 92px 1fr; gap: 15px; padding: 19px 0; }
  .company-data dt { font-size: 9px; }
  .company-data dd { font-size: 13px; }
  .next { grid-template-columns: 1fr; gap: 8px; }
  .next-card { min-height: 330px; padding: 28px 22px; }
  .next-card h2 { margin-top: 60px; font-size: 50px; }
  .big-arrow { width: 64px; height: 64px; }
  .site-footer { margin: 0 10px 10px; min-height: 190px; padding: 26px 20px; grid-template-columns: 1fr; }
  .site-footer > p:nth-child(2), .copyright { text-align: left; }
  .subhero { min-height: 84svh; margin: 10px; padding: 100px 20px 34px; }
  .subhero h1 { font-size: 17vw; }
  .subhero-title-wrap { display: block; }
  .philosophy-symbol, .contact-symbol { position: absolute; width: 130px; right: 0; bottom: -80px; opacity: .7; }
  .subhero-ja { align-self: start; font-size: 22px; }
  .philosophy-copy .lead { font-size: 39px; }
  .philosophy-copy > div { font-size: 13px; }
  .value-card { min-height: 360px; }
  .contact-coming h2 { font-size: 34px; }
}

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


/* Home philosophy */
.home-philosophy { background: var(--paper-2); overflow: hidden; }
.home-philosophy-hero { min-height: 62vh; position: relative; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4vw; padding: clamp(38px,6vw,88px) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.home-philosophy-en { margin: 0; font-size: clamp(68px,11vw,190px); font-weight: 700; line-height: .78; letter-spacing: -.075em; }
.home-philosophy-ja { position: absolute; right: 0; bottom: 28px; margin: 0; font-family: var(--jp); font-size: clamp(20px,2.4vw,36px); font-weight: 600; }
.home-philosophy-symbol { width: min(28vw,390px); aspect-ratio: 1; border: 1px solid rgba(17,17,17,.35); border-radius: 50%; position: relative; }
.home-philosophy-symbol::before, .home-philosophy-symbol::after { content: ""; position: absolute; border: 1px solid rgba(17,17,17,.16); border-radius: 50%; }
.home-philosophy-symbol::before { inset: 16%; }
.home-philosophy-symbol::after { inset: 32%; }
.home-philosophy-symbol span { position: absolute; width: 18%; aspect-ratio: 1; border-radius: 50%; background: var(--acid); left: 4%; top: 42%; box-shadow: 0 0 70px rgba(200,255,47,.45); }
.home-philosophy .philosophy-copy { margin-top: clamp(60px,8vw,120px); }
.home-values { margin-top: clamp(70px,9vw,140px); }
.home-values .value-card { border-color: var(--line); background: var(--ink); color: var(--paper); }
.home-values .value-card:hover { background: var(--acid); color: var(--ink); }

/* Company profile page */
.company-profile-symbol { width: min(26vw,380px); aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); position: relative; flex: 0 0 auto; }
.company-profile-symbol::before { content: ""; position: absolute; inset: 18%; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; }
.company-profile-symbol span { position: absolute; width: 24%; aspect-ratio: 1.75; border: 1px solid var(--paper); border-radius: 999px; background: var(--acid); right: 9%; top: 18%; transform: rotate(-28deg); }
.company-profile-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 8vw; align-items: start; }
.company-profile-copy { position: sticky; top: 120px; }
.company-profile-copy h2 { margin: 0 0 32px; font-size: clamp(54px,7vw,110px); line-height: .86; letter-spacing: -.07em; }
.company-profile-copy > p:last-child { margin: 0; font-size: 10px; font-weight: 700; letter-spacing: .14em; opacity: .55; }
.company-data-light div { border-color: var(--line); }
.company-data-light div:last-child { border-color: var(--line); }
.company-data-light a { border-bottom-color: currentColor; }

@media (max-width: 980px) {
  .home-philosophy-hero { grid-template-columns: 1fr; min-height: 72vh; }
  .home-philosophy-symbol { width: 34vw; justify-self: end; margin-top: -5vw; }
  .company-profile-layout { grid-template-columns: 1fr; gap: 70px; }
  .company-profile-copy { position: static; }
  .company-profile-symbol { width: 24vw; }
}

@media (max-width: 700px) {
  .home-philosophy-hero { min-height: 600px; padding: 42px 0 90px; }
  .home-philosophy-en { font-size: 18vw; }
  .home-philosophy-symbol { width: 150px; margin-top: -20px; }
  .home-philosophy-ja { left: 0; right: auto; bottom: 28px; font-size: 22px; }
  .home-philosophy .philosophy-copy { margin-top: 70px; }
  .home-values { margin-top: 70px; }
  .company-profile-copy h2 { font-size: 54px; }
  .company-profile-symbol { position: absolute; width: 130px; right: 0; bottom: -80px; opacity: .72; }
}

/* Contact form */
.contact-form-section { background: var(--paper); }
.contact-form-layout {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: clamp(48px, 8vw, 130px);
  align-items: start;
}
.contact-form-intro {
  position: sticky;
  top: 120px;
}
.contact-form-intro h2 {
  margin: 18px 0 34px;
  font-size: clamp(52px, 6vw, 104px);
  line-height: .82;
  letter-spacing: -.07em;
}
.contact-form-note {
  max-width: 430px;
  margin: 0;
  font-family: var(--jp);
  font-size: 13px;
  line-height: 2;
  opacity: .72;
  white-space: pre-line;
}
.contact-form {
  border-top: 1px solid var(--ink);
}
.form-row {
  padding: clamp(26px, 3vw, 44px) 0;
  border-bottom: 1px solid var(--line);
}
.form-row label {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  margin-bottom: 20px;
}
.field-no {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .12em;
  opacity: .4;
}
.field-label {
  display: flex;
  align-items: baseline;
  gap: 13px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .13em;
}
.field-label small {
  font-family: var(--jp);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .04em;
  opacity: .5;
}
.required {
  padding: 5px 8px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: .1em;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  appearance: none;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-family: var(--jp);
  font-size: clamp(18px, 2vw, 28px);
  line-height: 1.6;
  border-radius: 0;
}
.contact-form textarea {
  min-height: 230px;
  resize: vertical;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(17,17,17,.24);
}
.form-row:focus-within {
  border-bottom-color: var(--ink);
}
.form-row:focus-within .field-no {
  opacity: 1;
}
.form-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 30px;
  padding-top: 34px;
}
.form-footer p {
  max-width: 450px;
  margin: 0;
  font-family: var(--jp);
  font-size: 10px;
  line-height: 1.8;
  opacity: .5;
}
.form-submit {
  width: min(290px, 28vw);
  aspect-ratio: 2.6 / 1;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  cursor: default;
  transition: background .3s ease, color .3s ease, transform .3s ease;
}
.form-submit b {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--acid);
  color: var(--ink);
  font-size: 20px;
  font-weight: 400;
}
.form-submit:hover {
  background: #252525;
  transform: translateY(-2px);
}

@media (max-width: 980px) {
  .contact-form-layout { grid-template-columns: 1fr; }
  .contact-form-intro { position: static; }
  .contact-form-intro h2 { font-size: clamp(58px, 10vw, 90px); }
  .form-submit { width: 240px; }
}

@media (max-width: 700px) {
  .contact-form-layout { gap: 58px; }
  .contact-form-intro h2 { font-size: 16vw; }
  .contact-form-note { font-size: 12px; }
  .form-row { padding: 25px 0; }
  .form-row label { grid-template-columns: 32px minmax(0,1fr) auto; margin-bottom: 16px; }
  .field-label { gap: 8px; font-size: 10px; }
  .field-label small { font-size: 9px; }
  .contact-form input,
  .contact-form textarea { font-size: 17px; }
  .contact-form textarea { min-height: 190px; }
  .form-footer { grid-template-columns: 1fr; align-items: stretch; }
  .form-submit { width: 100%; min-height: 78px; aspect-ratio: auto; }
}

/* Contact mail flow */
.hp-field {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.contact-form .form-submit { cursor: pointer; }
.mail-hero h1 { white-space: pre-line; }
.mail-confirm-layout {
  display: grid;
  grid-template-columns: .62fr 1.38fr;
  gap: clamp(48px, 8vw, 130px);
  align-items: start;
}
.mail-confirm-intro {
  position: sticky;
  top: 120px;
}
.mail-confirm-intro h2 {
  margin: 18px 0 34px;
  font-size: clamp(52px, 6vw, 104px);
  line-height: .82;
  letter-spacing: -.07em;
}
.mail-error-box {
  margin-top: 32px;
  padding: 22px;
  border: 1px solid var(--ink);
  border-radius: 20px;
  font-family: var(--jp);
}
.mail-error-title { margin: 0 0 12px; font-weight: 700; }
.mail-error-box ul { margin: 0; padding-left: 1.2em; font-size: 12px; line-height: 1.9; }
.mail-review { border-top: 1px solid var(--ink); }
.mail-review-row {
  display: grid;
  grid-template-columns: 46px 160px 1fr;
  gap: 18px;
  padding: clamp(24px, 3vw, 40px) 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.mail-review-no {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .12em;
  opacity: .4;
}
.mail-review-label {
  margin: 0;
  font-family: var(--jp);
  font-size: 11px;
  font-weight: 700;
}
.mail-review-value {
  min-width: 0;
  font-family: var(--jp);
  font-size: clamp(16px, 1.55vw, 22px);
  line-height: 1.8;
  overflow-wrap: anywhere;
}
.mail-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 34px;
}
.mail-send-form { margin: 0; }
.mail-back {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-family: var(--sans);
}
.mail-back span { font-size: 22px; font-weight: 400; }
.mail-back b { font-size: 10px; letter-spacing: .12em; }
.mail-send { cursor: pointer; }
.mail-complete-copy { max-width: 1050px; }
.mail-complete-copy h2 {
  margin: 18px 0 28px;
  font-family: var(--jp);
  font-size: clamp(46px, 7vw, 110px);
  line-height: 1.08;
  letter-spacing: -.07em;
}
.mail-complete-copy > p:last-of-type {
  max-width: 650px;
  font-family: var(--jp);
  font-size: 14px;
  line-height: 2;
}
.mail-home-button {
  width: min(310px, 100%);
  min-height: 88px;
  margin-top: 54px;
  padding: 0 24px 0 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  transition: transform .3s ease, background .3s ease;
}
.mail-home-button b {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--acid);
  color: var(--ink);
  font-size: 22px;
  font-weight: 400;
}
.mail-home-button:hover { transform: translateY(-2px); background: #252525; }

@media (max-width: 980px) {
  .mail-confirm-layout { grid-template-columns: 1fr; }
  .mail-confirm-intro { position: static; }
  .mail-confirm-intro h2 { font-size: clamp(58px, 10vw, 90px); }
}

@media (max-width: 700px) {
  .mail-review-row { grid-template-columns: 32px 1fr; gap: 10px; }
  .mail-review-label { grid-column: 2; }
  .mail-review-value { grid-column: 2; font-size: 16px; }
  .mail-actions { flex-direction: column-reverse; align-items: stretch; }
  .mail-send-form { width: 100%; }
  .mail-send { width: 100%; min-height: 78px; aspect-ratio: auto; }
  .mail-back { justify-content: center; min-height: 54px; }
  .mail-complete-copy h2 { font-size: 15vw; }
}
