:root {
  /* Base Beige — inherited from /CLAUDE.md */
  --color-bg-50: #faf6ef;
  --color-bg-100: #f3ebd9;
  --color-bg-200: #e6d8c5;
  --color-bg-300: #d9c9af;
  --color-bg-400: #c8b498;
  --color-bg-500: #a89070;
  --color-bg-600: #7a6550;

  /* Potato Red — inherited */
  --color-accent-50: #f9ecee;
  --color-accent-100: #eec8cc;
  --color-accent-200: #d99aa0;
  --color-accent-300: #c07078;
  --color-accent-400: #a85660;
  --color-accent-500: #95515e;
  --color-accent-600: #6e3a44;
  --color-accent-700: #4a2530;

  /* Support colors — inherited */
  --color-blue-l: #73cbf3;
  --color-blue-m: #3e71ca;
  --color-pink: #ef91b9;
  --color-rose: #d68f8d;
  --color-brown: #653824;
  --color-text: #333333;
  --color-gray: #555555;

  /* tsukiimokun-specific */
  --color-moon-yellow: #ffe669;
  --color-potato: #95515e;
  --color-outline: #333333;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
}

body {
  font-family:
    Roboto, "Zen Kaku Gothic Antique", 游ゴシック体, "Yu Gothic", YuGothic,
    "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  font-weight: 500;
  color: var(--color-text);
  background-color: var(--color-bg-200);
  min-height: 100dvh;
  line-height: 1.6;
}

a:not([class]) {
  color: #1176d4;
  text-decoration: underline;
  &:hover {
    color: #95515e;
    text-decoration-thickness: 2px;
  }
}

/* ─────────────── Hero ─────────────── */

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 80px 24px 64px;
  gap: 32px;
}

.hero_char {
  width: 240px;
  height: 240px;
  flex-shrink: 0;
  overflow: visible;
}

.hero_char svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}

.hero_chara {
  position: relative;
  width: min(280px, 70vw);
  aspect-ratio: 1;
  flex-shrink: 0;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
}

.intro_face {
  position: absolute;
  inset: 0;
}

.intro_face svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}

.hero_copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
  opacity: 0;
}

.hero_copy_main {
  font-family: "Zen Maru Gothic", "Zen Kaku Gothic Antique", sans-serif;
  font-weight: 900;
  font-size: 24px;
  color: var(--color-text);
  letter-spacing: 0.08em;
}
.hero_copy_mainName {
  font-size: 32px;
  letter-spacing: 0.04em;
}

.hero_copy_sub {
  font-family: "Zen Maru Gothic", "Zen Kaku Gothic Antique", sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--color-gray);
  letter-spacing: 0.14em;
}

/* ─────────────── Nav Cards ─────────────── */

.nav_section {
  padding: 0 24px 40px;
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
}

.nav_grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.nav_card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 32px 16px;
  background-color: var(--color-bg-100);
  border: solid 1px var(--color-bg-200);
  border-radius: 16px;
  text-decoration: none;
  color: var(--color-text);
  opacity: 0;
  will-change: transform;
  transition: transform 0.2s ease;
}

.nav_card_icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-accent-500);
  border-radius: 50%;
  color: var(--color-bg-50);
  flex-shrink: 0;
}

.nav_card_icon::before {
  font-family: "Material Symbols Rounded";
  font-variation-settings:
    "FILL" 1,
    "wght" 400,
    "GRAD" 0,
    "opsz" 24;
  font-size: 24px;
  line-height: 1;
  display: block;
}

.nav_card--about .nav_card_icon::before {
  content: "\e7fd"; /* person */
}

.nav_card--play .nav_card_icon::before {
  content: "\ef6d"; /* sports_esports */
}

.nav_card--gallery .nav_card_icon::before {
  content: "\e410"; /* photo */
}

.nav_card--goods .nav_card_icon::before {
  content: "\f1cc"; /* shopping_bag */
}

.nav_card_label {
  font-family: "Zen Maru Gothic", "Zen Kaku Gothic Antique", sans-serif;
  font-weight: 900;
  font-size: 14px;
  letter-spacing: 0.04em;
}

.nav_card_desc {
  font-size: 16px;
  color: var(--color-gray);
  text-align: center;
  line-height: 1.4;
}

/* ─────────────── Header ─────────────── */
.site_header {
  position: sticky;
  top: 0;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 8px 16px;
  background: rgba(230, 216, 197, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 0.1px solid rgba(255, 255, 255, 0.4);
}
.header_back {
  display: block;
  line-height: 0;
  -webkit-tap-highlight-color: transparent;
}
.header_back img {
  height: 36px;
  width: auto;
  display: block;
}

/* ─────────────── Typography utilities ─────────────── */
.page_heading {
  font-family: "Zen Maru Gothic", "Zen Kaku Gothic Antique", sans-serif;
  font-weight: 900;
  font-size: 32px;
  color: var(--color-text);
  letter-spacing: 0.08em;
}
.page_sub {
  font-size: 14px;
  color: var(--color-gray);
  letter-spacing: 0.04em;
}

/* ─────────────── Footer ─────────────── */

/* ─── Footer nav ─── */
.footer_nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 16px;
}
.footer_nav_link {
  font-size: 14px;
  color: var(--color-gray);
  text-decoration: none;
  transition: color 0.2s;
}
.footer_nav_link:hover {
  color: var(--color-accent-500);
}

.site_footer {
  padding: 32px 24px;
  border-top: 1px solid var(--color-bg-300);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.footer_name {
  font-family: "Zen Maru Gothic", "Zen Kaku Gothic Antique", sans-serif;
  font-weight: 700;
  font-size: 16px;
}
.footer_nameLink {
  color: var(--color-text);
  text-decoration: none;
  transition: color 0.3s;
}
.footer_nameLink:hover {
  color: var(--color-accent-500);
}

.footer_copyright {
  font-size: 12px;
  color: var(--color-gray);
}

.footer_link {
  font-size: 12px;
  color: var(--color-text);
  text-decoration: none;
  transition: color 0.3s;
}

.footer_link:hover {
  color: var(--color-accent-500);
}

/* ─────────────── Share ─────────────── */

.share_section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 32px 24px 40px;
}

.share_label {
  font-family: "Zen Maru Gothic", "Zen Kaku Gothic Antique", sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: var(--color-gray);
  letter-spacing: 0.12em;
}

.share_btns {
  display: flex;
  gap: 16px;
  align-items: center;
}
.share_btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-bg-300);
  background-color: rgba(217, 201, 175, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: solid 1px var(--color-bg-400);
  color: var(--color-bg-600);
  will-change: transform;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
}

.share_btn svg {
  width: 20px;
  height: 20px;
  display: block;
  fill: currentColor;
  pointer-events: none;
  flex-shrink: 0;
}

.share_toast {
  height: 30px;
  display: flex;
  align-items: center;
  font-family: "Zen Kaku Gothic Antique", sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-bg-50);
  background-color: var(--color-accent-600);
  padding: 0 16px;
  border-radius: 100px;
  opacity: 0;
  pointer-events: none;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

/* ─────────────── Responsive ─────────────── */

@media (max-width: 640px) {
  .hero {
    padding: 64px 24px 48px;
  }

  .hero_char {
    width: 200px;
    height: 200px;
  }

  .nav_grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero_copy,
  .nav_card {
    opacity: 1;
  }
}
