/* ===== Variables ===== */
:root {
  --ink: #14171c;
  --ink-soft: #2b323c;
  --blue: #c0272d;
  --blue-dark: #8c1a1d;
  --blue-light: #fdecea;
  --text: #1c222b;
  --text-muted: #4a5260;
  --border: #e6e9ee;
  --bg-alt: #f4f6f9;
  --font: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', sans-serif;
  --font-en: 'Inter', sans-serif;
  --radius: 16px;
  --shadow: 0 4px 20px rgba(20, 23, 28, 0.06);
  --shadow-lg: 0 10px 40px rgba(20, 23, 28, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-weight: 300;
  color: var(--text);
  line-height: 1.8;
  background: #fff;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; }
p { margin: 0; }
.icon { width: 1em; height: 1em; }

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ===== Section heads ===== */
.eyebrow {
  font-family: var(--font-en);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 10px;
}
.section-head {
  text-align: center;
  margin-bottom: 48px;
}
.section-head .eyebrow { justify-content: center; }
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  letter-spacing: 0.04em;
}
.section-lead {
  margin-top: 16px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ===== Buttons ===== */
.btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 34px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-family: var(--font-en);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  white-space: nowrap;
  border: 1.5px solid var(--blue);
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}
.btn-pill .icon { transition: transform 0.25s ease; }
.btn-pill:hover {
  background: var(--ink);
  border-color: var(--ink);
}
.btn-pill:hover .icon { transform: translateX(4px); }
.btn-pill--outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
}
.btn-pill--outline:hover {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}
.btn-pill--dark {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.btn-pill--dark:hover {
  background: var(--blue);
  border-color: var(--blue);
}

/* ===== Header CTA ===== */
.header-cta {
  padding: 11px 26px;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  box-shadow: 0 3px 14px rgba(192, 39, 45, 0.32);
  gap: 8px;
}
.header-cta:hover {
  box-shadow: 0 4px 18px rgba(20, 23, 28, 0.22);
  transform: translateY(-1px);
}
.header-cta .icon { width: 0.9em; height: 0.9em; }

/* ===== Header ===== */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  box-shadow: 0 2px 16px rgba(20, 23, 28, 0.06);
}
.header-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 32px;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo-img { height: 30px; width: auto; }

.header-right {
  display: flex;
  align-items: center;
  gap: 40px;
}
nav.nav-desktop ul {
  display: flex;
  align-items: center;
  gap: 32px;
}
nav.nav-desktop a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-en);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text);
  transition: color 0.2s ease;
}
nav.nav-desktop a:hover { color: var(--blue); }
.icon-external { width: 0.8em; height: 0.8em; opacity: 0.6; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
header.nav-open .hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
header.nav-open .hamburger span:nth-child(2) { opacity: 0; }
header.nav-open .hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile { display: none; }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 640px;
  height: calc(100vh - 88px);
  max-height: 820px;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero-slides {
  position: absolute;
  inset: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 4s ease;
}
.hero-slide.active { opacity: 1; }
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.08);
  transition: transform 3s ease;
}
.hero-slide.active img { transform: scale(1); }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 18, 24, 0.48);
}
.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 32px;
  color: #fff;
  text-align: center;
}
.hero-lockup {
  width: clamp(280px, 36vw, 480px);
  height: auto;
  margin: 0 auto;
}
.hero-text {
  margin: 26px auto 0;
  max-width: 36em;
  font-size: 0.95rem;
  font-weight: 300;
  color: #e6e9ef;
}
.br-mo { display: none; }
/* ===== Zigzag sections ===== */
.zigzag { padding: 96px 0; }
.zigzag:nth-of-type(even) { background: var(--bg-alt); }
.zigzag-inner {
  display: flex;
  align-items: center;
  gap: 64px;
}
.zigzag--rev .zigzag-inner { flex-direction: row-reverse; }
.zigzag-img {
  flex: 1 1 56%;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.zigzag-img img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
.zigzag-text {
  flex: 1 1 44%;
}
.zigzag-text h2 { margin-bottom: 20px; }
.zigzag-text p {
  color: var(--text-muted);
  font-size: 0.95rem;
}
.zigzag-text .btn-pill,
.zigzag-text .link-more { margin-top: 28px; }
.link-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-en);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--blue);
  border-bottom: 1.5px solid var(--blue);
  padding-bottom: 4px;
  transition: gap 0.2s ease, color 0.2s ease;
}
.link-more:hover { gap: 14px; color: var(--ink); border-color: var(--ink); }

