/* UMEZOO Corporate Website - Main Stylesheet */
/* Minimalist Design */

/* ========================================
   CSS Variables & Reset
   ======================================== */
:root {
  /* Colors */
  --color-primary: #1a1a1a;
  --color-secondary: #333333;
  --color-text: #1a1a1a;
  --color-text-light: #555555;
  --color-text-muted: #888888;
  --color-white: #ffffff;
  --color-bg: #f8f8f8;
  --color-bg-dark: #f0f0f0;
  --color-border: #e0e0e0;

  /* Typography - 日本語に最適化 */
  --font-primary: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Cormorant Garamond', 'Noto Serif JP', serif;

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 3rem;
  --spacing-xl: 5rem;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;

  /* Layout */
  --max-width: 1100px;
  --max-width-narrow: 800px;
  --header-height: 72px;
}

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

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

body {
  font-family: var(--font-primary);
  font-size: 1rem;
  color: var(--color-text);
  background-color: var(--color-white);
  line-height: 1.8;
  font-feature-settings: "palt";
  -webkit-font-smoothing: antialiased;
}

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

ul, ol {
  list-style: none;
}

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* ========================================
   Typography
   ======================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 500;
  line-height: 1.4;
}

h1 {
  font-size: 2.25rem;
}

h2 {
  font-size: 1.5rem;
}

h3 {
  font-size: 1.125rem;
}

p {
  font-size: 0.9375rem;
  line-height: 1.9;
}

/* ========================================
   Layout Components
   ======================================== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

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

/* ========================================
   Header
   ======================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background-color: var(--color-white);
  z-index: 1000;
  border-bottom: 1px solid var(--color-border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.header__logo {
  display: flex;
  align-items: center;
}

.header__logo img {
  height: 28px;
  width: auto;
}

/* Navigation */
.nav {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.nav__list {
  display: flex;
  gap: 2.5rem;
}

.nav__link {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--color-text-light);
  padding: 0.5rem 0;
  transition: color var(--transition-fast);
}

.nav__link:hover,
.nav__link--active {
  color: var(--color-text);
}

/* Nav Right Section (Language Switcher + Note Icon) */
.nav__right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav__note-link {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  transition: color var(--transition-fast);
}

.nav__note-link:hover {
  color: var(--color-text);
}

.nav__note-icon {
  width: 20px;
  height: 20px;
}

/* Language Switcher */
.lang-switcher {
  display: flex;
  gap: 0.25rem;
}

.lang-switcher__btn {
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.375rem 0.5rem;
  color: var(--color-text-muted);
  border: 1px solid transparent;
  transition: all var(--transition-fast);
}

.lang-switcher__btn:hover {
  color: var(--color-text);
}

.lang-switcher__btn--active {
  color: var(--color-text);
  border-color: var(--color-text);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 24px;
  height: 24px;
}

.menu-toggle__bar {
  width: 100%;
  height: 1.5px;
  background-color: var(--color-text);
  transition: all var(--transition-fast);
}

/* ========================================
   Splash Screen
   ======================================== */
.splash {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.splash.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.splash__logo {
  animation: splashFadeIn 1.2s ease forwards;
}

.splash__logo img {
  max-width: 240px;
  height: auto;
}

@keyframes splashFadeIn {
  0% {
    opacity: 0;
    transform: scale(0.95);
  }
  50% {
    opacity: 1;
    transform: scale(1);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: var(--header-height);
  background: var(--color-white);
  position: relative;
  overflow: hidden;
}

.hero--main {
  background: transparent;
}

.hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
}

.hero--main .hero__content {
  position: relative;
  z-index: 1;
  color: var(--color-white);
  text-align: center;
  max-width: 800px;
  padding: 2rem 1.5rem;
}

.hero__tagline {
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  opacity: 0.85;
  animation: heroFadeInUp 0.8s ease 0.3s forwards;
  opacity: 0;
}

.hero__title {
  font-size: 2.5rem;
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
  animation: heroFadeInUp 0.8s ease 0.5s forwards;
  opacity: 0;
}

.hero__desc {
  font-size: 0.9375rem;
  line-height: 2;
  opacity: 0.9;
  margin-bottom: 2rem;
  animation: heroFadeInUp 0.8s ease 0.7s forwards;
  opacity: 0;
}

.hero__br {
  display: none;
}

.btn--white {
  background: transparent;
  border: 1px solid var(--color-white);
  color: var(--color-white);
  animation: heroFadeInUp 0.8s ease 0.9s forwards;
  opacity: 0;
}

.btn--white:hover {
  background: var(--color-white);
  color: var(--color-text);
}

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

.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.625rem;
  letter-spacing: 0.15em;
  z-index: 1;
  animation: heroFadeInUp 0.8s ease 1.1s forwards;
  opacity: 0;
}

