/**
 * i-SHOT Corporate Site Stylesheet
 * Design Guidelines: See DESIGN_GUIDELINES.md
 */

/* ============================================
   CSS Variables
   ============================================ */
:root {
  /* Colors */
  --white: #FFFFFF;
  --gray-light: #EEEEEE;
  --red-primary: #CC0000;
  --red-dark: #960000;
  --blue-accent: #1DA1F2;
  --text-primary: #111111;
  --text-secondary: #444444;
  --text-light: #777777;

  /* Typography */
  --font-ja: 'Shippori Mincho', serif;
  --font-en: 'Cormorant Garamond', serif;

  /* Spacing */
  --container-max: 1200px;
  --section-padding: clamp(100px, 15vw, 200px);
  --section-padding-compact: clamp(60px, 10vw, 120px);
}

/* ============================================
   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);
  background: var(--white);
  color: var(--text-primary);
  line-height: 1.9;
  overflow-x: hidden;
  width: 100%;
}

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

/* ============================================
   Layout
   ============================================ */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(8px, 4vw, 80px);
}

.section {
  padding: var(--section-padding) 0;
}

.section-compact {
  padding: var(--section-padding-compact) 0;
}

/* ============================================
   Animations
   ============================================ */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

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

@keyframes breathe {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

.animate-on-scroll {
  opacity: 0;
}

.animate-on-scroll.visible {
  animation: fadeInUp 0.8s ease forwards;
}

/* ============================================
   Header
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: all 0.4s;
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  padding: 14px 0;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
}

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

.logo {
  font-family: var(--font-en);
  font-size: 1.375rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--text-primary);
  text-decoration: none;
}

.logo:hover {
  color: var(--red-primary);
}

.nav {
  display: flex;
  gap: 36px;
}

.nav a {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  letter-spacing: 0.08em;
  transition: color 0.3s;
  position: relative;
}

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

.nav a:hover {
  color: var(--red-primary);
}

.nav a:hover::after {
  width: 100%;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 30px;
  height: 30px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1002;
}

.hamburger-line {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-primary);
  transition: all 0.3s ease;
}

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

.hamburger.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

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

/* Nav Overlay */
.nav-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 998;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.nav-overlay.active {
  display: block;
  opacity: 1;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
  height: 100vh;
  height: 100svh;
  display: flex;
  align-items: center;
  position: relative;
  background: var(--white);
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: fadeIn 0.8s 0.5s forwards;
}

.scroll-indicator-text {
  font-family: var(--font-en);
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  color: var(--text-secondary);
  text-transform: uppercase;
}

.scroll-indicator-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--text-secondary), transparent);
  position: relative;
  overflow: hidden;
}

.scroll-indicator-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, var(--red-primary), transparent);
  animation: scrollLine 1.5s ease-in-out infinite;
}

@keyframes scrollLine {
  0% {
    top: -100%;
  }
  50% {
    top: 0;
  }
  100% {
    top: 100%;
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 140px 0 100px;
}

.hero-label {
  font-family: var(--font-en);
  font-size: 0.875rem;
  letter-spacing: 0.3em;
  color: var(--red-primary);
  margin-bottom: 3rem;
  opacity: 0;
  animation: fadeIn 1s 0.3s forwards;
}

.hero-title .line {
  display: block;
  overflow: hidden;
}

.hero-title .line-inner {
  display: block;
  opacity: 0;
  transform: translateY(100%);
}

.hero-title .line:nth-child(1) .line-inner {
  animation: slideUp 1s 0.5s forwards;
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 800;
}

.hero-title .line:nth-child(2) .line-inner {
  animation: slideUp 1s 0.7s forwards;
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 800;
}

.hero-title .line:nth-child(3) .line-inner {
  animation: slideUp 1s 0.9s forwards;
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 600;
  color: var(--text-secondary);
  margin-top: 1rem;
}

.hero-title .accent {
  color: var(--red-primary);
}

/* Hero Static - No animation (high specificity to override) */
.hero-static.hero-title .line .line-inner.visible,
.hero-static .line-inner.visible {
  opacity: 1;
  transform: translateY(0);
  animation: none !important;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  opacity: 0;
  animation: fadeIn 1s 1.5s forwards;
}

.hero-scroll span {
  font-family: var(--font-en);
  font-size: 0.6875rem;
  letter-spacing: 0.25em;
  color: var(--text-light);
}

.hero-scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--red-primary), transparent);
  animation: breathe 2s infinite;
}

/* ============================================
   Intro Section
   ============================================ */
.intro {
  background: var(--white);
  position: relative;
}

.intro::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 120px;
  background: linear-gradient(to bottom, var(--gray-light), transparent);
}

.intro-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.intro-sub {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  font-weight: 600;
  color: var(--text-secondary);
}

.intro-main {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--red-primary);
  margin-top: 1rem;
}

.intro-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2rem;
  padding: 0.875rem 2rem;
  background: var(--red-primary);
  color: var(--white);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 2rem;
  transition: all 0.3s ease;
}

.intro-link:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
}

.intro-link svg {
  width: 1rem;
  height: 1rem;
  transition: transform 0.3s ease;
}

.intro-link:hover svg {
  transform: translateX(4px);
}

.intro-headline {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  line-height: 2;
  margin-bottom: 3rem;
}

.intro-headline .highlight {
  color: var(--red-primary);
}

.intro-questions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 3rem 0;
}

.intro-question {
  font-size: clamp(1rem, 1.8vw, 1.125rem);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  padding: 1.25rem 1.75rem;
  background: rgba(255, 255, 255, 0.08);
  border-left: 4px solid var(--red-primary);
  text-align: left;
}

.intro-dots {
  font-size: 1.5rem;
  letter-spacing: 0.8em;
  color: var(--text-light);
  margin: 2rem 0;
}

.intro-small {
  font-size: 0.9375rem;
  color: var(--text-light);
}

.intro-reveal {
  margin-top: 4rem;
  padding-top: 4rem;
  border-top: 1px solid #D0D0D0;
}

.intro-reveal-small {
  display: block;
  font-size: 1rem;
  color: var(--text-light);
  margin-bottom: 1rem;
}

.intro-reveal-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--red-primary);
}

/* ============================================
   Confrontation Section
   ============================================ */
.confrontation {
  background: var(--text-primary);
  color: var(--white);
}

.confrontation-content {
  max-width: 900px;
  margin: 0 auto 5rem;
  text-align: center;
}

.confrontation-headline {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.confrontation-sub {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 600;
  color: var(--white);
}

/* ============================================
   Suspense Section
   ============================================ */
.suspense {
  background: var(--gray-light);
  padding: clamp(60px, 12vw, 120px) 0;
}

.suspense-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.suspense-line {
  width: 1px;
  height: 80px;
  background: linear-gradient(to bottom, transparent, var(--text-light), transparent);
  margin: 0 auto 3rem;
  opacity: 0.4;
}

.suspense-text {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--text-secondary);
  letter-spacing: 0.1em;
}

/* ============================================
   Reveal Section (Full Screen Impact)
   ============================================ */
.section-fullscreen {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.reveal {
  background: linear-gradient(135deg, var(--text-primary) 0%, #2a2a2a 100%);
}

.reveal-content {
  text-align: center;
  padding: 2rem;
}

.reveal-title {
  font-size: clamp(1.75rem, 10vw, 7rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

/* ============================================
   Order Section
   ============================================ */
.order {
  background: var(--gray-light);
}

.order-content {
  max-width: 900px;
  margin: 0 auto;
}

.order-title {
  text-align: center;
  margin-bottom: 0;
}

.order-title h2 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
}

.order-subtitle {
  text-align: center;
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  margin-top: 1rem;
  margin-bottom: 3rem;
}

.order-items {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.order-item {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 2rem 2.5rem;
  background: var(--white);
}

.order-number {
  font-family: var(--font-en);
  font-size: clamp(3rem, 6vw, 4rem);
  font-weight: 300;
  color: var(--red-primary);
  line-height: 1;
}

.order-text {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  font-weight: 600;
}

.order-note {
  text-align: center;
  margin-top: 3rem;
  font-size: clamp(1rem, 1.8vw, 1.125rem);
  color: var(--text-secondary);
}

.order-note strong {
  font-weight: 700;
  color: var(--red-dark);
}

/* ============================================
   Transform Section
   ============================================ */
.transform {
  background: linear-gradient(180deg, var(--white) 0%, var(--gray-light) 100%);
  padding: clamp(80px, 15vw, 160px) 0;
}

.transform-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.transform-lead {
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.transform-headline {
  font-size: clamp(1.75rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.6;
  color: var(--text-primary);
}

.transform-accent {
  color: var(--red-primary);
  font-weight: 800;
}

@media (max-width: 768px) {
  .transform {
    padding: clamp(60px, 12vw, 100px) 0;
  }

  .transform-headline {
    line-height: 1.8;
  }
}

/* ============================================
   Future Section
   ============================================ */
.future {
  background: var(--white);
}

.future-header {
  text-align: center;
  margin-bottom: 5rem;
}

.future-header h2 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
}

.future-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: 1.5rem;
}

.future-card {
  padding: 2.5rem 2rem;
  background: var(--white);
  border: 1px solid var(--gray-light);
  transition: all 0.4s;
}

.future-card:hover {
  border-color: var(--red-primary);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.future-card-number {
  font-family: var(--font-en);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--red-primary);
  margin-bottom: 1.25rem;
}

.future-card-before {
  font-size: clamp(0.9375rem, 1.5vw, 1rem);
  color: var(--text-secondary);
  line-height: 1.9;
  margin-bottom: 1.5rem;
}

.future-card-divider {
  width: 50px;
  height: 2px;
  background: var(--red-primary);
  margin: 1.5rem 0;
}

.future-card-after {
  font-size: clamp(1.125rem, 2vw, 1.25rem);
  font-weight: 700;
  color: var(--red-dark);
  line-height: 1.6;
}

.future-conclusion {
  text-align: center;
  margin-top: 5rem;
  padding-top: 4rem;
  border-top: 1px solid var(--gray-light);
}

.future-conclusion-label {
  font-size: 0.875rem;
  letter-spacing: 0.2em;
  color: var(--text-light);
  margin-bottom: 1rem;
}

.future-conclusion-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--red-primary);
}

.future-conclusion-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2rem;
  padding: 0.875rem 2rem;
  background: var(--red-primary);
  color: var(--white);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 2rem;
  transition: all 0.3s ease;
}

.future-conclusion-link:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
}

