/* ============================================================
   California Custom ANNIVERSARY — Main Stylesheet
   ============================================================ */

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

:root {
  --navy:     #0B1A2E;
  --navy-mid: #122340;
  --navy-lt:  #1A3460;
  --chrome:   #B8C4D0;
  --gold:     #D4A030;
  --gold-lt:  #F0C050;
  --white:    #FFFFFF;
  --off-white:#F4F6FA;
  --text:     #1A2030;
  --text-lt:  #6B7A90;
  --accent:   #D4A030;
  --radius:   8px;
  --shadow:   0 4px 32px rgba(0,0,0,0.18);
  --trans:    0.35s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.7;
}

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

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ---- Typography ---- */
.section-label {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.3em;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.section-label.light { color: var(--gold-lt); }

.section-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  line-height: 1.3;
  color: var(--navy);
  margin-bottom: 1rem;
}
.section-title.light { color: var(--white); }

.section-body {
  font-size: 0.95rem;
  color: var(--text-lt);
  max-width: 600px;
  margin-bottom: 2rem;
}
.section-body.light { color: rgba(255,255,255,0.75); }

.accent { color: var(--gold); }
.text-center { text-align: center; }
.mt-lg { margin-top: 1.5rem; }
.mt-xl { margin-top: 2.5rem; }

/* ---- Buttons ---- */
.btn-primary {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.85em 2.2em;
  border-radius: 40px;
  letter-spacing: 0.05em;
  transition: background var(--trans), transform var(--trans), box-shadow var(--trans);
  border: 2px solid transparent;
}
.btn-primary:hover {
  background: var(--gold-lt);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212,160,48,0.35);
}

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--white);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.82em 2em;
  border-radius: 40px;
  border: 2px solid rgba(255,255,255,0.6);
  letter-spacing: 0.05em;
  transition: all var(--trans);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
}

.btn-outline-light {
  display: inline-block;
  color: var(--white);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.82em 2.2em;
  border-radius: 40px;
  border: 2px solid rgba(255,255,255,0.5);
  letter-spacing: 0.05em;
  transition: all var(--trans);
}
.btn-outline-light:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
}

/* ---- Header ---- */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0;
  transition: background var(--trans), box-shadow var(--trans), padding var(--trans);
}
#header.scrolled {
  background: rgba(11,26,46,0.97);
  box-shadow: 0 2px 20px rgba(0,0,0,0.4);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 5%;
  gap: 1.5rem;
}

.logo-img {
  height: 48px;
  width: auto;
  filter: brightness(0) invert(1);
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.header-nav a {
  color: rgba(255,255,255,0.85);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  transition: color var(--trans);
}
.header-nav a:hover { color: var(--gold-lt); }

.btn-contact {
  background: var(--gold) !important;
  color: var(--navy) !important;
  padding: 0.5em 1.4em;
  border-radius: 30px;
  font-weight: 700 !important;
  font-size: 0.82rem !important;
  transition: all var(--trans) !important;
}
.btn-contact:hover {
  background: var(--gold-lt) !important;
  transform: translateY(-1px);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--trans), opacity var(--trans);
}

/* Mobile Nav */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: rgba(11,26,46,0.98);
  z-index: 1100;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.77,0,0.18,1);
}
.mobile-nav.open { transform: translateX(0); }

.mobile-nav-close {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
}

.mobile-nav-link {
  color: var(--white);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  transition: color var(--trans);
}
.mobile-nav-link:hover { color: var(--gold-lt); }

/* ---- Hero ---- */
#hero {
  position: relative;
  height: 100svh;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  transition: transform 0s;
  will-change: transform;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(11,26,46,0.82) 0%,
    rgba(11,26,46,0.55) 60%,
    rgba(26,52,96,0.40) 100%
  );
}

/* Particles Canvas */
.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 6% 0 8%;
  max-width: 960px;
  width: 100%;
}

.hero-eyebrow {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(0.8rem, 1.8vw, 1rem);
  letter-spacing: 0.4em;
  color: var(--gold-lt);
  margin-bottom: 1rem;
}

.hero-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 900;
  font-size: clamp(1.8rem, 3.6vw, 3.4rem);
  line-height: 1.25;
  color: var(--white);
  margin-bottom: 1.25rem;
}
.hero-title .title-line { display: block; }
.hero-title .accent { color: var(--gold-lt); }

