/* ============================================
   REVAL Inc. — Corporate Website
   建築・不動産をベースにした再設計版
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@200;300;400;500;600&family=Noto+Sans+JP:wght@300;400;500;700&display=swap');

/* ============================================
   CSS Variables
   ============================================ */
:root {
  --navy:       #1a3a6c;
  --navy-dark:  #0f2448;
  --navy-mid:   #234d8f;
  --navy-light: #2d5fa8;
  --gray-100:   #f5f6f8;
  --gray-200:   #e8ecf0;
  --gray-300:   #c8d0da;
  --gray-400:   #9aa5b4;
  --gray-500:   #6b7a90;
  --white:      #ffffff;
  --off-white:  #f7f9fb;
  --font-en:    'Montserrat', sans-serif;
  --font-ja:    'Noto Sans JP', 'Yu Gothic', 'YuGothic', sans-serif;
  --ease:       cubic-bezier(0.4, 0, 0.2, 1);
  --transition: all 0.35s var(--ease);
  --shadow-sm:  0 2px 12px rgba(26,58,108,0.07);
  --shadow:     0 4px 28px rgba(26,58,108,0.10);
  --shadow-lg:  0 12px 48px rgba(26,58,108,0.16);
  --radius:     2px;
  --radius-md:  6px;
}

/* ============================================
   Reset & Base
   ============================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-ja);
  color: var(--navy-dark);
  background: var(--white);
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }

/* ============================================
   Typography helpers
   ============================================ */
.en { font-family: var(--font-en); letter-spacing: 0.04em; }
h1,h2,h3,h4 { font-weight: 400; line-height: 1.45; }

/* ============================================
   Layout
   ============================================ */
.container { max-width: 1080px; margin: 0 auto; padding: 0 48px; }
.section    { padding: 104px 0; }
.section-md { padding: 72px 0; }
.section-sm { padding: 56px 0; }

/* ============================================
   Section Label / Heading
   ============================================ */
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}
.section-eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--navy);
  opacity: 0.35;
}
.section-eyebrow span {
  font-family: var(--font-en);
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gray-500);
}
.section-title {
  font-size: clamp(26px, 3.8vw, 40px);
  font-weight: 300;
  color: var(--navy-dark);
  letter-spacing: -0.015em;
  line-height: 1.5;
  margin-bottom: 20px;
}
.section-lead {
  font-size: 15px;
  font-weight: 300;
  color: var(--gray-500);
  line-height: 2;
  max-width: 580px;
}
.center { text-align: center; }
.center .section-eyebrow { margin-left: auto; margin-right: auto; }
.center .section-lead    { margin: 0 auto; }

/* ============================================
   Header
   ============================================ */
.site-header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 1000;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.site-header.scrolled {
  background: rgba(255,255,255,0.97);
  box-shadow: 0 1px 0 var(--gray-200);
  backdrop-filter: blur(12px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 0 48px;
}
/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  height: 36px;
  flex-shrink: 0;
}
.site-logo img {
  height: 100%;
  width: auto;
  object-fit: contain;
  /* fallback filter for color logo on dark bg */
  filter: brightness(0) invert(1);
  transition: filter 0.35s var(--ease);
}
.site-header.scrolled .site-logo img { filter: none; }

/* logo text fallback */
.logo-text {
  font-family: var(--font-en);
  font-size: 21px;
  font-weight: 300;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--white);
  transition: color 0.35s var(--ease);
}
.site-header.scrolled .logo-text { color: var(--navy); }

