/* カスタムフォントとデザインシステム */
@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@300;400;600;700&family=Noto+Sans+JP:wght@300;400;500;700&display=swap');

:root {
  /* カラーパレット - 清潔感と可愛らしさ */
  --primary: #FFB6C1;
  /* --primary-dark: #FF8FA3; */
  --primary-dark: #c46577;
  --primary-light: #FFD4DC;
  --secondary: #87CEEB;
  --secondary-dark: #5FA8D3;
  --accent: #FFE4B5;
  --text-dark: #4A4A4A;
  --text-light: #7A7A7A;
  --bg-cream: #FFF8F0;
  --bg-white: #FFFFFF;
  --border-soft: #F0E6DC;
  --shadow-soft: rgba(255, 182, 193, 0.15);
  --shadow-medium: rgba(0, 0, 0, 0.08);
  
  /* タイポグラフィ */
  --font-display: 'Comfortaa', 'Noto Sans JP', sans-serif;
  --font-body: 'Noto Sans JP', sans-serif;
  
  /* スペーシング */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 3rem;
  --spacing-xl: 4rem;
  
  /* ボーダー半径 */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--bg-cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ヘッダー */
.header {
  background: var(--bg-white);
  box-shadow: 0 2px 20px var(--shadow-soft);
  position: sticky;
  top: 0;
  z-index: 1000;
  animation: slideDown 0.6s ease-out;
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.header-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-dark);
  text-decoration: none;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

.logo::before {
  content: '🐾';
  font-size: 1.5rem;
  animation: bounce 2s infinite;
}

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

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

.nav a {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  transition: all 0.3s ease;
  position: relative;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 80%;
  height: 2px;
  background: var(--primary);
  transition: transform 0.3s ease;
}

.nav a:hover::after,
.nav a.active::after {
  transform: translateX(-50%) scaleX(1);
}

.nav a:hover,
.nav a.active {
  color: var(--primary-dark);
}

/* ヒーローセクション */
.hero {
  position: relative;
  height: 500px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--secondary) 100%);
}

.hero-slider {
  position: relative;
  height: 100%;
  width: 100%;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to right, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.3) 100%);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 4rem;
}

.hero-content {
  max-width: 650px;
  animation: fadeInUp 1s ease-out 0.3s both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content h1 {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--primary-dark);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-content p {
  font-size: 1.2rem;
  color: var(--text-dark);
  margin-bottom: 2rem;
}

.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: var(--primary);
  color: white;
  text-decoration: none;
  border-radius: var(--radius-full);
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  box-shadow: 0 4px 15px var(--shadow-soft);
}

.btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--shadow-soft);
}

/* コンテナ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--spacing-xl) 2rem;
}

.section {
  margin-bottom: var(--spacing-xl);
  animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.section-title {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--primary-dark);
  margin-bottom: var(--spacing-md);
  text-align: center;
  position: relative;
  padding-bottom: 1rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(to right, var(--primary), var(--secondary));
  border-radius: var(--radius-full);
}

/* イントロセクション */
.intro-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}

.intro-card {
  background: var(--bg-white);
  padding: var(--spacing-md);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 20px var(--shadow-medium);
  transition: all 0.3s ease;
  border: 2px solid var(--border-soft);
}

.intro-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px var(--shadow-soft);
}

.intro-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--primary-dark);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.intro-card p {
  color: var(--text-light);
  line-height: 1.8;
}

/* SNSセクション */
.sns-section {
  background: var(--bg-white);
  padding: var(--spacing-lg) var(--spacing-md);
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: 0 4px 20px var(--shadow-medium);
}

.sns-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-md);
  margin-top: var(--spacing-md);
  align-items: center;
  justify-items: center;
}

.sns-item {
  text-align: center;
  transition: transform 0.3s ease;
}

.sns-item:hover {
  transform: scale(1.05);
}

.sns-item a {
  display: inline-block;
  text-decoration: none;
}