/* ===== Service grid ===== */
.service-grid {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}
.service-card {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.service-card:nth-child(4) { grid-column: 2 / 4; }
.service-card:nth-child(5) { grid-column: 4 / 6; }
.service-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-5px); }
.service-card-img {
  background: var(--bg-alt);
  padding: 28px 24px 0;
}
.service-card-img img {
  width: 100%;
  height: 160px;
  object-fit: contain;
  display: block;
}
.service-card-body {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.service-card-icon {
  width: 40px;
  height: 40px;
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--blue-light);
  color: var(--blue);
}
.service-card-icon .icon { width: 20px; height: 20px; }
.service-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: 0.03em;
  color: var(--ink);
}
.service-card p {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.8;
  flex: 1;
}
.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 16px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--blue);
  font-family: var(--font-en);
}
.service-card-link .icon { width: 14px; height: 14px; }

@media (max-width: 900px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card { grid-column: span 1 !important; }
}
@media (max-width: 540px) {
  .service-grid { grid-template-columns: 1fr; }
}

/* ===== Page Header ===== */
.page-header {
  padding: 72px 0 64px;
  background: var(--bg-alt);
  text-align: center;
}
.page-header .eyebrow { display: block; margin-bottom: 10px; font-size: 0.8rem; }
.page-header .section-lead {
  margin-top: 16px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ===== Page Header Dark ===== */
.page-header--dark {
  position: relative;
  padding: 100px 0 88px;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
}
.page-header-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.2;
}
.page-header--dark .eyebrow { color: rgba(255,255,255,0.55); }
.page-header--dark .section-title { color: #fff; }
.page-header--dark .section-lead { color: rgba(255,255,255,0.65); }
.page-header--dark .container { position: relative; z-index: 1; }

/* ===== Service Detail ===== */
.service-detail { padding: 96px 0; }
.service-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
  padding: 72px 0;
  border-bottom: 1px solid var(--border);
}
.service-block:first-child { padding-top: 0; }
.service-block:last-child { border-bottom: none; padding-bottom: 0; }
.service-block--reverse { direction: rtl; }
.service-block--reverse > * { direction: ltr; }
.service-block-img {
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
}
.service-block-img img {
  width: 100%;
  height: auto;
  display: block;
}
.service-block-body { }
.service-block-body .eyebrow { margin-bottom: 12px; }
.service-block-body h2 {
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  font-weight: 800;
  letter-spacing: 0.03em;
  margin-bottom: 16px;
  color: var(--ink);
}
.service-block-body p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 2;
}

@media (max-width: 768px) {
  .service-block {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 56px 0;
  }
  .service-block--reverse { direction: ltr; }
  .service-block-img { max-width: 320px; }
  .service-detail { padding: 64px 0; }
}

/* ===== Recruit cards ===== */
.recruit-section { padding: 80px 0; }
.recruit-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 48px;
}
.recruit-card:last-child { margin-bottom: 0; }

.recruit-card-head {
  padding: 36px 40px;
  color: #fff;
}
.recruit-card-head--blue { background: var(--blue); }
.recruit-card-head--dark { background: var(--ink); }

.recruit-tag {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: rgba(255,255,255,0.18);
  border-radius: 999px;
  padding: 4px 14px;
  margin-bottom: 14px;
}
.recruit-card-head h2 {
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}
.recruit-card-head p {
  font-size: 0.88rem;
  opacity: 0.8;
}

