@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700;900&family=Outfit:wght@400;600;700;900&display=swap');

/* ==========================================================================
   Design Tokens & Variables
   ========================================================================== */
:root {
  --primary-color: #0b63f6;
  --primary-light: #eff6ff;
  --primary-gradient: linear-gradient(135deg, #0052d4, #4364f7, #6fb1fc);
  --primary-gradient-alt: linear-gradient(135deg, #0b63f6, #0052d4);
  --text-dark: #0f172a;
  --text-muted: #475569;
  --text-light: #94a3b8;
  --bg-white: #ffffff;
  --bg-light: #f8fafc;
  --bg-light-blue: #f0f7ff;
  --border-color: #e2e8f0;
  
  --font-base: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, "Helvetica Neue", YuGothic, "Yu Gothic", sans-serif;
  --font-en: 'Outfit', sans-serif;
  
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 12px 30px -10px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 40px -15px rgba(11, 99, 246, 0.12), 0 10px 15px -10px rgba(15, 23, 42, 0.04);
  --shadow-card-hover: 0 30px 60px -15px rgba(11, 99, 246, 0.18), 0 15px 30px -10px rgba(15, 23, 42, 0.08);
  
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  
  --container-max: 1200px;
}

/* ==========================================================================
   Reset CSS
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  font-family: var(--font-base);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--bg-white);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  margin-top: 0;
  margin-bottom: 0;
  font-weight: 700;
  line-height: 1.4;
}

p {
  margin-top: 0;
  margin-bottom: 0;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

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

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
  margin: 0;
  border: none;
  background: none;
}

button {
  cursor: pointer;
}

/* ==========================================================================
   Typography & Utilities
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.text-center { text-align: center; }
.text-right { text-align: right; }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }

/* Section Header */
.section-header {
  margin-bottom: 56px;
}
.section-header .sub-title {
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--primary-color);
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}
.section-header .main-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--text-dark);
  position: relative;
  display: inline-block;
  padding-bottom: 12px;
}
.section-header .main-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 3px;
  background-color: var(--primary-color);
  border-radius: var(--radius-full);
}
.section-header.text-center .main-title::after {
  left: 50%;
  transform: translateX(-50%);
}

.section-desc {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 600px;
  margin-top: 16px;
}
.section-header.text-center .section-desc {
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 36px;
  font-weight: 700;
  font-size: 16px;
  border-radius: var(--radius-full);
  transition: all var(--transition-normal);
  gap: 8px;
}

.btn-primary {
  background: var(--primary-gradient-alt);
  color: var(--bg-white);
  box-shadow: 0 4px 14px rgba(11, 99, 246, 0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(11, 99, 246, 0.4);
  opacity: 0.95;
}

.btn-secondary {
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  background-color: transparent;
}
.btn-secondary:hover {
  background-color: var(--primary-light);
  transform: translateY(-2px);
}

.btn-white {
  background-color: var(--bg-white);
  color: var(--primary-color);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
}
.btn-white:hover {
  background-color: var(--bg-light);
  transform: translateY(-2px);
}

.btn-text-link {
  font-weight: 700;
  font-size: 16px;
  color: var(--text-dark);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  position: relative;
  padding-bottom: 4px;
}
.btn-text-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary-color);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--transition-normal);
}
.btn-text-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}
.btn-text-link svg {
  transition: transform var(--transition-fast);
}
.btn-text-link:hover svg {
  transform: translateX(4px);
}

/* Scroll Animation classes */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}
.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Header Component
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: background-color var(--transition-normal), box-shadow var(--transition-normal);
}
.header.scrolled {
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid rgba(226, 232, 240, 0.5);
}
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}
.header .logo {
  display: flex;
  align-items: center;
}
.header .logo img {
  height: 40px;
  width: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-dark);
  position: relative;
  padding: 8px 0;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary-color);
  transform: scaleX(0);
  transition: transform var(--transition-fast);
}
.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.header .btn-contact {
  padding: 10px 24px;
  font-size: 14px;
  border-radius: var(--radius-full);
}

/* Mobile Nav */
.burger-menu {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  cursor: pointer;
  z-index: 1100;
}
.burger-menu span {
  width: 100%;
  height: 2px;
  background-color: var(--text-dark);
  border-radius: var(--radius-full);
  transition: all var(--transition-normal);
}
.burger-menu.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.burger-menu.active span:nth-child(2) {
  opacity: 0;
}
.burger-menu.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ==========================================================================
   Footer Component
   ========================================================================== */
