/* SOT Inc. official site — Shape of Tomorrow */
:root {
  --bg: #f3efe8;
  --bg-2: #e8e2d6;
  --paper: #faf7f2;
  --ink: #161412;
  --ink-2: #3d3832;
  --muted: #7a736a;
  --line: #d6cfc4;
  --accent: #c45d2a;
  --accent-2: #9a4a22;
  --gold: #b8956a;
  --dark: #121110;
  --dark-2: #1c1a18;
  --white: #ffffff;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --header: 76px;
  --gutter: clamp(1.25rem, 4vw, 4.5rem);
  --max: 1240px;
  --font-jp: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  --font-en: "Cormorant Garamond", "Times New Roman", serif;
  --font-sans-en: "Outfit", "Zen Kaku Gothic New", sans-serif;
}

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

html {
  scroll-behavior: auto;
  font-size: 16px;
}

html.lenis,
html.lenis body {
  height: auto;
}

body {
  font-family: var(--font-jp);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.75;
  letter-spacing: 0.04em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
select,
textarea {
  font-family: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: 0;
  background: none;
}

ul,
ol {
  list-style: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Cursor */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  pointer-events: none;
  z-index: 10000;
  mix-blend-mode: multiply;
  transform: translate(-50%, -50%);
  transition: width 0.35s var(--ease), height 0.35s var(--ease), background 0.35s, opacity 0.3s;
  opacity: 0;
}

.cursor.is-on {
  opacity: 1;
}

.cursor.is-hover {
  width: 56px;
  height: 56px;
  background: transparent;
  border: 1px solid var(--ink);
  mix-blend-mode: normal;
}

.cursor.is-view {
  width: 88px;
  height: 88px;
  background: var(--ink);
  mix-blend-mode: normal;
  color: var(--bg);
}

.cursor.is-view::after {
  content: "VIEW";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-sans-en);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--bg);
}

@media (hover: none), (pointer: coarse) {
  .cursor {
    display: none;
  }
}

/* Loader */
.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--dark);
  color: var(--bg);
  display: grid;
  place-items: center;
  transition: transform 1s var(--ease), opacity 0.6s;
}

.loader.is-done {
  transform: translateY(-100%);
  pointer-events: none;
}

.loader__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.loader__mark {
  font-family: var(--font-sans-en);
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 500;
  letter-spacing: 0;
  overflow: hidden;
  display: flex;
  justify-content: center;
  gap: 0.22em;
}

.loader__mark span {
  display: inline-block;
  animation: rise 0.9s var(--ease) both;
}

.loader__bar {
  width: 140px;
  height: 1px;
  background: rgba(243, 239, 232, 0.2);
  margin: 1.4rem 0 0;
  overflow: hidden;
}

.loader__bar i {
  display: block;
  height: 100%;
  width: 0;
  background: var(--accent);
  animation: loadbar 1.4s var(--ease) forwards;
}

@keyframes rise {
  from {
    transform: translateY(110%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes loadbar {
  to {
    width: 100%;
  }
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--gutter);
  mix-blend-mode: difference;
  color: #fff;
  transition: transform 0.5s var(--ease), background 0.4s, color 0.4s, mix-blend-mode 0.4s;
}

.header.is-hidden {
  transform: translateY(-100%);
}

.header.is-solid {
  mix-blend-mode: normal;
  background: rgba(243, 239, 232, 0.92);
  color: var(--ink);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.logo {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  z-index: 2;
}

.logo__word {
  font-family: var(--font-sans-en);
  font-size: 1.55rem;
  letter-spacing: 0.22em;
  font-weight: 500;
  line-height: 1;
  margin-right: -0.22em;
}

.logo__sub {
  font-family: var(--font-sans-en);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  opacity: 0.7;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav a {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 0.4s var(--ease);
}

.nav a:hover::after,
.nav a.is-current::after {
  width: 100%;
}

.nav__cta {
  border: 1px solid currentColor;
  padding: 0.55rem 1.1rem;
  transition: background 0.3s, color 0.3s;
}

.nav__cta::after {
  display: none;
}

.nav__cta:hover {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}

.header.is-solid .nav__cta:hover {
  background: var(--ink);
  color: var(--bg);
}

.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  position: relative;
  z-index: 3;
}

.menu-btn span {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 1px;
  background: currentColor;
  transition: transform 0.4s var(--ease), opacity 0.3s;
}

.menu-btn span:nth-child(1) {
  top: 16px;
}

.menu-btn span:nth-child(2) {
  top: 22px;
}

.menu-btn span:nth-child(3) {
  top: 28px;
}

.menu-btn.is-open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-btn.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-btn.is-open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  padding: calc(var(--header) + 2rem) var(--gutter) 4.5rem;
  color: #fff;
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: -3%;
  z-index: 0;
  will-change: transform;
  transition: transform 0.8s var(--ease);
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.12);
  animation: kenburns 18s var(--ease) forwards;
}

.hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(18, 17, 16, 0.15) 0%, rgba(18, 17, 16, 0.25) 40%, rgba(18, 17, 16, 0.78) 100%),
    linear-gradient(90deg, rgba(18, 17, 16, 0.45) 0%, transparent 55%);
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 1100px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-family: var(--font-sans-en);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.4rem;
}