.hero--main .hero__scroll {
  color: var(--color-white);
}

.hero__scroll-line {
  width: 1px;
  height: 32px;
  background: currentColor;
  opacity: 0.6;
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0%, 100% { transform: scaleY(1); opacity: 0.6; }
  50% { transform: scaleY(0.5); opacity: 0.3; }
}

/* ========================================
   Features Section
   ======================================== */
.features {
  background-color: var(--color-bg);
  padding: var(--spacing-xl) 0;
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--color-border);
}

.feature-card {
  padding: 2rem;
  background: var(--color-white);
  text-align: center;
  transition: background var(--transition-normal);
}

.feature-card:hover {
  background: var(--color-bg);
}

.feature-card__icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: var(--color-text);
}

.feature-card__icon svg {
  stroke-width: 1.5;
}

.feature-card__title {
  font-size: 0.9375rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.feature-card__text {
  font-size: 0.8125rem;
  color: var(--color-text-light);
  line-height: 1.8;
}

/* ========================================
   CTA Section
   ======================================== */
.cta {
  text-align: center;
  background: var(--color-primary);
  color: var(--color-white);
  padding: var(--spacing-lg) 0 var(--spacing-xl);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cta__title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.cta__text {
  margin-bottom: 1.5rem;
  opacity: 0.75;
  font-size: 0.875rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  transition: all var(--transition-normal);
}

.btn--primary {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.btn--primary:hover {
  background-color: var(--color-secondary);
}

.btn--outline {
  background-color: transparent;
  border: 1px solid var(--color-white);
  color: var(--color-white);
}

.btn--outline:hover {
  background-color: var(--color-white);
  color: var(--color-primary);
}

/* ========================================
   Footer
   ======================================== */
.footer {
  background-color: var(--color-white);
  color: var(--color-text);
  padding: var(--spacing-md) 0;
}

/* Remove gap between CTA and Footer */
.cta + .footer {
  padding-top: 0;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer__brand {
  max-width: 360px;
}

.footer__logo {
  margin-bottom: 1rem;
}

.footer__logo img {
  height: 24px;
  width: auto;
}

.footer__desc {
  font-size: 0.8125rem;
  opacity: 0.7;
  line-height: 1.8;
}

.footer__social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  opacity: 0.7;
  transition: all var(--transition-fast);
}

.footer__social-link:hover {
  opacity: 1;
  background: var(--color-white);
  color: var(--color-primary);
}

.footer__social-icon {
  width: 16px;
  height: 16px;
}

.footer__nav-title {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  opacity: 0.5;
}

.footer__nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer__nav-link {
  font-size: 0.8125rem;
  opacity: 0.75;
  transition: opacity var(--transition-fast);
}

.footer__nav-link:hover {
  opacity: 1;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0;
  border-top: none;
}

.footer__copyright {
  font-size: 0.75rem;
  opacity: 0.5;
}

.footer__legal {
  display: flex;
  gap: 1.5rem;
}

.footer__legal-link {
  font-size: 0.75rem;
  opacity: 0.5;
  transition: opacity var(--transition-fast);
}

.footer__legal-link:hover {
  opacity: 0.8;
}

/* ========================================
   Page Hero
   ======================================== */
.page-hero {
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: var(--header-height);
  padding-bottom: 2rem;
  background: var(--color-white);
  text-align: center;
  border-bottom: 1px solid var(--color-border);
}

.page-hero__title {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
}

.page-hero__subtitle {
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
}

/* Page Hero with Background Image */
.page-hero--with-bg {
  position: relative;
  background: transparent;
  border-bottom: none;
}

.page-hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  filter: blur(2px);
}

.page-hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.55);
}

.page-hero--with-bg .container {
  position: relative;
  z-index: 1;
}

.page-hero--with-bg .page-hero__title {
  color: var(--color-white);
}

.page-hero--with-bg .page-hero__subtitle {
  color: rgba(255, 255, 255, 0.85);
}

/* ========================================
   Content Sections
   ======================================== */
.content-section {
  padding: var(--spacing-lg) 0;
}

.content-section__header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.content-section__title {
  font-size: 1.375rem;
  margin-bottom: 0.5rem;
}

.content-section__subtitle {
  color: var(--color-text-light);
  font-size: 0.875rem;
}

