/* ============================================================
   APPRATE CORPORATE SITE — css/style.css
   ============================================================ */

/* ---------- Custom Properties ---------- */
:root {
  --navy-deep:   #080f2a;
  --navy:        #0d1535;
  --navy-mid:    #1b2461;
  --navy-light:  #232f7a;
  --red:         #c0392b;
  --red-light:   #e74c3c;
  --red-dark:    #9b2335;
  --white:       #ffffff;
  --off-white:   #f4f6fb;
  --text-muted:  rgba(255,255,255,0.6);
  --text-dim:    rgba(255,255,255,0.35);
  --border:      rgba(255,255,255,0.1);
  --border-dark: rgba(255,255,255,0.06);

  --font: "Noto Sans JP","Hiragino Kaku Gothic ProN","Meiryo",system-ui,sans-serif;
  --transition: 0.3s ease;
  --max-w: 1200px;
  --pad: clamp(20px, 4vw, 60px);
}

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

/* ---------- Typography ---------- */
.label {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--text-muted);
  display: block; margin-bottom: 12px;
}
.section-title {
  font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 800;
  line-height: 1.2; letter-spacing: -0.02em; color: var(--white);
}
.section-title--light { color: var(--navy); }
.section-lead {
  font-size: clamp(0.88rem, 1.5vw, 1rem);
  color: var(--text-muted); line-height: 2; margin-top: 20px;
  max-width: 600px;
}

/* ---------- Layout ---------- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad);
}
.section { padding: 100px 0; }
.section--sm { padding: 60px 0; }
.section--light { background: var(--off-white); }
.section--navy  { background: var(--navy); }
.section--mid   { background: var(--navy-mid); }
.section--deep  { background: var(--navy-deep); }

/* ---------- Divider / Geometric transitions ---------- */
.clip-bottom {
  clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%);
  padding-bottom: 120px;
}
.clip-top {
  clip-path: polygon(0 8%, 100% 0, 100% 100%, 0 100%);
  margin-top: -60px; padding-top: 130px;
}

/* ---------- Btn ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 36px; font-size: 0.88rem; font-weight: 700;
  letter-spacing: 0.06em; border-radius: 2px;
  border: 2px solid transparent; transition: var(--transition);
}
.btn-arrow { font-size: 1rem; transition: transform var(--transition); }
.btn:hover .btn-arrow { transform: translateX(5px); }

.btn--primary {
  background: var(--red); color: var(--white); border-color: var(--red);
}
.btn--primary:hover { background: var(--red-dark); border-color: var(--red-dark); }

.btn--outline {
  background: transparent; color: var(--white); border-color: rgba(255,255,255,0.5);
}
.btn--outline:hover { border-color: var(--white); background: rgba(255,255,255,0.07); }

.btn--outline-dark {
  background: transparent; color: var(--navy); border-color: var(--navy);
}
.btn--outline-dark:hover { background: var(--navy); color: var(--white); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 0;
  transition: background var(--transition), box-shadow var(--transition);
}
.site-header.transparent { background: transparent; }
.site-header.scrolled {
  background: var(--navy-deep);
  box-shadow: 0 2px 32px rgba(0,0,0,0.4);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; padding: 0 var(--pad);
  max-width: var(--max-w); margin: 0 auto;
}
.header-logo img  { height: 36px; width: auto; filter: brightness(0) invert(1); }
.header-nav       { display: flex; align-items: center; gap: 36px; }
.header-nav a {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: rgba(255,255,255,0.8);
  position: relative; padding-bottom: 3px; transition: color var(--transition);
}
.header-nav a::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 1px; background: var(--red); transition: width var(--transition);
}
.header-nav a:hover,
.header-nav a.current { color: var(--white); }
.header-nav a:hover::after,
.header-nav a.current::after { width: 100%; }
.header-nav .nav-cta {
  padding: 9px 22px; border: 1px solid rgba(255,255,255,0.35);
  border-radius: 2px; transition: var(--transition);
}
.header-nav .nav-cta::after { display: none; }
.header-nav .nav-cta:hover { background: var(--red); border-color: var(--red); color: var(--white); }

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  width: 30px; cursor: pointer; z-index: 1001;
}
.hamburger span {
  display: block; height: 2px; background: var(--white);
  transition: var(--transition); border-radius: 2px;
}
.hamburger.is-open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* Mobile nav */
.mobile-nav {
  display: none; position: fixed; inset: 0; z-index: 999;
  background: var(--navy-deep); flex-direction: column;
  align-items: center; justify-content: center; gap: 32px;
}
.mobile-nav.is-open { display: flex; }
.mobile-nav a {
  font-size: 1.2rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: rgba(255,255,255,0.8);
  transition: color var(--transition);
}
.mobile-nav a:hover { color: var(--red); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; z-index: 1;
  min-height: 100vh; display: flex; align-items: flex-end;
  padding-bottom: 80px;
  background:
    linear-gradient(to bottom, transparent 0%, rgba(8,15,42,0.6) 65%, rgba(8,15,42,0.92) 100%),
    url('./img/hero-bg.jpg') center/cover no-repeat;
}