.footer {
  background-color: #0b132a;
  color: #a0aec0;
  padding-top: 80px;
  padding-bottom: 40px;
  font-size: 15px;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 2fr;
  gap: 48px;
  margin-bottom: 60px;
}
.footer-logo {
  margin-bottom: 20px;
}
.footer-logo img {
  height: 40px;
  width: auto;
  filter: brightness(0) invert(1);
}
.footer-desc {
  line-height: 1.7;
  margin-bottom: 24px;
}
.footer-sns {
  display: flex;
  gap: 16px;
}
.sns-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-white);
  transition: var(--transition-fast);
}
.sns-icon:hover {
  background-color: var(--primary-color);
  transform: translateY(-3px);
}

.footer-nav-title {
  color: var(--bg-white);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 24px;
}
.footer-nav-list li {
  margin-bottom: 12px;
}
.footer-nav-list a:hover {
  color: var(--bg-white);
  padding-left: 4px;
}

.footer-info-item {
  margin-bottom: 16px;
  line-height: 1.6;
}
.footer-info-title {
  display: block;
  font-weight: 700;
  color: var(--bg-white);
  margin-bottom: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}
.footer-links {
  display: flex;
  gap: 24px;
}
.footer-links a:hover {
  color: var(--bg-white);
}

/* ==========================================================================
   Footer-Pre CTA Component
   ========================================================================== */
.pre-cta {
  background: var(--primary-gradient);
  color: var(--bg-white);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.pre-cta-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}
.pre-cta-text {
  max-width: 600px;
}
.pre-cta-title {
  font-size: 36px;
  font-weight: 900;
  margin-bottom: 16px;
}
.pre-cta-desc {
  font-size: 18px;
  opacity: 0.9;
  margin-bottom: 32px;
}
.pre-cta-image {
  flex-shrink: 0;
  width: 320px;
  margin-bottom: -110px; /* 女性の画像をフッターにはみ出させるデザイン調整 */
  position: relative;
  z-index: 10;
}
.pre-cta-image img {
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

/* ==========================================================================
   1. TOP PAGE (index.html)
   ========================================================================== */
/* Hero Section */
.hero {
  position: relative;
  padding-top: 120px;
  padding-bottom: 100px;
  background-color: var(--bg-light);
  overflow: hidden;
  min-height: 720px;
  display: flex;
  align-items: center;
}
.hero-content {
  position: relative;
  z-index: 10;
  width: 100%;
}
.hero-text {
  max-width: 620px;
}
.hero-title {
  font-size: 48px;
  font-weight: 900;
  color: var(--text-dark);
  line-height: 1.3;
  margin-bottom: 24px;
}
.hero-title span {
  color: var(--primary-color);
  position: relative;
  display: inline-block;
}
.hero-title span::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 100%;
  height: 8px;
  background-color: rgba(11, 99, 246, 0.15);
  z-index: -1;
}
.hero-desc {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 40px;
}
.hero-buttons {
  display: flex;
  gap: 20px;
  align-items: center;
}
.hero-image {
  position: absolute;
  top: 0;
  right: 0;
  width: 50vw;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 65% top;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.02) 2%, rgba(0, 0, 0, 1) 45%);
  mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.02) 2%, rgba(0, 0, 0, 1) 45%);
}

/* Stats Counter Section */
.stats {
  margin-top: -60px;
  position: relative;
  z-index: 20;
}
.stats-wrapper {
  background-color: var(--bg-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.stat-item {
  text-align: center;
  position: relative;
}
.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: 1px;
  height: 60px;
  background-color: var(--border-color);
}
.stat-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}
.stat-label svg {
  color: var(--primary-color);
}
.stat-number {
  font-family: var(--font-en);
  font-size: 44px;
  font-weight: 900;
  color: var(--primary-color);
  line-height: 1;
}
.stat-number span {
  font-size: 16px;
  font-family: var(--font-base);
  font-weight: 700;
  color: var(--text-dark);
  margin-left: 4px;
}

/* Service Preview Section */
.top-services {
  padding: 120px 0;
}
.top-services-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr; /* 1列目は説明、2〜4列目はカード */
  gap: 30px;
}
.services-desc-col {
  padding-right: 20px;
}
.service-card {
  background-color: var(--bg-light);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  border: 1px solid transparent;
}
.service-card:hover {
  background-color: var(--bg-white);
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: rgba(11, 99, 246, 0.1);
}
.service-card-img {
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 20px;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.service-card-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}
.service-card-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
  flex-grow: 1;
}
.service-card-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--bg-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-end;
  color: var(--text-dark);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}
