/* tower-index.css - クーリングタワーナビゲーター™ Index Page Styles */
/* keep default overflow so sticky sidebar follows viewport scroll */


/* ヒーローセクション */
.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;
  border-radius: 0 0 4rem 4rem;
}

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

.hero-content h1 {
  font-size: 4.8rem;
  font-weight: 300;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-content h2 {
  font-size: 3.2rem;
  font-weight: 500;
  margin-bottom: 3rem;
}

.hero-content p {
  font-size: 1.8rem;
  line-height: 2;
  margin-bottom: 1rem;
}

.hero-tags {
  display: flex;
  gap: 1rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.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;
}

/* メインコンテンツ */
.main-content {
  max-width: 120rem;
  margin: 4.4rem auto 0;
  padding: 0 3rem 0 4rem;
  display: flex;
  gap: 2.8rem;
}

@media all and (min-width: 897px) {


  .product-detail-main__sidebar {
    min-width: 28.5rem;
  }

  .sidebar-box,
  .sidebar-box {
    min-width: 23.9rem;
  }

  .page-tower-index #main .main-content .sidebar-box.is-following,
  .page-tower-index #main .main-content .sidebar-box.is-following {
    position: fixed !important;
    top: 14rem !important;
    z-index: 20 !important;
  }

  .page-tower-index #main .main-content .sidebar-box.is-stopped,
  .page-tower-index #main .main-content .sidebar-box.is-stopped {
    position: absolute !important;
    z-index: 1 !important;
  }

}

/* コンテンツエリア */
.content-area {
  flex: 1;
  min-width: 0;
}

.product-background {
  background: #f7f7f7;
  height: 6rem;
  border-radius: 4rem 4rem 0 0;
  margin-bottom: -2rem;
}

.section {
  padding: 0;
  box-shadow: unset;
  margin-bottom: 4rem;
}

.section--products {
  margin-top: 5.8rem;
}

.section h2 {
  font-size: 4.8rem;
  font-weight: 300;
  color: #4a545d;
  margin-bottom: 0;
  line-height: 1.2;
}

.section h3 {
  font-size: 2.2rem;
  color: #666;
  margin-bottom: 0;
  font-weight: 500;
  margin-top: 0.6rem;
  margin-left: 0.3rem;
}

.product-description {
  font-size: 1.4rem;
  line-height: 1.8;
  color: #666;
  margin-bottom: 2rem;
}

.product-buttons {
  display: flex;
  gap: 1rem;
  margin-top: auto;
}

.product-btn {
  flex: 1;
  padding: 0.8rem 0.7rem;
  text-align: center;
  border-radius: 0.4rem;
  font-size: 1.3rem;
  text-decoration: none;
  transition: opacity 0.3s;
  font-weight: 500;
}

.product-btn:hover {
  opacity: 0.8;
}

.product-buttons.single-btn .product-btn {
  flex: 0 0 calc(50% - 0.5rem);
  white-space: nowrap;
}

.btn-primary {
  background-color: #6b8e9e;
  color: #fff;
}

.btn-secondary {
  background-color: #a8b5ba;
  color: #fff;
}

/* Technical Informationセクション */
/* Styles for Technical Information have been moved to tower-technical-info.css */

/* Historyセクション */
.history-feature {
  position: relative;
  min-height: 770px;
}

.history-intro {
  margin-top: 3.5rem;
  font-size: 1.6rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  color: #666;
  position: relative;
  z-index: 1;
}

.history-video {
  position: relative;
  z-index: 1;
}

.timeline {
  position: relative;
  padding-left: 4rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 1.5rem;
  top: 0;
  bottom: 0;
  width: 0.2rem;
  background-color: #ddd;
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
  padding-left: 4rem;
}

.timeline-year {
  position: absolute;
  left: -2.5rem;
  top: 0;
  background-color: #7b7ec8;
  color: #fff;
  padding: 0.8rem 1.6rem;
  border-radius: 2rem;
  font-size: 1.3rem;
  font-weight: 500;
}

.timeline-content {
  background-color: #f9f9f9;
  padding: 2rem;
  border-radius: 0.6rem;
  font-size: 1.4rem;
  line-height: 1.8;
}