/* Fallback artistic gradient when no photo */
.hero::before {
  content: '';
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 70% 80% at 30% 70%, rgba(27,36,97,0.5) 0%, transparent 70%),
    radial-gradient(ellipse 50% 60% at 70% 30%, rgba(13,21,53,0.4) 0%, transparent 60%);
  pointer-events: none;
}

/* Red polygon decoration — top right */
.hero-geo {
  position: absolute; top: 0; right: 0; z-index: 1;
  width: min(440px, 45vw); height: min(440px, 45vw);
  pointer-events: none;
}
.hero-geo::before {
  content: '';
  position: absolute; top: 0; right: 0;
  width: 100%; height: 100%;
  background: var(--red);
  clip-path: polygon(100% 0%, 100% 60%, 30% 0%);
  opacity: 0.88;
}
.hero-geo::after {
  content: '';
  position: absolute; top: 0; right: 0;
  width: 80%; height: 72%;
  background: var(--red-light);
  clip-path: polygon(100% 0%, 100% 75%, 52% 0%);
  opacity: 0.45;
}

.hero-content {
  position: relative; z-index: 2;
  padding: 0 var(--pad); max-width: var(--max-w); width: 100%; margin: 0 auto;
}
.hero-catch {
  font-size: clamp(0.85rem, 1.2vw, 1rem);
  color: rgba(255,255,255,0.7); margin-bottom: 18px; line-height: 1.7;
  letter-spacing: 0.04em;
}
.hero-heading {
  font-size: clamp(1.8rem, 3.8vw, 3.2rem);
  font-weight: 800; color: var(--white); margin-bottom: 36px; line-height: 1.45;
  letter-spacing: -0.01em;
}
.hero-logo-wrap { margin-bottom: 40px; }
.hero-logo-wrap img {
  height: clamp(36px, 5vw, 52px); width: auto;
  filter: brightness(0) invert(1);
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- Section: Vision ---------- */
.vision-section {
  background: transparent;
  position: relative; overflow: hidden; z-index: 1;
}
.vision-section::after {
  content: '';
  position: absolute; bottom: 0; right: 0;
  width: min(320px, 35vw); height: min(320px, 35vw);
  background: rgba(192,57,43,0.06);
  clip-path: polygon(100% 0%, 100% 100%, 0% 100%);
  pointer-events: none;
}
.vision-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
.vision-text .section-lead { color: rgba(255,255,255,0.7); max-width: none; }
.vision-badge {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 6px 0; margin-bottom: 24px;
}
.vision-badge::before {
  content: '';
  display: block; width: 3px; height: 40px;
  background: linear-gradient(to bottom, var(--red), var(--red-dark));
  flex-shrink: 0;
}
.vision-stat-list { display: flex; flex-direction: column; gap: 24px; margin-top: 40px; }
.vision-stat {
  padding: 24px 28px;
  border-left: 3px solid var(--red); background: rgba(255,255,255,0.03);
}
.vision-stat-num {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em;
  color: var(--red); text-transform: uppercase; margin-bottom: 6px;
}
.vision-stat-text { font-size: 0.95rem; color: rgba(255,255,255,0.85); line-height: 1.7; }

/* ---------- Section: Services ---------- */
.services-section { background: transparent; position: relative; z-index: 1; }
.services-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px;
  margin-top: 56px; border: 1px solid var(--border-dark);
}
.service-card {
  position: relative; overflow: hidden;
  padding: 44px 40px; background: rgba(255,255,255,0.025);
  border: 1px solid var(--border-dark); cursor: pointer;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
  display: flex; flex-direction: column;
}
.service-card::before {
  content: '';
  position: absolute; bottom: 0; left: 0;
  width: 0; height: 3px;
  background: linear-gradient(to right, var(--red), var(--red-light));
  transition: width var(--transition);
}
.service-card:hover {
  background: rgba(255,255,255,0.055);
  border-color: rgba(192,57,43,0.3);
  transform: translateY(-3px);
}
.service-card:hover::before { width: 100%; }
.service-card-num {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.18em;
  color: var(--red); text-transform: uppercase; margin-bottom: 18px;
  font-family: 'Courier New', monospace;
}
.service-card-title {
  font-size: 1.3rem; font-weight: 800; color: var(--white);
  margin-bottom: 8px; line-height: 1.3;
}
.service-card-en {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--text-muted); margin-bottom: 20px;
}
.service-card-desc {
  font-size: 0.88rem; color: rgba(255,255,255,0.65); line-height: 1.85;
  margin-bottom: 28px; flex: 1;
}
.service-card-link {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--red);
  display: flex; align-items: center; gap: 8px;
  transition: gap var(--transition);
}
.service-card:hover .service-card-link { gap: 12px; }

