/* ========== RESET & BASE ========== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --color-bg: #0a0a0a;
  --color-bg-light: #141414;
  --color-bg-card: #1a1a1a;
  --color-text: #e8e8e8;
  --color-text-muted: #999;
  --color-gold: #c9a94e;
  --color-gold-light: #dfc06a;
  --color-gold-dark: #a68a3a;
  --color-white: #fff;
  --color-border: #2a2a2a;
  --font-main: 'Noto Sans JP', sans-serif;
  --header-height: 72px;
  --transition: 0.3s ease;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: var(--font-main);
  font-weight: 400;
  line-height: 1.8;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--color-gold);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--color-gold-light);
}

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

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ========== HEADER ========== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
  z-index: 1000;
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

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

.nav-list {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav-link {
  color: var(--color-text);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: color var(--transition);
}

.nav-link:hover {
  color: var(--color-gold);
}

/* Hamburger */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 32px;
  height: 24px;
  position: relative;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-text);
  position: absolute;
  left: 0;
  transition: all var(--transition);
}

.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.hamburger span:nth-child(3) { bottom: 0; }

.hamburger.active span:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

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

.hamburger.active span:nth-child(3) {
  bottom: 50%;
  transform: translateY(50%) rotate(-45deg);
}

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: url('../images/hero.jpg') center center / cover no-repeat;
  padding: var(--header-height) 20px 60px;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 10, 10, 0.7) 0%,
    rgba(10, 10, 10, 0.5) 50%,
    rgba(10, 10, 10, 0.8) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.hero-sub {
  font-size: 0.875rem;
  letter-spacing: 0.2em;
  color: var(--color-gold);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.hero-title {
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.5;
  color: var(--color-white);
  margin-bottom: 20px;
}

.hero-desc {
  font-size: 1rem;
  color: var(--color-text-muted);
  margin-bottom: 40px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 4px;
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
  text-decoration: none;
}

.btn-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn-primary {
  background: var(--color-gold);
  color: var(--color-bg);
}

.btn-primary:hover {
  background: var(--color-gold-light);
  color: var(--color-bg);
}

.btn-secondary {
  background: #06C755;
  color: var(--color-white);
}

.btn-secondary:hover {
  background: #05b34c;
  color: var(--color-white);
}

.btn-outline {
  background: transparent;
  color: var(--color-gold);
  border: 1px solid var(--color-gold);
}

.btn-outline:hover {
  background: var(--color-gold);
  color: var(--color-bg);
}

/* ========== SECTIONS ========== */
.section {
  padding: 100px 0;
}

.section:nth-child(even) {
  background: var(--color-bg-light);
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  text-align: center;
  color: var(--color-white);
  margin-bottom: 8px;
}

.section-subtitle {
  font-size: 0.8125rem;
  text-align: center;
  color: var(--color-gold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 48px;
}

/* ========== ABOUT ========== */
.about-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.about-content p {
  margin-bottom: 16px;
  color: var(--color-text-muted);
}

.about-content p:last-child {
  margin-bottom: 0;
}

.about .section-subtitle {
  font-size: 1.0625rem;
  color: var(--color-text);
  text-transform: none;
  letter-spacing: 0.05em;
  margin-bottom: 32px;
}

/* ========== SERVICES ========== */
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  overflow: hidden;
  transition: transform var(--transition), border-color var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-gold-dark);
}

.service-img-wrapper {
  height: 200px;
  overflow: hidden;
}

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

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

.service-body {
  padding: 24px;
}

.service-name {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 12px;
}

.service-desc {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.8;
}

/* ========== POINTS ========== */
.points-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.point-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 40px 28px;
  text-align: center;
  transition: border-color var(--transition);
}

.point-card:hover {
  border-color: var(--color-gold-dark);
}

.point-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-gold);
  line-height: 1;
  margin-bottom: 16px;
}

.point-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 16px;
}

.point-desc {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  text-align: left;
}

/* ========== SERVICE LINK ========== */
.service-link {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-gold);
  letter-spacing: 0.03em;
}

.service-link:hover {
  color: var(--color-gold-light);
}

/* ========== ACTIVE NAV ========== */
.nav-link--active {
  color: var(--color-gold) !important;
}