.future-conclusion-link svg {
  width: 1rem;
  height: 1rem;
  transition: transform 0.3s ease;
}

.future-conclusion-link:hover svg {
  transform: translateX(4px);
}

/* ============================================
   Mission Section
   ============================================ */
.mission {
  background: var(--text-primary);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.mission::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(17, 17, 17, 0.85), rgba(17, 17, 17, 0.9)),
    url('/assets/images/mtgroom.webp');
  background-size: cover;
  background-position: center;
}

.mission::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 0% 0%, rgba(204, 0, 0, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 100% 100%, rgba(150, 0, 0, 0.08) 0%, transparent 40%);
}

.mission-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.mission-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.mission-text {
  font-size: clamp(1rem, 1.8vw, 1.125rem);
  color: rgba(255, 255, 255, 0.8);
  line-height: 2;
}

.mission-bx-link,
.mission-bx-link.bx-card {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2.5rem;
  padding: 1rem 2rem;
  background: var(--red-primary);
  border: none;
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(204, 0, 0, 0.3);
}

.mission-bx-link:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(204, 0, 0, 0.4);
}

.mission-bx-link svg {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

.mission-bx-link:hover svg {
  transform: translateX(4px);
}

/* ============================================
   Hermes Section
   ============================================ */
.hermes {
  background: var(--white);
}

.hermes-content {
  max-width: 900px;
  margin: 0 auto;
}

.hermes-header {
  text-align: center;
  margin-bottom: 4rem;
}

.hermes-title {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 700;
  line-height: 1.6;
}

.hermes-paragraph {
  font-size: clamp(1rem, 1.6vw, 1.0625rem);
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 2.2;
}

.hermes-highlight {
  padding: 3rem;
  background: var(--gray-light);
  margin: 3rem 0;
  border-left: 5px solid var(--red-primary);
}

.hermes-highlight-title {
  font-size: clamp(1.375rem, 3vw, 1.75rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.hermes-highlight p {
  font-size: clamp(1rem, 1.6vw, 1.0625rem);
  color: var(--text-secondary);
  line-height: 2;
}

.hermes-quote {
  padding: 3rem 3.5rem;
  background: var(--text-primary);
  color: var(--white);
  margin: 3rem 0;
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  font-weight: 500;
  font-style: italic;
  text-align: center;
  line-height: 1.9;
  position: relative;
}

.hermes-quote::before,
.hermes-quote::after {
  content: '"';
  font-family: var(--font-en);
  font-size: 5rem;
  color: var(--red-primary);
  position: absolute;
  line-height: 1;
  font-style: normal;
}

.hermes-quote::before {
  top: 0.25rem;
  left: 1rem;
}

.hermes-quote::after {
  bottom: -1.5rem;
  right: 1rem;
}

.hermes-message {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 700;
  text-align: center;
  margin-top: 4rem;
  padding: 2.5rem;
  border: 2px solid var(--text-primary);
  line-height: 1.8;
}

/* Hermes Story Style - Different mood for storytelling */
.hermes-story-style {
  background: linear-gradient(180deg, #f8f6f3 0%, #efe9e1 100%);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.hermes-story-style .hermes-content {
  max-width: 800px;
}

.hermes-story-style .hermes-label {
  display: block;
  font-family: var(--font-en);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: var(--red-primary);
  margin-bottom: 1.5rem;
}

.hermes-story-style .hermes-title {
  font-family: var(--font-ja);
  font-size: clamp(1.375rem, 3vw, 2rem);
  color: #4a4a4a;
}

.hermes-story-style .hermes-paragraph {
  color: #5a5a5a;
  font-size: clamp(0.9375rem, 1.5vw, 1rem);
}

.hermes-story-style .hermes-highlight {
  background: rgba(255, 255, 255, 0.7);
  border-left: 3px solid #b8860b;
  padding: 2rem 2.5rem;
}

.hermes-story-style .hermes-highlight-title {
  color: #3a3a3a;
  font-size: clamp(1.125rem, 2vw, 1.375rem);
}

.hermes-story-style .hermes-quote {
  background: transparent;
  border-left: 3px solid #b8860b;
  color: #6a6a6a;
  font-style: italic;
  padding: 1.5rem 2rem;
}

.hermes-story-style .hermes-message {
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: #4a4a4a;
}

/* Intro BX Grid */
.intro-bx-grid {
  margin-top: 4rem;
}

/* ============================================
   Pitfall Section
   ============================================ */
.pitfall {
  background: var(--gray-light);
}

.pitfall-content {
  max-width: 800px;
  margin: 0 auto;
}

.pitfall-header {
  text-align: center;
  margin-bottom: 3rem;
}

.pitfall-title {
  font-size: clamp(1.375rem, 3vw, 1.75rem);
  font-weight: 700;
  color: var(--red-dark);
  line-height: 1.6;
}

.pitfall-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pitfall-item {
  padding: 1.25rem 1.75rem 1.25rem 3rem;
  background: var(--white);
  font-size: clamp(0.9375rem, 1.5vw, 1rem);
  color: var(--text-secondary);
  position: relative;
}

.pitfall-item::before {
  content: '—';
  position: absolute;
  left: 1.25rem;
  color: var(--red-primary);
  font-weight: 700;
}

.pitfall-note {
  text-align: center;
  margin-top: 2rem;
  font-size: 1rem;
  color: var(--text-secondary);
}

.pitfall-conclusion {
  margin-top: 4rem;
  padding: 3rem;
  background: var(--white);
  text-align: center;
  border: 2px solid var(--red-primary);
}

.pitfall-conclusion p {
  font-size: clamp(1rem, 1.8vw, 1.125rem);
  line-height: 2.2;
}

.pitfall-conclusion strong {
  font-weight: 700;
  color: var(--red-dark);
}

/* ============================================
   Steps Section
   ============================================ */
.steps {
  background: var(--white);
}

.steps-header {
  text-align: center;
  margin-bottom: 5rem;
}

.steps-header h2 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 50px;
  left: calc(16.67% + 1rem);
  right: calc(16.67% + 1rem);
  height: 1px;
  background: var(--gray-light);
}

.step-card {
  text-align: center;
  position: relative;
}

.step-number {
  font-family: var(--font-en);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--white);
  background: var(--red-primary);
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  position: relative;
  z-index: 2;
}

.step-title {
  font-size: clamp(1.5rem, 2.5vw, 1.875rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.step-text {
  font-size: clamp(0.9375rem, 1.5vw, 1rem);
  color: var(--text-secondary);
  line-height: 1.9;
}

/* ============================================
   CTA Section
   ============================================ */
.cta {
  background: linear-gradient(135deg, var(--text-primary) 0%, #2a2a2a 100%);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(17, 17, 17, 0.92) 0%, rgba(42, 42, 42, 0.95) 100%),
    url('/assets/images/SSS-42F--scaled.webp');
  background-size: cover;
  background-position: center;
}

.cta::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(204, 0, 0, 0.1) 0%, transparent 60%);
}

.cta-content {
  position: relative;
  z-index: 3;
  max-width: 800px;
  margin: 0 auto;
}

.cta-title {
  font-size: clamp(1.25rem, 2.5vw, 1.625rem);
  font-weight: 600;
  margin-bottom: 3rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.8;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 1.375rem 3.5rem;
  background: var(--blue-accent);
  color: var(--white);
  font-family: var(--font-ja);
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: all 0.4s;
  position: relative;
  overflow: hidden;
}

.cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transition: left 0.5s;
}

.cta-button:hover::before {
  left: 100%;
}

.cta-button:hover {
  background: #1a8cd8;
  transform: translateY(-3px);
  box-shadow: 0 15px 50px rgba(29, 161, 242, 0.35);
}

.cta-button svg {
  width: 22px;
  height: 22px;
  transition: transform 0.3s;
}

.cta-button:hover svg {
  transform: translateX(5px);
}

/* ============================================
   Company Section
   ============================================ */
.company {
  background: var(--gray-light);
}

.company-header {
  text-align: center;
  margin-bottom: 4rem;
}

.company-title {
  font-family: var(--font-ja);
  font-size: clamp(1.25rem, 2.5vw, 1.625rem);
  font-weight: 700;
  letter-spacing: 0.1em;
}

.company-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.company-info h3,
.company-history h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--text-primary);
}

.company-table {
  width: 100%;
}

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

.company-table th {
  font-weight: 500;
  color: var(--text-light);
  text-align: left;
  padding: 1rem 0;
  width: 100px;
  font-size: 0.8125rem;
  vertical-align: top;
}

.company-table td {
  padding: 1rem 0;
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

.history-list {
  position: relative;
  padding-left: 24px;
}

.history-list::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: var(--red-primary);
}

.history-item {
  display: flex;
  gap: 1.5rem;
  padding: 0.6rem 0;
  position: relative;
}