/* ---------- Section: Company Brief ---------- */
.company-brief { background: rgba(27,36,97,0.25); position: relative; overflow: hidden; z-index: 1; }
.company-brief::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: min(400px, 40vw); height: min(400px, 40vw);
  background: rgba(255,255,255,0.025);
  clip-path: polygon(0 0, 100% 0, 0 100%);
  pointer-events: none;
}
.company-brief-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.company-brief-text .section-lead { color: rgba(255,255,255,0.7); max-width: none; }
.company-brief-visual {
  border-left: 1px solid var(--border); padding-left: 56px;
}
.brief-stat { padding: 20px 0; border-bottom: 1px solid var(--border-dark); }
.brief-stat:first-child { border-top: 1px solid var(--border-dark); }
.brief-stat-label {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--text-muted); margin-bottom: 4px;
}
.brief-stat-val { font-size: 1rem; font-weight: 700; color: var(--white); }

/* ---------- CTA Section ---------- */
.cta-section {
  position: relative; overflow: hidden; z-index: 1;
  background: transparent; padding: 100px 0;
}
.cta-section::before {
  content: '';
  position: absolute; top: 0; right: 0; bottom: 0;
  width: 65%; z-index: 0;
  background: var(--red);
  clip-path: polygon(28% 0%, 100% 0%, 100% 100%, 0% 100%);
}
.cta-section::after {
  content: '';
  position: absolute; top: 0; right: 0; bottom: 0;
  width: 55%; z-index: 0;
  background: var(--red-light);
  clip-path: polygon(42% 0%, 100% 0%, 100% 100%, 14% 100%);
  opacity: 0.45;
}
.cta-inner {
  position: relative; z-index: 1; padding: 0 var(--pad);
  max-width: var(--max-w); margin: 0 auto;
}
.cta-label {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.22em;
  text-transform: uppercase; color: rgba(255,255,255,0.6); margin-bottom: 10px;
}
.cta-title {
  font-size: clamp(3rem, 8vw, 6rem); font-weight: 900;
  font-style: italic; color: var(--white); letter-spacing: -0.03em;
  line-height: 1; margin-bottom: 20px;
}
.cta-sub { font-size: 0.95rem; color: rgba(255,255,255,0.75); margin-bottom: 40px; }

