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

:root {
  --bg: #f5f0eb;
  --text: #1a1a1a;
  --text-sub: #666;
  --text-light: #999;
  --accent: #e94560;
  --border: #1a1a1a;
  --font-en: 'Inter', sans-serif;
  --font-jp: 'Noto Sans JP', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-jp);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

section {
  scroll-margin-top: 96px;
}

/* ===== NAV ===== */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px clamp(24px, 5vw, 80px);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(245, 240, 235, 0.9);
  backdrop-filter: blur(10px);
}

.nav-left, .nav-right {
  display: flex;
  gap: 32px;
  align-items: center;
}

nav a {
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: opacity 0.3s;
}

nav a:hover { opacity: 0.5; }

.nav-logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-en);
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 0.05em;
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
}

.hero-catchcopy {
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 900;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
  line-height: 1.4;
}

.hero-mobile-break {
  display: none;
}

.hero-slogan {
  font-family: var(--font-en);
  font-size: clamp(14px, 2vw, 18px);
  font-weight: 400;
  letter-spacing: 0.15em;
  color: var(--text-sub);
}

/* ===== TWO COLUMN ===== */
.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(56px, 8vw, 112px);
  max-width: 1280px;
  margin: 0 auto 80px;
  padding: 104px clamp(24px, 5vw, 80px) 0;
}

.col {
  min-width: 0;
  padding: 0;
}

.col:first-child {
  padding-right: 0;
}

.col:last-child {
  padding-left: clamp(32px, 4vw, 56px);
  border-left: 1px solid rgba(0,0,0,0.08);
}

.col-title {
  font-family: var(--font-en);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: 0;
  border-bottom: 1px solid var(--text);
  display: inline-block;
  padding-bottom: 4px;
}

.col-text-jp {
  font-size: clamp(15px, 1.25vw, 17px);
  line-height: 2;
  color: var(--text);
  margin-top: 36px;
  letter-spacing: 0.04em;
  max-width: 420px;
}

.col-text-en {
  font-family: var(--font-en);
  font-size: 13px;
  line-height: 1.9;
  color: var(--text-sub);
  margin-top: 34px;
  letter-spacing: 0.01em;
  max-width: 420px;
}

/* ===== VALUES ===== */
.values {
  padding: 80px clamp(24px, 5vw, 80px);
}

.values-title {
  font-family: var(--font-en);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: 0;
  border-bottom: 2px solid var(--text);
  display: inline-block;
  padding-bottom: 4px;
  margin-bottom: 48px;
}

.values-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.value-item {
  display: flex;
  align-items: baseline;
  padding: 28px 0;
  border-bottom: 1px solid rgba(0,0,0,0.1);
  transition: opacity 0.3s;
}

.value-item:hover { opacity: 0.6; }

.value-letter {
  font-family: var(--font-en);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 900;
  color: var(--accent);
  min-width: 60px;
  line-height: 1;
}

.value-content {
  flex: 1;
  padding-left: 24px;
}

