/* =============================================================
   MAYUZUMI KANAGATA — Corporate Website
   精密さと伝統感、丁寧、信頼をテーマにしたデザイン
   ============================================================= */

/* ---- Scrollbar ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #0e1a2e; }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }

/* ---- Custom Properties ---- */
:root {
  --navy:        #1a2a4a;
  --navy-mid:    #243659;
  --navy-light:  #2c4470;
  --gold:        #b8903a;
  --gold-light:  #d4aa5c;
  --gold-pale:   #f0e0b0;
  --white:       #ffffff;
  --off-white:   #f8f6f1;
  --gray-light:  #eeece8;
  --gray-mid:    #cccccc;
  --text-dark:   #1a1a1a;
  --text-mid:    #4a4a4a;
  --text-light:  #888888;
  --font-serif:  'Noto Serif JP', 'Georgia', serif;
  --font-sans:   'Noto Sans JP', 'Helvetica Neue', sans-serif;
  --font-en:     'Cormorant Garamond', Georgia, serif;
  --transition:  0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --shadow-sm:   0 2px 12px rgba(0,0,0,0.08);
  --shadow-md:   0 8px 32px rgba(0,0,0,0.12);
  --shadow-lg:   0 16px 48px rgba(0,0,0,0.18);
}

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

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

body {
  font-family: var(--font-sans);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.8;
  overflow-x: hidden;
}

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

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ---- Container ---- */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ---- Section Base ---- */
.section {
  padding: 100px 0;
}

/* ---- Section Header ---- */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-label {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.section-header--light .section-title {
  color: var(--white);
}

.section-header--light .section-label {
  color: var(--gold-light);
}

.section-line {
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  margin: 0 auto;
}

/* =============================================================
   HEADER
   ============================================================= */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 40px;
  height: 72px;
  display: flex;
  align-items: center;
  transition: background var(--transition), box-shadow var(--transition);
}

#site-header.scrolled {
  background: rgba(26, 42, 74, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.25);
}

#site-header:not(.scrolled) {
  background: transparent;
}

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

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-mark {
  width: 42px; height: 42px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-en);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.logo-mark--sm {
  width: 36px; height: 36px;
  font-size: 1.2rem;
}

.logo-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.logo-ja {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.05em;
  line-height: 1.2;
}

.logo-en {
  font-family: var(--font-en);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  line-height: 1;
}

/* Nav */
#main-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
}

#main-nav a {
  display: inline-block;
  padding: 8px 16px;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.9);
  font-weight: 400;
  position: relative;
  transition: color var(--transition);
}

#main-nav a::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 80%;
  height: 1px;
  background: var(--gold-light);
  transition: transform var(--transition);
}

#main-nav a:hover { color: var(--gold-light); }
#main-nav a:hover::after { transform: translateX(-50%) scaleX(1); }

.nav-contact {
  margin-left: 8px;
  padding: 8px 20px !important;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 2px;
  transition: background var(--transition), border-color var(--transition), color var(--transition) !important;
}

.nav-contact:hover {
  background: var(--gold) !important;
  border-color: var(--gold) !important;
  color: var(--white) !important;
}

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

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 26px; height: 1.5px;
  background: var(--white);
  transition: var(--transition);
}

.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile Nav */
.mobile-nav {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 999;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.mobile-nav.open {
  opacity: 1;
  pointer-events: all;
}

.mobile-nav ul {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-nav a {
  display: block;
  padding: 16px 40px;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--white);
  letter-spacing: 0.12em;
  transition: color var(--transition);
}

.mobile-nav a:hover { color: var(--gold-light); }

/* =============================================================
   HERO
   ============================================================= */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-slider {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease, transform 8s ease;
  transform: scale(1.05);
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10,18,36,0.72) 0%,
    rgba(26,42,74,0.55) 50%,
    rgba(10,18,36,0.45) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  padding: 0 20px;
  max-width: 800px;
}