/* Nav */
.site-nav { display: flex; align-items: center; gap: 38px; }
.nav-link {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.82);
  position: relative;
  padding-bottom: 3px;
}
.site-header.scrolled .nav-link { color: var(--navy); }
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: currentColor;
  transition: width 0.3s var(--ease);
}
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px; height: 28px;
  cursor: pointer;
  background: none; border: none; padding: 0;
}
.hamburger span {
  display: block; width: 100%; height: 1px;
  background: var(--white);
  transition: var(--transition);
}
.site-header.scrolled .hamburger span { background: var(--navy); }
.hamburger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 72px; left: 0;
  width: 100%;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--gray-200);
  box-shadow: 0 8px 24px rgba(26,58,108,0.1);
  z-index: 999;
}
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: block;
  padding: 16px 48px;
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy);
  border-bottom: 1px solid var(--gray-200);
}
.mobile-nav a:hover { background: var(--gray-100); }

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 36px;
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  border-radius: var(--radius);
}
.btn-primary {
  background: var(--navy);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--navy-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26,58,108,0.28);
}
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.55);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
}
.btn-outline-navy {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--navy);
}
.btn-outline-navy:hover {
  background: var(--navy);
  color: var(--white);
}
.btn-arrow::after {
  content: '→';
  font-size: 13px;
  transition: transform 0.3s var(--ease);
}
.btn-arrow:hover::after { transform: translateX(5px); }

/* ============================================
   HERO — Top Page
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--navy-dark);
  overflow: hidden;
}

/* Background texture grid */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
}

/* Decorative swirl curves — inspired by the logo mark */
.hero-swirl {
  position: absolute;
  pointer-events: none;
  right: -5%;
  top: 50%;
  transform: translateY(-50%);
  width: 55vw;
  max-width: 700px;
  opacity: 0.06;
}
.hero-swirl-2 {
  position: absolute;
  pointer-events: none;
  left: -10%;
  bottom: -10%;
  width: 35vw;
  max-width: 480px;
  opacity: 0.04;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 120px 48px 100px;
  max-width: 1080px;
  margin: 0 auto;
  width: 100%;
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 36px;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 36px; height: 1px;
  background: rgba(255,255,255,0.35);
}
.hero-eyebrow span {
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}
.hero-title {
  font-size: clamp(34px, 5.5vw, 66px);
  font-weight: 300;
  color: var(--white);
  line-height: 1.4;
  letter-spacing: -0.01em;
  margin-bottom: 28px;
}
.hero-title strong {
  display: block;
  font-weight: 500;
}
.hero-sub {
  font-size: clamp(13px, 1.5vw, 15px);
  font-weight: 300;
  color: rgba(255,255,255,0.68);
  max-width: 520px;
  line-height: 2;
  margin-bottom: 20px;
}
.hero-note {
  font-size: 13px;
  font-weight: 300;
  color: rgba(255,255,255,0.5);
  max-width: 480px;
  line-height: 1.9;
  margin-bottom: 52px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-scroll {
  position: absolute;
  bottom: 40px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
}
.hero-scroll span {
  font-family: var(--font-en);
  font-size: 9px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}
.scroll-line {
  width: 1px; height: 44px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.35), transparent);
  animation: scrollPulse 2.2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%,100% { opacity: 0.4; transform: scaleY(1); }
  50%      { opacity: 1;   transform: scaleY(0.65); }
}

/* ============================================
   Wave Divider
   ============================================ */
.wave-divider { line-height: 0; overflow: hidden; }
.wave-divider svg { display: block; width: 100%; }

/* ============================================
   Concept Section (top page)
   ============================================ */
.concept-section {
  background: var(--white);
}
.concept-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.concept-visual {
  position: relative;
}
.concept-visual-box {
  background: linear-gradient(145deg, var(--navy-dark) 0%, var(--navy) 60%, var(--navy-mid) 100%);
  border-radius: var(--radius-md);
  aspect-ratio: 4/5;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.concept-visual-box svg {
  width: 65%;
  opacity: 0.1;
}
.concept-accent {
  position: absolute;
  bottom: -16px;
  right: -16px;
  width: 110px; height: 110px;
  background: var(--gray-200);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.concept-accent .num {
  font-family: var(--font-en);
  font-size: 34px;
  font-weight: 200;
  color: var(--navy);
  line-height: 1;
}
.concept-accent .num-label {
  font-family: var(--font-en);
  font-size: 8.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray-500);
}

/* ============================================
   4 Values Grid (top page)
   ============================================ */
.values-section { background: var(--off-white); }

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 56px;
}
.value-card {
  background: var(--white);
  padding: 36px 28px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}
.value-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--navy);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.value-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.value-card:hover::before { transform: scaleX(1); }

