.page-tower-index .main-content {
  gap: 6.6rem;
}

.page-tower-index .more-link {
  display: block;
  text-align: right;
  margin-top: 6.4rem;
}

.page-tower-index .more-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: #fff;
  color: #4a545d;
  text-decoration: none;
  font-size: 1.4rem;
  font-weight: 500;
  text-align: center;
  width: 319px;
  height: 57px;
  padding: 19px 43px;
  border-radius: 3rem;
  box-shadow: 0 0 10px rgba(222, 228, 234, 0.8);
  transition: opacity 0.3s;
  position: relative;
}

.page-tower-index .more-btn:hover {
  opacity: 0.8;
}

.page-tower-index .more-btn::after {
  content: '→';
  background-color: #eb3b3b;
  color: #fff;
  width: 4.8rem;
  height: 4.8rem;
  min-width: 4.8rem;
  min-height: 4.8rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  position: absolute;
  right: 6.5px;
  top: 50%;
  transform: translateY(-50%);
  flex-shrink: 0;
}


/* =========================
   tower index 固有
========================= */
.page-tower-index .hero-section {
  background:
    linear-gradient(135deg, rgba(80, 70, 120, 0.85), rgba(140, 170, 220, 0.7)),
    url(../img/tower/hero-bg.png);
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 8rem 0 11.5rem;
  border-radius: 0 0 4rem 4rem;
}

.page-tower-index .hero-content {
  max-width: 112rem;
  margin: 0 auto;
  padding: 0;
}

.page-tower-index .hero-content h1 {
  font-size: 3.2rem;
  font-weight: 500;
  letter-spacing: 0;
  margin-bottom: 1.6rem;
  line-height: 1.2;
}

.page-tower-index .hero-content h2 {
  font-size: 2rem;
  font-weight: 500;
  margin-bottom: 1rem;
  line-height: 1.45;
}

.page-tower-index .hero-content p {
  font-size: 2rem;
  line-height: 1.45;
  margin-bottom: 0.6rem;
}

/* .heroTags: 使用箇所 */
/* - tower/index.html / ヒーローセクション（Tower専用） [tower/_components/HeroSection.html:8] */
.page-tower-index .hero-tags {
  display: flex;
  gap: 1rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

/* .heroTag: 使用箇所 */
/* - tower/index.html / ヒーローセクション（Tower専用） [tower/_components/HeroSection.html:9] */
/* - tower/index.html / ヒーローセクション（Tower専用） [tower/_components/HeroSection.html:10] */
/* - tower/index.html / ヒーローセクション（Tower専用） [tower/_components/HeroSection.html:11] */
/* - tower/index.html / ヒーローセクション（Tower専用） [tower/_components/HeroSection.html:12] */
.page-tower-index .hero-tag {
  background-color: rgba(255, 255, 255, 0.2);
  border: 1px solid #fff;
  padding: 0.8rem 1.6rem;
  border-radius: 2rem;
  font-size: 1.3rem;
}

/* tower news 固有 */
body.page-tower-news .news-hero {
  background:
    linear-gradient(135deg, rgba(80, 70, 120, 0.85), rgba(140, 170, 220, 0.7)),
    url(../img/tower/hero-bg.png);
}


@media all and (max-width: 768px) {

  .page-tower-index .more-link {
    margin-top: 3rem;
  }

  .page-tower-index .more-btn {
    width: 100%;
    min-width: 100%;
    min-height: 0;
    padding: 1.2rem 1.5rem 1.2rem 2.5rem;
  }

  .page-tower-index .more-btn::after {
    width: 4.8rem;
    height: 4.8rem;
    min-width: 4.8rem;
    min-height: 4.8rem;
    font-size: 2rem;
    right: 0.6rem;
  }

  .page-tower-index .hero-section {
    padding: 0 2.4rem 6rem;
  }

  .page-tower-index .hero-content {
    padding: 0;
  }

  .page-tower-index .hero-content h1 {
    font-size: 28.66px;
  }

  .page-tower-index .hero-content h2 {
    font-size: 16px;
  }

  .page-tower-index .hero-content p {
    font-size: 16px;
  }

  .page-tower-index .tech-btn-wrapper {
    width: 100%;
  }

}

/* ===== Hero Swiper ===== */
.page-tower-index .hero-slider {
  position: relative;
  background-color: #F7F7F7;
}

.page-tower-index .hero-swiper {
  border-radius: 0 0 4rem 4rem;
  overflow: hidden;
}

.page-tower-index .hero-swiper .swiper-pagination,
.page-tower-index .hero-swiper .swiper-button-prev,
.page-tower-index .hero-swiper .swiper-button-next {
  display: none;
}

.page-tower-index .hero-swiper .swiper-slide.hero-section {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* ===== Product Bar ===== */
.page-tower-index .product-bar {
  background-color: #fff;
  width: min(1207px, 88.85vw);
  max-width: 1207px;
  --barEdgeExpand: 0px;
  padding: 2.7rem 3.5rem;
  margin: -7.9rem auto 0;
  position: relative;
  z-index: 2;
  border-radius: 40px 40px 0 0;
}

.page-tower-index .product-bar::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(var(--barEdgeExpand) * -1);
  right: calc(var(--barEdgeExpand) * -1);
  background: #fff;
  border-radius: 40px 40px 0 0;
  z-index: -1;
  pointer-events: none;
}

.page-tower-index .product-bar__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 3.7rem;
  height: 3.7rem;
  border-radius: 50%;
  background: rgba(139, 149, 158, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  cursor: pointer;
}

.page-tower-index .product-bar__arrow::before {
  content: '';
  display: block;
  width: 1.15rem;
  height: 1.15rem;
  border-top: 0.28rem solid #fff;
  border-right: 0.28rem solid #fff;
}

.page-tower-index .product-bar__arrow:hover {
  opacity: 0.8;
}

.page-tower-index .product-bar__arrow--prev {
  left: calc(-2rem - var(--barEdgeExpand));
}

.page-tower-index .product-bar__arrow--prev::before {
  transform: rotate(-135deg);
  margin-left: 0.35rem;
}

.page-tower-index .product-bar__arrow--next {
  right: calc(-1.7rem - var(--barEdgeExpand));
}

.page-tower-index .product-bar__arrow--next::before {
  transform: rotate(45deg);
  margin-right: 0.35rem;
}

@media all and (min-width: 769px) {
  .page-tower-index .product-bar__arrow {
    display: none;
  }
}

.page-tower-index .product-icon.js-hero-thumb {
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
  border-radius: 1.2rem;
  box-shadow: 0 0 8px 0 rgba(3, 119, 180, 0.25);
  padding: 0 0.2rem 0 0;
  position: relative;
}

.page-tower-index .product-icon.js-hero-thumb:hover {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
}

.page-tower-index .product-icon.is-active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 0.65rem;
  background: #e73b3b;
  border-radius: 0 0 1.2rem 1.2rem;
}