.value-en {
  font-family: var(--font-en);
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.value-jp {
  font-size: 14px;
  color: var(--text-sub);
  margin-top: 4px;
  letter-spacing: 0.02em;
}

/* ===== SERVICES ===== */
.services {
  padding: 8px clamp(24px, 5vw, 80px) 88px;
}

.services-title {
  font-family: var(--font-en);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: 0;
  border-bottom: 2px solid var(--text);
  display: inline-block;
  padding-bottom: 4px;
  margin-bottom: 40px;
}

.service-item {
  display: grid;
  grid-template-columns: minmax(130px, 0.35fr) minmax(240px, 1fr) minmax(140px, auto) 24px;
  align-items: baseline;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(0,0,0,0.1);
  transition: color 0.25s, border-color 0.25s;
}

.service-item:hover {
  color: var(--accent);
  border-bottom-color: rgba(233,69,96,0.35);
}

.service-name {
  font-family: var(--font-en);
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.service-desc {
  font-size: 14px;
  color: var(--text-sub);
  letter-spacing: 0.02em;
}

.service-tag {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--text-light);
  text-transform: uppercase;
  white-space: nowrap;
}

.service-arrow {
  color: var(--text-light);
  font-family: var(--font-en);
  font-size: 18px;
  transition: transform 0.25s, color 0.25s;
}

.service-item:hover .service-arrow {
  color: var(--accent);
  transform: translateX(4px);
}

/* ===== CONTACT ===== */
.contact-page-main {
  min-height: calc(100vh - 176px);
  padding-top: 96px;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(180px, 0.42fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 96px);
  padding: 72px clamp(24px, 5vw, 80px) 96px;
  border-top: 1px solid rgba(0,0,0,0.08);
}

.contact-section--page {
  display: block;
  max-width: 760px;
  margin: 0 auto;
  padding: 72px clamp(24px, 6vw, 48px) 96px;
  border-top: 0;
}

.contact-section--page .contact-head {
  margin-bottom: 40px;
}

.contact-section--page .contact-lead {
  max-width: none;
}

.contact-title {
  font-family: var(--font-en);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: 0;
  border-bottom: 2px solid var(--text);
  display: inline-block;
  padding-bottom: 4px;
  margin-bottom: 24px;
}

.contact-lead {
  color: var(--text-sub);
  font-size: 14px;
  line-height: 2;
  max-width: 340px;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  max-width: 680px;
}

.contact-section--page .contact-form {
  max-width: none;
}

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

.form-field span {
  color: var(--text-sub);
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.form-field input,
.form-field select,
.form-field textarea {
  appearance: none;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(0,0,0,0.18);
  border-radius: 0;
  color: var(--text);
  font: inherit;
  line-height: 1.6;
  min-height: 48px;
  padding: 10px 0;
  resize: vertical;
  transition: border-color 0.25s;
}

.form-field textarea {
  min-height: 150px;
}

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

.form-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-top: 8px;
}

.form-actions p {
  color: var(--text-light);
  font-size: 12px;
}

.form-actions button {
  align-items: center;
  background: var(--text);
  border: 1px solid var(--text);
  color: var(--bg);
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-weight: 700;
  gap: 18px;
  justify-content: center;
  min-width: 180px;
  padding: 14px 22px;
  transition: background 0.25s, color 0.25s;
}

.form-actions button:hover {
  background: transparent;
  color: var(--text);
}

/* ===== COMPANY ===== */
.company-section {
  padding: 80px clamp(24px, 5vw, 80px);
  border-top: 1px solid rgba(0,0,0,0.08);
}

.company-title {
  font-family: var(--font-en);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: 0;
  border-bottom: 2px solid var(--text);
  display: inline-block;
  padding-bottom: 4px;
  margin-bottom: 40px;
}

.company-row {
  display: flex;
  padding: 16px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.company-label {
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-sub);
  width: 160px;
  flex-shrink: 0;
}

.company-value {
  font-size: 14px;
  color: var(--text);
  letter-spacing: 0.02em;
  line-height: 1.9;
}

.company-value a {
  border-bottom: 1px solid rgba(0,0,0,0.25);
  transition: color 0.25s, border-color 0.25s;
}

.company-value a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* ===== EXECUTIVES ===== */
.executive-section {
  border-top: none;
  padding-top: 0;
}

.executive-profile {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin-top: 20px;
}

.executive-profile--wide {
  gap: 60px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.executive-photo {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1a1a1a, #e94560);
  border: 1px solid rgba(0,0,0,0.1);
  color: var(--bg);
  display: grid;
  flex-shrink: 0;
  font-family: var(--font-en);
  font-size: 54px;
  font-weight: 900;
  letter-spacing: 0.04em;
  overflow: hidden;
  place-items: center;
  position: relative;
}

.executive-photo img {
  height: 100%;
  inset: 0;
  display: block;
  object-fit: cover;
  object-position: var(--photo-position, center top);
  position: absolute;
  width: 100%;
  z-index: 1;
}

.executive-photo span {
  position: relative;
  z-index: 0;
}

.executive-photo--cco img {
  --photo-position: center 22%;
}

.executive-photo--cto img {
  --photo-position: center center;
}

.executive-role {
  font-family: var(--font-en);
  font-size: 13px;
  color: var(--text-light);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.executive-name {
  font-size: 24px;
  font-weight: 900;
  margin: 4px 0 8px;
  letter-spacing: 0.03em;
}

.executive-name-en {
  font-family: var(--font-en);
  font-size: 14px;
  color: var(--text-sub);
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}

.executive-bio {
  font-size: 14px;
  line-height: 2;
  color: var(--text-sub);
  max-width: 520px;
}

/* ===== FOOTER ===== */
footer {
  text-align: center;
  padding: 60px 24px;
  border-top: 1px solid rgba(0,0,0,0.08);
}

.footer-slogan {
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--text-sub);
  margin-top: 16px;
}

.footer-copy {
  font-family: var(--font-en);
  font-size: 11px;
  color: var(--text-light);
  letter-spacing: 0.1em;
  margin-top: 12px;
  display: block;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav-left, .nav-right { display: none; }
  .nav-logo { position: static; transform: none; }
  nav { justify-content: center; }

  .hero-catchcopy {
    font-size: clamp(28px, 8vw, 34px);
    letter-spacing: 0.04em;
  }

  .hero-mobile-break {
    display: block;
  }

  .two-col {
    grid-template-columns: 1fr;
    gap: 0;
    margin-bottom: 72px;
    padding: 72px clamp(24px, 5vw, 80px) 0;
  }

  .col-text-jp,
  .col-text-en {
    max-width: none;
  }

  .col:first-child {
    border-bottom: 1px solid rgba(0,0,0,0.1);
    padding-bottom: 48px;
  }

  .col:last-child {
    border-left: 0;
    padding-left: 0;
    padding-top: 48px;
  }

  .contact-section {
    grid-template-columns: 1fr;
    padding: 56px clamp(24px, 5vw, 80px) 72px;
  }

  .contact-page-main {
    padding-top: 88px;
  }

  .contact-section--page {
    padding: 56px clamp(24px, 5vw, 80px) 72px;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .form-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .form-actions button {
    width: 100%;
  }

  .value-item {
    grid-template-columns: 44px minmax(0, 1fr);
    padding: 24px 0;
  }

  .value-content {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .service-item {
    grid-template-columns: 1fr 24px;
    gap: 8px 16px;
  }

  .service-name,
  .service-desc,
  .service-tag {
    grid-column: 1;
  }

  .service-arrow {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }

  .company-row {
    flex-direction: column;
    gap: 4px;
  }

  .executive-profile {
    flex-direction: column;
    align-items: center !important;
    justify-content: center !important;
    text-align: center;
    gap: 24px !important;
  }

  .executive-profile > * {
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .executive-profile > div {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .executive-profile > .executive-photo {
    aspect-ratio: 1 / 1;
    display: grid;
    height: auto;
    width: min(72vw, 280px);
  }

  .executive-bio {
    max-width: 100% !important;
    text-align: center !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
