/*
Theme Name: PACE Inc.
Theme URI: https://pace.co.jp
Author: PACE Inc.
Description: パーチェ株式会社 オリジナルテーマ
Version: 1.0
Text Domain: pace-theme
*/

/* ===== CSS VARIABLES ===== */
:root {
  --navy: #1A2A3A;
  --navy-dark: #0F1C29;
  --navy-mid: #243447;
  --navy-light: #2E4460;
  --black: #1A1A1A;
  --mid-gray: #6B6B6B;
  --light-gray: #D4D0C8;
  --pale-gray: #EDEBE6;
  --warm-white: #F7F4EF;
  --white: #FFFFFF;
  --gold: #B8941F;
  --gold-light: #D4B94E;
  --gold-pale: #F0E6C8;
  --koechert: #B8941F;
  --immun: #5BA4CF;
  --novelty: #8C8C8C;
  --csr-green: #5E9B6B;
  --serif-jp: 'Shippori Mincho', 'Noto Serif JP', serif;
  --sans-jp: 'Noto Serif JP', 'Shippori Mincho', serif;
  --display: 'Cormorant Garamond', 'Playfair Display', serif;
}

/* ===== RESET ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--sans-jp);
  color: var(--black);
  background: var(--warm-white);
  line-height: 1.9;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ===== HEADER ===== */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(247, 244, 239, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(26, 26, 26, 0.07);
  transition: all 0.4s ease;
}
.header.scrolled { box-shadow: 0 2px 24px rgba(0,0,0,0.07); }
.header-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 56px;
  display: flex; justify-content: space-between; align-items: center; height: 76px;
}
.logo { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.logo-img { height: 38px; width: auto; display: block; }
.nav { display: flex; gap: 36px; align-items: center; list-style: none; }
.nav a {
  font-family: 'Noto Serif JP', serif;
  font-size: 12px; color: rgba(26,26,26,0.7);
  text-decoration: none; letter-spacing: 2px; font-weight: 500;
  position: relative; padding-bottom: 4px;
  transition: color 0.3s ease; white-space: nowrap;
}
.nav a::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 2px; background: var(--gold);
  transition: width 0.35s ease;
}
.nav a:hover { color: var(--black); }
.nav a:hover::after { width: 100%; }
.nav-contact {
  border: 1px solid rgba(184,148,31,0.5) !important;
  padding: 9px 22px !important; font-size: 11px !important;
  letter-spacing: 2px !important; transition: all 0.35s ease !important;
  color: rgba(26,26,26,0.6) !important; font-weight: 500 !important;
}
.nav-contact:hover {
  background: var(--gold) !important; border-color: var(--gold) !important;
  color: var(--white) !important;
}
.nav-contact::after { display: none !important; }

/* Mobile Menu Button */
.menu-btn {
  display: none; flex-direction: column; gap: 6px;
  cursor: pointer; padding: 10px; background: none; border: none;
}
.menu-btn span {
  display: block; width: 22px; height: 1.5px;
  background: rgba(26,26,26,0.6);
  transition: all 0.35s cubic-bezier(0.16,1,0.3,1);
}
.menu-btn.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.menu-btn.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-btn.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Mobile Nav */
.mobile-nav {
  display: none; position: fixed; inset: 0; z-index: 999;
  background: rgba(15, 28, 41, 0.97);
  backdrop-filter: blur(20px);
  flex-direction: column; justify-content: center; align-items: center; gap: 40px;
}
.mobile-nav.open { display: flex; }
.mobile-link {
  font-family: var(--serif-jp);
  font-size: 22px; color: rgba(255,255,255,0.75);
  text-decoration: none; letter-spacing: 5px; font-weight: 400;
  transition: color 0.3s ease;
}
.mobile-link:hover { color: var(--gold); }

