:root {
  --bg: #faf9f5;
  --surface: #ffffff;
  --text: #1c1c1a;
  --muted: #6e6d66;
  --line: #ebeae1;
  --brand: #2d3e35;
  --brand-soft: #f0f2ee;
  --on-brand: #faf9f5;
  --danger: #e02424;
  --danger-soft: #fde8e8;
  --gutter: 120px;
  --max: 1440px;
  --font: "Gothic A1", "Noto Sans JP", "Hiragino Sans", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

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

a { color: inherit; text-decoration: none; }
p, h1, h2, h3 { margin: 0; }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Badge (ら) */
.badge-ra {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--brand);
  color: var(--on-brand);
  font-size: 44px;
  font-weight: 700;
}

/* Nav */
.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100px;
}
.logo { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.logo-name { font-size: 20px; font-weight: 700; }
.logo-sub { font-size: 12px; color: var(--muted); }
.nav-links { display: flex; align-items: center; gap: 40px; font-size: 14px; font-weight: 500; }
.nav-links a { color: var(--muted); transition: color .15s; }
.nav-links a:hover { color: var(--text); }
.nav-links a[aria-current="page"] { color: var(--brand); font-weight: 700; }
.nav-links .lang {
  padding-left: 20px;
  border-left: 1px solid var(--line);
  font-size: 12px;
}

/* Hero */
.hero .wrap {
  display: flex;
  flex-direction: column;
  gap: 48px;
  padding-top: 120px;
  padding-bottom: 160px;
}
.hero.compact .wrap { padding-bottom: 80px; }
.hero-text { display: flex; flex-direction: column; gap: 24px; }
.hero h1 {
  font-size: 48px;
  font-weight: 300;
  line-height: 1.4;
}
.hero-lead {
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted);
}
.hero-lead strong { color: var(--text); font-weight: 400; }

/* Section */
.section .wrap {
  display: flex;
  flex-direction: column;
  gap: 56px;
  padding-top: 100px;
  padding-bottom: 100px;
}
.section-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}
.eyebrow {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--brand);
}
.section-title { font-size: 24px; font-weight: 400; }

/* Product cards */
.products { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 40px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
}
.card-body { display: flex; flex-direction: column; gap: 24px; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.card-name { font-size: 24px; font-weight: 700; }
.pill {
  padding: 6px 12px;
  border-radius: 100px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}
.card-desc { font-size: 15px; line-height: 1.6; color: var(--muted); }
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
  font-size: 13px;
  font-weight: 600;
  color: var(--brand);
  align-self: flex-start;
}
.card-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.card-link svg { width: 14px; height: 14px; color: var(--text); }