.recruit-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
}
.recruit-highlight {
  padding: 24px 28px;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.recruit-highlight:last-child { border-right: none; }
.recruit-highlight-label {
  font-family: var(--font-en);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
}
.recruit-highlight-value {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.02em;
}
.recruit-highlight-note {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.recruit-card-body {
  padding: 8px 40px 40px;
}
.recruit-card-body .info-table th { width: 160px; }
.recruit-card-cta {
  margin-top: 32px;
  display: flex;
  justify-content: flex-end;
}

@media (max-width: 700px) {
  .recruit-highlights { grid-template-columns: 1fr; }
  .recruit-highlight { border-right: none; border-bottom: 1px solid var(--border); }
  .recruit-highlight:last-child { border-bottom: none; }
  .recruit-card-head, .recruit-card-body { padding-left: 24px; padding-right: 24px; }
  .recruit-card-body .info-table th { width: 38%; }
  .recruit-card-cta { justify-content: center; }
}

/* ===== Company info ===== */
.company-info { padding: 96px 0; }
.info-table {
  width: 100%;
  max-width: 840px;
  margin: 0 auto;
  border-collapse: collapse;
  font-size: 0.92rem;
}
.info-table tr { border-bottom: 1px solid var(--border); }
.info-table th,
.info-table td {
  padding: 22px 16px;
  text-align: left;
  vertical-align: top;
}
.info-table th {
  width: 200px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.04em;
}
.info-table td { color: var(--text); }
.info-table .en {
  display: block;
  margin-top: 4px;
  font-family: var(--font-en);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

/* ===== Alliance ===== */
.alliance-catch {
  padding: 96px 0;
  background: var(--bg-alt);
  color: var(--ink);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.alliance-catch-bg { display: none; }
.alliance-catch-inner { max-width: 760px; margin: 0 auto; position: relative; z-index: 1; }
.alliance-catch .eyebrow { color: var(--blue); margin-bottom: 20px; }
.alliance-catch-heading {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 900;
  line-height: 1.4;
  letter-spacing: 0.04em;
  margin-bottom: 28px;
  color: var(--ink);
}
.alliance-catch-body {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 2;
  margin-bottom: 36px;
}

.alliance-types {
  padding: 96px 0;
  background: var(--bg-alt);
}
.alliance-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.alliance-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.alliance-card-header {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 20px;
}
.alliance-card-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--blue-light);
  color: var(--blue);
}
.alliance-card-icon .icon { width: 26px; height: 26px; }
.alliance-card-label {
  font-family: var(--font-en);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 4px;
}
.alliance-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.alliance-card-body {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.9;
}

.alliance-offices {
  padding: 96px 0;
}
.office-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.office-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 36px;
  background: #fff;
  box-shadow: var(--shadow);
}
.office-card--pending {
  background: var(--bg-alt);
}
.office-card-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--blue-light);
  color: var(--blue);
  margin-bottom: 20px;
}
.office-card-icon .icon { width: 24px; height: 24px; }
.office-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--blue);
  display: inline-block;
}
.office-zip {
  font-family: var(--font-en);
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.office-address {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 8px;
}
.office-note {
  font-size: 0.85rem;
  color: var(--text-muted);
}
.office-pending-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.9;
}

.alliance-message {
  padding: 96px 0;
  background: var(--ink);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.alliance-message-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero-team.jpg');
  background-size: cover;
  background-position: center top;
  opacity: 0.12;
}
.alliance-message-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}
.alliance-message .eyebrow { color: rgba(255,255,255,0.5); margin-bottom: 16px; }
.alliance-message-heading {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.alliance-message-lead {
  font-size: 1.05rem;
  font-weight: 500;
  margin-bottom: 20px;
  color: rgba(255,255,255,0.9);
}
.alliance-message-lead strong { color: #fff; }
.alliance-message-body {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.65);
  line-height: 2;
}

@media (max-width: 900px) {
  .alliance-cards { grid-template-columns: 1fr; }
  .office-cards { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .alliance-catch, .alliance-types, .alliance-offices, .alliance-message { padding: 64px 0; }
}

/* ===== Contact ===== */
.contact {
  background: #eef0f3;
  padding: 88px 0;
  text-align: center;
}
.contact-heading {
  font-family: Georgia, 'Times New Roman', 'Hiragino Mincho ProN', serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  color: var(--ink);
}
.contact-sub {
  margin-top: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--text-muted);
}
.contact .btn-pill {
  margin-top: 32px;
}
.contact-text {
  margin-top: 14px;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.contact-actions {
  margin-top: 36px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
.contact-actions .btn-pill--ghost {
  background: #fff;
  color: var(--ink);
  border-color: var(--border);
}
.contact-actions .btn-pill--ghost:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

/* ===== Contact Page Form ===== */
.contact-page {
  padding: 80px 0 100px;
}
.contact-info-bar {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.contact-info-item {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 20px 36px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  transition: background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
  letter-spacing: 0.02em;
}
.contact-info-item:hover {
  background: #fff;
  border-color: var(--blue);
  color: var(--blue);
  box-shadow: var(--shadow);
}
.contact-info-item .icon { width: 1.3em; height: 1.3em; color: var(--blue); flex-shrink: 0; }

.form-notice {
  max-width: 680px;
  margin: 0 auto 32px;
  padding: 16px 24px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 500;
  text-align: center;
}
.form-notice--ok { background: #e6f4ea; color: #1e6b2e; }
.form-notice--ng { background: #fdecea; color: #a00; }

.contact-form {
  max-width: 680px;
  margin: 0 auto;
}
.form-row {
  margin-bottom: 28px;
}
.form-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
  color: var(--text);
}
.form-required {
  font-size: 0.72rem;
  font-weight: 700;
  color: #fff;
  background: var(--blue);
  border-radius: 4px;
  padding: 2px 7px;
  letter-spacing: 0.06em;
}
.form-input,
.form-textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--text);
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
}
.form-input:focus,
.form-textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(192, 39, 45, 0.1);
}
.form-textarea { resize: vertical; line-height: 1.8; }
.form-input::placeholder,
.form-textarea::placeholder { color: #c8ccd4; }
.form-submit {
  margin-top: 36px;
  text-align: center;
}

.form-privacy {
  margin-top: 16px;
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-muted);
}
.form-privacy a {
  color: var(--blue);
  text-decoration: underline;
}

@media (max-width: 700px) {
  .contact-info-bar { flex-direction: column; align-items: center; gap: 20px; }
  .contact-page { padding: 56px 0 72px; }
}

/* ===== Privacy Policy ===== */
.privacy-section { padding: 80px 0 100px; }
.privacy-body { max-width: 760px; margin: 0 auto; }
.privacy-intro {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 2;
  margin-bottom: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}
.privacy-block {
  margin-bottom: 40px;
}
.privacy-block h2 {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
  color: var(--ink);
}
.privacy-block p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 2;
}
.privacy-list {
  list-style: disc;
  padding-left: 24px;
  margin-top: 10px;
}
.privacy-list li {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 2;
}
.privacy-contact {
  margin-top: 12px;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 2;
}
.privacy-contact a { color: var(--blue); }
.privacy-date {
  margin-top: 56px;
  font-size: 0.82rem;
  color: var(--text-muted);
  text-align: right;
}

/* ===== Footer ===== */
footer {
  background: var(--ink);
  color: #c7ccd4;
  padding: 64px 0 28px;
}
.footer-inner { text-align: center; }
.footer-logo { height: 26px; margin: 0 auto 32px; }
.footer-nav {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.footer-nav a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-en);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #fff;
  transition: color 0.2s ease;
}
.footer-nav a:hover { color: var(--blue); }
.copyright {
  margin-top: 28px;
  font-family: var(--font-en);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: #6e7480;
}