/* ===== HERO ===== */
.hero {
  position: relative; background: var(--navy-dark);
  min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end;
  overflow: hidden; padding-top: 76px;
}
.hero-ghost-text {
  position: absolute; right: -2%; top: 50%;
  transform: translateY(-50%); z-index: 1;
  font-family: var(--display);
  font-size: clamp(160px, 22vw, 320px); font-weight: 900;
  color: transparent; -webkit-text-stroke: 1px rgba(184,148,31,0.14);
  letter-spacing: -8px; line-height: 1;
  pointer-events: none; user-select: none; white-space: nowrap;
  animation: ghostDrift 12s ease-in-out infinite alternate;
}
@keyframes ghostDrift {
  0% { transform: translateY(-50%) translateX(0); }
  100% { transform: translateY(-50%) translateX(-30px); }
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 1280px; margin: 0 auto; padding: 0 56px 100px;
  width: 100%;
}
.hero-label {
  font-family: var(--display);
  font-size: 11px; color: var(--gold);
  letter-spacing: 8px; text-transform: uppercase;
  margin-bottom: 24px; font-weight: 600;
  display: flex; align-items: center; gap: 16px;
}
.hero-label::before {
  content: ''; width: 40px; height: 1px; background: var(--gold);
}
.hero-main {
  font-family: var(--serif-jp);
  font-size: clamp(36px, 5.5vw, 72px);
  font-weight: 700; color: var(--white);
  letter-spacing: 6px; line-height: 1.35;
  margin-bottom: 20px;
}
.hero-sub-row {
  display: flex; align-items: center; gap: 20px;
  margin-bottom: 36px;
}
.hero-sub-line { width: 50px; height: 1px; background: rgba(184,148,31,0.5); }
.hero-en-sub {
  font-family: var(--display);
  font-size: clamp(13px, 1.4vw, 16px);
  color: rgba(255,255,255,0.45);
  letter-spacing: 3px; font-style: italic; font-weight: 400;
}
.hero-body { display: flex; align-items: flex-start; gap: 28px; margin-bottom: 48px; }
.hero-divider { width: 1px; height: 80px; background: rgba(184,148,31,0.3); flex-shrink: 0; margin-top: 4px; }
.hero-desc {
  font-family: var(--serif-jp);
  font-size: clamp(13px, 1.2vw, 15px);
  color: rgba(255,255,255,0.55);
  line-height: 2.2; letter-spacing: 1px; font-weight: 400;
  max-width: 480px;
}
.hero-stats { display: flex; gap: 56px; }
.hero-stat-item { text-align: left; }
.hero-stat-num {
  font-family: var(--display);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 300; color: var(--gold);
  letter-spacing: -2px; line-height: 1;
  margin-bottom: 8px;
}
.hero-stat-label {
  font-family: var(--display);
  font-size: 11px; color: rgba(255,255,255,0.35);
  letter-spacing: 4px; text-transform: uppercase; font-weight: 500;
}
.hero-scroll {
  position: absolute; bottom: 40px; left: 56px;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.hero-scroll span {
  font-family: var(--display);
  font-size: 10px; color: rgba(255,255,255,0.3);
  letter-spacing: 3px; text-transform: uppercase;
  writing-mode: vertical-rl;
}
.hero-scroll-line {
  width: 1px; height: 60px; background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50% { opacity: 0.5; transform: scaleY(0.8); }
}

/* ===== SECTION ===== */
.section {
  max-width: 1280px; margin: 0 auto;
  padding: 100px 56px;
}
.section-header { margin-bottom: 56px; }
.section-label {
  font-family: var(--display);
  font-size: 11px; color: var(--gold);
  letter-spacing: 8px; text-transform: uppercase;
  margin-bottom: 16px; display: block; font-weight: 600;
}
.section-title {
  font-family: var(--serif-jp);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 700; color: var(--black);
  letter-spacing: 4px; margin-bottom: 20px;
}
.section-divider {
  width: 40px; height: 2px; background: var(--gold);
}

/* ===== SERVICES ===== */
.services { background: var(--warm-white); }
.services-grid { display: flex; flex-direction: column; }
.service-card {
  display: grid;
  grid-template-columns: 320px 1fr auto;
  align-items: center;
  padding: 52px 56px;
  border-bottom: 1px solid rgba(26,26,26,0.1);
  position: relative; overflow: hidden;
  background: var(--white);
  transition: background 0.4s ease;
  gap: 0 64px;
}
.service-card:first-child { border-top: 1px solid rgba(26,26,26,0.1); }
.service-card::before {
  content: '';
  position: absolute; top: 0; left: 0; bottom: 0; width: 4px;
  background: var(--card-color, var(--gold));
  transform: scaleY(0); transform-origin: top;
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1);
}
.service-card:hover { background: rgba(255,255,255,0.6); }
.service-card:hover::before { transform: scaleY(1); }
.card-left { display: flex; flex-direction: column; }
.card-accent-line {
  width: 32px; height: 3px;
  background: var(--card-color, var(--gold));
  margin-bottom: 20px;
}
.card-title {
  font-family: var(--serif-jp);
  font-size: clamp(20px, 2vw, 30px);
  font-weight: 700; letter-spacing: 2px; line-height: 1.3;
  margin-bottom: 10px;
  color: var(--black);
}
.card-subtitle {
  font-family: var(--display);
  font-size: 11px; color: var(--card-color, var(--gold));
  letter-spacing: 6px; text-transform: uppercase;
  font-weight: 700;
}
.card-desc {
  font-family: var(--serif-jp);
  font-size: 14px; color: var(--mid-gray);
  line-height: 2.3; letter-spacing: 0.5px; font-weight: 400;
  max-width: 480px;
}
.card-link {
  font-family: var(--display);
  font-size: 12px; color: var(--card-color, var(--gold));
  text-decoration: none; letter-spacing: 3px;
  text-transform: uppercase; font-weight: 700;
  display: inline-flex; align-items: center; gap: 10px;
  transition: gap 0.3s ease;
  white-space: nowrap;
  border-bottom: 1.5px solid rgba(184,148,31,0.4);
  padding-bottom: 6px;
}
.card-link:hover { gap: 16px; color: var(--gold); }
.card-link::after { content: '→'; font-size: 15px; transition: transform 0.3s ease; }
.card-link:hover::after { transform: translateX(6px); }

