/* ===== Reset & Variables ===== */
:root {
  --orange: #EE7A1B;
  --orange-dark: #D46A10;
  --orange-light: #FFF3E8;
  --orange-glow: rgba(238, 122, 27, 0.12);
  --navy: #1C2340;
  --navy-light: #2A3356;
  --white: #FFFFFF;
  --off-white: #F8F8F8;
  --gray: #6B7280;
  --gray-light: #9CA3AF;
  --border: #E5E7EB;
  --text-dark: #1a1a1a;
  --text-body: #374151;
  --header-h: 72px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: 'Zen Kaku Gothic New', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.8;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 40px; }

/* ===== Header ===== */
.header {
  position: fixed; top: 0; left: 0; width: 100%; height: var(--header-h);
  z-index: 1000; transition: all 0.4s ease;
  background: transparent;
}
.header.scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  border-top: 3px solid var(--orange);
}
.header-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 40px;
  height: 100%; display: flex; align-items: center; justify-content: space-between;
}
.logo { display: flex; align-items: center; gap: 10px; z-index: 1001; }
.logo-icon {
  width: 40px; height: 40px; border: 2px solid var(--orange);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
}
.logo-icon svg { width: 22px; height: 22px; stroke: var(--orange); }
.header:not(.scrolled) .logo-icon { border-color: rgba(255,255,255,0.8); }
.header:not(.scrolled) .logo-icon svg { stroke: #fff; }
.logo-text-group { display: flex; flex-direction: column; }
.logo-main {
  font-size: 20px; font-weight: 700; color: var(--text-dark); letter-spacing: 2px; line-height: 1.1;
  transition: color 0.4s ease;
}
.header:not(.scrolled) .logo-main { color: #fff; }
.logo-sub { font-size: 9px; color: var(--gray); letter-spacing: 1px; transition: color 0.4s ease; }
.header:not(.scrolled) .logo-sub { color: rgba(255,255,255,0.7); }

.header-right { display: flex; align-items: center; gap: 0; }

.header-tagline {
  font-size: 11px; color: var(--gray); margin-right: 24px;
  letter-spacing: 0.5px; transition: color 0.4s ease;
}
.header:not(.scrolled) .header-tagline { color: rgba(255,255,255,0.8); }

.nav { display: flex; align-items: center; gap: 0; }
.nav a {
  font-size: 12px; font-weight: 700; letter-spacing: 1px; color: var(--text-dark);
  padding: 8px 14px; transition: all 0.3s ease; position: relative;
}
.header:not(.scrolled) .nav a { color: #fff; }
.nav a::after {
  content: ''; position: absolute; bottom: 2px; left: 50%; width: 0; height: 2px;
  background: var(--orange); transition: all 0.3s ease; transform: translateX(-50%);
}
.nav a:hover::after, .nav a.active::after { width: 60%; }

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 8px; z-index: 1001;
}
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text-dark); border-radius: 1px; transition: all 0.3s ease; }
.header:not(.scrolled) .hamburger span { background: #fff; }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.nav-overlay {
  display: none; position: fixed; inset: 0; background: rgba(28, 35, 64, 0.97);
  backdrop-filter: blur(20px); z-index: 999;
}
.nav-overlay.active {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.nav-overlay .mobile-nav { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.nav-overlay .mobile-nav a {
  font-size: 18px; font-weight: 700; color: #fff; padding: 12px 32px;
  border-radius: 8px; transition: all 0.3s ease;
}
.nav-overlay .mobile-nav a:hover { background: rgba(255,255,255,0.1); }

/* PAGETOP */
.pagetop {
  position: fixed; right: 0; top: 50%; transform: translateY(-50%);
  writing-mode: vertical-rl; font-size: 10px; font-weight: 700; letter-spacing: 3px;
  color: var(--orange); background: rgba(242,139,45,0.1); padding: 16px 8px;
  z-index: 100; cursor: pointer; transition: all 0.3s ease; border: none;
}
.pagetop:hover { background: var(--orange); color: #fff; }

/* ===== Hero ===== */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  justify-content: center; overflow: hidden;
  background: var(--off-white);
}
.hero-bg {
  position: absolute; inset: 0; z-index: 1;
}
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(0,0,0,0.15) 100%);
}
/* Orange diagonal accents on hero */
.hero::after {
  content: ''; position: absolute; top: -10%; right: -5%; z-index: 3;
  width: 25%; height: 110%;
  background: linear-gradient(210deg, var(--orange) 0%, rgba(238,122,27,0.2) 25%, transparent 45%);
  opacity: 0.7; pointer-events: none;
  transform: skewX(-8deg);
}
.hero::before {
  content: ''; position: absolute; top: 0; right: 0; z-index: 4;
  width: 0; height: 0;
  border-top: 50px solid var(--orange);
  border-left: 50px solid transparent;
  pointer-events: none;
}
.hero-content {
  position: relative; z-index: 10; text-align: center;
  padding-top: var(--header-h);
}
.hero-logo-large {
  margin: 0 auto 24px; max-width: 300px;
}
.hero-logo-large .logo-circle {
  width: 120px; height: 120px; border: 3px solid rgba(255,255,255,0.8);
  border-radius: 50%; margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
}
.hero-logo-large .logo-circle svg { width: 60px; height: 60px; }
.hero-company-name {
  font-size: 42px; font-weight: 700; letter-spacing: 6px; color: #fff;
  margin-bottom: 4px;
}
.hero-company-sub {
  font-size: 12px; color: rgba(255,255,255,0.7); letter-spacing: 2px;
}

