/* ===========================
   Massa - 国産小型レッカー車 WEBカタログ
   Static Site Stylesheet
   =========================== */

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

:root {
  --color-bg: #0a0a0a;
  --color-surface: #141414;
  --color-border: #2a2a2a;
  --color-text: #f5f5f5;
  --color-text-muted: #999;
  --color-yellow: #e8e44f;
  --color-yellow-dark: #c9c540;
  --font-display: 'Bebas Neue', 'Oswald', sans-serif;
  --font-heading: 'Oswald', sans-serif;
  --font-body: 'Noto Sans JP', sans-serif;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

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

a {
  color: inherit;
  text-decoration: none;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.text-yellow {
  color: var(--color-yellow);
}

/* ===========================
   Navigation
   =========================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background 0.3s;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo img {
  height: 48px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--color-text-muted);
  transition: color 0.3s;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-yellow);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-yellow);
  transition: width 0.3s;
}

.nav-link:hover::after {
  width: 100%;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  transition: transform 0.3s, opacity 0.3s;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===========================
   Section Label
   =========================== */
.section-label {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.section-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--color-yellow);
  line-height: 1;
  letter-spacing: 0.05em;
}

.section-line {
  width: 60px;
  height: 1px;
  background: var(--color-yellow);
  opacity: 0.5;
}

.section-text {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  color: var(--color-text-muted);
}

.section-heading {
  font-family: var(--font-body);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 1rem;
}

.section-subtext {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  line-height: 1.8;
  max-width: 700px;
}

/* ===========================
   Section Dividers
   =========================== */
.section-divider {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to bottom, transparent, var(--color-bg));
  pointer-events: none;
}

.section-divider-top {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--color-border), transparent);
  margin-bottom: 0;
}

/* ===========================
   Hero Section
   =========================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

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

.hero-overlay-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
  background: linear-gradient(to top, var(--color-bg) 0%, rgba(10,10,10,0.8) 40%, transparent 100%);
}

.hero-overlay-left {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(10,10,10,0.7) 0%, transparent 60%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-bottom: 6rem;
}

.hero-logo {
  max-width: 360px;
  margin-bottom: 0.5rem;
}

.hero-tagline {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 300;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.7);
  margin-bottom: 1.5rem;
}

.hero-description {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.8;
  margin-bottom: 2rem;
  max-width: 500px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  z-index: 2;
  animation: scrollBounce 2s ease-in-out infinite;
}

.scroll-indicator span {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  color: rgba(255,255,255,0.4);
}

.scroll-indicator svg {
  color: rgba(255,255,255,0.4);
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* ===========================
   Buttons
   =========================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 0;
  cursor: pointer;
  transition: all 0.3s;
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: var(--color-yellow);
  color: #000;
}

.btn-primary:hover {
  background: var(--color-yellow-dark);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--color-text);
  border: 1px solid rgba(255,255,255,0.3);
}

.btn-outline:hover {
  border-color: var(--color-yellow);
  color: var(--color-yellow);
}

.btn-outline-white {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.4);
}

.btn-outline-white:hover {
  border-color: var(--color-yellow);
  color: var(--color-yellow);
}

.btn-submit {
  width: 100%;
  justify-content: center;
  padding: 1.1rem;
  font-size: 1rem;
}

.btn-download {
  padding: 1rem 2.5rem;
  font-size: 1rem;
}

/* ===========================
   Headline Banner
   =========================== */
.headline-banner {
  padding: 5rem 0;
  background: var(--color-bg);
  overflow: hidden;
}

.headlines {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.headline-item {
  position: relative;
  padding: 1.5rem 2rem;
  border-left: 3px solid var(--color-yellow);
  background: linear-gradient(to right, rgba(232,228,79,0.05), transparent);
}

.headline-glow {
  position: absolute;
  left: -2px;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 60%;
  background: var(--color-yellow);
  filter: blur(8px);
  opacity: 0.5;
}

.headline-text {
  font-family: var(--font-body);
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.4;
}

/* ===========================
   Promotion Section (YouTube)
   =========================== */
.promotion-section {
  padding: 6rem 0;
  background: var(--color-bg);
}

.video-wrapper {
  position: relative;
  width: 100%;
  max-width: 960px;
  margin: 2rem auto 0;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--color-border);
  overflow: hidden;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* ===========================
   Reliability Section
   =========================== */
.reliability-section {
  padding: 6rem 0 8rem;
  background: var(--color-bg);
}

.reliability-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.reliability-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  overflow: hidden;
  transition: transform 0.3s, border-color 0.3s;
}

.reliability-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-yellow);
}

.card-image {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.reliability-card:hover .card-image img {
  transform: scale(1.05);
}

.card-image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to top, var(--color-surface), transparent);
}

.card-content {
  padding: 1.5rem;
}

.card-category {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-yellow);
  font-family: var(--font-heading);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  margin-bottom: 0.75rem;
}

.card-category svg {
  width: 14px;
  height: 14px;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.card-company {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

.card-description {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.tag {
  padding: 0.25rem 0.75rem;
  font-size: 0.7rem;
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
}

.card-stat {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--color-yellow);
  line-height: 1;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

/* ===========================
   Performance Section
   =========================== */
.performance-section {
  padding: 6rem 0 8rem;
  background: var(--color-surface);
}

.performance-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.performance-card {
  position: relative;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  overflow: hidden;
  transition: transform 0.3s, border-color 0.3s;
}

.performance-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-yellow);
}

.performance-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--color-yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s;
}