/* ---------- Footer ---------- */
.site-footer {
  background: rgba(8,15,42,0.7); padding: 64px 0 32px;
  border-top: 1px solid var(--border-dark);
  position: relative; z-index: 1;
}
.footer-inner {
  display: flex; justify-content: space-between; align-items: flex-start;
  flex-wrap: wrap; gap: 48px; padding-bottom: 48px;
  border-bottom: 1px solid var(--border-dark);
}
.footer-brand { max-width: 260px; }
.footer-logo img { height: 28px; filter: brightness(0) invert(1); margin-bottom: 16px; }
.footer-desc { font-size: 0.8rem; color: var(--text-muted); line-height: 1.8; }
.footer-nav-group { display: flex; gap: 64px; flex-wrap: wrap; }
.footer-col {}
.footer-col-title {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 16px;
}
.footer-col-links { display: flex; flex-direction: column; gap: 10px; }
.footer-col-links a {
  font-size: 0.82rem; color: rgba(255,255,255,0.6); transition: color var(--transition);
}
.footer-col-links a:hover { color: var(--white); }
.footer-col-links a.sub {
  font-size: 0.75rem; color: rgba(255,255,255,0.38); padding-left: 10px; position: relative;
}
.footer-col-links a.sub::before { content: '–'; position: absolute; left: 0; color: rgba(255,255,255,0.28); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 28px; flex-wrap: wrap; gap: 12px;
}
.footer-copy { font-size: 0.72rem; color: rgba(255,255,255,0.28); }
.footer-policy { font-size: 0.72rem; color: rgba(255,255,255,0.4); transition: color var(--transition); }
.footer-policy:hover { color: var(--white); }

/* ---------- Page Hero (inner pages) ---------- */
.page-hero {
  position: relative; overflow: hidden;
  background: var(--navy-deep); padding: 140px 0 70px;
}
.page-hero::after {
  content: '';
  position: absolute; top: 0; right: 0;
  width: min(300px, 35vw); height: min(300px, 35vw);
  background: var(--red);
  clip-path: polygon(100% 0%, 100% 55%, 35% 0%);
  opacity: 0.55; z-index: 0;
}
.page-hero-inner { position: relative; z-index: 1; }
.page-hero-bread {
  font-size: 0.72rem; color: rgba(255,255,255,0.4); margin-bottom: 16px;
  display: flex; align-items: center; gap: 8px;
}
.page-hero-bread a { color: rgba(255,255,255,0.4); transition: color var(--transition); }
.page-hero-bread a:hover { color: var(--white); }
.page-hero-bread span { color: rgba(255,255,255,0.2); }
.page-hero-en {
  font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 900;
  font-style: italic; color: var(--white); letter-spacing: -0.02em;
  line-height: 1; margin-bottom: 8px;
  display: flex; align-items: center; gap: 16px;
}
.page-hero-en::before {
  content: '';
  display: inline-block; flex-shrink: 0;
  width: 0; height: 0; border-style: solid;
  border-width: 14px 0 14px 22px;
  border-color: transparent transparent transparent var(--red);
}
.page-hero-ja { font-size: 0.88rem; color: rgba(255,255,255,0.5); letter-spacing: 0.08em; }

/* ---------- Company Page ---------- */
.philosophy-section { background: var(--navy); }
.phil-item {
  display: grid; grid-template-columns: 300px 1fr; gap: 64px;
  align-items: start; padding: 64px 0; border-bottom: 1px solid var(--border-dark);
}
.phil-item:first-child { padding-top: 0; }
.phil-item:last-child { border-bottom: none; }
.phil-label-col {}
.phil-en {
  font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 900;
  font-style: italic; color: var(--white); letter-spacing: -0.02em; line-height: 1;
  margin-bottom: 6px;
}
.phil-tag {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--red);
}
.phil-content {}
.phil-heading {
  font-size: clamp(1rem, 2vw, 1.2rem); font-weight: 700;
  color: var(--white); line-height: 1.7; margin-bottom: 20px;
}
.phil-text { font-size: 0.9rem; color: rgba(255,255,255,0.7); line-height: 2; }
.value-list { display: flex; flex-direction: column; gap: 20px; }
.value-item {
  display: flex; gap: 20px; align-items: flex-start;
  padding: 20px 24px; background: rgba(255,255,255,0.03);
  border-left: 3px solid var(--red);
}
.value-num {
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.1em;
  color: var(--red); flex-shrink: 0; padding-top: 3px; min-width: 24px;
  font-family: 'Courier New', monospace;
}
.value-title { font-size: 0.92rem; font-weight: 700; color: var(--white); margin-bottom: 4px; }
.value-desc  { font-size: 0.83rem; color: rgba(255,255,255,0.65); line-height: 1.75; }