/* ===== CSR ===== */
.csr-section { background: var(--navy); padding: 100px 0; }
.csr-inner {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
  padding: 0 56px;
}
.csr-left {}
.csr-label {
  font-family: var(--display);
  font-size: 11px; color: var(--gold);
  letter-spacing: 8px; text-transform: uppercase;
  margin-bottom: 16px; display: block; font-weight: 600;
}
.csr-title {
  font-family: var(--serif-jp);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 700; color: var(--white);
  letter-spacing: 4px; margin-bottom: 20px;
}
.csr-title-accent { width: 40px; height: 2px; background: var(--gold); margin-bottom: 28px; }
.csr-desc {
  font-family: var(--serif-jp);
  font-size: 14px; color: rgba(255,255,255,0.5);
  line-height: 2.2; letter-spacing: 0.5px;
}
.csr-right { display: flex; flex-direction: column; gap: 24px; }
.csr-item {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 32px 36px;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.csr-item:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(184,148,31,0.3);
  transform: translateX(8px);
}
.csr-item-num {
  font-family: var(--display);
  font-size: 12px; color: var(--gold);
  letter-spacing: 3px; margin-bottom: 12px; font-weight: 600;
}
.csr-item-title {
  font-family: var(--serif-jp);
  font-size: 18px; font-weight: 700;
  color: var(--white); letter-spacing: 2px;
  margin-bottom: 12px;
}
.csr-item-desc {
  font-family: var(--serif-jp);
  font-size: 13px; color: rgba(255,255,255,0.45);
  line-height: 1.9; letter-spacing: 0.5px;
  margin-bottom: 16px;
}
.csr-link {
  font-family: var(--display);
  font-size: 11px; color: var(--gold);
  text-decoration: none; letter-spacing: 3px;
  text-transform: uppercase; font-weight: 600;
  display: inline-flex; align-items: center; gap: 8px;
  transition: gap 0.3s ease;
}
.csr-link:hover { gap: 12px; }
.csr-link::after { content: '→'; }