.hero-eyebrow {
  font-family: var(--font-en);
  font-size: 0.85rem;
  letter-spacing: 0.35em;
  color: var(--gold-light);
  text-transform: uppercase;
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.9s 0.4s forwards;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.06em;
  margin-bottom: 28px;
  overflow: hidden;
}

.hero-title-line {
  display: block;
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp 0.9s forwards;
}

.hero-title-line:nth-child(1) { animation-delay: 0.7s; }
.hero-title-line:nth-child(2) { animation-delay: 0.95s; }

.hero-sub {
  font-size: clamp(0.85rem, 2vw, 1rem);
  line-height: 2;
  color: rgba(255,255,255,0.8);
  letter-spacing: 0.1em;
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeUp 0.9s 1.2s forwards;
}

.hero-btn {
  display: inline-block;
  padding: 14px 48px;
  border: 1px solid rgba(255,255,255,0.6);
  color: var(--white);
  font-size: 0.82rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-family: var(--font-en);
  transition: background var(--transition), border-color var(--transition);
  opacity: 0;
  animation: fadeUp 0.9s 1.4s forwards;
}

.hero-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
}

/* Hero gold accent bottom */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), var(--gold-light), var(--gold), transparent);
  z-index: 3;
  opacity: 0.7;
}

/* Hero Dots */
.hero-dots {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  gap: 10px;
}

.dot {
  width: 24px; height: 2px;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: background var(--transition), width var(--transition);
}

.dot.active {
  background: var(--gold-light);
  width: 40px;
}

/* Hero Scroll Indicator */
.hero-scroll {
  position: absolute;
  right: 40px;
  bottom: 40px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.5);
}

.hero-scroll span {
  font-family: var(--font-en);
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  writing-mode: vertical-lr;
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,0.3);
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gold-light);
  animation: scrollLine 2s infinite;
}

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

/* =============================================================
   PHILOSOPHY BAND
   ============================================================= */
.philosophy-band {
  background: var(--navy);
  padding: 64px 0;
}

.philosophy-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.philosophy-item {
  padding: 32px 36px;
  border-right: 1px solid rgba(255,255,255,0.08);
  text-align: center;
  transition: background var(--transition);
}

.philosophy-item:last-child { border-right: none; }

.philosophy-item:hover { background: rgba(255,255,255,0.04); }

.philosophy-item::before {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: var(--gold);
  margin: 0 auto 20px;
  opacity: 0.6;
  transition: width var(--transition), opacity var(--transition);
}

.philosophy-item:hover::before {
  width: 48px;
  opacity: 1;
}

.philosophy-icon {
  width: 48px; height: 48px;
  color: var(--gold-light);
  margin: 0 auto 16px;
}

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

.philosophy-item h3 {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.philosophy-item p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.8;
  letter-spacing: 0.04em;
}

/* =============================================================
   ABOUT
   ============================================================= */
.about-section {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.about-image-col {
  position: relative;
  padding-bottom: 40px;
}

.about-img-frame {
  position: relative;
  border-radius: 2px;
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-lg);
}

.about-img-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.about-img-frame:hover img { transform: scale(1.04); }

.about-img-sub {
  position: absolute;
  bottom: -28px;
  right: -28px;
  width: 44%;
  aspect-ratio: 4/3;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 4px solid var(--white);
}

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

.about-text-col {
  padding-top: 20px;
}

.about-heading {
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 2.5vw, 1.65rem);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.5;
  letter-spacing: 0.06em;
  margin-bottom: 24px;
}

.about-lead {
  font-size: 1rem;
  font-weight: 500;
  color: var(--navy-mid);
  margin-bottom: 20px;
  line-height: 1.9;
}

.about-text-col p {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 2;
  margin-bottom: 16px;
}

.about-motto {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 32px;
  padding: 20px 24px;
  background: var(--off-white);
  border-left: 3px solid var(--gold);
}

