/* ============================================
   合同会社TOMA — Corporate Site
   Aesthetic: Refined luxury, editorial
   ============================================ */

:root {
  --ivory: #f6f2e9;
  --ivory-deep: #ebe5d5;
  --navy: #1a2340;
  --navy-deep: #0f1628;
  --navy-soft: #2d3556;
  --ink: #1a1814;
  --ink-soft: #4a4640;
  --ink-faded: #7a7468;
  --gold: #a88a5c;
  --gold-pale: #c9b491;
  --gold-deep: #876d42;
  --line: rgba(26, 35, 64, 0.12);
  --line-soft: rgba(26, 35, 64, 0.06);
  --white: #ffffff;

  --font-display: 'Cormorant Garamond', 'Noto Serif JP', serif;
  --font-jp: 'Noto Serif JP', serif;
  --font-sans: 'Inter', -apple-system, sans-serif;

  --ease: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--font-jp);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.85;
  letter-spacing: 0.02em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(circle at 10% 5%, rgba(168, 138, 92, 0.04) 0%, transparent 40%),
    radial-gradient(circle at 90% 90%, rgba(26, 35, 64, 0.03) 0%, transparent 45%);
  pointer-events: none;
  z-index: 1;
}

.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 80px);
  position: relative;
  z-index: 2;
}

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

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 24px 0;
  background: rgba(246, 242, 233, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line-soft);
  transition: all 0.4s var(--ease);
}

.nav-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 80px);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 26px;
  letter-spacing: 0.32em;
  color: var(--navy);
  text-decoration: none;
  transition: color 0.3s var(--ease);
}

.nav-logo:hover { color: var(--gold); }

.nav-menu {
  display: flex;
  gap: clamp(24px, 4vw, 52px);
  list-style: none;
  align-items: center;
}

.nav-menu a {
  color: var(--ink-soft);
  text-decoration: none;
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 400;
  position: relative;
  transition: color 0.3s var(--ease);
  padding: 6px 0;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.4s var(--ease);
}

.nav-menu a:hover,
.nav-menu a.active { color: var(--navy); }
.nav-menu a.active::after,
.nav-menu a:hover::after { width: 100%; }

.nav-cta {
  padding: 10px 22px !important;
  border: 1px solid var(--navy);
  color: var(--navy) !important;
  transition: all 0.3s var(--ease);
}

.nav-cta::after { display: none !important; }
.nav-cta:hover {
  background: var(--navy);
  color: var(--ivory) !important;
}
.nav-cta.active {
  background: var(--navy);
  color: var(--ivory) !important;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 28px;
  height: 20px;
  position: relative;
}

.nav-toggle span {
  display: block;
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--navy);
  transition: all 0.3s var(--ease);
}

.nav-toggle span:nth-child(1) { top: 6px; }
.nav-toggle span:nth-child(2) { bottom: 6px; }