/* レスポンシブ */
@media all and (max-width: 896px) {
  .page-tower-index .breadcrumb {
    padding: 1.5rem 0;
  }

  .hero-section {
    padding: 6rem 2.4rem;
  }

  .hero-content {
    padding: 0;
  }

  .hero-content h1 {
    font-size: 3rem;
  }

  .hero-content h2 {
    font-size: 2.4rem;
  }

  .hero-content p {
    font-size: 1.6rem;
  }

  .main-content {
    flex-direction: column;
    padding: 4rem 2rem;
  }

  .section {
    padding: 3rem 2rem;
  }

  .page-tower-index .content-area>.section[data-news-filter="simple"] {
    margin-bottom: 2.4rem;
  }

  .section h2 {
    font-size: 4.8rem;
  }

  .section h3 {
    font-size: 2.2rem;
  }

  .filter-tag {
    font-size: 1.1rem;
  }

  .tech-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .tech-card {
    padding: 3rem 2rem;
    min-height: auto;
  }

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

  .timeline {
    padding-left: 3rem;
  }

  .timeline-item {
    padding-left: 2rem;
  }
}

/* Useful Info Section Styles - Moved from tower-product-detail.css */

/* === Banner === */
.useful-info__banner {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  background: linear-gradient(90deg,
      #4a3d6a 0.5%,
      rgba(58, 90, 205, 0.62) 45.03%,
      rgba(112, 158, 239, 0.34) 69.47%,
      rgba(97, 169, 246, 0) 99.92%);
  border-radius: 2rem 0 0 2rem;
  overflow: hidden;
  margin-bottom: 2rem;
  width: 100%;
  position: relative;
  max-width: none;
  /* Ensure full width */
}

/* Index page specific adjustment for full width */
.page-tower-index .useful-info__banner {
  border-radius: 0.8rem;
  /* Matches other index sections */
  margin-right: -4rem;
  /* Extend to right edge of section padding */
  width: calc(100% + 4rem);
  /* Compensate for margin right */
  padding-right: 4rem;
  /* Add padding back to keep content aligned if needed, or adjust inner padding */
}

/* Wait, on index page, .section has padding: 5rem.
   We want the banner inside .section to extend to right edge?
   The user said "右方向は元ページでは橋まで表示されています".
   On product detail page, .useful-info__banner has margin-right: -4rem (if inside a padded container?).
   Let's look at product detail page again.
   .useful-info has padding-left: 4rem.
   .useful-info__banner has margin-right: min(-4rem, ...) on PC.
   
   On Index page, .section has padding 5rem.
   So content is 5rem from right edge.
   To extend to right edge, we need margin-right: -5rem.
   And width should be calc(100% + 5rem).
*/

.page-tower-index .useful-info__banner {
  border-radius: 2rem 0 0 2rem;
  /* Keep left radius, remove right radius or keep it? Original design has right radius 0 for banner extending to edge? No, banner usually has rounded corners. */
  /* Looking at product page css: border-radius: 2rem 0 0 2rem; */
  margin-right: -5rem;
  width: calc(100% + 5rem);
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.useful-info__banner-content {
  flex: 1;
  padding: 2.7rem 2.5rem 2.4rem 2.3rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 3.1rem;
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1.5;
}

.page-tower-index .useful-info__banner:not(.useful-info__banner--cards) .useful-info__banner-content {
  position: relative;
  z-index: 1;
}

.useful-info__banner-text {
  font-size: 1.6rem;
  line-height: 1.5;
  color: #fff;
  font-weight: 400;
  white-space: nowrap;
}

.useful-info__banner-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 7rem;
  padding: 1rem 5.8rem 1rem 6.4rem;
  font-size: 1.4rem;
  font-weight: 500;
  color: #4a545d;
  background: #fff;
  border-radius: 0.6rem;
  text-decoration: none;
  width: fit-content;
  min-width: 20rem;
  transition: background 0.3s ease;
}

.useful-info__banner-link:hover {
  background: #f5f5f5;
}

.useful-info__banner-arrow {
  display: block;
  width: 2.3rem;
  height: 2.3rem;
  background: #eb3b3b url("../../img/tower/icon_feather_arrow_right.webp") no-repeat center;
  background-size: 1rem 1rem;
  border-radius: 50%;
  position: absolute;
  right: 0.5rem;
  bottom: 0.6rem;
}