.motto-line {
  display: none;
}

.about-motto p {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.1em;
  margin: 0;
}

/* =============================================================
   BUSINESS
   ============================================================= */
.business-section {
  position: relative;
  background: var(--navy);
  overflow: hidden;
}

.business-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(26,42,74,0.95) 0%, rgba(26,42,74,0.88) 100%),
    url('') center/cover no-repeat;
  z-index: 0;
}

.business-section .container {
  position: relative;
  z-index: 1;
}

.business-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 48px;
}

.business-card {
  border-radius: 2px;
  overflow: hidden;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  transition: transform var(--transition), box-shadow var(--transition);
}

.business-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.business-card-img {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.business-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.business-card:hover .business-card-img img { transform: scale(1.06); }

.business-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,42,74,0.6) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity var(--transition);
}

.business-card:hover .business-card-overlay { opacity: 1; }

.business-card-overlay span {
  font-family: var(--font-en);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  color: var(--gold-light);
  text-transform: uppercase;
}

.business-card-body {
  padding: 24px 28px 28px;
}

.business-card-body h3 {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.business-card-body p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.9;
}

/* Feature Tags */
.business-features {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.feature-tag {
  padding: 8px 20px;
  border: 1px solid rgba(184,144,58,0.5);
  color: var(--gold-light);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  border-radius: 1px;
  transition: background var(--transition), border-color var(--transition);
  cursor: default;
}

.feature-tag:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
}

/* =============================================================
   TECHNOLOGY / EQUIPMENT
   ============================================================= */
.technology-section {
  background: var(--off-white);
}

.tech-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}

.tech-heading {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.5;
  letter-spacing: 0.06em;
  margin-bottom: 20px;
}

.tech-content p {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 2;
  margin-bottom: 16px;
}

.tech-highlight {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--gray-mid);
  margin-top: 36px;
  border-radius: 2px;
  overflow: hidden;
}

.tech-highlight-item {
  padding: 24px 16px;
  text-align: center;
  border-right: 1px solid var(--gray-mid);
  background: var(--white);
}

.tech-highlight-item:last-child { border-right: none; }

.tech-num {
  display: block;
  font-family: var(--font-en);
  font-size: 1.05rem;
  color: var(--navy);
  letter-spacing: 0.04em;
  margin-bottom: 6px;
  line-height: 1.2;
}

.tech-num strong {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--gold);
}

.tech-num-label {
  display: block;
  font-size: 0.72rem;
  color: var(--text-light);
  letter-spacing: 0.06em;
}

/* Equipment Table */
.equipment-col { }

.equipment-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.08em;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
}

.equipment-table {
  border: 1px solid var(--gray-mid);
  border-radius: 2px;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.equipment-row {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 0;
  border-bottom: 1px solid var(--gray-light);
  align-items: center;
}

.equipment-row:last-child { border-bottom: none; }

.equipment-row--header {
  background: var(--navy);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.7);
}

.equipment-row--header span { padding: 10px 16px; }

.equipment-row span {
  padding: 14px 16px;
  font-size: 0.82rem;
  line-height: 1.6;
}

.equipment-row span:first-child {
  border-right: 1px solid var(--gray-light);
  background: var(--off-white);
  font-weight: 500;
  color: var(--navy);
}

.equipment-row--header span:first-child {
  border-right: 1px solid rgba(255,255,255,0.1);
  background: transparent;
  color: rgba(255,255,255,0.7);
}

.equipment-row span small {
  display: block;
  font-size: 0.72rem;
  color: var(--text-light);
  margin-top: 2px;
}

.equipment-row--highlight {
  background: rgba(184,144,58,0.06);
}

.equipment-row--highlight span:first-child {
  background: rgba(184,144,58,0.1);
}