/* ===== TOPICS ===== */
.topics { background: var(--pale-gray); }
.topics-header {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 48px;
}
.topics-more {
  font-family: var(--display);
  font-size: 12px; color: var(--gold);
  text-decoration: none; letter-spacing: 3px;
  text-transform: uppercase; font-weight: 600;
  display: inline-flex; align-items: center; gap: 8px;
  transition: gap 0.3s ease;
}
.topics-more:hover { gap: 12px; }
.topics-more::after { content: '→'; }
.topics-list { list-style: none; }
.topics-list li { border-bottom: 1px solid rgba(26,26,26,0.08); }
.topics-list li:first-child { border-top: 1px solid rgba(26,26,26,0.08); }
.topics-list a {
  display: flex; align-items: center; gap: 24px;
  padding: 24px 0;
  text-decoration: none;
  transition: background 0.3s ease;
}
.topics-list a:hover {
  background: rgba(184,148,31,0.03);
  padding-left: 16px; padding-right: 16px;
  margin-left: -16px; margin-right: -16px;
}
.topics-date {
  font-family: var(--display);
  font-size: 12px; color: var(--mid-gray);
  letter-spacing: 1px; flex-shrink: 0; width: 100px;
}
.topics-tag {
  font-family: var(--serif-jp);
  font-size: 10px; letter-spacing: 1px;
  padding: 4px 12px; flex-shrink: 0;
  border: 1px solid;
}
.tag-koechert { color: var(--koechert); border-color: var(--koechert); }
.tag-immun { color: var(--immun); border-color: var(--immun); }
.tag-csr { color: var(--csr-green); border-color: var(--csr-green); }
.tag-novelty { color: var(--novelty); border-color: var(--novelty); }
.tag-corp { color: var(--mid-gray); border-color: var(--mid-gray); }
.topics-text {
  font-family: var(--serif-jp);
  font-size: 14px; color: var(--black);
  letter-spacing: 0.5px; line-height: 1.6;
}

/* ===== CONTACT CTA ===== */
.contact-cta {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  padding: 100px 56px;
  text-align: center;
}
.contact-inner { max-width: 600px; margin: 0 auto; }
.contact-cta h2 {
  font-family: var(--serif-jp);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700; color: var(--white);
  letter-spacing: 6px; margin-bottom: 24px;
}
.contact-cta p {
  font-family: var(--serif-jp);
  font-size: 14px; color: rgba(255,255,255,0.5);
  line-height: 2.2; letter-spacing: 1px;
  margin-bottom: 40px;
}
.contact-btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 18px 48px;
  background: var(--gold);
  color: var(--white);
  font-family: var(--serif-jp);
  font-size: 13px; letter-spacing: 3px;
  text-decoration: none;
  transition: all 0.35s ease;
}
.contact-btn:hover {
  background: var(--gold-light);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(184,148,31,0.3);
}

/* ===== FOOTER ===== */
.footer { background: var(--navy-dark); padding: 80px 56px 40px; }
.footer-inner { max-width: 1280px; margin: 0 auto; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 60px;
  margin-bottom: 60px;
}
.footer-logo-img {
  height: 36px; width: auto; margin-bottom: 16px;
  filter: brightness(0) invert(1); opacity: 0.8;
}
.footer-tagline {
  font-family: var(--serif-jp);
  font-size: 12px; color: rgba(255,255,255,0.4);
  letter-spacing: 2px; margin-bottom: 24px;
}
.footer-address {
  font-family: var(--serif-jp);
  font-size: 12px; color: rgba(255,255,255,0.35);
  line-height: 2.0; letter-spacing: 0.5px;
}
.footer-nav-title {
  font-family: var(--display);
  font-size: 11px; color: var(--gold);
  letter-spacing: 3px; text-transform: uppercase;
  display: block; margin-bottom: 20px; font-weight: 600;
}
.footer-nav { display: flex; flex-direction: column; gap: 12px; }
.footer-nav a {
  font-family: var(--serif-jp);
  font-size: 12px; color: rgba(255,255,255,0.45);
  text-decoration: none; letter-spacing: 1px;
  transition: color 0.3s ease;
}
.footer-nav a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 32px;
  display: flex; justify-content: space-between; align-items: center;
}
.footer-copy {
  font-family: var(--display);
  font-size: 11px; color: rgba(255,255,255,0.25);
  letter-spacing: 1px;
}
.footer-policy { display: flex; gap: 24px; }
.footer-policy a {
  font-family: var(--serif-jp);
  font-size: 11px; color: rgba(255,255,255,0.25);
  text-decoration: none; letter-spacing: 1px;
  transition: color 0.3s ease;
}
.footer-policy a:hover { color: var(--gold); }