.useful-info__banner-image {
  flex: 0 0 45%;
  overflow: hidden;
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: -1;
}

.useful-info__banner-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
  display: block;
}

.page-tower-index .useful-info__banner:not(.useful-info__banner--cards) .useful-info__banner-image {
  z-index: 0;
}


/* === Banner Cards Variant === */
.useful-info__banner--cards {
  padding: 0 2.5rem;
  margin-right: -4rem;
  /* Extend to right edge */
  flex-wrap: wrap;
  z-index: 1;
}

.page-tower-index .useful-info__banner--cards {
  margin-right: -5rem;
  padding-right: 2.5rem;
  /* Maintain internal padding */
  width: calc(100% + 5rem);
  border-radius: 2rem 0 0 2rem;
}

.useful-info__banner.useful-info__banner--cards::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg,
      #4a3d6a 0%,
      rgba(58, 90, 205, 0.62) 45%,
      rgba(112, 158, 239, 0.34) 69%,
      rgba(97, 169, 246, 0) 100%);
}

.useful-info__banner.useful-info__banner--cards::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(359deg,
      #4a3d6a -19.38%,
      rgba(58, 90, 205, 0.62) 33.7%,
      rgba(112, 158, 239, 0.34) 62.83%,
      rgba(97, 169, 246, 0) 99.12%);
}

.useful-info__banner--cards .useful-info__banner-content {
  padding: 2.7rem 0 2.4rem 0;
  gap: 2rem;
  width: 100%;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
}

.useful-info__item {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  width: 220px;
}

.useful-info__banner--cards .useful-info__banner-link {
  width: 294px;
  height: 70px;
  padding: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  min-width: auto;
}

/* Inner content */
.useful-info__link-title {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #4a545d;
  line-height: 1.4;
}

.useful-info__link-desc {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: #fff;
  line-height: 1.5;
  margin: 0;
}

/* PC Media Query */
@media screen and (min-width: 769px) {
  .useful-info__banner {
    margin-right: max(min(-4rem, calc(56rem - 50vw)), calc(50% - 87.5rem));
    width: auto;
  }

  /* Index page specific adjustment: Break out of the container to the right edge */
  .page-tower-index .useful-info__banner {
    /* Use (50% - 50vw) to reliably reach the right viewport edge from a centered container */
    margin-right: max(min(-4rem, calc(56rem - 50vw)), calc(50% - 87.5rem));
    width: auto;
    border-radius: 2rem 0 0 2rem;
    margin-top: 3.2rem;
    /* max-width: 83.3rem; */
  }

  .page-tower-index .useful-info__banner--cards {
    margin-right: max(min(-4rem, calc(56rem - 50vw)), calc(50% - 87.5rem));
    width: auto;
    border-radius: 2rem 0 0 2rem;
    margin-top: 2rem;
    /* max-width: 83.3rem; */
  }

  .useful-info__banner--cards .useful-info__banner-content {
    display: grid;
    grid-template-columns: repeat(3, 220px);
    justify-content: start;
    gap: 2rem;
  }

  .useful-info__banner--cards .useful-info__banner-text {
    grid-column: 1 / -1;
    width: 100%;
  }

  .useful-info__banner:not(.useful-info__banner--cards) .useful-info__banner-link,
  .useful-info__banner--cards .useful-info__banner-link {
    width: 220px;
    height: 70px;
    min-width: auto;
    min-height: auto;
    padding: 0;
    display: flex;
  }
}

.useful-info__banner--cards .useful-info__banner-arrow {
  position: absolute;
  right: 0.5rem;
  bottom: 0.6rem;
  top: auto;
  transform: none;
}