.history-item::before {
  content: '';
  position: absolute;
  left: -27px;
  top: 0.95rem;
  width: 8px;
  height: 8px;
  background: var(--white);
  border: 2px solid var(--red-primary);
  border-radius: 50%;
}

.history-date {
  font-family: var(--font-en);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-light);
  flex-shrink: 0;
  width: 65px;
}

.history-text {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.company-more {
  text-align: center;
  margin-top: 4rem;
}

.company-detail-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-primary);
  text-decoration: none;
  padding: 1rem 2rem;
  border: 1px solid var(--text-primary);
  transition: all 0.3s;
}

.company-detail-link:hover {
  color: var(--red-primary);
  border-color: var(--red-primary);
}

.company-detail-link svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s;
}

.company-detail-link:hover svg {
  transform: translateX(5px);
}

/* ============================================
   Profile Section
   ============================================ */
.profile {
  background: var(--white);
}

.profile-content {
  max-width: 800px;
  margin: 0 auto;
}

.profile-header {
  text-align: center;
  margin-bottom: 4rem;
}

.profile-title {
  font-family: var(--font-ja);
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  font-weight: 700;
  letter-spacing: 0.1em;
}

.profile-card {
  text-align: center;
}

.profile-name {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.profile-name-en {
  font-family: var(--font-en);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.profile-position {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  margin-bottom: 3rem;
}

.profile-image {
  width: 180px;
  height: 180px;
  margin: 0 auto 2rem;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--gray-light);
}

.profile-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-bio {
  text-align: left;
  font-size: clamp(0.9375rem, 1.5vw, 1rem);
  color: var(--text-secondary);
  line-height: 2.2;
  margin-bottom: 2rem;
}

.profile-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-primary);
  text-decoration: none;
  padding: 0.75rem 0;
  transition: all 0.3s;
}

.profile-link:hover {
  color: var(--red-primary);
}

.profile-link svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s;
}

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

/* ============================================
   Breadcrumb
   ============================================ */
.breadcrumb {
  padding: 1rem 0;
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  font-size: 0.8125rem;
  color: var(--text-light);
}

.breadcrumb-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.breadcrumb-item a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s;
}

.breadcrumb-item a:hover {
  color: var(--red-primary);
}

.breadcrumb-separator {
  color: var(--text-light);
  font-size: 0.75rem;
}

.breadcrumb-current {
  color: var(--text-primary);
}

/* Breadcrumb for article (top position) */
.breadcrumb-article {
  background: var(--gray-light);
  padding: 0.75rem 0;
  padding-top: calc(80px + 0.75rem);
}

/* Breadcrumb for page (bottom position) */
.breadcrumb-page {
  border-top: 1px solid var(--gray-light);
  margin-top: 0;
  padding: 1.5rem 0;
}

/* ============================================
   Footer
   ============================================ */
.footer {
  background: var(--text-primary);
  color: var(--white);
  padding: 50px 0 35px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-logo {
  font-family: var(--font-en);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 0.2em;
}

.footer-nav {
  display: flex;
  gap: 2rem;
}

.footer-nav a {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.3s;
}

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

.footer-copyright {
  font-size: 0.6875rem;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.1em;
}

@media (max-width: 768px) {
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-nav {
    order: 2;
    margin-top: 1rem;
  }

  .footer-copyright {
    order: 3;
  }
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .steps-grid::before {
    display: none;
  }

  .company-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  /* Mobile Header - not fixed */
  .header {
    position: relative;
    padding: 16px 0;
    height: 60px;
    box-sizing: border-box;
  }

  .header.scrolled {
    padding: 16px 0;
    height: 60px;
  }

  /* Mobile Breadcrumb - no extra padding needed */
  .breadcrumb-article {
    padding-top: 0.75rem;
  }

  /* Mobile Navigation */
  .hamburger {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    padding: 100px 40px 40px;
    gap: 0;
    z-index: 1001;
    transition: right 0.3s ease;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
  }

  .nav.active {
    right: 0;
  }

  .nav a {
    font-size: 1rem;
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--gray-light);
  }

  .nav a::after {
    display: none;
  }

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

  .order-item {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  /* Prevent horizontal overflow */
  html, body {
    overflow-x: hidden;
  }

  .container {
    padding: 0 8px;
  }

  /* Hero adjustments - header(60px) + hero = 1 screen */
  .hero {
    height: calc(100vh - 60px);
    height: calc(100dvh - 60px);
    min-height: auto;
  }

  .hero-content {
    padding: 20px 0 40px;
    /* ヘッダー分を考慮して視覚的に中央に見えるよう上に移動 */
    transform: translateY(-30px);
  }

  .scroll-indicator {
    bottom: 24px;
  }

  .scroll-indicator-text {
    font-size: 0.5rem;
  }

  .scroll-indicator-line {
    height: 24px;
  }

  /* Profile image adjustments */
  .profile-image {
    width: 150px;
    height: 150px;
  }

  /* Footer mobile */
  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }

  .footer-nav {
    flex-direction: column;
    gap: 1rem;
  }
}

/* ============================================
   Scrollbar
   ============================================ */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--gray-light);
}

::-webkit-scrollbar-thumb {
  background: var(--red-primary);
}

/* ============================================
   Selection
   ============================================ */
::selection {
  background: var(--red-primary);
  color: var(--white);
}

/* ============================================
   Profile Page Styles
   ============================================ */

/* Profile Hero */
.profile-hero {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, var(--white) 0%, var(--gray-light) 100%);
  text-align: center;
  padding-top: 100px;
}

.profile-hero-label {
  font-family: var(--font-en);
  font-size: 0.875rem;
  letter-spacing: 0.3em;
  color: var(--red-primary);
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeIn 1s 0.3s forwards;
}

.profile-hero-title {
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 800;
  opacity: 0;
  animation: fadeInUp 1s 0.5s forwards;
}

/* Story Sections */
.story {
  background: var(--white);
}

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

.story-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.story-heading {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 700;
  margin-bottom: 3rem;
  line-height: 1.6;
}

.story-heading-red {
  color: var(--red-dark);
}

.story-text {
  font-size: clamp(1rem, 1.8vw, 1.125rem);
  color: var(--text-secondary);
  line-height: 2.2;
  margin-bottom: 2rem;
}

.story-text-large {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2rem;
}

.story-text-emphasis {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 2rem;
}

.story-quote {
  padding: 2rem 2.5rem;
  background: var(--gray-light);
  border-left: 4px solid var(--red-primary);
  margin: 2.5rem 0;
  text-align: left;
}

.story-alt .story-quote {
  background: var(--white);
}

.story-quote p {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  font-weight: 600;
  color: var(--text-primary);
  font-style: italic;
}

.story-voices {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 2.5rem 0;
}

.story-voice {
  padding: 1.25rem 2rem;
  background: var(--white);
  font-size: clamp(1rem, 1.8vw, 1.125rem);
  font-weight: 500;
  color: var(--text-secondary);
  border-left: 3px solid var(--text-light);
  text-align: left;
}

.story-questions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 2.5rem 0;
}

.story-question {
  padding: 1.25rem 2rem;
  background: var(--white);
  font-size: clamp(1rem, 1.8vw, 1.125rem);
  font-weight: 500;
  color: var(--text-secondary);
  border-left: 3px solid var(--red-primary);
  text-align: left;
}

.story-number {
  font-family: var(--font-en);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 300;
  color: var(--red-primary);
  margin: 2rem 0;
}

.story-change {
  margin: 3rem 0;
}

.story-change-before {
  font-size: clamp(1rem, 1.8vw, 1.125rem);
  color: var(--text-light);
  margin-bottom: 1rem;
}

.story-change-after {
  font-size: clamp(1.25rem, 2.5vw, 1.625rem);
  font-weight: 700;
  color: var(--red-primary);
}

.story-result {
  padding: 2.5rem;
  background: var(--white);
  border: 2px solid var(--red-primary);
  margin-top: 3rem;
}

.story-result p {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  font-weight: 700;
  color: var(--text-primary);
}

/* Turning Point Section */
.story-turning {
  background: var(--text-primary);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.story-turning::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(204, 0, 0, 0.15) 0%, transparent 60%);
}

.story-turning .story-content {
  position: relative;
  z-index: 2;
}

.story-turning-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  margin-bottom: 3rem;
  line-height: 1.5;
}

.story-turning-text {
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  color: rgba(255, 255, 255, 0.85);
  line-height: 2.2;
  margin-bottom: 2rem;
}

.story-turning-emphasis {
  font-size: clamp(1.375rem, 3vw, 1.75rem);
  font-weight: 700;
  color: var(--red-primary);
}

/* Mission Statement Section */
.story-mission {
  background: var(--white);
}

.story-mission-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 3rem;
}

.story-mission-content {
  padding: 3rem;
  background: var(--gray-light);
  margin-bottom: 3rem;
}

.story-mission-content p {
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  line-height: 2;
  margin-bottom: 1.5rem;
}

.story-mission-content p:last-child {
  margin-bottom: 0;
}

.story-mission-highlight {
  font-size: clamp(1.5rem, 3vw, 2rem) !important;
  font-weight: 800 !important;
  color: var(--red-primary) !important;
  padding: 1.5rem 0;
}