.performance-card:hover .performance-accent {
  transform: scaleX(1);
}

.performance-content {
  padding: 2rem;
}

.performance-icon {
  color: var(--color-yellow);
  margin-bottom: 1rem;
}

.performance-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
}

.performance-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.performance-desc {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ===========================
   Plan Section
   =========================== */
.plan-section {
  position: relative;
  padding: 6rem 0 8rem;
  overflow: hidden;
}

.plan-bg {
  position: absolute;
  inset: 0;
}

.plan-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.plan-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(10,10,10,0.92) 0%, rgba(10,10,10,0.7) 100%);
}

.plan-content {
  position: relative;
  z-index: 2;
}

.plan-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 2rem 0;
  max-width: 600px;
}

.plan-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
}

.plan-feature svg {
  color: var(--color-yellow);
  flex-shrink: 0;
}

.plan-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ===========================
   Catalog Section
   =========================== */
.catalog-section {
  padding: 6rem 0 8rem;
  background: var(--color-bg);
}

.catalog-viewer {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 2rem;
  margin-top: 2rem;
  align-items: start;
}

.catalog-left {
  width: 100%;
}

.catalog-main-image {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #000;
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.catalog-main-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.catalog-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.7);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  cursor: pointer;
  transition: all 0.3s;
  z-index: 5;
}

.catalog-nav:hover {
  background: var(--color-yellow);
  color: #000;
  border-color: var(--color-yellow);
}

.catalog-prev {
  left: 0.5rem;
}

.catalog-next {
  right: 0.5rem;
}

.catalog-thumbnails {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
}

.catalog-thumb {
  flex-shrink: 0;
  width: 80px;
  height: 50px;
  border: 2px solid transparent;
  cursor: pointer;
  opacity: 0.5;
  transition: all 0.3s;
  overflow: hidden;
}

.catalog-thumb:hover,
.catalog-thumb.active {
  opacity: 1;
  border-color: var(--color-yellow);
}

.catalog-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.catalog-right {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding-top: 2rem;
}

.catalog-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-text-muted);
  font-size: 0.85rem;
}

.catalog-info svg {
  color: var(--color-yellow);
}

/* ===========================
   Contact Section
   =========================== */
.contact-section {
  padding: 6rem 0 4rem;
  background: var(--color-bg);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 2rem;
}

.contact-heading {
  font-size: 2.5rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-yellow);
  color: var(--color-yellow);
  flex-shrink: 0;
}

.contact-label {
  display: block;
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-bottom: 0.25rem;
}

.contact-phone {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--color-text);
  letter-spacing: 0.05em;
}

.contact-phone:hover {
  color: var(--color-yellow);
}

.contact-detail {
  font-size: 0.85rem;
  color: var(--color-text);
}

/* Form */
.contact-form-wrapper {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  padding: 2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
}

.required {
  color: var(--color-yellow);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 0.85rem;
  outline: none;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-yellow);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-note {
  margin-top: 0.75rem;
  font-size: 0.75rem;
  color: var(--color-text-muted);
  text-align: center;
}

/* ===========================
   Footer
   =========================== */
.footer {
  padding: 4rem 0 2rem;
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
}

.footer-companies {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--color-border);
}

.footer-company-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.footer-logo-img {
  height: 36px;
  width: auto;
}

.footer-logo-sm {
  height: 28px;
}

.footer-company-name {
  font-size: 0.9rem;
  font-weight: 600;
}

.footer-company-info {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  line-height: 1.8;
}

/* Privacy Policy */
.privacy-policy {
  padding: 3rem 0;
  border-bottom: 1px solid var(--color-border);
}

.privacy-policy h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.privacy-content {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  line-height: 1.8;
}

.privacy-heading {
  font-weight: 600;
  color: var(--color-text);
  margin-top: 1rem;
  margin-bottom: 0.25rem;
}

.privacy-content ul {
  padding-left: 1.5rem;
  margin: 0.5rem 0;
}

.privacy-content li {
  margin-bottom: 0.25rem;
}

.copyright {
  padding-top: 2rem;
  text-align: center;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--color-text-muted);
}

/* ===========================
   Animations
   =========================== */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===========================
   Responsive
   =========================== */
@media (max-width: 1024px) {
  .reliability-grid,
  .performance-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
  }

  .catalog-viewer {
    grid-template-columns: 1fr;
  }

  .catalog-right {
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
    padding-top: 0;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer-companies {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.98);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    border-bottom: 1px solid var(--color-border);
  }

  .nav-links.open {
    display: flex;
  }

  .hamburger {
    display: flex;
  }

  .hero-logo {
    max-width: 240px;
  }

  .section-heading {
    font-size: 1.5rem;
  }

  .headline-text {
    font-size: 1.3rem;
  }

  .contact-heading {
    font-size: 1.8rem;
  }

  .plan-features {
    grid-template-columns: 1fr;
  }

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

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  .plan-buttons {
    flex-direction: column;
  }

  .plan-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  .catalog-right {
    flex-direction: column;
  }

  .hide-mobile {
    display: none;
  }
}

@media (max-width: 480px) {
  .section-number {
    font-size: 2rem;
  }

  .section-heading {
    font-size: 1.3rem;
  }

  .headline-text {
    font-size: 1.1rem;
  }

  .hero-tagline {
    font-size: 0.9rem;
  }
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: var(--color-bg);
}

::-webkit-scrollbar-thumb {
  background: var(--color-border);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-text-muted);
}