/* SP Media Query */
@media screen and (max-width: 768px) {

  /* First Banner (Technical Info) */
  .useful-info__banner:not(.useful-info__banner--cards),
  .page-tower-index .useful-info__banner:not(.useful-info__banner--cards) {
    width: 93.33vw;
    height: 228px;
    border-radius: 20px 0 0 20px;
    margin-left: auto;
    margin-right: -2rem;
    /* Right aligned */
    margin-bottom: 2rem;
    flex-direction: column;
  }

  .useful-info__banner:not(.useful-info__banner--cards) .useful-info__banner-content,
  .useful-info__banner--cards .useful-info__banner-content {
    position: relative;
    z-index: 1;
    padding: 5.13vw;
    /* Consistent padding for BOTH to align left correctly */
    width: 100%;
  }

  .useful-info__banner:not(.useful-info__banner--cards) .useful-info__banner-text {
    font-family: "Noto Sans JP", sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    /* 150% */
    color: #fff;
    width: 74.1vw;
    max-width: 289px;
    white-space: normal;
    margin-left: 0;
    /* Align left */
  }

  .useful-info__banner:not(.useful-info__banner--cards) .useful-info__banner-link,
  .useful-info__banner--cards .useful-info__banner-link {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
    height: 70px;
    background: #fff;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.3s ease;
    padding: 0;
    min-height: auto;
    min-width: auto;
    box-shadow: none;
    text-align: center;
    margin-left: 0;
    /* Align left */
  }

  .useful-info__banner:not(.useful-info__banner--cards) .useful-info__banner-link span:first-of-type {
    color: #4a545d;
    text-align: center;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 53px;
    leading-trim: both;
    text-edge: cap;
  }

  /* Second Banner (Cards) */
  .useful-info__banner--cards,
  .page-tower-index .useful-info__banner--cards {
    width: 93.33vw;
    height: 492px;
    border-radius: 20px 0 0 20px;
    margin-left: auto;
    margin-right: -2rem;
    /* Right aligned */
    margin-bottom: 2rem;
    flex-direction: column;
    padding-bottom: 0;
  }

  .useful-info__banner--cards .useful-info__banner-text {
    font-family: "Noto Sans JP", sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    /* 150% */
    color: #fff;
    white-space: normal;
    margin-left: 0;
    /* Align left */
  }

  .useful-info__banner:not(.useful-info__banner--cards) .useful-info__banner-image,
  .useful-info__banner--cards .useful-info__banner-image {
    right: 0;
    bottom: 0;
    position: absolute;
    flex: none;
    max-width: none;
  }

  .useful-info__banner--cards .useful-info__banner-content {
    flex-direction: column;
  }

  .useful-info__item {
    width: 100%;
    align-items: flex-start;
    /* Consistent left alignment */
  }

  .useful-info__item .useful-info__banner-arrow {
    position: absolute;
    right: 0.5rem;
    bottom: 0.6rem;
    top: auto;
    transform: none;
  }

  .useful-info__banner--cards .useful-info__banner-image {
    width: auto;
    height: auto;
    z-index: 0;
  }

  .useful-info__banner--cards .useful-info__banner-image img {
    width: auto;
    height: auto;
    max-height: 200px;
    object-fit: contain;
    object-position: right bottom;
  }
}



@media all and (min-width: 769px) and (max-width: 1170px) {
  .page-tower-index {
    overflow-x: auto;
  }

  .useful-info__banner:not(.useful-info__banner--cards) .useful-info__banner-link,
  .useful-info__banner--cards .useful-info__banner-link {
    width: 200px
  }

  .useful-info__banner--cards .useful-info__banner-content {
    grid-template-columns: repeat(3, 200px);
    gap: 2rem 1.5rem;
  }

  .useful-info__banner-image {
    left: 11%;
  }
}

@media all and (min-width: 1121px) {
  .page-tower-index {
    overflow-x: hidden;
  }
}

.page-tower-index .hero-breadcrumb {
  color: #fff;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.6rem;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  margin-top: 3.6rem;
  margin-bottom: 8rem;
}

.page-tower-index .hero-breadcrumb-item+.hero-breadcrumb-item::before {
  content: '';
  display: block;
  flex: 0 0 auto;
  width: 0.45em;
  height: 0.45em;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
  margin: 0 0.4em;
}

.page-tower-index .hero-breadcrumb-item {
  display: flex;
  align-items: center;
  white-space: nowrap;
}

.page-tower-index .hero-breadcrumb-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
  row-gap: 1rem;
}

.page-tower-index .hero-content h2 {
  margin-top: 13rem;
  position: relative;
  color: #222e37;
  padding: 0.7rem 0;
}

