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

:root {
  --navy: #1A2744;
  --navy-light: #253660;
  --gold: #C19B54;
  --gold-light: #D4AE6E;
  --gold-pale: #F0E6CC;
  --ivory: #F7F5F0;
  --ivory-dark: #EDE9DF;
  --white: #FFFFFF;
  --text-dark: #1A1A2E;
  --text-mid: #4A4A6A;
  --text-light: #7A7A9A;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Noto Sans JP', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--white);
  color: var(--text-dark);
  line-height: 1.8;
  overflow-x: hidden;
}

/* ── HEADER ── */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(26, 39, 68, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(193, 155, 84, 0.3);
  padding: 0 40px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-group {
  display: flex;
  align-items: center;
  gap: 20px;
}

.brand-mark {
  height: 22px;
  width: auto;
  display: block;
  padding-right: 20px;
  border-right: 1px solid rgba(193, 155, 84, 0.3);
}

.logo {
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--gold);
  letter-spacing: 0.05em;
}

.logo span {
  color: var(--white);
  font-weight: 300;
  font-size: 0.75rem;
  display: block;
  letter-spacing: 0.15em;
  margin-top: -2px;
}

.header-cta {
  background: var(--gold);
  color: var(--navy);
  padding: 10px 24px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: background 0.2s;
  white-space: nowrap;
}

.header-cta:hover { background: var(--gold-light); }

/* ── HERO ── */
#hero {
  min-height: 100vh;
  background: var(--white);
  display: flex;
  align-items: center;
  gap: 56px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
  padding: 120px 80px 100px;
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(193,155,84,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(193,155,84,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-accent-line {
  position: absolute;
  left: 56px;
  top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--gold) 20%, var(--gold) 80%, transparent);
  opacity: 0.5;
}

.hero-content {
  position: relative;
  max-width: 700px;
  flex: 1 1 460px;
}

.hero-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.hero-eyebrow::before {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--gold);
  display: block;
}

.hero-headline {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5vw, 4rem);
  color: var(--navy);
  line-height: 1.3;
  font-weight: 400;
  margin-bottom: 16px;
}

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

.hero-sub {
  font-size: 1rem;
  color: var(--text-mid);
  font-weight: 300;
  line-height: 1.9;
  margin-bottom: 48px;
  max-width: 700px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 48px;
}

.hero-tag {
  border: 1px solid rgba(193,155,84,0.5);
  color: var(--text-mid);
  font-size: 0.75rem;
  padding: 6px 16px;
  letter-spacing: 0.1em;
}

.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy);
  padding: 16px 40px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s, transform 0.2s;
}

.btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); }

.btn-ghost {
  border: 1px solid rgba(26,39,68,0.25);
  color: var(--navy);
  padding: 16px 40px;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-decoration: none;
  display: inline-block;
  transition: border-color 0.2s, color 0.2s;
}

.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

/* ── HERO VISUAL (image slideshow + stat card) ── */
.hero-visual {
  position: relative;
  flex: 1 1 420px;
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 520px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(26,39,68,0.18);
}

.hero-slider .slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.hero-slider .slide.active { opacity: 1; }

.hero-visual::before {
  content: '';
  position: absolute;
  top: -16px;
  right: -16px;
  width: 100%;
  height: 100%;
  border: 1px solid var(--gold);
  z-index: -1;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.85);
  border: 1px solid rgba(26,39,68,0.15);
  color: var(--navy);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: background 0.2s, color 0.2s;
}

.slider-arrow:hover { background: var(--gold); color: var(--white); }
.slider-arrow.prev { left: 14px; }
.slider-arrow.next { right: 14px; }

.hero-stats {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: -28px;
  background: var(--navy);
  display: flex;
  justify-content: space-between;
  padding: 22px 12px;
  box-shadow: 0 20px 40px rgba(26,39,68,0.25);
}

