:root {
  --bg: #fbf8f2;
  --surface: #fffefd;
  --surface-soft: rgba(255, 255, 255, 0.76);
  --ink: #2b2925;
  --ink-soft: #5c554c;
  --muted: #7e7569;
  --line: rgba(78, 63, 43, 0.14);
  --gold: #9a6a18;
  --gold-soft: #f3eadc;
  --shadow: 0 22px 58px rgba(79, 64, 43, 0.1);
  --radius-xl: 28px;
  --max: 1060px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  font-family:
    "Noto Sans JP", ui-sans-serif, system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", "Yu Gothic UI", Meiryo,
    sans-serif;
  line-height: 1.78;
  background:
    radial-gradient(circle at 88% 10%, rgba(154, 106, 24, 0.11), transparent 28rem),
    radial-gradient(circle at 10% 0%, rgba(222, 207, 185, 0.28), transparent 30rem),
    linear-gradient(180deg, #fffefd 0%, var(--bg) 56%, #f8f3eb 100%);
}

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

a:focus-visible {
  outline: 3px solid rgba(154, 106, 24, 0.32);
  outline-offset: 4px;
}

.site {
  min-height: 100vh;
  padding: 28px clamp(18px, 4vw, 48px);
}

.shell {
  width: min(100%, var(--max));
  min-height: calc(100vh - 56px);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 760;
}

.brand img {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 12px;
  object-fit: contain;
}

.nav,
.footer {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px clamp(18px, 3vw, 34px);
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 680;
}

.nav a,
.footer a {
  position: relative;
  padding: 8px 2px;
  opacity: 0.9;
}

.nav a::after,
.footer a::after {
  position: absolute;
  left: 2px;
  right: 2px;
  bottom: 2px;
  height: 2px;
  content: "";
  border-radius: 999px;
  background: var(--gold);
  opacity: 0;
  transform: scaleX(0.7);
  transition: opacity 160ms ease, transform 160ms ease;
}

.nav a:hover::after,
.footer a:hover::after,
.nav a[aria-current="page"]::after,
.footer a[aria-current="page"]::after {
  opacity: 1;
  transform: scaleX(1);
}

.hero,
.content {
  flex: 1;
  display: grid;
  align-content: center;
  padding: 16px 0 54px;
}

.content-card {
  width: min(100%, 900px);
  margin: 0 auto;
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.68)),
    var(--surface);
  box-shadow: var(--shadow);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 760;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2 {
  color: var(--ink);
  line-height: 1.28;
}

h1 {
  margin: 0 0 22px;
  font-size: clamp(2rem, 4.6vw, 3.7rem);
  font-weight: 760;
}

h2 {
  margin: 34px 0 10px;
  font-size: clamp(1.24rem, 2.4vw, 1.55rem);
  font-weight: 720;
}

p,
li {
  color: var(--ink-soft);
  font-size: 1rem;
}

ul {
  margin: 12px 0 0;
  padding-left: 1.25rem;
}

.notice {
  display: inline-block;
  margin: 8px 0 8px;
  padding: 8px 12px;
  border-radius: 999px;
  color: #6c521e;
  background: var(--gold-soft);
  font-size: 0.92rem;
  font-weight: 680;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid rgba(154, 106, 24, 0.42);
  border-radius: 999px;
  font-weight: 720;
}

.button.primary {
  color: #fff;
  background: var(--gold);
}

.button.secondary {
  color: var(--gold);
  background: rgba(255, 255, 255, 0.5);
}

.footer {
  margin-top: auto;
  padding: 24px 0 4px;
  border-top: 1px solid var(--line);
}

.footer span {
  color: var(--muted);
  margin-right: auto;
}

@media (max-width: 720px) {
  .site {
    padding: 18px;
  }

  .header {
    align-items: flex-start;
    flex-direction: column;
    padding-bottom: 28px;
  }

  .content-card {
    padding: 24px 22px;
    border-radius: 22px;
  }

  h1 {
    font-size: 2rem;
  }
}
