/* うさわんわん — クリーム色の 地に、ピンクと 水色（おふろの あわ）を 少し */
:root {
  --bg: #fff9f2;
  --bg-warm: #fff1e4;
  --bg-sky: #eef8fd;
  --card: #ffffff;
  --ink: #4a3428;
  --ink-soft: #7a6355;
  --line: #f1dfd0;
  --pink: #f27ba3;
  --pink-deep: #c8417a;
  --pink-pale: #ffe3ec;
  --sky: #9ed8f5;
  --sky-deep: #2a6f93;
  --sky-pale: #e2f4fc;
  --butter: #ffd66b;
  --radius: 24px;
  --shadow: 0 10px 30px rgba(120, 72, 40, 0.1);
  --shadow-lift: 0 18px 40px rgba(120, 72, 40, 0.16);
  --font: "M PLUS Rounded 1c", "Hiragino Maru Gothic ProN", "BIZ UDPGothic", "Yu Gothic", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.8;
  word-break: auto-phrase;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

h1,
h2,
h3 {
  line-height: 1.3;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

:focus-visible {
  outline: 3px solid var(--sky-deep);
  outline-offset: 3px;
  border-radius: 8px;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.wrap {
  width: min(1120px, 100%);
  margin-inline: auto;
  padding-inline: 20px;
}

.wrap--narrow {
  width: min(760px, 100%);
}

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 249, 242, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(241, 223, 208, 0.7);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 60px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  white-space: nowrap;
}

.logo-paw {
  width: 26px;
  height: 26px;
  fill: var(--pink);
  transform: rotate(-12deg);
}

.logo--small {
  font-size: 1.05rem;
}

.nav {
  display: flex;
  gap: 4px;
}

.nav a {
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  color: var(--ink-soft);
  transition: background-color 0.2s, color 0.2s;
}

.nav a:hover {
  background: var(--pink-pale);
  color: var(--pink-deep);
}

/* ---------- ヒーロー ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(60% 80% at 85% 20%, var(--sky-pale) 0%, transparent 70%),
    radial-gradient(50% 70% at 10% 90%, var(--pink-pale) 0%, transparent 70%),
    var(--bg-warm);
  padding-block: 48px 72px;
  overflow: hidden;
}

.hero::after {
  /* 下の ふちを なみなみに */
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 36px;
  background: var(--bg);
  -webkit-mask: radial-gradient(28px 22px at 50% 100%, #000 98%, transparent) 0 0 / 56px 36px repeat-x;
  mask: radial-gradient(28px 22px at 50% 100%, #000 98%, transparent) 0 0 / 56px 36px repeat-x;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 32px;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 12px;
  padding: 4px 14px;
  border-radius: 999px;
  background: var(--card);
  color: var(--pink-deep);
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 4px 14px rgba(200, 65, 122, 0.12);
}

.hero-title {
  margin: 0;
  font-size: clamp(3rem, 9vw, 5.4rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.1;
}

.hero-title span {
  display: inline-block;
}

.hero-title-accent {
  color: var(--pink-deep);
}

.lead {
  margin: 20px 0 28px;
  max-width: 34em;
  font-size: 1.05rem;
  color: var(--ink-soft);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 1rem;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s, background-color 0.15s;
}

.btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.btn--primary {
  background: var(--pink-deep);
  color: #fff;
  box-shadow: 0 6px 0 #9c2f5d, 0 10px 24px rgba(200, 65, 122, 0.3);
}

.btn--primary:hover {
  transform: translateY(-2px);
}

.btn--primary:active {
  transform: translateY(3px);
  box-shadow: 0 2px 0 #9c2f5d, 0 6px 14px rgba(200, 65, 122, 0.25);
}

.btn--ghost {
  background: var(--card);
  color: var(--ink);
  box-shadow: inset 0 0 0 2px var(--line);
}

.btn--ghost:hover {
  box-shadow: inset 0 0 0 2px var(--pink);
}

.hero-art {
  position: relative;
  justify-self: center;
  width: min(420px, 100%);
  aspect-ratio: 1;
}

.hero-blob {
  position: absolute;
  inset: 8%;
  border-radius: 58% 42% 52% 48% / 46% 54% 46% 54%;
  background:
    radial-gradient(circle at 35% 30%, #fff 0%, rgba(255, 255, 255, 0) 55%),
    linear-gradient(160deg, var(--sky-pale), var(--pink-pale));
  box-shadow: 0 30px 60px rgba(120, 72, 40, 0.12);
  animation: blob 12s ease-in-out infinite;
}

.hero-usa {
  position: absolute;
  left: 50%;
  bottom: 9%;
  width: 82%;
  transform: translateX(-50%);
  filter: drop-shadow(0 14px 14px rgba(120, 72, 40, 0.18));
}

.hero-say {
  position: absolute;
  top: 6%;
  right: 4%;
  margin: 0;
  padding: 8px 16px;
  border-radius: 20px 20px 20px 4px;
  background: var(--card);
  color: var(--pink-deep);
  font-weight: 800;
  font-size: 1.15rem;
  box-shadow: var(--shadow);
  animation: bob 3.2s ease-in-out infinite;
}

.bubble {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, #fff 0 12%, rgba(158, 216, 245, 0.35) 45%, rgba(242, 123, 163, 0.18) 80%);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.9);
  animation: float 7s ease-in-out infinite;
}

.bubble--1 { width: 54px; height: 54px; left: 0; top: 24%; }
.bubble--2 { width: 30px; height: 30px; left: 14%; top: 6%; animation-delay: -2s; }
.bubble--3 { width: 40px; height: 40px; right: 2%; bottom: 26%; animation-delay: -4s; }
.bubble--4 { width: 22px; height: 22px; right: 18%; top: 28%; animation-delay: -1s; }

.hero-paw {
  position: absolute;
  width: 34px;
  height: 34px;
  fill: var(--pink);
  opacity: 0.35;
}

.hero-paw--1 { left: 4%; bottom: 8%; transform: rotate(-24deg); }
.hero-paw--2 { left: 16%; bottom: 0; width: 26px; height: 26px; transform: rotate(-8deg); }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

@keyframes bob {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-6px) rotate(2deg); }
}

@keyframes blob {
  0%, 100% { border-radius: 58% 42% 52% 48% / 46% 54% 46% 54%; }
  50% { border-radius: 46% 54% 44% 56% / 54% 44% 56% 46%; }
}

/* ---------- セクション ---------- */
.section {
  padding-block: 56px 72px;
}

.section--news {
  background: var(--bg-warm);
}

.section-head {
  margin-bottom: 28px;
}

.section-head h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 6px;
  font-size: clamp(1.6rem, 4vw, 2.1rem);
  font-weight: 800;
}

.section-head h2 svg {
  width: 30px;
  height: 30px;
  fill: var(--pink);
  transform: rotate(-12deg);
  flex: none;
}

.section-head p {
  margin: 0;
  color: var(--ink-soft);
}

/* ---------- ゲームのカード ---------- */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
}

.card:focus-within {
  outline: 3px solid var(--sky-deep);
  outline-offset: 3px;
}

.card-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--sky-pale);
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.card:hover .card-media img {
  transform: scale(1.04);
}