.service-card:hover .service-card-link {
  background-color: var(--primary-color);
  color: var(--bg-white);
}

/* Strengths Section */
.top-strengths {
  background-color: var(--bg-light);
  padding: 120px 0;
}
.strengths-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.strength-card {
  background-color: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 40px 30px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}
.strength-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.strength-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: var(--primary-light);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}
.strength-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.5;
}
.strength-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Works Preview Section */
.top-works {
  padding: 120px 0;
}
.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.work-card {
  background-color: var(--bg-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}
.work-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(11, 99, 246, 0.1);
}
.work-card-img {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}
.work-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}
.work-card:hover .work-card-img img {
  transform: scale(1.05);
}
.work-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background-color: var(--bg-white);
  color: var(--primary-color);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
}
.work-card-content {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.work-card-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}
.work-card-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
  flex-grow: 1;
}
.work-results {
  background-color: var(--bg-light);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-bottom: 20px;
}
.work-result-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.work-result-item {
  text-align: center;
  flex: 1;
}
.work-result-item:not(:last-child) {
  border-right: 1px solid var(--border-color);
}
.work-result-label {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 4px;
  display: block;
}
.work-result-val {
  font-family: var(--font-en);
  font-size: 20px;
  font-weight: 900;
  color: var(--primary-color);
}
.work-result-val span {
  font-size: 12px;
  font-family: var(--font-base);
  font-weight: 700;
  color: var(--text-dark);
}
.work-card-link {
  font-weight: 700;
  font-size: 14px;
  color: var(--primary-color);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
}
.work-card-link svg {
  transition: transform var(--transition-fast);
}
.work-card:hover .work-card-link svg {
  transform: translateX(4px);
}

/* About Preview Section */
.top-about {
  background-color: var(--bg-light);
  padding: 120px 0;
}
.top-about-content {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
}
.top-about-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.top-about-text h3 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 24px;
  line-height: 1.4;
}
.top-about-text p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 40px;
}

/* ==========================================================================
   2. SERVICE PAGE (service.html)
   ========================================================================== */
.page-hero {
  padding-top: 140px;
  padding-bottom: 80px;
  background: linear-gradient(135deg, rgba(239, 246, 255, 0.7) 0%, rgba(255, 255, 255, 0.9) 100%);
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.page-hero-content {
  position: relative;
  z-index: 10;
  width: 100%;
}
.page-title-en {
  font-family: var(--font-en);
  font-size: 64px;
  font-weight: 900;
  letter-spacing: 0.05em;
  color: var(--primary-color);
  line-height: 1;
  text-transform: uppercase;
}
.page-title-ja {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-dark);
  margin-top: 8px;
  margin-bottom: 24px;
  display: block;
}
.page-hero-desc {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.8;
}
.page-hero-image {
  position: absolute;
  top: 0;
  right: 0;
  width: 50vw;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}
.page-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.02) 2%, rgba(0, 0, 0, 1) 45%);
  mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.02) 2%, rgba(0, 0, 0, 1) 45%);
}

/* Services Detail List */
.services-list-section {
  padding: 120px 0;
}
.service-detail-row {
  display: flex;
  align-items: center;
  gap: 80px;
  margin-bottom: 100px;
}
.service-detail-row:last-child {
  margin-bottom: 0;
}
.service-detail-row:nth-child(even) {
  flex-direction: row-reverse;
}
.service-detail-img {
  flex: 1;
}
.service-detail-img img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.service-detail-content {
  flex: 1.1;
}
.service-detail-num {
  font-family: var(--font-en);
  font-size: 56px;
  font-weight: 900;
  color: rgba(11, 99, 246, 0.15);
  line-height: 1;
  margin-bottom: 12px;
}
.service-detail-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
}
.service-detail-text {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 32px;
}
.service-check-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-weight: 700;
  font-size: 15px;
}
.service-check-list li svg {
  color: var(--primary-color);
  flex-shrink: 0;
}

/* Workflow Section */
.workflow-section {
  background-color: var(--bg-light);
  padding: 120px 0;
}
.workflow-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  position: relative;
}
.workflow-item {
  background-color: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 30px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  position: relative;
  z-index: 10;
}
.workflow-step {
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 700;
  background-color: var(--primary-light);
  color: var(--primary-color);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  display: inline-block;
  margin-bottom: 20px;
}
.workflow-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  color: var(--primary-color);
}
.workflow-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 12px;
}
.workflow-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   3. WORKS PAGE (works.html)
   ========================================================================== */