/* ===== COMING SOON MODAL ===== */
.modal-overlay {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(15, 28, 41, 0.9);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal-content {
  background: var(--white);
  padding: 60px 80px;
  text-align: center;
  position: relative;
  max-width: 480px;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}
.modal-overlay.open .modal-content { transform: translateY(0); }
.modal-close {
  position: absolute; top: 20px; right: 24px;
  background: none; border: none;
  font-size: 28px; color: var(--mid-gray);
  cursor: pointer; transition: color 0.2s ease;
  line-height: 1;
}
.modal-close:hover { color: var(--black); }
.modal-label {
  font-family: var(--display);
  font-size: 12px; color: var(--gold);
  letter-spacing: 6px; text-transform: uppercase;
  display: block; margin-bottom: 16px; font-weight: 600;
}
.modal-title {
  font-family: var(--serif-jp);
  font-size: 28px; font-weight: 700;
  color: var(--black); letter-spacing: 4px;
  margin-bottom: 20px;
}
.modal-desc {
  font-family: var(--serif-jp);
  font-size: 14px; color: var(--mid-gray);
  line-height: 2.0; letter-spacing: 0.5px;
}

/* ===== REVEAL ANIMATION ===== */
.reveal { opacity: 1; transform: translateY(0); }
body.js-enabled .reveal {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
body.js-enabled .reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ===== HERO ANIMATIONS ===== */
.hero-content { animation: heroFadeIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards; }
@keyframes heroFadeIn {
  0% { opacity: 0; transform: translateY(24px); }
  100% { opacity: 1; transform: translateY(0); }
}
.hero-label { animation: heroFadeIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.1s both; }
.hero-main { animation: heroFadeIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.2s both; }
.hero-sub-row { animation: heroFadeIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.3s both; }
.hero-body { animation: heroFadeIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.4s both; }
.hero-stats { animation: heroFadeIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.5s both; }

/* ===== ABOUT PAGE ===== */
.about-hero {
  background: var(--navy);
  padding: 160px 56px 80px;
  position: relative; overflow: hidden;
}
.about-hero::before {
  content: 'ABOUT';
  position: absolute; right: -20px; top: 50%;
  transform: translateY(-50%);
  font-family: var(--display);
  font-size: clamp(100px, 15vw, 200px);
  font-weight: 700; color: rgba(255,255,255,0.03);
  letter-spacing: -5px; line-height: 1;
  pointer-events: none; user-select: none;
}
.about-hero-inner { max-width: 1280px; margin: 0 auto; }
.about-hero-label {
  font-family: var(--display);
  font-size: 12px; color: var(--gold);
  letter-spacing: 10px; text-transform: uppercase;
  display: block; margin-bottom: 20px; font-weight: 600;
  animation: fadeInUp 0.8s ease 0.2s both;
}
.about-hero-title {
  font-family: var(--serif-jp);
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 700; color: var(--white);
  letter-spacing: 4px; line-height: 1.2;
  margin-bottom: 24px;
  animation: fadeInUp 0.8s ease 0.4s both;
}
.about-hero-line {
  width: 60px; height: 1px; background: var(--gold);
  animation: fadeInUp 0.8s ease 0.6s both;
}
@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}

.greeting-section { background: var(--warm-white); }
.greeting-inner {
  max-width: 1280px; margin: 0 auto;
  padding: 100px 56px;
  display: grid; grid-template-columns: 1fr 2fr; gap: 80px; align-items: start;
}
.greeting-left { position: sticky; top: 100px; }
.greeting-label {
  font-family: var(--display);
  font-size: 12px; color: var(--gold);
  letter-spacing: 8px; text-transform: uppercase;
  display: block; margin-bottom: 16px; font-weight: 600;
}
.greeting-title {
  font-family: var(--serif-jp);
  font-size: clamp(22px, 2.5vw, 34px);
  font-weight: 700; color: var(--black);
  letter-spacing: 3px; line-height: 1.4;
  margin-bottom: 20px;
}
.greeting-accent { width: 40px; height: 2px; background: var(--gold); margin-bottom: 32px; }
.ceo-photo-wrapper { width: 100%; max-width: 280px; margin-top: 24px; }
.ceo-photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(20%);
  transition: filter 0.4s ease;
}
.ceo-photo:hover { filter: grayscale(0%); }
.ceo-photo-caption {
  font-family: var(--display);
  font-size: 11px;
  color: rgba(26,26,26,0.4);
  letter-spacing: 2px;
  margin-top: 12px;
  text-transform: uppercase;
}
.greeting-body { display: flex; flex-direction: column; gap: 28px; }
.greeting-body p {
  font-family: var(--serif-jp);
  font-size: clamp(14px, 1.3vw, 16px);
  color: rgba(26,26,26,0.8);
  line-height: 2.5; letter-spacing: 0.8px; font-weight: 400;
}
.greeting-sig {
  margin-top: 16px; padding-top: 32px;
  border-top: 1px solid rgba(26,26,26,0.08);
  text-align: right;
}
.greeting-sig-company {
  font-family: var(--display);
  font-size: 12px; color: rgba(26,26,26,0.5);
  letter-spacing: 3px; margin-bottom: 8px; font-weight: 500;
}
.greeting-sig-name {
  font-family: var(--serif-jp);
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 700; color: var(--black);
  letter-spacing: 6px;
}