.value-icon {
  width: 44px; height: 44px;
  margin-bottom: 20px;
  color: var(--navy);
  opacity: 0.75;
}
.value-en {
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 6px;
}
.value-title {
  font-size: 16px;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 10px;
}
.value-desc {
  font-size: 13px;
  font-weight: 300;
  color: var(--gray-500);
  line-height: 1.85;
}

/* ============================================
   Services Overview (top page)
   ============================================ */
.services-section { background: var(--white); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.service-card {
  background: var(--off-white);
  border-radius: var(--radius-md);
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid transparent;
}
.service-card:hover {
  background: var(--white);
  border-color: var(--gray-200);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.service-num {
  font-family: var(--font-en);
  font-size: 48px;
  font-weight: 200;
  color: var(--navy);
  opacity: 0.07;
  line-height: 1;
  margin-bottom: 20px;
}
.service-icon-wrap {
  width: 48px; height: 48px;
  margin-bottom: 24px;
  color: var(--navy);
  opacity: 0.7;
}
.service-en {
  font-family: var(--font-en);
  font-size: 9.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 6px;
}
.service-name {
  font-size: 18px;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 12px;
}
.service-desc {
  font-size: 13.5px;
  font-weight: 300;
  color: var(--gray-500);
  line-height: 1.9;
}
.service-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy);
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
}
.service-more:hover { border-bottom-color: var(--navy); }
.service-more::after { content: '→'; font-size: 12px; transition: transform 0.3s; }
.service-more:hover::after { transform: translateX(4px); }

/* ============================================
   MVV Section
   ============================================ */
.mvv-section { background: var(--navy-dark); position: relative; overflow: hidden; }
.mvv-deco {
  position: absolute;
  top: 50%;
  right: -8%;
  transform: translateY(-50%);
  width: 45%;
  opacity: 0.04;
  pointer-events: none;
}
.mvv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 2fr;
  gap: 40px;
  margin-top: 56px;
  position: relative;
  z-index: 2;
}
.mvv-block {}
.mvv-label {
  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 16px;
}
.mvv-text {
  font-size: 16px;
  font-weight: 300;
  color: var(--white);
  line-height: 1.85;
}
.mvv-values-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mvv-value-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.mvv-value-item:first-child { border-top: 1px solid rgba(255,255,255,0.07); }
.mvv-value-key {
  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  min-width: 60px;
  margin-top: 3px;
}
.mvv-value-desc {
  font-size: 13.5px;
  font-weight: 300;
  color: rgba(255,255,255,0.72);
  line-height: 1.8;
}

/* ============================================
   CTA Section
   ============================================ */
.cta-section {
  background: var(--gray-100);
  padding: 100px 0;
  text-align: center;
}
.cta-title {
  font-size: clamp(24px, 3.5vw, 38px);
  font-weight: 300;
  color: var(--navy-dark);
  margin-bottom: 14px;
}
.cta-sub {
  font-size: 14px;
  font-weight: 300;
  color: var(--gray-500);
  line-height: 2;
  margin-bottom: 44px;
}
.cta-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* ============================================
   Page Hero (inner pages)
   ============================================ */
.page-hero {
  background: var(--navy-dark);
  padding: 160px 0 80px;
  position: relative;
  overflow: hidden;
}
.page-hero-curve-bg {
  position: absolute;
  top: -20%;
  right: -8%;
  width: 50%;
  opacity: 0.045;
  pointer-events: none;
}
.page-hero-curve {
  position: absolute;
  bottom: -2px; left: 0;
  width: 100%;
  line-height: 0;
}
.page-hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.38);
  margin-bottom: 16px;
}
.page-hero-eyebrow::before {
  content: '';
  display: block;
  width: 28px; height: 1px;
  background: rgba(255,255,255,0.28);
}
.page-hero-title {
  font-size: clamp(30px, 4.5vw, 52px);
  font-weight: 300;
  color: var(--white);
  letter-spacing: -0.01em;
  line-height: 1.4;
}
.page-hero-desc {
  margin-top: 18px;
  font-size: 15px;
  font-weight: 300;
  color: rgba(255,255,255,0.6);
  max-width: 500px;
  line-height: 2;
}

/* ============================================
   About Page — Philosophy Section
   ============================================ */