.hero-catchcopy {
  margin-top: 32px; text-align: center;
}
.hero-catchcopy-main {
  font-size: clamp(28px, 4vw, 48px); font-weight: 700; color: #fff;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
  white-space: nowrap;
}
.hero-catchcopy-main span { color: var(--orange); }
.hero-catchcopy-sub {
  font-size: 14px; color: rgba(255,255,255,0.8); margin-top: 4px;
}

.hero-scroll {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  z-index: 10; text-align: center;
}
.hero-scroll a {
  font-size: 10px; font-weight: 700; letter-spacing: 3px; color: #fff;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.hero-scroll .scroll-bar {
  width: 1px; height: 40px; background: rgba(255,255,255,0.4);
  position: relative; overflow: hidden;
}
.hero-scroll .scroll-bar::after {
  content: ''; position: absolute; top: -100%; left: 0; width: 100%; height: 100%;
  background: #fff; animation: scrollAnim 2s ease-in-out infinite;
}
@keyframes scrollAnim { 0% { top: -100%; } 100% { top: 100%; } }

/* ===== Sections Common ===== */
.section {
  padding: 100px 0;
  background: var(--white);
  position: relative;
}

/* Section accent triangle */
.section-accent {
  position: absolute; top: -1px; left: 0;
  width: 0; height: 0;
  border-left: 50px solid var(--orange);
  border-bottom: 50px solid transparent;
  z-index: 2;
}
/* Orange top line on sections */
.section::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: linear-gradient(90deg, var(--orange) 0%, var(--orange) 15%, transparent 15%);
  z-index: 1;
}

.section-title-en {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: 8px;
  color: transparent;
  -webkit-text-stroke: 2px rgba(238, 122, 27, 0.25);
  line-height: 1.2;
  margin-bottom: 4px;
}
.section-title-jp {
  font-size: 15px;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 40px;
}
.section-title-jp::before {
  content: ''; width: 24px; height: 2px; background: var(--orange);
}

.see-more {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 2px;
  color: var(--orange); border: 2px solid var(--orange); padding: 14px 40px;
  transition: all 0.3s ease; margin-top: 32px;
}
.see-more:hover {
  background: var(--orange); color: #fff; border-color: var(--orange);
}

/* Dark-bg sections get inverted styles */
.section-dark { background: var(--navy); color: #fff; }
.section-dark .section-title-en { -webkit-text-stroke: 2px rgba(238, 122, 27, 0.4); }
.section-dark .section-title-jp { color: rgba(255,255,255,0.9); }
.section-dark .section-title-jp::before { background: var(--orange); }
.section-dark .see-more { color: var(--orange); border-color: var(--orange); }
.section-dark .see-more:hover { background: var(--orange); color: #fff; }

/* ===== News Section ===== */
.news { padding: 80px 0 100px; background: var(--white); }

.news-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  margin-top: 32px; margin-bottom: 32px;
}
.news-card {
  display: block; transition: all 0.3s ease;
}
.news-card:hover { transform: translateY(-4px); }
.news-card-img {
  width: 100%; aspect-ratio: 4/3; overflow: hidden; position: relative;
  background: var(--off-white); border-radius: 0;
}
.news-card-img img { width: 100%; height: 100%; object-fit: cover; }
.news-card-tag {
  position: absolute; bottom: 12px; right: 12px;
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--orange); color: #fff; padding: 4px 16px;
  font-size: 12px; font-weight: 700; letter-spacing: 1px;
}
.news-card-tag svg { width: 14px; height: 14px; }
.news-card-body { padding: 16px 0; }
.news-card-date {
  font-size: 14px; font-weight: 500; color: var(--gray);
  margin-bottom: 6px;
}
.news-card-title {
  font-size: 14px; font-weight: 500; color: var(--text-dark); line-height: 1.7;
}