/* ========================================
   About Page
   ======================================== */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: var(--spacing-lg);
}

.about-intro__image {
  background: var(--color-bg);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-intro__image-placeholder {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  letter-spacing: 0.1em;
}

.about-intro__content h2 {
  font-size: 1.375rem;
  margin-bottom: 1.25rem;
}

.about-intro__content p {
  color: var(--color-text-light);
  margin-bottom: 1rem;
  font-size: 0.9375rem;
  line-height: 1.9;
}

/* Company Info */
.company-info {
  max-width: var(--max-width-narrow);
  margin: 0 auto;
}

.company-info__table {
  width: 100%;
}

.company-info__row {
  display: flex;
  border-bottom: 1px solid var(--color-border);
  padding: 1rem 0;
}

.company-info__label {
  width: 160px;
  flex-shrink: 0;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text);
}

.company-info__value {
  flex: 1;
  color: var(--color-text-light);
  font-size: 0.9375rem;
}

/* ========================================
   Work Page
   ======================================== */
.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.work-grid--3col {
  grid-template-columns: repeat(3, 1fr);
}

.work-card {
  position: relative;
  overflow: hidden;
  background: var(--color-bg);
  transition: all var(--transition-normal);
  display: block;
}

a.work-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.work-card--multi-link:hover {
  background: var(--color-bg-dark);
}

.work-card__image {
  aspect-ratio: 16/10;
  background-color: var(--color-primary);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.work-card__image-placeholder {
  color: var(--color-white);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  opacity: 0.5;
}

.work-card__content {
  padding: 1.25rem;
}

.work-card__meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.work-card__category {
  font-size: 0.6875rem;
  color: var(--color-text-muted);
  letter-spacing: 0.05em;
  background: var(--color-white);
  padding: 0.25rem 0.5rem;
}

.work-card__year {
  font-size: 0.6875rem;
  color: var(--color-text-muted);
}

.work-card__title {
  font-size: 0.9375rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

.work-card__text {
  font-size: 0.8125rem;
  color: var(--color-text-light);
  line-height: 1.7;
}

.work-card__links {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.875rem;
  padding-top: 0.875rem;
  border-top: 1px solid var(--color-border);
}

.work-card__links a {
  font-size: 0.75rem;
  color: var(--color-text);
  padding: 0.375rem 0.75rem;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  transition: all var(--transition-fast);
}

.work-card__links a:hover {
  background: var(--color-text);
  color: var(--color-white);
  border-color: var(--color-text);
}

/* ========================================
   Service Page
   ======================================== */
.service-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--color-border);
}

.service-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 2rem;
  padding: 2rem;
  background: var(--color-white);
}

.service-item__number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--color-text-muted);
  line-height: 1;
  font-weight: 400;
}

.service-item__title {
  font-size: 1.125rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.service-item__text {
  color: var(--color-text-light);
  margin-bottom: 1rem;
  font-size: 0.875rem;
  line-height: 1.8;
}

.service-item__features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.service-item__feature {
  font-size: 0.75rem;
  padding: 0.375rem 0.75rem;
  background: var(--color-bg);
  color: var(--color-text-light);
}

/* ========================================
   Career Page
   ======================================== */
.career-intro {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 2.5rem;
}

.career-intro h2 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.career-intro p {
  color: var(--color-text-light);
  font-size: 0.9375rem;
  line-height: 1.8;
}

.positions-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--color-border);
}

.position-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  background: var(--color-white);
  transition: all var(--transition-normal);
  cursor: pointer;
}

.position-card:hover {
  background: var(--color-bg);
  transform: translateX(4px);
}

.position-card__info {
  flex: 1;
}

.position-card__info h3 {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 0.375rem;
}

