/* =========================================
   SEKI DOKEN CORPORATE SITE
   Main Stylesheet
   ========================================= */

/* --- Variables --- */
:root {
  --navy: #1A3558;
  --navy-dark: #0f1f33;
  --navy-light: #243d65;
  --orange: #E07B2A;
  --orange-light: #f08c3a;
  --steel: #3B6BA5;
  --gray-dark: #333333;
  --gray-mid: #666666;
  --gray-light: #F4F6F9;
  --white: #ffffff;
  --border: rgba(255,255,255,0.12);

  --font-jp: 'Noto Sans JP', sans-serif;
  --font-en: 'Montserrat', sans-serif;

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);

  --header-h: 80px;
  --section-pad: clamp(80px, 10vw, 140px);
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-jp);
  color: var(--gray-dark);
  background: var(--white);
  line-height: 1.85;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* --- Custom Scrollbar --- */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--gray-light); }
::-webkit-scrollbar-thumb { background: var(--navy); border-radius: 2px; }

/* --- Custom Cursor --- */
#cursor {
  width: 12px;
  height: 12px;
  background: var(--orange);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s, width 0.3s var(--ease-out-expo), height 0.3s var(--ease-out-expo), background 0.3s;
  mix-blend-mode: multiply;
}
#cursor-follower {
  width: 40px;
  height: 40px;
  border: 1.5px solid var(--navy);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform 0.25s var(--ease-out-expo), width 0.4s var(--ease-out-expo), height 0.4s var(--ease-out-expo), border-color 0.3s;
}
body.cursor-hover #cursor { width: 8px; height: 8px; }
body.cursor-hover #cursor-follower { width: 60px; height: 60px; border-color: var(--orange); opacity: 0.6; }

/* --- Loading Screen --- */
#loader {
  position: fixed;
  inset: 0;
  background: var(--navy-dark);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 32px;
}
#loader .loader-logo {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: clamp(14px, 2vw, 18px);
  letter-spacing: 0.3em;
  color: var(--white);
  text-transform: uppercase;
}
#loader .loader-logo span { color: var(--orange); }
#loader .loader-bar-wrap {
  width: 200px;
  height: 1px;
  background: rgba(255,255,255,0.15);
  position: relative;
  overflow: hidden;
}
#loader .loader-bar {
  position: absolute;
  left: 0; top: 0;
  height: 100%;
  width: 0%;
  background: var(--orange);
  transition: width 0.05s linear;
}
#loader .loader-num {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.4);
}

/* --- Header --- */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  z-index: 1000;
  transition: background 0.4s, box-shadow 0.4s, height 0.4s;
}
#header.scrolled {
  background: rgba(10, 20, 40, 0.96);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
  backdrop-filter: blur(12px);
  height: 68px;
}
.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  height: 100%;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header-logo {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.header-logo .logo-en {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.25em;
  color: var(--orange);
  text-transform: uppercase;
}
.header-logo .logo-jp {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.08em;
  color: var(--white);
  line-height: 1;
}
.header-nav {
  display: flex;
  align-items: center;
  gap: 0;
}
.header-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 0 18px;
  cursor: pointer;
  position: relative;
}
.header-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: calc(100% - 36px);
  height: 1px;
  background: var(--orange);
  transition: transform 0.3s var(--ease-out-expo);
  transform-origin: center;
}
.header-nav a:hover::after { transform: translateX(-50%) scaleX(1); }
.header-nav a .nav-en {
  font-family: var(--font-en);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--orange);
  text-transform: uppercase;
}
.header-nav a .nav-jp {
  font-size: 11px;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.header-nav a:hover .nav-jp { color: var(--white); }
.header-contact-btn {
  margin-left: 24px;
  padding: 10px 24px;
  background: var(--orange);
  color: var(--white);
  font-family: var(--font-jp);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  border-radius: 2px;
  transition: background 0.3s, transform 0.2s;
  white-space: nowrap;
}
.header-contact-btn:hover { background: var(--orange-light); transform: translateY(-1px); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  width: 30px;
  cursor: pointer;
  padding: 4px 0;
  z-index: 1001;
}
.hamburger span {
  display: block;
  height: 1.5px;
  background: var(--white);
  transition: transform 0.3s var(--ease-out-expo), opacity 0.3s;
}
.hamburger.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--navy-dark);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  transform: translateY(-20px);
  transition: opacity 0.4s, transform 0.4s var(--ease-out-expo);
}
.mobile-menu.active { opacity: 1; transform: translateY(0); }
.mobile-menu a {
  font-size: clamp(22px, 5vw, 32px);
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.08em;
  padding: 12px 0;
  transition: color 0.3s;
}
.mobile-menu a:hover { color: var(--orange); }
.mobile-menu .menu-en {
  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--orange);
  text-transform: uppercase;
}