/* ============================================
   HERO
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 140px clamp(24px, 5vw, 80px) 100px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 75% 30%, rgba(201, 180, 145, 0.25) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 20% 90%, rgba(26, 35, 64, 0.08) 0%, transparent 60%);
}

.hero-bg img {
  position: absolute;
  right: 0;
  top: 0;
  width: 50%;
  height: 100%;
  object-fit: cover;
  opacity: 0.14;
  mix-blend-mode: multiply;
  mask-image: linear-gradient(to left, black 40%, transparent 100%);
  -webkit-mask-image: linear-gradient(to left, black 40%, transparent 100%);
}

.hero-content {
  max-width: 1320px;
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-faded);
  margin-bottom: 48px;
  opacity: 0;
  animation: fadeIn 1.2s var(--ease-out) 0.3s forwards;
}

.hero-eyebrow .line {
  width: 48px;
  height: 1px;
  background: var(--gold);
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(48px, 8.5vw, 132px);
  line-height: 1.0;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin-bottom: 48px;
  max-width: 1100px;
}

.hero-title em {
  font-style: italic;
  font-weight: 300;
  color: var(--gold);
}

.hero-title .jp {
  display: block;
  font-family: var(--font-jp);
  font-weight: 300;
  font-size: 0.28em;
  letter-spacing: 0.08em;
  color: var(--navy-soft);
  margin-top: 0.6em;
  line-height: 1.5;
  opacity: 0.85;
}

.reveal {
  display: block;
  overflow: hidden;
}

.reveal > span {
  display: block;
  transform: translateY(110%);
  animation: revealUp 1.4s var(--ease-out) forwards;
}

.reveal:nth-child(1) > span { animation-delay: 0.2s; }
.reveal:nth-child(2) > span { animation-delay: 0.4s; }
.reveal:nth-child(3) > span { animation-delay: 0.6s; }

@keyframes revealUp { to { transform: translateY(0); } }

.reveal-delay {
  opacity: 0;
  animation: fadeIn 1.2s var(--ease-out) 0.9s forwards;
}

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

.hero-sub {
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 560px;
  margin-bottom: 72px;
  line-height: 2;
}

.hero-meta {
  display: flex;
  gap: clamp(32px, 6vw, 88px);
  padding-top: 40px;
  border-top: 1px solid var(--line);
  max-width: 720px;
}

.meta-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.meta-num {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 400;
  color: var(--navy);
  line-height: 1;
  letter-spacing: -0.01em;
}

.meta-label {
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-faded);
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  right: clamp(24px, 5vw, 80px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  z-index: 2;
}

.hero-scroll span {
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-faded);
  writing-mode: vertical-rl;
}

.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: '';
  position: absolute;
  top: -20px; left: 0;
  width: 100%;
  height: 20px;
  background: var(--navy);
  animation: scrollDot 2.4s var(--ease) infinite;
}

@keyframes scrollDot { to { top: 60px; } }

/* ============================================
   SECTION BASICS
   ============================================ */
.section-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(36px, 5.5vw, 72px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--navy);
}

.section-title em {
  font-style: italic;
  color: var(--gold);
}

.label-num {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}

.label-text {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-faded);
  font-weight: 400;
}

/* ============================================
   PHILOSOPHY
   ============================================ */
.philosophy {
  padding: clamp(100px, 14vw, 200px) 0;
  border-top: 1px solid var(--line-soft);
  position: relative;
}

.philosophy-grid {
  display: grid;
  grid-template-columns: 1fr 2.2fr;
  gap: clamp(48px, 8vw, 140px);
  align-items: start;
}

.philosophy-label {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: sticky;
  top: 140px;
}

.philosophy-body .quote {
  font-family: var(--font-display);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(28px, 3.5vw, 44px);
  line-height: 1.45;
  color: var(--navy);
  margin: 40px 0;
  padding-left: 32px;
  border-left: 2px solid var(--gold);
  letter-spacing: -0.005em;
}

.philosophy-body p {
  font-size: 16px;
  line-height: 2.1;
  color: var(--ink-soft);
  margin-top: 28px;
  max-width: 640px;
}

/* ============================================
   PRINCIPLES
   ============================================ */
.principles {
  padding: clamp(100px, 14vw, 180px) 0;
  background: var(--navy);
  color: var(--ivory);
  position: relative;
  overflow: hidden;
}

.principles::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 30%, rgba(168, 138, 92, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 85% 70%, rgba(168, 138, 92, 0.06) 0%, transparent 50%);
}

.principles .container { position: relative; z-index: 2; }

.principles-head {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 80px;
  max-width: 800px;
}

.principles-head .section-title { color: var(--ivory); }

.principles-head p {
  font-size: 17px;
  line-height: 2;
  color: rgba(246, 242, 233, 0.7);
  margin-top: 16px;
  max-width: 560px;
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.principle-item {
  background: var(--navy);
  padding: 64px clamp(28px, 3.5vw, 56px);
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-height: 380px;
  position: relative;
  transition: background 0.5s var(--ease);
}

.principle-item:hover {
  background: var(--navy-soft);
}

.principle-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 56px;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}

.principle-item h3 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
  color: var(--ivory);
  letter-spacing: 0.01em;
  margin-bottom: 4px;
}

.principle-item p {
  color: rgba(246, 242, 233, 0.75);
  font-size: 14px;
  line-height: 2;
  flex-grow: 1;
}

/* ============================================
   BUSINESS AREAS (3 services)
   ============================================ */
.services {
  padding: clamp(100px, 14vw, 200px) 0;
}

.services-head {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 96px;
  max-width: 800px;
}

.services-head p {
  font-size: 17px;
  line-height: 2;
  color: var(--ink-soft);
  margin-top: 16px;
}