.stat-item {
  flex: 1;
  text-align: center;
  position: relative;
  padding: 0 8px;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 4px;
  bottom: 4px;
  width: 1px;
  background: rgba(193,155,84,0.25);
}

.stat-item .stat-num {
  font-family: var(--serif);
  font-size: 1.7rem;
  color: var(--gold);
  line-height: 1;
  font-weight: 600;
}

.stat-item .stat-label {
  font-size: 0.62rem;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.08em;
  margin-top: 6px;
}

/* ── SECTION COMMON ── */
section { position: relative; }

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 100px 40px;
}

.section-eyebrow {
  font-size: 0.68rem;
  letter-spacing: 0.35em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.section-eyebrow::before {
  content: '';
  width: 30px;
  height: 1px;
  background: var(--gold);
}

.section-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 400;
  line-height: 1.35;
  color: var(--navy);
  margin-bottom: 20px;
  font-variant-numeric: lining-nums;
}

.section-title.light { color: var(--white); }

.section-title-accent {
  font-size: 1.4em;
  color: var(--gold);
  font-weight: 600;
}

.section-lead {
  font-size: 0.95rem;
  color: var(--text-mid);
  font-weight: 300;
  max-width: 560px;
  line-height: 1.9;
  margin-bottom: 64px;
}

.section-lead.light { color: rgba(255,255,255,0.6); }

/* ── ISSUES ── */
#issues { background: var(--ivory); }

.issues-intro {
  display: flex;
  align-items: center;
  gap: 64px;
  margin-bottom: 64px;
}

.issues-intro-visual {
  flex: 1 1 0;
}

.issues-intro-visual img {
  width: 100%;
  height: auto;
  display: block;
}

.issues-intro-text { flex: 1 1 0; }

.issues-intro-text .section-lead { margin-bottom: 0; }

.issues-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--ivory-dark);
  max-width: 1100px;
  margin: 0 auto;
}

.issue-card {
  background: var(--white);
  padding: 32px 22px;
  position: relative;
  overflow: hidden;
  transition: background 0.25s;
}

.issue-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px;
  height: 0;
  background: var(--gold);
  transition: height 0.4s ease;
}

.issue-card:hover::before { height: 100%; }
.issue-card:hover { background: #FAFAF7; }

.issue-num {
  font-family: var(--serif);
  font-size: 3.5rem;
  color: var(--ivory-dark);
  line-height: 1;
  margin-bottom: 20px;
  font-weight: 600;
  transition: color 0.3s;
}

.issue-card:hover .issue-num { color: var(--gold-pale); }

.issue-icon {
  width: 44px;
  height: 44px;
  border: 1px solid var(--ivory-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.issue-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.5;
}

.issue-desc {
  font-size: 0.85rem;
  color: var(--text-mid);
  line-height: 1.8;
  font-weight: 300;
}

/* ── STRENGTHS ── */
#strengths { background: var(--navy); }

.strengths-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.06);
  margin-top: 0;
}

.strength-item {
  background: var(--navy);
  padding: 56px 48px;
  border: 1px solid rgba(193,155,84,0.1);
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s;
}

.strength-item:hover {
  border-color: rgba(193,155,84,0.35);
}

.strength-item::after {
  content: '';
  position: absolute;
  bottom: 0; right: 0;
  width: 80px; height: 80px;
  background: radial-gradient(circle at bottom right, rgba(193,155,84,0.08) 0%, transparent 70%);
}

.strength-tag {
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  color: var(--gold);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.strength-tag::before {
  content: attr(data-num);
  font-family: var(--serif);
  font-size: 1.8rem;
  color: rgba(193,155,84,0.25);
  line-height: 1;
}

.strength-title {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--white);
  font-weight: 400;
  margin-bottom: 16px;
  line-height: 1.4;
}

.strength-desc {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.9;
  font-weight: 300;
}