.page-tower-index .hero-content h2::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -50vw;
  width: 100vw;
  background: linear-gradient(90deg, #fff 63.6%, rgba(255, 255, 255, 0) 98.3%);
  border-radius: 0.2rem;
  width: 75%;
}

.page-tower-index .hero-title-label {
  position: relative;
  top: -2px;
  left: -5px;
  z-index: 1;
  color: #4a545d;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 4rem;
  font-style: normal;
  font-weight: 500;
  line-height: 5.6rem;
}

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

.page-tower-index .hero-content p.hero-priority-copy {
  color: #fff;
  font-family: 'Zen Old Mincho', serif;
  font-size: 4rem;
  font-style: normal;
  font-weight: 500;
  line-height: 5.6rem;
  margin-top: 2.7rem;
  margin-bottom: 0;
}

.news-list {
  box-shadow: unset;
  margin-top: 2.1rem;
}

.page-tower-index .news-head {
  display: flex;
  justify-content: space-between;
}

.page-tower-index .news-head h3 {
  margin-top: 0.2rem;
  margin-left: 0.5rem;
  width: 150px;
  flex-shrink: 0;
  margin-bottom: 0;
}

.page-tower-index .section:has(.news-list) .news-filters {
  margin-top: 0.9rem;
  flex: 1;
  justify-content: flex-end;
}

.news-filters {
  margin-bottom: 0;
  margin-top: 2.5rem;
}

.filter-tag {
  padding: 0.05rem 1.4rem;
  border: 1px solid #ddd;
  border-radius: 2rem;
  font-size: 1.3rem;
  background-color: #fff;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 1.1rem;
  white-space: nowrap;
}

.news-link {
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  gap: 0;
}

