/* ==========================================================================
   保護猫譲渡会 LP - Modern Stylings
   Fonts: Zen Maru Gothic (Japanese) + Outfit (English/Numbers)
   ========================================================================== */

:root {
  /* Colors */
  --primary: #d96b43;
  --primary-hover: #c45a33;
  --primary-light: #fff2ed;
  --secondary: #588157;
  --secondary-hover: #3a5a40;
  --secondary-light: #edf4ed;
  --accent-gold: #f4a261;
  
  --bg-main: #faf8f5;
  --bg-card: #ffffff;
  --bg-alt: #f3efe9;
  
  --text-dark: #2b2d42;
  --text-muted: #5c6274;
  --text-light: #8d99ae;
  --text-white: #ffffff;

  --border-color: #e9e4dc;
  --border-focus: #d96b43;
  --shadow-sm: 0 4px 12px rgba(43, 45, 66, 0.05);
  --shadow-md: 0 10px 25px rgba(43, 45, 66, 0.08);
  --shadow-lg: 0 18px 40px rgba(43, 45, 66, 0.12);
  --shadow-hover: 0 20px 35px rgba(217, 107, 67, 0.18);

  /* Radii */
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-full: 9999px;

  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: "Zen Maru Gothic", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-dark);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
  transition: var(--transition);
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.container.narrow {
  max-width: 820px;
}

.pc-only {
  display: inline;
}

@media (max-width: 768px) {
  .pc-only {
    display: none;
  }
}

/* ==========================================================================
   Header & Nav
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 248, 245, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(233, 228, 220, 0.8);
  transition: var(--transition);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-paw {
  font-size: 1.8rem;
  background: var(--primary-light);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  box-shadow: 0 2px 8px rgba(217, 107, 67, 0.15);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-sub {
  font-size: 0.75rem;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 0.05em;
}

.logo-main {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: 0.02em;
}

.nav-list {
  display: flex;
  gap: 28px;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 6px 0;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
  border-radius: 2px;
}

.nav-link:hover {
  color: var(--primary);
}

.nav-link:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 32px;
  height: 22px;
}

.mobile-toggle span {
  display: block;
  height: 2.5px;
  width: 100%;
  background: var(--text-dark);
  border-radius: 4px;
  transition: var(--transition);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #e77f59 100%);
  color: var(--text-white);
  box-shadow: 0 6px 16px rgba(217, 107, 67, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(217, 107, 67, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.9rem;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
}

.btn-block {
  width: 100%;
}

.btn-bounce:hover {
  animation: bounce 0.4s ease;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 60px 0 80px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255,242,237,0.5) 0%, rgba(250,248,245,0) 100%);
}

.hero-bg-shapes .shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 0;
  pointer-events: none;
}

.hero-bg-shapes .shape-1 {
  width: 380px;
  height: 380px;
  background: rgba(244, 162, 97, 0.18);
  top: -80px;
  left: -100px;
}

.hero-bg-shapes .shape-2 {
  width: 440px;
  height: 440px;
  background: rgba(129, 178, 154, 0.16);
  bottom: 0;
  right: -120px;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.event-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-light);
  color: var(--primary);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 700;
  border: 1px solid rgba(217, 107, 67, 0.25);
  margin-bottom: 20px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  animation: pulseDot 1.8s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.95); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.7; }
}

.hero-title {
  font-size: 3.1rem;
  line-height: 1.25;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-dark);
  letter-spacing: -0.01em;
}

.hero-title .highlight {
  color: var(--primary);
  position: relative;
  display: inline-block;
}

.hero-title .highlight::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 100%;
  height: 12px;
  background: rgba(244, 162, 97, 0.35);
  z-index: -1;
  border-radius: 6px;
}

.hero-lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 30px;
  line-height: 1.8;
}

.hero-meta-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  background: var(--bg-card);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  margin-bottom: 32px;
}

.meta-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.meta-icon {
  font-size: 1.4rem;
  margin-top: 2px;
}

.meta-item strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text-dark);
}

.meta-item .sub {
  font-size: 0.8rem;
  color: var(--text-light);
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-media {
  position: relative;
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #eee;
  transform: perspective(1000px) rotateY(-2deg) rotateX(1deg);
  transition: transform 0.5s ease;
}

.hero-image-wrapper:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.hero-img {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}

.hero-floating-card {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 12px 20px;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: floatCard 4s ease-in-out infinite;
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.card-icon {
  font-size: 1.8rem;
}

.card-title {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--primary);
}

.card-subtitle {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Section Headers
   ========================================================================== */
.section {
  padding: 90px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-subtitle {
  display: inline-block;
  font-family: "Outfit", sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--primary);
  margin-bottom: 8px;
  text-transform: uppercase;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 14px;
}

.section-desc {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto;
}

/* ==========================================================================
   Event Info Section
   ========================================================================== */
.event-section {
  background: var(--bg-card);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.event-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 32px;
  align-items: start;
}

.event-card {
  background: var(--bg-main);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
}

.info-row {
  display: flex;
  gap: 20px;
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px dashed var(--border-color);
}

.info-row:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: none;
}

.badge-label {
  display: inline-block;
  background: var(--primary);
  color: var(--text-white);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  min-width: 60px;
  text-align: center;
}

.date-highlight {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.time-highlight {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 6px;
}

.time-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: normal;
}