.strength-pill {
  display: inline-block;
  margin-top: 24px;
  border: 1px solid rgba(193,155,84,0.3);
  color: var(--gold);
  font-size: 0.7rem;
  padding: 6px 16px;
  letter-spacing: 0.12em;
}

/* ── SERVICE TABLE ── */
#services { background: var(--white); }

.service-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--ivory-dark);
}

.service-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

.service-table thead tr {
  background: var(--navy);
}

.service-table thead th {
  padding: 18px 24px;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.65);
  text-align: left;
  font-weight: 400;
}

.service-table tbody tr {
  border-bottom: 1px solid var(--ivory-dark);
  transition: background 0.2s;
}

.service-table tbody tr:hover { background: var(--ivory); }

.service-table td {
  padding: 24px;
  font-size: 0.88rem;
  vertical-align: middle;
  color: var(--text-dark);
  line-height: 1.6;
}

.service-table .role-cell {
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 12px;
}

.role-icon {
  width: 36px;
  height: 36px;
  background: var(--ivory);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.visa-badge {
  display: inline-block;
  background: var(--navy);
  color: var(--gold);
  font-size: 0.68rem;
  padding: 4px 10px;
  margin: 2px 4px 2px 0;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.lang-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.lang-tag {
  border: 1px solid var(--ivory-dark);
  color: var(--text-mid);
  font-size: 0.72rem;
  padding: 3px 10px;
}

/* ── COMPANY ── */
#company { background: var(--ivory); }

.company-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 60px;
  align-items: stretch;
}

.company-image {
  overflow: hidden;
}

.company-image img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  display: block;
  box-shadow: 0 20px 40px rgba(26,39,68,0.12);
}

.company-table {
  width: 100%;
  border-collapse: collapse;
}

.company-table th,
.company-table td {
  padding: 16px 20px;
  text-align: left;
  font-size: 0.85rem;
  border-bottom: 1px solid var(--ivory-dark);
  vertical-align: top;
}

.company-table th {
  width: 150px;
  color: var(--navy);
  font-weight: 700;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.company-table td {
  color: var(--text-mid);
  line-height: 1.8;
  font-weight: 300;
}

/* ── FLOW ── */
#flow { background: var(--ivory); }

.flow-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.flow-steps::before {
  content: '';
  position: absolute;
  top: 36px;
  left: calc(12.5% + 20px);
  right: calc(12.5% + 20px);
  height: 1px;
  background: var(--gold);
  opacity: 0.3;
}

.flow-step {
  padding: 0 20px;
  text-align: center;
  position: relative;
}

.flow-dot {
  width: 72px;
  height: 72px;
  border: 1px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
  background: var(--white);
  position: relative;
  z-index: 1;
}

.flow-dot-num {
  font-family: var(--serif);
  font-size: 2.2rem;
  color: var(--gold);
  font-weight: 600;
}

.flow-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.4;
}

.flow-desc {
  font-size: 0.78rem;
  color: var(--text-mid);
  line-height: 1.7;
  font-weight: 300;
}

.flow-note {
  background: var(--gold);
  color: var(--navy);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 4px 12px;
  display: inline-block;
  margin-top: 12px;
  letter-spacing: 0.08em;
}

/* ── FAQ ── */
#faq { background: var(--white); }

.faq-list {
  max-width: 760px;
}

.faq-item {
  border-bottom: 1px solid var(--ivory-dark);
}

.faq-q {
  padding: 28px 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  list-style: none;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.5;
  transition: color 0.2s;
}

.faq-q::-webkit-details-marker { display: none; }
.faq-q::marker { display: none; }

.faq-item[open] .faq-q { color: var(--gold); }

.faq-icon {
  width: 28px;
  height: 28px;
  border: 1px solid var(--ivory-dark);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--gold);
  transition: transform 0.3s;
  margin-top: 2px;
}

.faq-item[open] .faq-icon { transform: rotate(45deg); }

.faq-a {
  padding: 0 0 28px 0;
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.9;
  font-weight: 300;
  max-width: 640px;
}