.service-row {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: clamp(48px, 7vw, 120px);
  padding: clamp(56px, 8vw, 100px) 0;
  border-top: 1px solid var(--line);
  align-items: center;
}

.service-row:nth-child(even) {
  grid-template-columns: 1.5fr 1fr;
}

.service-row:nth-child(even) .service-image { order: -1; }

.service-row:last-child {
  border-bottom: 1px solid var(--line);
}

.service-image {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--ivory-deep);
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
  filter: saturate(0.92) contrast(1.02);
}

.service-image:hover img { transform: scale(1.04); }

.service-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 60%, rgba(26, 35, 64, 0.15));
  pointer-events: none;
}

.service-num-badge {
  position: absolute;
  top: 24px;
  left: 24px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 72px;
  font-weight: 300;
  color: var(--ivory);
  line-height: 1;
  z-index: 2;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

.service-body .service-tag {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
  display: block;
}

.service-body h3 {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 300;
  line-height: 1.15;
  color: var(--navy);
  margin-bottom: 28px;
  letter-spacing: -0.01em;
}

.service-body .lead {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 20px;
  line-height: 1.6;
  color: var(--navy-soft);
  margin-bottom: 28px;
  font-weight: 400;
}

.service-body p {
  font-size: 15px;
  line-height: 2;
  color: var(--ink-soft);
  margin-bottom: 32px;
  max-width: 560px;
}

.service-body ul {
  list-style: none;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
  max-width: 600px;
}

.service-body li {
  font-size: 13px;
  line-height: 1.8;
  color: var(--ink-soft);
  padding-left: 18px;
  position: relative;
}

.service-body li::before {
  content: '';
  position: absolute;
  left: 0; top: 12px;
  width: 8px;
  height: 1px;
  background: var(--gold);
}

/* ============================================
   STATS STRIP
   ============================================ */
.stats {
  padding: clamp(80px, 10vw, 120px) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--ivory-deep);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(24px, 4vw, 60px);
}

.stat-item {
  text-align: center;
  padding: 20px 0;
  border-right: 1px solid var(--line);
}

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

.stat-num {
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 300;
  color: var(--navy);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.stat-num em {
  font-style: italic;
  color: var(--gold);
}

.stat-label {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-faded);
}

/* ============================================
   CTA
   ============================================ */
.cta {
  padding: clamp(100px, 14vw, 200px) 0;
  background: var(--navy);
  color: var(--ivory);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(168, 138, 92, 0.15) 0%, transparent 65%);
}

.cta-image {
  position: absolute;
  inset: 0;
  opacity: 0.12;
  z-index: 0;
}

.cta-image img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.cta .container { position: relative; z-index: 2; }

.cta-lead {
  font-family: var(--font-display);
  font-size: clamp(36px, 5.5vw, 68px);
  font-weight: 300;
  line-height: 1.25;
  margin-bottom: 56px;
  color: var(--ivory);
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
  letter-spacing: -0.01em;
}

.cta-lead em { font-style: italic; color: var(--gold-pale); }

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 22px 56px;
  border: 1px solid var(--gold);
  color: var(--ivory);
  text-decoration: none;
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}

.cta-button::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: translateX(-101%);
  transition: transform 0.5s var(--ease);
  z-index: 0;
}

.cta-button:hover::before { transform: translateX(0); }
.cta-button > * { position: relative; z-index: 1; transition: color 0.3s var(--ease); }
.cta-button:hover { color: var(--navy); border-color: var(--gold); }

.cta-button .arrow {
  transition: transform 0.4s var(--ease);
  font-size: 14px;
}

.cta-button:hover .arrow { transform: translateX(8px); }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--navy-deep);
  color: var(--ivory);
  padding: 120px 0 40px;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold) 50%, transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  margin-bottom: 80px;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 40px;
  letter-spacing: 0.32em;
  margin-bottom: 16px;
  color: var(--ivory);
  font-weight: 400;
}

.footer-brand > p {
  color: rgba(246, 242, 233, 0.6);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 18px;
  margin-bottom: 24px;
}

.footer-brand .company-name {
  font-family: var(--font-jp);
  font-size: 14px;
  color: rgba(246, 242, 233, 0.8);
  letter-spacing: 0.05em;
}

