/* ============================================
   HACOLOGI - Rainbow Flow Design System
   White base + Rainbow streaks + Left-to-right flow
   ============================================ */

/* --- CSS Variables --- */
:root {
  --white: #ffffff;
  --black: #1a1a1a;
  --gray-light: #f8f8f8;
  --gray: #888;
  --gray-dark: #333;

  --red: #FF3366;
  --orange: #FF9900;
  --yellow: #FFD600;
  --green: #33CC33;
  --cyan: #00CED1;
  --blue: #3399FF;
  --purple: #9933FF;
  --pink: #FF66B2;

  --rainbow: linear-gradient(90deg, #FF3366, #FF9900, #FFD600, #33CC33, #00CED1, #3399FF, #9933FF, #FF66B2);
  --rainbow-45: linear-gradient(135deg, #FF3366, #FF9900, #FFD600, #33CC33, #00CED1, #3399FF, #9933FF);

  --font-ja: 'Noto Sans JP', sans-serif;
  --font-en: 'Inter', sans-serif;

  --header-h: 80px;
}

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

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

body {
  font-family: var(--font-ja);
  color: var(--black);
  background: var(--white);
  line-height: 1.8;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

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

.pc-only { display: inline; }
.sp-only { display: none; }

/* ============================================
   LOADING SCREEN
   ============================================ */
.loading-screen {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: var(--white);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loading-screen.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loading-inner {
  text-align: center;
  position: relative;
}

.loading-streaks {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 200px;
}

.loading-streaks span {
  position: absolute;
  height: 3px;
  border-radius: 3px;
  animation: loadStreak 1.5s ease-in-out infinite;
}

.loading-streaks span:nth-child(1) { width: 60px; top: 20%; left: -20%; background: var(--red); animation-delay: 0s; }
.loading-streaks span:nth-child(2) { width: 80px; top: 35%; left: -30%; background: var(--orange); animation-delay: 0.1s; }
.loading-streaks span:nth-child(3) { width: 50px; top: 50%; left: -15%; background: var(--yellow); animation-delay: 0.2s; }
.loading-streaks span:nth-child(4) { width: 70px; top: 65%; left: -25%; background: var(--green); animation-delay: 0.3s; }
.loading-streaks span:nth-child(5) { width: 55px; top: 80%; left: -20%; background: var(--blue); animation-delay: 0.4s; }
.loading-streaks span:nth-child(6) { width: 65px; top: 15%; left: -10%; background: var(--cyan); animation-delay: 0.15s; }
.loading-streaks span:nth-child(7) { width: 45px; top: 45%; left: -35%; background: var(--purple); animation-delay: 0.25s; }
.loading-streaks span:nth-child(8) { width: 75px; top: 70%; left: -30%; background: var(--pink); animation-delay: 0.35s; }
.loading-streaks span:nth-child(9) { width: 55px; top: 25%; left: -25%; background: var(--green); animation-delay: 0.05s; }
.loading-streaks span:nth-child(10) { width: 40px; top: 55%; left: -15%; background: var(--red); animation-delay: 0.45s; }

@keyframes loadStreak {
  0% { transform: translateX(0); opacity: 0; }
  20% { opacity: 1; }
  100% { transform: translateX(400px); opacity: 0; }
}

.loading-logo {
  font-family: var(--font-en);
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  background: var(--rainbow);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  z-index: 1;
}

.loading-bar {
  width: 200px;
  height: 3px;
  background: var(--gray-light);
  border-radius: 3px;
  margin: 20px auto 0;
  overflow: hidden;
}

.loading-bar-fill {
  height: 100%;
  background: var(--rainbow);
  background-size: 200% 100%;
  border-radius: 3px;
  animation: loadBar 1.8s ease-in-out forwards;
}

@keyframes loadBar {
  0% { width: 0; }
  100% { width: 100%; }
}

/* ============================================
   RAINBOW STREAKS (Global Background Decoration)
   ============================================ */
.rainbow-streaks {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.streak {
  position: absolute;
  border-radius: 100px;
  opacity: 0;
  transform: rotate(-25deg);
  animation: streakFlow linear infinite;
}

.streak.s1  { width: 180px; height: 5px; top: 8%; background: var(--red); animation-duration: 8s; animation-delay: 0s; }
.streak.s2  { width: 120px; height: 4px; top: 15%; background: var(--orange); animation-duration: 10s; animation-delay: 1s; }
.streak.s3  { width: 200px; height: 6px; top: 25%; background: var(--yellow); animation-duration: 7s; animation-delay: 2s; }
.streak.s4  { width: 90px; height: 3px; top: 33%; background: var(--green); animation-duration: 9s; animation-delay: 0.5s; }
.streak.s5  { width: 250px; height: 7px; top: 42%; background: var(--cyan); animation-duration: 11s; animation-delay: 3s; }
.streak.s6  { width: 150px; height: 4px; top: 52%; background: var(--blue); animation-duration: 8.5s; animation-delay: 1.5s; }
.streak.s7  { width: 100px; height: 5px; top: 60%; background: var(--purple); animation-duration: 7.5s; animation-delay: 4s; }
.streak.s8  { width: 220px; height: 6px; top: 70%; background: var(--pink); animation-duration: 9.5s; animation-delay: 2.5s; }
.streak.s9  { width: 80px; height: 3px; top: 78%; background: var(--red); animation-duration: 6.5s; animation-delay: 0.8s; }
.streak.s10 { width: 160px; height: 5px; top: 85%; background: var(--green); animation-duration: 10.5s; animation-delay: 3.5s; }
.streak.s11 { width: 130px; height: 4px; top: 12%; background: var(--blue); animation-duration: 12s; animation-delay: 5s; }
.streak.s12 { width: 170px; height: 5px; top: 38%; background: var(--yellow); animation-duration: 8s; animation-delay: 6s; }
.streak.s13 { width: 60px; height: 3px; top: 48%; background: var(--red); animation-duration: 6s; animation-delay: 1.2s; }
.streak.s14 { width: 200px; height: 6px; top: 55%; background: var(--orange); animation-duration: 13s; animation-delay: 7s; }
.streak.s15 { width: 110px; height: 4px; top: 65%; background: var(--cyan); animation-duration: 7s; animation-delay: 4.5s; }
.streak.s16 { width: 140px; height: 3px; top: 20%; background: var(--purple); animation-duration: 9s; animation-delay: 2s; }
.streak.s17 { width: 190px; height: 5px; top: 75%; background: var(--yellow); animation-duration: 11s; animation-delay: 8s; }
.streak.s18 { width: 70px; height: 4px; top: 90%; background: var(--blue); animation-duration: 7s; animation-delay: 0.3s; }
.streak.s19 { width: 240px; height: 7px; top: 5%; background: var(--pink); animation-duration: 14s; animation-delay: 9s; }
.streak.s20 { width: 100px; height: 3px; top: 45%; background: var(--green); animation-duration: 8s; animation-delay: 5.5s; }

@keyframes streakFlow {
  0% {
    left: -300px;
    opacity: 0;
  }
  5% {
    opacity: 0.15;
  }
  50% {
    opacity: 0.25;
  }
  95% {
    opacity: 0.15;
  }
  100% {
    left: calc(100% + 300px);
    opacity: 0;
  }
}

/* ============================================
   HEADER
   ============================================ */
.header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: var(--header-h);
  z-index: 1000;
  transition: all 0.4s ease;
}

.header.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  box-shadow: 0 2px 30px rgba(0,0,0,0.06);
}

.header-solid {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  box-shadow: 0 2px 30px rgba(0,0,0,0.06);
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 1001;
}

.logo-text {
  font-family: var(--font-ja);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  color: var(--black);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-menu a {
  font-family: var(--font-en);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--gray-dark);
  position: relative;
  padding: 5px 0;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--rainbow);
  transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.nav-active::after {
  width: 100%;
}

.nav-contact {
  background: var(--black);
  color: white !important;
  padding: 10px 24px !important;
  border-radius: 50px;
  font-weight: 700 !important;
}

.nav-contact::after {
  display: none !important;
}

.nav-contact:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 1001;
  padding: 10px;
}

.hamburger span {
  width: 28px;
  height: 2px;
  background: var(--black);
  transition: all 0.3s ease;
  border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(20px);
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--white);
  z-index: 1;
}

#heroCanvas {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-road {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 120px;
  overflow: hidden;
  z-index: 1;
}