.eq-category {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.eq-new {
  display: inline-block;
  background: var(--gold);
  color: var(--white);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 2px 6px;
  border-radius: 1px;
  line-height: 1.4;
}

/* =============================================================
   YASDA HIGHLIGHT
   ============================================================= */
.yasda-section {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.yasda-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.yasda-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
  transition: transform 8s ease;
}

.yasda-section:hover .yasda-video { transform: scale(1); }

.yasda-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(10,18,36,0.92) 0%,
    rgba(26,42,74,0.82) 50%,
    rgba(10,18,36,0.5) 100%
  );
}

.yasda-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
  padding: 80px 80px;
  color: var(--white);
}

.yasda-label {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  color: var(--gold-light);
  text-transform: uppercase;
  padding: 6px 14px;
  border: 1px solid rgba(184,144,58,0.5);
  margin-bottom: 24px;
}

.yasda-content h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 600;
  letter-spacing: 0.06em;
  margin-bottom: 20px;
  line-height: 1.4;
}

.yasda-content p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.75);
  line-height: 2;
  margin-bottom: 28px;
}

.yasda-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.yasda-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.85);
}

.yasda-list li::before {
  content: '';
  width: 20px; height: 1px;
  background: var(--gold-light);
  flex-shrink: 0;
}

/* =============================================================
   GALLERY
   ============================================================= */
.gallery-section {
  background: var(--white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto;
  gap: 12px;
}

.gallery-item {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 2px;
  cursor: pointer;
}

.gallery-item--large {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: auto;
}

.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.gallery-item:hover img { transform: scale(1.07); }

.gallery-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 32px 16px 14px;
  background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, transparent 100%);
  font-size: 0.75rem;
  color: rgba(255,255,255,0.9);
  letter-spacing: 0.08em;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity var(--transition), transform var(--transition);
}

.gallery-item:hover .gallery-caption {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================================
   COMPANY OVERVIEW
   ============================================================= */
.company-section {
  background: var(--off-white);
}

.company-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 64px;
  align-items: start;
}

.company-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  border-radius: 2px;
  overflow: hidden;
}

.company-table th,
.company-table td {
  padding: 18px 24px;
  font-size: 0.85rem;
  border-bottom: 1px solid var(--gray-light);
  vertical-align: top;
  line-height: 1.8;
}

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

.company-table th {
  width: 140px;
  background: var(--navy);
  color: rgba(255,255,255,0.8);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.company-table td {
  color: var(--text-mid);
}

.company-table td a {
  color: var(--navy);
  border-bottom: 1px solid var(--gray-mid);
  transition: color var(--transition), border-color var(--transition);
}

.company-table td a:hover {
  color: var(--gold);
  border-color: var(--gold);
}

.company-img-col img {
  width: 100%;
  border-radius: 2px;
  box-shadow: var(--shadow-md);
  margin-bottom: 16px;
}

.company-map-note {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-mid);
  padding: 12px 16px;
  background: var(--white);
  border-radius: 2px;
  box-shadow: var(--shadow-sm);
}

.company-map-note svg {
  width: 18px; height: 18px;
  color: var(--gold);
  flex-shrink: 0;
}

/* =============================================================
   CONTACT
   ============================================================= */
.contact-section {
  background: var(--navy);
  padding: 100px 0;
}

.contact-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.contact-text .section-label {
  display: block;
  margin-bottom: 16px;
}

.contact-text h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.08em;
  margin-bottom: 24px;
}

.contact-text p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  line-height: 2;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 2px;
  transition: background var(--transition);
}

.contact-item:hover { background: rgba(255,255,255,0.08); }

.contact-icon {
  width: 40px; height: 40px;
  background: rgba(184,144,58,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 18px; height: 18px;
  color: var(--gold-light);
}

.contact-label {
  display: block;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.12em;
  margin-bottom: 4px;
}

.contact-value {
  display: block;
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--white);
  letter-spacing: 0.05em;
  font-weight: 400;
}

