:root {
  color-scheme: dark;
  --bg: #000000;
  --surface: #111111;
  --surface-2: #1b1b1b;
  --border: #333333;
  --text: #f5f5f5;
  --muted: #b5b5b5;
  --accent: #f57c00;
  --accent-soft: rgba(245, 124, 0, 0.14);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP", sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: radial-gradient(circle at top, #1d1107 0, var(--bg) 34rem);
  color: var(--text);
  line-height: 1.75;
}

a { color: var(--accent); }

a:hover { text-decoration: none; }

header, main, footer {
  width: min(920px, calc(100% - 32px));
  margin-inline: auto;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-size: 1.08rem;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0.02em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid #5d2e00;
  border-radius: 10px;
  background: linear-gradient(145deg, #1e1e1e, #080808);
  color: var(--accent);
  font-size: 1.45rem;
  font-weight: 950;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.03), 0 8px 28px rgba(245,124,0,.12);
}

nav { display: flex; flex-wrap: wrap; gap: 18px; }
nav a { color: var(--muted); text-decoration: none; }
nav a:hover, nav a[aria-current="page"] { color: var(--accent); }

.hero { padding: 72px 0 44px; }
.eyebrow { color: var(--accent); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }

h1, h2, h3 { line-height: 1.28; }
h1 { margin: 8px 0 18px; font-size: clamp(2.25rem, 7vw, 4.5rem); letter-spacing: -0.04em; }
h2 { margin-top: 2.2rem; font-size: 1.55rem; }
h3 { margin-top: 1.6rem; font-size: 1.15rem; }

.lead { max-width: 720px; color: #dedede; font-size: clamp(1.05rem, 2.4vw, 1.28rem); }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
  margin: 32px 0 64px;
}

.card, article {
  border: 1px solid var(--border);
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(28,28,28,.95), rgba(10,10,10,.98));
  box-shadow: 0 20px 60px rgba(0,0,0,.34);
}

.card { display: block; padding: 26px; color: var(--text); text-decoration: none; }
.card:hover { border-color: #704016; transform: translateY(-1px); }
.card p { color: var(--muted); }

article { padding: clamp(24px, 5vw, 52px); margin: 32px 0 60px; }
article p, article li { color: #dedede; }
article ul, article ol { padding-left: 1.35rem; }

.notice {
  margin: 22px 0;
  padding: 16px 18px;
  border-left: 4px solid var(--accent);
  border-radius: 0 10px 10px 0;
  background: var(--accent-soft);
}

.meta { color: var(--muted); font-size: .94rem; }
.contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 20px;
  border-radius: 10px;
  background: var(--accent);
  color: #111111;
  font-weight: 800;
  text-decoration: none;
}
.contact-button:hover { filter: brightness(1.08); }
.template {
  white-space: pre-wrap;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #080808;
  color: #ededed;
  overflow-wrap: anywhere;
}

footer {
  padding: 28px 0 44px;
  border-top: 1px solid #222;
  color: var(--muted);
  font-size: .92rem;
}

@media (max-width: 640px) {
  header { align-items: flex-start; flex-direction: column; }
  .hero { padding-top: 38px; }
}