.eyebrow::before {
  content: "";
  width: 36px;
  height: 1px;
  background: currentColor;
}

.hero h1 {
  font-size: clamp(2.35rem, 6.4vw, 5.4rem);
  font-weight: 500;
  line-height: 1.22;
  letter-spacing: 0.08em;
  margin-bottom: 1.4rem;
}

.hero h1 .line {
  display: block;
  overflow: hidden;
}

.hero h1 .line span {
  display: block;
  animation: rise 1.1s var(--ease) both;
}

.hero h1 .line:nth-child(2) span {
  animation-delay: 0.12s;
}

.hero__lead {
  max-width: 36rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 2.2rem;
  animation: fadeup 1s 0.4s var(--ease) both;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  animation: fadeup 1s 0.55s var(--ease) both;
}

.hero__scroll {
  position: absolute;
  right: var(--gutter);
  bottom: 2.2rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-sans-en);
  font-size: 0.65rem;
  letter-spacing: 0.24em;
  writing-mode: vertical-rl;
}

.hero__scroll i {
  width: 1px;
  height: 56px;
  background: rgba(255, 255, 255, 0.25);
  position: relative;
  overflow: hidden;
}

.hero__scroll i::after {
  content: "";
  position: absolute;
  top: -40%;
  left: 0;
  width: 100%;
  height: 40%;
  background: #fff;
  animation: scrolldot 1.8s ease-in-out infinite;
}

@keyframes kenburns {
  to {
    transform: scale(1);
  }
}

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