/* Floating CTA */
#floating-recruit {
  position: fixed;
  right: -200px;
  bottom: 120px;
  z-index: 900;
  transition: right 0.5s var(--ease-out-expo);
}
#floating-recruit.visible { right: 0; }
#floating-recruit a {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--navy);
  color: var(--white);
  padding: 14px 20px 14px 16px;
  border-radius: 4px 0 0 4px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  box-shadow: -4px 4px 20px rgba(0,0,0,0.3);
  transition: background 0.3s;
}
#floating-recruit a:hover { background: var(--orange); }
#floating-recruit a::before {
  content: '';
  display: block;
  width: 4px;
  height: 36px;
  background: var(--orange);
  border-radius: 2px;
}

/* Page top button */
#page-top {
  position: fixed;
  right: 32px;
  bottom: 32px;
  width: 48px;
  height: 48px;
  background: var(--navy);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 900;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s, transform 0.3s, background 0.3s;
  cursor: pointer;
}
#page-top.visible { opacity: 1; transform: translateY(0); }
#page-top:hover { background: var(--orange); }
#page-top svg { fill: var(--white); width: 18px; height: 18px; }

/* --- Hero Section --- */
#hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding-bottom: clamp(80px, 10vh, 120px);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(160deg, rgba(10,20,40,0.85) 0%, rgba(26,53,88,0.7) 40%, rgba(59,107,165,0.4) 100%),
    url('../images/hero-bg.webp') center/cover no-repeat;
  transform: scale(1.05) translateY(0px);
  will-change: transform;
}

/* SVG Pattern overlay */
.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-noise {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  opacity: 0.3;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  width: 100%;
}

.hero-label {
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.4em;
  color: var(--orange);
  text-transform: uppercase;
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(20px);
  display: flex;
  align-items: center;
  gap: 16px;
}
.hero-label::before {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--orange);
}

.hero-title {
  font-size: clamp(36px, 5.5vw, 76px);
  font-weight: 700;
  line-height: 1.3;
  color: var(--white);
  letter-spacing: 0.06em;
  margin-bottom: 24px;
}
.hero-title .line {
  display: block;
  overflow: hidden;
}
.hero-title .line-inner {
  display: block;
  transform: translateY(100%);
}

.hero-sub {
  font-size: clamp(13px, 1.4vw, 16px);
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.08em;
  line-height: 1.9;
  margin-bottom: 48px;
  max-width: 520px;
  opacity: 0;
  transform: translateY(20px);
}

.hero-cta-row {
  display: flex;
  gap: 16px;
  align-items: center;
  opacity: 0;
  transform: translateY(20px);
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 36px;
  background: var(--orange);
  color: var(--white);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.1em;
  border-radius: 2px;
  transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
}
.btn-primary:hover {
  background: var(--orange-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(224,123,42,0.4);
}
.btn-primary .arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid var(--white);
  border-top: 2px solid var(--white);
  transform: rotate(45deg);
  transition: transform 0.3s;
}
.btn-primary:hover .arrow { transform: rotate(45deg) translate(3px, -3px); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 36px;
  border: 1px solid rgba(255,255,255,0.4);
  color: var(--white);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.1em;
  border-radius: 2px;
  transition: border-color 0.3s, background 0.3s, transform 0.2s;
}
.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.08);
  transform: translateY(-2px);
}

