@charset "UTF-8";
/* ************************************** _
タイトル：home.css
概要：中日本モビリティ home用css
作成：2026.03.18
更新：2026.03.18
_ ************************************** */
/* ************************************** _
タイトル：_home.scss
概要：中日本モビリティ home用
_ ************************************** */
/* ========================================
   Hero Section
======================================== */
.hero-full {
  height: 100vh;
  min-height: 700px;
  position: relative;
  overflow: hidden;
  background-color: #fff;
  /* 背景をホワイトに */
}

.hero-intro-seq {
  position: absolute;
  inset: 0;
  z-index: 10;
  pointer-events: none;
  animation: fadeOutIntro 0.8s forwards 4.2s;
}

.intro-img {
  position: absolute;
  background-size: cover;
  background-position: center;
  opacity: 0;
  width: 25%;
  aspect-ratio: 4/3;
  border-radius: 4px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
  border: 3px solid white;
  animation: softFadeIn 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes softFadeIn {
  0% {
    opacity: 0;
    transform: scale(1.1) translateY(10px) rotate(inherit);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0) rotate(inherit);
  }
}
/* ランダムな配置と傾き (10枚構成) */
.intro-img:nth-child(1) {
  top: 10%;
  left: 5%;
  transform: rotate(-5deg);
  animation-delay: 0.1s;
}

.intro-img:nth-child(2) {
  top: 45%;
  left: 10%;
  transform: rotate(4deg);
  animation-delay: 0.4s;
}

.intro-img:nth-child(3) {
  top: 8%;
  left: 35%;
  transform: rotate(-3deg);
  animation-delay: 0.7s;
}

.intro-img:nth-child(4) {
  top: 65%;
  left: 38%;
  transform: rotate(6deg);
  animation-delay: 1s;
}

.intro-img:nth-child(5) {
  top: 22%;
  left: 62%;
  transform: rotate(-4deg);
  animation-delay: 1.3s;
}

.intro-img:nth-child(6) {
  top: 52%;
  left: 68%;
  transform: rotate(3deg);
  animation-delay: 1.6s;
}

.intro-img:nth-child(7) {
  top: 15%;
  left: 22%;
  transform: rotate(7deg);
  animation-delay: 1.9s;
}

.intro-img:nth-child(8) {
  top: 40%;
  left: 45%;
  transform: rotate(-6deg);
  animation-delay: 2.2s;
}

.intro-img:nth-child(9) {
  top: 12%;
  left: 75%;
  transform: rotate(4deg);
  animation-delay: 2.5s;
}

.intro-img:nth-child(10) {
  top: 48%;
  left: 72%;
  transform: rotate(-3deg);
  animation-delay: 2.8s;
}

@keyframes fadeOutIntro {
  to {
    opacity: 0;
    transform: scale(1.02);
    visibility: hidden;
  }
}
.hero-slideshow {
  position: absolute;
  inset: 0;
  z-index: 5;
  background: #fff;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: heroSlideLoop 24s infinite;
}

/* mv_final */
.hero-slide:nth-child(1) {
  animation-delay: 4.2s;
}

/* mv_final1 */
.hero-slide:nth-child(2) {
  animation-delay: 10.2s;
}

/* mv_final2 */
.hero-slide:nth-child(3) {
  animation-delay: 16.2s;
}

/* mv_staff */
.hero-slide:nth-child(4) {
  animation-delay: 22.2s;
}

@keyframes heroSlideLoop {
  0% {
    opacity: 0;
    transform: scale(1.05);
  }
  5%, 28% {
    opacity: 1;
    transform: scale(1);
  }
  33.3%, 100% {
    opacity: 0;
    transform: scale(1.02);
  }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2) 0%, transparent 50%, rgba(0, 0, 0, 0.3) 100%);
  z-index: 6;
  opacity: 0;
  animation: fadeIn 1s forwards 4.7s;
}

.hero-container {
  height: 100%;
  position: relative;
  z-index: 7;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 40px;
}

.hero-content-center {
  text-align: center;
  max-width: 1200px;
  margin-top: -300px;
  /* さらに100px上げ（合計300px） */
}

.main-catch {
  font-size: clamp(2.5rem, 8vw, 5.5rem);
  /* 可変サイズ */
  font-weight: 700;
  color: white;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
  line-height: 1.2;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s forwards 5.2s;
}