.footer h4 {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 24px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  color: var(--ivory);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.3s var(--ease);
  opacity: 0.75;
  line-height: 1.8;
}

.footer-col a:hover { color: var(--gold-pale); opacity: 1; }

.footer-col p {
  color: rgba(246, 242, 233, 0.75);
  font-size: 13px;
  line-height: 1.9;
}

.footer-base {
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: rgba(246, 242, 233, 0.5);
  text-transform: uppercase;
}

.footer-licenses {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

/* ============================================
   SUB PAGES
   ============================================ */
.page-header {
  padding: 220px 0 120px;
  border-bottom: 1px solid var(--line-soft);
  background: radial-gradient(ellipse at center top, rgba(201, 180, 145, 0.12) 0%, transparent 70%);
  position: relative;
  overflow: hidden;
}

.page-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, transparent, var(--gold));
}

.page-eyebrow {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 32px;
  display: block;
}

.page-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(48px, 8vw, 128px);
  line-height: 1.0;
  letter-spacing: -0.02em;
  color: var(--navy);
}

.page-title em {
  font-style: italic;
  color: var(--gold);
}

.page-title .jp {
  display: block;
  font-family: var(--font-jp);
  font-weight: 300;
  font-size: 0.22em;
  color: var(--navy-soft);
  margin-top: 0.6em;
  letter-spacing: 0.08em;
  line-height: 1.5;
  opacity: 0.85;
}

.lead {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 22px;
  line-height: 1.6;
  color: var(--navy);
  margin-bottom: 32px;
  font-weight: 400;
}

/* ============================================
   MESSAGE (About)
   ============================================ */
.message-section {
  padding: clamp(100px, 14vw, 180px) 0;
}

.message-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: clamp(48px, 8vw, 120px);
  align-items: start;
}

.message-label {
  position: sticky;
  top: 140px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.message-body .section-title { margin-bottom: 32px; }

.message-body p {
  font-size: 16px;
  line-height: 2.1;
  color: var(--ink-soft);
  margin-bottom: 24px;
  max-width: 640px;
}

.message-body p.emphasize {
  color: var(--navy);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 18px;
  line-height: 1.7;
  border-left: 2px solid var(--gold);
  padding-left: 24px;
}

.signature {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sig-name {
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--navy);
  font-weight: 400;
}

.sig-title {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-faded);
}

/* ============================================
   PROFILE TABLE
   ============================================ */
.profile {
  padding: clamp(80px, 12vw, 160px) 0;
  background: var(--ivory-deep);
}

.profile-head {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 72px;
}

.profile-list {
  border-top: 1px solid var(--line);
  max-width: 1100px;
}

.profile-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
  gap: 40px;
  transition: padding-left 0.4s var(--ease);
}

.profile-row:hover { padding-left: 20px; }

.profile-row dt {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}

.profile-row dd {
  font-size: 16px;
  line-height: 1.9;
  color: var(--navy);
}

.profile-row dd a {
  color: var(--navy);
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
  transition: color 0.3s var(--ease);
}

.profile-row dd a:hover { color: var(--gold); }

/* ============================================
   CERTIFICATIONS
   ============================================ */
.certs {
  padding: clamp(100px, 14vw, 180px) 0;
}

.certs-head {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 72px;
}

.certs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--line);
}

.cert-item {
  padding: 56px 40px;
  border-right: 1px solid var(--line);
  transition: background 0.4s var(--ease);
}

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

.cert-item:hover {
  background: var(--ivory-deep);
}

.cert-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 40px;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 24px;
}

.cert-item h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}

.cert-item p {
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  line-height: 1.8;
}

/* ============================================
   BUSINESS — DETAIL
   ============================================ */
.biz-detail {
  padding: clamp(100px, 14vw, 180px) 0;
  border-bottom: 1px solid var(--line-soft);
}

.biz-detail.alt { background: var(--ivory-deep); }

.biz-detail-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(48px, 8vw, 120px);
  align-items: start;
}

.biz-meta-stick {
  position: sticky;
  top: 140px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.biz-meta-stick .roman {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 84px;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
}

.biz-meta-stick .tag {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-faded);
}

.biz-detail-body h2 {
  font-family: var(--font-display);
  font-size: clamp(42px, 6vw, 80px);
  font-weight: 300;
  line-height: 1.1;
  color: var(--navy);
  margin-bottom: 32px;
  letter-spacing: -0.015em;
}

