:root {
  --bg: #f7f5ef;
  --surface: #fffdf8;
  --text: #1d2b24;
  --muted: #56655d;
  --brand: #0f766e;
  --accent: #ca8a04;
  --line: #d8d2c4;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Segoe UI", "Noto Sans JP", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 10%, #e8f5ef 0%, transparent 35%),
    radial-gradient(circle at 85% 15%, #fff2cc 0%, transparent 40%),
    var(--bg);
  line-height: 1.6;
}
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { width: min(1100px, 92vw); margin: 0 auto; }
.topbar {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.92);
  backdrop-filter: blur(6px);
  position: sticky;
  top: 0;
  z-index: 10;
}
.topbar-inner {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
}
.logo { font-weight: 800; letter-spacing: 0.04em; font-size: 1.1rem; }
.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  font-size: 0.94rem;
}
.lang-menu { position: relative; }
.lang-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--text);
  font-size: 0.9rem;
}
.lang-trigger svg {
  width: 1rem;
  height: 1rem;
  fill: var(--brand);
}
.lang-dropdown {
  list-style: none;
  margin: 0.4rem 0 0;
  padding: 0.35rem;
  position: absolute;
  right: 0;
  min-width: 130px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(20, 35, 28, 0.12);
}
.lang-dropdown a {
  display: block;
  padding: 0.45rem 0.55rem;
  border-radius: 8px;
  color: var(--text);
}
.lang-dropdown a:hover {
  background: #eef5f1;
  text-decoration: none;
}
.hero {
  padding: 4rem 0 2.5rem;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  align-items: center;
}
.hero h1 {
  margin: 0 0 0.8rem;
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  line-height: 1.2;
}
.lead { color: var(--muted); max-width: 52ch; }
.hero-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem;
}
.hero-card img { width: 100%; border-radius: 10px; }
.section { padding: 2.5rem 0; }
.section h2 { margin: 0 0 1rem; font-size: 1.5rem; }
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1rem;
}
.card h3 { margin-top: 0; font-size: 1.05rem; }
.table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border-radius: 10px;
  overflow: hidden;
}
.table th, .table td {
  border: 1px solid var(--line);
  padding: 0.7rem;
  text-align: left;
}
.footer {
  border-top: 1px solid var(--line);
  padding: 1.5rem 0 3rem;
  color: var(--muted);
  font-size: 0.95rem;
}
.contact-form {
  display: grid;
  gap: 0.8rem;
  max-width: 720px;
}
.row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}
label { font-size: 0.9rem; display: grid; gap: 0.3rem; }
input, select, textarea {
  width: 100%;
  padding: 0.6rem;
  border-radius: 8px;
  border: 1px solid #bfc8ba;
  background: #fff;
  font: inherit;
}
textarea { min-height: 140px; resize: vertical; }
button {
  padding: 0.7rem 1.2rem;
  border: none;
  border-radius: 9px;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}
button:hover { opacity: 0.94; }
.status { font-size: 0.95rem; color: var(--muted); min-height: 1.2em; }
@media (max-width: 880px) {
  .hero { grid-template-columns: 1fr; padding-top: 2rem; }
  .row { grid-template-columns: 1fr; }
  .topbar-inner { align-items: flex-start; }
}