.hero-sub {
  font-size: clamp(0.9rem, 1.8vw, 1.05rem);
  color: rgba(255,255,255,0.8);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 8%;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.hero-scroll span {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  color: rgba(255,255,255,0.5);
  writing-mode: vertical-rl;
}
.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ---- Feature Strip ---- */
.feature-strip {
  background: var(--navy);
  padding: 1.2rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.feature-strip-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}
.feature-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 2rem;
}
.feature-icon { font-size: 1.2rem; }
.feature-text {
  color: rgba(255,255,255,0.75);
  font-size: 0.82rem;
  font-weight: 500;
  white-space: nowrap;
}
.feature-sep {
  width: 1px;
  height: 24px;
  background: rgba(255,255,255,0.12);
}

/* ---- Showcase ---- */
.showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 560px;
  overflow: hidden;
}
.showcase-img {
  position: relative;
  overflow: hidden;
}
.showcase-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}
.showcase-img:hover img { transform: scale(1.04); }

.showcase-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  background: var(--gold);
  color: var(--navy);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1rem;
  letter-spacing: 0.2em;
  padding: 0.3em 1em;
  border-radius: 4px;
}

.showcase-text {
  background: var(--off-white);
  padding: 5rem 6%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ---- Video Section ---- */
.video-section {
  position: relative;
  background: var(--navy);
  padding: 6rem 0;
  overflow: hidden;
}

.video-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 60px,
      rgba(255,255,255,0.015) 60px,
      rgba(255,255,255,0.015) 61px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 60px,
      rgba(255,255,255,0.015) 60px,
      rgba(255,255,255,0.015) 61px
    );
  pointer-events: none;
}

.video-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

.video-wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--navy-lt);
}
.video-wrap iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
}
.video-wrap-sm { padding-bottom: 56.25%; }

.video-main { display: flex; flex-direction: column; gap: 0.75rem; }
.video-sub-list { display: flex; flex-direction: column; gap: 1.5rem; }
.video-sub { display: flex; flex-direction: column; gap: 0.5rem; }

.video-caption {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.05em;
}

/* ---- Gallery ---- */
.gallery-section {
  padding: 6rem 0;
  background: var(--white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 3rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4/3;
  cursor: pointer;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.08); }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(11,26,46,0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--trans);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span {
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  border: 1px solid rgba(255,255,255,0.5);
  padding: 0.4em 1em;
  border-radius: 20px;
}

.sns-cta {
  text-align: center;
  padding: 2.5rem;
  background: var(--off-white);
  border-radius: 16px;
}
.sns-cta > p {
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}
.sns-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-sns {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7em 1.8em;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.88rem;
  transition: all var(--trans);
  color: var(--white);
}
.btn-sns.facebook  { background: #1877F2; }
.btn-sns.instagram { background: linear-gradient(135deg, #f09433,#e6683c,#dc2743,#cc2366,#bc1888); }
.btn-sns.youtube   { background: #FF0000; }
.btn-sns:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.2); }

/* ---- Media Section ---- */
.media-section {
  background: var(--navy-mid);
  padding: 6rem 0;
}

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

.media-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 2.5rem 2rem;
  transition: background var(--trans), transform var(--trans);
}
.media-card:hover {
  background: rgba(255,255,255,0.09);
  transform: translateY(-4px);
}
.media-icon { font-size: 2rem; margin-bottom: 1rem; }
.media-card h3 {
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.media-card p {
  color: rgba(255,255,255,0.6);
  font-size: 0.88rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}
.media-link {
  color: var(--gold-lt);
  font-size: 0.85rem;
  font-weight: 600;
  transition: color var(--trans);
}
.media-link:hover { color: var(--white); }

/* ---- Info Section ---- */
.info-section {
  padding: 6rem 0;
  background: var(--white);
}

.info-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  margin-top: 3rem;
  align-items: start;
}

table {
  width: 100%;
  border-collapse: collapse;
}
table th, table td {
  padding: 1rem 1.2rem;
  text-align: left;
  border-bottom: 1px solid rgba(0,0,0,0.07);
  font-size: 0.9rem;
  line-height: 1.6;
}
table th {
  width: 6em;
  color: var(--text-lt);
  font-weight: 600;
  white-space: nowrap;
}
table td { color: var(--text); }
table tr:last-child th, table tr:last-child td { border-bottom: none; }

.table-link {
  color: #1877F2;
  font-weight: 600;
  font-size: 0.85rem;
  transition: opacity var(--trans);
}
.table-link:hover { opacity: 0.75; }

.fb-embed-placeholder {
  background: var(--off-white);
  border-radius: 16px;
  padding: 3rem 2rem;
  text-align: center;
  border: 2px dashed rgba(24,119,242,0.25);
}
.fb-icon {
  width: 60px;
  height: 60px;
  background: #1877F2;
  color: var(--white);
  font-size: 2rem;
  font-weight: 900;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-family: Georgia, serif;
}
.fb-embed-placeholder p {
  color: var(--text);
  font-weight: 600;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

/* ---- Contact ---- */
.contact-section {
  position: relative;
  background: var(--navy);
  padding: 6rem 0;
  overflow: hidden;
}
.contact-section .container { position: relative; z-index: 1; text-align: center; }

.contact-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 20% 50%, rgba(212,160,48,0.08) 0%, transparent 70%),
    radial-gradient(ellipse 40% 80% at 80% 50%, rgba(26,52,96,0.5) 0%, transparent 70%);
}

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