/* Hero stats bar */
.hero-stats {
  position: absolute;
  bottom: 0;
  right: 0;
  display: flex;
  z-index: 2;
}
.hero-stat-item {
  padding: 24px 32px;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255,255,255,0.1);
  border-left: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  opacity: 0;
  transform: translateY(30px);
}
.hero-stat-item .stat-num {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: clamp(28px, 3vw, 40px);
  color: var(--white);
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 3px;
  justify-content: center;
}
.hero-stat-item .stat-num sup {
  font-size: 0.45em;
  letter-spacing: 0;
  color: var(--orange);
}
.hero-stat-item .stat-label {
  font-size: 10px;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.55);
  margin-top: 6px;
  font-family: var(--font-en);
  text-transform: uppercase;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  left: 40px;
  bottom: 40px;
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 2;
  opacity: 0;
}
.scroll-indicator .scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.4));
  position: relative;
  overflow: hidden;
}
.scroll-indicator .scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--orange);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { top: -100%; }
  100% { top: 100%; }
}
.scroll-indicator .scroll-text {
  font-family: var(--font-en);
  font-size: 9px;
  letter-spacing: 0.3em;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

/* --- Section Common --- */
.section { padding: var(--section-pad) 0; }
.section-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}
.section-header {
  margin-bottom: clamp(48px, 6vw, 80px);
}
.section-en {
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.4em;
  color: var(--orange);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.section-en::before {
  content: '';
  display: block;
  width: 30px;
  height: 1px;
  background: var(--orange);
}
.section-title {
  font-size: clamp(28px, 3.5vw, 46px);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.04em;
  line-height: 1.3;
}
.section-title span { color: var(--orange); }
.section-desc {
  margin-top: 20px;
  font-size: clamp(14px, 1.3vw, 16px);
  color: var(--gray-mid);
  line-height: 1.9;
  max-width: 600px;
}

/* --- Numbers Section --- */
#numbers {
  background: var(--navy-dark);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
#numbers::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(59,107,165,0.15) 0%, transparent 70%);
  pointer-events: none;
}
#numbers::after {
  content: '';
  position: absolute;
  bottom: -30%;
  right: 5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(224,123,42,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.number-item {
  padding: 48px 40px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.07);
  position: relative;
}
.number-item:last-child { border-right: none; }
.number-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 40px;
  height: 2px;
  background: var(--orange);
  transition: transform 0.6s var(--ease-out-expo);
}
.number-item.in-view::after { transform: translateX(-50%) scaleX(1); }
.number-val {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: clamp(48px, 5vw, 72px);
  color: var(--white);
  line-height: 1;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
}
.number-val .unit {
  font-size: 0.45em;
  color: var(--orange);
  letter-spacing: 0.05em;
}
.number-label {
  font-size: 12px;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.45);
  margin-top: 12px;
  font-family: var(--font-en);
  text-transform: uppercase;
}
.number-sub {
  font-size: 11px;
  color: rgba(255,255,255,0.3);
  margin-top: 8px;
  letter-spacing: 0.05em;
  line-height: 1.5;
}

/* --- About/Greeting Section --- */
#greeting {
  background: var(--white);
}
.greeting-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
}
.greeting-text .message-body {
  font-size: clamp(14px, 1.3vw, 16px);
  line-height: 2;
  color: var(--gray-dark);
  margin-bottom: 32px;
}
.greeting-text .message-sign {
  font-size: 14px;
  color: var(--gray-mid);
  letter-spacing: 0.05em;
}
.greeting-text .message-sign strong {
  font-size: 16px;
  color: var(--navy);
  display: block;
  margin-top: 4px;
}
.greeting-visual {
  position: relative;
}
.greeting-img-wrap {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--gray-light);
}
.greeting-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out-expo);
}
.greeting-img-wrap:hover img { transform: scale(1.03); }
.greeting-visual-deco {
  position: absolute;
  bottom: -20px;
  left: -20px;
  width: 120px;
  height: 120px;
  border: 2px solid var(--orange);
  z-index: -1;
}
.greeting-visual-label {
  position: absolute;
  top: 24px;
  right: -12px;
  background: var(--navy);
  color: var(--white);
  padding: 8px 16px;
  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

/* --- Business Section --- */
#business {
  background: var(--gray-light);
}
.business-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}
.biz-card {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  cursor: pointer;
  background: var(--navy);
}
.biz-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.8s var(--ease-out-expo);
}
.biz-card:hover .biz-card-bg { transform: scale(1.08); }