.road-lines {
  position: absolute;
  bottom: 50px;
  left: 0;
  width: 200%;
  display: flex;
  gap: 60px;
  animation: roadFlow 2s linear infinite;
}

.road-lines span {
  flex-shrink: 0;
  width: 80px;
  height: 4px;
  background: rgba(0,0,0,0.08);
  border-radius: 4px;
}

@keyframes roadFlow {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.hero-speed-lines {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.speed-line {
  position: absolute;
  height: 3px;
  border-radius: 100px;
  animation: speedLine ease-in-out infinite;
}

.speed-line.sl1 { width: 200px; top: 15%; background: var(--red); animation-duration: 3s; animation-delay: 0s; }
.speed-line.sl2 { width: 300px; top: 25%; background: var(--orange); animation-duration: 2.5s; animation-delay: 0.5s; }
.speed-line.sl3 { width: 150px; top: 40%; background: var(--green); animation-duration: 3.5s; animation-delay: 1s; }
.speed-line.sl4 { width: 250px; top: 55%; background: var(--blue); animation-duration: 2.8s; animation-delay: 0.3s; }
.speed-line.sl5 { width: 180px; top: 70%; background: var(--purple); animation-duration: 3.2s; animation-delay: 0.8s; }
.speed-line.sl6 { width: 220px; top: 82%; background: var(--yellow); animation-duration: 2.6s; animation-delay: 1.5s; }
.speed-line.sl7 { width: 160px; top: 35%; background: var(--cyan); animation-duration: 4s; animation-delay: 2s; }
.speed-line.sl8 { width: 280px; top: 65%; background: var(--pink); animation-duration: 3s; animation-delay: 0.7s; }

@keyframes speedLine {
  0% {
    left: -300px;
    opacity: 0;
  }
  10% {
    opacity: 0.6;
  }
  90% {
    opacity: 0.6;
  }
  100% {
    left: 110%;
    opacity: 0;
  }
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 60px;
  width: 100%;
}

.hero-company-name {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  letter-spacing: 0.1em;
  color: var(--black);
  margin-bottom: 16px;
}

.hero-label {
  font-family: var(--font-en);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: var(--gray);
  margin-bottom: 30px;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 30px;
}

.title-line {
  display: block;
  background: var(--rainbow);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% 100%;
  animation: rainbowShift 4s ease infinite;
}

@keyframes rainbowShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--gray-dark);
  line-height: 2;
  margin-bottom: 40px;
  max-width: 600px;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.scroll-arrow {
  width: 24px;
  height: 24px;
  border-right: 2px solid var(--gray);
  border-bottom: 2px solid var(--gray);
  transform: rotate(45deg);
  animation: scrollBounce 2s ease infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: rotate(45deg) translate(0, 0); opacity: 0.5; }
  50% { transform: rotate(45deg) translate(5px, 5px); opacity: 1; }
}

/* ============================================
   SLIDE-IN & FLOW-IN ANIMATIONS
   ============================================ */
.slide-in {
  opacity: 0;
  transform: translateX(-60px);
  animation: slideIn 0.8s ease forwards;
  animation-delay: var(--delay, 0s);
}