.philosophy-section { background: var(--white); }

.philosophy-lead {
  font-size: clamp(18px, 2.5vw, 26px);
  font-weight: 300;
  color: var(--navy-dark);
  line-height: 1.9;
  margin-bottom: 36px;
  letter-spacing: -0.01em;
}

.philosophy-body {
  font-size: 15px;
  font-weight: 300;
  color: var(--gray-500);
  line-height: 2.2;
  max-width: 680px;
}
.philosophy-body p + p { margin-top: 1.4em; }

.philosophy-keyword {
  color: var(--navy);
  font-style: italic;
}

/* ============================================
   About — MVV Full
   ============================================ */
.mvv-full-section { background: var(--off-white); }

.mvv-full-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 56px;
}
.mvv-full-card {
  padding: 44px 40px;
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
}
.mvv-full-card-dark {
  background: var(--navy-dark);
}
.mvv-full-card-light {
  background: var(--white);
}
.mvv-full-card-wide {
  grid-column: 1 / -1;
  background: var(--white);
}
.mvv-full-label {
  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.dark .mvv-full-label { color: rgba(255,255,255,0.38); }
.light .mvv-full-label { color: var(--gray-400); }

.mvv-full-heading {
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 18px;
}
.dark .mvv-full-heading { color: var(--white); }
.light .mvv-full-heading { color: var(--navy-dark); }

.mvv-full-text {
  font-size: 14px;
  font-weight: 300;
  line-height: 2;
}
.dark .mvv-full-text { color: rgba(255,255,255,0.65); }
.light .mvv-full-text { color: var(--gray-500); }

.values-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 24px;
}
.value-pill {
  padding: 18px 16px;
  background: var(--off-white);
  border-radius: var(--radius-md);
  text-align: center;
}
.value-pill-key {
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--navy);
  margin-bottom: 6px;
}
.value-pill-ja {
  font-size: 11px;
  font-weight: 300;
  color: var(--gray-500);
}
.value-pill-desc {
  font-size: 11.5px;
  font-weight: 300;
  color: var(--gray-400);
  line-height: 1.7;
  margin-top: 8px;
}

/* ============================================
   About — CEO Message
   ============================================ */
.ceo-section { background: var(--white); }
.ceo-inner {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 80px;
  align-items: start;
}
.ceo-avatar {
  width: 196px; height: 196px;
  background: linear-gradient(145deg, var(--navy-dark), var(--navy-mid));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.ceo-avatar svg { width: 55%; color: rgba(255,255,255,0.28); }
.ceo-info { text-align: center; }
.ceo-name { font-size: 18px; font-weight: 400; color: var(--navy-dark); margin-bottom: 4px; }
.ceo-name-en {
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.1em;
  color: var(--gray-400);
}
.ceo-pos {
  font-size: 12px;
  font-weight: 300;
  color: var(--gray-500);
  margin-top: 4px;
}
.ceo-message-body {
  font-size: 15px;
  font-weight: 300;
  color: var(--navy-dark);
  line-height: 2.3;
}
.ceo-message-body p + p { margin-top: 1.4em; }
.ceo-sign {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--gray-200);
}
.ceo-sign-name { font-size: 18px; font-weight: 400; color: var(--navy-dark); margin-bottom: 4px; }
.ceo-sign-title {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray-400);
}

/* ============================================
   About — Company Info Table
   ============================================ */
.company-table-section { background: var(--off-white); }

.company-table {
  margin-top: 48px;
  border-top: 1px solid var(--gray-200);
}
.company-table-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  border-bottom: 1px solid var(--gray-200);
}
.company-table-label {
  padding: 20px 24px 20px 0;
  font-family: var(--font-en);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray-500);
  font-weight: 400;
}
.company-table-value {
  padding: 20px 0;
  font-size: 14px;
  font-weight: 300;
  color: var(--navy-dark);
  line-height: 1.8;
}
.company-table-value a { color: var(--navy); }
.company-table-value a:hover { opacity: 0.7; }

/* ============================================
   Services Page
   ============================================ */
.service-detail {
  padding: 96px 0;
}
.service-detail:nth-child(even) { background: var(--off-white); }

