:root {
  --bg: #ffeef5;
  --surface: #fffaff;
  --surface-2: #ffe3ee;
  --text: #5c3b49;
  --muted: #8f6b79;
  --accent: #ff6fae;
  --accent-dark: #e75493;
  --border: #f6bfd4;
  --shadow: 0 10px 24px rgba(181, 95, 130, 0.12);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --content-width: 1100px;
  --sidebar-width: 240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(180deg, #fff7fb 0%, var(--bg) 100%);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
}

a {
  color: var(--accent-dark);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.site-shell {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 20px;
}

.site-header {
  background: linear-gradient(135deg, #ff8cbc, #ffb6d2);
  color: white;
  border: 1px solid #ffb9d1;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 20px 24px;
  margin-bottom: 20px;
}

.site-title {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
}

.site-tagline {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.92);
}

.top-nav {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.top-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  color: #8e2f5d;
  font-weight: 700;
}

.top-nav a:hover {
  background: white;
  text-decoration: none;
}

.layout {
  display: grid;
  grid-template-columns: var(--sidebar-width) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.sidebar,
.panel,
.card,
.footer-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}

.sidebar {
  padding: 16px;
  position: sticky;
  top: 16px;
}

.sidebar h2 {
  margin: 0 0 12px;
  font-size: 1.2rem;
  color: var(--accent-dark);
}

.sidebar ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sidebar li + li {
  margin-top: 8px;
}

.sidebar a {
  display: block;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  color: var(--text);
}

.sidebar a:hover,
.sidebar a:focus-visible {
  background: var(--surface-2);
  text-decoration: none;
}

.panel {
  padding: 20px;
}

.notice {
  margin-bottom: 20px;
  padding: 14px 16px;
  border: 1px dashed var(--accent);
  border-radius: var(--radius-sm);
  background: #fff6fa;
  color: var(--accent-dark);
}

.section-title {
  margin: 0 0 14px;
  font-size: 1.45rem;
  color: var(--accent-dark);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.card {
  padding: 16px;
}

.card h3 {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 1.05rem;
  color: var(--accent-dark);
}

.card p {
  margin: 0;
}

.button,
button,
input[type="submit"],
input[type="button"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--accent);
  color: white;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease;
}

.button:hover,
button:hover,
input[type="submit"]:hover,
input[type="button"]:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

input[type="text"],
input[type="email"],
input[type="search"],
textarea,
select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: white;
  color: var(--text);
  font: inherit;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="search"]:focus,
textarea:focus,
select:focus {
  outline: 2px solid rgba(255, 111, 174, 0.25);
  border-color: var(--accent);
}

table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  background: white;
  border-radius: 12px;
}

th,
td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid #f6d7e3;
}

th {
  background: #ffd5e5;
  color: #8a2d5a;
}

tr:nth-child(even) {
  background: #fff8fb;
}

.site-footer {
  margin-top: 20px;
  padding: 16px 20px;
  text-align: center;
  color: var(--muted);
}

.decor-image {
  margin-top: 20px;
  margin-left: auto;
  max-width: 320px;
  opacity: 0.92;
}

@media (max-width: 860px) {
  .layout {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
  }

  .decor-image {
    max-width: 220px;
    margin-right: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto;
    transition: none !important;
  }
}

*{cursor: url('https://cdn.custom-cursor.com/db/20342/32/sanrio-u-sa-ha-na-cursor.png'), default !important; pointer-events: auto;}

a:hover, img:hover {cursor: url('https://cdn.custom-cursor.com/db/20341/32/sanrio-u-sa-ha-na-pointer.png'), default !important;}