.position-card__summary {
  font-size: 0.8125rem;
  color: var(--color-text-light);
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.position-card__meta {
  display: flex;
  gap: 1rem;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

.position-card__arrow {
  color: var(--color-text-muted);
  transition: transform var(--transition-fast);
  flex-shrink: 0;
  margin-left: 1rem;
}

.position-card:hover .position-card__arrow {
  transform: translateX(4px);
  color: var(--color-text);
}

/* ========================================
   Career Modal
   ======================================== */
.career-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.career-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.career-modal__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
}

.career-modal__container {
  position: relative;
  width: 90%;
  max-width: 800px;
  max-height: 90vh;
  background: var(--color-white);
  overflow-y: auto;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.career-modal.is-open .career-modal__container {
  transform: translateY(0);
}

.career-modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-white);
  border-radius: 50%;
  z-index: 10;
  transition: all var(--transition-fast);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.career-modal__close:hover {
  background: var(--color-bg);
  transform: rotate(90deg);
}

.career-modal__content {
  padding: 0;
}

.career-modal__header {
  padding: 2rem 2rem 1.5rem;
  border-bottom: 1px solid var(--color-border);
}

.career-modal__meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.career-modal__type,
.career-modal__location {
  font-size: 0.75rem;
  padding: 0.375rem 0.75rem;
  background: var(--color-bg);
  color: var(--color-text-muted);
  letter-spacing: 0.05em;
}

.career-modal__title {
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 0.75rem;
}

.career-modal__role {
  font-size: 0.9375rem;
  color: var(--color-text-light);
  line-height: 1.7;
}

.career-modal__body {
  padding: 2rem;
}

.career-modal__section {
  margin-bottom: 2rem;
}

.career-modal__section:last-child {
  margin-bottom: 0;
}

.career-modal__section-title {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--color-border);
}

.career-modal__list {
  padding-left: 1.25rem;
}

.career-modal__list li {
  position: relative;
  margin-bottom: 0.5rem;
  font-size: 0.9375rem;
  color: var(--color-text-light);
  line-height: 1.7;
}

.career-modal__list li::before {
  content: '';
  position: absolute;
  left: -1rem;
  top: 0.7rem;
  width: 4px;
  height: 4px;
  background: var(--color-text-muted);
  border-radius: 50%;
}

.career-modal__subsection {
  margin-top: 1rem;
}

.career-modal__subsection-title {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}

.career-modal__footer {
  padding: 1.5rem 2rem;
  background: var(--color-bg);
  text-align: center;
}

.career-modal__apply {
  min-width: 240px;
}

/* ========================================
   Contact Page
   ======================================== */
.contact-content {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
}

.contact-content--centered {
  grid-template-columns: 1fr;
  max-width: 560px;
  margin: 0 auto;
}

.contact-form {
  background: var(--color-bg);
  padding: 2rem;
}

.contact-form h3 {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: inherit;
  font-size: 0.9375rem;
  border: 1px solid var(--color-border);
  border-radius: 0;
  background: var(--color-white);
  transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-text);
}

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

/* ========================================
   Legal Pages
   ======================================== */
.legal-content {
  max-width: var(--max-width-narrow);
  margin: 0 auto;
}

.legal-content h2 {
  font-size: 1.125rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 500;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content h3 {
  font-size: 1rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.legal-content p {
  margin-bottom: 1rem;
  color: var(--color-text-light);
  font-size: 0.9375rem;
  line-height: 1.8;
}

.legal-content ul {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.legal-content li {
  position: relative;
  margin-bottom: 0.5rem;
  color: var(--color-text-light);
  font-size: 0.9375rem;
  line-height: 1.8;
}

.legal-content li::before {
  content: '';
  position: absolute;
  left: -1rem;
  top: 0.7rem;
  width: 4px;
  height: 4px;
  background: var(--color-text-muted);
  border-radius: 50%;
}

/* ========================================
   News Page - Card Grid
   ======================================== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.news-card {
  position: relative;
  overflow: hidden;
  background: var(--color-bg);
  cursor: pointer;
  transition: all var(--transition-normal);
}

.news-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.news-card__image {
  aspect-ratio: 16/10;
  background-color: var(--color-primary);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.news-card__image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,0.03) 100%);
}

.news-card__image-placeholder {
  color: var(--color-white);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  opacity: 0.5;
}

.news-card__content {
  padding: 1.25rem;
}

.news-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.625rem;
}

.news-card__tag {
  font-size: 0.6875rem;
  color: var(--color-text-muted);
  letter-spacing: 0.05em;
  background: var(--color-white);
  padding: 0.25rem 0.5rem;
}

.news-card__date {
  font-size: 0.6875rem;
  color: var(--color-text-muted);
}

.news-card__title {
  font-size: 0.9375rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

.news-card__summary {
  font-size: 0.8125rem;
  color: var(--color-text-light);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ========================================
   News Modal
   ======================================== */
.news-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.news-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.news-modal__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
}

.news-modal__container {
  position: relative;
  width: 90%;
  max-width: 720px;
  max-height: 90vh;
  background: var(--color-white);
  overflow-y: auto;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.news-modal.is-open .news-modal__container {
  transform: translateY(0);
}

.news-modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-white);
  border-radius: 50%;
  z-index: 10;
  transition: all var(--transition-fast);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.news-modal__close:hover {
  background: var(--color-bg);
  transform: rotate(90deg);
}

.news-modal__content {
  padding: 0;
}

.news-modal__header {
  padding: 2rem 2rem 1.5rem;
}

.news-modal__meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.news-modal__tag {
  font-size: 0.75rem;
  color: var(--color-white);
  background: var(--color-primary);
  padding: 0.375rem 0.75rem;
  letter-spacing: 0.05em;
}

.news-modal__date {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

.news-modal__title {
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.5;
}

.news-modal__image {
  width: 100%;
  aspect-ratio: 16/9;
  background-size: cover;
  background-position: center;
  background-color: var(--color-bg);
}

.news-modal__body {
  padding: 2rem;
  font-size: 0.9375rem;
  line-height: 2;
  color: var(--color-text-light);
}

.news-modal__body p {
  margin-bottom: 1.5rem;
}

.news-modal__body p:last-child {
  margin-bottom: 0;
}

/* Legacy news-item styles (keep for backwards compatibility) */
.news-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--color-border);
}

.news-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 2rem;
  padding: 1.5rem 2rem;
  background: var(--color-white);
  transition: background var(--transition-fast);
}