.page-tower-index .product-icon p {
  left: 0;
  top: 0;
  text-align: center;
  padding: 0.2rem 1.8rem;
  margin-top: 1rem;
  line-height: 1.2;
  width: 100%;
}

.page-tower-index .product-icons {
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.page-tower-index .product-icon {
  display: flex;
  align-items: center;
  background: #fff;
  text-decoration: none;
  color: #4a545d;
  font-weight: 500;
  font-size: 1.4rem;
  line-height: 1.4;
}

.page-tower-index .product-icon img {
  width: 129px;
  height: 102px;
  border-radius: 12px 0 0 12px;
  padding: 0.9rem 0.4rem 0.9rem 0.8rem;
  object-fit: contain;
}

@media all and (min-width: 769px) {
  .page-tower-index .hero-section {
    padding-bottom: 135px;
  }
}

@media all and (min-width: 769px) and (max-width: 1121px) {

  .page-tower-index .hero-slider,
  .page-tower-index .hero-section,
  .page-tower-index .product-bar {
    width: 1121px;
    min-width: 1121px;
  }

  .page-tower-index .product-bar {
    left: 0;
  }
}

@media all and (max-width: 768px) {
  .page-tower-index .product-icons {
    flex-direction: column;
    align-items: stretch;
  }

  /* SP: Only show the active product icon */
  .page-tower-index .product-icon.js-hero-thumb {
    display: none;
  }

  .page-tower-index .product-icon.js-hero-thumb.is-active {
    display: flex;
  }

  .page-tower-index .product-bar {
    width: calc(100% - 4.8rem);
    max-width: unset;
    margin-top: -4rem;
    padding: 2rem 4rem;
    border-radius: 20px 20px 0 0;
  }

  .page-tower-index .product-bar::before {
    border-radius: 20px 20px 0 0;
  }

  /* SP: Arrows inside the bar */
  .page-tower-index .product-bar__arrow--prev {
    left: -1.6rem;
  }

  .page-tower-index .product-bar__arrow--next {
    right: -1.6rem;
  }

  .product-icon.is-active p br {
    display: block;
  }

  .product-icon:first-child p {
    font-size: 1.2rem;
  }

  .page-tower-index .product-icon img {
    width: 100px;
  }

  .page-tower-index .product-icon p {
    padding: 1.1rem;
    margin-top: 0.5rem;
    text-align: start;
  }
}


/* override site-all */
#gHeader.is-tank .logo,
#gHeader.is-tower .logo {
  margin-left: 5.8px;
}

#gHeader.is-tank .h-brand-title,
#gHeader.is-tower .h-brand-title {
  margin-right: 0;
}

#gHeader.is-tank .h-tank-left,
#gHeader.is-tower .h-tower-left {
  gap: 0;
}