@keyframes slideIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.flow-in {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.flow-in.visible {
  opacity: 1;
  transform: translateX(0);
  transition-delay: var(--delay, 0s);
}

/* ============================================
   SECTIONS (General)
   ============================================ */
.section {
  position: relative;
  padding: 120px 0;
  z-index: 1;
  background: var(--white);
}

.section-alt {
  background: var(--gray-light);
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.section-header {
  margin-bottom: 80px;
  position: relative;
}

.section-num {
  font-family: var(--font-en);
  font-size: 4rem;
  font-weight: 900;
  background: var(--rainbow);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0.12;
  position: relative;
  display: block;
  line-height: 1;
  margin-bottom: -18px;
}

.section-title {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.title-en {
  font-family: var(--font-en);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: var(--gray);
}

.title-ja {
  font-size: 2rem;
  font-weight: 700;
}

.section-line {
  width: 60px;
  height: 3px;
  background: var(--rainbow);
  margin-top: 20px;
  border-radius: 3px;
  transition: width 0.6s ease;
}

.section-line.visible {
  width: 120px;
}

/* ============================================
   ABOUT
   ============================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}

.about-image-box {
  aspect-ratio: 1;
  background: var(--gray-light);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.about-image-box::before {
  content: '';
  position: absolute;
  top: -2px; left: -2px;
  right: -2px; bottom: -2px;
  background: var(--rainbow);
  border-radius: 22px;
  z-index: -1;
  opacity: 0.5;
}

.image-placeholder svg {
  width: 60%;
  height: 60%;
}

.about-text h3 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 24px;
  line-height: 1.5;
}

.about-text p {
  color: var(--gray-dark);
  margin-bottom: 16px;
  line-height: 2;
}

.btn-outline {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  padding: 14px 36px;
  border: 2px solid var(--black);
  border-radius: 50px;
  margin-top: 20px;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background: var(--black);
  color: var(--white);
  transform: translateX(5px);
}

/* ============================================
   SERVICE
   ============================================ */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.service-card {
  background: var(--white);
  border-radius: 20px;
  padding: 50px 35px 40px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  border: 1px solid rgba(0,0,0,0.05);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 4px;
  background: var(--rainbow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  transform: translateY(-8px) translateX(5px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}

.service-card-num {
  font-family: var(--font-en);
  font-size: 3rem;
  font-weight: 900;
  background: var(--rainbow);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0.15;
  position: absolute;
  top: 15px;
  right: 20px;
}

.service-card-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 25px;
  color: var(--gray-dark);
}

.service-card-icon svg {
  width: 100%;
  height: 100%;
}

.service-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.service-card p {
  font-size: 0.95rem;
  color: var(--gray-dark);
  line-height: 1.9;
}

.card-link {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-top: 20px;
  background: var(--rainbow);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.card-link:hover {
  transform: translateX(5px);
}

/* ============================================
   BUSINESS SECTION (Top Page - Dark Style)
   ============================================ */
.biz-section {
  background: var(--white);
  color: var(--black);
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.biz-header {
  padding: 80px 40px 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.biz-title-ja {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  margin-bottom: 8px;
}

.biz-title-en {
  font-family: var(--font-en);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  background: var(--rainbow);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.biz-block {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 40px 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.biz-block:last-child {
  border-bottom: none;
}

.biz-block:nth-child(odd) .biz-photo {
  order: 1;
}

.biz-block:nth-child(odd) .biz-content {
  order: 2;
}

.biz-block:nth-child(even) .biz-photo {
  order: 2;
}

.biz-block:nth-child(even) .biz-content {
  order: 1;
}

.biz-photo-inner {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  transform: rotate(-2deg);
  transition: transform 0.5s ease;
  box-shadow: 10px 10px 40px rgba(0,0,0,0.08);
}

.biz-photo-inner::before {
  content: '';
  position: absolute;
  top: -2px; left: -2px; right: -2px; bottom: -2px;
  background: var(--rainbow);
  border-radius: 18px;
  z-index: -1;
  opacity: 0.4;
}

.biz-block:hover .biz-photo-inner {
  transform: rotate(0deg) translateX(5px);
}

.biz-photo-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--gray-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.biz-photo-placeholder svg {
  width: 50%;
  height: 50%;
}

.biz-content {
  padding-top: 10px;
}

.biz-num {
  font-family: var(--font-en);
  font-size: 4rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 16px;
  background: var(--rainbow);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0.25;
}

.biz-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 0.05em;
}

.biz-content p {
  font-size: 0.95rem;
  line-height: 2;
  color: var(--gray-dark);
  margin-bottom: 30px;
}

.biz-btn {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 18px 36px;
  background: var(--black);
  color: #fff;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  transition: all 0.4s ease;
}

.biz-btn:hover {
  transform: translateX(8px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.biz-btn-icon {
  font-size: 0.8rem;
  width: 30px;
  height: 30px;
  background: rgba(255,255,255,0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.biz-sub-link {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px dotted rgba(0,0,0,0.1);
}

.biz-sub-link a {
  font-size: 0.85rem;
  color: var(--gray);
  transition: all 0.3s ease;
}

.biz-sub-link a:hover {
  color: var(--black);
  transform: translateX(5px);
  display: inline-block;
}

@media (max-width: 768px) {
  .biz-header {
    padding: 50px 20px 24px;
  }

  .biz-title-ja {
    font-size: 1.5rem;
    letter-spacing: 0.1em;
  }

  .biz-title-en {
    font-size: 0.75rem;
  }

  .biz-block {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 24px 20px 40px;
  }

  .biz-block:nth-child(odd) .biz-photo,
  .biz-block:nth-child(even) .biz-photo {
    order: 1;
  }

  .biz-block:nth-child(odd) .biz-content,
  .biz-block:nth-child(even) .biz-content {
    order: 2;
  }

  .biz-photo-inner {
    transform: rotate(-1.5deg);
    max-width: 85%;
    margin: 0 auto;
  }

  .biz-num {
    font-size: 2.8rem;
    margin-bottom: 10px;
  }

  .biz-content h3 {
    font-size: 1.2rem;
    margin-bottom: 14px;
  }

  .biz-content p {
    font-size: 0.85rem;
    line-height: 1.9;
    margin-bottom: 22px;
  }

  .biz-btn {
    padding: 14px 28px;
    font-size: 0.9rem;
    gap: 12px;
    width: 100%;
    justify-content: center;
  }

  .biz-btn-icon {
    width: 26px;
    height: 26px;
    font-size: 0.7rem;
  }

  .biz-sub-link {
    margin-top: 18px;
    padding-top: 14px;
  }

  .biz-sub-link a {
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .biz-num {
    font-size: 2.2rem;
  }

  .biz-content h3 {
    font-size: 1.1rem;
  }
}

/* ============================================
   STRENGTH
   ============================================ */
.strength-list {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.strength-item {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  padding: 50px;
  background: var(--gray-light);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
}

.strength-item:hover {
  transform: translateX(10px);
  box-shadow: 0 10px 40px rgba(0,0,0,0.06);
}

.strength-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--rainbow-45);
}

.strength-num-big {
  font-family: var(--font-en);
  font-size: 4rem;
  font-weight: 900;
  background: var(--rainbow);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  flex-shrink: 0;
}

.strength-content h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.strength-content p {
  color: var(--gray-dark);
  line-height: 2;
}

.strength-line-deco {
  position: absolute;
  right: -50px;
  top: 50%;
  transform: translateY(-50%) rotate(-25deg);
  width: 200px;
  height: 3px;
  background: var(--rainbow);
  opacity: 0.1;
}

/* ============================================
   RECRUIT BANNER
   ============================================ */
.recruit-banner {
  position: relative;
  padding: 100px 40px;
  background: var(--black);
  overflow: hidden;
  z-index: 1;
}

.recruit-banner-streaks {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}

.recruit-banner-streaks span {
  position: absolute;
  height: 3px;
  border-radius: 100px;
  opacity: 0.3;
  transform: rotate(-15deg);
  animation: bannerStreak 5s linear infinite;
}

.recruit-banner-streaks span:nth-child(1) { width: 200px; top: 15%; background: var(--red); animation-delay: 0s; }
.recruit-banner-streaks span:nth-child(2) { width: 150px; top: 35%; background: var(--orange); animation-delay: 0.8s; }
.recruit-banner-streaks span:nth-child(3) { width: 250px; top: 55%; background: var(--green); animation-delay: 1.6s; }
.recruit-banner-streaks span:nth-child(4) { width: 180px; top: 70%; background: var(--blue); animation-delay: 2.4s; }
.recruit-banner-streaks span:nth-child(5) { width: 120px; top: 85%; background: var(--purple); animation-delay: 3.2s; }
.recruit-banner-streaks span:nth-child(6) { width: 220px; top: 25%; background: var(--yellow); animation-delay: 4s; }

@keyframes bannerStreak {
  0% { left: -300px; }
  100% { left: calc(100% + 300px); }
}

.recruit-banner-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--white);
}

.banner-label {
  font-family: var(--font-en);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: rgba(255,255,255,0.5);
  display: block;
  margin-bottom: 20px;
}

.recruit-banner-content h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.recruit-banner-content p {
  color: rgba(255,255,255,0.7);
  margin-bottom: 30px;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn-rainbow {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 16px 40px;
  background: var(--rainbow);
  background-size: 200% 100%;
  color: var(--white);
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all 0.4s ease;
  animation: btnRainbow 3s ease infinite;
}

@keyframes btnRainbow {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.btn-rainbow:hover {
  transform: translateX(8px);
  box-shadow: 0 10px 30px rgba(255,51,102,0.3);
}

.btn-large {
  font-size: 1rem;
  padding: 20px 50px;
}

/* ============================================
   QUICK CARDS (Visual Navigation)
   ============================================ */
.quick-cards {
  position: relative;
  z-index: 1;
  background: var(--white);
  padding: 60px 40px;
}

.quick-cards-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.qcard {
  position: relative;
  padding: 40px 28px 35px;
  background: var(--white);
  border-radius: 20px;
  border: 2px solid rgba(0,0,0,0.04);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.qcard-bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  overflow: hidden;
}

.qcard-streak {
  position: absolute;
  width: 120px;
  height: 3px;
  background: var(--accent, var(--red));
  border-radius: 100px;
  opacity: 0;
  transform: rotate(-25deg);
  top: 30%;
  left: -130px;
  transition: none;
  animation: none;
}

.qcard-streak-2 {
  width: 80px;
  height: 2px;
  top: 60%;
}

.qcard:hover .qcard-streak {
  animation: qcardStreakIn 0.8s ease forwards;
}

.qcard:hover .qcard-streak-2 {
  animation: qcardStreakIn 0.8s 0.15s ease forwards;
}

@keyframes qcardStreakIn {
  0% { left: -130px; opacity: 0; }
  30% { opacity: 0.25; }
  100% { left: calc(100% + 50px); opacity: 0; }
}

.qcard::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 4px;
  background: var(--accent, var(--rainbow));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}

.qcard:hover::before {
  transform: scaleX(1);
}

.qcard::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(135deg, transparent 60%, var(--accent, var(--red)));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.qcard:hover::after {
  opacity: 0.04;
}

.qcard:hover {
  transform: translateY(-8px) translateX(5px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.08);
  border-color: rgba(0,0,0,0.08);
}

.qcard-icon {
  width: 50px;
  height: 50px;
  color: var(--accent, var(--gray-dark));
  position: relative;
  z-index: 1;
  transition: transform 0.4s ease;
}

.qcard:hover .qcard-icon {
  transform: translateX(5px);
}

.qcard-icon svg {
  width: 100%;
  height: 100%;
}

.qcard-text {
  position: relative;
  z-index: 1;
  flex: 1;
}

.qcard-text h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
  transition: color 0.3s ease;
}

.qcard-text p {
  font-size: 0.8rem;
  color: var(--gray);
  line-height: 1.6;
}

.qcard-arrow {
  font-size: 1.3rem;
  color: var(--gray);
  position: relative;
  z-index: 1;
  transition: all 0.4s ease;
  align-self: flex-end;
}

.qcard:hover .qcard-arrow {
  transform: translateX(10px);
  color: var(--accent, var(--black));
}

/* ============================================
   COMPANY TABLE
   ============================================ */
.company-table-wrap {
  max-width: 900px;
}

.company-table {
  width: 100%;
  border-collapse: collapse;
}

.company-table tr {
  border-bottom: 1px solid rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.company-table tr:hover {
  transform: translateX(5px);
  background: rgba(0,0,0,0.01);
}

.company-table th {
  text-align: left;
  padding: 24px 30px;
  width: 180px;
  font-weight: 600;
  font-size: 0.95rem;
  vertical-align: top;
  color: var(--gray-dark);
  position: relative;
}

.company-table th::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 60%;
  background: var(--rainbow-45);
  border-radius: 3px;
}

.company-table td {
  padding: 24px 30px;
  color: var(--gray-dark);
  line-height: 1.8;
}

/* ============================================
   CONTACT
   ============================================ */
.contact-intro {
  text-align: center;
  margin-bottom: 40px;
}

.contact-intro p {
  color: var(--gray-dark);
  line-height: 2;
}

.contact-phone {
  text-align: center;
  margin-bottom: 60px;
}

.contact-phone a {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  font-size: 2rem;
  font-weight: 700;
  color: var(--black);
  transition: all 0.3s ease;
}

.contact-phone a:hover {
  transform: translateX(5px);
}

.phone-label {
  font-family: var(--font-en);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  background: var(--rainbow);
  color: white;
  padding: 6px 16px;
  border-radius: 50px;
}

.phone-number {
  font-family: var(--font-en);
}

.contact-phone p {
  font-size: 0.85rem;
  color: var(--gray);
  margin-top: 10px;
}

.contact-btn-wrap {
  text-align: center;
}

/* ============================================
   CONTACT FORM
   ============================================ */
.contact-form {
  max-width: 800px;
  margin: 0 auto;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--gray-dark);
}

.required {
  font-size: 0.7rem;
  background: var(--red);
  color: white;
  padding: 2px 8px;
  border-radius: 3px;
  margin-left: 8px;
  font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  font-family: var(--font-ja);
  font-size: 1rem;
  border: 2px solid rgba(0,0,0,0.08);
  border-radius: 12px;
  outline: none;
  transition: all 0.3s ease;
  background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(51,153,255,0.1);
}

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

.form-privacy {
  margin: 30px 0;
}

.form-privacy label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
}

.form-privacy input[type="checkbox"] {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 3px;
  accent-color: var(--blue);
}

.form-privacy span {
  font-size: 0.85rem;
  color: var(--gray);
  line-height: 1.7;
}

.form-submit {
  text-align: center;
  margin-top: 20px;
}

.form-submit button {
  font-family: var(--font-ja);
}

/* ============================================
   PAGE HERO (Sub pages)
   ============================================ */
.page-hero {
  position: relative;
  padding: 180px 40px 80px;
  background: var(--white);
  overflow: hidden;
  z-index: 1;
}

.page-hero-streaks {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}

.page-hero-streaks span {
  position: absolute;
  height: 4px;
  border-radius: 100px;
  transform: rotate(-20deg);
  animation: pageHeroStreak 4s linear infinite;
}

.page-hero-streaks span:nth-child(1) { width: 200px; top: 30%; background: var(--red); animation-delay: 0s; }
.page-hero-streaks span:nth-child(2) { width: 150px; top: 45%; background: var(--blue); animation-delay: 0.7s; }
.page-hero-streaks span:nth-child(3) { width: 250px; top: 60%; background: var(--green); animation-delay: 1.4s; }
.page-hero-streaks span:nth-child(4) { width: 180px; top: 75%; background: var(--orange); animation-delay: 2.1s; }
.page-hero-streaks span:nth-child(5) { width: 130px; top: 20%; background: var(--purple); animation-delay: 2.8s; }

@keyframes pageHeroStreak {
  0% { left: -300px; opacity: 0; }
  10% { opacity: 0.3; }
  90% { opacity: 0.3; }
  100% { left: calc(100% + 300px); opacity: 0; }
}

.page-hero-content {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.page-hero-en {
  font-family: var(--font-en);
  font-size: 5rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  background: var(--rainbow);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0.15;
  display: block;
  line-height: 1;
}

.page-hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-top: -10px;
}

/* ============================================
   RECRUIT PAGE
   ============================================ */
.recruit-intro {
  text-align: center;
  margin-bottom: 60px;
}

.recruit-intro h3 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 20px;
  background: var(--rainbow);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.recruit-intro p {
  color: var(--gray-dark);
  line-height: 2;
}

.recruit-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 80px;
}

.recruit-highlight {
  text-align: center;
  padding: 50px 30px;
  background: var(--gray-light);
  border-radius: 20px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.recruit-highlight::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--rainbow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.recruit-highlight:hover::after {
  transform: scaleX(1);
}

.recruit-highlight:hover {
  transform: translateY(-5px) translateX(5px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.06);
}

.rh-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  color: var(--gray-dark);
}

.rh-icon svg {
  width: 100%;
  height: 100%;
}

.recruit-highlight h4 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.recruit-highlight p {
  font-size: 0.9rem;
  color: var(--gray-dark);
  line-height: 1.8;
}

.recruit-table-wrap {
  max-width: 900px;
  margin: 0 auto;
}

.table-heading {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 30px;
  padding-left: 15px;
  border-left: 4px solid;
  border-image: var(--rainbow-45) 1;
}

.recruit-table {
  width: 100%;
  border-collapse: collapse;
}

.recruit-table tr {
  border-bottom: 1px solid rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.recruit-table tr:hover {
  transform: translateX(5px);
  background: rgba(0,0,0,0.01);
}

.recruit-table th {
  text-align: left;
  padding: 20px 24px;
  width: 160px;
  font-weight: 600;
  font-size: 0.9rem;
  vertical-align: top;
  background: var(--gray-light);
}

.recruit-table td {
  padding: 20px 24px;
  line-height: 1.8;
  color: var(--gray-dark);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--black);
  color: var(--white);
  position: relative;
  z-index: 1;
}

.footer-rainbow-line {
  width: 100%;
  height: 4px;
  background: var(--rainbow);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 40px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 60px;
}

.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.footer-brand .logo-text {
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 700;
}

.footer-brand p {
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  line-height: 1.8;
}

.footer-nav h4,
.footer-info h4 {
  font-family: var(--font-en);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.4);
  margin-bottom: 20px;
}

.footer-nav ul {
  list-style: none;
}

.footer-nav li {
  margin-bottom: 10px;
}

.footer-nav a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  transition: all 0.3s ease;
}

.footer-nav a:hover {
  color: var(--white);
  transform: translateX(5px);
  display: inline-block;
}

.footer-info p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.8;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 40px;
  text-align: center;
}

.footer-bottom p {
  font-family: var(--font-en);
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.05em;
}

/* ============================================
   MOBILE RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .quick-cards-inner {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 768px) {
  :root {
    --header-h: 60px;
  }

  .pc-only { display: none; }
  .sp-only { display: inline; }

  /* Typography scale for mobile */
  body {
    font-size: 15px;
    line-height: 1.7;
  }

  .hamburger {
    display: flex;
  }

  .nav-menu {
    display: none;
  }

  /* Header */
  .header-inner {
    padding: 0 16px;
  }

  .logo-mark {
    width: 36px;
    height: 36px;
    font-size: 1.4rem;
    border-radius: 8px;
  }

  .logo-text {
    font-size: 1rem;
  }

  /* Hero */
  .hero {
    min-height: 500px;
    height: 80vh;
  }

  .hero-content {
    padding: 0 20px;
  }

  .hero-title {
    font-size: clamp(1.6rem, 7vw, 2.4rem);
    margin-bottom: 20px;
  }

  .hero-desc {
    font-size: 0.85rem;
    line-height: 1.8;
    margin-bottom: 24px;
  }

  /* Sections */
  .section {
    padding: 60px 0;
  }

  .section-inner {
    padding: 0 20px;
  }

  .section-header {
    margin-bottom: 36px;
    padding-left: 0;
  }

  .section-num {
    font-size: 2.8rem;
    top: -14px;
    left: 0;
    position: relative;
    display: block;
    margin-bottom: -20px;
  }

  .title-ja {
    font-size: 1.3rem;
    position: relative;
    z-index: 1;
  }

  .section-line {
    margin-top: 14px;
    width: 50px;
  }

  /* About */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .about-image-box {
    max-width: 220px;
    margin: 0 auto;
  }

  .about-text h3 {
    font-size: 1.3rem;
    margin-bottom: 16px;
  }

  .about-text p {
    font-size: 0.9rem;
    line-height: 1.8;
    margin-bottom: 12px;
  }

  .btn-outline {
    font-size: 0.8rem;
    padding: 12px 28px;
  }

  /* Service Cards */
  .service-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .service-card {
    padding: 30px 22px 28px;
    border-radius: 16px;
  }

  .service-card-num {
    font-size: 2rem;
    top: 12px;
    right: 14px;
  }

  .service-card-icon {
    width: 44px;
    height: 44px;
    margin-bottom: 16px;
  }

  .service-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
  }

  .service-card p {
    font-size: 0.85rem;
    line-height: 1.7;
  }

  /* Strength */
  .strength-list {
    gap: 16px;
  }

  .strength-item {
    flex-direction: column;
    gap: 14px;
    padding: 24px 20px;
    border-radius: 16px;
  }

  .strength-num-big {
    font-size: 2rem;
  }

  .strength-content h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
  }

  .strength-content p {
    font-size: 0.85rem;
    line-height: 1.8;
  }

  /* Recruit Banner */
  .recruit-banner {
    padding: 50px 20px;
  }

  .recruit-banner-content h2 {
    font-size: 1.4rem;
    margin-bottom: 12px;
  }

  .recruit-banner-content p {
    font-size: 0.85rem;
  }

  /* Quick Cards */
  .quick-cards {
    padding: 30px 20px;
  }

  .quick-cards-inner {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .qcard {
    padding: 22px 16px 18px;
    border-radius: 14px;
    gap: 10px;
  }

  .qcard-icon {
    width: 36px;
    height: 36px;
  }

  .qcard-text h3 {
    font-size: 0.95rem;
    margin-bottom: 4px;
  }

  .qcard-text p {
    font-size: 0.72rem;
    line-height: 1.5;
  }

  .qcard-arrow {
    font-size: 1rem;
  }

  /* Company Table */
  .company-table th {
    display: block;
    width: 100%;
    padding: 14px 16px 2px;
    font-size: 0.8rem;
  }

  .company-table td {
    display: block;
    padding: 2px 16px 14px;
    font-size: 0.9rem;
  }

  .company-table th::before {
    display: none;
  }

  /* Contact */
  .contact-intro p {
    font-size: 0.85rem;
    line-height: 1.7;
  }

  .contact-phone {
    margin-bottom: 40px;
  }

  .contact-phone a {
    font-size: 1.3rem;
    flex-direction: column;
    gap: 8px;
  }

  .phone-number {
    font-size: 1.5rem;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .form-group label {
    font-size: 0.85rem;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    font-size: 0.95rem;
    padding: 12px 14px;
    border-radius: 10px;
  }

  /* Footer */
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 50px 20px;
  }

  .footer-brand .logo-mark {
    width: 32px;
    height: 32px;
    font-size: 1.2rem;
  }

  .footer-brand .logo-text {
    font-size: 1rem;
  }

  .footer-brand p {
    font-size: 0.82rem;
  }

  .footer-nav a,
  .footer-info p {
    font-size: 0.82rem;
  }

  .footer-bottom {
    padding: 18px 20px;
  }

  .footer-bottom p {
    font-size: 0.7rem;
  }

  /* Page Hero */
  .page-hero {
    padding: 110px 20px 40px;
  }

  .page-hero-en {
    font-size: 2.5rem;
  }

  .page-hero-title {
    font-size: 1.5rem;
  }

  /* Recruit Page */
  .recruit-intro h3 {
    font-size: 1.3rem;
  }

  .recruit-intro p {
    font-size: 0.85rem;
  }

  .recruit-highlights {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .recruit-highlight {
    padding: 30px 20px;
    border-radius: 14px;
  }

  .recruit-highlight h4 {
    font-size: 1.05rem;
  }

  .recruit-highlight p {
    font-size: 0.82rem;
  }

  .table-heading {
    font-size: 1.2rem;
  }

  .recruit-table th {
    display: block;
    width: 100%;
    padding: 14px 16px 2px;
    font-size: 0.8rem;
  }

  .recruit-table td {
    display: block;
    padding: 2px 16px 14px;
    font-size: 0.85rem;
  }

  /* Greeting Page */
  .greeting-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .greeting-photo {
    max-width: 200px;
    margin: 0 auto;
  }

  .greeting-headline {
    font-size: 1.4rem;
  }

  .greeting-body p {
    font-size: 0.9rem;
    line-height: 2;
    margin-bottom: 14px;
  }

  .gnc-name {
    font-size: 1.2rem;
  }

  .gs-name {
    font-size: 1.1rem;
  }

  /* Service Detail Pages */
  .service-page-intro h2,
  .strength-page-intro h2 {
    font-size: 1.3rem;
  }

  .service-page-intro p,
  .strength-page-intro p {
    font-size: 0.85rem;
  }

  .service-detail-header {
    gap: 14px;
    margin-bottom: 24px;
  }

  .sd-num {
    font-size: 2.2rem;
  }

  .sd-title h3 {
    font-size: 1.2rem;
  }

  .service-detail-body {
    grid-template-columns: 1fr;
    gap: 24px;
  }

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

  .service-detail-reverse .sd-visual { order: 0; }
  .service-detail-reverse .sd-content { order: 0; }

  .sd-image-placeholder {
    max-width: 180px;
    margin: 0 auto;
  }

  .sd-content p {
    font-size: 0.85rem;
    line-height: 1.8;
  }

  .sd-features li strong {
    font-size: 0.9rem;
  }

  .sd-features li p {
    font-size: 0.82rem;
  }

  /* Flow Steps */
  .flow-steps {
    flex-direction: column;
    gap: 0;
  }

  .flow-arrow {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    font-size: 0;
    width: 2px;
    height: 30px;
    background: var(--gray);
    margin: 0 auto;
    border-radius: 2px;
    transform: none;
  }

  .flow-step {
    padding: 22px 18px;
    border-radius: 12px;
  }

  .flow-step h4 {
    font-size: 0.95rem;
  }

  .flow-step p {
    font-size: 0.8rem;
  }

  /* Strength Detail */
  .strength-detail {
    flex-direction: column;
    gap: 14px;
  }

  .strength-detail-num {
    font-size: 3.5rem;
  }

  .strength-detail-content h3 {
    font-size: 1.3rem;
  }

  .strength-detail-lead {
    font-size: 0.9rem;
  }

  .sdp-item {
    padding: 18px 14px;
  }

  .sdp-item h4 {
    font-size: 0.9rem;
  }

  .sdp-item p {
    font-size: 0.82rem;
  }

  .principles-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .principle-card {
    padding: 28px 18px;
  }

  .principle-card h4 {
    font-size: 1rem;
  }

  .principle-card p {
    font-size: 0.8rem;
  }

  /* Numbers */
  .numbers-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .number-item {
    padding: 30px 14px;
    border-radius: 14px;
  }

  .ni-value {
    font-size: 2.2rem;
  }

  .ni-value span {
    font-size: 1rem;
  }

  .ni-label {
    font-size: 0.8rem;
  }

  /* Company Page */
  .philosophy-main h3 {
    font-size: 1.4rem;
  }

  .philosophy-main p {
    font-size: 0.85rem;
  }

  .philosophy-items {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .philosophy-item {
    padding: 28px 18px;
  }

  .pi-label {
    font-size: 1.2rem;
  }

  .philosophy-item p {
    font-size: 0.82rem;
  }

  /* History */
  .history-timeline {
    padding-left: 30px;
  }

  .timeline-item {
    flex-direction: column;
    gap: 6px;
    padding: 20px 0;
  }

  .timeline-item::before {
    left: -36px;
    width: 10px;
    height: 10px;
    top: 28px;
  }

  .tl-year {
    font-size: 0.8rem;
  }

  .tl-content h4 {
    font-size: 1rem;
  }

  .tl-content p {
    font-size: 0.82rem;
  }

  /* Access */
  .access-content {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .access-info h3 {
    font-size: 1.1rem;
  }

  /* Privacy */
  .privacy-section h3 {
    font-size: 1rem;
  }

  .privacy-section p,
  .privacy-section ul li {
    font-size: 0.85rem;
  }

  /* Mission (About Page) */
  .mission-statement h3 {
    font-size: 1.4rem;
  }

  .mission-lead {
    font-size: 0.9rem;
  }

  .mission-values {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .mission-value {
    padding: 30px 20px;
    border-radius: 14px;
  }

  .mission-value h4 {
    font-size: 1.05rem;
  }

  .mission-value p {
    font-size: 0.82rem;
  }

  /* Vision */
  .vision-main h3 {
    font-size: 1.4rem;
  }

  .vision-main p {
    font-size: 0.85rem;
  }

  .vision-point {
    flex-direction: column;
    gap: 10px;
    padding: 22px 18px;
  }

  .vp-text h4 {
    font-size: 0.95rem;
  }

  .vp-text p {
    font-size: 0.82rem;
  }

  /* CEO */
  .ceo-message {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .ceo-image-placeholder {
    max-width: 180px;
    margin: 0 auto;
  }

  .ceo-text h3 {
    font-size: 1.3rem;
  }

  .ceo-text p {
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .hero {
    min-height: 480px;
    height: 75vh;
  }

  .hero-title {
    font-size: clamp(1.4rem, 6.5vw, 2rem);
  }

  .hero-desc {
    font-size: 0.8rem;
  }

  .btn-rainbow {
    padding: 12px 28px;
    font-size: 0.78rem;
  }

  .btn-large {
    padding: 14px 32px;
    font-size: 0.85rem;
  }

  .quick-cards-inner {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .qcard {
    flex-direction: row;
    align-items: center;
    padding: 18px 16px;
    gap: 12px;
    border-radius: 12px;
  }

  .qcard-icon {
    width: 32px;
    height: 32px;
  }

  .qcard-text h3 {
    font-size: 0.9rem;
    margin-bottom: 2px;
  }

  .qcard-text p {
    display: none;
  }

  .qcard-arrow {
    align-self: center;
    font-size: 0.9rem;
  }

  .section {
    padding: 50px 0;
  }

  .section-num {
    font-size: 2.2rem;
    margin-bottom: -16px;
  }

  .title-ja {
    font-size: 1.15rem;
  }

  .section-header {
    margin-bottom: 28px;
  }

  .about-text h3 {
    font-size: 1.15rem;
  }

  .page-hero {
    padding: 100px 16px 30px;
  }

  .page-hero-title {
    font-size: 1.3rem;
  }

  .recruit-banner-content h2 {
    font-size: 1.2rem;
  }

  .strength-num-big {
    font-size: 1.6rem;
  }

  .service-card h3 {
    font-size: 1rem;
  }

  .service-card p {
    font-size: 0.8rem;
  }

  .contact-phone a {
    font-size: 1.1rem;
  }

  .phone-number {
    font-size: 1.3rem;
  }

  .footer-inner {
    padding: 40px 16px;
  }

  .greeting-headline {
    font-size: 1.2rem;
  }

  .greeting-body p {
    font-size: 0.85rem;
    line-height: 1.9;
  }
}

@media (max-width: 360px) {
  .hero-title {
    font-size: 1.3rem;
  }

  .cta-pill {
    padding: 12px 20px;
    font-size: 0.82rem;
  }

  .title-ja {
    font-size: 1.05rem;
  }

  .qcard-text h3 {
    font-size: 0.85rem;
  }
}

/* ============================================
   MOBILE MENU OVERLAY
   ============================================ */
/* ============================================
   FULLSCREEN MOBILE MENU
   ============================================ */
.mobile-fs-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  height: 100dvh;
  background: var(--white);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-fs-menu.active {
  opacity: 1;
  visibility: visible;
}

.mfs-close {
  position: absolute;
  top: 20px; right: 24px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  z-index: 10;
}

.mfs-close span {
  position: absolute;
  width: 28px;
  height: 2px;
  background: var(--black);
  top: 50%; left: 50%;
  border-radius: 2px;
}

.mfs-close span:nth-child(1) {
  transform: translate(-50%, -50%) rotate(45deg);
}

.mfs-close span:nth-child(2) {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.mfs-inner {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 30px 40px;
}

.mfs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-bottom: 40px;
}

.mfs-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 24px 16px;
  border-left: 3px dotted rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  text-decoration: none;
  color: var(--black);
}

.mfs-item:hover {
  transform: translateX(5px);
  border-left-color: var(--red);
}

.mfs-num {
  font-family: var(--font-en);
  font-size: 0.85rem;
  font-weight: 700;
  background: var(--rainbow);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.mfs-label {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.mfs-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 0 16px;
  margin-bottom: 30px;
}

.mfs-links a {
  font-size: 0.9rem;
  color: var(--gray-dark);
  text-decoration: none;
  transition: all 0.3s ease;
  padding-left: 4px;
}

.mfs-links a:hover {
  color: var(--black);
  transform: translateX(5px);
}

.mfs-bottom {
  padding: 16px 16px 0;
  border-top: 1px solid rgba(0,0,0,0.06);
}

.mfs-bottom a {
  font-family: var(--font-en);
  font-size: 0.75rem;
  color: var(--gray);
  text-decoration: none;
  letter-spacing: 0.05em;
}

.mfs-bottom a:hover {
  color: var(--black);
}

/* Hide on desktop */
@media (min-width: 769px) {
  .mobile-fs-menu {
    display: none !important;
  }
}

/* ============================================
   3 CTA PILL BUTTONS
   ============================================ */
.cta-three {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 50px 40px 30px;
  position: relative;
  z-index: 1;
  background: var(--white);
  flex-wrap: wrap;
}

.cta-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 36px;
  background: var(--black);
  color: var(--white);
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.cta-pill::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: var(--rainbow);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.cta-pill span {
  position: relative;
  z-index: 1;
}

.cta-pill:hover {
  transform: translateX(8px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.cta-pill:hover::before {
  opacity: 1;
}

@media (max-width: 768px) {
  .cta-three {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 30px 24px 20px;
  }

  .cta-pill {
    width: 100%;
    max-width: 360px;
    padding: 14px 30px;
    font-size: 0.9rem;
  }
}

/* ============================================
   GREETING PAGE
   ============================================ */
.greeting-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 70px;
  align-items: start;
}

.greeting-photo-frame {
  position: relative;
}

.greeting-photo-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  background: var(--gray-light);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--gray);
  position: relative;
  overflow: hidden;
}

.greeting-photo-placeholder::before {
  content: '';
  position: absolute;
  top: -2px; left: -2px; right: -2px; bottom: -2px;
  background: var(--rainbow);
  border-radius: 22px;
  z-index: -1;
  opacity: 0.4;
}

.greeting-photo-placeholder svg {
  width: 70px;
  height: 90px;
}

.greeting-photo-placeholder span {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
}

.greeting-name-card {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: center;
}

.gnc-title {
  font-size: 0.8rem;
  color: var(--gray);
}

.gnc-position {
  font-size: 0.85rem;
  color: var(--gray-dark);
}

.gnc-name {
  font-size: 1.4rem;
  font-weight: 700;
  margin-top: 4px;
}

.greeting-headline {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 30px;
  background: var(--rainbow);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% 100%;
  animation: rainbowShift 4s ease infinite;
}

.greeting-body p {
  color: var(--gray-dark);
  line-height: 2.2;
  margin-bottom: 20px;
}

.greeting-sign {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: right;
}

.gs-company {
  font-size: 0.85rem;
  color: var(--gray);
}

.gs-position {
  font-size: 0.85rem;
  color: var(--gray-dark);
}

.gs-name {
  font-size: 1.3rem;
  font-weight: 700;
  margin-top: 4px;
}

@media (max-width: 768px) {
  .greeting-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .greeting-photo {
    max-width: 240px;
    margin: 0 auto;
  }

  .greeting-headline {
    font-size: 1.5rem;
  }
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.mission-block {
  text-align: center;
  margin-bottom: 80px;
}

.mission-statement h3 {
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1.5;
  margin-bottom: 20px;
  background: var(--rainbow);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% 100%;
  animation: rainbowShift 4s ease infinite;
}

.mission-lead {
  font-size: 1.1rem;
  color: var(--gray-dark);
  line-height: 2;
}

.mission-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.mission-value {
  padding: 50px 30px;
  background: var(--gray-light);
  border-radius: 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
}

.mission-value::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--rainbow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.mission-value:hover::after {
  transform: scaleX(1);
}

.mission-value:hover {
  transform: translateX(5px) translateY(-5px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.06);
}

.mv-num {
  font-family: var(--font-en);
  font-size: 2.5rem;
  font-weight: 900;
  background: var(--rainbow);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0.2;
  margin-bottom: 15px;
}

.mission-value h4 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.mission-value p {
  font-size: 0.9rem;
  color: var(--gray-dark);
  line-height: 1.9;
}

/* Vision */
.vision-content {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.vision-main h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 24px;
  line-height: 1.5;
}

.vision-main p {
  color: var(--gray-dark);
  line-height: 2;
  margin-bottom: 16px;
  max-width: 800px;
}

.vision-points {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.vision-point {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 30px;
  background: var(--white);
  border-radius: 16px;
  transition: all 0.4s ease;
  border: 1px solid rgba(0,0,0,0.05);
}

.vision-point:hover {
  transform: translateX(10px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.05);
}

.vp-icon {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  color: var(--gray-dark);
}

.vp-icon svg {
  width: 100%;
  height: 100%;
}

.vp-text h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.vp-text p {
  font-size: 0.9rem;
  color: var(--gray-dark);
  line-height: 1.8;
}

/* CEO Message */
.ceo-message {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 60px;
  align-items: start;
}

.ceo-image-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  background: var(--gray-light);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--gray);
  position: relative;
  overflow: hidden;
}

.ceo-image-placeholder::before {
  content: '';
  position: absolute;
  top: -2px; left: -2px; right: -2px; bottom: -2px;
  background: var(--rainbow);
  border-radius: 22px;
  z-index: -1;
  opacity: 0.3;
}

.ceo-image-placeholder svg {
  width: 60px;
  height: 60px;
}

.ceo-image-placeholder span {
  font-family: var(--font-en);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
}

.ceo-text h3 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 24px;
  line-height: 1.5;
}

.ceo-text p {
  color: var(--gray-dark);
  line-height: 2;
  margin-bottom: 16px;
}

.ceo-sign {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.ceo-title {
  font-size: 0.85rem;
  color: var(--gray);
}

.ceo-name {
  font-size: 1.3rem;
  font-weight: 700;
}

/* ============================================
   SERVICE PAGE
   ============================================ */
.service-page-intro {
  text-align: center;
  margin-bottom: 20px;
}

.service-page-intro h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 20px;
  background: var(--rainbow);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.service-page-intro p {
  color: var(--gray-dark);
  line-height: 2;
}

.service-detail {
  max-width: 1000px;
  margin: 0 auto;
}

.service-detail-header {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 50px;
}

.sd-num {
  font-family: var(--font-en);
  font-size: 4rem;
  font-weight: 900;
  background: var(--rainbow);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}

.sd-title h3 {
  font-size: 1.6rem;
  font-weight: 700;
}

.sd-tag {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 4px 12px;
  background: var(--black);
  color: white;
  border-radius: 50px;
  margin-top: 8px;
}

.service-detail-body {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 50px;
  align-items: start;
}

.service-detail-reverse {
  grid-template-columns: 1fr 300px;
}

.service-detail-reverse .sd-visual {
  order: 2;
}

.service-detail-reverse .sd-content {
  order: 1;
}

.sd-image-placeholder {
  width: 100%;
  aspect-ratio: 1;
  background: var(--white);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(0,0,0,0.05);
  color: var(--gray);
}

.section-alt .sd-image-placeholder {
  background: var(--gray-light);
}

.sd-image-placeholder svg {
  width: 60%;
  height: 60%;
}

.sd-content p {
  color: var(--gray-dark);
  line-height: 2;
  margin-bottom: 24px;
}

.sd-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sd-features li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.sdf-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background: var(--black);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  margin-top: 2px;
}

.sd-features li strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.sd-features li p {
  font-size: 0.9rem;
  margin-bottom: 0;
  line-height: 1.7;
}

/* Flow Steps */
.flow-steps {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.flow-step {
  flex: 1;
  padding: 30px;
  background: var(--gray-light);
  border-radius: 16px;
  text-align: center;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.flow-step::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--black);
}

.flow-step:hover {
  transform: translateY(-5px) translateX(5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.fs-num {
  font-family: var(--font-en);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gray);
  margin-bottom: 12px;
}

.flow-step h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.flow-step p {
  font-size: 0.85rem;
  color: var(--gray-dark);
  line-height: 1.7;
}

.flow-arrow {
  font-size: 1.5rem;
  color: var(--gray);
  flex-shrink: 0;
  padding-top: 50px;
}

/* ============================================
   STRENGTH PAGE
   ============================================ */
.strength-page-intro {
  text-align: center;
  margin-bottom: 20px;
}

.strength-page-intro h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 16px;
  background: var(--rainbow);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.strength-page-intro p {
  color: var(--gray-dark);
  line-height: 2;
}

.strength-detail {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  max-width: 900px;
}

.strength-detail-num {
  font-family: var(--font-en);
  font-size: 6rem;
  font-weight: 900;
  background: var(--rainbow);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  flex-shrink: 0;
  opacity: 0.3;
}

.strength-detail-content h3 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.strength-detail-lead {
  font-size: 1.05rem;
  color: var(--gray-dark);
  line-height: 2;
  margin-bottom: 30px;
}

.strength-detail-points {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sdp-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 24px;
  background: var(--white);
  border-radius: 14px;
  transition: all 0.3s ease;
  border: 1px solid rgba(0,0,0,0.04);
}

.section-alt .sdp-item {
  background: var(--gray-light);
}

.sdp-item:hover {
  transform: translateX(8px);
  box-shadow: 0 5px 20px rgba(0,0,0,0.04);
}

.sdp-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  color: var(--gray-dark);
}

.sdp-icon svg {
  width: 100%;
  height: 100%;
}

.sdp-item h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.sdp-item p {
  font-size: 0.9rem;
  color: var(--gray-dark);
  line-height: 1.8;
}

/* Principles */
.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.principle-card {
  padding: 40px 24px;
  background: var(--white);
  border-radius: 16px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  border: 1px solid rgba(0,0,0,0.04);
}

.section-alt .principle-card {
  background: var(--gray-light);
}

.principle-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--rainbow);
}

.principle-card:hover {
  transform: translateY(-5px) translateX(5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.pc-num {
  font-family: var(--font-en);
  font-size: 2rem;
  font-weight: 900;
  background: var(--rainbow);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 12px;
}

.principle-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.5;
}

.principle-card p {
  font-size: 0.85rem;
  color: var(--gray-dark);
  line-height: 1.8;
}

/* Numbers */
.numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.number-item {
  text-align: center;
  padding: 50px 20px;
  background: var(--gray-light);
  border-radius: 20px;
  transition: all 0.4s ease;
}

.number-item:hover {
  transform: translateY(-5px) translateX(5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.ni-value {
  font-family: var(--font-en);
  font-size: 3.5rem;
  font-weight: 900;
  background: var(--rainbow);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 12px;
}

.ni-value span {
  font-size: 1.2rem;
}

.ni-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-dark);
}

/* ============================================
   COMPANY PAGE
   ============================================ */
.philosophy-content {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.philosophy-main h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.5;
  background: var(--rainbow);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.philosophy-main p {
  color: var(--gray-dark);
  line-height: 2;
}

.philosophy-items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.philosophy-item {
  padding: 40px 24px;
  background: var(--white);
  border-radius: 16px;
  text-align: center;
  transition: all 0.4s ease;
  border: 1px solid rgba(0,0,0,0.04);
}

.philosophy-item:hover {
  transform: translateX(8px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.05);
}

.pi-label {
  font-size: 1.4rem;
  font-weight: 900;
  background: var(--rainbow);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 12px;
}

.philosophy-item p {
  font-size: 0.9rem;
  color: var(--gray-dark);
  line-height: 1.8;
}

/* History Timeline */
.history-timeline {
  max-width: 800px;
  position: relative;
  padding-left: 40px;
}

.history-timeline::before {
  content: '';
  position: absolute;
  left: 0; top: 0;
  width: 3px;
  height: 100%;
  background: var(--rainbow-45);
  border-radius: 3px;
}

.timeline-item {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  padding: 30px 0;
  position: relative;
  transition: all 0.3s ease;
}

.timeline-item:hover {
  transform: translateX(8px);
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -46px;
  top: 38px;
  width: 12px;
  height: 12px;
  background: var(--rainbow);
  border-radius: 50%;
}

.tl-year {
  font-family: var(--font-en);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--gray);
  white-space: nowrap;
  min-width: 80px;
  padding-top: 3px;
}

.tl-content h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.tl-content p {
  font-size: 0.9rem;
  color: var(--gray-dark);
  line-height: 1.8;
}

/* Access */
.access-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 50px;
  align-items: start;
}

.map-placeholder {
  width: 100%;
  aspect-ratio: 5/3;
  background: var(--white);
  border-radius: 16px;
  border: 2px solid rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--gray);
}

.map-placeholder svg {
  width: 80px;
  height: 50px;
}

.map-placeholder p {
  font-size: 0.8rem;
}

.access-info h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.access-table {
  width: 100%;
  border-collapse: collapse;
}

.access-table tr {
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.access-table th {
  text-align: left;
  padding: 14px 0;
  width: 80px;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--gray-dark);
  vertical-align: top;
}

.access-table td {
  padding: 14px 0;
  font-size: 0.9rem;
  color: var(--gray-dark);
  line-height: 1.7;
}

/* ============================================
   PRIVACY PAGE
   ============================================ */
.privacy-content {
  max-width: 800px;
  margin: 0 auto;
}

.privacy-intro {
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.privacy-intro p {
  color: var(--gray-dark);
  line-height: 2;
}

.privacy-section {
  margin-bottom: 36px;
}

.privacy-section h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
  padding-left: 14px;
  border-left: 3px solid;
  border-image: var(--rainbow-45) 1;
}

.privacy-section p {
  color: var(--gray-dark);
  line-height: 2;
  margin-bottom: 12px;
}

.privacy-section ul {
  list-style: none;
  padding: 0;
  margin: 8px 0;
}

.privacy-section ul li {
  padding: 6px 0 6px 20px;
  color: var(--gray-dark);
  position: relative;
  line-height: 1.7;
}

.privacy-section ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 8px;
  height: 8px;
  background: var(--rainbow);
  border-radius: 50%;
}

.privacy-contact {
  padding: 24px;
  background: var(--gray-light);
  border-radius: 12px;
  margin-top: 12px;
}

.privacy-contact p {
  margin-bottom: 0;
  line-height: 1.9;
}

.privacy-date {
  margin-top: 50px;
  padding-top: 24px;
  border-top: 1px solid rgba(0,0,0,0.08);
}

.privacy-date p {
  font-size: 0.85rem;
  color: var(--gray);
  line-height: 1.8;
}

/* ============================================
   NEW PAGE RESPONSIVE (768px)
   ============================================ */
@media (max-width: 768px) {
  .mission-statement h3 {
    font-size: 1.6rem;
  }

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

  .ceo-message {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .ceo-image-placeholder {
    max-width: 200px;
    margin: 0 auto;
  }

  .ceo-text h3 {
    font-size: 1.4rem;
  }

  .vision-point {
    flex-direction: column;
    gap: 12px;
  }

  .service-detail-body {
    grid-template-columns: 1fr;
    gap: 30px;
  }

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

  .service-detail-reverse .sd-visual {
    order: 0;
  }

  .service-detail-reverse .sd-content {
    order: 0;
  }

  .sd-image-placeholder {
    max-width: 200px;
    margin: 0 auto;
  }

  .flow-steps {
    flex-direction: column;
    gap: 16px;
  }

  .flow-arrow {
    padding-top: 0;
    text-align: center;
    transform: rotate(90deg);
  }

  .strength-detail {
    flex-direction: column;
    gap: 20px;
  }

  .strength-detail-num {
    font-size: 4rem;
  }

  .strength-detail-content h3 {
    font-size: 1.4rem;
  }

  .principles-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .numbers-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .ni-value {
    font-size: 2.5rem;
  }

  .philosophy-items {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .access-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .service-page-intro h2,
  .strength-page-intro h2 {
    font-size: 1.5rem;
  }

  .sd-num {
    font-size: 2.5rem;
  }

  .service-detail-header {
    gap: 16px;
    margin-bottom: 30px;
  }

  .sd-title h3 {
    font-size: 1.3rem;
  }

  .philosophy-main h3 {
    font-size: 1.5rem;
  }
}