.card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 18px 22px 22px;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 8px;
}

.badge {
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--sky-pale);
  color: var(--sky-deep);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.badge--new {
  background: var(--pink-deep);
  color: #fff;
}

.card-title {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
}

.card-title a {
  text-decoration: none;
}

.card-title a:focus-visible {
  outline: none;
}

/* カード全体を リンクに（タイトルのリンクを カードいっぱいに広げる） */
.card-title a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.card-title small {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ink-soft);
}

.card-sub {
  margin: 2px 0 10px;
  color: var(--pink-deep);
  font-weight: 700;
  font-size: 0.92rem;
}

.card-desc {
  margin: 0 0 14px;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.75;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.chips li {
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--bg);
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ink-soft);
}

.card-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  margin-top: auto;
  padding: 8px 20px;
  border-radius: 999px;
  background: var(--pink-deep);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 4px 0 #9c2f5d;
  transition: transform 0.15s;
}

.card-cta svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.card:hover .card-cta {
  transform: translateX(4px);
}

.card--feature {
  margin-bottom: 28px;
}

.card--feature .card-title {
  font-size: clamp(1.7rem, 4vw, 2.3rem);
}

.card--feature .card-desc {
  font-size: 1rem;
}

.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

@media (min-width: 700px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---------- おしらせ ---------- */
.news {
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--card);
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.news li {
  display: grid;
  grid-template-columns: 7.5em 1fr;
  gap: 12px;
  padding: 18px 22px;
}

.news li + li {
  border-top: 1px dashed var(--line);
}

.news time {
  font-weight: 800;
  color: var(--pink-deep);
}

.news p {
  margin: 0;
}

/* ---------- フッター ---------- */
.site-footer {
  padding-block: 36px 28px;
  background: var(--ink);
  color: #f7ebe2;
}

.footer-inner {
  display: grid;
  justify-items: center;
  gap: 6px;
  text-align: center;
}

.site-footer .logo-paw {
  fill: var(--pink);
}

.footer-note {
  margin: 4px 0 0;
  font-size: 0.85rem;
  color: #e4d3c7;
}

.footer-note span {
  display: inline-block;
}

.copyright {
  margin: 0;
  color: #cbb7aa;
}

/* ---------- 404 ---------- */
.notfound {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 4px;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 24px 20px;
  text-align: center;
  background: var(--bg-warm);
}

.notfound img {
  width: 140px;
  transform: rotate(-10deg);
}

.notfound h1 {
  margin: 16px 0 0;
  font-size: clamp(1.4rem, 5vw, 1.9rem);
  font-weight: 800;
}

.notfound p {
  margin: 0 0 20px;
  color: var(--ink-soft);
}

/* ---------- スマホ・タブレット ---------- */
@media (max-width: 860px) {
  .hero {
    padding-block: 28px 64px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .hero-art {
    width: min(300px, 80%);
    order: -1;
  }

  .hero-text {
    text-align: center;
  }

  .lead {
    margin-inline: auto;
  }

  .hero-actions {
    justify-content: center;
  }
}

@media (min-width: 861px) {
  .card--feature {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
  }

  .card--feature .card-media {
    aspect-ratio: auto;
    min-height: 100%;
  }

  .card--feature .card-body {
    padding: 28px 32px;
    justify-content: center;
  }
}

@media (max-width: 520px) {
  .nav a {
    padding: 6px 8px;
    font-size: 0.85rem;
  }

  .logo {
    font-size: 1.1rem;
  }

  .news li {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