/* Biz card background images */
.biz-card:nth-child(1) .biz-card-bg { background-color: #1A3558; background-image: url('../images/biz-civil.webp'); }
.biz-card:nth-child(2) .biz-card-bg { background-color: #1e3d6b; background-image: url('../images/biz-architecture.webp'); }
.biz-card:nth-child(3) .biz-card-bg { background-color: #0f2238; background-image: url('../images/biz-furnace.webp'); }
.biz-card:nth-child(4) .biz-card-bg { background-color: #1c3a65; background-image: url('../images/biz-port.webp'); }

.biz-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,20,40,0.95) 0%, rgba(10,20,40,0.4) 50%, transparent 100%);
  transition: opacity 0.4s;
}
.biz-card-overlay-hover {
  position: absolute;
  inset: 0;
  background: rgba(26, 53, 88, 0.85);
  opacity: 0;
  transition: opacity 0.4s;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px;
  text-align: center;
}
.biz-card:hover .biz-card-overlay-hover { opacity: 1; }
.biz-card-hover-text {
  font-size: 13px;
  color: rgba(255,255,255,0.85);
  line-height: 1.9;
  margin-bottom: 24px;
}
.biz-card-hover-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border: 1px solid var(--orange);
  color: var(--orange);
  font-size: 11px;
  letter-spacing: 0.15em;
  transition: background 0.3s, color 0.3s;
}
.biz-card-hover-btn:hover { background: var(--orange); color: var(--white); }

.biz-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px 28px;
  z-index: 2;
  transition: transform 0.4s var(--ease-out-expo);
}
.biz-card:hover .biz-card-content { transform: translateY(-10px); }
.biz-card-num {
  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--orange);
  margin-bottom: 8px;
}
.biz-card-title {
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.05em;
  margin-bottom: 8px;
  line-height: 1.4;
}
.biz-card-catch {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.05em;
}

/* Biz card icons */
.biz-card-icon {
  position: absolute;
  top: 28px;
  left: 28px;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.biz-card-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: rgba(255,255,255,0.7);
  stroke-width: 1.5;
}

/* --- Works Section --- */
#works {
  background: var(--white);
}
.works-filter {
  display: flex;
  gap: 4px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.filter-btn {
  padding: 8px 20px;
  border: 1px solid var(--gray-light);
  color: var(--gray-mid);
  font-size: 12px;
  letter-spacing: 0.1em;
  border-radius: 2px;
  transition: all 0.3s;
  background: var(--white);
  cursor: pointer;
}
.filter-btn.active, .filter-btn:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}
.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.work-card {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--gray-light);
  cursor: pointer;
}
.work-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out-expo);
}
.work-card:hover .work-card-img { transform: scale(1.06); }
.work-card-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 28px 24px;
  background: linear-gradient(to top, rgba(10,20,40,0.9) 0%, transparent 100%);
  transform: translateY(20px);
  opacity: 0;
  transition: transform 0.4s var(--ease-out-expo), opacity 0.4s;
}
.work-card:hover .work-card-info { transform: translateY(0); opacity: 1; }
.work-card-cat {
  font-family: var(--font-en);
  font-size: 9px;
  letter-spacing: 0.25em;
  color: var(--orange);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.work-card-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.04em;
  line-height: 1.4;
}

/* Works placeholder gradient cards */
.work-placeholder {
  background: linear-gradient(135deg, var(--navy) 0%, var(--steel) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.work-placeholder-inner {
  text-align: center;
  color: rgba(255,255,255,0.2);
}
.work-placeholder-inner svg {
  width: 48px;
  height: 48px;
  fill: currentColor;
  margin-bottom: 12px;
}
.work-placeholder-inner p {
  font-size: 11px;
  letter-spacing: 0.15em;
  font-family: var(--font-en);
  text-transform: uppercase;
}

.works-more-btn {
  text-align: center;
  margin-top: 48px;
}
.btn-more {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 40px;
  border: 1.5px solid var(--navy);
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.15em;
  border-radius: 2px;
  transition: background 0.3s, color 0.3s, transform 0.2s;
}
.btn-more:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-more .arrow {
  width: 18px;
  height: 18px;
  border-right: 2px solid currentColor;
  border-top: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.3s;
}
.btn-more:hover .arrow { transform: rotate(45deg) translate(3px, -3px); }

/* --- Strengths Section --- */
#strengths {
  background: var(--navy-dark);
  position: relative;
  overflow: hidden;
}
.strengths-bg-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-en);
  font-size: clamp(100px, 15vw, 200px);
  font-weight: 900;
  color: rgba(255,255,255,0.02);
  white-space: nowrap;
  letter-spacing: -0.04em;
  pointer-events: none;
  user-select: none;
}
.strengths-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
}
.strength-item {
  padding: clamp(40px, 5vw, 64px);
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  position: relative;
  overflow: hidden;
  transition: background 0.4s;
}
.strength-item:hover { background: rgba(255,255,255,0.05); }
.strength-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0;
  background: var(--orange);
  transition: height 0.5s var(--ease-out-expo);
}
.strength-item.in-view::before { height: 100%; }
.strength-num {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--orange);
  margin-bottom: 24px;
}
.strength-title {
  font-size: clamp(18px, 2.2vw, 26px);
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.04em;
  margin-bottom: 20px;
  line-height: 1.4;
}
.strength-text {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  line-height: 1.9;
}
.strength-icon {
  position: absolute;
  bottom: 32px;
  right: 32px;
  opacity: 0.06;
}
.strength-icon svg {
  width: 80px;
  height: 80px;
  fill: var(--white);
}