.story-mission-label {
  font-size: clamp(1rem, 1.8vw, 1.125rem);
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.story-mission-closing {
  font-size: clamp(1.25rem, 2.5vw, 1.625rem);
  font-weight: 700;
  color: var(--text-primary);
}

/* Profile Info Section */
.profile-info {
  background: var(--gray-light);
}

.profile-info-content {
  max-width: 800px;
  margin: 0 auto;
}

.profile-info-header {
  text-align: center;
  margin-bottom: 4rem;
}

.profile-info-image {
  width: 200px;
  height: 200px;
  margin: 0 auto 2rem;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--white);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.profile-info-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-info-name {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.profile-info-name-en {
  font-family: var(--font-en);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  color: var(--text-light);
  margin-bottom: 0.75rem;
}

.profile-info-position {
  font-size: 1rem;
  color: var(--text-secondary);
}

.profile-info-history h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--text-primary);
}

.profile-history-table {
  width: 100%;
}

.profile-history-table tr {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.profile-history-table th {
  font-family: var(--font-en);
  font-weight: 500;
  color: var(--red-primary);
  text-align: left;
  padding: 1.25rem 0;
  width: 100px;
  font-size: 0.9375rem;
  vertical-align: top;
}

.profile-history-table td {
  padding: 1.25rem 0;
  font-size: 1rem;
  color: var(--text-secondary);
}

/* SP only break */
.sp-only {
  display: none;
}

@media (max-width: 768px) {
  .sp-only {
    display: inline;
  }

  .profile-hero {
    min-height: 60vh;
  }

  .story-quote,
  .story-voice,
  .story-question {
    padding: 1.5rem;
  }

  .story-mission-content {
    padding: 2rem;
  }

  .story-result {
    padding: 2rem;
  }
}

/* ============================================
   About Page Styles
   ============================================ */

/* About Hero */
.about-hero {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, var(--white) 0%, var(--gray-light) 100%);
  text-align: center;
  padding: 140px 0 80px;
}

.about-hero-content {
  max-width: 800px;
}

.about-hero-tagline {
  font-size: clamp(1.75rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.6;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeInUp 1s 0.3s forwards;
}

.about-hero-brand {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 500;
  color: var(--text-secondary);
  opacity: 0;
  animation: fadeInUp 1s 0.6s forwards;
}

.about-hero-accent {
  font-family: var(--font-en);
  font-weight: 600;
  color: var(--red-primary);
  letter-spacing: 0.1em;
}

/* About Links */
.about-links {
  background: var(--white);
}

.about-section-title {
  font-family: var(--font-ja);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2.5rem;
  text-align: center;
}

.about-links-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 700px;
  margin: 0 auto;
}

.about-link-card {
  position: relative;
  display: block;
  padding: 2rem 4rem 2rem 2.5rem;
  background: var(--gray-light);
  text-decoration: none;
  transition: all 0.3s ease;
  border-left: 4px solid transparent;
}

.about-link-card:hover {
  background: var(--white);
  border-left-color: var(--red-primary);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transform: translateX(4px);
}

.about-link-content {
  display: block;
}

.about-link-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.about-link-desc {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.about-link-arrow {
  position: absolute;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.4;
  transition: all 0.3s ease;
}

.about-link-arrow svg {
  width: 24px;
  height: 24px;
  color: var(--text-primary);
  display: block;
}

.about-link-card:hover .about-link-arrow {
  opacity: 1;
  right: 1.5rem;
}

.about-link-card:hover .about-link-arrow svg {
  color: var(--red-primary);
}

@media (max-width: 768px) {
  .about-hero {
    min-height: 60vh;
    padding: 120px 0 60px;
  }

  .about-link-card {
    padding: 1.5rem 3rem 1.5rem 1.5rem;
  }

  .about-link-arrow {
    right: 1rem;
  }

  .about-link-card:hover .about-link-arrow {
    right: 0.75rem;
  }

  .about-link-title {
    font-size: 1rem;
  }

  .about-link-desc {
    font-size: 0.875rem;
  }
}

/* ============================================
   Company Page Styles
   ============================================ */

/* Company Hero */
.company-hero {
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, var(--white) 0%, var(--gray-light) 100%);
  text-align: center;
  padding-top: 100px;
}

.company-hero-label {
  font-family: var(--font-en);
  font-size: 0.875rem;
  letter-spacing: 0.3em;
  color: var(--red-primary);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeIn 1s 0.3s forwards;
}

.company-hero-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  opacity: 0;
  animation: fadeInUp 1s 0.5s forwards;
}

/* Company Sections */
.company-basic {
  background: var(--white);
}

.company-location {
  background: var(--gray-light);
}

.company-business {
  background: var(--white);
}

.company-history-section {
  background: var(--white);
}

.company-bank {
  background: var(--gray-light);
}

.company-advisor {
  background: var(--white);
}

.company-record {
  background: var(--white);
}

.company-section-content {
  max-width: 900px;
  margin: 0 auto;
}

.company-section-title {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 700;
  margin-bottom: 3rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--text-primary);
}

/* Basic Info */
.company-detail-table {
  width: 100%;
}

.company-detail-table tr {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.company-detail-table th {
  font-weight: 500;
  color: var(--text-light);
  text-align: left;
  padding: 1.25rem 1rem 1.25rem 0;
  width: 180px;
  font-size: 0.9375rem;
  vertical-align: top;
}

.company-detail-table td {
  padding: 1.25rem 0;
  font-size: 1rem;
  color: var(--text-primary);
}

/* Location */
.company-location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.company-location-left {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.company-location-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.company-address {
  font-size: 1.0625rem;
  line-height: 2;
}

.company-address-zip {
  display: block;
  font-size: 0.875rem;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.company-contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1rem;
}

.company-contact-label {
  font-family: var(--font-en);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--text-light);
  width: 40px;
}

.company-contact-item a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.3s;
}

.company-contact-item a:hover {
  color: var(--red-primary);
}

.company-location-map {
  border: 1px solid rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.company-location-map iframe {
  display: block;
  width: 100%;
  height: 280px;
}

.company-location-right {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.company-location-image {
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.company-location-image img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.company-location-image:hover img {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .company-location-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .company-location-map iframe {
    height: 250px;
  }

  .company-location-image img {
    height: 200px;
  }
}

/* Business */
.company-business-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.company-business-item {
  padding: 2rem;
  background: var(--gray-light);
  border-left: 4px solid var(--red-primary);
}

.company-business-name {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.company-business-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

.company-business-desc .note {
  display: block;
  font-size: 0.875rem;
  color: var(--text-light);
  margin-top: 0.5rem;
}

/* Clients Section */
.company-clients {
  background: var(--gray-light);
}

.company-clients-table-wrap {
  overflow-x: auto;
}

.company-clients-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
}

.company-clients-table thead th {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-light);
  text-align: left;
  padding: 1rem 1.5rem;
  border-bottom: 2px solid var(--text-primary);
  white-space: nowrap;
}

.company-clients-table thead th:nth-child(2),
.company-clients-table thead th:last-child {
  text-align: right;
}

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

.company-clients-table tbody td {
  padding: 1.25rem 1.5rem;
  font-size: 1rem;
  color: var(--text-primary);
}

.company-clients-table tbody td.employees {
  text-align: right;
  white-space: nowrap;
}

.company-clients-table tbody td.revenue {
  text-align: right;
  font-family: var(--font-en);
  font-weight: 600;
  color: var(--red-primary);
  white-space: nowrap;
}

.company-clients-note {
  margin-top: 1.5rem;
  font-size: 0.8125rem;
  color: var(--text-light);
  text-align: right;
}

/* History Timeline */
.company-history-timeline {
  position: relative;
  padding-left: 30px;
}

.company-history-timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: var(--red-primary);
}

.company-history-item {
  display: flex;
  gap: 2rem;
  padding: 1rem 0;
  position: relative;
}

.company-history-item::before {
  content: '';
  position: absolute;
  left: -33px;
  top: 1.35rem;
  width: 8px;
  height: 8px;
  background: var(--white);
  border: 2px solid var(--red-primary);
  border-radius: 50%;
}

.company-history-date {
  font-family: var(--font-en);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--red-primary);
  flex-shrink: 0;
  width: 80px;
}

.company-history-text {
  font-size: 1rem;
  color: var(--text-secondary);
}

/* Bank List */
.company-bank-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.company-bank-list li {
  font-size: 1rem;
  color: var(--text-secondary);
  padding-left: 1.5rem;
  position: relative;
}

.company-bank-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 6px;
  height: 6px;
  background: var(--red-primary);
  border-radius: 50%;
}

/* Advisor Table */
.company-advisor-table {
  width: 100%;
}

