:root {
  --color-primary: #84a98c;
  --color-secondary: #cad2c5;
  --color-accent: #d4a373;
  --color-text: #4a403a;
  --color-bg: #fdfbf7;
  --font-heading: 'Zen Maru Gothic', sans-serif;
  --font-body: 'Noto Sans JP', sans-serif;
}

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

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.7;
  min-height: 100vh;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.3;
}

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

a:hover {
  text-decoration: underline;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.site-header {
  background: white;
  border-bottom: 1px solid var(--color-secondary);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-header .logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--color-primary);
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.nav-links a {
  color: var(--color-text);
  font-size: 0.9rem;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--color-text);
}

.hero {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: white;
  text-align: center;
  padding: 4rem 1rem;
}

.hero h1 { font-size: 2rem; margin-bottom: 1rem; }
.hero p { font-size: 1.1rem; opacity: 0.9; }

.section { padding: 3rem 0; }

.section-title {
  text-align: center;
  font-size: 1.5rem;
  color: var(--color-primary);
  margin-bottom: 2rem;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--color-accent);
  margin: 0.5rem auto 0;
}

.animal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.animal-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s, box-shadow 0.2s;
}

.animal-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.animal-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.animal-card .card-body { padding: 1rem; }
.animal-card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.animal-card .meta { font-size: 0.85rem; color: #888; margin-bottom: 0.5rem; }
.animal-card .price { font-size: 1.2rem; font-weight: bold; color: var(--color-accent); }

.status-badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: bold;
  color: white;
}

.status-available { background: var(--color-primary); }
.status-reserved { background: var(--color-accent); }
.status-sold { background: #888; }

.animal-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding: 2rem 0;
}

.animal-gallery img { border-radius: 8px; margin-bottom: 0.5rem; }
.animal-info h1 { font-size: 1.8rem; margin-bottom: 1rem; }
.animal-info .detail-table { width: 100%; border-collapse: collapse; }
.animal-info .detail-table th, .animal-info .detail-table td { padding: 0.75rem; border-bottom: 1px solid var(--color-secondary); text-align: left; }
.animal-info .detail-table th { width: 30%; color: #666; font-weight: normal; }

.site-footer {
  background: var(--color-primary);
  color: white;
  text-align: center;
  padding: 2rem 0;
  margin-top: 3rem;
}

.site-footer a { color: white; opacity: 0.8; }

.social-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
  list-style: none;
}

.content-page { max-width: 800px; margin: 0 auto; padding: 2rem 1rem; }
.content-page h1 { text-align: center; margin-bottom: 2rem; }

.contact-info {
  text-align: center;
  padding: 2rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.line-button {
  display: inline-block;
  background: #06c755;
  color: white;
  padding: 0.75rem 2rem;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1.1rem;
  margin-top: 1rem;
}

.line-button:hover { background: #05b04c; text-decoration: none; }

.map-container { border-radius: 12px; overflow: hidden; margin: 1rem 0; }
.map-container iframe { width: 100%; height: 400px; border: 0; }

@media (max-width: 768px) {
  .hamburger { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 1rem;
    border-bottom: 1px solid var(--color-secondary);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }
  .nav-links.active { display: flex; }
  .animal-detail { grid-template-columns: 1fr; }
  .hero h1 { font-size: 1.5rem; }
}