.venue-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.venue-address {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.access-list {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.access-list li {
  position: relative;
  padding-left: 16px;
}

.access-list li::before {
  content: "•";
  position: absolute;
  left: 4px;
  color: var(--primary);
}

.free-highlight {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--secondary);
}

.sub-text {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-top: 4px;
  display: block;
}

.event-features {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.feature-card {
  background: var(--bg-main);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(217, 107, 67, 0.3);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 10px;
}

.feature-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.feature-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ==========================================================================
   Cats Showcase Section
   ========================================================================== */
.cats-section {
  background: var(--bg-main);
}

.filter-controls {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 600;
  background: var(--bg-card);
  color: var(--text-muted);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.filter-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.filter-btn.active {
  background: var(--primary);
  color: var(--text-white);
  border-color: var(--primary);
  box-shadow: 0 4px 14px rgba(217, 107, 67, 0.3);
}

.cats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
  margin-bottom: 36px;
}

.cat-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.cat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(217, 107, 67, 0.4);
}

.cat-card-thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: #eee;
}

.cat-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.cat-card:hover .cat-card-img {
  transform: scale(1.05);
}

.cat-badge-gender {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.cat-badge-gender.male {
  background: rgba(43, 107, 217, 0.9);
  color: #fff;
}

.cat-badge-gender.female {
  background: rgba(224, 76, 126, 0.9);
  color: #fff;
}

.cat-badge-age {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  backdrop-filter: blur(6px);
}

.cat-card-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.cat-card-name {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.cat-card-breed {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 12px;
}

.cat-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.cat-tag {
  background: var(--bg-alt);
  color: var(--text-muted);
  font-size: 0.75rem;
  padding: 4px 8px;
  border-radius: 6px;
}

.cat-card-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 18px;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cat-card-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 10px;
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.88rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(217, 107, 67, 0.2);
  transition: var(--transition);
}

.cat-card:hover .cat-card-btn {
  background: var(--primary);
  color: var(--text-white);
}

.cats-note {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-light);
}

/* ==========================================================================
   Flow Section
   ========================================================================== */
.flow-section {
  background: var(--bg-card);
}

.steps-container {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 16px;
}

.step-card {
  flex: 1;
  background: var(--bg-main);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 30px 22px;
  text-align: center;
  position: relative;
  transition: var(--transition);
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(217, 107, 67, 0.4);
}

.step-badge {
  display: inline-block;
  font-family: "Outfit", sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  background: var(--primary-light);
  color: var(--primary);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.step-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.step-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.65;
  text-align: left;
}

.step-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary);
  font-weight: bold;
}

/* ==========================================================================
   Conditions Section
   ========================================================================== */
.conditions-section {
  background: var(--bg-main);
}

.conditions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.condition-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.condition-item:hover {
  border-color: var(--secondary);
  box-shadow: var(--shadow-md);
}

.check-icon {
  width: 32px;
  height: 32px;
  background: var(--secondary-light);
  color: var(--secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.condition-item h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.condition-item p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-section {
  background: var(--bg-card);
}

.accordion {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.accordion-item {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: var(--bg-main);
  overflow: hidden;
  transition: var(--transition);
}

.accordion-item:hover {
  border-color: rgba(217, 107, 67, 0.4);
}

.accordion-header {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 26px;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
}

.q-icon {
  width: 30px;
  height: 30px;
  background: var(--primary);
  color: var(--text-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Outfit", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  flex-shrink: 0;
}

.accordion-title {
  flex-grow: 1;
}

.accordion-arrow {
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--text-muted);
  border-bottom: 2px solid var(--text-muted);
  transform: rotate(45deg);
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-right: 4px;
}

.accordion-item.active .accordion-arrow {
  transform: rotate(-135deg);
  border-color: var(--primary);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out;
  background: var(--bg-card);
}

.accordion-body {
  padding: 0 26px 24px 72px;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* ==========================================================================
   Reserve & Contact Section
   ========================================================================== */
.reserve-section {
  background: linear-gradient(180deg, var(--bg-card) 0%, var(--primary-light) 100%);
}

.reserve-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 48px 44px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.form-group label {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-dark);
}

.required {
  background: #ff4d4f;
  color: #fff;
  font-size: 0.7rem;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 6px;
  font-weight: normal;
}

.reserve-form input[type="text"],
.reserve-form input[type="email"],
.reserve-form input[type="tel"],
.reserve-form select,
.reserve-form textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--bg-main);
  transition: var(--transition);
}

.reserve-form input:focus,
.reserve-form select:focus,
.reserve-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(217, 107, 67, 0.12);
}

.reserve-form input.invalid,
.reserve-form select.invalid {
  border-color: #ff4d4f;
  background: #fff7f7;
}

.error-msg {
  font-size: 0.8rem;
  color: #ff4d4f;
  min-height: 18px;
}

.form-agreement {
  margin: 10px 0 26px;
  text-align: center;
}

.checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  cursor: pointer;
  color: var(--text-muted);
}

.checkbox-label a {
  color: var(--primary);
  text-decoration: underline;
}

.form-submit {
  text-align: center;
}

/* ==========================================================================
   Support Section
   ========================================================================== */
.support-section {
  background: var(--bg-main);
  padding: 40px 0 80px;
}

