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

body {
  font-family: -apple-system, "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  background: #fff;
  color: #333;
  font-size: 14px;
  line-height: 1.7;
}

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

/* Slider */
.slider {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  overflow: hidden;
  background: #000;
}

.slider__track {
  display: flex;
  transition: transform 0.5s ease;
}

.slider__slide {
  min-width: 100%;
}

.slider__slide img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  display: block;
}

.slider__dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 8px 0;
  background: #000;
}

.slider__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #666;
  border: none;
  cursor: pointer;
  padding: 0;
}

.slider__dot.active { background: #fff; }

/* Header */
.site-header {
  border-bottom: 2px solid #c0566e;
  padding: 10px 12px;
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-logo {
  font-size: 1rem;
  font-weight: bold;
  color: #333;
}

.site-nav {
  display: flex;
  gap: 12px;
  margin-top: 4px;
  font-size: 0.78rem;
  color: #888;
}

.site-nav a:hover { color: #c0566e; }

/* Main */
.wrap {
  max-width: 600px;
  margin: 0 auto;
  padding: 12px;
}

/* Article grid */
.articles-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.card { border: 1px solid #eee; border-radius: 4px; overflow: hidden; background: #fff; }
.card:hover { opacity: 0.85; }
.card__thumb { width: 100%; aspect-ratio: 3/2; object-fit: cover; background: #f5f5f5; }
.card__title {
  font-size: 0.78rem;
  font-weight: bold;
  padding: 6px 8px 8px;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* CTA button */
.btn-cta {
  display: block;
  background: #c0566e;
  color: #fff;
  text-align: center;
  padding: 14px;
  font-size: 0.95rem;
  font-weight: bold;
  border-radius: 4px;
  margin: 16px 0;
}

.btn-cta:hover { opacity: 0.85; }

/* Detail page */
.article-wrap { max-width: 600px; margin: 0 auto; padding: 12px 12px 40px; }

.breadcrumb { font-size: 0.72rem; color: #aaa; margin-bottom: 10px; }
.breadcrumb a { color: #aaa; }

.article-title {
  font-size: 1.1rem;
  font-weight: bold;
  line-height: 1.5;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}

.scene { margin: 24px 0; }
.scene__title { font-size: 0.9rem; font-weight: bold; color: #c0566e; margin-bottom: 8px; }
.scene__gif { width: 100%; border-radius: 4px; margin-bottom: 6px; }
.scene__frames { display: grid; grid-template-columns: repeat(3,1fr); gap: 4px; margin-bottom: 8px; }
.scene__frames img { border-radius: 3px; aspect-ratio: 1; object-fit: cover; }
.scene__subtitle {
  background: #f7f7f7;
  border-left: 3px solid #c0566e;
  padding: 8px 10px;
  font-size: 0.82rem;
  border-radius: 0 3px 3px 0;
}

/* Footer */
.site-footer {
  border-top: 1px solid #eee;
  padding: 16px 12px;
  text-align: center;
  font-size: 0.72rem;
  color: #aaa;
  margin-top: 32px;
}
