html,
html.light,
body {
  background: #fff;
}

:root {
  --surface-1: #fff;
  --surface-2: #f3f3f3;
  --text-1: #111;
  --text-2: #555;
  --border: #d7d7d7;
}

body > header.site-header {
  margin-bottom: 2.5rem;
  padding: 1rem clamp(1rem, 4vw, 3rem);
  background: #fff;
  border-bottom: 1px solid var(--border);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 1.25rem;
  color: var(--text-1);
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: auto;
  height: 96px;
}

.brand-title {
  max-width: 26rem;
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1.2;
}

.card {
  background: #fff;
}

.intro-panel {
  margin-bottom: 2rem;
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: linear-gradient(180deg, #fff 0%, #fafafa 100%);
}

.intro-panel a {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.8rem 1rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
}

.intro-panel a:hover {
  background: #f3f3f3;
}

.intro-panel p:last-child {
  text-align: center;
}

section.gallery {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  box-sizing: border-box;
}

#gallery {
  width: min(1120px, 100%);
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  align-items: flex-start;
}

#gallery > .gallery-item {
  display: block;
}

.burial-table-wrap {
  max-width: 1280px;
}

.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: #fff;
}

.burial-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.burial-table th,
.burial-table td {
  padding: 0.8rem 0.9rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

.burial-table thead th {
  position: sticky;
  top: 0;
  background: #f7f7f7;
  z-index: 1;
}

.burial-table tbody tr:nth-child(even) {
  background: #fcfcfc;
}

.card > div p,
hgroup p,
body > footer {
  color: var(--text-2);
}

@media (max-width: 640px) {
  .brand-title {
    font-size: 0.95rem;
  }

  .brand-logo {
    height: 44px;
  }
}

@media (min-width: 1024px) {
  body > header.site-header {
    padding-left: clamp(2rem, 7vw, 7rem);
    padding-right: clamp(2rem, 4vw, 3rem);
  }

  .brand {
    min-height: 132px;
  }

  .brand-logo {
    height: 132px;
  }

  .brand-title {
    font-size: 1.35rem;
  }
}