@keyframes scrolldot {
  to {
    top: 120%;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.95rem 1.6rem;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  border: 1px solid transparent;
  transition: transform 0.4s var(--ease), background 0.35s, color 0.35s, border-color 0.35s;
}

.btn svg {
  width: 16px;
  height: 16px;
  transition: transform 0.4s var(--ease);
}

.btn:hover svg {
  transform: translateX(4px);
}

.btn--solid {
  background: var(--accent);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.btn--solid::after {
  content: "";
  position: absolute;
  top: 0;
  left: -40%;
  width: 36%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  transform: skewX(-18deg);
  animation: sheen 3.6s var(--ease) infinite;
}

.btn--solid:hover {
  background: var(--accent-2);
}

.btn--ghost {
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}

.btn--ghost:hover {
  background: #fff;
  color: var(--ink);
}

.btn--line {
  border-color: var(--ink);
}

.btn--line:hover {
  background: var(--ink);
  color: var(--bg);
}

.btn--light {
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}

.btn--light:hover {
  background: #fff;
  color: var(--ink);
}

/* Marquee */
.marquee {
  background: var(--dark);
  color: var(--bg);
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 42s linear infinite;
}

.marquee__track:hover {
  animation-play-state: paused;
}

.marquee span {
  font-family: var(--font-en);
  font-size: clamp(1.4rem, 2.6vw, 2.1rem);
  letter-spacing: 0.18em;
  padding: 1.1rem 0.4rem;
  white-space: nowrap;
  opacity: 0.72;
}

.marquee em {
  font-style: italic;
  color: var(--accent);
  padding: 0 1.4rem;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* Layout */
.section {
  padding: clamp(4.5rem, 10vw, 8.5rem) var(--gutter);
}

.section--tight {
  padding-top: 3.5rem;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
}

.section-head {
  display: grid;
  grid-template-columns: 1fr minmax(0, 1.4fr);
  gap: 2rem 4rem;
  margin-bottom: clamp(2.4rem, 5vw, 4.2rem);
  align-items: end;
}

.kicker {
  font-family: var(--font-sans-en);
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.7rem;
  position: relative;
  padding-left: 2.4rem;
}

.kicker::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 28px;
  height: 1px;
  background: currentColor;
  transform-origin: left;
  animation: kickerline 1.6s var(--ease) both;
}

.section-head h2,
.page-hero h1,
.block-title {
  font-size: clamp(1.8rem, 3.6vw, 3.1rem);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0.06em;
}

.lede {
  color: var(--ink-2);
  font-size: 0.98rem;
}

.split {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.reveal {
  opacity: 0.04;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* About teaser */
.about-visual {
  position: relative;
}

.about-visual img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: saturate(0.88);
}

.about-visual__badge {
  position: absolute;
  left: -1.2rem;
  bottom: 1.6rem;
  background: var(--ink);
  color: var(--bg);
  padding: 1.3rem 1.4rem;
  min-width: 148px;
}

.about-visual__badge strong {
  display: block;
  font-family: var(--font-en);
  font-size: 2rem;
  line-height: 1;
  font-weight: 500;
}

.about-visual__badge span {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  opacity: 0.75;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 2rem 0 2.2rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stat {
  padding: 1.15rem 0.2rem;
}

.stat b {
  display: block;
  font-family: var(--font-en);
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.1;
}

.stat span {
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.08em;
}

/* Service cards */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.service-card {
  position: relative;
  display: block;
  background: var(--paper);
  overflow: hidden;
  min-height: 420px;
  isolation: isolate;
}

.service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  transform: scale(1.06);
  transition: transform 1.1s var(--ease), filter 0.6s;
  filter: grayscale(0.15) contrast(1.02);
}

.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18, 17, 16, 0.05) 20%, rgba(18, 17, 16, 0.82) 100%);
  z-index: 1;
}

.service-card__body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 1.5rem 1.4rem 1.35rem;
  color: #fff;
}

.service-card__no {
  font-family: var(--font-sans-en);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 0.4rem;
}

.service-card h3 {
  font-size: 1.18rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  margin-bottom: 0.45rem;
}

.service-card p {
  font-size: 0.8rem;
  line-height: 1.7;
  opacity: 0.82;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease), opacity 0.4s, margin 0.4s;
}

.service-card:hover img,
.service-card:focus-visible img {
  transform: scale(1.14);
  filter: grayscale(0) contrast(1.05);
}

.service-card:hover p,
.service-card:focus-visible p {
  max-height: 8rem;
  margin-top: 0.3rem;
}

.group-label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 0 1.2rem;
  padding-top: 0.4rem;
}

.group-label h3 {
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.12em;
}

.group-label span {
  font-family: var(--font-sans-en);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--muted);
}

/* Approach */
.approach {
  background: var(--dark);
  color: var(--bg);
  position: relative;
  overflow: hidden;
}

.approach .wrap {
  position: relative;
  z-index: 1;
}

.cta-band .wrap,
.page-hero .wrap {
  position: relative;
  z-index: 2;
}

.approach .kicker {
  color: var(--gold);
}

.approach .lede {
  color: rgba(243, 239, 232, 0.72);
}

.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin-top: 2.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.step {
  padding: 1.8rem 1.2rem 0.4rem 0;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  min-height: 210px;
}

.step:last-child {
  border-right: 0;
  padding-right: 0;
}

.step em {
  font-family: var(--font-en);
  font-size: 2.1rem;
  font-style: italic;
  color: var(--accent);
  display: block;
  line-height: 1;
  margin-bottom: 1rem;
}

.step h3 {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 0.55rem;
  letter-spacing: 0.08em;
}

.step p {
  font-size: 0.8rem;
  color: rgba(243, 239, 232, 0.68);
  line-height: 1.7;
}

/* News */
.news-list {
  border-top: 1px solid var(--line);
}

.news-item {
  display: grid;
  grid-template-columns: 8.5rem 7rem 1fr;
  gap: 1rem;
  align-items: baseline;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
  transition: padding 0.35s var(--ease);
}

.news-item:hover {
  padding-left: 0.6rem;
}

.news-item time {
  font-family: var(--font-sans-en);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 4.8rem;
  padding: 0.12rem 0.55rem;
  border: 1px solid var(--line);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
}