/* --- Recruit CTA Section --- */
#recruit-cta {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
}
.recruit-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 40%, var(--steel) 100%);
  opacity: 0.9;
}
.recruit-bg-pattern {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 30px,
    rgba(255,255,255,0.015) 30px,
    rgba(255,255,255,0.015) 60px
  );
}
.recruit-inner {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
  padding: 80px 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.recruit-text .section-en { color: rgba(255,255,255,0.5); }
.recruit-text .section-en::before { background: rgba(255,255,255,0.3); }
.recruit-text .section-title { color: var(--white); }
.recruit-text .section-desc { color: rgba(255,255,255,0.6); max-width: none; margin-top: 16px; }
.recruit-btns {
  display: flex;
  gap: 16px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.recruit-visual {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3px;
}
.recruit-photo {
  aspect-ratio: 1;
  background: rgba(255,255,255,0.05);
  overflow: hidden;
  position: relative;
}
.recruit-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out-expo);
}
.recruit-photo:hover img { transform: scale(1.05); }
.recruit-photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.15);
}
.recruit-photo-placeholder svg {
  width: 36px;
  height: 36px;
  fill: currentColor;
}

/* --- News Section --- */
#news {
  background: var(--gray-light);
}
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.news-card {
  background: var(--white);
  padding: 32px;
  border-radius: 2px;
  border-bottom: 3px solid transparent;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}
.news-card:hover {
  border-bottom-color: var(--orange);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}
.news-date {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--gray-mid);
  margin-bottom: 8px;
}
.news-cat {
  display: inline-block;
  padding: 2px 10px;
  background: var(--navy);
  color: var(--white);
  font-size: 10px;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
  border-radius: 2px;
}
.news-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.6;
  letter-spacing: 0.03em;
}

/* --- Contact CTA --- */
#contact-cta {
  background: var(--white);
  padding: 100px 0;
}
.contact-cta-grid {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: 60px;
  align-items: center;
}
.contact-divider { background: var(--gray-light); }
.contact-method {
  text-align: center;
  padding: 40px;
}
.contact-method-en {
  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--orange);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.contact-method-label {
  font-size: 14px;
  color: var(--gray-mid);
  margin-bottom: 12px;
  letter-spacing: 0.05em;
}
.contact-tel {
  font-family: var(--font-en);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 8px;
}
.contact-tel:hover { color: var(--orange); }
.contact-hours {
  font-size: 12px;
  color: var(--gray-mid);
  letter-spacing: 0.05em;
}

