/* --------------------------------------------------
   Pairink corporate website
   -------------------------------------------------- */
:root {
  --navy-950: #04111b;
  --navy-900: #071a2b;
  --navy-800: #0b2b3c;
  --navy-700: #17475a;
  --teal: #2b7881;
  --gold-500: #c4934d;
  --gold-400: #d9ad68;
  --gold-300: #efd18c;
  --ink: #10202b;
  --muted: #5d6870;
  --line: #dce1e2;
  --warm: #f4f1eb;
  --warm-2: #ebe5da;
  --white: #ffffff;
  --container: 1180px;
  --shadow: 0 24px 70px rgba(4, 17, 27, 0.12);
  --radius: 4px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", YuGothic, "Noto Sans JP", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 0.035em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

button {
  color: inherit;
}

h1,
h2,
h3,
p,
ul,
ol,
dl,
dd {
  margin-top: 0;
}

address {
  font-style: normal;
}

::selection {
  color: var(--navy-950);
  background: var(--gold-300);
}

:focus-visible {
  outline: 3px solid var(--gold-300);
  outline-offset: 4px;
}

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

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 8px;
  left: 8px;
  padding: 10px 16px;
  color: var(--navy-950);
  background: var(--white);
  transform: translateY(-150%);
  transition: transform 0.2s ease;
}

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

.mobile-only {
  display: none;
}

/* Header */
.site-header {
  position: fixed;
  z-index: 1000;
  inset: 0 0 auto;
  height: 88px;
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(4, 17, 27, 0.18);
  transition: height 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.site-header.is-scrolled,
.site-header.is-compact {
  height: 74px;
  background: rgba(5, 21, 33, 0.96);
  box-shadow: 0 10px 30px rgba(4, 17, 27, 0.12);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-name {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.09em;
}

.brand-en {
  margin-top: 4px;
  color: var(--gold-300);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 9px;
  letter-spacing: 0.22em;
}

.global-nav ul {
  display: flex;
  align-items: center;
  gap: 34px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.global-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.06em;
}

.global-nav a:not(.nav-contact)::after {
  position: absolute;
  right: 0;
  bottom: 5px;
  left: 0;
  height: 1px;
  background: var(--gold-300);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s ease;
}

.global-nav a:not(.nav-contact):hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.global-nav .nav-contact {
  min-height: 46px;
  padding: 0 22px;
  color: var(--navy-950);
  background: linear-gradient(135deg, var(--gold-300), var(--gold-500));
  border-radius: 2px;
  box-shadow: 0 8px 24px rgba(196, 147, 77, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.global-nav .nav-contact:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(196, 147, 77, 0.35);
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 12px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 1px;
  margin: 6px 0;
  background: var(--white);
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.header-back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 650;
}

.header-back span {
  color: var(--gold-300);
}

/* Shared */
.section {
  position: relative;
  padding: 128px 0;
}

.section-heading h2 {
  margin-bottom: 0;
  color: var(--navy-900);
  font-family: "Yu Mincho", YuMincho, "Hiragino Mincho ProN", Georgia, serif;
  font-size: clamp(34px, 4.3vw, 60px);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.08em;
}

.section-kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  color: var(--gold-500);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.24em;
}

.section-kicker::before {
  width: 34px;
  height: 1px;
  background: currentColor;
  content: "";
}

.section-heading-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 64px;
}

.section-heading-row > p {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 15px;
  line-height: 2;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 58px;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: 14px;
  font-weight: 750;
  letter-spacing: 0.06em;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, color 0.22s ease;
}

.button svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.button-primary {
  color: var(--navy-950);
  background: linear-gradient(135deg, #f2d89a, var(--gold-500));
  box-shadow: 0 16px 42px rgba(188, 136, 66, 0.23);
}

.button-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 48px rgba(188, 136, 66, 0.34);
}

.button-ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.04);
}

.button-ghost:hover {
  border-color: var(--gold-300);
  background: rgba(255, 255, 255, 0.09);
  transform: translateY(-3px);
}

.button-dark {
  color: var(--white);
  background: var(--navy-900);
}

.button-dark:hover {
  background: var(--navy-700);
  transform: translateY(-2px);
}