/* Members */
.members-section { background: var(--navy-mid); }
.members-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 56px; }
.member-card {
  border: 1px solid var(--border); padding: 40px 20px;
  position: relative; overflow: hidden; transition: var(--transition);
}
.member-card::after {
  content: '';
  position: absolute; bottom: 0; right: 0;
  width: 80px; height: 80px;
  background: rgba(192,57,43,0.08);
  clip-path: polygon(100% 0%, 100% 100%, 0% 100%);
}
.member-card:hover { border-color: rgba(192,57,43,0.4); background: rgba(255,255,255,0.03); }
.member-photo {
  width: 96px; height: 96px; border-radius: 50%;
  background: var(--navy-light); margin-bottom: 20px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; font-weight: 800; color: rgba(255,255,255,0.4);
  border: 2px solid rgba(192,57,43,0.35);
  overflow: hidden;
}
.member-photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: center top;
}
.member-role {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--red); margin-bottom: 6px;
}
.member-name { font-size: 1.2rem; font-weight: 800; color: var(--white); margin-bottom: 4px; }
.member-name-en { font-size: 0.78rem; color: var(--text-muted); margin-bottom: 16px; }
.member-bio { font-size: 0.83rem; color: rgba(255,255,255,0.65); line-height: 1.8; }

/* Company Profile */
.profile-section { background: var(--navy-deep); }
.profile-table { width: 100%; border-collapse: collapse; margin-top: 48px; }
.profile-table tr { border-bottom: 1px solid var(--border-dark); }
.profile-table tr:first-child { border-top: 1px solid var(--border-dark); }
.profile-table th {
  width: 200px; padding: 22px 24px; text-align: left; vertical-align: top;
  font-size: 0.82rem; font-weight: 700; color: rgba(255,255,255,0.5);
  letter-spacing: 0.06em;
}
.profile-table td {
  padding: 22px 24px; font-size: 0.88rem;
  color: rgba(255,255,255,0.85); line-height: 1.9; vertical-align: top;
}
.profile-table td ul li { padding-left: 14px; position: relative; margin-bottom: 4px; }
.profile-table td ul li::before {
  content: ''; position: absolute; left: 0; top: 11px;
  width: 5px; height: 1px; background: var(--red);
}

/* ---------- Information Page ---------- */
.info-section { background: var(--navy); }
.info-list { margin-top: 48px; }
.info-item {
  display: grid; grid-template-columns: 120px 80px 1fr auto; gap: 24px;
  align-items: center; padding: 24px 0;
  border-bottom: 1px solid var(--border-dark);
  transition: background var(--transition);
}
.info-item:hover { background: rgba(255,255,255,0.02); }
.info-item--link {
  text-decoration: none; cursor: pointer;
}
.info-item--link:hover .info-title { color: var(--white); }
.info-item--link:hover .info-arrow  { color: var(--red-light); transform: translateX(4px); }
.info-date { font-size: 0.78rem; color: var(--text-muted); letter-spacing: 0.06em; }
.info-tag {
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--red);
  background: rgba(192,57,43,0.12); padding: 3px 10px;
  border-radius: 2px; text-align: center; align-self: center;
}
.info-title {
  font-size: 0.9rem; color: rgba(255,255,255,0.85);
  transition: color var(--transition);
}
.info-arrow {
  font-size: 0.9rem; color: rgba(255,255,255,0.25);
  transition: color var(--transition), transform var(--transition);
  display: inline-block;
}