.sns-item img {
  width: 150px;
  height: 150px;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 15px var(--shadow-medium);
  transition: all 0.3s ease;
}

.sns-item img:hover {
  box-shadow: 0 6px 25px var(--shadow-soft);
}

.sns-item p {
  margin-top: 0.5rem;
  color: var(--text-light);
  font-size: 0.9rem;
}

/* 料金表 */
.price-table {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 20px var(--shadow-medium);
  margin-top: var(--spacing-md);
}

.price-table table {
  width: 100%;
  border-collapse: collapse;
}

.price-table thead {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
}

.price-table th {
  padding: 1.5rem 1rem;
  text-align: left;
  font-weight: 600;
  font-size: 1.1rem;
}

.price-table tbody tr {
  border-bottom: 1px solid var(--border-soft);
  transition: background 0.3s ease;
}

.price-table tbody tr:hover {
  background: var(--primary-light);
}

.price-table td {
  padding: 1.2rem 1rem;
}

.price-table td:first-child {
  font-weight: 500;
  color: var(--text-dark);
}

.price-table .price {
  font-weight: 600;
  color: var(--primary-dark);
  font-size: 1.1rem;
}

.price-notes {
  background: var(--accent);
  padding: var(--spacing-md);
  border-radius: var(--radius-md);
  margin-top: var(--spacing-md);
}

.price-notes h3 {
  font-family: var(--font-display);
  color: var(--primary-dark);
  margin-bottom: 1rem;
}

.price-notes ul {
  list-style: none;
  padding-left: 1rem;
}

.price-notes li {
  padding: 0.5rem 0;
  position: relative;
}

.price-notes li::before {
  content: '🐾';
  position: absolute;
  left: -1.5rem;
}

/* 情報セクション */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}

.info-card {
  background: var(--bg-white);
  padding: var(--spacing-md);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 20px var(--shadow-medium);
}

.info-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--primary-dark);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--border-soft);
}

.info-table {
  width: 100%;
}

.info-table tr {
  border-bottom: 1px solid var(--border-soft);
}

.info-table tr:last-child {
  border-bottom: none;
}

.info-table th,
.info-table td {
  padding: 1rem;
  text-align: left;
}

.info-table th {
  font-weight: 600;
  color: var(--text-dark);
  width: 40%;
  background: var(--bg-cream);
}

.info-table td {
  color: var(--text-light);
}

/* フッター */
.footer {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-dark) 100%);
  color: white;
  padding: var(--spacing-lg) 0 var(--spacing-md);
  margin-top: var(--spacing-xl);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
}

.footer h4 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.footer p {
  margin: 0.5rem 0;
  opacity: 0.9;
}

.footer-bottom {
  margin-top: var(--spacing-md);
  padding-top: var(--spacing-md);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.9rem;
  opacity: 0.8;
}

/* レスポンシブ */
@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    gap: 1rem;
  }
  
  .nav {
    gap: 1rem;
  }
  
  .hero {
    height: 400px;
  }
  
  .hero-overlay {
    padding: 0 2rem;
  }
  
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .hero-content p {
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .intro-grid,
  .info-grid {
    grid-template-columns: 1fr;
  }
  
  .container {
    padding: var(--spacing-md) 1rem;
  }
  
  .price-table {
    overflow-x: auto;
  }
  
  .price-table table {
    min-width: 500px;
  }
}

/* ローディングアニメーション */
.loading {
  text-align: center;
  padding: 2rem;
  color: var(--primary-dark);
}

.loading::after {
  content: '...';
  animation: dots 1.5s steps(4, end) infinite;
}

@keyframes dots {
  0%, 20% { content: '.'; }
  40% { content: '..'; }
  60%, 100% { content: '...'; }
}

/* スクロールトップボタン */
.scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 15px var(--shadow-soft);
  transition: all 0.3s ease;
  z-index: 999;
}

.scroll-top.visible {
  display: flex;
}

.scroll-top:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px var(--shadow-soft);
}