@charset "UTF-8";
/* --- 1. Global Variables & Base Styles --- */
:root {
  --hyundai-dark: #050505;
  --hyundai-blue: #002c5f;
  --hyundai-active: #004d9e;
  --bg-light: #f9f9f9;
  --bg-white: #ffffff;
  --text-dark: #111111;
  --text-gray: #666666;
  --border-color: #e5e5e5;
  --easing: cubic-bezier(0.23, 1, 0.32, 1);
}

body,
html {
  margin: 0;
  padding: 0;
  width: 100%;
  background-color: var(--hyundai-dark);
  color: white;
  font-family: "Noto Sans JP", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1,
h2,
h3 {
  font-family: "Roboto", sans-serif;
}

/* --- 2. Header (Glassmorphism) --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 0;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transform: translateY(-100%);
  transition: transform 0.6s var(--easing);
  will-change: transform;
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-link {
  display: block;
  opacity: 1;
  transition: opacity 0.3s;
}

.logo-link:hover {
  opacity: 0.7;
}

/* 【修正点1】ロゴサイズを大きく変更 */
.header-logo {
  display: block;
  height: 100px;
  width: auto;
  -o-object-fit: contain;
     object-fit: contain;
}

/* --- 3. Hero Canvas --- */
.canvas-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
  pointer-events: none;
  will-change: opacity, transform;
  background: var(--hyundai-dark);
}

canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.scroll-prompt {
  position: absolute;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  text-align: center;
  opacity: 0;
  transition: opacity 1s ease;
}

.scroll-prompt.is-visible {
  opacity: 1;
}

.scroll-text {
  font-family: "Roboto", sans-serif;
  font-size: 10px;
  letter-spacing: 0.4em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 15px;
}

.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, white, transparent);
  margin: 0 auto;
  animation: scroll-anim 2s infinite;
}

@keyframes scroll-anim {
  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;
  }
}
/* --- 4. Main Content Wrapper --- */
.main-content {
  position: relative;
  z-index: 10;
  margin-top: 100vh;
  background-color: var(--bg-light);
  color: var(--text-dark);
  box-shadow: 0 -50px 100px rgba(0, 0, 0, 0.5);
}

.section-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 120px 40px;
}

/* 【修正点2】見出しの中央揃えを最適化 */
.section-title {
  font-size: 3rem;
  font-weight: 700;
  color: var(--hyundai-blue);
  margin: 0 auto 80px;
  /* 上下マージンと左右中央揃え */
  letter-spacing: 0.05em;
  text-align: center;
  position: relative;
}

/* タイトル下の装飾線 */
.section-title::after {
  content: "";
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--hyundai-blue);
}

/* --- 5. About Us (Split Layout) --- */
.about-section {
  background-color: var(--bg-white);
  padding: 140px 0;
  overflow: hidden;
}

.about-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  gap: 80px;
}

.about-text {
  flex: 1;
}

.about-image {
  flex: 1;
  position: relative;
  height: 500px;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.about-image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 0.6s ease;
}

.about-image:hover img {
  transform: scale(1.03);
}

.about-label {
  font-family: "Roboto", sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--hyundai-blue);
  letter-spacing: 0.2em;
  margin-bottom: 20px;
  display: block;
}

.about-heading {
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 30px;
  font-feature-settings: "palt";
  letter-spacing: 0.05em;
}

.about-description {
  font-size: 1rem;
  line-height: 2;
  color: var(--text-gray);
  margin-bottom: 20px;
  text-align: justify;
}
.about-description a span {
  font-size: 18px;
  position: relative;
  top: 3px;
}
.about-description a:hover {
  text-decoration: none;
}

/* --- 6. Schedule List (Refined UI) --- */
.schedule-section {
  background-color: var(--bg-light);
}

.schedule-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--border-color);
}

.schedule-item {
  border-bottom: 1px solid var(--border-color);
  transition: background-color 0.2s ease;
}

.schedule-content {
  display: flex;
  align-items: center;
  padding: 30px 20px;
  gap: 40px;
  text-decoration: none;
  color: var(--text-dark);
  position: relative;
}

/* Interactive Link */
a.schedule-content {
  cursor: pointer;
}

a.schedule-content:hover {
  background-color: white;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  z-index: 1;
}

a.schedule-content:hover .schedule-title {
  color: var(--hyundai-blue);
}

a.schedule-content:hover .schedule-action {
  opacity: 1;
  transform: translateX(0);
}