.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.service-detail:nth-child(even) .service-detail-grid {
  direction: rtl;
}
.service-detail:nth-child(even) .service-detail-content,
.service-detail:nth-child(even) .service-detail-visual { direction: ltr; }

.service-visual-box {
  background: linear-gradient(145deg, var(--navy-dark) 0%, var(--navy-mid) 100%);
  border-radius: var(--radius-md);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.service-visual-box svg.deco-main {
  width: 32%;
  color: rgba(255,255,255,0.12);
}
.service-visual-tag {
  position: absolute;
  top: 20px; left: 20px;
  font-family: var(--font-en);
  font-size: 9px;
  font-weight: 300;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
}
/* deco circles */
.deco-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.06);
  pointer-events: none;
}
.deco-ring-1 { width: 70%; aspect-ratio: 1; bottom: -25%; right: -25%; }
.deco-ring-2 { width: 40%; aspect-ratio: 1; top: -15%; left: -15%; }

.service-detail-content .service-en {
  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 6px;
}
.service-detail-content .service-name {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 400;
  color: var(--navy-dark);
  margin-bottom: 20px;
}
.service-detail-content .service-desc {
  font-size: 14.5px;
  font-weight: 300;
  color: var(--gray-500);
  line-height: 2;
  margin-bottom: 32px;
}
.service-feature-list { margin-top: 28px; }
.service-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--gray-200);
  font-size: 13.5px;
  font-weight: 300;
  color: var(--navy-dark);
}
.service-feature-item:first-child { border-top: 1px solid var(--gray-200); }
.feature-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--navy);
  opacity: 0.35;
  margin-top: 9px;
  flex-shrink: 0;
}

/* ============================================
   Contact Page
   ============================================ */
.contact-section { background: var(--white); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 80px;
  align-items: start;
}

/* Form */
.form-intro {
  font-size: 14px;
  font-weight: 300;
  color: var(--gray-500);
  line-height: 2;
  margin-bottom: 44px;
}
.form-group { margin-bottom: 24px; }
.form-label {
  display: block;
  font-size: 13px;
  font-weight: 400;
  color: var(--navy-dark);
  margin-bottom: 8px;
}
.form-label .req {
  font-family: var(--font-en);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.06em;
  background: var(--navy);
  color: var(--white);
  padding: 1px 6px;
  margin-left: 6px;
  vertical-align: middle;
}
.form-control {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  font-family: var(--font-ja);
  font-size: 14px;
  font-weight: 300;
  color: var(--navy-dark);
  background: var(--white);
  transition: border-color 0.25s, box-shadow 0.25s;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}
.form-control:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(26,58,108,0.07);
}
.form-control::placeholder { color: var(--gray-300); }
textarea.form-control { resize: vertical; min-height: 150px; line-height: 1.8; }
select.form-control {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%231a3a6c' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}
.form-submit { margin-top: 36px; }
.btn-submit {
  width: 100%;
  padding: 18px;
  background: var(--navy);
  color: var(--white);
  border: none;
  font-family: var(--font-en);
  font-size: 11.5px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
  border-radius: var(--radius);
}
.btn-submit:hover {
  background: var(--navy-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(26,58,108,0.26);
}
.btn-submit:disabled { opacity: 0.6; cursor: not-allowed; }
.form-note { margin-top: 14px; font-size: 12px; font-weight: 300; color: var(--gray-400); text-align: center; }
.form-success { display: none; padding: 48px 32px; text-align: center; background: var(--off-white); border-radius: var(--radius-md); }
.form-success.show { display: block; }
.form-success-icon {
  width: 52px; height: 52px;
  background: var(--navy); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  color: var(--white); font-size: 22px;
}

/* Contact sidebar */
.contact-sidebar { position: sticky; top: 96px; }
.sidebar-block { margin-bottom: 36px; }
.sidebar-title {
  font-family: var(--font-en);
  font-size: 9.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.sidebar-title::after {
  content: '';
  flex: 1; height: 1px;
  background: var(--gray-200);
}
.sidebar-item {
  display: flex;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--gray-200);
  font-size: 13.5px;
  font-weight: 300;
  color: var(--navy-dark);
}
.sidebar-item:first-of-type { border-top: 1px solid var(--gray-200); }
.sidebar-item svg { width: 16px; height: 16px; color: var(--navy); opacity: 0.45; margin-top: 3px; flex-shrink: 0; }
.sidebar-item a { color: var(--navy-dark); }
.sidebar-item a:hover { opacity: 0.65; }

.inquiry-type-list { display: flex; flex-direction: column; gap: 6px; margin-top: 4px; }
.inquiry-type-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-200);
  font-size: 13px;
  font-weight: 300;
  color: var(--navy-dark);
}
.inquiry-type-item:first-child { border-top: 1px solid var(--gray-200); }
.inquiry-arrow { color: var(--gray-300); font-size: 16px; }