.hero-label {
  opacity: 0;
  transform: translateY(10px);
  animation: fadeInUp 0.8s forwards 5s;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@media (max-width: 992px) {
  .hero-slide.slide-staff {
    background-image: url("../images/home/mv_staff_sp.jpg") !important;
  }
  .hero-content,
  .grid-2 {
    flex-direction: column;
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-text,
  .hero-image {
    width: 100%;
  }
  .hero h1 {
    font-size: 2.5rem;
  }
  .hero-btns {
    justify-content: center;
  }
}
@media (max-width: 768px) {
  .intro-img {
    width: 75%;
    aspect-ratio: 4/3;
  }
  /* 重なりすぎを解消するため、配置をバラけさせる */
  .intro-img:nth-child(1) {
    left: -5%;
    top: 5%;
  }
  .intro-img:nth-child(2) {
    left: 25%;
    top: 35%;
  }
  .intro-img:nth-child(3) {
    left: 5%;
    top: 15%;
  }
  .intro-img:nth-child(4) {
    left: 30%;
    top: 55%;
  }
  .intro-img:nth-child(5) {
    left: -2%;
    top: 45%;
  }
  .intro-img:nth-child(6) {
    left: 20%;
    top: 5%;
  }
  .intro-img:nth-child(7) {
    left: 0%;
    top: 65%;
  }
  .intro-img:nth-child(8) {
    left: 18%;
    top: 22%;
  }
  .intro-img:nth-child(9) {
    left: 10%;
    top: 48%;
  }
  .intro-img:nth-child(10) {
    left: 28%;
    top: 12%;
  }
  .main-catch {
    font-size: clamp(1.8rem, 10vw, 3rem);
    line-height: 1.4;
  }
  .hero-container {
    align-items: flex-start;
    /* 上から配置 */
  }
  .hero-content-center {
    margin-top: 30vh;
    /* 上から30%の位置に調整 */
  }
}
@media (max-width: 600px) {
  .section-title,
  .section-text h2,
  .merits .section-title {
    font-size: 1.8rem;
  }
  .hero-btns {
    flex-direction: column;
  }
  .hero-container {
    align-items: flex-start;
    padding-top: 13vh;
  }
  .hero-content-center {
    margin-top: 0;
  }
}
/* ========================================
   Dealer Network
======================================== */
.network {
  padding: 120px 0;
  background-color: var(--bg-light);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.network::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../images/home/store_network_bg.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.2;
  pointer-events: none;
  z-index: 0;
}

.network .container {
  position: relative;
  z-index: 1;
}

.section-intro {
  max-width: 800px;
  margin: 0 auto 60px;
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-main);
}

.network-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.stat-card {
  background: white;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.05);
  width: 100%;
  max-width: 450px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.card-logo {
  margin-bottom: 15px;
}

.card-logo img {
  height: 44px;
}

.dealer-name {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 30px;
  letter-spacing: -0.02em;
}

.counts-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin-bottom: 40px;
  width: 100%;
}

.count-block {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
}

.count-block .label {
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-main);
}

.count-block .num {
  font-size: 3.2rem;
  font-weight: 800;
  font-style: italic;
  line-height: 1;
  color: var(--text-main);
  font-family: "Roboto Condensed", sans-serif;
}

.count-block .unit {
  font-size: 0.9rem;
  font-weight: 700;
  align-self: flex-end;
  margin-bottom: 6px;
}

.btn-web {
  width: 100%;
  background: #333;
  color: white;
  padding: 14px 20px;
  border-radius: 50px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: var(--transition);
  position: relative;
  font-size: 1.1rem;
}

.btn-web:hover {
  background: #000;
  transform: translateY(-2px);
}

.btn-web .icon-arrow {
  width: 24px;
  height: 24px;
  background: white;
  border-radius: 50%;
  position: relative;
  margin-left: 10px;
}

.btn-web .icon-arrow::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 45%;
  width: 6px;
  height: 6px;
  border-top: 2px solid #333;
  border-right: 2px solid #333;
  transform: translate(-50%, -50%) rotate(45deg);
}

@media (max-width: 480px) {
  .stat-card {
    padding: 30px 20px;
  }
  .dealer-name {
    font-size: 1.4rem;
  }
  .counts-row {
    gap: 20px;
  }
  .count-block .num {
    font-size: 2.2rem;
    font-weight: 800;
    font-style: italic;
  }
}
/* ========================================
   Merits Section
======================================== */
.merits {
  position: relative;
  background-color: #ffffff;
  padding: 120px 0 100px;
  overflow: hidden;
}

.merit-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 30px;
  text-align: center;
}

.merits .section-title {
  font-size: 2.4rem;
  margin-bottom: 0;
}

.merits .section-title::after {
  display: none;
  /* Removed the default underline */
}

.merits .section-intro {
  text-align: center;
  color: var(--text-muted);
  max-width: 800px;
  margin: 0 auto 80px;
  line-height: 1.8;
}

.merit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  align-items: start;
}

.merit-card {
  background: white;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  z-index: 11;
  /* Ensure cards are above the dark background visual */
}

.merit-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.merit-card.staggered-1 {
  margin-top: 60px;
}

.merit-card.staggered-2 {
  margin-top: 120px;
}

.merit-card-header {
  background: linear-gradient(135deg, #4e342e 0%, #261b1b 100%);
  /* Deep premium brown gradient */
  color: white;
  padding: 20px;
  text-align: center;
  position: relative;
}

.merit-card-header h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0;
}

.merit-card-header::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid #261b1b;
}

.merit-card-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

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

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

.merit-card-body {
  padding: 30px 25px;
  text-align: center;
}

.merit-card-body p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}