.news .see-more { display: block; text-align: center; margin: 0 auto; max-width: 200px; }

/* ===== Business Section ===== */
.business { padding: 100px 0; background: var(--off-white); }

/* Handwritten font for catchcopy */
.font-handwritten {
  font-family: 'Slackside One', cursive;
  font-style: normal;
  font-weight: 400;
}

.business-catchcopy {
  font-size: clamp(22px, 3vw, 32px); font-weight: 400; color: var(--text-dark);
  line-height: 1.8; margin-bottom: 24px;
  border-left: 4px solid var(--orange); padding-left: 20px;
}
.business-desc {
  font-size: 14px; color: var(--text-body); line-height: 2;
  max-width: 700px; margin-bottom: 24px;
}

.business-cards {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px;
  margin-top: 40px;
}
.business-card {
  position: relative; display: block; overflow: hidden;
  aspect-ratio: 3/4; transition: all 0.3s ease;
}
.business-card:hover { transform: translateY(-4px); }
.business-card img { width: 100%; height: 100%; object-fit: cover; }
.business-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,0.6) 100%);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 20px;
}
.business-card-num {
  font-size: 36px; font-weight: 700; color: var(--orange);
  position: absolute; top: 16px; left: 20px; opacity: 0.8;
}
.business-card-line {
  width: 60%; height: 2px; background: var(--orange); margin-bottom: 12px;
}
.business-card-name {
  font-size: clamp(12px, 1.2vw, 15px); font-weight: 700; color: #fff; margin-bottom: 12px;
  line-height: 1.4;
}
.business-card-arrow {
  display: flex; align-items: center; gap: 4px;
  color: rgba(255,255,255,0.7); font-size: 0;
}
.business-card-arrow svg { width: 32px; height: 12px; }

/* ===== Staff Section ===== */
.staff {
  padding: 100px 0;
  background: var(--white);
  color: var(--text-dark);
}

.staff-catchcopy {
  font-size: clamp(20px, 3vw, 28px); font-weight: 400; color: var(--text-dark);
  line-height: 1.8; margin-bottom: 16px;
  border-left: 4px solid var(--orange); padding-left: 20px;
}
.staff-desc {
  font-size: 14px; color: var(--text-body); line-height: 2; max-width: 700px; margin-bottom: 40px;
}

.staff-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px;
}
.staff-card {
  position: relative; display: block; overflow: hidden;
  aspect-ratio: 3/4; transition: all 0.3s ease;
}
.staff-card:hover { opacity: 0.9; }
.staff-card img { width: 100%; height: 100%; object-fit: cover; }
.staff-card-info {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.7) 0%, transparent 100%);
  padding: 40px 24px 20px;
}
.staff-card-dept { font-size: 12px; color: rgba(255,255,255,0.8); margin-bottom: 2px; }
.staff-card-name { font-size: 22px; font-weight: 700; color: #fff; }
.staff-card-see {
  position: absolute; top: 16px; left: 16px;
  font-size: 11px; font-weight: 700; letter-spacing: 1px; color: #fff;
  background: var(--orange); padding: 6px 16px;
  opacity: 0; transition: opacity 0.3s ease;
}
.staff-card:hover .staff-card-see { opacity: 1; }

/* ===== Philosophy Section ===== */
.philosophy {
  padding: 100px 0;
  background: var(--navy);
}

.philosophy-catchcopy {
  font-size: clamp(28px, 4vw, 42px); font-weight: 400; color: #fff;
  line-height: 1.6; margin-bottom: 32px;
}

/* ===== Company Section ===== */
.company {
  padding: 100px 0;
  background: var(--off-white);
  position: relative;
}

.company-name-display {
  font-size: clamp(28px, 4vw, 42px); font-weight: 400; color: var(--orange);
  line-height: 1.4; margin-bottom: 32px;
}
.company-desc {
  font-size: 14px; color: var(--text-body); line-height: 2.2;
  max-width: 900px; margin-bottom: 24px;
}
.company-bg-img {
  width: 100%; max-width: 1100px; margin: 40px auto 0;
  border-radius: 0; overflow: hidden;
}
.company-bg-img img { width: 100%; height: auto; }

/* ===== Media Section ===== */
.media {
  padding: 100px 0;
  background: var(--white);
}

.media-videos {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
  margin: 32px 0;
}
.media-videos .video-wrap {
  position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden;
}
.media-videos iframe {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0;
}

/* ===== Recruit Section ===== */
.recruit {
  padding: 100px 0;
  position: relative; overflow: hidden;
  background: var(--navy);
}
.recruit-bg {
  position: absolute; inset: 0; z-index: 1;
}
.recruit-bg img { width: 100%; height: 100%; object-fit: cover; }
.recruit-bg-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(28,35,64,0.7) 0%, rgba(28,35,64,0.5) 100%);
}
.recruit-content { position: relative; z-index: 10; }

