:root {
  --bg: #efe7da;
  --bg-deep: #e6d6bf;
  --paper: #fbf7f0;
  --paper-line: rgba(46, 37, 26, 0.12);
  --ink: #1d2734;
  --ink-soft: #5e6671;
  --accent: #b4612f;
  --accent-deep: #8f471b;
  --accent-dark: #273649;
  --shadow: 0 22px 56px rgba(58, 41, 20, 0.12);
  --radius-xl: 30px;
  --radius-lg: 18px;
  --radius-md: 12px;
  --content-width: 1120px;
  --font-sans: "Aptos", "Yu Gothic UI", "Hiragino Sans", "Segoe UI Variable",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  color: var(--ink);
  font-family: var(--font-sans);
  background:
    radial-gradient(circle at top right, rgba(180, 97, 47, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.26) 0, rgba(255, 255, 255, 0.26) 1px, transparent 1px, transparent 34px),
    linear-gradient(180deg, #f7f0e8 0%, var(--bg) 48%, var(--bg-deep) 100%);
}

a {
  color: inherit;
}

.page-shell {
  max-width: calc(var(--content-width) + 48px);
  margin: 0 auto;
  padding: 28px 24px 56px;
}

.site-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(29, 39, 52, 0.1);
}

.brand-mark,
.header-title,
.header-meta {
  margin: 0;
}

.header-left,
.header-right {
  display: grid;
  gap: 6px;
}

.header-right {
  justify-items: end;
}

.brand-mark {
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.header-title {
  margin-top: 6px;
  color: var(--ink-soft);
  font-size: 1rem;
}

.header-meta {
  color: var(--accent-deep);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px;
  border: 1px solid rgba(29, 39, 52, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.48);
}

.lang-button {
  min-height: 34px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink-soft);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 800;
  cursor: pointer;
}

.lang-button[aria-pressed="true"] {
  background: var(--accent-dark);
  color: #fff8f2;
}

.notice-strip {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
  padding: 16px 20px;
  background: linear-gradient(135deg, #2c3847 0%, var(--accent-dark) 100%);
  color: #f8f2ea;
  border-radius: 16px;
  box-shadow: 0 14px 30px rgba(39, 54, 73, 0.18);
}

.notice-strip p {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.7;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  white-space: nowrap;
  font-size: 0.9rem;
  font-weight: 800;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #f1a56d;
  box-shadow: 0 0 0 6px rgba(241, 165, 109, 0.16);
}

.notice-sheet {
  margin-top: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.36) 0%, rgba(255, 255, 255, 0) 24%), var(--paper);
  border: 1px solid rgba(143, 71, 27, 0.14);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.sheet-top {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.82fr);
}

.sheet-main,
.sheet-side,
.sheet-section {
  padding: 34px 36px;
}

.sheet-side {
  border-left: 1px solid var(--paper-line);
  background: rgba(255, 252, 246, 0.6);
}

.sheet-section {
  border-top: 1px solid var(--paper-line);
}

.section-kicker {
  margin: 0;
  color: var(--accent-deep);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
}

h1 {
  margin-top: 18px;
  max-width: 12ch;
  font-size: clamp(3rem, 6vw, 5.05rem);
  line-height: 0.94;
  letter-spacing: -0.06em;
}

h2 {
  font-size: 1.4rem;
  line-height: 1.3;
  letter-spacing: -0.03em;
}

.lead {
  margin: 26px 0 0;
  max-width: 36rem;
  font-size: 1.2rem;
  line-height: 1.84;
}

.sheet-main p:not(.section-kicker):not(.lead):not(.helper-en) {
  margin: 16px 0 0;
  max-width: 42rem;
  color: var(--ink-soft);
  line-height: 1.86;
}

.summary-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  color: var(--ink);
}

.summary-list li {
  position: relative;
  padding-left: 18px;
  font-weight: 700;
  line-height: 1.6;
}

.summary-list li::before {
  content: "";
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 800;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--accent);
  color: #fff8f2;
  box-shadow: 0 10px 22px rgba(180, 97, 47, 0.24);
}

.button-secondary {
  border: 1px solid rgba(29, 39, 52, 0.14);
  background: transparent;
  color: var(--ink);
}

.helper-en {
  margin: 20px 0 0;
  color: var(--ink-soft);
  font-size: 0.94rem;
  line-height: 1.7;
}

.side-section {
  display: grid;
  gap: 8px;
}

.status-list {
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.status-list div {
  padding: 14px 0;
  border-bottom: 1px solid var(--paper-line);
}

.status-list dt {
  margin-bottom: 6px;
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.status-list dd {
  margin: 0;
  font-weight: 800;
  line-height: 1.6;
}

.side-note {
  margin-top: 22px;
}

.side-note-label {
  margin: 0;
  color: var(--accent-deep);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.side-note p:last-child {
  margin: 10px 0 0;
  color: var(--ink-soft);
  line-height: 1.76;
}

.last-updated {
  margin: 24px 0 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.sheet-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.info-block p:not(.section-kicker),
.faq-list p {
  margin: 14px 0 0;
  color: var(--ink-soft);
  line-height: 1.8;
}

.bullet-list {
  margin: 14px 0 0;
  padding-left: 18px;
  color: var(--ink-soft);
  line-height: 1.86;
}

.faq-header {
  display: grid;
  gap: 8px;
}

.faq-list {
  margin-top: 20px;
}

.faq-list details {
  border-top: 1px solid var(--paper-line);
  padding: 16px 0;
}

.faq-list details:last-child {
  border-bottom: 1px solid var(--paper-line);
}

.faq-list summary {
  position: relative;
  cursor: pointer;
  padding-right: 28px;
  list-style: none;
  font-weight: 800;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  top: 0;
  right: 0;
  color: var(--accent-deep);
  font-size: 1.1rem;
}

.faq-list details[open] summary::after {
  content: "-";
}

@media (max-width: 960px) {
  .sheet-top,
  .sheet-columns {
    grid-template-columns: 1fr;
  }

  .sheet-side {
    border-left: 0;
    border-top: 1px solid var(--paper-line);
  }

  h1 {
    max-width: 100%;
  }
}

@media (max-width: 720px) {
  .page-shell {
    padding: 20px 14px 40px;
  }

  .site-header,
  .notice-strip {
    flex-direction: column;
    align-items: flex-start;
  }

  .header-right {
    justify-items: start;
  }

  .sheet-main,
  .sheet-side,
  .sheet-section {
    padding: 24px 20px;
  }

  h1 {
    font-size: clamp(2.5rem, 12vw, 3.6rem);
    line-height: 0.98;
  }

  .lead {
    font-size: 1.08rem;
    line-height: 1.74;
  }

  .action-row {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}