/* ---------- Service Pages ---------- */
.service-overview { background: var(--navy); padding: 80px 0; }
.service-overview-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.service-overview-text .section-lead { color: rgba(255,255,255,0.7); max-width: none; }

.service-features { background: var(--navy-deep); padding: 80px 0; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.feature-card {
  padding: 32px 28px; border: 1px solid var(--border-dark);
  position: relative; overflow: hidden; transition: var(--transition);
}
.feature-card:hover { border-color: rgba(192,57,43,0.3); background: rgba(255,255,255,0.03); }
.feature-num {
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.14em;
  color: var(--red); margin-bottom: 14px; font-family: 'Courier New', monospace;
}
.feature-title { font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: 10px; }
.feature-text { font-size: 0.83rem; color: rgba(255,255,255,0.65); line-height: 1.8; }

.merit-section { background: var(--navy-mid); padding: 80px 0; }
.merit-list { display: flex; flex-direction: column; gap: 0; margin-top: 48px; }
.merit-item {
  display: flex; align-items: flex-start; gap: 24px;
  padding: 28px 0; border-bottom: 1px solid var(--border-dark);
}
.merit-item:first-child { border-top: 1px solid var(--border-dark); }
.merit-icon {
  flex-shrink: 0; width: 40px; height: 40px;
  background: var(--red); border-radius: 2px;
  display: flex; align-items: center; justify-content: center;
}
.merit-icon svg { width: 20px; height: 20px; stroke: var(--white); fill: none; stroke-width: 2; }
.merit-title { font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: 6px; }
.merit-desc { font-size: 0.85rem; color: rgba(255,255,255,0.65); line-height: 1.8; }

.visual-block {
  height: 280px; background: var(--navy-light);
  border: 1px solid var(--border-dark);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.visual-block::after {
  content: '';
  position: absolute; top: 0; right: 0;
  width: 40%; height: 100%;
  background: rgba(192,57,43,0.12);
  clip-path: polygon(40% 0%, 100% 0%, 100% 100%, 0% 100%);
}
.visual-placeholder { font-size: 0.75rem; color: var(--text-muted); letter-spacing: 0.1em; text-transform: uppercase; }

/* ---------- Contact Page ---------- */
.contact-section { background: var(--navy); padding: 80px 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 80px; align-items: start; }
.contact-info-title {
  font-size: 1.2rem; font-weight: 700; color: var(--white);
  line-height: 1.6; margin-bottom: 20px;
}
.contact-info-text { font-size: 0.88rem; color: rgba(255,255,255,0.65); line-height: 1.9; margin-bottom: 32px; }
.contact-point { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 20px; }
.contact-point-icon {
  flex-shrink: 0; width: 36px; height: 36px;
  background: rgba(192,57,43,0.15); border: 1px solid rgba(192,57,43,0.3);
  display: flex; align-items: center; justify-content: center; border-radius: 2px;
}
.contact-point-icon svg { width: 18px; height: 18px; stroke: var(--red); fill: none; stroke-width: 2; }
.contact-point-title { font-size: 0.88rem; font-weight: 700; color: var(--white); margin-bottom: 3px; }
.contact-point-text  { font-size: 0.8rem; color: rgba(255,255,255,0.6); line-height: 1.65; }

.form-wrap { background: rgba(255,255,255,0.03); border: 1px solid var(--border); padding: 48px 44px; }
.form-group { margin-bottom: 28px; }
.form-label {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.83rem; font-weight: 700; color: rgba(255,255,255,0.85);
  margin-bottom: 10px; letter-spacing: 0.04em;
}
.form-req {
  font-size: 0.65rem; font-weight: 700; color: var(--red);
  background: rgba(192,57,43,0.12); padding: 2px 8px; border-radius: 2px;
}
.form-opt { font-size: 0.65rem; color: rgba(255,255,255,0.3); background: rgba(255,255,255,0.06); padding: 2px 8px; border-radius: 2px; }
.form-input,
.form-textarea {
  width: 100%; padding: 13px 16px; font-size: 0.9rem; font-family: var(--font);
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12);
  color: var(--white); outline: none; border-radius: 2px; appearance: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-input::placeholder,
.form-textarea::placeholder { color: rgba(255,255,255,0.25); }
.form-input:focus,
.form-textarea:focus {
  border-color: rgba(192,57,43,0.6); box-shadow: 0 0 0 3px rgba(192,57,43,0.1);
}
.form-textarea { resize: vertical; min-height: 160px; }
.form-submit { text-align: center; padding-top: 8px; }
.form-submit .btn { min-width: 200px; justify-content: center; font-size: 0.9rem; padding: 16px 44px; }
.form-note { font-size: 0.75rem; color: rgba(255,255,255,0.35); text-align: center; margin-top: 14px; }
.form-note a { color: rgba(255,255,255,0.5); text-decoration: underline; }

/* ---------- Contact Form (new layout) ---------- */
.contact-intro { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.contact-intro-text { font-size: 0.9rem; color: rgba(255,255,255,0.7); line-height: 2.1; }
.contact-form { max-width: 720px; margin: 0 auto; }
.form-row { margin-bottom: 28px; }
.form-label {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.83rem; font-weight: 700; color: rgba(255,255,255,0.85);
  margin-bottom: 10px; letter-spacing: 0.04em;
}
.form-required {
  font-size: 0.65rem; font-weight: 700; color: var(--red);
  background: rgba(192,57,43,0.12); padding: 2px 8px; border-radius: 2px;
}
.form-select { cursor: pointer; }
.form-select option { background: var(--navy-deep); color: var(--white); }
.form-privacy { display: flex; align-items: center; justify-content: center; margin: 36px 0; }
.form-check-label { display: flex; align-items: center; gap: 12px; cursor: pointer; font-size: 0.87rem; color: rgba(255,255,255,0.7); }
.form-check { width: 18px; height: 18px; accent-color: var(--red); flex-shrink: 0; }
.form-privacy-link { color: var(--red); text-decoration: underline; }
.form-submit { text-align: center; }
.form-submit .btn { min-width: 200px; justify-content: center; font-size: 0.9rem; padding: 16px 44px; }

/* ---------- Fade-in animation ---------- */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.65s ease, transform 0.65s ease; }
.fade-in.is-visible { opacity: 1; transform: none; }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-4  { margin-top: 16px; }
.mt-8  { margin-top: 32px; }
.mt-12 { margin-top: 48px; }
.section-head { margin-bottom: 56px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  :root { --pad: 32px; }
  .services-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .members-grid  { grid-template-columns: 1fr; gap: 24px; }
}

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

  .hero { min-height: 100svh; padding-bottom: 56px; }
  .hero-geo { width: 220px; height: 220px; }

  .vision-grid,
  .company-brief-inner,
  .service-overview-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .company-brief-visual { border-left: none; padding-left: 0; border-top: 1px solid var(--border); padding-top: 32px; }

  .members-grid { grid-template-columns: 1fr; gap: 24px; }
  .features-grid { grid-template-columns: 1fr; }
  .plans-grid    { grid-template-columns: 1fr; }

  .phil-item { grid-template-columns: 1fr; gap: 24px; }
  .profile-table th,
  .profile-table td { display: block; }
  .profile-table th { width: 100%; padding: 14px 16px 6px; }
  .profile-table td { padding: 6px 16px 18px; }

  .info-item { grid-template-columns: 1fr auto; gap: 6px 12px; }
  .info-date  { order: 1; grid-column: 1; }
  .info-tag   { order: 2; grid-column: 1; justify-self: flex-start; }
  .info-title { order: 3; grid-column: 1; }
  .info-arrow { order: 4; grid-column: 2; grid-row: 1 / 4; align-self: center; }

  .footer-inner { flex-direction: column; }
  .footer-nav-group { flex-wrap: wrap; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .cta-section::before,
  .cta-section::after { opacity: 0.5; }
  .cta-title { font-size: clamp(2.5rem, 14vw, 4rem); }

  .form-wrap { padding: 28px 20px; }

  .page-hero { padding: 120px 0 52px; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { justify-content: center; }
  .vision-stat-list { gap: 16px; }
}