/* ========== PAGE HERO (sub pages) ========== */
.page-hero {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: url('../images/coating.jpg') center center / cover no-repeat;
  padding: calc(var(--header-height) + 40px) 20px 60px;
}

.page-hero--film {
  background-image: url('../images/film.jpg');
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.75);
}

.page-hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

/* ========== PRICE TABLE ========== */
.table-wrapper {
  overflow-x: auto;
  margin: 0 auto;
  max-width: 800px;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.price-table th,
.price-table td {
  padding: 14px 16px;
  text-align: center;
  border-bottom: 1px solid var(--color-border);
}

.price-table th {
  background: var(--color-bg-card);
  color: var(--color-gold);
  font-weight: 700;
  font-size: 0.9375rem;
  white-space: nowrap;
}

.th-sub {
  display: block;
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--color-text-muted);
  margin-top: 2px;
}

.price-table td:first-child {
  font-weight: 500;
  color: var(--color-white);
  text-align: left;
  white-space: nowrap;
}

.price-table tbody tr:hover {
  background: rgba(201, 169, 78, 0.05);
}

.td-example {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  text-align: left;
}

.table-note {
  text-align: center;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin-top: 16px;
}

/* ========== WORRIES (carfilm) ========== */
.worries-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 700px;
  margin: 0 auto 32px;
}

.worry-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.worry-icon {
  flex-shrink: 0;
  color: var(--color-gold);
}

.worry-card p {
  font-size: 0.9375rem;
  line-height: 1.6;
}

.worries-answer {
  text-align: center;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-gold);
  margin-top: 8px;
}

/* ========== CTA SECTION ========== */
.cta-section {
  background: var(--color-bg-light);
}

.cta-text {
  color: var(--color-text-muted);
  margin-bottom: 32px;
  text-align: center;
}

/* ========== GALLERY ========== */
.gallery {
  text-align: center;
}

.gallery-note {
  color: var(--color-text-muted);
  margin-bottom: 24px;
}

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

.news-item {
  display: flex;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--color-border);
}

.news-item:last-child {
  border-bottom: none;
}

.news-date {
  flex-shrink: 0;
  font-size: 0.875rem;
  color: var(--color-gold);
  font-weight: 500;
}

.news-text {
  font-size: 0.9375rem;
}

/* ========== ACCESS ========== */
.access-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.info-list {
  margin-bottom: 32px;
}

.info-row {
  display: flex;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border);
}

.info-row dt {
  flex-shrink: 0;
  width: 100px;
  font-weight: 500;
  color: var(--color-gold);
  font-size: 0.875rem;
}

.info-row dd {
  font-size: 0.9375rem;
}

.contact-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.access-map iframe {
  border-radius: 8px;
}

/* ========== FOOTER ========== */
.footer {
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
  padding: 48px 0 24px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 32px;
}

.footer-name {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 4px;
}

.footer-address {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.footer-links a:hover {
  color: var(--color-gold);
}

.footer-copy {
  text-align: center;
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--color-bg-light);
    padding: 100px 32px 40px;
    transition: right var(--transition);
    z-index: 999;
    border-left: 1px solid var(--color-border);
  }

  .nav.open {
    right: 0;
  }

  .nav-list {
    flex-direction: column;
    gap: 0;
  }

  .nav-link {
    display: block;
    padding: 14px 0;
    font-size: 1rem;
    border-bottom: 1px solid var(--color-border);
  }

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

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

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

  .footer-inner {
    flex-direction: column;
    gap: 24px;
  }

  .footer-links {
    flex-direction: column;
    gap: 12px;
  }

  .section {
    padding: 64px 0;
  }

  .hero {
    min-height: 90vh;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }

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

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

  .page-hero {
    min-height: 40vh;
  }

  .price-table th,
  .price-table td {
    padding: 10px 8px;
    font-size: 0.8125rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.5rem;
  }

  .info-row {
    flex-direction: column;
    gap: 4px;
  }

  .info-row dt {
    width: auto;
  }
}

/* ========== ANIMATIONS ========== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile menu overlay */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 998;
}

.nav-overlay.active {
  display: block;
}