.company-advisor-table tr {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.company-advisor-table th {
  font-weight: 500;
  color: var(--text-light);
  text-align: left;
  padding: 1.25rem 1rem 1.25rem 0;
  width: 120px;
  font-size: 0.9375rem;
}

.company-advisor-table td {
  padding: 1.25rem 0;
  font-size: 1rem;
  color: var(--text-primary);
}

/* Related Pages */
.related-pages {
  background: var(--gray-light);
}

.related-pages-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.related-page-card {
  position: relative;
  display: block;
  padding: 2rem 4rem 2rem 2rem;
  background: var(--white);
  text-decoration: none;
  transition: all 0.3s ease;
  border-left: 4px solid transparent;
}

.related-page-card:hover {
  border-left-color: var(--red-primary);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.related-page-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.related-page-desc {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.related-page-arrow {
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.4;
  transition: all 0.3s ease;
}

.related-page-arrow svg {
  width: 24px;
  height: 24px;
  color: var(--text-primary);
  display: block;
}

.related-page-card:hover .related-page-arrow {
  opacity: 1;
  right: 1rem;
}

.related-page-card:hover .related-page-arrow svg {
  color: var(--red-primary);
}

@media (max-width: 768px) {
  .related-pages-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .related-page-card {
    padding: 1.5rem 3rem 1.5rem 1.5rem;
  }

  .related-page-arrow {
    right: 1rem;
  }

  .related-page-card:hover .related-page-arrow {
    right: 0.75rem;
  }
}

/* Track Record */
.company-record-list {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.company-record-item {
  padding: 2rem;
  background: var(--gray-light);
}

.company-record-category {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.company-record-period {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-light);
}

.company-record-details {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.company-record-details li {
  font-size: 1rem;
  color: var(--text-secondary);
  padding-left: 1.5rem;
  position: relative;
}

.company-record-details li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--red-primary);
}

/* Company Page Responsive */
@media (max-width: 768px) {
  .company-hero {
    min-height: 40vh;
  }

  .company-detail-table th {
    width: 120px;
    font-size: 0.875rem;
  }

  .company-history-item {
    flex-direction: column;
    gap: 0.5rem;
  }

  .company-business-item {
    padding: 1.5rem;
  }

  .company-record-item {
    padding: 1.5rem;
  }
}

/* ============================================
   Legal Pages Styles (Privacy & Tokushoho)
   ============================================ */

/* Legal Hero */
.legal-hero {
  min-height: 40vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, var(--white) 0%, var(--gray-light) 100%);
  text-align: center;
  padding-top: 100px;
}

.legal-hero-label {
  font-family: var(--font-en);
  font-size: 0.875rem;
  letter-spacing: 0.3em;
  color: var(--red-primary);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeIn 1s 0.3s forwards;
}

.legal-hero-title {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 700;
  opacity: 0;
  animation: fadeInUp 1s 0.5s forwards;
  line-height: 1.5;
}

/* Legal Content */
.legal-content {
  background: var(--white);
}

.legal-section-content {
  max-width: 900px;
  margin: 0 auto;
}

/* Legal Table (for Tokushoho) */
.legal-table {
  width: 100%;
  border-collapse: collapse;
}

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

.legal-table th {
  font-weight: 600;
  color: var(--text-primary);
  text-align: left;
  padding: 1.5rem 1.5rem 1.5rem 0;
  width: 200px;
  font-size: 0.9375rem;
  vertical-align: top;
  background: var(--gray-light);
  padding-left: 1.5rem;
}

.legal-table td {
  padding: 1.5rem;
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.9;
}

.legal-note {
  display: block;
  font-size: 0.8125rem;
  color: var(--text-light);
  margin-top: 0.5rem;
}

/* Legal Articles (for Privacy Policy) */
.legal-article {
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.legal-article:last-of-type {
  border-bottom: none;
}

.legal-article-title {
  font-size: clamp(1.125rem, 2vw, 1.25rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  padding-left: 1rem;
  border-left: 4px solid var(--red-primary);
}

.legal-article-subtitle {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 2rem 0 1rem;
}

.legal-article-text {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 2;
  margin-bottom: 1rem;
}

.legal-article-text:last-child {
  margin-bottom: 0;
}

.legal-list {
  margin: 1rem 0 1.5rem 1.5rem;
  color: var(--text-secondary);
}

.legal-list li {
  font-size: 1rem;
  line-height: 2;
  margin-bottom: 0.5rem;
}

.legal-footer {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 2px solid var(--text-primary);
  text-align: right;
}

.legal-footer p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

/* Legal Pages Responsive */
@media (max-width: 768px) {
  .legal-hero {
    min-height: 35vh;
  }

  .legal-table th,
  .legal-table td {
    display: block;
    width: 100%;
    padding: 1rem;
  }

  .legal-table th {
    padding-bottom: 0.5rem;
  }

  .legal-table td {
    padding-top: 0.5rem;
    padding-bottom: 1.5rem;
  }

  .legal-article {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
  }
}

/* ============================================
   Additional Mobile Fixes
   ============================================ */
@media (max-width: 768px) {
  /* Base text handling */
  * {
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  /* Reduce section padding on mobile */
  .section {
    padding: 60px 0;
  }

  .section-compact {
    padding: 40px 0;
  }

  .container {
    padding: 0 8px;
  }

  /* Hero section mobile */
  .hero-title .line:nth-child(1) .line-inner,
  .hero-title .line:nth-child(2) .line-inner {
    font-size: 2rem;
  }

  .hero-title .line:nth-child(3) .line-inner {
    font-size: 1.125rem;
  }

  /* Intro section mobile */
  .intro-sub {
    font-size: 0.9375rem;
    line-height: 1.8;
  }

  .intro-main {
    font-size: 1.5rem;
  }

  .intro-link {
    margin-top: 1.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
  }

  .intro-headline {
    font-size: 1.25rem;
    line-height: 1.8;
  }

  .intro-question {
    padding: 0.875rem;
    font-size: 0.875rem;
    line-height: 1.7;
  }

  .intro-reveal {
    margin-top: 2.5rem;
    padding-top: 2.5rem;
  }

  .intro-reveal-title {
    font-size: 1.75rem;
  }

  /* Confrontation section mobile */
  .confrontation-content {
    margin-bottom: 3rem;
  }

  .confrontation-headline {
    font-size: 1.75rem;
  }

  .confrontation-sub {
    font-size: 1.125rem;
  }

  /* Order section mobile */
  .order-title h2 {
    font-size: 1.5rem;
  }

  .order-item {
    padding: 1.25rem 1rem;
  }

  .order-number {
    width: 36px;
    height: 36px;
    font-size: 1.5rem;
  }

  .order-text {
    font-size: 0.9375rem;
  }

  .order-note {
    font-size: 0.875rem;
  }

  /* Future section mobile */
  .future-header h2 {
    font-size: 1.375rem;
  }

  .future-card {
    padding: 1.5rem;
  }

  .future-card-before,
  .future-card-after {
    font-size: 0.9375rem;
  }

  .future-conclusion-title {
    font-size: 1.25rem;
  }

  .future-conclusion-link {
    margin-top: 1.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
  }

  /* Mission section mobile */
  .mission-title {
    font-size: 1.375rem;
  }

  .mission-text {
    font-size: 0.9375rem;
  }

  /* Hermes section mobile */
  .hermes-title {
    font-size: 1.25rem;
    line-height: 1.6;
  }

  .hermes-paragraph {
    font-size: 0.9375rem;
  }

  .hermes-quote {
    padding: 1.25rem;
    font-size: 1rem;
  }

  .hermes-highlight {
    padding: 1.25rem;
  }

  .hermes-highlight-title {
    font-size: 1rem;
  }

  .hermes-message {
    font-size: 0.9375rem;
  }

  /* Pitfall section mobile */
  .pitfall-title {
    font-size: 1.125rem;
    line-height: 1.6;
  }

  .pitfall-item {
    padding: 0.875rem;
    font-size: 0.875rem;
  }

  .pitfall-note {
    font-size: 0.8125rem;
  }

  .pitfall-conclusion {
    font-size: 0.9375rem;
    padding: 1.5rem;
  }

  /* Steps section mobile */
  .steps-header h2 {
    font-size: 1.375rem;
  }

  .step-card {
    padding: 1.5rem;
  }

  .step-title {
    font-size: 1.125rem;
  }

  .step-text {
    font-size: 0.875rem;
  }

  /* CTA section mobile */
  .cta-title {
    font-size: 1.125rem;
    line-height: 1.7;
  }

  .cta-button {
    width: 100%;
    justify-content: center;
    padding: 1rem 1.5rem;
    font-size: 0.9375rem;
  }

  /* Company section mobile */
  .company-title {
    font-size: 1.5rem;
  }

  .company-table {
    width: 100%;
  }

  .company-table th,
  .company-table td {
    display: block;
    width: 100%;
    padding: 0.5rem 0;
    font-size: 0.875rem;
  }

  .company-table th {
    font-size: 0.75rem;
    color: var(--text-light);
    padding-top: 0.875rem;
  }

  .company-table td {
    padding-bottom: 0.875rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  }

  /* Profile section mobile */
  .profile-title {
    font-size: 1.5rem;
  }

  .profile-name {
    font-size: 1.25rem;
  }

  .profile-bio {
    font-size: 0.875rem;
    text-align: left;
    line-height: 1.8;
  }

  /* Company detail table on company.php */
  .company-detail-table th,
  .company-detail-table td {
    display: block;
    width: 100%;
    padding: 0.5rem 0;
    font-size: 0.875rem;
  }

  .company-detail-table th {
    font-size: 0.75rem;
    padding-top: 0.875rem;
  }

  .company-detail-table td {
    padding-bottom: 0.875rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  }

  .company-detail-table tr {
    border-bottom: none;
  }

  /* Profile info section */
  .profile-info-image {
    width: 150px;
    height: 150px;
  }

  .profile-history-table th,
  .profile-history-table td {
    display: block;
    width: 100%;
    padding: 0.25rem 0;
    font-size: 0.875rem;
  }

  .profile-history-table th {
    padding-top: 0.75rem;
    font-size: 0.75rem;
  }

  /* Advisor table */
  .company-advisor-table th,
  .company-advisor-table td {
    display: block;
    width: 100%;
    padding: 0.5rem 0;
    font-size: 0.875rem;
  }

  /* Service page mobile */
  .service-program-title {
    font-size: 1.5rem;
  }

  .service-program-subtitle {
    font-size: 0.9375rem;
  }

  .service-quote-heading {
    font-size: 1.125rem;
  }

  .service-quote-item {
    padding: 1.25rem;
    font-size: 0.9375rem;
  }

  .service-target-item {
    padding: 1rem 0 1rem 1.25rem;
    font-size: 0.875rem;
  }

  .service-changes-list li {
    font-size: 0.875rem;
  }

  .service-pricing-text {
    font-size: 0.9375rem;
  }
}

/* ============================================
   Service Page Styles
   ============================================ */

/* Service Hero */
.service-hero {
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, var(--white) 0%, var(--gray-light) 100%);
  text-align: center;
  padding-top: 100px;
}

.service-hero-label {
  font-family: var(--font-en);
  font-size: 0.875rem;
  letter-spacing: 0.3em;
  color: var(--red-primary);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeIn 1s 0.3s forwards;
}

.service-hero-title {
  font-size: clamp(1.75rem, 5vw, 3rem);
  font-weight: 700;
  opacity: 0;
  animation: fadeInUp 1s 0.5s forwards;
  line-height: 1.5;
}

/* Service Sections */
.service-target {
  background: var(--white);
}

.service-program {
  background: var(--gray-light);
}

.service-days {
  background: var(--white);
}

.service-changes {
  background: var(--gray-light);
}

.service-quote {
  background: var(--text-primary);
  color: var(--white);
}

.service-pricing {
  background: var(--white);
}

.service-section-content {
  max-width: 900px;
  margin: 0 auto;
}

.service-section-title {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 700;
  margin-bottom: 3rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--text-primary);
}

/* Target Section */
.service-target-list {
  list-style: none;
}

.service-target-item {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  color: var(--text-secondary);
  padding: 1.25rem 0 1.25rem 2rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  position: relative;
}

.service-target-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: var(--red-primary);
  border-radius: 50%;
}

/* Program Section */
.service-program-title {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 1.5rem;
  color: var(--red-primary);
}

.service-program-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  text-align: center;
  color: var(--text-secondary);
  line-height: 2;
}

/* 90 Days Section */
.service-days-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-days-card {
  background: var(--gray-light);
  padding: 2.5rem 2rem;
  text-align: center;
  position: relative;
}

.service-days-month {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.25rem;
  margin-bottom: 1.5rem;
}

.service-days-month-num {
  font-family: var(--font-en);
  font-size: 3rem;
  font-weight: 600;
  color: var(--red-primary);
  line-height: 1;
}

.service-days-month-label {
  font-size: 1rem;
  color: var(--text-secondary);
}

.service-days-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.service-days-desc {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* Changes Section */
.service-changes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.service-changes-card {
  background: var(--white);
  padding: 2.5rem;
}

.service-changes-card-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--red-primary);
  color: var(--text-primary);
}

