:root {
  --ink: #1c1d1a;
  --muted: #71746c;
  --paper: #f6f5ef;
  --white: #fff;
  --orange: #f28a54;
  --line: #dcded4;
  --radius: 18px;
  font-family: "Hiragino Kaku Gothic ProN", "Noto Sans JP", Meiryo, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
textarea,
select {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid #ad4c19;
  outline-offset: 4px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
p {
  line-height: 1.9;
}
h1 {
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.45;
  letter-spacing: -0.025em;
}
h2 {
  font-size: clamp(23px, 3vw, 32px);
  line-height: 1.5;
}
h3 {
  font-size: 19px;
  line-height: 1.65;
}
header {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.header {
  max-width: 1280px;
  padding: 24px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: auto;
}
.brand {
  display: flex;
  gap: 13px;
  align-items: center;
  font-weight: 800;
}
.brand small {
  display: block;
  letter-spacing: 0.2em;
  font-size: 10px;
  margin-top: 5px;
  color: var(--muted);
}
.brand-symbol {
  background: var(--ink);
  color: var(--orange);
  font-size: 30px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
}
.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 13px;
}
.nav a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 9px;
}
.btn {
  border: 1px solid var(--ink);
  border-radius: 100px;
  padding: 12px 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 700;
  background: var(--ink);
  color: var(--white);
  line-height: 1.5;
}
.btn:hover {
  background: #393a35;
  text-decoration: none;
}
.btn.light {
  color: var(--ink);
  background: transparent;
  border-color: var(--line);
}
.btn.light:hover {
  background: #e9eadf;
}
.btn.orange {
  background: var(--orange);
  color: var(--ink);
  border-color: var(--orange);
}
.btn.small {
  padding: 8px 16px;
  font-size: 12px;
}
.btn.danger {
  color: #a42b26;
  border-color: #e6bbbb;
  background: #fff;
}
.wrap {
  max-width: 1200px;
  padding: 0 40px;
  margin: auto;
}
.hero {
  padding: 70px 0 60px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}
.eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.eyebrow:before {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--orange);
  border-radius: 50%;
}
.hero h1 {
  font-size: clamp(38px, 4.5vw, 60px);
  line-height: 1.55;
}
.hero p {
  margin: 24px 0 30px;
  color: #55584f;
  font-size: 15px;
}
.hero-art {
  background: var(--ink);
  border-radius: 32px;
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  max-height: 420px;
}
.hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-art .stamp {
  position: absolute;
  bottom: 24px;
  left: 26px;
  color: #efede5;
  font-size: 11px;
  letter-spacing: 0.15em;
}
.hero-index {
  font-size: 12px;
  margin-top: 32px;
  color: var(--muted);
}
.section {
  padding: 48px 0;
  border-top: 1px solid var(--line);
}
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}
.section-head p {
  color: var(--muted);
  font-size: 13px;
}
.tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.tile {
  min-height: 238px;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  color: var(--paper);
  background: var(--ink);
  display: flex;
  align-items: flex-end;
  padding: 25px;
  isolation: isolate;
}
.tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 0.3s;
}
.tile:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(10, 10, 10, 0.82), transparent 75%);
  z-index: -1;
}
.tile:hover {
  text-decoration: none;
}
.tile:hover img {
  transform: scale(1.035);
}
.tile span {
  font-size: 11px;
  letter-spacing: 0.12em;
  display: block;
  margin-bottom: 9px;
  color: #eab391;
}
.tile h3 {
  font-size: 25px;
  line-height: 1.4;
}
.tile b {
  position: absolute;
  right: 24px;
  bottom: 24px;
  font-size: 25px;
  color: var(--orange);
}
.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.card {
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  min-width: 0;
}
.card p {
  font-size: 14px;
  color: #5e6258;
  margin-top: 12px;
}
.card h3 {
  margin: 12px 0;
}
.card .actions {
  margin-top: 22px;
}
.tag {
  display: inline-block;
  font-size: 11px;
  background: #eeeee6;
  border-radius: 100px;
  padding: 5px 11px;
}
.tag.orange {
  background: #fce6d9;
  color: #813c1b;
}
.tag.green {
  background: #e4efe5;
  color: #275c35;
}
.tag.red {
  background: #f7e0dd;
  color: #9c3129;
}
.meta {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}
.page-title {
  padding: 48px 0 34px;
}
.page-title p {
  margin-top: 18px;
  color: var(--muted);
}
.empty {
  border: 1px dashed #c7cbbf;
  border-radius: 18px;
  padding: 45px 28px;
  text-align: center;
  background: #f0f1e9;
  color: #5f6458;
  grid-column: 1/-1;
}
.empty strong {
  display: block;
  font-size: 18px;
  margin-bottom: 10px;
}
.empty p {
  font-size: 14px;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.stack {
  display: grid;
  gap: 20px;
}
.narrow {
  max-width: 650px;
  margin: 0 auto 60px;
}
.form {
  display: grid;
  gap: 20px;
}
.field {
  display: grid;
  gap: 9px;
  font-size: 13px;
  font-weight: 600;
}
.field small {
  font-weight: 400;
  color: var(--muted);
}
input,
textarea,
select {
  width: 100%;
  background: #fff;
  border: 1px solid #c9cec2;
  border-radius: 10px;
  padding: 12px 14px;
  min-height: 46px;
  color: var(--ink);
}
textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.8;
}
input[type="checkbox"] {
  width: 19px;
  min-height: 19px;
  height: 19px;
  flex-shrink: 0;
  accent-color: var(--ink);
}
.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.7;
}
.check a {
  text-decoration: underline;
}
.row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.hint,
.alert {
  padding: 16px 18px;
  border-radius: 12px;
  background: #eceee6;
  font-size: 13px;
  line-height: 1.8;
}
.alert {
  background: #fff0e5;
  border: 1px solid #f0d8c6;
}
.error {
  background: #fff0ee;
  color: #9b2621;
  padding: 15px;
  border-radius: 10px;
  line-height: 1.7;
  font-size: 13px;
}
.error:empty {
  display: none;
}
.success {
  color: #255e38;
  background: #e9f2e6;
  padding: 16px;
  border-radius: 12px;
}
.textlink {
  text-decoration: underline;
  text-underline-offset: 4px;
  font-size: 13px;
}
.content {
  white-space: pre-wrap;
  line-height: 2;
  font-size: 15px;
  overflow-wrap: anywhere;
}
.article {
  max-width: 800px;
  margin: auto;
}
.article h1 {
  font-size: 32px;
  margin: 20px 0 30px;
}
.article .content {
  margin-bottom: 32px;
}
.source {
  font-size: 12px;
  overflow-wrap: anywhere;
}
.account {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 34px;
  padding-bottom: 70px;
}
.sidebar {
  display: grid;
  align-content: start;
  gap: 8px;
}
.sidebar a {
  padding: 13px 18px;
  border-radius: 10px;
  font-size: 13px;
}
.sidebar a[aria-current="page"] {
  background: var(--ink);
  color: white;
}
.divider {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 25px 0;
}
.table-wrap {
  overflow-x: auto;
}
.table {
  border-collapse: collapse;
  width: 100%;
  font-size: 13px;
  white-space: nowrap;
}
.table th {
  text-align: left;
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
  background: #f5f6ef;
}
.table th,
.table td {
  padding: 15px 13px;
  border-bottom: 1px solid var(--line);
}
.table td.wraptext {
  white-space: normal;
  min-width: 200px;
  max-width: 400px;
}
.stat {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.04em;
}
.admin-top {
  background: var(--ink);
  color: var(--paper);
  padding: 32px;
  border-radius: 20px;
  margin-bottom: 28px;
}
.admin-top .eyebrow {
  color: #bfc3b6;
  margin-bottom: 10px;
}
.admin-top h1 {
  font-size: 28px;
}
.admin-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 25px;
}
.admin-nav a {
  padding: 10px 17px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: 12px;
}
.admin-nav a[aria-current="page"] {
  background: var(--ink);
  color: white;
}
.details {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  margin-top: 20px;
}
.details summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 0;
}
.details .form {
  margin-top: 20px;
}
.qr {
  max-width: 240px;
  display: block;
  margin: 20px auto;
}
.legal {
  max-width: 800px;
  margin: 0 auto 60px;
}
.legal h2 {
  font-size: 20px;
  margin: 32px 0 14px;
}
.legal p,
.legal li {
  font-size: 14px;
  line-height: 2;
}
.legal ul {
  padding-left: 1.5em;
}
footer {
  margin-top: 50px;
  background: var(--ink);
  color: var(--paper);
  padding: 40px;
}
.footer-inner {
  max-width: 1120px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
footer p {
  font-size: 12px;
  color: #b9bcb1;
  margin-top: 14px;
}
footer .links {
  display: flex;
  gap: 20px;
  font-size: 12px;
  flex-wrap: wrap;
}
#notice {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: #fff;
  border-radius: 100px;
  padding: 14px 25px;
  font-size: 13px;
  z-index: 10;
  box-shadow: 0 8px 30px #0002;
  max-width: 90%;
  display: none;
}
#notice.show {
  display: block;
}
.skip {
  position: absolute;
  left: 16px;
  top: -100px;
  background: white;
  padding: 12px;
  z-index: 99;
}
.skip:focus {
  top: 12px;
}
.loading {
  padding: 60px;
  text-align: center;
  color: var(--muted);
}
.badge-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0;
}
.admin-page {
  padding-top: 35px;
  padding-bottom: 70px;
}
.hidden {
  display: none !important;
}
@media (max-width: 800px) {
  .header {
    padding: 18px 22px;
    flex-wrap: wrap;
    gap: 16px;
  }
  .nav {
    gap: 18px;
    flex-wrap: wrap;
    width: 100%;
    justify-content: space-between;
  }
  .brand {
    font-size: 14px;
  }
  .brand small {
    font-size: 9px;
  }
  .wrap {
    padding: 0 22px;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 40px 0;
  }
  .hero-art {
    max-height: 300px;
    aspect-ratio: 1.45;
    width: 100%;
  }
  .hero-art img {
    object-position: center 55%;
  }
  .hero h1 {
    font-size: 37px;
  }
  .hero p {
    font-size: 14px;
  }
  .hero-index {
    margin-top: 23px;
  }
  .tiles {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .tile {
    min-height: 200px;
    padding: 18px;
  }
  .tile h3 {
    font-size: 22px;
  }
  .tile b {
    right: 15px;
    bottom: 17px;
  }
  .section {
    padding: 35px 0;
  }
  .section-head {
    align-items: start;
  }
  .grid {
    grid-template-columns: 1fr;
  }
  .account {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .sidebar {
    display: flex;
    overflow: auto;
    padding-bottom: 8px;
  }
  .sidebar a {
    white-space: nowrap;
  }
  .row {
    grid-template-columns: 1fr;
  }
  .card {
    padding: 22px;
  }
  .page-title {
    padding: 33px 0 26px;
  }
  .admin-top {
    padding: 25px;
  }
  .table-wrap {
    margin: 0 -10px;
  }
  .footer-inner {
    display: grid;
  }
  footer {
    padding: 30px 22px;
  }
  .nav .btn {
    padding: 8px 14px;
    font-size: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
