/* ----- AGV Top ----- */

.textBlockAGV {
  position: absolute;
  top: 80%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
  z-index: 10;
  background-color: #00000050;
  padding: 35px 20px 35px 20px;
}

.btAccentAGV {
  box-sizing: border-box;
  display: inline-block;
  max-width: 100%;
  border: 1px solid #feff31;
  border-radius: 3px;
  background-color: #feff31;
  color: #000000;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s;
}
.btLargeSizeAGV {
  min-width: 250px;
  padding: 18px 24px;
  font-size: 15px;
  font-size: 1.5rem;
}

@media screen and (max-width: 768px) {
  .textBlockAGV {
    top: 65%;
  }
}

/* agvhelmets.html styles */
*, *:before, *:after {
  box-sizing: border-box;
}

.grayarea {
  width: 100%;
  padding: 0;
  background-color: #ffffff;
}

.homepage-highlights {
  width: 85%;
  margin: 0 auto;
  padding: 40px 0;
  background-color: #ffffff;
  color: #333;
}

.col_xs_2 {
  width: 100%;
  display: flex;
  display: -ms-flexbox;
  /* IE10 */
  flex-wrap: nowrap;
  -ms-flex-wrap: nowrap;
  /* IE10 */
  gap: 0;
}

.col_xs_2 > div {
  width: calc(33.333% - 20px);
  padding: 20px;
  background-color: #ffffff;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  margin: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #f0f0f0;
  box-sizing: border-box;
  flex-shrink: 0;
}

.col_xs_2 > div:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
}

@media screen and (max-width: 1000px) {
  .col_xs_2 {
    flex-direction: column;
  }
  
  .col_xs_2 > div {
    width: 100%;
    padding: 20px;
    margin: 10px 0;
  }
  
  .col_xs_2 > div > a:first-child {
    overflow: visible;
  }
}

@media screen and (min-width: 769px) {
  .col_xs_2 > div > a:first-child {
    overflow: visible;
  }
}

@media screen and (max-width: 768px) {
  .col_xs_2 > div > a:first-child {
    overflow: visible;
  }
}

@media screen and (max-width: 480px) {
  .col_xs_2 > div > a:first-child {
    overflow: visible;
  }
}

.col_xs_2 > div > a:first-child {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: visible;
}

.col_xs_2 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.grayarea h4 {
  font-size: 32px;
  line-height: 38px;
  font-weight: 700;
  padding-top: 1.2em;
  text-transform: uppercase;
  color: #333;
  margin-bottom: 15px;
}

.grayarea .homepage-highlights .col_xs_2 img {
  transition: 1s all;
}

.grayarea .homepage-highlights .col_xs_2 img:hover {
  transform: scale(1.05, 1.05);
  transition: 0.3s all;
}

.highlights__links {
  margin: 40px 0 0 0;
  padding: 0;
  list-style-type: none;
}

.highlights__links li a {
  text-transform: uppercase;
  font-size: 18px;
  color: #333;
  padding-bottom: 5px;
  border-bottom: 1px solid #ccc;
  -webkit-transition: border-color .2s linear;
  -moz-transition: border-color .2s linear;
  -o-transition: border-color .2s linear;
  -ms-transition: border-color .2s linear;
  transition: border-color .2s linear;
}

.highlights__links li {
  margin: 0 25px 20px 0;
  display: inline-block;
}

.highlights__links li:hover a {
  border-bottom: 1px solid #feff31;
  color: #000;
}

/* Highlights button styles */
.highlights-btn {
  background: none;
  border: none;
  text-transform: uppercase;
  font-size: 18px;
  color: #333;
  padding: 0;
  margin: 0;
  border-bottom: 1px solid #ccc;
  padding-bottom: 5px;
  cursor: pointer;
  font-family: inherit;
  font-weight: bold;
  transition: border-color 0.2s linear, color 0.2s linear;
}

.highlights-btn:hover {
  border-bottom: 1px solid #feff31;
  color: #000;
}

/* Product highlights paragraph styling */
.grayarea .homepage-highlights p {
  font-size: 18px;
  line-height: 26px;
  color: #666;
  margin-bottom: 20px;
  flex-grow: 1;
  min-height: 80px;
}

/* Uniform height alignment for h4, p, ul>li */
.grayarea .col_xs_2 > div h4,
.grayarea .col_xs_2 > div p,
.grayarea .col_xs_2 > div .highlights__links {
  align-self: flex-start;
}