/* Profile table */
.profile { margin: 0; border-top: 1px solid var(--line); font-size: 14px; }
.profile-row {
  display: flex;
  align-items: flex-start;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.profile dt { flex-shrink: 0; width: 200px; font-weight: 700; }
.profile dd { flex: 1; min-width: 0; margin: 0; line-height: 1.6; color: var(--muted); }
.profile dd a { text-decoration: underline; text-underline-offset: 3px; }

/* Philosophy */
.philosophy { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.philosophy .wrap { padding-top: 80px; padding-bottom: 80px; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.value {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 40px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 16px;
}
.value h3 { font-size: 20px; font-weight: 700; }
.value p { font-size: 14px; line-height: 1.7; color: var(--muted); }

/* Statement */
.statement .wrap { padding-top: 80px; padding-bottom: 100px; }
.statement-box {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 48px;
  border-radius: 24px;
  background: var(--brand);
  color: var(--on-brand);
}
.statement-box blockquote { margin: 0; font-size: 24px; font-weight: 300; line-height: 1.8; }
.statement-box p { font-size: 15px; line-height: 1.6; opacity: .8; }

/* Contact */
.contact-hero .wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding-top: 80px;
  padding-bottom: 48px;
  text-align: center;
}
.contact-hero-text { display: flex; flex-direction: column; gap: 16px; max-width: 640px; }
.contact-hero h1 { font-size: 32px; font-weight: 700; }
.contact-hero p { font-size: 15px; line-height: 1.6; color: var(--muted); }
.form-section .wrap { display: flex; justify-content: center; padding-bottom: 120px; }
.form-card {
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 100%;
  max-width: 640px;
  padding: 48px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
}
.fields { display: flex; flex-direction: column; gap: 24px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { display: flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 700; }
.req {
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--danger-soft);
  color: var(--danger);
  font-size: 10px;
  font-weight: 700;
}
.input {
  width: 100%;
  height: 48px;
  padding: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  font: inherit;
  font-size: 14px;
  transition: border-color .15s, box-shadow .15s;
}
.input::placeholder { color: var(--muted); opacity: 1; }
.input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
textarea.input { height: 160px; resize: vertical; line-height: 1.6; }
.select-wrap { position: relative; }
.select-wrap select { appearance: none; -webkit-appearance: none; padding-right: 36px; cursor: pointer; }
.select-wrap select:invalid { color: var(--muted); }
.select-wrap svg {
  position: absolute;
  right: 14px;
  top: 50%;
  width: 14px;
  height: 14px;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--text);
}
.form-footer { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 16px 32px;
  border: 0;
  border-radius: 100px;
  background: var(--brand);
  color: var(--on-brand);
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity .15s;
}
.submit:hover { opacity: .9; }
.submit svg { width: 16px; height: 16px; }
.notice { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
.notice svg { width: 14px; height: 14px; color: var(--text); }
.form-note { font-size: 12px; line-height: 1.6; color: var(--muted); text-align: center; }
.form-note a { text-decoration: underline; text-underline-offset: 3px; }

/* Footer */
.footer { border-top: 1px solid var(--line); }
.footer .wrap {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding-top: 80px;
  padding-bottom: 60px;
}
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-brand { display: flex; flex-direction: column; gap: 8px; }
.footer-brand strong { font-size: 16px; }
.footer-brand span { font-size: 12px; color: var(--muted); }
.footer-links { display: flex; gap: 24px; font-size: 12px; color: var(--muted); }
.footer-links a:hover { color: var(--text); }
.footer-links a[aria-current="page"] { color: var(--brand); font-weight: 700; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 11px;
  color: var(--muted);
  opacity: .8;
}
.footer-bottom a:hover { color: var(--text); }
.footer-legal { display: flex; gap: 24px; }

/* Responsive */
@media (max-width: 1100px) {
  :root { --gutter: 48px; }
  .values { gap: 24px; }
}
@media (max-width: 860px) {
  .products, .values { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 640px) {
  :root { --gutter: 20px; }
  .nav .wrap { height: 72px; }
  .nav-links { gap: 14px; font-size: 13px; }
  .nav-links .lang { padding-left: 14px; }
  .logo-sub { display: none; }
  .logo-name { font-size: 17px; }
  .hero .wrap { gap: 32px; padding-top: 64px; padding-bottom: 88px; }
  .hero.compact .wrap { padding-bottom: 56px; }
  .badge-ra { width: 64px; height: 64px; font-size: 34px; }
  .hero h1 { font-size: 28px; }
  .hero-lead { font-size: 16px; }
  .section .wrap { gap: 40px; padding-top: 64px; padding-bottom: 64px; }
  .philosophy .wrap { padding-top: 64px; padding-bottom: 64px; }
  .card, .value { padding: 28px; }
  .profile-row { flex-direction: column; gap: 6px; padding: 20px 0; }
  .profile dt { width: auto; }
  .statement .wrap { padding-top: 56px; padding-bottom: 64px; }
  .statement-box { padding: 32px 24px; }
  .statement-box blockquote { font-size: 20px; }
  .contact-hero .wrap { padding-top: 56px; }
  .contact-hero h1 { font-size: 28px; }
  .form-section .wrap { padding-bottom: 80px; }
  .form-card { padding: 28px 20px; }
  .footer .wrap { padding-top: 56px; padding-bottom: 48px; }
  .footer-top { flex-direction: column; align-items: flex-start; }
  .footer-bottom { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