.recruit-catchcopy {
  font-size: clamp(22px, 3vw, 32px); font-weight: 400; color: #fff;
  line-height: 1.8; margin-bottom: 16px;
}
.recruit-desc {
  font-size: 14px; color: rgba(255,255,255,0.9); line-height: 2; max-width: 600px;
  margin-bottom: 32px;
}
.recruit-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.recruit-btn {
  display: inline-block; font-size: 14px; font-weight: 700;
  padding: 16px 40px; border: 1px solid #fff; color: #fff;
  transition: all 0.3s ease;
}
.recruit-btn:hover { background: #fff; color: var(--navy); }
.recruit-btn.primary { background: var(--orange); border-color: var(--orange); }
.recruit-btn.primary:hover { background: var(--orange-dark); border-color: var(--orange-dark); color: #fff; }

/* ===== Footer ===== */
.footer {
  background: var(--navy);
  padding: 80px 0 0; position: relative;
}

.footer-contact {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
  padding-bottom: 60px; align-items: start;
}
.footer-left {}

.footer-logo-area { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-logo-area .logo-circle-sm {
  width: 60px; height: 60px; border: 2px solid rgba(255,255,255,0.6);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
}
.footer-logo-area .logo-circle-sm svg { width: 30px; height: 30px; }
.footer-company-name { font-size: 13px; font-weight: 700; color: #fff; margin-bottom: 16px; }
.footer-address {
  font-size: 12px; color: rgba(255,255,255,0.7); line-height: 2;
}
.footer-sns { display: flex; gap: 12px; margin-top: 20px; }
.footer-sns a {
  width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.7); transition: all 0.3s ease;
}
.footer-sns a:hover { color: #fff; }
.footer-sns a svg { width: 24px; height: 24px; }

.footer-right { text-align: center; }
.footer-right h3 { font-size: 28px; font-weight: 700; color: #fff; margin-bottom: 24px; }
.footer-contact-btns { display: flex; gap: 16px; }
.footer-contact-btn {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 10px;
  font-size: 16px; font-weight: 700; color: #fff; padding: 20px;
  border: 2px solid var(--orange); border-radius: 4px;
  transition: all 0.3s ease;
}
.footer-contact-btn:hover { background: var(--orange); border-color: var(--orange); }
.footer-contact-btn svg { width: 22px; height: 22px; }

.footer-bottom-area {
  border-top: 1px solid rgba(255,255,255,0.15); padding: 24px 0;
  display: flex; align-items: center; justify-content: space-between;
}
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a {
  font-size: 11px; font-weight: 700; letter-spacing: 1px; color: rgba(255,255,255,0.6);
  transition: color 0.3s ease;
}
.footer-bottom-links a:hover { color: #fff; }

.footer-copy {
  text-align: center; padding: 16px 0;
  font-size: 11px; color: rgba(255,255,255,0.4);
}

/* ===== Scroll Reveal ===== */
.reveal {
  opacity: 0; transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }
.reveal-d4 { transition-delay: 0.4s; }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .business-cards { grid-template-columns: repeat(3, 1fr); }
  .footer-contact { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  :root { --header-h: 60px; }
  .container { padding: 0 20px; }
  .nav, .header-tagline { display: none; }
  .hamburger { display: flex; }

  .hero-company-name { font-size: 28px; letter-spacing: 4px; }
  .hero-logo-large .logo-circle { width: 80px; height: 80px; }
  .hero-logo-large .logo-circle svg { width: 40px; height: 40px; }
  .hero-catchcopy { text-align: center; padding-right: 0; }
  .hero-catchcopy-main { font-size: 20px; }

  .news-grid { grid-template-columns: 1fr; }
  .business-cards { grid-template-columns: repeat(2, 1fr); }
  .staff-grid { grid-template-columns: repeat(2, 1fr); }
  .media-videos { grid-template-columns: 1fr; }
  .footer-contact-btns { flex-direction: column; }
  .footer-bottom-area { flex-direction: column; gap: 12px; text-align: center; }
  .recruit-buttons { flex-direction: column; }
  .section { padding: 60px 0; }
}

/* ===== Loading Screen ===== */
.loading {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--orange);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}
.loading.hide {
  opacity: 0; visibility: hidden;
  pointer-events: none;
}
.loading-inner {
  text-align: center;
  opacity: 0;
  transform: scale(0.9);
  animation: loadFadeIn 0.8s ease 0.3s forwards;
}
.loading-logo {
  width: 90px; height: 90px;
  border: 2px solid rgba(255,255,255,0.6);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
  animation: loadPulse 1.5s ease-in-out infinite;
}
.loading-logo svg { width: 44px; height: 44px; stroke: #fff; }
.loading-company {
  font-size: 36px; font-weight: 700; letter-spacing: 8px;
  color: #fff; margin-bottom: 6px;
}
.loading-sub {
  font-size: 11px; color: rgba(255,255,255,0.75); letter-spacing: 2px;
  margin-bottom: 32px;
}
.loading-catchcopy {
  font-family: 'Slackside One', cursive;
  font-size: 22px; color: #fff;
  margin-bottom: 8px;
}
.loading-catchcopy span { color: var(--navy); }
.loading-anniversary {
  font-size: 12px; color: rgba(255,255,255,0.65); letter-spacing: 1px;
}
.loading-bar-wrap {
  width: 180px; height: 2px;
  background: rgba(255,255,255,0.3);
  margin: 36px auto 0;
  border-radius: 1px;
  overflow: hidden;
}
.loading-bar {
  width: 0; height: 100%;
  background: #fff;
  border-radius: 1px;
  animation: loadBar 2s ease-in-out forwards;
}
/* White corner accents on orange bg */
.loading-corner-tl, .loading-corner-br {
  position: absolute; width: 0; height: 0;
}
.loading-corner-tl {
  top: 0; right: 0;
  border-top: 50px solid rgba(255,255,255,0.2);
  border-left: 50px solid transparent;
  opacity: 0; animation: loadCorner 0.5s ease 0.4s forwards;
}
.loading-corner-bl {
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 0;
  border-bottom: 50px solid rgba(255,255,255,0.2);
  border-right: 50px solid transparent;
  opacity: 0; animation: loadCorner 0.5s ease 0.6s forwards;
}

@keyframes loadFadeIn {
  to { opacity: 1; transform: scale(1); }
}
@keyframes loadPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.06); opacity: 0.85; }
}
@keyframes loadBar {
  0% { width: 0; }
  100% { width: 100%; }
}
@keyframes loadCorner {
  from { opacity: 0; } to { opacity: 1; }
}

/* ===== Sub-page Common ===== */
.page-header {
  padding: 120px 0 60px;
  background: var(--off-white);
  position: relative;
}
.page-header-title {
  font-size: 42px;
  font-weight: 700;
  letter-spacing: 6px;
  color: var(--text-dark);
}
.page-header .breadcrumb {
  font-size: 12px;
  color: var(--gray);
  margin-top: 12px;
}
.page-header .breadcrumb a {
  color: var(--orange);
}

.page-content {
  padding: 80px 0;
  background: var(--white);
}

/* Mission block */
.mission-block {
  text-align: center;
  padding: 60px 0;
  background: var(--off-white);
}
.mission-title-en {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--orange);
  margin-bottom: 8px;
}
.mission-title-jp {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 24px;
}
.mission-catchcopy {
  font-family: 'Slackside One', cursive;
  font-size: 24px;
  color: var(--orange);
  margin-bottom: 16px;
}
.mission-desc {
  font-size: 14px;
  color: var(--text-body);
  line-height: 2.2;
  max-width: 700px;
  margin: 0 auto;
}

/* Business detail block */
.biz-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 60px 0;
  border-bottom: 1px solid var(--border);
}
.biz-detail:nth-child(even) {
  direction: rtl;
}
.biz-detail:nth-child(even) > * {
  direction: ltr;
}
.biz-detail-img img {
  width: 100%;
  border-radius: 4px;
}
.biz-detail-body h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.biz-detail-body .biz-subtitle {
  font-family: 'Slackside One', cursive;
  font-size: 16px;
  color: var(--orange);
  margin-bottom: 16px;
}
.biz-detail-body p {
  font-size: 14px;
  color: var(--text-body);
  line-height: 2;
}

/* Page bottom nav */
.page-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--border);
}
.page-nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--text-dark);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s ease;
}
.page-nav a:first-child {
  border-right: 1px solid var(--border);
}
.page-nav a:hover {
  background: var(--orange-light);
  color: var(--orange);
}