/* CTA band */
.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--bg);
  padding: clamp(4.5rem, 9vw, 7rem) var(--gutter);
}

.cta-band img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.28;
  transform: scale(1.05);
}

.cta-band .wrap {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 2rem;
}

.cta-band h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.8rem);
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.4;
}

.cta-band p {
  margin-top: 0.8rem;
  color: rgba(243, 239, 232, 0.72);
  max-width: 28rem;
}

/* Footer */
.footer {
  background: var(--dark);
  color: rgba(243, 239, 232, 0.72);
  padding: 3.5rem var(--gutter) 1.6rem;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer .logo__word {
  color: var(--bg);
}

.footer__lead {
  margin-top: 1rem;
  max-width: 22rem;
  font-size: 0.85rem;
}

.footer h3 {
  color: var(--bg);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  margin-bottom: 1rem;
  font-weight: 500;
}

.footer a:hover {
  color: #fff;
}

.footer address {
  font-style: normal;
  font-size: 0.85rem;
  line-height: 1.9;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.2rem;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

/* Page hero */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--header) + 4.2rem) var(--gutter) 3.2rem;
  background:
    linear-gradient(180deg, rgba(18, 17, 16, 0.55), rgba(18, 17, 16, 0.35)),
    var(--ink) center / cover no-repeat;
  color: #fff;
  min-height: 42vh;
  display: grid;
  align-items: end;
}

.page-hero--services {
  background-image:
    linear-gradient(180deg, rgba(18, 17, 16, 0.5), rgba(18, 17, 16, 0.55)),
    url("../img/service-property.jpg");
}

.page-hero--company {
  background-image:
    linear-gradient(180deg, rgba(18, 17, 16, 0.45), rgba(18, 17, 16, 0.55)),
    url("../img/about-osaka.jpg");
}

.page-hero--contact {
  background-image:
    linear-gradient(180deg, rgba(18, 17, 16, 0.5), rgba(18, 17, 16, 0.6)),
    url("../img/og-cover.jpg");
}

.page-hero--plain {
  background: var(--bg);
  color: var(--ink);
  min-height: auto;
  padding-bottom: 0.5rem;
}

.page-hero p {
  margin-top: 0.9rem;
  max-width: 40rem;
  color: rgba(255, 255, 255, 0.78);
}

.page-hero--plain p {
  color: var(--ink-2);
}

/* Accordion / service detail */
.pillar {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  padding: 3.2rem 0;
  border-top: 1px solid var(--line);
}

.pillar:last-child {
  border-bottom: 1px solid var(--line);
}

.pillar__visual {
  position: sticky;
  top: calc(var(--header) + 1.4rem);
  height: fit-content;
}

.pillar__visual img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.pillar__meta {
  margin-top: 1rem;
  display: flex;
  justify-content: space-between;
  font-family: var(--font-sans-en);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.pillar h2 {
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  font-weight: 500;
  letter-spacing: 0.06em;
  margin-bottom: 0.8rem;
}

.catch {
  font-size: 1.02rem;
  color: var(--ink-2);
  margin-bottom: 1.4rem;
}

.accordion {
  border-top: 1px solid var(--line);
}

.acc-item {
  border-bottom: 1px solid var(--line);
}

.acc-item button {
  width: 100%;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.05rem 0;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}

.acc-item button i {
  width: 18px;
  height: 18px;
  position: relative;
  flex: none;
}

.acc-item button i::before,
.acc-item button i::after {
  content: "";
  position: absolute;
  background: var(--ink);
  transition: transform 0.35s var(--ease), opacity 0.3s;
}

.acc-item button i::before {
  left: 0;
  right: 0;
  top: 8px;
  height: 1px;
}

.acc-item button i::after {
  top: 0;
  bottom: 0;
  left: 8px;
  width: 1px;
}

.acc-item.is-open button i::after {
  transform: rotate(90deg);
  opacity: 0;
}

.acc-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s var(--ease);
}

.acc-item.is-open .acc-panel {
  grid-template-rows: 1fr;
}

.acc-panel > div {
  overflow: hidden;
}

.acc-panel p {
  padding: 0 0 1.15rem;
  color: var(--ink-2);
  font-size: 0.9rem;
}

/* Company table */
.profile {
  width: 100%;
  border-collapse: collapse;
}