.news-title::after {
  content: "";
  display: block;
  width: 2rem;
  height: 1rem;
  background-image: url(../../tank/img/icon-arrow-right.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  align-self: flex-start;
}

.news-title {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.6rem;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #4A3D6A 0%, rgba(58, 90, 205, 0.62) 43%, rgba(112, 158, 239, 0.34) 74%, rgba(97, 169, 246, 0) 100%);
  z-index: -1;
  pointer-events: none;
}

.page-tower-index .hero-section {
  background: url(../../tower/images/index/hero-slider1.webp);
}

.page-tower-index .hero-section--2 {
  background: url(../../tower/images/index/hero-slider2.webp);
}

.page-tower-index .hero-section--3 {
  background: url(../../tower/images/index/hero-slider3.webp);
}

.product-icon {
  gap: 0;
  border: none;
}

.product-detail-main__sidebar {
  padding: 5.9rem 5.6rem 0 0;
  margin-top: 1.7rem;
}

.news-date {
  display: inline-block;
  color: #4A545D;
  font-size: 1.6rem;
  font-weight: 500;
  margin-right: 1.5rem;
  font-family: "Montserrat", sans-serif;
}

.news-category {
  display: inline-block;
  background-color: #4a545d;
  color: #fff;
  padding: 0.1rem 1.5rem;
  border-radius: 6rem;
  font-size: 1.1rem;
  margin-right: 1.5rem;
  white-space: nowrap;
}

.news-meta {
  gap: 0.4rem;
}

.news-item {
  padding: 1.2rem 0;
}

.products-grid {
  margin-top: 2.3rem;
  gap: 4.3rem 2rem;
  margin-bottom: -1rem;
}

.product-info {
  padding: 0 0.3rem;
}

.product-title {
  margin-top: 1.5rem;
  margin-bottom: 0;
}

.product-description {
  margin-top: 0.5rem;
  margin-left: 0.5rem;
  margin-bottom: 0.6rem;
  min-height: 7.6rem;
}

.product-card:hover {
  box-shadow: unset;
}

.section--info {
  margin-top: 9.4rem;
}

.section--history {
  margin-top: 9.9rem;
  margin-bottom: 8.4rem;
}

.history-card {
  position: absolute;
  border-radius: 70px;
  opacity: 0.6;
  background: url(../../img/common/background-history.webp) no-repeat center bottom / cover #F7F7F7;
  z-index: 0;
  mix-blend-mode: multiply;
  width: 915px;
  height: calc(100% + 126px);
  top: -126px;
  left: calc(50% - 40px);
}

.quote-form__submit {
  padding: 0.7rem 6.9rem;
  letter-spacing: 0.8em;
}

.page-tower-index .hero-content {
  width: calc(100% - 7rem);
}

/* SP Media Query */
@media screen and (max-width: 768px) {

  /* ===== Section Info SP ===== */
  .page-tower-index #main .content-area .section.section--info {
    margin-top: 6rem;
  }

  /* First Banner (Technical Info) */
  .useful-info__banner:not(.useful-info__banner--cards),
  .page-tower-index .useful-info__banner:not(.useful-info__banner--cards) {
    width: 93.33vw;
    height: 228px;
    border-radius: 20px 0 0 20px;
    margin-left: auto;
    margin-right: -2rem;
    margin-bottom: 20px;
    flex-direction: column;
    margin-top: 3rem;
  }

  .useful-info__banner:not(.useful-info__banner--cards) .useful-info__banner-content,
  .useful-info__banner--cards .useful-info__banner-content {
    position: relative;
    z-index: 1;
    padding: 2.7rem 2.5rem 2.4rem 2.3rem;
    width: 100%;
  }

  .useful-info__banner:not(.useful-info__banner--cards) .useful-info__banner-text,
  .useful-info__banner--cards .useful-info__banner-text {
    font-size: 16px;
    line-height: 24px;
    color: #fff;
    white-space: normal;
    margin-left: 4px;
  }

  .useful-info__banner:not(.useful-info__banner--cards) .useful-info__banner-link,
  .useful-info__banner--cards .useful-info__banner-link {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
    height: 70px;
    background: #fff;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.3s ease;
    padding: 0;
    min-height: auto;
    min-width: auto;
    box-shadow: none;
    text-align: center;
    margin-left: 0;
  }

  .useful-info__banner:not(.useful-info__banner--cards) .useful-info__banner-link span:first-of-type {
    color: #4a545d;
    text-align: center;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 53px;
  }

  /* Second Banner (Cards) */
  .useful-info__banner--cards,
  .page-tower-index .useful-info__banner--cards {
    width: 93.33vw;
    height: 548.3px;
    border-radius: 20px 0 0 20px;
    margin-left: auto;
    margin-right: -2rem;
    margin-bottom: 20px;
    flex-direction: column;
    padding-bottom: 0;
  }

  .useful-info__banner:not(.useful-info__banner--cards) .useful-info__banner-image,
  .useful-info__banner--cards .useful-info__banner-image {
    right: 0;
    bottom: 0;
    left: unset;
    position: absolute;
    flex: none;
    max-width: none;
  }

  .useful-info__banner--cards .useful-info__banner-content {
    flex-direction: column;
    padding: 27px 0 17px 0;
    gap: 2.5rem;
  }

  .useful-info__item {
    width: 100%;
    align-items: flex-start;
  }

  .useful-info__item .useful-info__banner-arrow {
    position: absolute;
    right: 5px;
    bottom: 6px;
    top: auto;
    transform: none;
  }

  .useful-info__banner--cards .useful-info__banner-image {
    width: auto;
    height: auto;
    z-index: 0;
  }

  .useful-info__banner--cards .useful-info__banner-image img {
    width: auto;
    height: auto;
    max-height: 200px;
    object-fit: contain;
    object-position: right bottom;
  }

  .useful-info__banner:not(.useful-info__banner--cards) .useful-info__banner-image {
    width: 41.3rem;
    height: 15.8rem;
    right: -9.38rem;
  }

  .useful-info__banner-image img {
    width: 100%;
    height: 100%;
  }

  /* ===== Hero Content SP ===== */
  .page-tower-index .hero-content {
    width: 100%;
    max-width: unset;
    min-height: 48rem;
  }

  .page-tower-index .hero-section {
    padding: 0 2.4rem 6rem;
    /* Keep bottom padding so text isn't cut off by product-bar */
  }

  .hero-section::before {
    opacity: 0.78;
    background: linear-gradient(to right, rgba(11, 3, 32, 1) 0%, rgba(58, 90, 205, 0.62) 78%, rgba(112, 158, 239, 0.34) 99%, rgba(97, 169, 246, 0) 100%);
  }

  .page-tower-index .hero-title-label {
    font-size: 2.8rem;
    line-height: 1.4;
  }

  .page-tower-index .hero-breadcrumb {
    margin-top: 1.8rem;
    margin-bottom: 4rem;
  }

  .page-tower-index .hero-content h2 {
    margin-top: 5.8rem;
    padding: 3.4rem 0.9rem 2.2rem 0;
    margin-bottom: 0;
  }

  .page-tower-index .hero-content h2::before {
    top: 0.9rem;
  }

  .page-tower-index .hero-content p:not(.hero-priority-copy) {
    font-size: 1.6rem;
  }

  .page-tower-index .hero-content p.hero-priority-copy {
    font-size: 2.8rem;
    /* Matched tank reference size */
    margin-top: 2.9rem;
    line-height: 1.2;
    text-align: center;
  }

  .page-tower-index .hero-content p:first-of-type {
    margin-top: 2rem;
  }

  /* ===== Sidebar SP ===== */
  .tower-search-sidebar {
    background: transparent;
    box-shadow: none;
    padding: 0;
    border-radius: 0;
    margin-bottom: 0;
  }

  .product-detail-main__sidebar {
    width: 100%;
    margin-top: 0;
    padding: 0;
    border-radius: 2rem;
    background-color: transparent;
  }

  .product-detail-main__sidebar::before {
    content: none;
  }

  .tower-search-sidebar .sidebar-title {
    margin-bottom: 1.6rem;
    padding-bottom: 0;
    border-bottom: none;
  }

  .tower-search-sidebar .sidebar-toggle {
    background: #8b959e;
    color: #fff;
    width: 100%;
    margin-left: 0;
    padding: 0 1.6rem;
    min-height: 43px;
    border-radius: 0;
    font-size: 1.8rem;
    justify-content: center;
    gap: 0.8rem;
    cursor: pointer;
  }

  .tower-search-sidebar .sidebar-toggle-icon {
    width: 3.2rem;
    height: 3.2rem;
    border-radius: 50%;
    background: #8b959e;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 0.3rem;
  }

  .tower-search-sidebar .sidebar-toggle-icon::before {
    width: 0.9rem;
    height: 0.9rem;
    border-top-width: 0.22rem;
    border-right-width: 0.22rem;
  }

  .page-tower-index .sidebar-box {
    padding: 0;
    box-shadow: none;
    margin-bottom: 0;
  }

  .page-tower-index .sidebar-panel {
    padding: 4rem 4.7rem 0 5rem;
  }

  .page-tower-index #main .main-content {
    gap: 0 !important;
    padding: 0;
  }

  .history-card {
    margin-left: 18%;
    margin-right: -2rem;
    margin-top: -11rem;
  }

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

  .page-tower-index .product-bar {
    margin-top: -7.4rem;
  }

  .sidebar-toggle[aria-expanded='true'] .sidebar-toggle-icon::before {
    margin-top: -0.6rem;
  }

  .tower-search-sidebar .quote-form,
  .product-detail-main__sidebar .quote-form,
  .quote-form {
    gap: 26px;
  }

  .tower-search-sidebar .quote-form__label,
  .product-detail-main__sidebar .quote-form__label,
  .quote-form__label {
    font-size: 1.8rem;
  }

  .tower-search-sidebar .quote-form__select,
  .product-detail-main__sidebar .quote-form__select,
  .quote-form__select {
    height: 3.1rem;
  }

  .quote-form__submit {
    width: 26.6rem;
    padding: 1.8rem 4.6rem;
    margin: 3.7rem auto 2.2rem;
  }

  .section {
    margin-top: 6rem;
    padding: 0 2.4rem;
  }

  .page-tower-index .news-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .page-tower-index .news-head h3 {
    width: auto;
    margin-top: 0;
    margin-left: 0.3rem;
  }

  .section h3 {
    margin-top: 0;
  }

  .news-list {
    margin-top: 0.3rem;
  }

  .news-item {
    padding: 1.4rem 0;
  }

  .news-title {
    gap: 0.4rem;
  }

  .news-title::after {
    align-self: center;
  }

  .page-tower-index .more-link {
    margin: 4rem auto 0;
    min-width: unset;
    width: 31.9rem;
  }

  .products-grid {
    margin-top: 5.4rem;
    margin-bottom: 5.6rem;
    gap: 4.6rem;
  }

  .history-card {
    position: relative;
    top: 0;
    left: 0;
    width: calc(100% + 4rem);
    height: auto;
    margin-left: -2rem;
    margin-right: -2rem;
    margin-top: 0;
    margin-bottom: 0;
    border-radius: 0;
    mix-blend-mode: multiply;
    background: url(../../img/common/background-history-sp.webp) no-repeat right bottom / contain;
    aspect-ratio: 2 / 1;
  }

  .history-feature {
    background-color: #F7F7F7;
    padding: 3.3rem 2.4rem 0;
    border-radius: 30px 0 0 30px;
    margin-top: 2.4rem;
    margin-left: 0rem;
    margin-bottom: 8rem;
    min-height: unset;
  }

  .section.section--history {
    padding: 0 0 0 2.4rem;
    margin-bottom: -3.5rem;
  }

  .tower-search-sidebar .quote-form__radio input[type='radio'],
  .product-detail-main__sidebar .quote-form__radio input[type='radio'],
  .quote-form__radio input[type='radio'] {
    width: 2.3rem;
    height: 2.3rem;
  }

  .page-tower-index .hero-content h2::before {
    width: 100%;
  }

  .page-tower-index .hero-section {
    background: url(../../tower/images/index/hero-slider1-sp.webp);
  }

  .page-tower-index .hero-section--2 {
    background: url(../../tower/images/index/hero-slider2-sp.webp);
  }

  .page-tower-index .hero-section--3 {
    background: url(../../tower/images/index/hero-slider3-sp.webp);
  }

  .history-intro {
    margin-top: 0;
    line-height: 1.5;
  }

  .page-tower-index .useful-info__banner:first-child {
    padding-right: 0;
  }

  .product-background {
    height: 4rem;
    margin-bottom: -2rem;
    border-radius: 0;
  }
}