a.contact-value:hover { color: var(--gold-light); }

/* =============================================================
   FOOTER
   ============================================================= */
.site-footer {
  background: #0e1a2e;
  padding: 56px 0 0;
}

.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 40px 48px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-tagline {
  font-family: var(--font-serif);
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.12em;
  margin-top: 8px;
}

.footer-nav ul {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.footer-nav a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.1em;
  transition: color var(--transition);
}

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

.footer-bottom {
  max-width: 1160px;
  margin: 0 auto;
  padding: 20px 40px;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.1em;
}

/* =============================================================
   PAGE TOP BUTTON
   ============================================================= */
.page-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 500;
  width: 48px; height: 48px;
  background: var(--navy);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 2px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity var(--transition), transform var(--transition), background var(--transition);
}

.page-top.visible {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.page-top:hover { background: var(--gold); }

.page-top svg {
  width: 18px; height: 18px;
  color: var(--white);
}

/* =============================================================
   ANIMATIONS
   ============================================================= */
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

[data-aos] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-aos].aos-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.philosophy-item:nth-child(1)[data-aos] { transition-delay: 0s; }
.philosophy-item:nth-child(2)[data-aos] { transition-delay: 0.1s; }
.philosophy-item:nth-child(3)[data-aos] { transition-delay: 0.2s; }
.philosophy-item:nth-child(4)[data-aos] { transition-delay: 0.3s; }

.business-card:nth-child(1)[data-aos] { transition-delay: 0s; }
.business-card:nth-child(2)[data-aos] { transition-delay: 0.12s; }
.business-card:nth-child(3)[data-aos] { transition-delay: 0.24s; }

/* =============================================================
   RESPONSIVE
   ============================================================= */
@media (max-width: 1024px) {
  .about-grid,
  .tech-grid { grid-template-columns: 1fr; gap: 48px; }

  .about-img-sub { bottom: -20px; right: -16px; }

  .company-grid { grid-template-columns: 1fr; }
  .company-img-col { max-width: 400px; }

  .contact-inner { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 900px) {
  .philosophy-inner { grid-template-columns: repeat(2, 1fr); }
  .philosophy-item:nth-child(2) { border-right: none; }

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

  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item--large { grid-column: span 2; grid-row: span 1; }

  .footer-inner { flex-direction: column; }
  .footer-nav ul { gap: 20px; }
}

@media (max-width: 768px) {
  .container { padding: 0 24px; }
  .section { padding: 72px 0; }

  #site-header { padding: 0 24px; }
  #main-nav { display: none; }
  .hamburger { display: flex; }

  .philosophy-inner { padding: 0 24px; }

  .contact-inner { padding: 0 24px; }
  .footer-inner { padding: 0 24px 40px; }
  .footer-bottom { padding: 16px 24px; }

  .yasda-content { padding: 60px 32px; }

  .hero-scroll { display: none; }

  .tech-highlight { grid-template-columns: 1fr; }
  .tech-highlight-item { border-right: none; border-bottom: 1px solid var(--gray-mid); }
  .tech-highlight-item:last-child { border-bottom: none; }
}

/* ---- Reduced Motion ---- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  [data-aos] { opacity: 1 !important; transform: none !important; }
  .hero-eyebrow, .hero-title-line, .hero-sub, .hero-btn {
    opacity: 1 !important; transform: none !important;
  }
}

/* ---- Focus Styles ---- */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 3px;
}

/* ---- Print ---- */
@media print {
  .hero-slider, .hero-scroll, .page-top, #site-header { display: none; }
  [data-aos] { opacity: 1 !important; transform: none !important; }
}

@media (max-width: 480px) {
  .philosophy-inner { grid-template-columns: 1fr; }
  .philosophy-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .philosophy-item:last-child { border-bottom: none; }

  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item--large { grid-column: span 1; }

  .hero-title { font-size: 2rem; }
}