.grayarea .col_xs_2 > div {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.grayarea .col_xs_2 > div .highlights__links {
  margin-top: auto;
}

.grayarea .homepage-highlights .col_xs_2 .highlights__links a {
  text-underline: none;
}

.btAccent {
  border: 1px solid #feff31;
  background-color: #feff31;
  color: #000;
}

.btAccent:hover {
  border: 1px solid #feff31;
  background-color: #feff31;
  color: #000;
}

.homepage-section__header {
  text-align: center;
  padding: 0 20px;
  color: #212121;
}

.homepage-section__header .homepage-section__title {
  font-size: 18px;
  letter-spacing: 1px;
  margin: 0 0 20px 0;
}

.homepage-section__header .homepage-section__title::after {
  content: '';
  display: block;
  width: 50px;
  border-top: 3px solid #feff31;
  margin: 20px auto 0 auto;
}

/* New Riding Style Grid Design - using CSS Grid */
.riding-style-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 5px;
  margin: 40px auto;
  width: 85%;
  padding: 0;
  box-sizing: border-box;
}

.riding-style-grid::-webkit-scrollbar {
  display: none;
}

.riding-style-item {
  position: relative;
  overflow: hidden;
}

.riding-style-image {
  position: relative;
  width: 100%;
  height: 450px;
  overflow: hidden;
}

.riding-style-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.riding-style-item:hover .riding-style-image img {
  transform: scale(1.05);
}

.riding-style-label {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background-color: rgba(255, 255, 255, 0.9);
  color: #000;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 2px;
}

.riding-style-item a {
  text-decoration: none;
  color: inherit;
  display: block;
}

/* Responsive design for smaller screens */
@media screen and (max-width: 768px) {
  .riding-style-grid {
    flex-direction: column;
    gap: 10px;
    overflow-x: visible;
  }
  
  .riding-style-item {
    width: 100%;
    min-width: auto;
    overflow: visible;
  }
  
  .riding-style-image {
    height: 250px;
    overflow: visible;
  }
}

@media screen and (max-width: 480px) {
  .riding-style-image {
    height: 200px;
    overflow: visible;
  }
  
  .riding-style-label {
    bottom: 15px;
    left: 15px;
    padding: 6px 12px;
    font-size: 12px;
  }
}
/* ----- AGV Top End----- */



/* AGV Lanidng Page Design */

/* AGV Button Styles */
.agv_button {
  display: inline-block;
  background: linear-gradient(135deg, #feff31 0%, #f0f000 100%);
  color: #000000;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 1px;
  padding: 18px 32px;
  border: 2px solid #feff31;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(254, 255, 49, 0.3);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  font-family: "Fira Sans", sans-serif;
  min-width: 200px;
  text-align: center;
}

.agv_button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.5s;
}

.agv_button:hover {
  background: linear-gradient(135deg, #f0f000 0%, #feff31 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(254, 255, 49, 0.4);
  border-color: #f0f000;
}

.agv_button:hover::before {
  left: 100%;
}

.agv_button:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(254, 255, 49, 0.3);
}