.support-card {
  background: linear-gradient(135deg, #fbf2ea 0%, #faede1 100%);
  border: 1px dashed var(--primary);
  border-radius: var(--radius-md);
  padding: 36px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.support-tag {
  font-family: "Outfit", sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.1em;
}

.support-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 6px 0 8px;
}

.support-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.btn-support {
  background: #fff;
  color: var(--primary);
  border: 1.5px solid var(--primary);
  padding: 12px 24px;
  white-space: nowrap;
  font-weight: 700;
  border-radius: var(--radius-full);
}

.btn-support:hover {
  background: var(--primary);
  color: #fff;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: #232532;
  color: #a4abbd;
  padding: 70px 0 24px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
}

.footer-desc {
  font-size: 0.88rem;
  line-height: 1.8;
}

.footer-links h4,
.footer-info h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 18px;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a:hover {
  color: var(--primary);
  padding-left: 4px;
}

.footer-info p {
  font-size: 0.88rem;
  line-height: 1.8;
}

.footer-info .note {
  font-size: 0.78rem;
  color: #7b8396;
  margin-top: 6px;
}

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  font-size: 0.8rem;
  color: #7b8396;
}

.site-footer.simple-footer {
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer.simple-footer .footer-bottom {
  padding-top: 0;
}

/* ==========================================================================
   Modal Dialogs
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(18, 19, 28, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  background: #ffffff;
  border-radius: var(--radius-lg);
  max-width: 680px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
  transform: translateY(30px);
  transition: transform 0.35s cubic-bezier(0.18, 0.89, 0.32, 1.28);
}

.modal-overlay.open .modal-container {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--text-dark);
  z-index: 10;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
  transition: background 0.2s ease, transform 0.2s ease;
}

.modal-close:hover {
  background: #ffffff;
  transform: scale(1.08);
}

.cat-modal-header {
  position: relative;
  width: 100%;
  height: 320px;
  max-height: 45vh;
  background: #eee;
  overflow: hidden;
}

.cat-modal-header img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.cat-modal-content {
  padding: 24px 28px 32px;
}

.cat-modal-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.cat-modal-name {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-dark);
}

.cat-modal-badges {
  display: flex;
  gap: 8px;
}

.cat-modal-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  background: var(--bg-main);
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  margin-bottom: 20px;
}

.detail-item {
  font-size: 0.88rem;
  line-height: 1.5;
}

.detail-item strong {
  color: var(--text-dark);
  margin-right: 6px;
}

/* モーダル内に収納される黒背景の「本音の希望」メモ */
.cat-modal-altered-memo {
  background: linear-gradient(135deg, #13131f, #1f1d2e);
  color: #f1f5f9;
  border-radius: 14px;
  border: 1px solid rgba(255, 64, 129, 0.45);
  border-left: 5px solid #ff4081;
  padding: 16px 18px;
  margin: 18px 0 22px 0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35), 0 0 16px rgba(255, 64, 129, 0.2);
  position: relative;
  overflow: hidden;
}

.cat-modal-altered-title {
  font-size: 0.92rem;
  font-weight: 800;
  color: #ff8da1;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.altered-badge {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  background: rgba(255, 64, 129, 0.2);
  border: 1px solid rgba(255, 64, 129, 0.5);
  color: #ff8da1;
  padding: 2px 8px;
  border-radius: 999px;
}

.cat-modal-altered-body {
  font-size: 0.9rem;
  line-height: 1.65;
  color: #e2e8f0;
  margin: 0;
  font-weight: 500;
}

.cat-modal-section-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  margin: 20px 0 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.cat-modal-text {
  font-size: 0.92rem;
  line-height: 1.8;
  color: var(--text-dark);
}

.cat-modal-actions {
  margin-top: 30px;
  display: flex;
  gap: 14px;
}

/* Thanks modal */
.thanks-container {
  max-width: 500px;
  padding: 40px;
  text-align: center;
}

.thanks-icon {
  font-size: 3.5rem;
  margin-bottom: 16px;
}

.thanks-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.thanks-msg {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

.thanks-details {
  background: var(--bg-main);
  border-radius: var(--radius-sm);
  padding: 16px;
  font-size: 0.88rem;
  text-align: left;
  margin-bottom: 24px;
}

.thanks-details p {
  margin-bottom: 6px;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-meta-strip {
    text-align: left;
  }

  .hero-buttons {
    justify-content: center;
  }

  .event-grid {
    grid-template-columns: 1fr;
  }

  .steps-container {
    flex-direction: column;
  }

  .step-connector {
    transform: rotate(90deg);
    padding: 8px 0;
  }

  .conditions-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 76px;
    left: 0;
    width: 100%;
    background: var(--bg-card);
    padding: 24px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    transform: translateY(-120%);
    transition: transform 0.3s ease;
  }

  .nav-menu.open {
    transform: translateY(0);
  }

  .nav-list {
    flex-direction: column;
    gap: 16px;
  }

  .mobile-toggle {
    display: flex;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-meta-strip {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .support-card {
    flex-direction: column;
    text-align: center;
  }

  .reserve-card {
    padding: 32px 20px;
  }

  .accordion-body {
    padding-left: 26px;
  }
}

/* ==========================================================================
   光のARG: クロ出現ギミック & サイト改変エフェクト
   ========================================================================== */

/* 空白プレースホルダーカード */
.cat-card-placeholder {
  min-height: 440px;
  background: rgba(255, 255, 255, 0.4);
  border: 2px dashed rgba(210, 180, 230, 0.45);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  user-select: none;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cat-card-placeholder:hover {
  transform: translateY(-4px);
  background: rgba(255, 245, 250, 0.7);
  border-color: rgba(255, 140, 180, 0.7);
  box-shadow: 0 10px 30px rgba(255, 182, 193, 0.3), inset 0 0 20px rgba(255, 235, 245, 0.8);
}

.cat-card-placeholder:active {
  transform: scale(0.97);
}

/* プレースホルダー内部の微細な光の気配 */
.placeholder-hint {
  text-align: center;
  pointer-events: none;
  transition: all 0.3s ease;
  opacity: 0.25;
}

.cat-card-placeholder:hover .placeholder-hint {
  opacity: 0.65;
  transform: scale(1.08);
}

.placeholder-icon {
  font-size: 2.4rem;
  display: block;
  margin-bottom: 8px;
  filter: drop-shadow(0 0 8px rgba(255, 182, 193, 0.6));
  animation: pulseGlow 3s ease-in-out infinite alternate;
}

.placeholder-text {
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 600;
  letter-spacing: 0.05em;
}

@keyframes pulseGlow {
  0% { transform: scale(0.95); opacity: 0.4; }
  100% { transform: scale(1.08); opacity: 0.85; filter: drop-shadow(0 0 14px rgba(255, 105, 180, 0.8)); }
}

/* クリック時に飛び出す星屑・肉球パーティクル */
.arg-particle {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  font-size: 1.5rem;
  animation: floatFadeOut 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes floatFadeOut {
  0% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(0.4) rotate(0deg);
  }
  50% {
    opacity: 0.9;
    transform: translate(calc(-50% + var(--dx, 0px)), calc(-50% + var(--dy, -60px))) scale(1.4) rotate(var(--rot, 20deg));
  }
  100% {
    opacity: 0;
    transform: translate(calc(-50% + var(--dx, 0px)), calc(-50% + var(--dy, -110px))) scale(0.8) rotate(var(--rot, 40deg));
  }
}

/* 光のARG 全画面演出オーバーレイ */
.light-arg-overlay {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at center, rgba(255, 235, 245, 0.94), rgba(220, 200, 255, 0.96) 60%, rgba(175, 220, 255, 0.96));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  opacity: 0;
  animation: overlayEntrance 3.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  pointer-events: auto;
  overflow: hidden;
}

@keyframes overlayEntrance {
  0% {
    opacity: 0;
    filter: brightness(1.8) contrast(1.2);
  }
  15% {
    opacity: 1;
    filter: brightness(1.2);
  }
  80% {
    opacity: 1;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(1.08);
    pointer-events: none;
  }
}

/* 浮遊する背景の星たち */
.arg-sparkle-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: 
    radial-gradient(2px 2px at 20px 30px, #ffb6c1, rgba(0,0,0,0)),
    radial-gradient(3px 3px at 40px 70px, #ffd700, rgba(0,0,0,0)),
    radial-gradient(2px 2px at 90px 40px, #e0b0ff, rgba(0,0,0,0)),
    radial-gradient(3px 3px at 160px 120px, #87cefa, rgba(0,0,0,0));
  background-repeat: repeat;
  background-size: 200px 200px;
  animation: sparkleTwinkle 20s linear infinite;
  opacity: 0.7;
}

@keyframes sparkleTwinkle {
  0% { transform: translateY(0); }
  100% { transform: translateY(-200px); }
}

/* メイン改変バナー */
.light-arg-banner {
  position: relative;
  background: rgba(255, 255, 255, 0.95);
  border: 4px solid #fff;
  border-radius: 36px;
  padding: 48px 40px;
  max-width: 580px;
  width: 90%;
  text-align: center;
  box-shadow: 
    0 25px 60px rgba(186, 104, 200, 0.35),
    0 0 80px rgba(255, 215, 0, 0.35),
    inset 0 0 25px rgba(255, 240, 245, 0.9);
  animation: bannerPop 3.2s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes bannerPop {
  0% {
    transform: scale(0.4) rotate(-4deg);
    opacity: 0;
  }
  16% {
    transform: scale(1.05) rotate(1deg);
    opacity: 1;
  }
  24% {
    transform: scale(1) rotate(0deg);
  }
  78% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(0.8) translateY(-40px);
    opacity: 0;
  }
}

.arg-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #ff8da1, #b57bee);
  color: #fff;
  padding: 6px 18px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
  box-shadow: 0 4px 15px rgba(255, 105, 180, 0.4);
}

.arg-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 900;
  background: linear-gradient(135deg, #ff4081, #7c4dff, #00b0ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 16px;
  line-height: 1.3;
  filter: drop-shadow(0 2px 8px rgba(255, 105, 180, 0.25));
}

.arg-desc {
  font-size: 1.1rem;
  color: #555;
  font-weight: 600;
  margin-bottom: 18px;
  line-height: 1.6;
}

.arg-meta {
  display: inline-block;
  background: rgba(255, 240, 248, 0.85);
  border: 1px solid rgba(255, 182, 193, 0.6);
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  color: #880e4f;
  font-weight: 700;
}

/* クロ実体化アニメーション */
.kuro-summon-anim {
  animation: kuroSummon 1.2s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards !important;
  box-shadow: 0 0 40px rgba(255, 182, 193, 0.8), 0 0 70px rgba(255, 215, 0, 0.6) !important;
  border: 2px solid #ff69b4 !important;
  position: relative;
}

@keyframes kuroSummon {
  0% {
    transform: scale(0.2) rotate(-15deg);
    opacity: 0;
    filter: brightness(2) contrast(1.5);
  }
  60% {
    transform: scale(1.08) rotate(3deg);
    opacity: 1;
    filter: brightness(1.3);
  }
  100% {
    transform: scale(1) rotate(0deg);
    opacity: 1;
    filter: brightness(1);
  }
}

/* クロ専用のキラキラNEWバッジ */
.kuro-new-badge {
  position: absolute;
  top: -10px;
  right: -10px;
  background: linear-gradient(135deg, #ffd700, #ff4081);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 15px rgba(255, 64, 129, 0.5);
  z-index: 10;
  animation: badgeBounce 2s ease-in-out infinite alternate;
}

@keyframes badgeBounce {
  0% { transform: translateY(0) scale(1); }
  100% { transform: translateY(-4px) scale(1.06); }
}

/* 改変メモ（求める飼い主の希望メモ） */
.cat-altered-memo {
  background: linear-gradient(145deg, #161622, #202032);
  color: #f1f5f9;
  border-radius: 10px;
  border: 1px solid rgba(255, 105, 180, 0.4);
  border-left: 4px solid #ff4081;
  padding: 10px 14px;
  margin: 12px 0 8px 0;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35), 0 0 14px rgba(255, 64, 129, 0.2);
  animation: memoFadeIn 0.85s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  position: relative;
  overflow: hidden;
}

.cat-altered-memo::after {
  content: "✨";
  position: absolute;
  top: 6px;
  right: 8px;
  font-size: 0.8rem;
  opacity: 0.6;
}

.cat-altered-memo-title {
  font-size: 0.82rem;
  font-weight: 800;
  color: #ff8da1;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.cat-altered-memo-title::before {
  content: "🐾";
  font-size: 0.78rem;
}

.cat-altered-memo-body {
  font-size: 0.82rem;
  line-height: 1.5;
  color: #cbd5e1;
  margin: 0;
}

@keyframes memoFadeIn {
  0% {
    opacity: 0;
    transform: translateY(14px) scale(0.96);
    filter: brightness(2);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: brightness(1);
  }
}

/* クリック可能な改変メモ */
.cat-modal-altered-memo.clickable-memo {
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cat-modal-altered-memo.clickable-memo:hover {
  transform: translateY(-2px) scale(1.01);
  border-color: #ff4081;
}

@keyframes memoTapBounce {
  0% { transform: scale(1); }
  35% { transform: scale(0.97) rotate(-0.5deg); }
  70% { transform: scale(1.03) rotate(0.5deg); }
  100% { transform: scale(1); }
}

.cat-modal-altered-memo.tap-bounce {
  animation: memoTapBounce 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* 段階的グロー（1〜4タップ） */
.cat-modal-altered-memo.charge-1 {
  border-color: #ff69b4;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 16px rgba(255, 105, 180, 0.45);
}

.cat-modal-altered-memo.charge-2 {
  border-color: #b388ff;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.45), 0 0 24px rgba(179, 136, 255, 0.6);
}

.cat-modal-altered-memo.charge-3 {
  border-color: #00e5ff;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.5), 0 0 32px rgba(0, 229, 255, 0.75);
}

.cat-modal-altered-memo.charge-4 {
  border-color: #ffd700;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.55), 0 0 42px rgba(255, 215, 0, 0.9);
  animation: memoChargedPulse 0.5s infinite alternate ease-in-out;
}

@keyframes memoChargedPulse {
  0% { transform: scale(1); filter: brightness(1.05); }
  100% { transform: scale(1.02); filter: brightness(1.3); }
}

/* チャージドット（バッジ横） */
.memo-charge-dots {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin-left: 6px;
  vertical-align: middle;
}

.charge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  transition: all 0.2s ease;
  display: inline-block;
}

.charge-dot.active {
  background: #ffd700;
  box-shadow: 0 0 8px #ffd700;
  transform: scale(1.3);
}

/* クリック時に飛び出すポップアップアイコン */
.memo-particle {
  position: absolute;
  pointer-events: none;
  font-size: 1.3rem;
  z-index: 30;
  animation: memoParticleFloat 0.7s forwards ease-out;
}

@keyframes memoParticleFloat {
  0% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(0.6) translateY(0);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.35) translateY(-24px);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.9) translateY(-48px);
  }
}

/* ==========================================================================
   第2弾改変: 全画面ワープ演出オーバーレイ
   ========================================================================== */
.second-alteration-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at center, #1a0b2e, #090014 80%);
  overflow: hidden;
  animation: warpEntrance 2.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes warpEntrance {
  0% { opacity: 0; transform: scale(0.8); }
  15% { opacity: 1; transform: scale(1); }
  85% { opacity: 1; transform: scale(1); }
  100% { opacity: 1; transform: scale(1.2); filter: brightness(3); }
}

.warp-speed-lines {
  position: absolute;
  inset: -100px;
  background: repeating-conic-gradient(from 0deg, rgba(255, 64, 129, 0.15) 0deg 10deg, transparent 10deg 20deg);
  animation: warpSpin 2.5s linear infinite;
  pointer-events: none;
}

@keyframes warpSpin {
  0% { transform: rotate(0deg) scale(1); }
  100% { transform: rotate(360deg) scale(1.5); }
}

.second-alteration-banner {
  position: relative;
  background: rgba(22, 10, 36, 0.95);
  border: 3px solid #ff4081;
  border-radius: 32px;
  padding: 44px 36px;
  max-width: 560px;
  width: 90%;
  text-align: center;
  box-shadow: 0 0 60px rgba(255, 64, 129, 0.6), inset 0 0 30px rgba(186, 104, 200, 0.4);
  animation: bannerScale 2.7s ease forwards;
}

@keyframes bannerScale {
  0% { transform: scale(0.6); opacity: 0; }
  18% { transform: scale(1.05); opacity: 1; }
  25% { transform: scale(1); }
  85% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.15); opacity: 0; }
}

.second-arg-badge {
  display: inline-block;
  background: linear-gradient(135deg, #ff007f, #7928ca);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 6px 18px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
  box-shadow: 0 0 20px rgba(255, 0, 128, 0.6);
}

.second-arg-title {
  font-size: 2.1rem;
  font-weight: 900;
  background: linear-gradient(135deg, #ff80bf, #00e5ff, #ffd700);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 14px;
}

.second-arg-desc {
  color: #e2e8f0;
  font-size: 1.05rem;
  margin-bottom: 16px;
}

.second-arg-status {
  display: inline-block;
  background: rgba(255, 64, 129, 0.15);
  border: 1px solid rgba(255, 64, 129, 0.5);
  color: #ff8da1;
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 700;
  animation: statusBlink 1s infinite alternate;
}

@keyframes statusBlink {
  0% { opacity: 0.7; }
  100% { opacity: 1; filter: drop-shadow(0 0 8px #ff4081); }
}

/* ==========================================================================
   特別アンケートページ (survey.html) スタイル
   ========================================================================== */
.survey-page-body {
  background: linear-gradient(135deg, #0d0d1a 0%, #171226 50%, #0a0614 100%);
  color: #f1f5f9;
  min-height: 100vh;
}

.survey-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 20px 80px;
}

.survey-header {
  text-align: center;
  margin-bottom: 40px;
}

.survey-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 64, 129, 0.2);
  border: 1px solid #ff4081;
  color: #ff8da1;
  padding: 6px 18px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
  box-shadow: 0 0 15px rgba(255, 64, 129, 0.3);
}

.survey-title {
  font-size: 2.3rem;
  font-weight: 900;
  background: linear-gradient(135deg, #fff, #ff8da1, #00e5ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 12px;
}

.survey-desc {
  color: #94a3b8;
  font-size: 1rem;
  max-width: 650px;
  margin: 0 auto;
}

.survey-layout {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 36px;
  align-items: start;
}

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

/* 左側: 見守る猫たちサイドバー */
.survey-cats-sidebar {
  position: sticky;
  top: 30px;
  background: rgba(26, 22, 42, 0.85);
  backdrop-filter: blur(12px);
  border: 2px solid rgba(255, 64, 129, 0.3);
  border-radius: 24px;
  padding: 24px 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(255, 64, 129, 0.15);
}

.sidebar-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #ff8da1;
  text-align: center;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.survey-cats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* 個々の猫マスコット */
.survey-cat-card {
  position: relative;
  background: rgba(35, 29, 58, 0.8);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 14px 10px;
  text-align: center;
  transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.survey-cat-card.glow-level-1 {
  border-color: #ffd700;
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
  transform: translateY(-2px);
}

.survey-cat-card.glow-level-2 {
  border-color: #ff4081;
  box-shadow: 0 0 30px rgba(255, 64, 129, 0.7), inset 0 0 15px rgba(255, 64, 129, 0.4);
  transform: translateY(-5px) scale(1.04);
  animation: rainbowBorder 2s linear infinite alternate;
}

@keyframes rainbowBorder {
  0% { border-color: #ff4081; box-shadow: 0 0 30px rgba(255, 64, 129, 0.7); }
  50% { border-color: #00e5ff; box-shadow: 0 0 30px rgba(0, 229, 255, 0.7); }
  100% { border-color: #ffd700; box-shadow: 0 0 30px rgba(255, 215, 0, 0.7); }
}

/* 猫の画像コンテナ */
.cat-avatar-wrap {
  position: relative;
  width: 96px;
  height: 96px;
  margin: 0 auto 10px;
  border-radius: 50%;
  overflow: visible;
}

.cat-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #fff;
  transition: all 0.3s ease;
}

/* 目の光線レイヤーは画像周囲の発光に置き換えるため非表示 */
.eye-glow-container {
  display: none !important;
}

/* レベル1: 画像の周りが爽やかなシアン・ゴールドに光る（共鳴度50%） */
.survey-cat-card.glow-level-1 {
  border-color: rgba(0, 229, 255, 0.6);
  background: rgba(0, 229, 255, 0.08);
}

.survey-cat-card.glow-level-1 .cat-avatar-wrap {
  transform: scale(1.06);
}

.survey-cat-card.glow-level-1 .cat-avatar-img {
  border-color: #00e5ff;
  box-shadow: 
    0 0 0 3px rgba(0, 229, 255, 0.35),
    0 0 20px rgba(0, 229, 255, 0.8),
    0 0 40px rgba(0, 229, 255, 0.4);
  filter: brightness(1.1);
}

/* レベル2（MAX）: 画像の周りが激しく黄金＆マゼンタのオーラで光り輝く（100% MATCH!!） */
.survey-cat-card.glow-level-2 {
  border-color: #ffd700;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.15), rgba(255, 64, 129, 0.18));
  box-shadow: 0 12px 30px rgba(255, 215, 0, 0.35), 0 0 24px rgba(255, 64, 129, 0.3);
}

.survey-cat-card.glow-level-2 .cat-avatar-wrap {
  transform: scale(1.12);
}

.survey-cat-card.glow-level-2 .cat-avatar-img {
  border-color: #ffd700;
  animation: avatarAuraGlow 1.2s infinite alternate ease-in-out;
}

@keyframes avatarAuraGlow {
  0% {
    box-shadow: 
      0 0 0 3px rgba(255, 215, 0, 0.5),
      0 0 22px 6px #ffd700,
      0 0 42px 14px rgba(255, 64, 129, 0.75),
      0 0 65px 22px rgba(0, 229, 255, 0.5);
    filter: brightness(1.15);
  }
  100% {
    box-shadow: 
      0 0 0 7px rgba(255, 215, 0, 0.8),
      0 0 36px 14px #ffd700,
      0 0 65px 22px rgba(255, 64, 129, 0.95),
      0 0 95px 32px rgba(0, 229, 255, 0.8);
    filter: brightness(1.35);
  }
}

.cat-avatar-name {
  font-size: 0.95rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 2px;
}

.cat-match-meter {
  font-size: 0.78rem;
  color: #ff8da1;
  font-weight: 700;
  transition: color 0.3s;
}

.survey-cat-card.glow-level-2 .cat-match-meter {
  color: #ffd700;
  font-size: 0.85rem;
  animation: pulseGlow 1s infinite alternate;
}

/* 右側: アンケート設問 */
.survey-form-container {
  background: rgba(26, 22, 42, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;
  padding: 36px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.question-group {
  margin-bottom: 28px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.question-group:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.group-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.group-badge {
  background: rgba(255, 64, 129, 0.15);
  border: 1px solid rgba(255, 64, 129, 0.4);
  color: #ff8da1;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.group-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
}

.question-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(35, 29, 58, 0.6);
  border: 2px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 16px 20px;
  margin-bottom: 12px;
  cursor: pointer;
  transition: all 0.25s ease;
  user-select: none;
}

.question-item:hover {
  background: rgba(45, 37, 74, 0.8);
  border-color: rgba(255, 64, 129, 0.4);
  transform: translateX(4px);
}

.question-item.checked {
  background: rgba(255, 64, 129, 0.12);
  border-color: #ff4081;
  box-shadow: 0 4px 20px rgba(255, 64, 129, 0.2);
}

.custom-checkbox {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: #fff;
  flex-shrink: 0;
  margin-top: 2px;
  transition: all 0.2s ease;
}

.question-item.checked .custom-checkbox {
  background: #ff4081;
  border-color: #ff4081;
  box-shadow: 0 0 10px rgba(255, 64, 129, 0.8);
}

.question-text {
  font-size: 0.98rem;
  line-height: 1.6;
  color: #cbd5e1;
  font-weight: 500;
}

.question-item.checked .question-text {
  color: #fff;
  font-weight: 700;
}

/* 診断結果バナー */
.survey-result-box {
  background: linear-gradient(135deg, rgba(30, 20, 45, 0.95), rgba(15, 23, 42, 0.98));
  border: 2px solid rgba(255, 64, 129, 0.6);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(255, 64, 129, 0.25);
  border-radius: 24px;
  padding: 32px 28px;
  margin-top: 36px;
  display: none;
}

.survey-result-box.visible {
  display: block;
  animation: surveyResultFadeIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes surveyResultFadeIn {
  0% {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* 明るいマッチング完了お知らせ */
.match-announcement {
  text-align: center;
  padding-bottom: 28px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.15);
  margin-bottom: 26px;
}

.match-header-badge {
  display: inline-block;
  background: linear-gradient(135deg, #ff4081, #ff9100);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  padding: 5px 18px;
  border-radius: 999px;
  box-shadow: 0 4px 15px rgba(255, 64, 129, 0.4);
  margin-bottom: 14px;
  animation: badgePulse 2s infinite ease-in-out;
}

@keyframes badgePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}

.match-heading {
  font-size: 1.8rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.4;
  margin-bottom: 10px;
}

.highlight-cat-name {
  color: #ffd700;
  text-shadow: 0 0 16px rgba(255, 215, 0, 0.6);
  font-size: 2.1rem;
}

.match-subheading {
  font-size: 1rem;
  color: #e2e8f0;
  margin-bottom: 24px;
  line-height: 1.6;
}

/* マッチした猫たちのカード一覧 */
.matched-cats-container {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.matched-cat-mini-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1.5px solid rgba(255, 215, 0, 0.4);
  border-radius: 18px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 380px;
  text-align: left;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  transition: transform 0.25s ease;
}

.matched-cat-mini-card:hover {
  transform: translateY(-3px);
  border-color: #ffd700;
  box-shadow: 0 12px 28px rgba(255, 215, 0, 0.35);
}

.mini-card-avatar {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  border: 3px solid #ffd700;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 0 14px rgba(255, 215, 0, 0.5);
}

.mini-card-info h4 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 3px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.mini-card-info p {
  font-size: 0.82rem;
  color: #cbd5e1;
  line-height: 1.4;
  margin-bottom: 6px;
}

.mini-card-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  background: rgba(255, 64, 129, 0.25);
  color: #ff8da1;
  border: 1px solid rgba(255, 64, 129, 0.4);
  padding: 2px 8px;
  border-radius: 6px;
}

.survey-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.pulse-btn {
  box-shadow: 0 8px 24px rgba(255, 107, 74, 0.5);
  animation: btnGlow 2.5s infinite ease-in-out;
}

@keyframes btnGlow {
  0%, 100% { box-shadow: 0 8px 24px rgba(255, 107, 74, 0.4); }
  50% { box-shadow: 0 8px 34px rgba(255, 107, 74, 0.8), 0 0 20px rgba(255, 215, 0, 0.5); }
}

/* ==========================================================================
   NNN（ねこねこネットワーク）報告書リンクカード
   ========================================================================== */
.nnn-report-card {
  background: linear-gradient(135deg, rgba(12, 10, 20, 0.9), rgba(20, 16, 32, 0.95));
  border: 1px solid rgba(255, 183, 77, 0.35);
  border-radius: 16px;
  padding: 20px 22px;
  text-align: left;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  transition: all 0.3s ease;
}

.nnn-report-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, #ff9800, #ff5722);
}

.nnn-report-card:hover {
  border-color: rgba(255, 183, 77, 0.7);
  box-shadow: 0 12px 30px rgba(255, 152, 0, 0.25);
}

.nnn-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  flex-wrap: wrap;
  gap: 8px;
}

.nnn-sec-badge {
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  color: #ff9800;
  background: rgba(255, 152, 0, 0.15);
  border: 1px solid rgba(255, 152, 0, 0.4);
  padding: 2px 8px;
  border-radius: 4px;
  text-transform: uppercase;
}

.nnn-org-name {
  font-size: 0.8rem;
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: 0.04em;
}

.nnn-card-body {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.nnn-icon {
  font-size: 2.2rem;
  line-height: 1;
  flex-shrink: 0;
  padding-top: 2px;
}

.nnn-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffb74d;
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}

.nnn-desc {
  font-size: 0.86rem;
  color: #94a3b8;
  line-height: 1.6;
  margin: 0;
}

.nnn-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px dashed rgba(255, 255, 255, 0.1);
}

.nnn-btn-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #ff9800, #f57c00);
  color: #1a0b2e !important;
  font-size: 0.92rem;
  font-weight: 800;
  padding: 9px 20px;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(255, 152, 0, 0.4);
  transition: all 0.2s ease;
}

.nnn-btn-link:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #ffa726, #fb8c00);
  box-shadow: 0 6px 20px rgba(255, 152, 0, 0.6);
  color: #000 !important;
}

.nnn-security-note {
  font-size: 0.75rem;
  color: #64748b;
  font-style: italic;
}

/* ==========================================================================
   マッチング祝福モーダル（ハート型画像 ＆ NNN報告書リンク）
   ========================================================================== */
.match-modal-container {
  background: linear-gradient(135deg, #19142b, #110d22);
  border: 2px solid rgba(255, 64, 129, 0.65);
  border-radius: 28px;
  max-width: 580px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.8), 0 0 45px rgba(255, 64, 129, 0.4);
  text-align: center;
  transform: translateY(30px) scale(0.95);
  transition: transform 0.4s cubic-bezier(0.18, 0.89, 0.32, 1.28);
}

.modal-overlay.open .match-modal-container {
  transform: translateY(0) scale(1);
}

.match-modal-body {
  padding: 38px 30px 40px;
}

.match-modal-badge {
  display: inline-block;
  background: linear-gradient(135deg, #ff4081, #ff9100);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  padding: 6px 20px;
  border-radius: 999px;
  box-shadow: 0 4px 15px rgba(255, 64, 129, 0.4);
  margin-bottom: 22px;
  animation: badgePulse 2s infinite ease-in-out;
}

/* ハート型アバターのコンテナ */
.heart-avatar-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}

.heart-avatar-wrap {
  position: relative;
  width: 170px;
  height: 170px;
  margin: 0 auto;
  filter: drop-shadow(0 10px 25px rgba(255, 64, 129, 0.55)) drop-shadow(0 0 15px rgba(255, 215, 0, 0.4));
  animation: heartPulse 2.2s infinite ease-in-out;
}

/* 4匹全員マッチ時のハートカルテット（4つ並び） */
.heart-avatar-container.all-matched {
  gap: 12px;
  max-width: 500px;
  margin: 0 auto 24px;
}

.heart-avatar-container.all-matched .heart-avatar-wrap {
  width: 105px;
  height: 105px;
  margin: 0;
  filter: drop-shadow(0 6px 16px rgba(255, 215, 0, 0.6)) drop-shadow(0 0 12px rgba(0, 229, 255, 0.5));
}

.match-modal-container.special-nnn-mode {
  border-color: #ffd700;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.85), 0 0 50px rgba(255, 215, 0, 0.5), 0 0 30px rgba(0, 229, 255, 0.4);
  background: linear-gradient(135deg, #1b122e, #0c0818);
}

.match-modal-badge.special-nnn {
  background: linear-gradient(135deg, #ffd700, #ff4081, #00e5ff);
  color: #000;
  font-weight: 900;
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.7);
}

@keyframes heartPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}

.heart-cat-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  clip-path: url(#heartClip);
  -webkit-clip-path: url(#heartClip);
  display: block;
}

.match-modal-title {
  font-size: 1.7rem;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 12px;
  line-height: 1.4;
}

.highlight-modal-name {
  color: #ffd700;
  font-size: 2rem;
  text-shadow: 0 0 16px rgba(255, 215, 0, 0.6);
}

.match-modal-desc {
  font-size: 0.95rem;
  color: #cbd5e1;
  line-height: 1.6;
  margin-bottom: 22px;
}

/* モーダル内のNNN報告書ボックス */
.modal-nnn-box {
  background: rgba(0, 0, 0, 0.45);
  border: 1px dashed rgba(255, 183, 77, 0.45);
  border-radius: 14px;
  padding: 18px 20px;
  text-align: left;
}

.modal-nnn-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  flex-wrap: wrap;
  gap: 6px;
}

.modal-nnn-text {
  font-size: 0.82rem;
  color: #94a3b8;
  line-height: 1.5;
  margin-bottom: 12px;
}

/* ==========================================================================
   全ページ共通クレジット・免責フッター
   ========================================================================== */
.site-subfooter {
  text-align: center;
  padding: 36px 16px 44px;
  color: #7b8396;
  font-size: 0.82rem;
  line-height: 1.7;
  position: relative;
  z-index: 10;
}

.site-subfooter .subfooter-copy {
  font-weight: 700;
  color: #94a3b8;
  margin-bottom: 4px;
  font-size: 0.88rem;
}

.site-subfooter .subfooter-disclaimer {
  color: #64748b;
  font-size: 0.78rem;
}



