@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;600;700&display=swap');

:root {
  --honda-red: #E60012;
  --text-dark: #333333;
  --text-gray: #666666;
  --border-gray: #cccccc;
  --bg-light: #f5f5f5;

  --sp-xxs: 8px;
  --sp-xs: 12px;
  --sp-sm: 16px;
  --sp-md: 24px;
  --sp-lg: 32px;
  --sp-xl: 48px;
  --sp-xxl: 64px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'HondaGlobalFontJP-Regular', sans-serif;
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-dark);
  background: #ffffff;
}

h2, h3, h4, h5, h6 {
  font-family: 'HondaGlobalFontJP-SBold', sans-serif;
  font-weight: normal;
  color: var(--text-dark);
  line-height: 1.3;
}

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

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--sp-md);
}

.note-sup {
  font-size: 0.75em;
  color: var(--honda-red);
  vertical-align: super;
}

/* ---------- Title Block ---------- */
.titleblock {
  padding: var(--sp-xxl) var(--sp-md) var(--sp-lg);
  text-align: center;
}

.titleblock__logo-wrapper {
  margin: 0 auto;
  max-width: 600px;
}

.titleblock__logo {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.titleblock__badge-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--sp-xxs);
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--sp-md);
}

.badge-sale {
  background: transparent;
  color: #333333;
  font-size: 14px;
  font-family: 'HondaGlobalFontJP-Bold', sans-serif;
  font-weight: normal;
  padding: 0;
  white-space: nowrap;
  letter-spacing: 0.05em;
}

.btn-general {
  background: var(--honda-red);
  color: #fff;
  font-size: 12px;
  font-family: 'HondaGlobalFontJP-Bold', sans-serif;
  font-weight: normal;
  padding: 10px 20px;
  border-radius: 4px;
  transition: opacity 0.3s;
  white-space: nowrap;
}

.btn-general:hover {
  opacity: 0.8;
}

/* ---------- Hero Carousel ---------- */
.hero-carousel__wrapper {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--sp-md);
}

.hero-carousel__track {
  width: 100%;
  overflow: hidden;
}

.hero-carousel__item img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: #000;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity 0.3s;
  z-index: 10;
}

.hero-nav:hover {
  opacity: 0.6;
}

.hero-nav svg {
  width: 32px;
  height: 32px;
}

.hero-nav--prev {
  left: var(--sp-md);
}

.hero-nav--next {
  right: var(--sp-md);
}

.hero-note {
  text-align: center;
  font-size: 11px;
  color: var(--text-gray);
  margin-top: var(--sp-sm);
}

/* ---------- Intro Section ---------- */
.intro-section {
  padding: var(--sp-xxl) 0;
}

.intro-title {
  font-size: 32px;
  font-family: 'HondaGlobalFontJP-SBold', sans-serif;
  font-weight: normal;
  text-align: center;
  margin-bottom: var(--sp-xl);
  color: var(--text-dark);
  line-height: 1.4;
}

.intro-content {
  max-width: 100%;
}

.intro-image-wrapper {
  position: relative;
  width: 100%;
}

.intro-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
}

.intro-text-overlay {
  position: absolute;
  bottom: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  padding: var(--sp-lg);
  max-width: 500px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.intro-text-overlay p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-dark);
  margin: 0;
}

/* ---------- Gallery Section ---------- */
.gallery-section {
  background: #ffffff;
  padding: var(--sp-xxl) 0;
}

.gallery-title {
  font-size: 32px;
  font-family: 'HondaGlobalFontJP-SBold', sans-serif;
  font-weight: normal;
  text-align: center;
  margin-bottom: var(--sp-sm);
  color: var(--text-dark);
}

.gallery-subtitle {
  font-size: 14px;
  text-align: center;
  color: var(--text-gray);
  margin-bottom: var(--sp-xl);
  line-height: 1.8;
}

.gallery-title .note-sup {
  font-size: 14px;
  color: var(--text-gray);
  vertical-align: super;
}

.gallery-wrapper {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 80px;
}

.gallery-grid {
  display: flex;
  overflow-x: hidden;
  scroll-snap-type: x mandatory;
  gap: var(--sp-md);
  scrollbar-width: none;
  scroll-behavior: smooth;
}

.gallery-grid::-webkit-scrollbar {
  display: none;
}

.gallery-item {
  flex: 0 0 calc(50% - 12px);
  scroll-snap-align: start;
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: #000;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity 0.3s;
  z-index: 10;
}

.gallery-nav:hover {
  opacity: 0.6;
}

.gallery-nav svg {
  width: 32px;
  height: 32px;
}

.gallery-nav--prev {
  left: 0;
}