.contact-card {
  display: block;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 2.5rem 1.5rem;
  text-align: center;
  transition: all var(--trans);
  cursor: pointer;
}
.contact-card:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--gold);
  transform: translateY(-4px);
}
.contact-card-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.contact-card h3 {
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.contact-value {
  color: var(--gold-lt);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}
.contact-note {
  color: rgba(255,255,255,0.5);
  font-size: 0.8rem;
}

/* ---- Footer ---- */
.footer {
  background: #060E1A;
  padding: 2.5rem 0;
}
.footer-inner {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}

.footer-logo-img {
  height: 40px;
  filter: brightness(0) invert(1);
  opacity: 0.7;
  margin: 0 auto;
}

.footer-sns {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}
.footer-sns a {
  color: rgba(255,255,255,0.4);
  transition: color var(--trans);
  line-height: 0;
}
.footer-sns a:hover { color: var(--white); }
.footer-sns svg { width: 22px; height: 22px; }

.footer-copy {
  color: rgba(255,255,255,0.25);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
}

/* ---- Reveal Animations ---- */
.reveal-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-up.delay-1 { transition-delay: 0.15s; }
.reveal-up.delay-2 { transition-delay: 0.30s; }
.reveal-up.delay-3 { transition-delay: 0.45s; }

.reveal-section > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal-section.visible > * { opacity: 1; transform: translateY(0); }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .video-grid { grid-template-columns: 1fr; }
  .video-sub-list { flex-direction: row; }
  .video-sub { flex: 1; }
}

@media (max-width: 768px) {
  .header-nav { display: none; }
  .hamburger { display: flex; }

  .showcase {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .showcase-img { height: 55vw; }
  .showcase-text { padding: 3.5rem 7%; }

  .media-grid { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: 1fr; gap: 2rem; }
  .contact-methods { grid-template-columns: 1fr; }

  .feature-strip-inner { gap: 0.5rem; }
  .feature-sep { display: none; }
  .feature-item { padding: 0.5rem 1rem; }

  .video-sub-list { flex-direction: column; }

  .hero-content { padding: 0 6%; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-cta { flex-direction: column; align-items: flex-start; }
}

/* ---- SP改行制御 ---- */
.sp-br { display: none; }
@media (max-width: 767px) {
  .sp-br { display: block; }
}

/* ---- アメ車ワールド認定バッジ ---- */
.amesha-cert {
  background: var(--navy);
  border-top: 1px solid rgba(212,160,48,0.3);
  border-bottom: 1px solid rgba(212,160,48,0.3);
  padding: 1rem 0;
}
.amesha-cert-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}
.amesha-cert-logo {
  height: 36px;
  width: auto;
  filter: brightness(0) invert(1);
  flex-shrink: 0;
}
.amesha-cert-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.amesha-cert-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--gold-lt);
  letter-spacing: 0.05em;
}
.amesha-cert-produced {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.6);
}
@media (max-width: 480px) {
  .amesha-cert-inner { flex-direction: column; gap: 0.6rem; text-align: center; }
  .amesha-cert-title { font-size: 0.85rem; }
}

/* ---- フッター認定注記 ---- */
.footer-cert-note {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.35);
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
}