.news-item:hover {
  background: var(--color-bg);
}

.news-item__date {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

.news-item__content {
  flex: 1;
}

.news-item__category {
  display: inline-block;
  font-size: 0.6875rem;
  padding: 0.25rem 0.5rem;
  background: var(--color-bg);
  color: var(--color-text-muted);
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.news-item__title {
  font-size: 0.9375rem;
  font-weight: 500;
  margin-bottom: 0.375rem;
}

.news-item__text {
  font-size: 0.8125rem;
  color: var(--color-text-light);
  line-height: 1.7;
}

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

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

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 1024px) {
  .features__grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    text-align: left;
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
  }

  .feature-card__icon {
    margin: 0;
    flex-shrink: 0;
  }

  .about-intro {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  .footer__brand {
    grid-column: 1 / -1;
  }

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

  .service-item__number {
    font-size: 2rem;
  }

  .contact-content {
    grid-template-columns: 1fr;
  }

  .work-grid--3col {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

@media (max-width: 768px) {
  :root {
    --header-height: 64px;
  }

  .nav {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-white);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
  }

  .nav.is-open {
    display: flex;
  }

  .nav__list {
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
  }

  .nav__link {
    font-size: 1rem;
  }

  .lang-switcher {
    margin-top: 1rem;
  }

  .menu-toggle {
    display: flex;
  }

  .menu-toggle.is-open .menu-toggle__bar:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
  }

  .menu-toggle.is-open .menu-toggle__bar:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.is-open .menu-toggle__bar:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -4px);
  }

  .hero__content {
    padding: 2rem 1.25rem;
  }

  .hero__logo img {
    max-width: 160px;
  }

  .page-hero {
    min-height: 200px;
  }

  .page-hero__title {
    font-size: 2rem;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  .work-grid,
  .work-grid--3col {
    grid-template-columns: 1fr;
  }

  .position-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .news-item {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .news-item__date {
    order: -1;
  }

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

  .news-modal__header {
    padding: 1.5rem;
  }

  .news-modal__title {
    font-size: 1.25rem;
  }

  .news-modal__body {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .company-info__row {
    flex-direction: column;
    gap: 0.375rem;
  }

  .company-info__label {
    width: auto;
  }

  .page-hero {
    min-height: 180px;
  }

  .page-hero__title {
    font-size: 1.75rem;
  }

  .content-section {
    padding: 2.5rem 0;
  }

  .service-item,
  .position-card,
  .news-item {
    padding: 1.25rem;
  }

  .contact-form {
    padding: 1.5rem;
  }
}

/* ========================================
   About Page - Story Section
   ======================================== */
.about-story {
  padding: var(--spacing-xl) 0;
  background: var(--color-white);
}

.about-story__content {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.about-story__title {
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.about-story__text {
  font-size: 0.9375rem;
  line-height: 2;
  color: var(--color-text-light);
  margin-bottom: 1.25rem;
}

.about-story__text:last-child {
  margin-bottom: 0;
}

/* ========================================
   About Page - Founder Section
   ======================================== */
.about-founder {
  padding: var(--spacing-xl) 0;
  background: var(--color-bg);
}

.about-founder__inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
}

.about-founder__image {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
}

.about-founder__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-founder__image-placeholder {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-bg-dark);
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: var(--color-text-muted);
  letter-spacing: 0.1em;
}

.about-founder__label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--color-text-muted);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

.about-founder__name {
  font-size: 2rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.about-founder__name-en {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
}

.about-founder__award {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
  padding: 1rem 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.about-founder__award-badge {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 0.375rem 0.75rem;
  background: var(--color-primary);
  color: var(--color-white);
}

.about-founder__award-title {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text);
}

.about-founder__bio {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.about-founder__bio p {
  font-size: 0.9375rem;
  line-height: 1.9;
  color: var(--color-text-light);
}

/* ========================================
   About Page - Values Section
   ======================================== */
.about-values {
  padding: var(--spacing-xl) 0;
  background: var(--color-white);
}

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

.value-card {
  padding: 2rem;
  background: var(--color-bg);
  transition: all var(--transition-normal);
  cursor: default;
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  background: var(--color-white);
}

.value-card__number {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
  line-height: 1;
  font-weight: 400;
}

.value-card__title {
  font-size: 1.125rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.value-card__text {
  font-size: 0.875rem;
  line-height: 1.8;
  color: var(--color-text-light);
}

/* ========================================
   About Page - Company Section
   ======================================== */
.about-company {
  padding: var(--spacing-xl) 0;
  background: var(--color-bg);
}

/* ========================================
   Scroll Fade In Animation
   ======================================== */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered animation delay for values */
.values-grid .value-card:nth-child(1) { transition-delay: 0s; }
.values-grid .value-card:nth-child(2) { transition-delay: 0.1s; }
.values-grid .value-card:nth-child(3) { transition-delay: 0.2s; }
.values-grid .value-card:nth-child(4) { transition-delay: 0.3s; }

/* ========================================
   About Page - Responsive
   ======================================== */
@media (max-width: 1024px) {
  .about-founder__inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-founder__image {
    max-width: 400px;
    margin: 0 auto;
  }

  .about-founder__content {
    text-align: center;
  }

  .about-founder__award {
    justify-content: center;
  }

  .about-founder__bio {
    text-align: left;
  }
}

@media (max-width: 768px) {
  .about-story__title {
    font-size: 1.25rem;
  }

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

  .about-founder__name {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .about-founder__image {
    aspect-ratio: 1/1;
  }

  .value-card {
    padding: 1.5rem;
  }
}

/* ========================================
   Partners Section - Infinite Scroll
   ======================================== */
.partners {
  background: var(--color-white);
  padding: var(--spacing-lg) 0 var(--spacing-xl);
  overflow: hidden;
}

.partners__label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  text-align: center;
  margin-bottom: var(--spacing-md);
}

.partners__track {
  display: flex;
  width: max-content;
  animation: partners-scroll 50s linear infinite;
}

.partners__logos {
  display: flex;
  align-items: center;
  gap: 6rem;
  padding: 0 3rem;
}

.partners__logo {
  height: 56px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  mix-blend-mode: multiply;
  transition: all 0.4s ease;
}

.partners__logo:hover {
  filter: grayscale(0%);
  opacity: 1;
}

.partners__logo--large {
  height: 110px;
  max-width: 320px;
}

.partners__logo--xlarge {
  height: 150px;
  max-width: 400px;
}

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

/* Pause animation on hover */
.partners:hover .partners__track {
  animation-play-state: paused;
}

/* Responsive */
@media (max-width: 768px) {
  .partners {
    padding: var(--spacing-md) 0 var(--spacing-lg);
  }

  .partners__logos {
    gap: 4rem;
    padding: 0 2rem;
  }

  .partners__logo {
    height: 48px;
    max-width: 160px;
  }
}

@media (max-width: 480px) {
  .partners__logos {
    gap: 3rem;
  }

  .partners__logo {
    height: 40px;
    max-width: 140px;
  }
}

/* ========================================
   News Filter
   ======================================== */
.news-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
  justify-content: center;
}

.news-filter__btn {
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-text-muted);
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: 2rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.news-filter__btn:hover {
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.news-filter__btn.is-active {
  color: var(--color-white);
  background: var(--color-primary);
  border-color: var(--color-primary);
}

/* External link card styles */
.news-card--external {
  cursor: pointer;
}

.news-card__external-link {
  display: block;
  margin-top: 0.75rem;
  font-size: 0.75rem;
  color: var(--color-primary);
  font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
  .news-filter {
    gap: 0.375rem;
  }

  .news-filter__btn {
    padding: 0.375rem 0.75rem;
    font-size: 0.75rem;
  }
}
