:root {
  --white: #FFFFFF;
  --black: #181818;
  --gray: #B5B5B5;
  --dark-gray: #4A4A4A;
  --light-gray: #E4E2DC;

  --red: #AF0909;
  --logo-red: #983136;
  --dark-red: #7B0000;
  --bright-red: #D51D1D;

  --light-purple: #E9E5EB;
  --dark-purple: #2A232C;

  --card-shadow: 4px 8px 20px 0px rgba(0 0 0 / 16%);
  --bg-paper: url("/system_panel/uploads/images/bg-paper.png");

  --font-display: "Holtwood One SC";
}

*,
*::before,
*::after {
  min-width: 0px;
  min-height: 0px;
}

#root {
  max-width: 1920px;
  margin: 0 auto;
  overflow: hidden;
}

.elevation {
  box-shadow: var(--card-shadow);
}

body {
  font-family: "Zen Old Mincho", serif;
  color: var(--black);
  background-color: var(--white);
  background-image: var(--bg-paper);
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
}

img,
iframe {
  max-width: 100%;
}

iframe {
  border: none;
  box-shadow: none;
  max-width: 100%;
}

a,
a:hover {
  color: var(--black);
}

.visually-hidden {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
  margin: -1px;
}

.button {
  position: relative;
  appearance: none;
  cursor: pointer;
  box-shadow: none;
  border: none;
  background-color: var(--red);
  color: var(--white);
  padding: 0.75rem 1.75rem;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.25;
  display: inline-flex;
  align-items: center;
  gap: 1.25rem;
  transition: transform 200ms ease;
}

.button:hover {
  color: var(--white);
  transform: scale(0.98);
  text-decoration: none;
}

.button:active {
  transform: scale(0.95);
}

.button--gray {
  background-color: var(--dark-gray);
}

.button--small {
  padding: 0.75rem 3rem;
  font-size: 1rem;
}

.webgene-pagination ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 1rem;
  padding: 0;
  margin: 0;
}

.webgene-pagination ul li a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
}

.webgene-pagination ul li a,
.webgene-pagination ul li a:hover {
  background-color: var(--black);
  color: var(--white);
}

.webgene-pagination ul li.selected a,
.webgene-pagination ul li.selected a:hover {
  background-color: var(--light-gray);
  color: var(--black);
}

.item-image {
  padding-top: 66.6%;
  position: relative;
}

.item-image:empty::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("/system_panel/uploads/images/ogp.png");
  background-size: cover;
  background-position: center;
}

.item-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.swiper-thumbs {
  margin-top: 1.25rem;
  overflow: visible;
}

.swiper-main .swiper-slide img,
.swiper-thumbs .swiper-slide img {
  aspect-ratio: 1 / 0.5625;
  object-fit: contain;
  background-color: var(--off-white);
}

.item-content p {
  margin: 0.75rem 0;
}

.item-content h1,
.item-content h2,
.item-content h3,
.item-content h4,
.item-content h5,
.item-content h6 {
  margin: 1em 0 0.5em;
  font-weight: 700;
}

.item-content>*:first-child {
  margin-top: 0;
}

.item-content h1 {
  font-size: 2rem;
  line-height: 1.5;
}

.item-content h2 {
  font-size: 1.5rem;
  line-height: 1.5;
  margin-top: 2em;
}

.item-content h3 {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
  margin-top: 1rem;
}

.category-list .webgene-blog {
  margin-top: -0.5rem;
}

.category-list .webgene-item {
  border-bottom: 1px solid var(--dark-gray);
}

.category-list .webgene-item a {
  display: block;
  padding: 0.5rem 1.25rem 0.5rem;
  line-height: 1.5;
  font-weight: 700;
}

.blog-list .webgene-blog,
.product-list .webgene-blog {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 2.5rem;
}