.service-changes-list {
  list-style: none;
}

.service-changes-list li {
  font-size: 1rem;
  color: var(--text-secondary);
  padding: 0.75rem 0 0.75rem 1.5rem;
  position: relative;
  line-height: 1.7;
}

.service-changes-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--red-primary);
  font-weight: 700;
}

/* Quote Section */
.service-quote-heading {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--white);
}

.service-quote-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 700px;
  margin: 0 auto;
}

.service-quote-item {
  padding: 2rem 2.5rem;
  background: rgba(255, 255, 255, 0.05);
  border-left: 4px solid var(--red-primary);
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  font-style: italic;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.9);
}

/* Pricing Section */
.service-pricing-content {
  text-align: center;
}

.service-pricing-text {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  color: var(--text-secondary);
  margin-bottom: 1rem;
  line-height: 1.9;
}

.service-pricing-text:last-child {
  margin-bottom: 0;
}

/* Service Page Responsive */
@media (max-width: 768px) {
  .service-hero {
    min-height: 40vh;
  }

  .service-days-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .service-days-card {
    padding: 2rem 1.5rem;
  }

  .service-changes-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .service-changes-card {
    padding: 2rem 1.5rem;
  }

  .service-quote-item {
    padding: 1.5rem;
  }

  .service-target-item {
    padding-left: 1.5rem;
  }
}

/* ============================================
   Column Index Page Styles
   ============================================ */

/* Column Hero */
.column-hero {
  min-height: 40vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background: linear-gradient(180deg, var(--white) 0%, var(--gray-light) 100%);
  text-align: center;
  padding-top: 100px;
}

.column-hero-label {
  font-family: var(--font-en);
  font-size: 0.875rem;
  letter-spacing: 0.3em;
  color: var(--red-primary);
  margin-bottom: 1rem;
  opacity: 0;
  animation: fadeIn 1s 0.3s forwards;
}

.column-hero-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  opacity: 0;
  animation: fadeInUp 1s 0.5s forwards;
}

.column-hero-subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-top: 1rem;
  opacity: 0;
  animation: fadeIn 1s 0.7s forwards;
}

/* Column Categories */
.column-categories {
  background: var(--white);
  padding: 2rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.column-categories-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.column-category-tag {
  padding: 0.5rem 1.25rem;
  font-size: 0.8125rem;
  color: var(--text-secondary);
  text-decoration: none;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 100px;
  transition: all 0.3s;
}

.column-category-tag:hover,
.column-category-tag.active {
  background: var(--text-primary);
  color: var(--white);
  border-color: var(--text-primary);
}

/* Column Grid */
.column-list {
  background: var(--white);
}

.column-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.column-grid-margin {
  margin-top: 3rem;
}

.column-bx-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.column-bx-grid .bx-card .column-card-meta {
  margin-bottom: 0.5rem;
}

.column-bx-grid .bx-card .column-card-category {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--red-primary);
  letter-spacing: 0.1em;
}

.column-card {
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.08);
  transition: all 0.3s;
}

.column-card:hover {
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

.column-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.column-card-image {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--gray-light);
}

.column-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.column-card:hover .column-card-image img {
  transform: scale(1.05);
}

.column-card-image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
}

.column-card-icon {
  width: 48px;
  height: 48px;
  color: var(--text-light);
}

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

.column-card-body {
  padding: 1.5rem;
}

.column-card-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.column-card-category {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--red-primary);
  letter-spacing: 0.05em;
}

.column-card-date {
  font-family: var(--font-en);
  font-size: 0.75rem;
  color: var(--text-light);
}