.works-section {
  padding: 120px 0;
}
/* Filter Tabs */
.filter-tabs {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}
.filter-btn {
  padding: 12px 28px;
  font-size: 14px;
  font-weight: 700;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
  background-color: var(--bg-white);
  color: var(--text-muted);
  transition: all var(--transition-fast);
}
.filter-btn:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}
.filter-btn.active {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--bg-white);
  box-shadow: 0 4px 12px rgba(11, 99, 246, 0.25);
}

.works-page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 60px;
}

/* Cumulative Stats */
.works-summary-stats {
  background-color: var(--bg-light-blue);
  border-radius: var(--radius-md);
  padding: 60px 40px;
  margin: 100px 0;
}
.works-summary-stats .stats-wrapper {
  background: transparent;
  box-shadow: none;
  padding: 0;
}
.works-summary-note {
  font-size: 12px;
  color: var(--text-light);
  text-align: center;
  margin-top: 24px;
}

/* Testimonials (Customer Voices) */
.testimonials-section {
  padding-bottom: 120px;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.testimonial-card {
  background-color: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 40px 30px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(226, 232, 240, 0.8);
  display: flex;
  flex-direction: column;
}
.testimonial-quote {
  color: var(--primary-color);
  width: 32px;
  height: 32px;
  margin-bottom: 24px;
  opacity: 0.5;
}
.testimonial-text {
  font-size: 15px;
  color: var(--text-dark);
  line-height: 1.8;
  margin-bottom: 32px;
  flex-grow: 1;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
}
.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  object-fit: cover;
}
.testimonial-meta {
  line-height: 1.4;
}
.testimonial-name {
  font-weight: 700;
  font-size: 15px;
  display: block;
}
.testimonial-title {
  font-size: 12px;
  color: var(--text-muted);
}

/* ==========================================================================
   4. ABOUT PAGE (about.html)
   ========================================================================== */
/* Representative Message */
.representative-section {
  padding: 120px 0;
}
.rep-container {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
}
.rep-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.rep-message h3 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 24px;
}
.rep-text p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 20px;
}
.rep-sign {
  margin-top: 32px;
  font-weight: 700;
}
.rep-sign-title {
  font-size: 13px;
  color: var(--text-muted);
  display: block;
}
.rep-sign-name {
  font-size: 20px;
  margin-top: 4px;
}

/* Company Overview */
.company-section {
  background-color: var(--bg-light);
  padding: 120px 0;
}
.company-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}
.overview-table {
  width: 100%;
  border-collapse: collapse;
}
.overview-table tr {
  border-bottom: 1px solid var(--border-color);
}
.overview-table th, .overview-table td {
  padding: 20px 0;
  font-size: 15px;
}
.overview-table th {
  text-align: left;
  width: 150px;
  color: var(--text-dark);
  font-weight: 700;
  vertical-align: top;
}
.overview-table td {
  color: var(--text-muted);
}
.company-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