/* --- Footer --- */
#footer {
  background: var(--navy-dark);
  padding-top: 80px;
}
.footer-top {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px 60px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
}
.footer-brand .footer-logo-en {
  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--orange);
  text-transform: uppercase;
  margin-bottom: 4px;
}
.footer-brand .footer-logo-jp {
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}
.footer-brand-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  line-height: 1.9;
  margin-bottom: 24px;
}
.footer-address {
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  line-height: 1.9;
  letter-spacing: 0.03em;
}
.footer-nav-title {
  font-family: var(--font-en);
  font-size: 9px;
  letter-spacing: 0.3em;
  color: var(--orange);
  text-transform: uppercase;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-nav-list li { margin-bottom: 10px; }
.footer-nav-list a {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.03em;
  transition: color 0.3s;
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-nav-list a::before {
  content: '';
  display: block;
  width: 14px;
  height: 1px;
  background: rgba(255,255,255,0.2);
  transition: width 0.3s, background 0.3s;
}
.footer-nav-list a:hover { color: var(--white); }
.footer-nav-list a:hover::before { width: 20px; background: var(--orange); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 24px 40px;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-copy {
  font-family: var(--font-en);
  font-size: 11px;
  color: rgba(255,255,255,0.2);
  letter-spacing: 0.1em;
}
.footer-privacy {
  font-size: 12px;
  color: rgba(255,255,255,0.25);
  transition: color 0.3s;
}
.footer-privacy:hover { color: rgba(255,255,255,0.6); }

/* --- Inner Page: Page Hero --- */
.page-hero {
  position: relative;
  height: clamp(300px, 40vw, 480px);
  display: flex;
  align-items: flex-end;
  padding-bottom: clamp(40px, 5vw, 64px);
  overflow: hidden;
  background: var(--navy-dark);
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, var(--navy-dark) 0%, var(--navy) 50%, var(--steel) 100%);
  opacity: 0.9;
}
.page-hero-pattern {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.03;
}
.page-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  width: 100%;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}
.breadcrumb a, .breadcrumb span {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.4);
  transition: color 0.3s;
  text-transform: uppercase;
}
.breadcrumb a:hover { color: rgba(255,255,255,0.8); }
.breadcrumb .sep { color: rgba(255,255,255,0.2); }
.breadcrumb .current { color: var(--orange); }
.page-hero-title {
  font-size: clamp(32px, 5vw, 60px);
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.06em;
  line-height: 1.2;
}
.page-hero-title span {
  display: block;
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.35em;
  color: var(--orange);
  text-transform: uppercase;
  margin-bottom: 12px;
}

/* --- About Page --- */
.company-table {
  width: 100%;
  border-collapse: collapse;
}
.company-table tr {
  border-bottom: 1px solid var(--gray-light);
}
.company-table tr:first-child { border-top: 1px solid var(--gray-light); }
.company-table th {
  width: 200px;
  padding: 20px 24px;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.06em;
  text-align: left;
  background: var(--gray-light);
  vertical-align: top;
}
.company-table td {
  padding: 20px 24px;
  font-size: 14px;
  color: var(--gray-dark);
  line-height: 1.9;
}

/* Philosophy */
.philosophy-hero {
  background: var(--navy);
  padding: clamp(60px, 8vw, 100px) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.philosophy-main {
  font-size: clamp(18px, 2.5vw, 28px);
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.08em;
  line-height: 1.8;
  position: relative;
  z-index: 2;
}
.philosophy-sub {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  margin-top: 16px;
  letter-spacing: 0.05em;
  line-height: 1.9;
  position: relative;
  z-index: 2;
}
.principles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.principle-item {
  padding: 40px;
  border-left: 3px solid var(--orange);
  background: var(--gray-light);
}
.principle-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
  letter-spacing: 0.04em;
}
.principle-text {
  font-size: 14px;
  color: var(--gray-mid);
  line-height: 1.9;
}

/* History timeline */
.history-timeline {
  position: relative;
  padding-left: 60px;
}
.history-timeline::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, var(--orange), var(--navy));
}
.history-item {
  position: relative;
  margin-bottom: 40px;
}
.history-item::before {
  content: '';
  position: absolute;
  left: -48px;
  top: 8px;
  width: 12px;
  height: 12px;
  background: var(--orange);
  border-radius: 50%;
  border: 2px solid var(--white);
  box-shadow: 0 0 0 3px var(--orange);
}
.history-year {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 14px;
  color: var(--orange);
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}
.history-event {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
  letter-spacing: 0.04em;
}
.history-desc {
  font-size: 13px;
  color: var(--gray-mid);
  line-height: 1.8;
}