/* Staff detail grid for sub-page */
.staff-detail-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
}

/* Company table */
.company-info-table {
  width: 100%;
  border-collapse: collapse;
  margin: 40px 0;
}
.company-info-table tr {
  border-bottom: 1px solid var(--border);
}
.company-info-table th {
  width: 160px;
  padding: 20px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
  text-align: left;
  vertical-align: top;
  background: var(--off-white);
}
.company-info-table td {
  padding: 20px;
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.8;
}

/* Contact form */
.contact-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 40px;
}
.contact-tab {
  flex: 1;
  padding: 16px;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  background: var(--off-white);
  color: var(--gray);
  cursor: pointer;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}
.contact-tab.active {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
}
.form-group {
  margin-bottom: 24px;
}
.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.form-group label .required {
  font-size: 11px;
  color: var(--orange);
  margin-left: 4px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  font-size: 14px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: inherit;
  transition: border-color 0.3s ease;
  background: var(--white);
  color: var(--text-dark);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--orange);
}
.form-group textarea {
  min-height: 160px;
  resize: vertical;
}
.form-submit {
  display: block;
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
  padding: 18px;
  font-size: 16px;
  font-weight: 700;
  background: var(--orange);
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.3s ease;
}
.form-submit:hover {
  background: var(--orange-dark);
}