/* ===== Responsive ===== */
@media (max-width: 1080px) {
  nav.nav-desktop, .header-cta { display: none !important; }
  .hamburger { display: flex; }

  .nav-mobile {
    display: block;
    max-height: 0;
    overflow: hidden;
    background: #fff;
    border-top: 1px solid var(--border);
    transition: max-height 0.3s ease;
  }
  header.nav-open .nav-mobile { max-height: 80vh; overflow-y: auto; }
  .nav-mobile ul { display: flex; flex-direction: column; padding: 8px 32px; }
  .nav-mobile a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 16px 0;
    font-family: var(--font-en);
    font-weight: 600;
    font-size: 0.92rem;
    letter-spacing: 0.06em;
    color: var(--text);
    border-bottom: 1px solid var(--border);
  }
  .nav-mobile-contact { padding: 16px 32px 28px; }
  .nav-mobile-contact .btn-pill { width: 100%; justify-content: center; color: #fff; }
}

@media (max-width: 900px) {
  .zigzag-inner { flex-direction: column; }
  .zigzag--rev .zigzag-inner { flex-direction: column; }
  .zigzag-img { flex: none; width: 100%; }
  .zigzag-text { flex: none; width: 100%; }
}

@media (max-width: 700px) {
  .header-inner { height: 72px; }
  .logo-img { height: 24px; }
  .hero { height: auto; min-height: 0; padding: 120px 0 72px; }
  .br-mo { display: inline; }
  .hero-overlay { background: linear-gradient(180deg, rgba(15,18,24,.55) 0%, rgba(15,18,24,.78) 100%); }
  .zigzag { padding: 64px 0; }
  .service-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .company-info, .contact { padding: 64px 0; }
  .info-table th, .info-table td { padding: 16px 0; }
  .info-table th { width: 38%; font-size: 0.85rem; }
  footer { padding: 48px 0 24px; }
}

@media (max-width: 480px) {
  .container { padding: 0 20px; }
  .header-inner { padding: 0 20px; }
  .hero-inner { padding: 0 20px; }
  .service-grid { grid-template-columns: 1fr; }
  .contact-actions { flex-direction: column; align-items: center; }
  .footer-nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px 0;
    text-align: center;
  }
  .footer-nav a { justify-content: center; }
}