.column-card-title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.6;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.column-card-excerpt {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.column-empty {
  text-align: center;
  color: var(--text-light);
  padding: 4rem 0;
}

@media (max-width: 1024px) {
  .column-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .column-bx-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .column-hero {
    min-height: 30vh;
  }

  .column-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .column-bx-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .column-card-body {
    padding: 1.25rem;
  }
}

/* ============================================
   Article Page Styles
   ============================================ */

/* Article Hero */
.article-hero {
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  background: linear-gradient(180deg, var(--white) 0%, var(--gray-light) 100%);
  text-align: left;
  padding: 80px 0;
}

.article-meta {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.article-category {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--red-primary);
  letter-spacing: 0.1em;
  padding: 0.375rem 1rem;
  border: 1px solid var(--red-primary);
  text-decoration: none;
  transition: all 0.3s ease;
}

.article-category:hover {
  background: var(--red-primary);
  color: var(--white);
}

.article-date {
  font-family: var(--font-en);
  font-size: 0.8125rem;
  color: var(--text-light);
}

.article-read-time {
  font-size: 0.8125rem;
  color: var(--text-light);
}

.article-title {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.5;
  max-width: 900px;
  margin-bottom: 1.5rem;
  text-align: left;
}

.article-lead {
  font-size: clamp(0.9375rem, 1.5vw, 1.0625rem);
  color: var(--text-secondary);
  max-width: 700px;
  line-height: 1.8;
  text-align: left;
}

/* PC only break for article title */
.pc-only {
  display: inline;
}

@media (max-width: 768px) {
  .pc-only {
    display: none;
  }
}

/* Article Summary */
.article-summary {
  background: var(--white);
  padding: 3rem 0 0;
}

.article-summary-inner {
  max-width: 700px;
  margin: 0 auto;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  padding: 2rem;
  border-radius: 4px;
}

.article-summary-title {
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: #ffffff;
  letter-spacing: 0.05em;
}

.article-summary-table-wrapper {
  overflow-x: auto;
}

.article-summary-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.article-summary-table th,
.article-summary-table td {
  padding: 0.875rem 1rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.article-summary-table tr:last-child th,
.article-summary-table tr:last-child td {
  border-bottom: none;
}

.article-summary-table th {
  color: #ffffff;
  font-weight: 600;
  width: 30%;
  min-width: 140px;
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.08);
}

.article-summary-table td {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
}

@media (max-width: 768px) {
  .article-summary-inner {
    padding: 1.5rem;
  }

  .article-summary-table th,
  .article-summary-table td {
    padding: 0.75rem;
    font-size: 0.8125rem;
  }

  .article-summary-table th {
    width: 35%;
    min-width: 100px;
  }
}

@media (max-width: 480px) {
  .article-summary-table {
    display: block;
  }

  .article-summary-table tbody {
    display: block;
  }

  .article-summary-table tr {
    display: block;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .article-summary-table tr:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
  }

  .article-summary-table th,
  .article-summary-table td {
    display: block;
    width: 100%;
    padding: 0;
    border-bottom: none;
  }

  .article-summary-table th {
    margin-bottom: 0.5rem;
  }
}

/* Article CTA */
.article-cta {
  background: var(--white);
  padding: 2rem 0 0;
}

.article-cta-inner {
  max-width: 700px;
  margin: 0 auto;
  background: linear-gradient(135deg, var(--text-primary) 0%, #2a2a2a 100%);
  padding: 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.article-cta-inner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

.article-cta-text {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9375rem;
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 1;
  line-height: 1.7;
}

.article-cta-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0.875rem 2rem;
  background: var(--blue-accent);
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.3s;
  position: relative;
  z-index: 1;
}

.article-cta-button:hover {
  background: #1a8cd8;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(29, 161, 242, 0.3);
}

.article-cta-button svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s;
}

.article-cta-button:hover svg {
  transform: translateX(4px);
}

@media (max-width: 768px) {
  .article-cta-inner {
    padding: 1.5rem;
  }

  .article-cta-text {
    font-size: 0.875rem;
  }

  .article-cta-button {
    width: 100%;
    justify-content: center;
    padding: 0.875rem 1.5rem;
  }
}

/* Article TOC */
.article-toc {
  background: var(--white);
  padding: 3rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.article-toc-inner {
  max-width: 700px;
  margin: 0 auto;
  background: var(--gray-light);
  padding: 2rem;
}

.article-toc-title {
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: var(--text-primary);
}

.article-toc-list {
  list-style: none;
  counter-reset: toc;
}

.article-toc-list li {
  counter-increment: toc;
  margin-bottom: 0.75rem;
}

.article-toc-list li:last-child {
  margin-bottom: 0;
}

.article-toc-list a {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9375rem;
  line-height: 1.6;
  transition: color 0.3s;
}

.article-toc-list a::before {
  content: counter(toc) ".";
  font-family: var(--font-en);
  font-size: 0.8125rem;
  color: var(--red-primary);
  font-weight: 600;
  min-width: 1.5rem;
}

.article-toc-list a:hover {
  color: var(--red-primary);
}

/* Article Body */
.article-body {
  background: var(--white);
  padding: 5rem 0;
}

.article-content {
  max-width: 700px;
  margin: 0 auto;
}

.article-section {
  margin-bottom: 4rem;
}

.article-section:last-child {
  margin-bottom: 0;
}

.article-section h2 {
  font-size: clamp(1.25rem, 2.5vw, 1.625rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--text-primary);
  color: var(--text-primary);
}

.article-section h3 {
  font-size: clamp(1.0625rem, 2vw, 1.25rem);
  font-weight: 700;
  margin: 2.5rem 0 1rem;
  color: var(--text-primary);
}

.article-section h4 {
  font-size: 1rem;
  font-weight: 700;
  margin: 2rem 0 0.75rem;
  color: var(--text-secondary);
}

.article-section p {
  font-size: 1rem;
  line-height: 2;
  margin-bottom: 1.25rem;
  color: var(--text-secondary);
}

.article-section ul,
.article-section ol {
  margin: 1.5rem 0;
  padding-left: 1.5rem;
}

.article-section li {
  font-size: 1rem;
  line-height: 1.9;
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
}

.article-highlight {
  background: var(--gray-light);
  padding: 1.5rem;
  margin: 1.5rem 0;
  border-left: 4px solid var(--red-primary);
  font-size: 1rem;
  line-height: 1.9;
}

.article-highlight strong {
  color: var(--text-primary);
}

/* Article Table */
.article-table-wrap {
  overflow-x: auto;
  margin: 1.5rem 0;
}

.article-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.article-table th,
.article-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.article-table th {
  background: var(--gray-light);
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
}

.article-table td {
  color: var(--text-secondary);
}

/* Article Example */
.article-example {
  background: var(--gray-light);
  padding: 2rem;
  margin: 2rem 0;
}

.article-example h4 {
  margin-top: 0;
  color: var(--text-primary);
}

.article-example p {
  color: var(--text-secondary);
}

.article-example ul {
  margin-bottom: 1rem;
}

/* Article Blockquote */
.article-blockquote {
  background: var(--gray-light);
  border-left: 4px solid var(--red-primary);
  padding: 1.5rem 2rem;
  margin: 2rem 0;
  font-style: normal;
  color: var(--text-primary);
  font-size: 1rem;
  line-height: 1.9;
}

.article-blockquote-large {
  font-size: 1.125rem;
  padding: 2rem 2.5rem;
}

/* Article Source */
.article-source {
  font-size: 0.875rem;
  color: var(--text-tertiary);
  margin-top: -1rem;
  margin-bottom: 1.5rem;
}

.article-source a {
  color: var(--text-tertiary);
  text-decoration: underline;
}

.article-source a:hover {
  color: var(--red-primary);
}

/* Article Body Reference Links */
.article-section a[target="_blank"] {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--text-tertiary);
  text-underline-offset: 2px;
}

.article-section a[target="_blank"]:hover {
  color: var(--red-primary);
  text-decoration-color: var(--red-primary);
}

/* Article Image */
.article-image {
  margin: 2rem 0;
  text-align: center;
}

.article-image img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}

.article-image figcaption {
  font-size: 0.875rem;
  color: var(--text-tertiary);
  margin-top: 0.75rem;
  text-align: center;
}

.article-image-wide {
  margin: 2.5rem -2rem;
}

.article-image-wide img {
  width: 100%;
  border-radius: 0;
}

/* Article Case Study */
.article-case {
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 2rem;
  margin: 2rem 0;
}

.article-case h3 {
  margin-top: 0;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--red-primary);
}

/* Article Step */
.article-step {
  background: var(--gray-light);
  padding: 2rem;
  margin: 1.5rem 0;
}

.article-step h3 {
  margin-top: 0;
  color: var(--red-primary);
}

/* Article FAQ */
.article-faq {
  margin: 2rem 0;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.article-faq:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.article-faq h3 {
  font-size: 1rem;
  margin-top: 0;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.article-faq p {
  margin-bottom: 0;
}

/* Article Summary */
.article-summary {
  background: var(--gray-light);
  padding: 3rem;
  margin-top: 4rem;
}

.article-summary h2 {
  border-bottom: none;
  text-align: center;
  margin-bottom: 2rem;
}

.article-summary ol {
  padding-left: 1.5rem;
}

/* Article CTA */
.article-cta {
  background: var(--text-primary);
  color: var(--white);
  padding: 5rem 0;
}

.article-cta-content {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.article-cta h2 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--white);
}

.article-cta p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.5rem;
}

.article-cta ul {
  list-style: none;
  text-align: left;
  max-width: 400px;
  margin: 0 auto 2rem;
}

.article-cta li {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.8);
  padding: 0.5rem 0 0.5rem 1.5rem;
  position: relative;
}

.article-cta li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--red-primary);
}

/* Article Related */
.article-related {
  background: var(--gray-light);
  padding: 4rem 0;
}

.article-related-content {
  max-width: 900px;
  margin: 0 auto;
}

.article-related h2 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 2rem;
  text-align: center;
  color: var(--text-primary);
}

.article-related-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.article-related-link {
  display: block;
  background: var(--white);
  padding: 1.5rem;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.article-related-link:hover {
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.article-related-label {
  display: block;
  font-family: var(--font-en);
  font-size: 0.6875rem;
  letter-spacing: 0.15em;
  color: var(--red-primary);
  margin-bottom: 0.5rem;
}

.article-related-title {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* Article Responsive */
@media (max-width: 768px) {
  .article-hero {
    min-height: auto;
    padding: 60px 0;
  }

  .article-meta {
    gap: 1rem;
  }

  .article-toc-inner {
    padding: 1.5rem;
  }

  .article-body {
    padding: 3rem 0;
  }

  .article-section {
    margin-bottom: 3rem;
  }

  .article-section h2 {
    font-size: 1.125rem;
  }

  .article-section h3 {
    font-size: 1rem;
  }

  .article-section p,
  .article-section li {
    font-size: 0.9375rem;
  }

  .article-highlight {
    padding: 1.25rem;
  }

  .article-example,
  .article-case,
  .article-step {
    padding: 1.5rem;
  }

  .article-summary {
    padding: 2rem 1.5rem;
  }

  .article-cta {
    padding: 3rem 0;
  }

  .article-related-links {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* ============================================
   TOP Page BX Pages Section
   ============================================ */
.bx-pages {
  background: var(--gray-light);
}

.bx-pages-header {
  text-align: center;
  margin-bottom: 3rem;
}

.bx-pages-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

.bx-pages-lead {
  font-size: clamp(0.9375rem, 1.5vw, 1rem);
  color: var(--text-secondary);
}

.bx-pages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.bx-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--white);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.bx-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.bx-card-thumbnail {
  background: var(--card-bg, #000);
  color: var(--white);
  padding: 3rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.bx-card-thumbnail::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, transparent 0%, rgba(0,0,0,0.3) 100%);
  pointer-events: none;
}

.bx-card-brand {
  font-family: var(--font-en);
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 600;
  letter-spacing: 0.1em;
  position: relative;
  z-index: 1;
}

.bx-card-tagline {
  font-family: var(--font-en);
  font-size: clamp(0.75rem, 2vw, 0.875rem);
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.8;
  margin-top: 0.5rem;
  position: relative;
  z-index: 1;
}

.bx-card-body {
  padding: 1.5rem;
}

.bx-card-title {
  font-size: clamp(1rem, 2vw, 1.125rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
  line-height: 1.5;
}

.bx-card-description {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.bx-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--card-accent, var(--red-primary));
  transition: gap 0.3s;
}

.bx-card:hover .bx-card-link {
  gap: 0.75rem;
}

.bx-card-link svg {
  width: 16px;
  height: 16px;
}

.bx-pages-more {
  text-align: center;
}

.bx-pages-detail-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
  padding: 1rem 2rem;
  border: 1px solid var(--text-primary);
  transition: all 0.3s;
}

.bx-pages-detail-link:hover {
  background: var(--text-primary);
  color: var(--white);
}

.bx-pages-detail-link svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s;
}

.bx-pages-detail-link:hover svg {
  transform: translateX(5px);
}

.bx-pages-gallery-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  background: var(--text-primary);
  text-decoration: none;
  padding: 1rem 2rem;
  margin-right: 1rem;
  margin-bottom: 1rem;
  transition: all 0.3s;
}

.bx-pages-gallery-link:hover {
  background: var(--red-primary);
  transform: translateY(-2px);
}

.bx-pages-gallery-link svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s;
}