/* Mission Section */
.mission-section {
  padding: 120px 0;
}
.mission-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.mission-card {
  text-align: center;
  padding: 40px 30px;
  background-color: var(--bg-light);
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
}
.mission-card:hover {
  background-color: var(--bg-white);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.mission-icon {
  width: 56px;
  height: 56px;
  background-color: var(--primary-light);
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}
.mission-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
}
.mission-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Access Section */
.access-section {
  padding-bottom: 120px;
}
.access-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
}
.access-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.access-item {
  display: flex;
  gap: 16px;
  margin-bottom: 30px;
}
.access-icon {
  color: var(--primary-color);
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  margin-top: 2px;
}
.access-text-title {
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 4px;
  display: block;
}
.access-text-detail {
  font-size: 15px;
  color: var(--text-muted);
}
.access-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 16/10;
}
.access-map iframe, .access-map img {
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

/* ==========================================================================
   5. RECRUIT PAGE (recruit.html)
   ========================================================================== */
.recruit-mv-section {
  padding: 120px 0;
}
/* Work Environment */
.environment-section {
  background-color: var(--bg-light);
  padding: 120px 0;
}
.env-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}
.env-left h3 {
  font-size: 32px;
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1.4;
  margin-bottom: 24px;
}
.env-left p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 40px;
}
.env-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.env-feature-card {
  display: flex;
  gap: 16px;
  background-color: var(--bg-white);
  padding: 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
.env-feature-icon {
  color: var(--primary-color);
  flex-shrink: 0;
}
.env-feature-title {
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 4px;
}
.env-feature-desc {
  font-size: 12px;
  color: var(--text-muted);
}

.env-images {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.env-img-main img {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.env-img-sub-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.env-img-sub-row img {
  border-radius: var(--radius-md);
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

/* Positions Section */
.positions-section {
  padding: 120px 0;
}
.positions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.position-card {
  background-color: var(--bg-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
}
.position-card:hover {
  transform: translateY(-6px);
  border-color: rgba(11, 99, 246, 0.15);
  box-shadow: var(--shadow-md);
}
.position-tags {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}
.position-tag {
  font-size: 10px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: var(--radius-full);
  background-color: var(--bg-light);
  color: var(--text-muted);
}
.position-tag.blue {
  background-color: var(--primary-light);
  color: var(--primary-color);
}
.position-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
}
.position-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
  flex-grow: 1;
}
.position-link {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-color);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
}
.position-link svg {
  transition: transform var(--transition-fast);
}
.position-card:hover .position-link svg {
  transform: translateX(4px);
}

/* Entry Flow Section */
.flow-section {
  padding: 120px 0;
  background-color: var(--bg-light);
}
.flow-container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}
.flow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.flow-item {
  background-color: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 24px 16px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.flow-step {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 700;
  color: var(--primary-color);
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}
.flow-icon {
  width: 40px;
  height: 40px;
  background-color: var(--primary-light);
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.flow-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
}
.flow-desc {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.6;
}

.flow-cta-card {
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 40px 30px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 320px;
}
.flow-cta-content {
  position: relative;
  z-index: 10;
}
.flow-cta-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
}
.flow-cta-desc {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.6;
}
.flow-cta-img {
  position: absolute;
  right: -20px;
  bottom: -40px;
  width: 180px;
  z-index: 1;
}

/* ==========================================================================
   6. CONTACT PAGE (contact.html)
   ========================================================================== */
.contact-section {
  padding: 120px 0;
}
.contact-container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
}

/* Contact Form */
.contact-form-wrapper {
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  padding: 48px;
}
.contact-form-title {
  font-size: 24px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 12px;
}
.contact-form-title::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 30px;
  height: 3px;
  background-color: var(--primary-color);
  border-radius: var(--radius-full);
}
.form-group {
  margin-bottom: 24px;
}
.form-label-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}
.form-label {
  font-weight: 700;
  font-size: 15px;
  color: var(--text-dark);
}
.form-badge-required {
  font-size: 10px;
  background-color: #ef4444;
  color: var(--bg-white);
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 700;
}
.form-control {
  width: 100%;
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  background-color: var(--bg-light);
  font-size: 15px;
  transition: all var(--transition-fast);
}
.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  background-color: var(--bg-white);
  box-shadow: 0 0 0 3px rgba(11, 99, 246, 0.1);
}
textarea.form-control {
  min-height: 150px;
  resize: vertical;
}
.form-consent {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 32px;
  text-align: center;
}
.form-consent a {
  color: var(--primary-color);
  font-weight: 700;
}
.form-submit-btn {
  width: 100%;
  padding: 18px;
}

/* Sidebar Info Card */
.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.sidebar-card {
  background-color: var(--bg-light-blue);
  border-radius: var(--radius-lg);
  padding: 40px 30px;
  box-shadow: var(--shadow-sm);
}
.sidebar-card-title {
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 24px;
}
.sidebar-check-list {
  margin-bottom: 30px;
}
.sidebar-check-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-weight: 700;
  font-size: 15px;
}
.sidebar-check-list li svg {
  color: var(--primary-color);
}
.sidebar-illustration {
  width: 160px;
  height: auto;
  margin: 0 auto 30px;
}
.sidebar-note {
  font-size: 13px;
  color: var(--text-muted);
  background-color: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: center;
  line-height: 1.6;
}