/* News list page */
.news-list-page .news-item-row {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  transition: all 0.3s ease;
}
.news-list-page .news-item-row:first-child {
  border-top: 1px solid var(--border);
}
.news-list-page .news-item-row:hover {
  padding-left: 12px;
}
.news-list-page .news-date {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray);
  min-width: 110px;
}
.news-list-page .news-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 4px 14px;
  border-radius: 50px;
  min-width: 80px;
  text-align: center;
  background: var(--orange-light);
  color: var(--orange);
}
.news-list-page .news-title-text {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dark);
  flex: 1;
}
.news-list-page .news-item-row:hover .news-title-text {
  color: var(--orange);
}

/* Privacy / Sitemap */
.text-content h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 40px 0 16px;
  padding-left: 16px;
  border-left: 3px solid var(--orange);
}
.text-content p {
  font-size: 14px;
  color: var(--text-body);
  line-height: 2;
  margin-bottom: 16px;
}
.text-content ul {
  padding-left: 24px;
  margin-bottom: 16px;
}
.text-content li {
  font-size: 14px;
  color: var(--text-body);
  line-height: 2;
}

/* Sitemap links */
.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.sitemap-group h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--orange);
}
.sitemap-group a {
  display: block;
  font-size: 14px;
  color: var(--text-body);
  padding: 6px 0;
  transition: color 0.3s ease;
}
.sitemap-group a:hover {
  color: var(--orange);
}

/* Recruit page */
.recruit-hero {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
}
.recruit-hero-bg {
  position: absolute;
  inset: 0;
}
.recruit-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.recruit-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(28,35,64,0.7) 0%, rgba(28,35,64,0.5) 100%);
}
.recruit-hero-content {
  position: relative;
  z-index: 10;
  color: #fff;
}
.recruit-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin: 40px 0;
}
.recruit-info-card {
  padding: 32px;
  background: var(--off-white);
  border-left: 4px solid var(--orange);
}
.recruit-info-card h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.recruit-info-card p {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.8;
}

@media (max-width: 768px) {
  .biz-detail { grid-template-columns: 1fr; }
  .biz-detail:nth-child(even) { direction: ltr; }
  .staff-detail-grid { grid-template-columns: repeat(2, 1fr); }
  .sitemap-grid { grid-template-columns: 1fr; }
  .recruit-info-grid { grid-template-columns: 1fr; }
  .page-header-title { font-size: 28px; }
}