.biz-detail-body .lead {
  max-width: 700px;
  margin-bottom: 32px;
}

.biz-detail-body > p {
  font-size: 16px;
  line-height: 2.05;
  color: var(--ink-soft);
  margin-bottom: 24px;
  max-width: 720px;
}

.biz-points {
  margin-top: 72px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.bp-item {
  padding: 32px 0 32px 32px;
  border-left: 1px solid var(--gold);
  position: relative;
}

.bp-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 28px;
  color: var(--gold);
  margin-bottom: 12px;
  display: block;
  line-height: 1;
}

.bp-item h4 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 10px;
  letter-spacing: 0.01em;
}

.bp-item p {
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.95;
}

.biz-gallery {
  margin-top: 80px;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1px;
  aspect-ratio: 16 / 9;
  background: var(--line);
  border: 1px solid var(--line);
}

.biz-gallery img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.02);
  transition: transform 1.2s var(--ease);
}

.biz-gallery > div {
  overflow: hidden;
  background: var(--ivory-deep);
}

.biz-gallery > div:hover img { transform: scale(1.04); }

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact {
  padding: clamp(80px, 12vw, 160px) 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: clamp(48px, 8vw, 120px);
  align-items: start;
}

.contact-info {
  position: sticky;
  top: 140px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-info .section-title { margin-bottom: 24px; }

.contact-info > p {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 2;
  margin-bottom: 24px;
}

.info-block {
  padding-top: 32px;
  margin-top: 16px;
  border-top: 1px solid var(--line);
}

.info-block h4 {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 12px;
}

.info-block p {
  margin: 0;
  font-size: 15px;
  color: var(--navy);
  line-height: 1.9;
}

.info-mail {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--navy);
  text-decoration: none;
  display: inline-block;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--gold);
  transition: color 0.3s var(--ease);
}

.info-mail:hover { color: var(--gold); }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-form .section-title { margin-bottom: 32px; }

.form-row {
  display: flex;
  flex-direction: column;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  transition: border-color 0.3s var(--ease);
}

.form-row:focus-within { border-color: var(--gold); }

.form-row label {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 14px;
}

.label-no {
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.24em;
  color: var(--gold);
}

.label-txt {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-faded);
}

.label-txt em { color: var(--gold); font-style: normal; }

.form-row input,
.form-row select,
.form-row textarea {
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--font-jp);
  font-size: 16px;
  color: var(--navy);
  padding: 8px 0;
  width: 100%;
  resize: vertical;
  letter-spacing: 0.01em;
}

.form-row textarea {
  min-height: 140px;
  line-height: 1.8;
}

.form-row select {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' stroke='%23a88a5c' fill='none' stroke-width='1'/></svg>");
  background-repeat: no-repeat;
  background-position: right 4px center;
  padding-right: 24px;
}

.form-submit {
  margin-top: 40px;
  padding: 22px 56px;
  background: var(--navy);
  color: var(--ivory);
  border: 1px solid var(--navy);
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  align-self: flex-start;
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}

.form-submit::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: translateX(-101%);
  transition: transform 0.5s var(--ease);
  z-index: 0;
}

.form-submit:hover::before { transform: translateX(0); }
.form-submit > * { position: relative; z-index: 1; }
.form-submit:hover { color: var(--navy); border-color: var(--gold); }

.form-submit .arrow {
  transition: transform 0.4s var(--ease);
  font-size: 14px;
}

.form-submit:hover .arrow { transform: translateX(8px); }

