/* ==========================================================================
   top.css — トップページ固有スタイル
   index.html でのみ読み込む
   ========================================================================== */

/* ===== MV FULL-SCREEN SLIDER ===== */
.mv {
  position: relative;
  height: 92vh;
  min-height: 600px;
  max-height: 900px;
  overflow: hidden;
}

.mv-slider {
  position: absolute;
  inset: 0;
}

.mv-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
  /* 本番では background-image を使用 */
  background-size: cover;
  background-position: center;
}

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

.mv-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(15, 22, 41, 0.92) 0%,
    rgba(15, 22, 41, 0.7) 50%,
    rgba(15, 22, 41, 0.5) 100%
  );
  z-index: 1;
}

.mv-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
}

.mv-content .container {
  width: 100%;
}

.mv-tagline {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  color: #c8973e;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 28px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(200, 151, 62, 0.3);
}

.mv-catch {
  font-size: 52px;
  font-weight: 900;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 24px;
  letter-spacing: 0.04em;
  max-width: 700px;
}

.mv-catch em {
  font-style: normal;
  color: #c8973e;
}

.mv-sub {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 560px;
}

.mv-stats {
  display: flex;
  gap: 40px;
  margin-bottom: 40px;
}

.mv-stat {
  display: flex;
  flex-direction: column;
}

.mv-stat-num {
  font-size: 32px;
  font-weight: 900;
  color: #fff;
  letter-spacing: 0.02em;
  line-height: 1.1;
}

.mv-stat-label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 4px;
  letter-spacing: 0.06em;
}

.mv-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.mv-area {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.04em;
}

/* MV Indicators */
.mv-indicators {
  position: absolute;
  bottom: 40px;
  right: 48px;
  z-index: 3;
  display: flex;
  gap: 12px;
}

.mv-indicator {
  width: 32px;
  height: 3px;
  background: rgba(255, 255, 255, 0.25);
  border: none;
  cursor: pointer;
  transition: background 0.3s, width 0.3s;
  padding: 0;
}

.mv-indicator--active {
  background: var(--color-cta);
  width: 48px;
}

/* ===== FEATURED SERVICES ===== */
.featured-services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap-default);
  margin-bottom: 40px;
}

.featured-service-card {
  display: block;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: transform 0.2s, box-shadow 0.2s;
}

.featured-service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.featured-service-img {
  height: 180px;
  background: var(--color-bg-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-placeholder-text);
  font-size: 13px;
  position: relative;
}

.featured-service-body {
  padding: 24px;
}

.featured-service-body h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.featured-service-body p {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 14px;
}

.featured-service-link {
  font-size: 12px;
  font-weight: 700;
  color: var(--color-brand);
  letter-spacing: 0.04em;
}

/* ===== SERVICE COMPACT LIST ===== */
.service-compact-label {
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: var(--color-text-sub);
  letter-spacing: 0.04em;
}

.service-compact-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.service-compact-list a {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-sub);
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 10px 18px;
  letter-spacing: 0.02em;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.service-compact-list a:hover {
  border-color: var(--color-brand);
  color: var(--color-brand);
  background: var(--color-bg-gray);
}

/* ===== BANNER ROW ===== */
.banner-section {
  padding: 24px 0;
}

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

.banner-item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 140px;
  background: var(--color-bg-gray);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  color: var(--color-placeholder-text);
  font-size: 14px;
  font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s;
}

.banner-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

/* ===== NEWS LIST ===== */
.news-list {
  max-width: 800px;
  margin: 0 auto;
}

.news-item {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--color-border);
}

.news-item:first-child {
  padding-top: 0;
}

.news-date {
  font-size: 12px;
  color: var(--color-text-light);
  letter-spacing: 0.04em;
  flex-shrink: 0;
  min-width: 90px;
}