/* --- Business Page --- */
.business-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: clamp(60px, 8vw, 100px);
}
.business-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(40px, 5vw, 80px) 60px;
}
.biz-detail-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
  padding-bottom: clamp(40px, 5vw, 60px);
  border-bottom: 1px solid var(--gray-light);
}
.biz-detail-item:nth-child(odd) { direction: ltr; }
.biz-detail-img {
  aspect-ratio: 4/3;
  background: var(--gray-light);
  overflow: hidden;
}
.biz-detail-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.biz-detail-cat {
  font-family: var(--font-en);
  font-size: 9px;
  letter-spacing: 0.3em;
  color: var(--orange);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.biz-detail-title {
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
  letter-spacing: 0.04em;
  line-height: 1.4;
}
.biz-detail-text {
  font-size: 14px;
  color: var(--gray-mid);
  line-height: 1.9;
  margin-bottom: 16px;
}
.biz-detail-list {
  font-size: 12px;
  color: var(--gray-mid);
  background: var(--gray-light);
  padding: 12px 16px;
  border-radius: 2px;
  letter-spacing: 0.03em;
  line-height: 1.8;
}

/* Flow steps */
.flow-steps {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  margin-top: 48px;
  position: relative;
}
.flow-step {
  text-align: center;
  position: relative;
  padding: 0 12px;
}
.flow-step::after {
  content: '';
  position: absolute;
  top: 28px;
  right: -12px;
  width: 24px;
  height: 1px;
  background: var(--orange);
  z-index: 2;
}
.flow-step:last-child::after { display: none; }
.flow-step-num {
  width: 56px;
  height: 56px;
  background: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 16px;
  color: var(--white);
  margin: 0 auto 16px;
  position: relative;
  z-index: 1;
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--navy);
}
.flow-step-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.05em;
  margin-bottom: 8px;
  line-height: 1.4;
}
.flow-step-text {
  font-size: 11px;
  color: var(--gray-mid);
  line-height: 1.7;
}

/* --- Technology Page --- */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-bottom: 80px;
}
.tech-card {
  background: var(--navy-dark);
  padding: 40px 32px;
  border-bottom: 3px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}
.tech-card:hover {
  background: var(--navy);
  border-bottom-color: var(--orange);
}
.tech-card-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
}
.tech-card-icon svg {
  width: 48px;
  height: 48px;
  fill: none;
  stroke: var(--orange);
  stroke-width: 1.5;
}
.tech-card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}
.tech-card-text {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  line-height: 1.9;
}

/* Qualifications */
.qual-table {
  width: 100%;
  border-collapse: collapse;
}
.qual-table th {
  padding: 12px 20px;
  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
  background: var(--navy);
  text-align: left;
  border: 1px solid rgba(255,255,255,0.08);
}
.qual-table td {
  padding: 14px 20px;
  font-size: 14px;
  border: 1px solid var(--gray-light);
  vertical-align: middle;
}
.qual-table tr:hover td { background: var(--gray-light); }

/* --- News Page --- */
.news-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 48px;
}
.news-item {
  display: flex;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--gray-light);
  align-items: flex-start;
  cursor: pointer;
  transition: padding-left 0.3s;
}
.news-item:hover { padding-left: 8px; }
.news-item-date {
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--gray-mid);
  white-space: nowrap;
  width: 100px;
  padding-top: 2px;
}
.news-item-cat {
  padding: 2px 10px;
  background: var(--navy);
  color: var(--white);
  font-size: 10px;
  letter-spacing: 0.08em;
  border-radius: 2px;
  white-space: nowrap;
  height: fit-content;
}
.news-item-title {
  font-size: 15px;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.6;
  transition: color 0.3s;
}
.news-item:hover .news-item-title { color: var(--orange); }

/* --- Contact Page --- */
.contact-form-wrap {
  max-width: 760px;
  margin: 0 auto;
}
.form-group {
  margin-bottom: 28px;
}
.form-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  letter-spacing: 0.04em;
}
.form-group label .req {
  padding: 1px 6px;
  background: var(--orange);
  color: var(--white);
  font-size: 10px;
  border-radius: 2px;
  font-weight: 700;
}
.form-group label .opt {
  padding: 1px 6px;
  background: var(--gray-light);
  color: var(--gray-mid);
  font-size: 10px;
  border-radius: 2px;
}
.form-input {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid var(--gray-light);
  border-radius: 2px;
  font-family: var(--font-jp);
  font-size: 15px;
  color: var(--gray-dark);
  background: var(--white);
  transition: border-color 0.3s, box-shadow 0.3s;
  outline: none;
}
.form-input:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(26,53,88,0.08);
}
.form-input.error { border-color: #e05050; }
.form-input.success { border-color: #50a070; }
textarea.form-input {
  min-height: 160px;
  resize: vertical;
}
.form-radio-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.form-radio {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.form-radio input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: var(--navy);
}
.form-radio span {
  font-size: 14px;
  color: var(--gray-dark);
}
.form-note {
  font-size: 12px;
  color: var(--gray-mid);
  margin-top: 6px;
  line-height: 1.6;
}
.form-privacy {
  padding: 24px;
  background: var(--gray-light);
  border-radius: 2px;
  margin-bottom: 32px;
}
.form-privacy h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.form-privacy p {
  font-size: 12px;
  color: var(--gray-mid);
  line-height: 1.8;
}
.form-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 16px;
  cursor: pointer;
}
.form-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--navy);
  margin-top: 1px;
  flex-shrink: 0;
}
.form-check span {
  font-size: 14px;
  color: var(--gray-dark);
  line-height: 1.7;
}
.form-submit {
  text-align: center;
}
.btn-submit {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 20px 60px;
  background: var(--navy);
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.1em;
  border-radius: 2px;
  transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
  cursor: pointer;
  border: none;
  font-family: var(--font-jp);
}
.btn-submit:hover {
  background: var(--orange);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(224,123,42,0.4);
}