.company-section { background: var(--pale-gray); }
.company-inner { max-width: 1280px; margin: 0 auto; padding: 100px 56px; }
.company-header { margin-bottom: 56px; }
.company-table { width: 100%; border-collapse: collapse; }
.company-table tr { border-bottom: 1px solid rgba(26,26,26,0.08); }
.company-table th {
  font-family: var(--serif-jp);
  font-size: 12px; font-weight: 600;
  color: rgba(26,26,26,0.55);
  letter-spacing: 2px; text-align: left;
  padding: 24px 0; width: 200px; vertical-align: top;
}
.company-table td {
  font-family: var(--serif-jp);
  font-size: clamp(14px, 1.3vw, 15px);
  color: rgba(26,26,26,0.85);
  line-height: 2.0; letter-spacing: 0.5px; font-weight: 400;
  padding: 24px 0; vertical-align: top;
}
.company-table td ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 8px;
}
.company-table td ul li::before { content: '・'; color: var(--gold); }

/* ===== ARCHIVE / SINGLE ===== */
.archive-hero {
  background: var(--navy);
  padding: 140px 56px 60px;
}
.archive-hero-inner { max-width: 1280px; margin: 0 auto; }
.archive-hero-label {
  font-family: var(--display);
  font-size: 12px; color: var(--gold);
  letter-spacing: 10px; text-transform: uppercase;
  display: block; margin-bottom: 20px; font-weight: 600;
}
.archive-hero-title {
  font-family: var(--serif-jp);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700; color: var(--white);
  letter-spacing: 4px;
}
.archive-content {
  max-width: 1280px; margin: 0 auto;
  padding: 80px 56px;
}
.post-list { list-style: none; }
.post-item {
  border-bottom: 1px solid rgba(26,26,26,0.08);
}
.post-item:first-child { border-top: 1px solid rgba(26,26,26,0.08); }
.post-item a {
  display: block;
  padding: 32px 0;
  text-decoration: none;
  transition: background 0.3s ease;
}
.post-item a:hover {
  background: rgba(184,148,31,0.03);
  padding-left: 24px; padding-right: 24px;
  margin-left: -24px; margin-right: -24px;
}
.post-meta {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 12px;
}
.post-date {
  font-family: var(--display);
  font-size: 12px; color: var(--mid-gray);
  letter-spacing: 1px;
}
.post-category {
  font-family: var(--serif-jp);
  font-size: 10px; letter-spacing: 1px;
  padding: 4px 12px;
  border: 1px solid var(--gold);
  color: var(--gold);
}
.post-title {
  font-family: var(--serif-jp);
  font-size: 18px; font-weight: 600;
  color: var(--black);
  letter-spacing: 1px; line-height: 1.6;
}