.agv_button.agv_button_white {
  background: linear-gradient(135deg, #ffffff 0%, #f8f8f8 100%);
  color: #000000;
  border: 2px solid #000000;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.agv_button.agv_button_white:hover {
  background: linear-gradient(135deg, #f8f8f8 0%, #ffffff 100%);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.agv_button.agv_button_black {
  background: linear-gradient(135deg, #000000 0%, #333333 100%);
  color: #ffffff;
  border: 2px solid #000000;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.agv_button.agv_button_black:hover {
  background: linear-gradient(135deg, #333333 0%, #000000 100%);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.agv_button.agv_button_small {
  padding: 12px 24px;
  font-size: 14px;
  min-width: 150px;
}

.agv_button.agv_button_large {
  padding: 24px 40px;
  font-size: 18px;
  min-width: 250px;
}

/* Responsive Design for AGV Buttons */
@media screen and (max-width: 768px) {
  .agv_button {
    padding: 16px 28px;
    font-size: 14px;
    min-width: 180px;
  }
  
  .agv_button.agv_button_small {
    padding: 10px 20px;
    font-size: 12px;
    min-width: 120px;
  }
  
  .agv_button.agv_button_large {
    padding: 20px 32px;
    font-size: 16px;
    min-width: 200px;
  }
}

@media screen and (max-width: 480px) {
  .agv_button {
    padding: 14px 24px;
    font-size: 13px;
    min-width: 160px;
  }
  
  .agv_button.agv_button_small {
    padding: 8px 16px;
    font-size: 11px;
    min-width: 100px;
  }
  
  .agv_button.agv_button_large {
    padding: 18px 28px;
    font-size: 15px;
    min-width: 180px;
  }
}

/* Hero Content Styles */
.hero-content {
  text-transform: uppercase;
  padding-top: 50px;
  padding-left: 20px;
  padding-right: 20px;
  width: 100%;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%;
  overflow-x: hidden;
}

.hero-title {
  text-transform: none;
  font-weight: 700;
  margin-bottom: 29px;
  letter-spacing: -0.05em;
  font-size: 22px;
  text-align: center;
  margin-left: 0;
  margin-right: 0;
  padding-right: 87px;
  padding-left: 87px;
  line-height: 1.4;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.hero-subtitle {
  font-size: 18px;
  line-height: 1.4;
  margin-bottom: 20px;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.hero-button-container {
  text-align: center;
  margin: 30px 0;
  width: 100%;
  box-sizing: border-box;
}

.hero-button-container .d-button {
  max-width: 200px;
  margin: auto;
}

/* Section Divider Styles */
.section-divider.black-section {
  background-color: #303336;
  flex-direction: column;
  color: #FFF;
  min-height: 140px;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  padding: 2rem 2.5rem;
}

.section-title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.section-subtitle {
  font-size: 18px;
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* Square Image Styles */
.square-image {
  aspect-ratio: 1 / 1;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  height: auto;
  max-width: 100%;
}

/* Button Container Styles */
.button-container {
  text-align: center;
  margin-top: 20px;
  width: 100%;
  box-sizing: border-box;
}

.button-container .d-buttonw {
  max-width: 200px;
  margin: auto;
}

/* Video Section Styles */
.video-section {
  text-align: center;
  margin: 20px 0;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  padding: 0 20px;
}

.main-video {
  display: block;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* Responsive Design for Video Section */
@media screen and (max-width: 1024px) {
  .video-section {
    padding: 0 15px;
  }
  
  .main-video {
    max-width: 100%;
  }
}

@media screen and (max-width: 768px) {
  .video-section {
    padding: 0 10px;
    margin: 15px 0;
  }
  
  .main-video {
    aspect-ratio: 16 / 9;
    width: 100%;
    max-width: 100%;
  }
}

@media screen and (max-width: 480px) {
  .video-section {
    padding: 0 5px;
    margin: 10px 0;
  }
  
  .main-video {
    aspect-ratio: 16 / 9;
    width: 100%;
    max-width: 100%;
  }
}

/* Full Width Section Styles */
.full-width-section {
  width: 100vw;
  margin: 0;
  padding: 0;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  overflow: hidden;
}

.full-width-image {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
  object-fit: cover;
}

.final-button-container {
  text-align: center;
  margin: 30px 0;
  width: 100%;
  box-sizing: border-box;
}

.final-button-container .d-button {
  max-width: 200px;
  margin: auto;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
  .hero-title {
    font-size: 18px;
    padding-right: 20px;
    padding-left: 20px;
  }
  
  .hero-subtitle {
    font-size: 16px;
  }
  
  .section-title {
    font-size: 18px;
  }
  
  .section-subtitle {
    font-size: 16px;
  }
  
  .section-divider {
    height: 100px;
  }
}

@media screen and (max-width: 480px) {
  .hero-title {
    font-size: 16px;
    padding-right: 15px;
    padding-left: 15px;
  }
  
  .hero-subtitle {
    font-size: 14px;
  }
  
  .section-title {
    font-size: 16px;
  }
  
  .section-subtitle {
    font-size: 14px;
  }
  
  .section-divider {
    height: 80px;
  }
}

/* Hero Image Responsive Styles */
.d-header__img {
  position: relative;
  width: 100%;
  height: 320px;
  overflow: hidden;
}

.d-header__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-image-pc {
  display: none;
}

.hero-image-mobile {
  display: block;
}

/* Tablet and Desktop */
@media screen and (min-width: 769px) {
  .d-header__img {
    height: 450px;
  }
  
  .hero-image-pc {
    display: block;
  }
  
  .hero-image-mobile {
    display: none;
  }
}

/* Large Desktop */
@media screen and (min-width: 1025px) {
  .d-header__img {
    height: 670px;
  }
}

/* Mobile */
@media screen and (max-width: 768px) {
  .d-header__img {
    height: 320px;
  }
  
  .hero-image-pc {
    display: none;
  }
  
  .hero-image-mobile {
    display: block;
  }
}

/* PC閲覧時の2カラムレイアウト最適化 */
@media screen and (min-width: 1025px) {
  .splitContainer {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    min-height: 600px;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
  }

  .splitContainer.reverse {
    flex-direction: row-reverse;
  }

  .splitContainer .imageBlock {
    width: 50%;
    height: auto;
    min-height: 600px;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }

  .splitContainer .imageBlock img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .splitContainer .textBlock {
    width: 50%;
    display: flex;
    align-items: center;
    padding: 60px 40px;
    box-sizing: border-box;
  }

  .splitContainer .textBlockContents {
    width: 100%;
    max-width: 500px;
  }

  .splitContainer .textBlockContents .title {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
    color: #000;
  }

  .splitContainer .textBlockContents p {
    font-size: 18px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 15px;
  }

  .splitContainer .textBlockContents p:last-child {
    margin-bottom: 0;
  }
}

@media screen and (max-width: 960px) {
  .splitContainer {
    display: block;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
  }

  .splitContainer.bgBlack {
    height: auto;
    background-color: #000;
  }

  .splitContainer .imageBlock {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
  }

  .splitContainer .imageBlock img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .splitContainer .textBlock {
    padding: 36px 12px;
    width: 100%;
    box-sizing: border-box;
  }
}