.merits-bg-visual {
  position: absolute;
  bottom: 50px;
  left: 0;
  width: 100%;
  height: 500px;
  background-color: #1a1a1a;
  background-image: linear-gradient(rgba(26, 26, 26, 0.7), rgba(26, 26, 26, 0.7)), url("../images/home/top_aboutus_bg.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  opacity: 1;
  pointer-events: none;
  z-index: 1;
}

.merits .container {
  position: relative;
  z-index: 10;
}

@media (max-width: 992px) {
  .merit-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .merit-card[class*=staggered-] {
    margin-top: 0;
  }
}
/* ========================================
   Grid Sections
======================================== */
.content-section {
  padding: 100px 0;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

@media (max-width: 992px) {
  .grid-2 {
    flex-direction: column;
    grid-template-columns: 1fr;
    text-align: center;
  }
}
.content-section:nth-child(even) .grid-2 {
  direction: rtl;
}

.content-section:nth-child(even) .grid-2 > div {
  direction: ltr;
}

.section-text h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.section-text p {
  margin-bottom: 30px;
  color: var(--text-muted);
}

.section-image img {
  border-radius: 1px;
  box-shadow: var(--shadow-md);
}

/* ========================================
   Split Section & U-Select Theme
======================================== */
.split-section {
  display: flex;
  min-height: 600px;
  background-color: #ffffff;
  overflow: hidden;
}

.split-image-half {
  flex: 1;
  min-height: 500px;
}

.split-image-half img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  display: block;
}

.split-content-half {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 80px 5%;
  text-align: center;
}

.u-select-branding {
  margin: 40px 0;
  display: flex;
  align-items: center;
  gap: 30px;
}

.u-select-badge {
  background: white;
  padding: 15px 30px;
  border-radius: 4px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  border: 1px solid #eee;
  flex-shrink: 0;
}

.u-select-badge::after {
  content: "";
  position: absolute;
  right: -7px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 14px;
  height: 14px;
  background: white;
  border-top: 1px solid #eee;
  border-right: 1px solid #eee;
  box-shadow: 5px -5px 15px rgba(0, 0, 0, 0.03);
  z-index: 1;
}

.badge-text-small {
  font-size: 0.8rem;
  color: #1A1A1A;
  font-weight: 500;
  margin-bottom: 2px;
}

.badge-text-large {
  font-size: 1.8rem;
  font-weight: 800;
  color: #1A1A1A;
  letter-spacing: -0.02em;
  line-height: 1;
}

.inventory-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.inventory-breakdown {
  display: flex;
  gap: 24px;
  padding-left: 5px;
}

.breakdown-item {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.breakdown-item .label {
  font-size: 0.9rem;
  font-weight: 700;
  color: #1A1A1A;
}

.breakdown-item .value {
  font-size: 1.8rem;
  font-weight: 800;
  font-style: italic;
  font-family: "Roboto Condensed", sans-serif;
  color: var(--text-main);
}

.breakdown-item .unit {
  font-size: 0.8rem;
  font-weight: 700;
  color: #1A1A1A;
}

.inventory-total {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.total-label {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary-color);
}

.total-value {
  font-size: 4.5rem;
  font-weight: 800;
  font-style: italic;
  font-family: "Roboto Condensed", sans-serif;
  color: var(--primary-color);
  line-height: 1;
}

.total-unit {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary-color);
}

.u-select-cta .btn {
  min-width: 300px;
  background-color: white;
}

@media (max-width: 1024px) {
  .split-section {
    flex-direction: column;
  }
  .split-image-half {
    flex: none;
    height: 400px;
  }
  .inventory-body .number {
    font-size: 4.5rem;
  }
}
@media (max-width: 600px) {
  .u-select-branding {
    flex-direction: column;
    gap: 20px;
    align-items: center;
    margin: 30px 0;
  }
  .u-select-badge {
    flex-direction: row;
    gap: 12px;
    padding: 12px 20px;
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }
  .u-select-badge::after {
    right: 50%;
    top: 100%;
    transform: translateX(50%) rotate(45deg);
    margin-top: -7px;
    border-top: none;
    border-left: none;
    border-bottom: 1px solid #eee;
    border-right: 1px solid #eee;
  }
  .badge-text-small {
    margin-bottom: 0;
    font-size: 0.75rem;
  }
  .badge-text-large {
    font-size: 1.4rem;
  }
}
/* ========================================
   Recruit section
======================================== */
.content-center {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* Marquee Background */
.recruit-section {
  position: relative;
  padding: 120px 0;
  background-color: #000;
  overflow: hidden;
  color: white;
}

.recruit-marquee-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.recruit-marquee-container::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  /* Dark overlay */
  z-index: 2;
}

.marquee-track {
  display: flex;
  width: -moz-fit-content;
  width: fit-content;
  height: 100%;
  animation: marquee-scroll 60s linear infinite;
}

.marquee-img {
  height: 100%;
  width: 680px;
  /* Uniform width for loop */
  -o-object-fit: cover;
  object-fit: cover;
  flex-shrink: 0;
}

@keyframes marquee-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
@media (max-width: 768px) {
  .marquee-img {
    width: 680px;
  }
}
/*# sourceMappingURL=_maps/home.css.map */