/* Quick Contacts */
.quick-contacts-section {
  background-color: var(--bg-light);
  padding: 80px 0;
}
.quick-contacts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.quick-contact-card {
  background-color: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 40px 30px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  border: 1px solid transparent;
}
.quick-contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(11, 99, 246, 0.1);
}
.quick-contact-icon {
  width: 56px;
  height: 56px;
  background-color: var(--primary-light);
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}
.quick-contact-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}
.quick-contact-val {
  font-size: 24px;
  font-weight: 900;
  color: var(--primary-color);
  margin-bottom: 12px;
}
.quick-contact-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  background-color: var(--bg-light);
  color: var(--text-muted);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 8px;
}
.quick-contact-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* FAQ Card Button */
.faq-banner-section {
  padding: 80px 0;
}
.faq-banner {
  background-color: var(--bg-light);
  border-radius: var(--radius-md);
  padding: 30px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: var(--shadow-sm);
}
.faq-banner-left {
  display: flex;
  align-items: center;
  gap: 24px;
}
.faq-banner-icon {
  width: 56px;
  height: 56px;
  background-color: var(--primary-light);
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  flex-shrink: 0;
}
.faq-banner-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
}
.faq-banner-desc {
  font-size: 13px;
  color: var(--text-muted);
}

/* ==========================================================================
   Responsive Media Queries
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-title { font-size: 40px; }
  .stats-wrapper { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .stat-item:nth-child(2)::after { display: none; }
  .top-services-grid { grid-template-columns: 1fr 1fr; }
  .services-desc-col { grid-column: span 2; margin-bottom: 20px; }
  .strengths-grid { grid-template-columns: repeat(2, 1fr); }
  .works-grid, .works-page-grid { grid-template-columns: repeat(2, 1fr); }
  .top-about-content, .page-hero-content, .service-detail-row, .company-container, .rep-container, .access-grid, .env-container, .flow-container, .contact-container {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .service-detail-row:nth-child(even) { flex-direction: column; }
  .rep-image, .company-image { max-width: 500px; margin: 0 auto; }
  .env-images { max-width: 600px; margin: 0 auto; }
  .workflow-grid, .flow-grid { grid-template-columns: repeat(3, 1fr); }
  .positions-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .quick-contacts-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  /* Navigation */
  .burger-menu { display: flex; }
  .nav-menu {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: var(--bg-white);
    flex-direction: column;
    padding: 40px 24px;
    gap: 24px;
    transform: translateX(100%);
    transition: transform var(--transition-normal);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
  }
  .nav-menu.active {
    transform: translateX(0);
  }
  .header .btn-contact {
    display: none;
  }
  
  .hero-content { grid-template-columns: 1fr; gap: 40px; }
  .hero-buttons { flex-direction: column; align-items: stretch; }
  .hero-buttons .btn { width: 100%; }
  
  .stats-wrapper { padding: 30px 20px; }
  .stat-item::after { display: none !important; }
  .stat-number { font-size: 36px; }
  
  .top-services-grid { grid-template-columns: 1fr; }
  .services-desc-col { grid-column: span 1; }
  
  .strengths-grid { grid-template-columns: 1fr; }
  .works-grid, .works-page-grid { grid-template-columns: 1fr; }
  
  .pre-cta-content { flex-direction: column; text-align: center; gap: 40px; }
  .pre-cta-image { margin-bottom: -80px; }
  .pre-cta-title { font-size: 28px; }
  
  .workflow-grid, .flow-grid { grid-template-columns: 1fr; }
  .positions-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .quick-contacts-grid { grid-template-columns: 1fr; }
  
  .overview-table th { width: 100px; font-size: 14px; }
  .overview-table td { font-size: 14px; }
  .contact-form-wrapper { padding: 24px; }
  
  .faq-banner { flex-direction: column; gap: 24px; text-align: center; }
  .faq-banner-left { flex-direction: column; }
  .faq-banner-left { gap: 16px; }
  
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 20px; text-align: center; }
  
  .hero {
    padding-top: 100px;
    padding-bottom: 60px;
    min-height: auto;
    display: block;
  }
  .hero-content {
    display: block;
  }
  .hero-image {
    position: relative;
    width: 100%;
    height: auto;
    margin-top: 40px;
  }
  .hero-image img {
    height: auto;
    object-fit: contain;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.02) 2%, rgba(0, 0, 0, 1) 30%);
    mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.02) 2%, rgba(0, 0, 0, 1) 30%);
  }

  .page-hero {
    padding-top: 120px;
    padding-bottom: 40px;
    min-height: auto;
    display: block;
  }
  .page-hero-content {
    display: block;
  }
  .page-hero-image {
    position: relative;
    width: 100%;
    height: auto;
    margin-top: 40px;
  }
  .page-hero-image img {
    height: auto;
    object-fit: contain;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.02) 2%, rgba(0, 0, 0, 1) 30%);
    mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.02) 2%, rgba(0, 0, 0, 1) 30%);
  }
}