/* Static Item */
div.schedule-content {
  cursor: default;
  opacity: 0.8;
}

.schedule-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 60px;
}

.date-month {
  font-family: "Roboto", sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: #aaa;
  text-transform: uppercase;
}

.date-day {
  font-family: "Roboto", sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--hyundai-blue);
  line-height: 1;
  margin-top: 5px;
}

.schedule-badge {
  font-size: 0.7rem;
  padding: 6px 12px;
  border-radius: 50px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  min-width: 80px;
  text-align: center;
}

.badge-event {
  background-color: #e8f0fe;
  color: #1967d2;
}

.badge-info {
  background-color: #f1f3f4;
  color: #5f6368;
}

.badge-maint {
  background-color: #fff3e0;
  color: #e65100;
}

.schedule-info {
  flex: 1;
}

.schedule-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 8px 0;
  line-height: 1.5;
  transition: color 0.3s;
}

.schedule-meta {
  font-size: 0.85rem;
  color: #777;
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.schedule-action {
  width: 40px;
  display: flex;
  justify-content: flex-end;
  color: var(--hyundai-blue);
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s var(--easing);
}

.schedule-announce {
  text-align: center;
  padding: 40px 0 0;
}

/* --- 7. Gallery (Infinite Scroll) --- */
.gallery-section {
  padding: 0;
  background: var(--bg-white);
}

.gallery-track {
  display: flex;
  width: -moz-max-content;
  width: max-content;
  animation: scroll-gallery 80s linear infinite;
  will-change: transform;
}

.gallery-item {
  width: 500px;
  aspect-ratio: 16/9;
  flex-shrink: 0;
  position: relative;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  filter: grayscale(20%);
  transition: filter 0.5s;
}

.gallery-item:hover img {
  filter: grayscale(0%);
}

@keyframes scroll-gallery {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
/* --- 8. Join Us (Call to Action) --- */
.join-section {
  padding: 160px 20px;
  text-align: center;
  background: linear-gradient(to bottom, var(--bg-white), #f0f4f8);
}

.join-heading {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--hyundai-dark);
}

.join-text {
  color: var(--text-gray);
  margin-bottom: 50px;
  line-height: 2;
}

.cv-button {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  background-color: var(--hyundai-blue);
  color: #fff;
  padding: 22px 60px;
  border-radius: 2px;
  text-decoration: none;
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  letter-spacing: 0.15em;
  transition: all 0.4s var(--easing);
  position: relative;
  overflow: hidden;
}

.cv-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  transition: width 0.4s ease;
}

.cv-button:hover {
  background-color: var(--hyundai-active);
  box-shadow: 0 20px 40px rgba(0, 44, 95, 0.3);
  transform: translateY(-3px);
}

.cv-button:hover::before {
  width: 100%;
}

.sns-links {
  margin-top: 60px;
  display: flex;
  justify-content: center;
  gap: 40px;
}

.sns-links a {
  font-family: "Roboto", sans-serif;
  color: var(--text-dark);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  position: relative;
  padding-bottom: 5px;
}

.sns-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--text-dark);
  transition: width 0.3s;
}

.sns-links a:hover::after {
  width: 100%;
}

/* --- 9. Footer --- */
footer {
  background: var(--hyundai-dark);
  color: #888;
  text-align: center;
  padding: 40px 0;
  font-size: 0.75rem;
  font-family: "Roboto", sans-serif;
  letter-spacing: 0.1em;
}

/* --- 10. Scroll Animation Utility (Fade Up) --- */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s var(--easing);
}

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

/* --- Responsive Design --- */
@media (max-width: 900px) {
  .about-inner {
    flex-direction: column;
    gap: 40px;
  }
  .about-image {
    width: 100%;
    height: 300px;
    order: -1;
  }
  .about-heading {
    font-size: 1.8rem;
  }
  .schedule-content {
    flex-wrap: wrap;
    gap: 15px;
    padding: 25px 0;
  }
  .schedule-date {
    flex-direction: row;
    align-items: baseline;
    gap: 10px;
    width: 100%;
    padding-bottom: 10px;
    border-bottom: 1px dashed #eee;
    margin-bottom: 10px;
  }
  .schedule-action {
    display: none;
  }
  .gallery-item {
    width: 300px;
  }
  .section-title {
    font-size: 2rem;
    margin-bottom: 50px;
  }
}/*# sourceMappingURL=style.css.map */