.profile th,
.profile td {
  text-align: left;
  padding: 1.15rem 0.8rem 1.15rem 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  font-weight: 400;
}

.profile th {
  width: 8.5rem;
  color: var(--muted);
  letter-spacing: 0.12em;
  font-size: 0.78rem;
}

.map-wrap {
  margin-top: 1.5rem;
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--bg-2);
}

.map-wrap iframe {
  width: 100%;
  height: 360px;
  border: 0;
  filter: grayscale(0.35) contrast(0.98);
}

.message {
  background: var(--paper);
  padding: clamp(1.8rem, 4vw, 2.6rem);
  border-left: 3px solid var(--accent);
}

.message p + p {
  margin-top: 1rem;
}

/* Recruit */
.recruit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.recruit-card {
  background: var(--paper);
  padding: 1.6rem 1.4rem 1.5rem;
  min-height: 180px;
}

.recruit-card h3 {
  font-size: 1.02rem;
  margin-bottom: 0.6rem;
  font-weight: 500;
}

.recruit-card p {
  font-size: 0.86rem;
  color: var(--ink-2);
}

/* Forms */
.form-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 5vw, 4.5rem);
}

.form {
  background: var(--paper);
  padding: clamp(1.5rem, 3vw, 2.4rem);
  border: 1px solid var(--line);
}

.field {
  margin-bottom: 1.15rem;
}

.field label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  margin-bottom: 0.45rem;
}

.req {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  padding: 0.08rem 0.38rem;
}

.opt {
  color: var(--muted);
  font-size: 0.68rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  background: var(--white);
  border: 1px solid #b7aea2;
  padding: 0.85rem 0.9rem;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
}

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

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(196, 93, 42, 0.15);
}

.field.is-error input,
.field.is-error select,
.field.is-error textarea {
  border-color: #b42318;
}

.error {
  display: none;
  color: #b42318;
  font-size: 0.75rem;
  margin-top: 0.3rem;
}

.field.is-error .error {
  display: block;
}

.hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
}

.check {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-size: 0.85rem;
}

.check input {
  margin-top: 0.3rem;
  width: auto;
}

.form-note {
  font-size: 0.78rem;
  color: var(--muted);
  margin: 0.6rem 0 1.2rem;
}

.form-status {
  display: none;
  padding: 0.9rem 1rem;
  margin-bottom: 1rem;
  font-size: 0.88rem;
}

.form-status.is-ok {
  display: block;
  background: #e8f3e8;
  color: #1b5c2a;
}

.form-status.is-ng {
  display: block;
  background: #fdecea;
  color: #8a1f16;
}

.aside-box {
  background: var(--paper);
  padding: 1.5rem 1.4rem;
  border: 1px solid var(--line);
  margin-bottom: 1rem;
}

.aside-box h2 {
  font-size: 1rem;
  margin-bottom: 0.8rem;
  font-weight: 500;
}

.aside-box p,
.aside-box li {
  font-size: 0.86rem;
  color: var(--ink-2);
}

.aside-box li + li {
  margin-top: 0.35rem;
}

/* Privacy */
.prose {
  max-width: 760px;
}

.prose h2 {
  font-size: 1.15rem;
  font-weight: 500;
  margin: 2rem 0 0.7rem;
}

.prose p,
.prose li {
  color: var(--ink-2);
  font-size: 0.92rem;
}

.prose ul {
  padding-left: 1.1rem;
  list-style: disc;
  margin: 0.5rem 0 1rem;
}

/* 404 */
.empty {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 8rem var(--gutter);
}

.empty h1 {
  font-family: var(--font-en);
  font-size: clamp(4rem, 12vw, 8rem);
  font-weight: 500;
  line-height: 0.9;
}