.single-content {
  max-width: 800px; margin: 0 auto;
  padding: 80px 56px;
}
.single-header { margin-bottom: 48px; }
.single-meta {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 24px;
}
.single-title {
  font-family: var(--serif-jp);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700; color: var(--black);
  letter-spacing: 2px; line-height: 1.5;
}
.single-body {
  font-family: var(--serif-jp);
  font-size: 15px; color: rgba(26,26,26,0.8);
  line-height: 2.4; letter-spacing: 0.5px;
}
.single-body p { margin-bottom: 2em; }
.single-body h2 {
  font-size: 22px; font-weight: 700;
  margin: 3em 0 1em; padding-bottom: 12px;
  border-bottom: 2px solid var(--gold);
}
.single-body h3 {
  font-size: 18px; font-weight: 700;
  margin: 2em 0 1em;
}
.single-body img {
  max-width: 100%; height: auto;
  margin: 2em 0;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .header-inner { padding: 0 32px; }
  .nav { display: none; }
  .menu-btn { display: flex; }
  .hero-content { padding: 0 32px 80px; }
  .hero-scroll { left: 32px; }
  .section { padding: 80px 32px; }
  .service-card { grid-template-columns: 240px 1fr auto; padding: 44px 40px; gap: 0 40px; }
  .csr-inner { grid-template-columns: 1fr; gap: 48px; padding: 0 32px; }
  .footer { padding: 60px 32px 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .about-hero { padding: 140px 32px 64px; }
  .greeting-inner { padding: 80px 32px; grid-template-columns: 1fr; gap: 40px; }
  .greeting-left { position: static; display: flex; flex-direction: column; align-items: center; text-align: center; }
  .greeting-accent { margin: 0 auto 32px; }
  .ceo-photo-wrapper { margin: 24px auto 0; }
  .company-inner { padding: 80px 32px; }
  .archive-hero { padding: 120px 32px 48px; }
  .archive-content { padding: 60px 32px; }
  .single-content { padding: 60px 32px; }
}
@media (max-width: 640px) {
  .header-inner { padding: 0 24px; height: 64px; }
  .logo-img { height: 32px; }
  .hero { padding-top: 64px; }
  .hero-content { padding: 0 24px 60px; }
  .hero-stats { flex-direction: column; gap: 24px; }
  .hero-scroll { display: none; }
  .section { padding: 60px 24px; }
  .service-card { grid-template-columns: 1fr; grid-template-rows: auto auto auto; gap: 16px 0; padding: 36px 24px; }
  .card-link { margin-top: 8px; }
  .csr-inner { padding: 0 24px; }
  .contact-cta { padding: 60px 24px; }
  .footer { padding: 48px 24px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 16px; align-items: flex-start; }
  .topics-list a { flex-wrap: wrap; gap: 12px; }
  .topics-date { width: auto; }
  .modal-content { padding: 48px 32px; margin: 0 24px; }
  .modal-title { font-size: 24px; }
  .about-hero { padding: 120px 24px 48px; }
  .greeting-inner { padding: 64px 24px; gap: 32px; }
  .ceo-photo-wrapper { max-width: 220px; }
  .company-inner { padding: 64px 24px; }
  .company-table th { width: 110px; font-size: 11px; }
  .company-table td { font-size: 13px; }
  .archive-hero { padding: 100px 24px 40px; }
  .archive-content { padding: 48px 24px; }
  .single-content { padding: 48px 24px; }
}