.news-tag {
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  background: var(--color-brand);
  padding: 3px 10px;
  border-radius: 3px;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.news-tag--campaign {
  background: var(--color-cta);
}

.news-title {
  font-size: 14px;
  color: var(--color-text);
  line-height: 1.5;
}

.news-title a:hover {
  color: var(--color-brand-light);
}

/* ===== SELL NOW REASONS ===== */
.sellnow-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap-default);
}

.sellnow-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 36px 28px;
  border: 1px solid var(--color-border);
}

.sellnow-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--color-brand);
  color: #fff;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 16px;
}

.sellnow-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: 0.02em;
  line-height: 1.4;
}

.sellnow-card p {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ===== SCENE BLOCK ===== */
.scene-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap-default);
}

.scene-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
  display: grid;
  grid-template-columns: 160px 1fr;
  transition: transform 0.2s, box-shadow 0.2s;
}

.scene-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.scene-card-img {
  background: var(--color-bg-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-placeholder-text);
  font-size: 12px;
  min-height: 140px;
}

.scene-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.scene-card-body h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.scene-card-body p {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.scene-note {
  text-align: center;
  margin-top: 36px;
  padding: 24px;
  background: var(--color-bg-gray);
  border-radius: var(--radius);
}

.scene-note p {
  font-size: 14px;
  color: var(--color-text-sub);
  line-height: 1.7;
}

.scene-note strong {
  color: var(--color-brand);
}

/* ===== VOICE / TESTIMONIALS ===== */
.voice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap-default);
}

.voice-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px 24px;
  border: 1px solid var(--color-border);
  position: relative;
}

.voice-card-quote {
  font-size: 14px;
  color: var(--color-text-sub);
  line-height: 1.8;
  margin-bottom: 20px;
  position: relative;
  padding-left: 20px;
}

.voice-card-quote::before {
  content: "\201C";
  position: absolute;
  left: 0;
  top: -4px;
  font-size: 32px;
  color: var(--color-accent);
  font-weight: 900;
  line-height: 1;
}

.voice-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--color-border);
}

.voice-card-avatar {
  width: 40px;
  height: 40px;
  background: var(--color-bg-gray);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.voice-card-info {
  font-size: 12px;
  color: var(--color-text-light);
  line-height: 1.5;
}

.voice-card-info strong {
  display: block;
  font-size: 13px;
  color: var(--color-text);
  font-weight: 600;
}

.voice-card-stars {
  font-size: 14px;
  color: #f59e0b;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

/* ===== GENRES ===== */
.genres-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.genre-tag {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 14px 8px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.genre-tag:hover {
  border-color: var(--color-brand);
  background: var(--color-bg-gray);
  color: var(--color-brand);
}

.genres-note {
  text-align: center;
  margin-top: 28px;
  font-size: 13px;
  color: var(--color-text-muted);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .mv {
    height: auto;
    min-height: 0;
    max-height: none;
    padding: 80px 0 56px;
  }

  .mv-catch {
    font-size: 32px;
  }

  .mv-sub {
    font-size: 15px;
    margin-bottom: 28px;
  }

  .mv-stats {
    gap: 24px;
    margin-bottom: 28px;
  }

  .mv-stat-num {
    font-size: 24px;
  }

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

  .mv-area {
    text-align: center;
  }

  .mv-content .container {
    text-align: center;
  }

  .mv-catch {
    max-width: 100%;
  }

  .mv-sub {
    max-width: 100%;
  }

  .mv-indicators {
    bottom: 20px;
    right: 50%;
    transform: translateX(50%);
  }

  .featured-services {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .banner-row {
    grid-template-columns: 1fr;
  }

  .banner-item {
    height: 100px;
  }

  .news-item {
    flex-wrap: wrap;
    gap: 8px;
  }

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

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

  .scene-card {
    grid-template-columns: 120px 1fr;
  }

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

  .genres-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .mv-catch {
    font-size: 26px;
  }

  .mv-stats {
    flex-wrap: wrap;
    gap: 16px;
  }

  .featured-services {
    grid-template-columns: 1fr;
  }

  .genres-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