/* Nav overlay (mobile) */
@media (max-width: 900px) {
  .menu-btn {
    display: block;
  }

  .nav {
    position: fixed;
    inset: 0;
    background: var(--dark);
    color: var(--bg);
    mix-blend-mode: normal;
    flex-direction: column;
    justify-content: center;
    gap: 1.6rem;
    transform: translateX(100%);
    transition: transform 0.6s var(--ease);
    padding: 5rem var(--gutter);
  }

  .nav.is-open {
    transform: none;
  }

  .nav a {
    font-size: 1.35rem;
    letter-spacing: 0.18em;
  }

  .header {
    mix-blend-mode: normal;
    background: transparent;
    color: #fff;
    transform: none !important;
  }

  .header.is-solid,
  .header.is-open {
    background: rgba(18, 17, 16, 0.92);
    color: #fff;
    border-bottom: 0;
    backdrop-filter: blur(12px);
  }

  .header.is-open {
    height: 100svh;
    align-items: flex-start;
  }

  .header.is-solid .nav__cta:hover,
  .nav__cta:hover {
    background: #fff;
    color: var(--ink);
    border-color: #fff;
  }

  .section-head,
  .split,
  .service-grid,
  .steps,
  .form-layout,
  .pillar,
  .recruit-grid,
  .footer__top,
  .cta-band .wrap,
  .stat-row,
  .news-item {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 92svh;
    align-items: end;
  }

  .about-visual__badge {
    left: 0.8rem;
  }

  .service-card {
    min-height: 320px;
  }

  .service-card p {
    max-height: 8rem;
    margin-top: 0.3rem;
  }

  .step {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    min-height: 0;
    padding: 1.3rem 0;
  }

  .pillar__visual {
    position: relative;
    top: 0;
  }

  .news-item {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 0.9rem;
  }

  .footer__bottom {
    flex-direction: column;
  }

  .hero__scroll {
    display: none;
  }
}

@media (max-width: 640px) {
  .service-grid,
  .recruit-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    letter-spacing: 0.04em;
  }

  .stat-row {
    grid-template-columns: 1fr 1fr;
  }

  .profile th {
    display: block;
    width: auto;
    padding-bottom: 0.2rem;
    border-bottom: 0;
  }

  .profile td {
    display: block;
    padding-top: 0.2rem;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }

  .hero__media img {
    transform: none;
  }

  .fx-grain,
  .fx-ambient {
    display: none !important;
  }
}

/* Ambient motion */
.fx-grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 80;
  opacity: 0.045;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.9'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  animation: grainshift 0.9s steps(4) infinite;
}

.fx-ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.fx-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.45;
  animation: orbfloat 14s ease-in-out infinite;
}

.fx-orb-a {
  width: min(42vw, 380px);
  height: min(42vw, 380px);
  left: -8%;
  top: 12%;
  background: radial-gradient(circle, rgba(196, 93, 42, 0.55), transparent 68%);
}

.fx-orb-b {
  width: min(36vw, 320px);
  height: min(36vw, 320px);
  right: -6%;
  bottom: 8%;
  background: radial-gradient(circle, rgba(184, 149, 106, 0.42), transparent 70%);
  animation-delay: -4s;
  animation-duration: 18s;
}

.fx-orb-c {
  width: min(24vw, 220px);
  height: min(24vw, 220px);
  left: 42%;
  top: -8%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18), transparent 70%);
  animation-delay: -7s;
  animation-duration: 16s;
}

.fx-shine {
  position: absolute;
  inset: -20%;
  background: linear-gradient(115deg, transparent 42%, rgba(255, 255, 255, 0.09) 50%, transparent 58%);
  animation: sweep 9s ease-in-out infinite;
}

.fx-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.22) 1px, transparent 1.2px);
  background-size: 42px 42px;
  opacity: 0.18;
  animation: griddrift 28s linear infinite;
}

.approach .fx-dots {
  opacity: 0.12;
}

@keyframes grainshift {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(-12px, 8px); }
  50% { transform: translate(8px, -10px); }
  75% { transform: translate(-6px, 14px); }
}

@keyframes orbfloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(28px, -22px) scale(1.12); }
}

@keyframes sweep {
  0% { transform: translateX(-30%); }
  100% { transform: translateX(30%); }
}

@keyframes griddrift {
  from { background-position: 0 0; }
  to { background-position: 42px 42px; }
}

@keyframes sheen {
  0% { left: -40%; }
  60%, 100% { left: 130%; }
}

@keyframes kickerline {
  from { transform: scaleX(0); opacity: 0; }
  to { transform: scaleX(1); opacity: 1; }
}

.service-card__no {
  position: relative;
}

.service-card__no::after {
  content: "";
  display: inline-block;
  width: 18px;
  height: 1px;
  margin-left: 0.55rem;
  background: currentColor;
  vertical-align: middle;
  animation: kickerline 1.4s 0.4s var(--ease) both;
}
