:root {
  font-family: "Pretendard Variable", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  color: #222033;
  background: #fbf7ec;
  line-height: 1.55;
  color-scheme: light;
}
* { box-sizing: border-box; }
:root:lang(ja) { font-family: "Pretendard JP Variable", "Hiragino Sans", "Yu Gothic", Meiryo, system-ui, sans-serif; }
body { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid #6638ae; outline-offset: 4px; }
.skip {
  position: absolute; top: 8px; left: 8px; z-index: 20; padding: 8px 16px;
  background: white; transform: translateY(-150%);
}
.skip:focus { transform: none; }
.shell { width: min(100% - 2rem, 73rem); margin: auto; padding-bottom: 3rem; }
.hero { padding: clamp(1rem, 4vw, 3.5rem) 0 clamp(1.4rem, 4vw, 3rem); }
.hero h1, .message h1 {
  margin: 0; font-weight: 900; font-size: clamp(3rem, 9vw, 7.5rem);
  letter-spacing: -.075em; line-height: 1;
}
.hero p { margin: 1rem 0 0; font-size: clamp(1.05rem, 2.2vw, 1.35rem); word-break: keep-all; }
.catalog {
  display: grid; grid-template-columns: 1.22fr 1fr 1fr; gap: clamp(.85rem, 2.1vw, 1.65rem);
  list-style: none; margin: 0; padding: 0;
}
.card { --tint: #e3ebff; min-width: 0; display: flex; }
.tall-grass { --tint: #e7efd5; }
.pick { --tint: #f6e6f2; }
.card-link {
  flex: 1; display: flex; flex-direction: column; background: var(--tint);
  border: 1px solid #29213a; border-radius: 1.15rem; overflow: clip;
  color: inherit; text-decoration: none; box-shadow: 0 4px 0 #29213a;
}
.card-link:hover .action { text-decoration: underline; text-underline-offset: .2em; }
.card-art { aspect-ratio: 1.62; overflow: hidden; border-bottom: 1px solid #29213a; }
.card-art img { width: 100%; height: 100%; display: block; object-fit: cover; }
.card-body { display: flex; flex: 1; flex-direction: column; padding: clamp(.95rem, 2.3vw, 1.5rem); }
.card h2 { margin: 0; font-size: clamp(1.65rem, 3.4vw, 2.65rem); line-height: 1.1; letter-spacing: -.05em; }
.card p { flex: 1; margin: .55rem 0 1.2rem; word-break: keep-all; overflow-wrap: anywhere; }
.action { font-weight: 800; }
.draw-art {
  isolation: isolate; height: 100%; display: flex; align-items: center; justify-content: center;
  background: repeating-linear-gradient(-45deg, #f0c7e3 0 9px, #f5d5eb 9px 18px); padding-inline: 12%;
}
.draw-art span {
  display: grid; place-items: center; width: 34%; aspect-ratio: 4 / 5; color: #592353;
  background: #fff7e5; font-size: clamp(1.2rem, 4.1vw, 3.2rem);
  border: 2px solid #592353; border-radius: 14%; box-shadow: 0 3px 0 #592353; transform: rotate(-16deg);
}
.draw-art span:nth-child(2) { background: #fbd57e; transform: rotate(0) translateY(-12%); z-index: 1; }
.draw-art span:nth-child(3) { background: #e4cdf8; transform: rotate(16deg); }
.message { padding-block: 2rem; }
.message h1 { font-size: clamp(2rem, 6vw, 4rem); margin-bottom: 1rem; }
@media (max-width: 810px) {
  .catalog { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .catalog .arcade { grid-column: 1 / -1; }
  .arcade .card-art { aspect-ratio: 2.1; }
}
@media (max-width: 520px) {
  .catalog { grid-template-columns: minmax(0, 1fr); gap: 1.2rem; }
  .catalog .card { grid-column: auto; }
  .card-art { aspect-ratio: 2.15; }
}