/* Success overlay */
.thanks-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10,20,40,0.95);
  z-index: 5000;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 24px;
}
.thanks-overlay.show { display: flex; }
.thanks-check {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
}
.thanks-check svg {
  width: 40px;
  height: 40px;
  stroke: var(--white);
  stroke-width: 3;
  fill: none;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  animation: drawCheck 0.8s 0.3s forwards;
}
@keyframes drawCheck {
  to { stroke-dashoffset: 0; }
}
.thanks-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.06em;
}
.thanks-text {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  line-height: 1.9;
  text-align: center;
}
.thanks-close {
  padding: 12px 32px;
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--white);
  font-size: 13px;
  cursor: pointer;
  transition: background 0.3s;
  border-radius: 2px;
}
.thanks-close:hover { background: rgba(255,255,255,0.1); }

/* --- Works Detail --- */
.works-filters-bar {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.works-grid-full {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

/* --- Animations & Utilities --- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-out-expo), transform 0.7s var(--ease-out-expo);
}
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.7s var(--ease-out-expo), transform 0.7s var(--ease-out-expo);
}
.fade-in-left.visible { opacity: 1; transform: translateX(0); }
.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.7s var(--ease-out-expo), transform 0.7s var(--ease-out-expo);
}
.fade-in-right.visible { opacity: 1; transform: translateX(0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }

/* Underline decoration */
.text-accent { color: var(--orange); }
.text-navy { color: var(--navy); }

/* Line accent */
.line-deco {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.line-deco::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: var(--orange);
}

/* --- Responsive --- */
@media (max-width: 1200px) {
  .numbers-grid { grid-template-columns: repeat(2, 1fr); }
  .number-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.07); }
  .number-item:last-child { border-bottom: none; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 1024px) {
  :root { --header-h: 68px; }
  .header-nav { display: none; }
  .header-contact-btn { display: none; }
  .hamburger { display: flex; }
  .mobile-menu { display: flex; }
  .business-grid { grid-template-columns: repeat(2, 1fr); }
  .works-grid { grid-template-columns: repeat(2, 1fr); }
  .strengths-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .recruit-inner { grid-template-columns: 1fr; }
  .recruit-visual { display: none; }
  .hero-stats { display: none; }
  .greeting-grid { grid-template-columns: 1fr; }
  .business-detail-grid { grid-template-columns: 1fr; }
  .biz-detail-item { grid-template-columns: 1fr; }
  .flow-steps { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .flow-step::after { display: none; }
  .principles-grid { grid-template-columns: 1fr; }
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-cta-grid { grid-template-columns: 1fr; }
  .contact-divider { display: none; }
  .works-grid-full { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --section-pad: 60px; }
  .section-inner { padding: 0 20px; }
  .header-inner { padding: 0 20px; }
  .hero-inner { padding: 0 20px; }
  .business-grid { grid-template-columns: 1fr; }
  .works-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .flow-steps { grid-template-columns: repeat(2, 1fr); }
  .tech-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; padding: 0 20px 40px; }
  .footer-bottom { flex-direction: column; gap: 12px; padding: 24px 20px; text-align: center; }
  .works-grid-full { grid-template-columns: 1fr; }
  #floating-recruit { display: none; }
  .recruit-inner { padding: 60px 20px; }
  .footer-top { gap: 30px; }
  .hero-stats { display: none; }
  .scroll-indicator { display: none; }
  .page-hero-inner { padding: 0 20px; }
  .contact-form-wrap { padding: 0 20px; }
  .form-radio-group { flex-direction: column; }
}

@media (max-width: 480px) {
  :root { --section-pad: 48px; }
  .hero-cta-row { flex-direction: column; align-items: flex-start; }
  .recruit-btns { flex-direction: column; }
  .flow-steps { grid-template-columns: 1fr; }
}