@media all and (min-width: 769px) and (max-width: 1121px) {
  .page-tower-index {
    overflow-x: auto;
  }

  .page-tower-index #main .content-area .section.section--history {
    margin-right: calc(50% - 50vw);
    padding-right: calc(50vw - 50%) !important;
    overflow: hidden;
  }

  .page-tower-index .hero-content h2::before {
    left: 0;
    margin-left: -30vw;
  }

  .page-tower-index .product-bar {
    width: 80%;
    min-width: unset;
  }

  .page-tower-index main {
    overflow-x: clip;
  }

}

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

  .product-bar__arrow {
    display: none;
  }
}

@media all and (min-width: 1121px) {
  .page-tower-index {
    overflow-x: hidden;
  }
}

@media (max-width: 896px) {
  .main-content {
    flex-direction: row;
  }
}

@media (max-width: 767px) {
  .main-content {
    flex-direction: column;
  }
}

.product-detail-main__sidebar .quote-form__submit {
  padding: 0.7rem 7rem;
  margin: 1.4rem auto 3.6rem;
}

@media (max-width: 767px) {
  .product-detail-main__sidebar .quote-form__submit {
    padding: 1.7rem 7rem;
    margin: 3.7rem auto 3.6rem;
  }
}


/* サイドバー内のプルダウン表示調整 */
/* 注：ボックス自体の大きさ（width）は変更せず、余白と文字サイズで調整 */
.tower-search-sidebar .quote-form__label,
.product-detail-main__sidebar .quote-form__label {
  width: 40% !important;
}

.tower-search-sidebar .quote-form__select-wrap,
.product-detail-main__sidebar .quote-form__select-wrap {
  width: 53% !important;
}

/* アイコン（矢印）の配置と余白の調整 */
.tower-search-sidebar .quote-form__select-wrap::after,
.product-detail-main__sidebar .quote-form__select-wrap::after {
  right: 0.5rem !important;
}

.tower-search-sidebar .quote-form__select,
.product-detail-main__sidebar .quote-form__select {
  font-size: 1.05rem;
  /* 53%幅の中で「二重効用吸収式冷凍」を表示するためのサイズ */
  padding: 0 1.5rem 0 0.5rem;
  /* アイコン左右の間隔を0.5remで均等化 */
}
