.nav-bar-page {
  display: none;
}

.hero-wrapper {
  background-color: #fafafa;
  position: relative;
  display: none;
}

.hero-wrapper-sp {
  display: block;
  margin-top: 1rem;
}

/* hero */
.hero-image {
  position: relative;
  height: auto;
  display: block;
  max-width: 1330px;
  margin: auto;
}

.hero-title {
  position: absolute;
  left: 2rem;
  top: 5rem;
  z-index: 5;
}

.hero-title img {
  width: 5.2rem;
}

.hero-image .steams > * {
  padding: 0;
  position: static;
}

.steam1,
.steam2 {
  position: absolute;
  z-index: 4;
}

.steam1 {
  left: -1rem;
  bottom: 2rem;
}

.steam2 {
  right: -1rem;
  bottom: 3rem;
}

.steam1 img,
.steam2 img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-bg {
  width: 100%;
  height: auto;
}

.hero-bg img {
  border-radius: 4rem;
  width: 100%;
  height: 30rem;
  object-fit: cover;
  display: block;
}

/* thumbnail slider strip */
#root {
  overflow: hidden;
}

.carousel-inner {
  display: flex;
  gap: 0.5rem;
  z-index: 100;
  padding: 0.75rem 0;
  margin: 0 -0.5rem;
  overflow: visible;
}

.scroll-infinity__list--left {
  overflow: visible;
  flex-wrap: nowrap;
  will-change: transform;
  -webkit-animation: infinity-scroll-left 50s infinite linear 0.5s both;
  animation: infinity-scroll-left 50s infinite linear 0.5s both;
  scrollbar-width: none;
  -ms-overflow-style: none;
  z-index: 99;
}

.scroll-infinity__list--left::-webkit-scrollbar {
  display: none;
}

@-webkit-keyframes infinity-scroll-left {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes infinity-scroll-left {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.carousel-item {
  display: block;
  flex: 0 0 50%;
  margin: 0;
}

.carousel-item img {
  width: 100%;
  object-fit: cover;
  display: block;
  border: 0.25rem solid #fff;
  background: #d9d9d9;
  box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.2);
  object-fit : cover;
  aspect-ratio : 3 /2;
}

.carousel-indicators {
  display: none;
}

/* section */
.top-section {
  margin: 3rem auto;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
}

.section-intro {
  margin: auto;
}

.section-intro .row {
  justify-content: flex-start;
  align-items: center;
}

.section-text-box {
  margin: auto;
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.section-text {
  margin: auto;
  display: inline-block;
  font-size: 1.25rem;
  font-family: "Noto Sans JP";
}

.section-chef-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 999px;
  margin-bottom: .5rem;
}

.section-chef-name p {
  font-size: 0.75rem;
  text-align: right;
  line-height: 1.75;
}

.section-chef-image,
.section-chef-name {
  max-width: 50%;
  margin: auto;
}

.section-cards {
  margin: 1rem 0 2rem;
}

.section-cards .section-card {
  background: #fff;
  padding: 0.5rem;
  margin-bottom: 0.5rem;
  box-shadow: 4px 4px 16px rgba(0, 0, 0, 0.2);
  aspect-ratio : 3 /2 ;
  object-fit : cover;
}

.section-cards .section-card-text {
  margin: 0.5rem 0 1rem;
  text-align: center;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.65;
  color: #333;
}

.section-more-button {
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 1rem 0;
}

.section-more-button a {
  margin: 1rem 0;
  background: #fcee21;
  color: #9d4326;
  font-size: 1.25rem;
  font-weight: 700;
  padding: 0.5rem 2rem;
  border-radius: 1rem;
  position: relative;
  text-decoration: none;
  text-align: center;
  min-width: 240px;
}

.section-more-button a::after {
  content: "▶";
  position: absolute;
  right: 2.2rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.75rem;
}

.section-more-button a:hover {
  text-decoration: none;
  background: #f5e400;
  transform: translateY(-1px);
}

.hero-image-sp {
  position: relative;
}

.hero-image-sp .hero-bg img {
  height: auto;
  border-radius: 0;
}

@media (min-width: 768px) {
  .hero-wrapper {
    display: block;
  }

  .hero-wrapper-sp {
    display: none;
  }

  .hero-title {
    left: 1rem;
    top: 2.5rem;
  }

  .hero-title img {
    width: auto;
  }

  .carousel-item {
    flex: 0 0 31%;
    margin: 0.5rem;
  }

  .carousel-item img {
    border: 0.75rem solid #fff;
  }

  .section-title {
    font-size: 3rem;
  }

  .section-chef-image,
  .section-chef-name {
    max-width: none;
    margin: 0;
  }
}

@media (min-width: 992px) {
  #root > .container {
    padding-right: 15px;
    padding-left: 15px;
  }

  .hero-bg img {
    height: 47rem;
    margin-bottom: -5rem;
  }

  .hero-title {
    left: 5rem;
    top: 8.5rem;
  }

  .hero-title img {
    width: 10rem;
  }

  .steam1 {
    width: 22.5rem;
    left: -1rem;
    bottom: 9rem;
  }

  .steam2 {
    width: 20.5rem;
    bottom: 14rem;
  }

  .carousel-item img {
    flex: 0 0 33%;
    z-index: 10;
    height: 17rem;
  }

  .section-intro {
    padding: 0;
    width: 60%;
    margin: 0 auto;
  }

  .section-text {
    font-size: 1.25rem;
  }

  .section-text-box .section-text {
    max-width: 60%;
  }

  .section-chef-name p {
    font-size: 0.75rem;
  }

  .section-cards .section-card-image {
    height: 10rem;
  }

  .section-more-button {
    justify-content: right;
  }
}

/* pick up area */
#pickupNews.webgene-blog {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

#pickupNews.webgene-blog > * {
  width: calc((100% - 2rem) / 3);
}

.top-sp-logo {
  z-index : 99;
  top: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 50vw;
}