.form-note {
  margin-top: 24px;
  font-size: 12px;
  color: var(--ink-faded);
  line-height: 1.9;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 980px) {
  .nav { padding: 16px 0; }
  .nav-menu {
    position: fixed;
    top: 0; right: -100%;
    width: 78%;
    height: 100vh;
    background: var(--ivory);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    transition: right 0.5s var(--ease);
    padding: 40px;
    box-shadow: -20px 0 60px rgba(0,0,0,0.08);
  }
  .nav-menu.open { right: 0; }
  .nav-menu a { font-size: 14px; }
  .nav-cta {
    padding: 12px 28px !important;
  }
  .nav-toggle { display: block; z-index: 101; }
  .nav-toggle.open span:nth-child(1) {
    top: 10px; transform: rotate(45deg);
  }
  .nav-toggle.open span:nth-child(2) {
    bottom: 9px; transform: rotate(-45deg);
  }

  .hero { padding: 100px 24px 60px; min-height: 85vh; }
  .hero-bg img { opacity: 0.08; }
  .hero-sub { margin-bottom: 48px; }
  .hero-meta { flex-wrap: wrap; gap: 24px; padding-top: 32px; }
  .meta-num { font-size: 32px; }
  .hero-scroll { display: none; }

  .philosophy-grid,
  .message-grid,
  .biz-detail-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .philosophy-label,
  .message-label,
  .biz-meta-stick,
  .contact-info {
    position: relative;
    top: 0;
  }

  .principles-grid,
  .certs-grid {
    grid-template-columns: 1fr;
  }

  .certs-grid {
    border: 1px solid var(--line);
  }
  .cert-item {
    border-right: none;
    border-bottom: 1px solid var(--line);
    padding: 40px 28px;
  }
  .cert-item:last-child { border-bottom: none; }

  .service-row {
    grid-template-columns: 1fr !important;
    gap: 32px;
  }
  .service-row:nth-child(even) .service-image { order: 0; }

  .biz-points {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .biz-gallery {
    grid-template-columns: 1fr;
    aspect-ratio: auto;
    height: auto;
  }
  .biz-gallery > div {
    aspect-ratio: 16/9;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px 24px;
  }
  .stat-item {
    border-right: none;
    padding: 16px 0;
  }
  .stat-item:nth-child(odd) {
    border-right: 1px solid var(--line);
  }

  .profile-row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 24px 0;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .footer-brand { grid-column: 1 / -1; }

  .footer-base {
    flex-direction: column;
    gap: 12px;
  }
}

@media (max-width: 560px) {
  .principle-item { padding: 48px 28px; min-height: auto; }
  .service-body ul { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ============================================
   LEGAL / DOCUMENT PAGES
   ============================================ */
.doc {
  padding: clamp(80px, 10vw, 140px) 0;
  max-width: 920px;
  margin: 0 auto;
}

.doc .container { padding: 0 clamp(24px, 5vw, 60px); }

.doc-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-faded);
  margin-bottom: 48px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.doc-meta .dot {
  width: 4px;
  height: 4px;
  background: var(--gold);
  border-radius: 50%;
}

.doc h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 400;
  color: var(--navy);
  margin: 48px 0 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  letter-spacing: -0.005em;
}

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

.doc h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 400;
  color: var(--navy);
  margin: 32px 0 16px;
}

.doc p {
  font-size: 15px;
  line-height: 2.05;
  color: var(--ink-soft);
  margin-bottom: 16px;
}

.doc ul, .doc ol {
  margin: 16px 0 24px;
  padding-left: 0;
  list-style: none;
}

.doc li {
  font-size: 14px;
  line-height: 2;
  color: var(--ink-soft);
  padding-left: 24px;
  position: relative;
  margin-bottom: 8px;
}

.doc li::before {
  content: '';
  position: absolute;
  left: 0; top: 14px;
  width: 12px;
  height: 1px;
  background: var(--gold);
}

.doc-callout {
  background: var(--ivory-deep);
  padding: 32px clamp(24px, 3vw, 40px);
  margin: 40px 0;
  border-left: 3px solid var(--gold);
}

.doc-callout p:last-child { margin-bottom: 0; }
.doc-callout strong { color: var(--navy); font-weight: 500; }

.doc-table {
  border-top: 1px solid var(--line);
  margin: 32px 0;
}

.doc-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  gap: 24px;
  align-items: baseline;
}

.doc-row dt {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}

.doc-row dd {
  font-size: 14px;
  line-height: 1.9;
  color: var(--navy);
}

.doc-notice {
  background: rgba(168, 138, 92, 0.08);
  border: 1px solid rgba(168, 138, 92, 0.25);
  padding: 28px clamp(24px, 3vw, 36px);
  margin: 32px 0;
  border-radius: 2px;
}

.doc-notice p { margin: 0; font-size: 13px; color: var(--ink-soft); line-height: 2; }

.doc-footer {
  margin-top: 72px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
  text-align: center;
}

.doc-footer p {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-faded);
  margin: 0;
}

@media (max-width: 640px) {
  .doc-row {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 16px 0;
  }
}