.faq-badge {
  display: inline-block;
  background: var(--ivory);
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 12px;
  margin-bottom: 20px;
  letter-spacing: 0.15em;
  border-left: 3px solid var(--gold);
}

/* ── CTA ── */
#contact { background: var(--navy); overflow: hidden; }

#contact .section-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.contact-left .contact-title {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  color: var(--white);
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: 20px;
}

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

.contact-left .contact-desc {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.9;
  font-weight: 300;
  margin-bottom: 36px;
}

.contact-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
}

.contact-feature::before {
  content: '✓';
  color: var(--gold);
  font-weight: 700;
  flex-shrink: 0;
}

.contact-form {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(193,155,84,0.2);
  padding: 48px 40px;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.5);
  margin-bottom: 8px;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--white);
  padding: 12px 16px;
  font-size: 0.88rem;
  font-family: var(--sans);
  transition: border-color 0.2s;
  appearance: none;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.form-input::placeholder, .form-textarea::placeholder {
  color: rgba(255,255,255,0.25);
}

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23C19B54' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  cursor: pointer;
}

.form-select option { background: var(--navy); }

.form-textarea { resize: vertical; min-height: 100px; }

.form-submit {
  width: 100%;
  background: var(--gold);
  color: var(--navy);
  border: none;
  padding: 16px;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  cursor: pointer;
  font-family: var(--sans);
  transition: background 0.2s;
  margin-top: 8px;
}

.form-submit:hover { background: var(--gold-light); }

.form-note {
  text-align: center;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.3);
  margin-top: 14px;
  line-height: 1.6;
}

/* ── FOOTER ── */
footer {
  background: #10192E;
  padding: 40px;
  text-align: center;
  border-top: 1px solid rgba(193,155,84,0.15);
}

.footer-logo {
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--gold);
  margin-bottom: 8px;
}

.footer-text {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.1em;
}

/* ── LANGUAGE STRIP ── */
.lang-strip {
  background: var(--gold);
  overflow: hidden;
  padding: 12px 0;
  position: relative;
}

.lang-strip-track {
  display: flex;
  gap: 0;
  animation: strip-scroll 20s linear infinite;
  width: max-content;
}

.lang-strip-item {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.2em;
  padding: 0 40px;
  white-space: nowrap;
  border-right: 1px solid rgba(26,39,68,0.2);
}

@keyframes strip-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s 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; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  #hero { padding: 100px 32px 90px; flex-direction: column; }
  .hero-visual { max-width: 100%; width: 100%; margin: 40px 0 0; }
  .hero-slider { height: 340px; }
  .strengths-grid { grid-template-columns: 1fr; }
  .flow-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
  .flow-steps::before { display: none; }
  .issues-intro { flex-direction: column; gap: 32px; align-items: flex-start; }
  .issues-intro-visual { max-width: 180px; }
  .issues-grid { grid-template-columns: repeat(2, 1fr); }
  .issue-card { padding: 40px 36px; }
  .issue-title { font-size: 1rem; }
  .company-grid { grid-template-columns: 1fr; gap: 32px; }
  .company-image img { min-height: 220px; }
  .company-table th { width: 110px; font-size: 0.78rem; }
  #contact .section-inner { grid-template-columns: 1fr; gap: 40px; }
  header { padding: 0 20px; }
  .section-inner { padding: 72px 24px; }
}

@media (max-width: 600px) {
  .flow-steps { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; }
  .btn-primary, .btn-ghost { text-align: center; }
  .contact-form { padding: 32px 24px; }
  .issue-card { padding: 28px 20px; }
  .issue-title { font-size: 0.92rem; }
  .logo-group { gap: 10px; }
  .brand-mark { height: 18px; padding-right: 10px; }
  .logo { font-size: 1rem; }
  .header-cta { padding: 8px 14px; font-size: 0.7rem; }
}