.gallery-nav--next {
  right: 0;
}

/* ---------- Timeline Section ---------- */
.timeline-section {
  padding: var(--sp-lg) 0 var(--sp-xxl) ;
  background: #ffffff;
}

.timeline-main-title {
  font-size: 22px;
  font-family: 'HondaGlobalFontJP-SBold', sans-serif;
  font-weight: normal;
  text-align: center;
  margin-bottom: var(--sp-xl);
  color: var(--text-dark);
}

.timeline-table-wrapper {
  max-width: 600px;
  margin: 0 auto var(--sp-lg);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.timeline-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.timeline-milestone {
  background: var(--honda-red);
  color: #fff;
  font-size: 14px;
  font-family: 'HondaGlobalFontJP-SBold', sans-serif;
  font-weight: normal;
  text-align: center;
  vertical-align: middle;
  padding: 12px var(--sp-md);
}

.timeline-step-header {
  font-size: 13px;
  font-family: 'HondaGlobalFontJP-Bold', sans-serif;
  font-weight: normal;
  text-align: center;
  padding: 12px var(--sp-md);
  border-bottom: 1px solid #ddd;
  color: var(--honda-red);
}

.timeline-step-label {
  background: #f5f5f5;
  font-size: 16px;
  font-family: 'HondaGlobalFontJP-SBold', sans-serif;
  font-weight: normal;
  text-align: center;
  padding: 12px var(--sp-md);
  border-bottom: 1px solid #ddd;
  width: 50%;
}

.timeline-step-duration {
  background: #fff;
  font-size: 16px;
  font-family: 'HondaGlobalFontJP-SBold', sans-serif;
  font-weight: normal;
  text-align: center;
  padding: 12px var(--sp-md);
  border-bottom: 1px solid #ddd;
  width: 50%;
}

.timeline-footnote {
  font-size: 14px;
  color: var(--text-gray);
  text-align: center;
  line-height: 1.8;
  max-width: 900px;
  margin: 0 auto;
}

.timeline-main-title .note-sup {
  font-size: 14px;
  color: var(--text-gray);
  vertical-align: super;
}

/* ---------- Contact CTA Section ---------- */
.contact-cta-section {
  padding: var(--sp-xxl) 0;
  background: #ffffff;
  text-align: center;
}

.btn-contact-large {
  display: inline-block;
  background: #000;
  color: #fff;
  font-size: 18px;
  font-family: 'HondaGlobalFontJP-Bold', sans-serif;
  font-weight: normal;
  padding: var(--sp-md) var(--sp-xxl);
  border-radius: 50px;
  transition: opacity 0.3s;
  margin-bottom: var(--sp-lg);
}

.btn-contact-large:hover {
  opacity: 0.85;
}

.btn-contact-large .note-sup {
  font-size: 14px;
  color: #fff;
  vertical-align: super;
}

.contact-cta-note {
  font-size: 14px;
  color: var(--text-dark);
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto;
}

/* ---------- Responsive ---------- */
@media (max-width: 767px) {
  .titleblock__badge-wrapper {
    flex-direction: column;
    align-items: center;
  }

  .hero-nav {
    width: 40px;
    height: 40px;
  }

  .hero-nav svg {
    width: 24px;
    height: 24px;
  }

  .intro-title {
    font-size: 22px;
  }

  .intro-text-overlay {
    position: static;
    background: #ffffff;
    padding: var(--sp-md);
    max-width: 100%;
  }

  .intro-text-overlay p {
    font-size: 13px;
  }

  .gallery-title {
    font-size: 22px;
  }

  .gallery-wrapper {
    padding: 0 var(--sp-xl);
  }

  .gallery-grid {
    gap: 0;
  }

  .gallery-item {
    flex: 0 0 100%;
  }

  .gallery-nav {
    width: 48px;
    height: 48px;
  }

  .timeline-table-wrapper {
    overflow-x: auto;
  }

  .timeline-milestone {
    font-size: 12px;
    padding: var(--sp-sm);
  }

  .timeline-step-header {
    font-size: 11px;
    padding: var(--sp-sm);
  }

  .timeline-step-label {
    font-size: 11px;
    padding: var(--sp-sm);
    width: 50%;
  }

  .timeline-step-duration {
    font-size: 14px;
    padding: var(--sp-sm);
    width: 50%;
  }

  .btn-contact-large {
    font-size: 16px;
    padding: var(--sp-md) var(--sp-lg);
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .gallery-wrapper {
    padding: 0 60px;
  }

  .gallery-item {
    flex: 0 0 calc(50% - 12px);
  }

  .timeline-table-wrapper {
    padding: 0 50px;
  }
}