.reveal.is-visible {
  animation: reveal-up 0.78s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.reveal-delay-short.is-visible {
  animation-delay: 0.1s;
}

.reveal-delay.is-visible {
  animation-delay: 0.18s;
}

@keyframes reveal-up {
  from {
    opacity: 0;
    transform: translateY(26px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero */
.hero {
  position: relative;
  min-height: 900px;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 84% 24%, rgba(49, 130, 137, 0.24), transparent 32%),
    radial-gradient(circle at 15% 80%, rgba(196, 147, 77, 0.12), transparent 30%),
    linear-gradient(135deg, #061622 0%, #092536 58%, #071a2b 100%);
}

.hero::before {
  position: absolute;
  top: -300px;
  right: -280px;
  width: 800px;
  height: 800px;
  border: 1px solid rgba(217, 173, 104, 0.12);
  border-radius: 50%;
  content: "";
}

.hero::after {
  position: absolute;
  right: -1px;
  bottom: -1px;
  left: 0;
  height: 86px;
  background: var(--white);
  clip-path: polygon(0 100%, 100% 22%, 100% 100%);
  content: "";
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  opacity: 0.32;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 88%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
  align-items: center;
  gap: 48px;
  min-height: 750px;
  padding-top: 116px;
  padding-bottom: 92px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
  color: var(--gold-300);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.24em;
}

.eyebrow span {
  width: 42px;
  height: 1px;
  background: currentColor;
}

.hero h1 {
  margin-bottom: 30px;
  font-family: "Yu Mincho", YuMincho, "Hiragino Mincho ProN", Georgia, serif;
  font-size: clamp(45px, 5.5vw, 73px);
  font-weight: 600;
  line-height: 1.32;
  letter-spacing: 0.065em;
}

.hero h1 em {
  position: relative;
  display: inline-block;
  color: var(--white);
  font-size: 0.82em;
  font-style: normal;
  white-space: nowrap;
}

.hero h1 em::after {
  position: absolute;
  right: 0;
  bottom: -9px;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-300), transparent 96%);
  content: "";
}

.hero-lead {
  max-width: 610px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.77);
  font-size: 15px;
  line-height: 2.15;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-note {
  margin: 14px 0 0 4px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.visual-shell {
  position: relative;
  width: min(100%, 520px);
  aspect-ratio: 1;
}

.visual-shell::before,
.visual-shell::after {
  position: absolute;
  border-radius: 50%;
  content: "";
  filter: blur(50px);
}

.visual-shell::before {
  top: 12%;
  right: 10%;
  width: 120px;
  height: 120px;
  background: rgba(43, 120, 129, 0.22);
}

.visual-shell::after {
  bottom: 12%;
  left: 14%;
  width: 90px;
  height: 90px;
  background: rgba(196, 147, 77, 0.17);
}

.visual-shell svg {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
}

.orbit {
  fill: none;
  stroke: rgba(255, 255, 255, 0.12);
  stroke-width: 1;
  stroke-dasharray: 5 8;
  transform-origin: 280px 280px;
}

.orbit-a {
  animation: spin 50s linear infinite;
}

.orbit-b {
  stroke: rgba(217, 173, 104, 0.22);
  stroke-dasharray: 3 10;
  animation: spin-reverse 35s linear infinite;
}

.link-line {
  fill: none;
  stroke: rgba(217, 173, 104, 0.48);
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-dasharray: 3 7;
}

.core-ring {
  fill: rgba(7, 26, 43, 0.75);
  stroke: url(#ringGold);
  stroke-width: 1.5;
}

.core-text,
.node text {
  fill: rgba(255, 255, 255, 0.8);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", sans-serif;
  font-size: 16px;
  letter-spacing: 0.08em;
}

.core-text-strong {
  fill: var(--white);
  font-size: 22px;
  font-weight: 700;
}

.node {
  filter: drop-shadow(0 14px 25px rgba(0, 0, 0, 0.22));
}

.node-border {
  fill: none;
  stroke: rgba(255, 255, 255, 0.17);
  stroke-width: 1;
}

.node text {
  fill: var(--white);
  font-size: 15px;
  font-weight: 650;
}

.spark {
  fill: var(--gold-300);
  filter: url(#softGlow);
  animation: pulse 2.8s ease-in-out infinite;
}

.spark-b { animation-delay: 0.8s; }
.spark-c { animation-delay: 1.6s; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes spin-reverse { to { transform: rotate(-360deg); } }
@keyframes pulse { 50% { opacity: 0.35; transform: scale(0.65); } }

.visual-caption {
  position: absolute;
  z-index: 2;
  right: -6px;
  bottom: 48px;
  display: flex;
  flex-direction: column;
  padding: 14px 18px;
  border-left: 2px solid var(--gold-400);
  background: rgba(5, 21, 33, 0.65);
  backdrop-filter: blur(8px);
}

.visual-caption span {
  color: rgba(255, 255, 255, 0.52);
  font-size: 9px;
  letter-spacing: 0.24em;
}

.visual-caption strong {
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  letter-spacing: 0.12em;
}

.hero-pillars {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: -58px;
  box-shadow: var(--shadow);
}

.hero-pillars > div {
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: 116px;
  padding: 24px 34px;
  color: var(--ink);
  background: var(--white);
  border-right: 1px solid var(--line);
}

.hero-pillars > div:last-child {
  border-right: 0;
}

.hero-pillars span {
  color: var(--gold-500);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
}

.hero-pillars strong {
  font-size: 15px;
  letter-spacing: 0.08em;
}

/* About */
.about {
  padding-top: 168px;
  background: var(--white);
}

.about::before {
  position: absolute;
  top: 154px;
  left: 0;
  width: 7vw;
  height: 1px;
  background: var(--gold-400);
  content: "";
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 110px;
}

.about-content {
  padding-top: 44px;
  color: var(--muted);
  font-size: 15px;
  line-height: 2.2;
}

.about-content p {
  margin-bottom: 22px;
}

.about-content .about-lead {
  color: var(--navy-900);
  font-family: "Yu Mincho", YuMincho, "Hiragino Mincho ProN", Georgia, serif;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.8;
}

.about-signature {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  margin-top: 38px;
  color: var(--navy-700);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 11px;
  letter-spacing: 0.23em;
}

.about-signature span {
  width: 50px;
  height: 1px;
  background: var(--gold-500);
}

/* Services */
.services {
  overflow: hidden;
  background: var(--warm);
}

.services::after {
  position: absolute;
  top: 6%;
  right: -7%;
  color: rgba(7, 26, 43, 0.028);
  content: "SERVICE";
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(100px, 16vw, 230px);
  font-weight: 700;
  letter-spacing: 0.03em;
  pointer-events: none;
}

.services .container {
  position: relative;
  z-index: 1;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  overflow: hidden;
  background: #d8d4cc;
  box-shadow: var(--shadow);
}

.service-card {
  position: relative;
  min-height: 330px;
  padding: 48px 50px 44px;
  background: rgba(255, 255, 255, 0.88);
  transition: background 0.3s ease, transform 0.3s ease;
}

.service-card:hover {
  z-index: 2;
  background: var(--white);
}

.service-number {
  position: absolute;
  top: 27px;
  right: 32px;
  color: rgba(7, 26, 43, 0.1);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 44px;
  line-height: 1;
}

.service-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 30px;
  color: var(--gold-500);
  border: 1px solid rgba(196, 147, 77, 0.34);
  border-radius: 50%;
  background: #fbfaf7;
}

.service-icon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3 {
  margin-bottom: 16px;
  color: var(--navy-900);
  font-family: "Yu Mincho", YuMincho, "Hiragino Mincho ProN", Georgia, serif;
  font-size: 23px;
  letter-spacing: 0.06em;
}

.service-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 2;
}

.service-detail {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 90px;
  margin-top: 100px;
  padding-top: 80px;
  border-top: 1px solid #d4cec4;
}

.service-detail-heading {
  position: sticky;
  top: 120px;
  align-self: start;
}

.service-detail-heading h3 {
  margin: 0;
  color: var(--navy-900);
  font-family: "Yu Mincho", YuMincho, "Hiragino Mincho ProN", Georgia, serif;
  font-size: 30px;
  letter-spacing: 0.06em;
}

.scope-list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: scope;
}

.scope-list li {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 20px;
  padding: 26px 0;
  border-bottom: 1px solid #d4cec4;
}

.scope-list li:first-child {
  padding-top: 0;
}

.scope-list span {
  padding-top: 2px;
  color: var(--gold-500);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  letter-spacing: 0.12em;
}

.scope-list p {
  margin: 0;
  color: #3d494f;
  font-size: 14px;
  line-height: 1.9;
}

/* Process */
.process {
  background: var(--white);
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.process-list li {
  position: relative;
  min-height: 250px;
  padding: 38px 32px 34px;
  border-top: 2px solid var(--navy-800);
  border-right: 1px solid var(--line);
}

.process-list li:last-child {
  border-right: 0;
}

.process-list li::before {
  position: absolute;
  top: -7px;
  left: 0;
  width: 12px;
  height: 12px;
  background: var(--gold-400);
  border-radius: 50%;
  content: "";
}

.process-list li:not(:last-child)::after {
  position: absolute;
  z-index: 2;
  top: -9px;
  right: -5px;
  width: 9px;
  height: 9px;
  border-top: 2px solid var(--navy-800);
  border-right: 2px solid var(--navy-800);
  content: "";
  transform: rotate(45deg);
}

.process-step {
  display: block;
  margin-bottom: 32px;
  color: var(--gold-500);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.process-list h3 {
  margin-bottom: 16px;
  color: var(--navy-900);
  font-size: 18px;
  letter-spacing: 0.06em;
}

.process-list p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
}

/* Company */
.company {
  background: var(--warm);
}

.company-grid {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 100px;
}

.company .section-heading {
  position: relative;
}

.company-decoration {
  display: grid;
  place-items: center;
  width: 210px;
  height: 210px;
  margin-top: 80px;
  color: rgba(196, 147, 77, 0.25);
  border: 1px solid rgba(196, 147, 77, 0.28);
  border-radius: 50%;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 88px;
}

.company-decoration::before {
  position: absolute;
  bottom: 44px;
  left: 60px;
  width: 210px;
  height: 210px;
  border: 1px dashed rgba(11, 43, 60, 0.14);
  border-radius: 50%;
  content: "";
}

.company-list {
  margin: 0;
  border-top: 1px solid #cfc9be;
}

.company-list > div {
  display: grid;
  grid-template-columns: 145px 1fr;
  gap: 28px;
  padding: 28px 0;
  border-bottom: 1px solid #cfc9be;
}

.company-list dt {
  color: var(--navy-700);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.08em;
}

.company-list dd {
  margin: 0;
  color: #35434a;
  font-size: 14px;
  line-height: 2;
}

.company-phone {
  color: var(--navy-900);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  color: var(--gold-500);
  font-size: 12px;
  font-weight: 700;
  border-bottom: 1px solid rgba(196, 147, 77, 0.42);
}

/* Contact */
.contact {
  position: relative;
  overflow: hidden;
  padding: 118px 0 124px;
  color: var(--white);
  text-align: center;
  background:
    radial-gradient(circle at 18% 34%, rgba(43, 120, 129, 0.24), transparent 27%),
    radial-gradient(circle at 84% 70%, rgba(196, 147, 77, 0.16), transparent 27%),
    var(--navy-900);
}

.contact-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.5;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: radial-gradient(circle at center, #000, transparent 75%);
}

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

.contact .section-kicker {
  justify-content: center;
}

.contact h2 {
  margin-bottom: 24px;
  font-family: "Yu Mincho", YuMincho, "Hiragino Mincho ProN", Georgia, serif;
  font-size: clamp(34px, 4.2vw, 54px);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.08em;
}

.contact > .container > p:not(.section-kicker),
.contact-inner > p:not(.section-kicker) {
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
}

.contact-phone {
  display: inline-flex;
  flex-direction: column;
  min-width: 430px;
  padding: 22px 48px 24px;
  color: var(--navy-950);
  background: linear-gradient(135deg, #f4dda4, var(--gold-500));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.23);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.contact-phone:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.33);
}

.contact-phone-label {
  margin-bottom: 2px;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.12em;
}

.contact-phone-number {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.05em;
}

.contact-phone-number svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

/* Footer */
.site-footer {
  padding: 72px 0 24px;
  color: rgba(255, 255, 255, 0.72);
  background: var(--navy-950);
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr 1.25fr auto;
  gap: 70px;
  align-items: start;
  padding-bottom: 58px;
}

.brand-footer {
  color: var(--white);
}

.footer-info {
  font-size: 12px;
  line-height: 2;
}

.footer-info a {
  display: inline-block;
  margin-top: 8px;
  color: var(--gold-300);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
  letter-spacing: 0.08em;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 12px 34px;
}

.footer-nav a {
  font-size: 11px;
  font-weight: 650;
}

.footer-nav a:hover {
  color: var(--gold-300);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom small {
  color: rgba(255, 255, 255, 0.38);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 9px;
  letter-spacing: 0.16em;
}

.footer-bottom > a {
  color: var(--gold-300);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 9px;
  letter-spacing: 0.16em;
}

.mobile-call {
  display: none;
}

/* Privacy policy */
.legal-page {
  background: var(--warm);
}

.legal-hero {
  padding: 170px 0 76px;
  color: var(--white);
  background:
    radial-gradient(circle at 80% 20%, rgba(43, 120, 129, 0.24), transparent 25%),
    var(--navy-900);
}

.legal-hero h1 {
  margin-bottom: 12px;
  font-family: "Yu Mincho", YuMincho, "Hiragino Mincho ProN", Georgia, serif;
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 600;
  letter-spacing: 0.08em;
}

.legal-hero > .container > p:last-child {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
}

.legal-content {
  padding: 100px 0 120px;
}

.legal-container {
  max-width: 920px;
  padding: 72px 90px;
  background: var(--white);
  box-shadow: 0 18px 55px rgba(4, 17, 27, 0.08);
}

.legal-container > p:first-child {
  margin-bottom: 58px;
  color: #445159;
  font-size: 14px;
  line-height: 2.1;
}

.legal-container section {
  margin-bottom: 48px;
}

.legal-container section h2 {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
  color: var(--navy-900);
  font-size: 18px;
  letter-spacing: 0.05em;
}

.legal-container section h2 span {
  color: var(--gold-500);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 12px;
}

.legal-container section p,
.legal-container section li {
  color: var(--muted);
  font-size: 14px;
  line-height: 2;
}

.legal-container section ul {
  margin: 12px 0 0;
  padding-left: 1.5em;
}

.legal-contact {
  margin-top: 20px;
  padding: 24px 28px;
  color: #46535a;
  background: var(--warm);
  font-size: 13px;
  line-height: 2;
}

.legal-contact strong {
  color: var(--navy-900);
}

.legal-contact a {
  color: var(--navy-700);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
  font-weight: 700;
}

.legal-back {
  min-width: 220px;
  margin-top: 12px;
}

.legal-footer {
  padding-top: 24px;
}

/* 404 */
.error-page {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 40px 24px;
  color: var(--white);
  text-align: center;
  background:
    radial-gradient(circle at 75% 25%, rgba(43, 120, 129, 0.25), transparent 28%),
    var(--navy-900);
}

.error-page main {
  max-width: 620px;
}

.error-page img {
  margin: 0 auto 34px;
}

.error-page .section-kicker {
  justify-content: center;
}

.error-page h1 {
  margin-bottom: 16px;
  font-family: "Yu Mincho", YuMincho, "Hiragino Mincho ProN", Georgia, serif;
  font-size: clamp(30px, 5vw, 50px);
  letter-spacing: 0.06em;
}

.error-page p:not(.section-kicker) {
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 14px;
}

/* Tablet */
@media (max-width: 1020px) {
  .global-nav ul {
    gap: 22px;
  }

  .global-nav a {
    font-size: 12px;
  }

  .hero-inner {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 20px;
  }

  .hero h1 {
    font-size: clamp(42px, 6.2vw, 62px);
  }

  .hero h1 em {
    font-size: 1em;
    white-space: normal;
  }

  .visual-shell {
    width: 440px;
  }

  .hero-pillars > div {
    padding-inline: 24px;
  }

  .about-grid,
  .company-grid {
    gap: 64px;
  }

  .service-detail {
    gap: 60px;
  }

  .process-list li {
    padding-inline: 20px;
  }

  .footer-main {
    gap: 40px;
  }
}

/* Mobile */
@media (max-width: 860px) {
  html {
    scroll-padding-top: 72px;
  }

  body {
    padding-bottom: 72px;
    font-size: 15px;
  }

  .container {
    width: min(calc(100% - 36px), var(--container));
  }

  .mobile-only {
    display: block;
  }

  .site-header,
  .site-header.is-scrolled,
  .site-header.is-compact {
    height: 70px;
    background: rgba(5, 21, 33, 0.97);
  }

  .brand img {
    width: 38px;
    height: 38px;
    border-radius: 10px;
  }

  .brand-name {
    font-size: 13px;
  }

  .brand-en {
    font-size: 8px;
  }

  .nav-toggle {
    display: block;
    margin-right: -10px;
  }

  .global-nav {
    position: absolute;
    z-index: 999;
    top: 100%;
    right: 0;
    left: 0;
    height: calc(100vh - 70px);
    height: calc(100dvh - 70px);
    visibility: hidden;
    opacity: 0;
    background: rgba(4, 17, 27, 0.985);
    transform: translateY(-12px);
    transition: visibility 0s linear 0.28s, opacity 0.28s ease, transform 0.28s ease;
  }

  .global-nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0s;
  }

  .global-nav ul {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: min(calc(100% - 48px), 520px);
    margin: 40px auto 0;
  }

  .global-nav li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .global-nav a {
    display: flex;
    justify-content: space-between;
    min-height: 64px;
    font-size: 14px;
  }

  .global-nav a:not(.nav-contact)::before {
    order: 2;
    color: var(--gold-300);
    content: "↘";
  }

  .global-nav a:not(.nav-contact)::after {
    display: none;
  }

  .global-nav .nav-contact {
    justify-content: center;
    min-height: 60px;
    margin-top: 28px;
  }

  .section {
    padding: 88px 0;
  }

  .section-kicker {
    margin-bottom: 18px;
    font-size: 10px;
  }

  .section-heading h2 {
    font-size: clamp(31px, 9vw, 43px);
    line-height: 1.42;
  }

  .section-heading-row {
    display: block;
    margin-bottom: 42px;
  }

  .section-heading-row > p {
    margin-top: 24px;
    font-size: 13px;
  }

  .hero {
    min-height: auto;
  }

  .hero::before {
    top: -100px;
    right: -260px;
    width: 620px;
    height: 620px;
  }

  .hero::after {
    height: 46px;
  }

  .hero-grid-lines {
    background-size: 56px 56px;
  }

  .hero-inner {
    display: flex;
    flex-direction: column;
    gap: 22px;
    min-height: auto;
    padding-top: 132px;
    padding-bottom: 102px;
  }

  .hero-copy {
    width: 100%;
  }

  .eyebrow {
    margin-bottom: 22px;
    font-size: 9px;
  }

  .eyebrow span {
    width: 28px;
  }

  .hero h1 {
    margin-bottom: 25px;
    font-size: clamp(38px, 11vw, 53px);
    line-height: 1.37;
    letter-spacing: 0.045em;
  }

  .hero-lead {
    margin-bottom: 28px;
    font-size: 13px;
    line-height: 2;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-note {
    text-align: center;
  }

  .hero-visual {
    width: 100%;
    margin-top: 4px;
  }

  .visual-shell {
    width: min(100%, 390px);
  }

  .visual-caption {
    right: 0;
    bottom: 32px;
  }

  .hero-pillars {
    grid-template-columns: 1fr;
    width: calc(100% - 36px);
    margin-top: -54px;
  }

  .hero-pillars > div {
    min-height: 76px;
    padding: 18px 22px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .hero-pillars > div:last-child {
    border-bottom: 0;
  }

  .about {
    padding-top: 120px;
  }

  .about::before {
    top: 106px;
    width: 32px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .about-content {
    padding-top: 18px;
    font-size: 13px;
    line-height: 2.1;
  }

  .about-content .about-lead {
    font-size: 19px;
  }

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

  .service-card {
    min-height: auto;
    padding: 38px 28px 34px;
  }

  .service-number {
    top: 25px;
    right: 24px;
    font-size: 38px;
  }

  .service-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 24px;
  }

  .service-card h3 {
    font-size: 20px;
  }

  .service-card p {
    font-size: 13px;
  }

  .service-detail {
    grid-template-columns: 1fr;
    gap: 44px;
    margin-top: 72px;
    padding-top: 58px;
  }

  .service-detail-heading {
    position: static;
  }

  .service-detail-heading h3 {
    font-size: 26px;
  }

  .scope-list li {
    grid-template-columns: 42px 1fr;
    gap: 10px;
    padding: 22px 0;
  }

  .scope-list p {
    font-size: 12px;
    line-height: 1.85;
  }

  .process-list {
    grid-template-columns: 1fr;
  }

  .process-list li {
    min-height: auto;
    padding: 28px 14px 32px 34px;
    border-top: 0;
    border-right: 0;
    border-left: 2px solid var(--navy-800);
  }

  .process-list li::before {
    top: 34px;
    left: -7px;
  }

  .process-list li:not(:last-child)::after {
    top: auto;
    right: auto;
    bottom: -3px;
    left: -6px;
    transform: rotate(135deg);
  }

  .process-step {
    margin-bottom: 12px;
  }

  .company-grid {
    grid-template-columns: 1fr;
    gap: 54px;
  }

  .company-decoration {
    display: none;
  }

  .company-list > div {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 22px 0;
  }

  .company-list dd {
    font-size: 13px;
  }

  .contact {
    padding: 84px 0 90px;
  }

  .contact h2 {
    font-size: clamp(29px, 8vw, 38px);
  }

  .contact-inner > p:not(.section-kicker) {
    font-size: 12px;
    line-height: 1.9;
  }

  .contact-phone {
    width: 100%;
    min-width: 0;
    padding: 18px 16px 20px;
  }

  .contact-phone-number {
    font-size: clamp(27px, 8vw, 34px);
  }

  .site-footer {
    padding-top: 58px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 34px;
    padding-bottom: 42px;
  }

  .footer-nav {
    grid-template-columns: 1fr 1fr;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .footer-bottom {
    gap: 16px;
  }

  .footer-bottom small {
    line-height: 1.6;
  }

  .mobile-call {
    position: fixed;
    z-index: 1200;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    height: 72px;
    color: var(--navy-950);
    background: linear-gradient(100deg, #efd18c, #c7944b);
    box-shadow: 0 -7px 25px rgba(4, 17, 27, 0.18);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 21px;
    font-weight: 700;
    letter-spacing: 0.04em;
  }

  .mobile-call svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
  }

  .mobile-call span {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
  }

  .mobile-call small {
    font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", sans-serif;
    font-size: 9px;
    letter-spacing: 0.12em;
  }

  .header-back {
    font-size: 11px;
  }

  .legal-hero {
    padding: 130px 0 58px;
  }

  .legal-content {
    padding: 54px 0 80px;
  }

  .legal-container {
    width: calc(100% - 24px);
    padding: 42px 24px;
  }

  .legal-container > p:first-child {
    margin-bottom: 44px;
    font-size: 13px;
  }

  .legal-container section {
    margin-bottom: 38px;
  }

  .legal-container section h2 {
    align-items: flex-start;
    font-size: 16px;
  }

  .legal-container section p,
  .legal-container section li {
    font-size: 13px;
  }

  .legal-back {
    width: 100%;
  }
}

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

  .brand-copy {
    gap: 1px;
  }

  .brand-name {
    font-size: 12px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero-pillars {
    width: calc(100% - 28px);
  }

  .footer-nav {
    grid-template-columns: 1fr;
  }
}

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

@media print {
  .site-header,
  .mobile-call,
  .nav-toggle,
  .contact,
  .site-footer,
  .hero-visual {
    display: none !important;
  }

  body {
    padding: 0;
    color: #000;
  }

  .hero {
    min-height: auto;
    padding: 40px 0;
    color: #000;
    background: #fff;
  }

  .hero-inner {
    display: block;
    min-height: auto;
    padding: 0;
  }
}