.bx-pages-gallery-link:hover svg {
  transform: translateX(5px);
}

@media (max-width: 768px) {
  .bx-pages-grid {
    grid-template-columns: 1fr;
  }

  .bx-card-thumbnail {
    padding: 2.5rem 1.5rem;
  }

  .bx-pages-more {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .bx-pages-gallery-link,
  .bx-pages-detail-link {
    margin: 0;
    justify-content: center;
  }
}

/* ============================================
   BX Gallery Page
   ============================================ */
.page-hero {
  background: linear-gradient(180deg, var(--white) 0%, var(--gray-light) 100%);
  color: var(--text-primary);
  padding: clamp(100px, 12vw, 140px) 0 clamp(40px, 6vw, 60px);
  text-align: center;
}

.page-hero-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

.page-hero-lead {
  font-size: clamp(0.9375rem, 2vw, 1.125rem);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.bx-gallery {
  background: var(--gray-light);
  padding: clamp(40px, 6vw, 80px) 0;
}

.bx-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: 1.5rem;
}

.bx-gallery-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--white);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.bx-gallery-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.bx-gallery-card-thumbnail {
  background: var(--card-bg, #000);
  color: var(--white);
  padding: 2rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.bx-gallery-card-thumbnail::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, transparent 0%, rgba(0,0,0,0.3) 100%);
  pointer-events: none;
}

.bx-gallery-card-brand {
  font-family: var(--font-en);
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 600;
  letter-spacing: 0.1em;
  position: relative;
  z-index: 1;
}

.bx-gallery-card-tagline {
  font-family: var(--font-en);
  font-size: clamp(0.75rem, 2vw, 0.875rem);
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.8;
  margin-top: 0.5rem;
  position: relative;
  z-index: 1;
}

.bx-gallery-card-body {
  padding: 1.25rem;
}

.bx-gallery-card-title {
  font-size: clamp(1rem, 2vw, 1.125rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
  line-height: 1.5;
}

.bx-gallery-card-description {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.bx-gallery-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--card-accent, var(--red-primary));
  transition: gap 0.3s;
}

.bx-gallery-card:hover .bx-gallery-card-link {
  gap: 0.75rem;
}

.bx-gallery-card-link svg {
  width: 16px;
  height: 16px;
}

.bx-gallery-count {
  text-align: center;
  margin-top: 3rem;
  color: var(--text-light);
  font-size: 0.875rem;
}

.bx-gallery-empty {
  text-align: center;
  color: var(--text-light);
  padding: 4rem 0;
}

.bx-about {
  background: var(--white);
}

.bx-about-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.bx-about-content h2 {
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.bx-about-content p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  line-height: 2;
}

.bx-about-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
  margin-top: 1.5rem;
  padding: 1rem 2rem;
  border: 1px solid var(--text-primary);
  transition: all 0.3s;
}

.bx-about-link:hover {
  background: var(--text-primary);
  color: var(--white);
}

.bx-about-link svg {
  width: 18px;
  height: 18px;
}

@media (max-width: 768px) {
  .bx-gallery-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   BX Modal
   ============================================ */
.bx-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 9999;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  padding: 40px;
}

.bx-modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.bx-modal.visible {
  opacity: 1;
}

.bx-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, 0.7);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  cursor: pointer;
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.bx-modal-close:hover {
  background: rgba(0, 0, 0, 0.85);
  border-color: rgba(255, 255, 255, 0.5);
  transform: scale(1.1);
}

.bx-modal-close svg {
  width: 20px;
  height: 20px;
  color: #fff;
}

.bx-modal-window {
  position: relative;
  width: 100%;
  max-width: 1200px;
  height: 100%;
  max-height: 85vh;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
}

.bx-modal-frame {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

@media (max-width: 768px) {
  .bx-modal {
    padding: 20px;
  }

  .bx-modal-window {
    max-height: 90vh;
    border-radius: 8px;
  }

  .bx-modal-close {
    top: 8px;
    right: 8px;
    width: 36px;
    height: 36px;
  }

  .bx-modal-close svg {
    width: 18px;
    height: 18px;
  }
}

/* ============================================
   Mobile Optimization (768px and below)
   Reduce padding, optimize font sizes for readability
   ============================================ */
@media (max-width: 768px) {
  /* Base font size - Google recommended 16px */
  html {
    font-size: 16px;
  }

  body {
    line-height: 1.8;
  }

  /* Reduce container padding */
  .container {
    padding: 0 8px;
  }

  /* Section spacing optimization */
  .section {
    padding: clamp(48px, 10vw, 80px) 0;
  }

  .section-compact {
    padding: clamp(32px, 8vw, 60px) 0;
  }

  /* Hero sections - tighter padding */
  .hero,
  .profile-hero,
  .about-hero,
  .company-hero,
  .service-hero,
  .legal-hero,
  .page-hero,
  .column-hero {
    padding-top: 80px;
  }

  /* Typography - ensure readability */
  .hero-title,
  .profile-hero-title,
  .about-hero-tagline {
    font-size: clamp(1.5rem, 6vw, 2rem);
    line-height: 1.5;
  }

  .hero-subtitle,
  .hero-lead {
    font-size: 0.9375rem;
    line-height: 1.7;
  }

  /* Body text - 16px base, good readability */
  p,
  .story-text,
  .future-card-before,
  .service-target-item,
  .legal-article-text {
    font-size: 1rem;
    line-height: 1.8;
  }

  /* Smaller text for emphasis variation */
  .story-text-emphasis,
  .article-highlight {
    font-size: 1rem;
  }

  /* Section headers */
  .future-header h2,
  .steps-header h2,
  .story-heading,
  .service-section-title {
    font-size: clamp(1.25rem, 5vw, 1.75rem);
    line-height: 1.5;
  }

  /* Cards - tighter padding */
  .future-card {
    padding: 1.5rem 1.25rem;
  }

  .step-card {
    padding: 1.5rem;
  }

  /* Story sections */
  .story-content {
    padding: 0;
  }

  .story-quote,
  .story-voice,
  .story-question {
    padding: 1.25rem;
    font-size: 1rem;
  }

  .story-text-large {
    font-size: 1.125rem;
  }

  /* Profile page */
  .profile-info-content {
    padding: 1.5rem;
  }

  .profile-history-table th,
  .profile-history-table td {
    font-size: 0.9375rem;
    padding: 0.75rem 0;
  }

  /* Company page */
  .company-info-table th,
  .company-info-table td {
    font-size: 0.9375rem;
    padding: 0.875rem 0;
  }

  .company-info-table th {
    width: 90px;
  }

  /* Service page */
  .service-days-card {
    padding: 1.5rem;
  }

  .service-changes-card {
    padding: 1.5rem;
  }

  .service-quote-item p {
    font-size: 1rem;
    line-height: 1.7;
  }

  /* Column/Article pages */
  .article-title {
    font-size: clamp(1.25rem, 5vw, 1.75rem);
    line-height: 1.4;
  }

  .article-lead {
    font-size: 0.9375rem;
  }

  .article-section h2 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
  }

  .article-section h3 {
    font-size: 1.0625rem;
  }

  .article-section p {
    font-size: 1rem;
    line-height: 1.8;
  }

  .article-blockquote {
    padding: 1.25rem;
    font-size: 1rem;
  }

  .article-table {
    font-size: 0.875rem;
  }

  .article-table th,
  .article-table td {
    padding: 0.625rem 0.5rem;
  }

  /* TOC */
  .article-toc-inner {
    padding: 1.25rem;
  }

  .article-toc-list li a {
    font-size: 0.9375rem;
  }

  /* Legal pages */
  .legal-hero-title {
    font-size: clamp(1.25rem, 5vw, 1.75rem);
  }

  .legal-article-title {
    font-size: 1.0625rem;
  }

  .legal-table th,
  .legal-table td {
    font-size: 0.9375rem;
    padding: 0.875rem;
  }

  .legal-table th {
    width: 100px;
  }

  /* CTA sections */
  .cta-title {
    font-size: 1rem;
  }

  .cta-button {
    font-size: 0.9375rem;
    padding: 0.875rem 1.5rem;
  }

  /* BX Gallery */
  .bx-gallery-card-title {
    font-size: 1.125rem;
  }

  .bx-gallery-card-description {
    font-size: 0.9375rem;
  }

  /* Column cards */
  .column-card-title {
    font-size: 1rem;
  }

  .column-card-excerpt {
    font-size: 0.875rem;
  }

  /* Footer */
  .footer {
    padding: 2.5rem 0 1.5rem;
  }

  .footer-nav {
    gap: 1rem;
  }

  .footer-nav a {
    font-size: 0.8125rem;
  }

  /* Breadcrumb */
  .breadcrumb {
    padding: 0.75rem 0;
  }

  .breadcrumb-list {
    font-size: 0.75rem;
  }

  /* Hide sp-only break on desktop - show on mobile */
  .pc-only {
    display: none;
  }

  /* Reduce content padding on mobile */
  .reveal-content {
    padding: 0;
  }

  /* Reveal title - fit on one line */
  .reveal-title {
    font-size: clamp(1.5rem, 8vw, 2.5rem);
  }

  .transform-content,
  .order-content,
  .future-content {
    padding: 0;
  }

  /* Reduce side padding on intro question cards */
  .intro-question {
    padding: 0.75rem 0.875rem;
  }

  /* Reduce future card padding */
  .future-card {
    padding: 1.25rem 1rem;
  }

  /* Order items tighter */
  .order-item {
    padding: 1rem 0.75rem;
  }
}