/* ============================================
   Footer
   ============================================ */
.site-footer {
  background: var(--navy-dark);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 56px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  margin-bottom: 28px;
}
.footer-logo {
  display: flex;
  align-items: center;
  height: 30px;
  margin-bottom: 16px;
}
.footer-logo img { height: 100%; width: auto; object-fit: contain; }
.footer-logo-text {
  font-family: var(--font-en);
  font-size: 18px;
  font-weight: 300;
  letter-spacing: 0.2em;
  color: var(--white);
}
.footer-tagline {
  font-size: 13px;
  font-weight: 300;
  color: rgba(255,255,255,0.45);
  line-height: 1.9;
}
.footer-col-title {
  font-family: var(--font-en);
  font-size: 9.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.28);
  margin-bottom: 18px;
}
.footer-nav-links { display: flex; flex-direction: column; gap: 10px; }
.footer-nav-link {
  font-family: var(--font-en);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  transition: var(--transition);
}
.footer-nav-link:hover { color: var(--white); }
.footer-info-item {
  display: flex;
  gap: 10px;
  font-size: 13px;
  font-weight: 300;
  color: rgba(255,255,255,0.5);
  margin-bottom: 10px;
  line-height: 1.7;
}
.footer-info-item a { color: rgba(255,255,255,0.5); }
.footer-info-item a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copy {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.25);
}

/* ============================================
   Scroll Reveal
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}
.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; }

/* ============================================
   Utilities
   ============================================ */
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.mt-56 { margin-top: 56px; }
.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
  .container { padding: 0 36px; }
  .header-inner { padding: 0 36px; }
  .hero-content { padding: 120px 36px 100px; }
  .concept-grid,
  .ceo-inner { gap: 48px; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .mvv-grid { grid-template-columns: 1fr 1fr; }
  .mvv-grid .mvv-block:last-child { grid-column: 1 / -1; }
  .values-row { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > *:first-child { grid-column: 1 / -1; }
  .contact-grid { gap: 48px; }
}

@media (max-width: 768px) {
  .site-nav { display: none; }
  .hamburger { display: flex; }
  .section, .service-detail { padding: 68px 0; }
  .concept-grid,
  .ceo-inner,
  .service-detail-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .service-detail:nth-child(even) .service-detail-grid { direction: ltr; }
  .concept-visual { order: -1; }
  .concept-visual-box { aspect-ratio: 3/2; }
  .concept-accent { bottom: -10px; right: -10px; width: 88px; height: 88px; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .mvv-grid { grid-template-columns: 1fr; }
  .mvv-full-grid { grid-template-columns: 1fr; }
  .values-row { grid-template-columns: repeat(2, 1fr); }
  .company-table-row { grid-template-columns: 1fr; }
  .company-table-label {
    padding: 16px 0 4px;
    border-bottom: none;
    font-size: 10px;
  }
  .company-table-value { padding: 0 0 14px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .contact-sidebar { position: static; }
  .hero-content { padding: 110px 24px 80px; }
  .header-inner { padding: 0 24px; }
  .container { padding: 0 24px; }
  .ceo-info { text-align: left; display: flex; align-items: center; gap: 20px; }
  .ceo-avatar { width: 90px; height: 90px; margin: 0; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .values-grid { grid-template-columns: 1fr; }
  .values-row { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: 1fr; }
  .section-title { font-size: 24px; }
  .cta-actions { flex-direction: column; align-items: center; }
}
