@charset "utf-8";

/* ==========================================================
   Hero Section (ported from panel-tank-maintenance-points)
========================================================== */

@media all and (min-width: 769px) and (max-width: 1120px) {
  body.page-tank-maintenance-renewal-guide {
    width: 1121px;
    min-width: 1121px;
    overflow-x: auto;
  }

  body.page-tank-maintenance-renewal-guide #container,
  body.page-tank-maintenance-renewal-guide #main,
  body.page-tank-maintenance-renewal-guide .main-content,
  body.page-tank-maintenance-renewal-guide .product-background {
    width: 1121px;
    min-width: 1121px;
  }

  body.page-tank-maintenance-renewal-guide .main-content {
    padding-right: 0;
  }
}





body.page-tank-maintenance-renewal-guide #main .main-content {
  margin-bottom: 0;
}




/* ==========================================================================
   ANCHOR TABS
========================================================================== */
.product-tabs {
  max-width: 120rem;
  margin: 5.9rem auto 0;
  padding: 0 4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
  position: relative;
  z-index: 10;
}

.product-tabs__item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  padding: 1rem 2rem;
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 2em;
  color: #555;
  background: #fff;
  text-decoration: none;
  border: 1px solid #231815;
  border-radius: 4px;
  transition: background 0.3s, color 0.3s;
  white-space: nowrap;
}

.product-tabs__item:hover {
  background: #f7f7f7;
}

.page-tank-maintenance-renewal-guide .product-tabs__item {
  flex: 1 1 calc(25% - 0.825rem);
  max-width: calc(25% - 0.825rem);
  white-space: nowrap;
}

.page-tank-maintenance-renewal-guide .product-tabs__item--active {
  background: #8b959e;
  color: #fff;
  border-color: #8b959e;
}



/* ==========================================================================
   Renewal Guide Images
========================================================================== */
.renewal-guide-images {
  max-width: 1000px;
  margin: 12.8rem auto;
  padding: 0 8.5rem;
  display: flex;
  flex-direction: column;
  gap: 2.9rem;
  align-items: center;
}

.renewal-guide-figure {
  width: 100%;
  margin: 0;
}

.renewal-guide-figure img {
  width: 100%;
  height: auto;
  display: block;
}

/* ==========================================================================
   RESPONSIVE (SP)
========================================================================== */
@media (min-width: 1121px) {
  .page-tank-maintenance-renewal-guide .main-content {
    min-width: unset;
  }
}

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


  /* Anchor Tabs */
  .page-tank-maintenance-renewal-guide .product-tabs__item {
    flex: 1 1 calc(50% - 0.55rem);
    max-width: calc(50% - 0.55rem);
    text-align: center;
    line-height: 1.2;
    height: 4.6rem;
    padding: 0.5rem;
  }

  .product-tabs {
    margin: 3.8rem auto 3.8rem;
    padding: 0 2.4rem;
  }

  .page-tank-maintenance-renewal-guide .main-content {
    padding: 0 2.4rem;
  }

  /* Renewal Guide Images */
  .renewal-guide-images {
    margin: 4rem auto;
    gap: 3rem;
    padding: 0;
  }

  .page-tank-maintenance-renewal-guide .page-tank-index {
    overflow-x: hidden;
  }

  .page-tank-maintenance-renewal-guide .main-content {
    margin-top: 0;
  }

  .page-tank-maintenance-renewal-guide .renewal-guide-images {
    margin-top: 0;
  }

  .page-tank-maintenance-renewal-guide #main {
    top: 0;
  }


}
