/* いのころもち.com — Global Styles */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

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

body {
  font-family: 'Zen Maru Gothic', system-ui, sans-serif;
  background: #faf8f5;
  color: #3a3632;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* Layout */
.site-container { min-height: 100vh; display: flex; flex-direction: column; }
.main { flex: 1; animation: fadeIn 0.3s ease; }
.content-narrow { max-width: 780px; margin: 0 auto; padding-left: 48px; padding-right: 48px; }
.content-wide { max-width: 860px; margin: 0 auto; padding-left: 48px; padding-right: 48px; }

/* Navigation */
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 48px; border-bottom: 1px solid rgba(58,54,50,0.06);
}
.nav-logo {
  font-family: 'Zen Maru Gothic', system-ui, sans-serif;
  font-weight: 900; font-size: 18px; color: #3a3632;
  letter-spacing: 0.02em; text-decoration: none;
}
.nav-links { display: flex; gap: 28px; font-size: 13px; font-weight: 500; }
.nav-links a { color: #3a3632; transition: color 0.2s; }
.nav-links a:hover { opacity: 0.6; }
.nav-links a.active-product { color: #c4956a; border-bottom: 2px solid #c4956a; padding-bottom: 2px; }
.nav-links a.active-music { color: #8b9e7a; border-bottom: 2px solid #8b9e7a; padding-bottom: 2px; }
.nav-links a.active-history { color: #9b8a7a; border-bottom: 2px solid #9b8a7a; padding-bottom: 2px; }
.nav-links a.active-about { color: #3a3632; border-bottom: 2px solid #3a3632; padding-bottom: 2px; }

/* Footer */
.footer {
  padding: 32px 48px; display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid rgba(58,54,50,0.06);
}
.footer-copy { font-size: 11px; color: rgba(58,54,50,0.35); }
.footer-links { display: flex; gap: 16px; align-items: center; }
.footer-links a { font-size: 12px; color: rgba(58,54,50,0.45); transition: color 0.2s; }
.footer-links a:hover { color: #3a3632; }

/* Breadcrumb */
.breadcrumb {
  padding: 20px 48px 0; display: flex; align-items: center; gap: 6px;
  font-size: 12px; color: rgba(58,54,50,0.40);
}
.breadcrumb a { transition: color 0.2s; }
.breadcrumb a:hover { color: #3a3632; }
.breadcrumb .current { color: #3a3632; }

/* Badges */
.badge {
  display: inline-block; font-size: 10px; font-weight: 700; color: #fff;
  padding: 3px 8px; border-radius: 4px; letter-spacing: 0.04em;
}
.badge-lg { padding: 4px 10px; letter-spacing: 0.08em; }
.badge-product { background: #c4956a; }
.badge-music { background: #8b9e7a; }
.badge-history { background: #9b8a7a; }
.badge-outline {
  background: transparent; color: #9b8a7a;
  border: none; font-size: 9px;
  background: rgba(155,138,122,0.10); padding: 3px 7px; border-radius: 3px;
}

/* Hero */
.hero { display: flex; flex-direction: column; align-items: center; gap: 24px; padding: 72px 48px 56px; }
.hero-image { width: 300px; height: auto; object-fit: contain; filter: drop-shadow(0 8px 32px rgba(58,54,50,0.10)); }
.hero-title { font-weight: 900; font-size: 36px; letter-spacing: 0.04em; text-align: center; }
.hero-sub { margin-top: 10px; font-family: 'Klee One', sans-serif; font-size: 15px; color: rgba(58,54,50,0.55); letter-spacing: 0.06em; text-align: center; }

/* Page Header */
.page-header { padding: 56px 48px 40px; text-align: center; }
.page-header h1 { font-weight: 900; font-size: 32px; }
.page-header p { margin-top: 12px; font-family: 'Klee One', sans-serif; font-size: 14px; color: rgba(58,54,50,0.50); line-height: 1.8; }

/* Category Cards (top page) */
.category-cards { display: flex; gap: 20px; padding: 0 48px 64px; justify-content: center; flex-wrap: wrap; }
.category-card {
  width: 260px; background: #fff; border: 1px solid rgba(58,54,50,0.08);
  border-radius: 12px; overflow: hidden; cursor: pointer;
  transition: box-shadow 0.2s, transform 0.2s; text-decoration: none; color: inherit;
}
.category-card:hover { box-shadow: 0 8px 24px rgba(58,54,50,0.10); transform: translateY(-2px); }
.category-card-thumb {
  height: 160px; overflow: hidden; display: flex; align-items: center; justify-content: center;
}
.category-card-thumb img { height: auto; object-fit: contain; }
.category-card-body { padding: 20px; }
.category-card-body h3 { font-size: 16px; font-weight: 700; margin-top: 8px; }
.category-card-body p { margin-top: 8px; font-size: 12px; color: rgba(58,54,50,0.50); line-height: 1.7; }

/* Music Cards */
.music-cards { display: flex; gap: 24px; padding: 0 48px 72px; justify-content: center; flex-wrap: wrap; max-width: 820px; margin: 0 auto; }
.music-card {
  width: 380px; background: #fff; border: 1px solid rgba(58,54,50,0.08);
  border-radius: 12px; overflow: hidden; cursor: pointer;
  transition: box-shadow 0.2s, transform 0.2s; text-decoration: none; color: inherit;
}
.music-card:hover { box-shadow: 0 8px 28px rgba(58,54,50,0.10); transform: translateY(-2px); }
.music-card-thumb {
  position: relative; width: 100%; aspect-ratio: 16/9; background: #1a1a1a; overflow: hidden;
}
.music-card-thumb img { width: 100%; height: 100%; object-fit: cover; opacity: 0.9; }
.music-card-play {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
}
.play-btn {
  width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,0.90);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}
.play-btn-lg { width: 64px; height: 64px; box-shadow: 0 2px 16px rgba(0,0,0,0.10); }
.music-card-body { padding: 20px 24px; }
.music-card-body h3 { font-size: 16px; font-weight: 700; line-height: 1.5; }
.music-card-body p { margin-top: 4px; font-family: 'Klee One', sans-serif; font-size: 12px; color: rgba(58,54,50,0.40); }

/* Article List */
.article-list { display: flex; flex-direction: column; gap: 12px; }
.article-item {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 24px; background: #fff; border: 1px solid rgba(58,54,50,0.06);
  border-radius: 10px; cursor: pointer; transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none; color: inherit;
}
.article-item:hover { transform: translateY(-1px); box-shadow: 0 4px 16px rgba(58,54,50,0.06); }
.article-item-content { display: flex; flex-direction: column; gap: 6px; flex: 1; }
.article-item-content h3 { font-size: 16px; font-weight: 700; }
.article-item-content p { font-family: 'Klee One', sans-serif; font-size: 12px; color: rgba(58,54,50,0.40); line-height: 1.6; }
.article-item-date { font-family: 'Klee One', sans-serif; font-size: 11px; color: rgba(58,54,50,0.30); white-space: nowrap; margin-left: 24px; }

/* Blog preview (top page) */
.blog-preview { background: #f3efe9; padding: 48px 48px 56px; }
.blog-preview-inner { max-width: 820px; margin: 0 auto; }
.blog-preview h2 { font-size: 20px; font-weight: 700; margin-bottom: 24px; display: flex; align-items: center; gap: 10px; }
.blog-preview h2::before { content: ''; width: 3px; height: 20px; background: #9b8a7a; border-radius: 2px; }
.blog-preview-item {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 16px 20px; background: #fff; border-radius: 8px; cursor: pointer;
  transition: background 0.2s; text-decoration: none; color: inherit; margin-bottom: 12px;
}
.blog-preview-item:last-child { margin-bottom: 0; }
.blog-preview-item:hover { background: #faf8f5; }
.blog-preview-item span:first-child { font-size: 14px; font-weight: 500; }
.blog-preview-item span:last-child { font-size: 11px; color: rgba(58,54,50,0.35); white-space: nowrap; margin-left: 16px; }

/* Content card */
.content-card {
  padding: 28px 32px; background: #fff; border: 1px solid rgba(58,54,50,0.06); border-radius: 12px;
}
.content-card-lg { padding: 36px 40px; border-radius: 16px; }
.content-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 12px; }
.content-card p { font-family: 'Klee One', sans-serif; font-size: 14px; color: rgba(58,54,50,0.60); line-height: 2.0; }

/* Video player area */
.video-container {
  width: 100%; aspect-ratio: 16/9; border-radius: 12px; overflow: hidden;
  box-shadow: 0 4px 20px rgba(58,54,50,0.10); background: #000;
}
.video-container iframe { width: 100%; height: 100%; border: none; }
.video-placeholder {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  width: 100%; height: 100%; text-decoration: none;
}

/* Back link */
.back-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: 'Klee One', sans-serif; font-size: 13px; transition: color 0.2s;
}
.back-link-music { color: #8b9e7a; }
.back-link-music:hover { color: #6b7e5a; }
.back-link-history { color: #9b8a7a; }
.back-link-history:hover { color: #7a6a5a; }

/* Feature cards (kawaraban) */
.feature-cards { display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; }
.feature-card {
  width: 220px; padding: 24px; background: #fff; border: 1px solid rgba(58,54,50,0.06);
  border-radius: 12px; text-align: center;
}
.feature-card-icon {
  width: 48px; height: 48px; margin: 0 auto 14px; background: #f5f0ea;
  border-radius: 12px; display: flex; align-items: center; justify-content: center;
}
.feature-card h3 { font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.feature-card p { font-family: 'Klee One', sans-serif; font-size: 12px; color: rgba(58,54,50,0.45); line-height: 1.7; }

/* CTA button */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 24px; background: #3a3632; color: #fff;
  font-size: 13px; font-weight: 700; border-radius: 8px; border: none;
  cursor: pointer; transition: background 0.2s;
}
.btn-primary:hover { background: #4a4642; }

/* Character grid (about) */
.character-grid { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }
.character-item { display: flex; flex-direction: column; align-items: center; gap: 10px; width: 140px; }
.character-item-thumb {
  width: 120px; height: 120px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.character-item-thumb img { width: 100px; height: auto; object-fit: contain; }
.character-item span { font-family: 'Klee One', sans-serif; font-size: 12px; color: rgba(58,54,50,0.50); text-align: center; }

/* SNS bar */
.sns-bar {
  background: #f3efe9; border-radius: 12px; padding: 28px 36px;
  display: flex; align-items: center; justify-content: center; gap: 32px;
}
.sns-bar a {
  display: flex; align-items: center; gap: 8px;
  font-family: 'Klee One', sans-serif; font-size: 14px; color: #3a3632;
  transition: color 0.2s;
}
.sns-bar a:hover { color: #c4956a; }

/* Image placeholder */
.image-placeholder {
  width: 100%; height: 200px; background: #f3efe9; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
}
.image-placeholder span { font-family: 'Klee One', sans-serif; font-size: 13px; color: rgba(58,54,50,0.30); }

/* Klee text */
.klee { font-family: 'Klee One', sans-serif; }

/* Responsive */
@media (max-width: 768px) {
  .nav { padding: 16px 24px; }
  .nav-links { gap: 16px; font-size: 12px; }
  .hero { padding: 48px 24px 40px; }
  .hero-image { width: 200px; }
  .hero-title { font-size: 28px; }
  .category-cards { padding: 0 24px 48px; }
  .category-card { width: 100%; }
  .music-cards { padding: 0 24px 48px; }
  .music-card { width: 100%; }
  .page-header { padding: 40px 24px 28px; }
  .page-header h1 { font-size: 24px; }
  .content-narrow, .content-wide { padding-left: 24px; padding-right: 24px; }
  .breadcrumb { padding: 16px 24px 0; }
  .footer { padding: 24px; flex-direction: column; gap: 12px; }
  .blog-preview { padding: 32px 24px 40px; }
  .feature-card { width: 100%; }
  .sns-bar { flex-direction: column; gap: 16px; }
}