@media screen and (min-width: 1200px) {

  .blog-list .webgene-blog,
  .product-list .webgene-blog {
      grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .blog-list .webgene-pagination,
  .product-list .webgene-pagination {
      grid-column: span 2 / span 2;
  }
}

.access-map {
  position: relative;
  padding-top: 45%;
}

.access-map iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.swiper:not(.swiper-initialized) .swiper-wrapper {
  overflow-x: auto;
  display: flex;
}

.swiper:not(.swiper-initialized) .swiper-slide {
  min-width: 100%;
}

.swiper .swiper-button-prev::after,
.swiper .swiper-button-next::after {
  content: none;
}

.swiper .swiper-button-prev,
.swiper .swiper-button-next {
  position: relative;
  width: 1.5rem;
  height: 1.5rem;
  top: auto;
  left: auto;
  right: auto;
  bottom: auto;
  margin: 0;
}

.swiper-slide img {
  width: 100%;
}

.swiper-pagination.swiper-pagination-horizontal {
  position: relative;
  left: auto;
  right: auto;
  top: auto;
  bottom: auto;
  width: auto;
}

.swiper-pagination-bullet.swiper-pagination-bullet-active {
  background-color: var(--black);
}

.page-list {
  list-style: disc;
  padding-left: 1.5rem;
}

.page-list>p {
  display: list-item;
}

.collapsible-trigger {
  cursor: pointer;
}


.footer-links__link::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background-color: rgba(0 0 0 / 50%);
  transition: background 200ms ease;
}

.footer-links__link:hover {
  text-decoration: none;
}

.footer-links__link:hover::before {
  background-color: rgba(0 0 0 / 25%);
}

.gallery img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.concept-card .swiper-slide {
  padding-top: 50%;
}

.concept-card .swiper-slide img {
  top: 0;
  left: 0;
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-swiper-includes {
  overflow: hidden;
}

.home-swiper-includes .swiper {
  overflow: visible;
}

.home-swiper-includes .swiper-button-prev,
.home-swiper-includes .swiper-button-next {
  width: 3.75rem;
  height: 3.75rem;
}

.home-motorcycles,
.home-blog {
  position: relative;
}

.home-motorcycles::before,
.home-blog::before {
  content: "";
  position: absolute;
  bottom: 2.5rem;
  left: 0.625rem;
  width: calc(100% - 0.625rem);
  height: 51%;
  pointer-events: none;
}

.home-motorcycles::before {
  background-color: var(--dark-gray);
}

.home-blog::before {
  background-color: var(--light-gray);
}

.home-concept__shadow {
  position: absolute;
  bottom: 0;
  left: -1.25rem;
  width: calc(100% + 3.75rem);
  max-width: 1200px;
  pointer-events: none;
}

.home-concept__shadow img {
  width: 100%;
}

@media screen and (min-width: 1024px) {

  .home-motorcycles .webgene-blog,
  .home-blog .webgene-blog {
      padding-left: 3.75rem;
  }

  .home-motorcycles::before,
  .home-blog::before {
      left: 3.75rem;
      width: calc(100% - 3.75rem);
      height: 56%;
  }

  .home-concept__shadow {
      bottom: -4.25rem;
  }
}

.MV__ttl0826 {
  color: var(--white);
  text-align: right;
  text-shadow: 0px 0px 20px rgba(0, 0, 0, 1.0);
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  right: 6%;
}

.MV__ttl0826::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  filter: blur(12px);  /* 背景をぼかす */
  border-radius: 8px;
  z-index: -1;         /* テキストの後ろに */
}


.MV-container0826 {
  align-items: center;
}
.top_MV_0827{
  margin-top: 93px;
  position: relative;
}

.top-new-zaiko-wrapper::before{
  background-color:var(--black);
}

.top-new-zaiko-wrapper .gap-12{
  color: var(--white);
}

.home-blog-before::before{
 content: none;
}


@media screen and (min-width: 1024px) {
  .top_MV_0827{
      margin-top: 117px;
  }
  

  .MV__ttl0826 {
      color: var(--white);
      right: 3%;
  }

  .MV-container0826 {
      align-items: center;
  }
}
