/* =================================================================
   パネルタンクナビゲーター - ヒシタンク™ ステンレスパネル型
   Page-specific styles (Stainless Panel Unique Styles)
   ================================================================= */

/* ===== SECTION COMMON ===== */
.product-section {
  margin-bottom: 60px;
}

.stainless-section__text {
  font-size: 16px;
  line-height: 1.8;
  color: #333333;
}

/* ===== SUBTITLE ===== */
.product-subtitle {
  color: #4a545d;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  margin: 24px 0 12px;
}

/* ===== DATA TABLES ===== */
.product-table-wrap {
  overflow-x: auto;
  margin-bottom: 24px;
  -webkit-overflow-scrolling: touch;
}

.product-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.6;
}

.product-table__header {
  background: #f2f2f2;
  color: #333333;
  font-weight: 500;
  padding: 10px 16px;
  text-align: center;
  border: 1px solid #cccccc;
  white-space: nowrap;
}

.product-table__cell {
  padding: 10px 16px;
  border: 1px solid #cccccc;
  vertical-align: top;
  color: #333333;
}

.product-table__cell:first-child {
  text-align: center;
  vertical-align: middle;
}

.product-table__cell.product-table__cell--left {
  text-align: start;
}

.product-table__cell sup {
  font-size: 0.7em;
}

/* Type table variant */
.product-table--type .product-table__cell {
  text-align: center;
  vertical-align: middle;
}

/* ===== NOTES ===== */
.product-notes {
  margin: 16px 0;
  font-size: 13px;
  line-height: 1.8;
  color: #555;
}

.product-notes p {
  margin: 0 0 4px;
}

.product-notes--caution {
  color: #555;
  margin-top: 24px;
}

/* ===== INSULATION SECTION ===== */
.product-insulation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 24px;
}

.stainless-insulation__left,
.stainless-insulation__right {
  padding: 0 12px;
}

.stainless-insulation__col-title {
  font-size: 16px;
  line-height: normal;
  color: #4a545d;
  margin-bottom: 16px;
}

.stainless-insulation__desc {
  font-size: 14px;
  line-height: 21px;
  color: #555;
  margin-bottom: 24px;
}

.stainless-insulation__subtitle {
  font-size: 16px;
  color: #4a545d;
  margin-bottom: 12px;
}

.stainless-insulation__unit {
  font-size: 16px;
  color: #4a545d;
  margin-bottom: 12px;
}

.stainless-insulation__image-frame {
  padding: 5px;
  border: 1px solid #bebebe;
  background: #fff;
}

.stainless-insulation__image-frame--chart {
  max-width: 200px;
  margin: 0 auto;
}

.stainless-insulation__image-frame--structure {
  max-width: 311px;
}

.stainless-insulation__image {
  width: 100%;
  height: auto;
  display: block;
}

.stainless-insulation__image--chart {
  max-width: 187px;
}

.stainless-insulation__image--structure {
  max-width: 309px;
}

.stainless-insulation__note {
  font-size: 12px;
  line-height: 21px;
  color: #555;
  margin-top: 16px;
}

/* ===== PARTS SECTION MODIFICATIONS & OPTIONS ===== */
.parts-block--option-primary .parts-col__title {
  display: flex;
  align-items: center;
  justify-content: center;
}

.parts-col__title-sub {
  display: block;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
}

.parts-col__title--single-line {
  white-space: nowrap;
}

.parts-col__title--single-line .parts-col__title-sub {
  display: inline;
  font-size: 1.2rem;
  font-weight: inherit;
  line-height: inherit;
}

.parts-col__body--img-text-row,
.parts-col__body--text-img-row {
  flex-direction: row;
  align-items: flex-end;
  justify-content: center;
  gap: 10px;
  text-align: start;
}

.parts-text--wavepipe {
  align-self: start;
}

.parts-text--hoopguard {
  min-width: 0;
  white-space: nowrap;
  line-height: 1.2;
}

.parts-text--hoopguard-padding {
  padding-left: 5.2rem;
}

.parts-col__body--wavepipe {
  justify-content: flex-start;
  gap: 12px;
}

.wavepipe__images {
  display: flex;
  justify-content: center;
  gap: 12px;
  width: 100%;
}

.wavepipe__image {
  display: block;
  height: auto;
  object-fit: contain;
}

.wavepipe__image--product {
  max-width: 62px;
}

.parts-text--wavepipe {
  min-width: 0;
  margin-top: auto;
}

.parts-ladder-inner {
  display: flex;
  flex-direction: row;
  gap: 8px;
  align-items: flex-start;
  width: 100%;
}

.parts-ladder-inner--end {
  align-items: flex-end;
}

.parts-ladder-col-a {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.parts-ladder-diagram-wrap {
  position: relative;
  width: 100%;
}

.parts-ladder-cap--abs {
  position: absolute;
  top: 30px;
  left: 95px;
}

.parts-ladder-col-b {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 35px;
}

.parts-ladder-cap-label {
  font-size: 11px;
  color: #231815;
  position: absolute;
  top: 10px;
  left: 110px;
}

.parts-col__body--electrode img {
  max-width: 100%;
  object-fit: contain;
  transform: translateY(-40px);
}

.parts-block--option-primary .parts-text {
  min-width: unset;
}

/* ===== Optional Parts Section ===== */
.gpanel-optional-section {
  margin-bottom: 20px;
  border: 1px solid #ccc;
  background: #f7f7f7;
}

.gpanel-optional-section:not(.gpanel-optional-section--with-table) .gpanel-optional-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.gpanel-optional-section.gpanel-optional-section--with-table .gpanel-optional-row {
  display: grid;
  grid-template-columns: 2fr 1fr;
}

.gpanel-optional-header {
  background: #8b959e;
  color: #fff;
  padding: 10px 2px;
  text-align: center;
  font-weight: 400;
  font-size: 16px;
  border-right: 1px solid #ccc;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
}

.gpanel-optional-header:last-child {
  border-right: none;
}

.gpanel-optional-card {
  position: relative;
  padding: 10px;
  background: #f7f7f7;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  min-height: 200px;
  border-right: 1px solid #ccc;
}

.gpanel-optional-card:last-child {
  border-right: none;
  padding-top: 4rem;
}

.gpanel-optional-row .gpanel-optional-card {
  border-top: 1px solid #ccc;
}

.gpanel-optional-card__image {
  max-width: 100%;
  height: auto;
  max-height: 120px;
  object-fit: contain;
  margin-bottom: 10px;
}

.gpanel-optional-card__description {
  font-size: 13px;
  color: #231815;
  line-height: 1.4;
  text-align: left;
}

.gpanel-optional-card__description--sm {
  font-size: 9px;
}

.gpanel-optional-card__description--left {
  align-self: start;
}

.gpanel-optional-card__description--right {
  position: absolute;
  right: 0.8rem;
  bottom: 5px;
}

.gpanel-optional-card--overflow {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 10px;
  gap: 10px;
}

.gpanel-overflow-cols {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 40px;
}

.gpanel-overflow-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 15px;
}

.gpanel-overflow-col img {
  height: auto;
  object-fit: contain;
}

.gpanel-overflow-text {
  font-size: 13px;
  color: #231815;
  line-height: 1.5;
  text-align: left;
  margin: 0;
  position: absolute;
  top: 0;
  right: 85px;
}

.gpanel-overflow-bottom {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-self: flex-start;
}

.gpanel-overflow-bottom .gpanel-optional-card__description {
  margin: 0;
}

.gpanel-optional-table {
  width: 118px;
  table-layout: fixed;
  border-collapse: collapse;
  font-size: 11px;
}

.gpanel-optional-table th,
.gpanel-optional-table td {
  border: 1px solid #d0d0d0;
  padding: 0;
  text-align: center;
  color: #231815;
  width: 59px;
  height: 18.5px;
  box-sizing: border-box;
  line-height: 1;
}

.gpanel-optional-table th {
  font-size: 11px;
  font-weight: 400;
  background: #d4ecf3;
}

.gpanel-optional-table td {
  font-size: 11px;
  background: #fff;
}

.gpanel-optional-card--img-text-row,
.gpanel-optional-card--text-img-row {
  flex-direction: row;
  align-items: flex-end;
  justify-content: center;
  gap: 10px;
}

.gpanel-optional-card--internal-valve {
  align-items: stretch;
  justify-content: flex-start;
  gap: 14px;
  padding: 14px 12px;
}

.internal-valve__images {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 12px;
  width: 100%;
}

.internal-valve__image {
  display: block;
  height: auto;
  object-fit: contain;
}

.internal-valve__image--product {
  max-width: 92px;
}

.internal-valve__image--installed {
  max-width: 124px;
}

.internal-valve__text {
  width: 100%;
}

.internal-valve__text .gpanel-optional-card__description {
  margin: 0;
}

.internal-valve__text .gpanel-optional-card__description+.gpanel-optional-card__description {
  margin-top: 6px;
}

.gpanel-optional-row--section3 .gpanel-optional-card {
  padding: 10px 10px 5px;
}

.gpanel-parts-notes {
  margin-top: 12px;
}

.gpanel-parts-notes p {
  font-size: 12px;
  margin: 0;
  line-height: 1.6;
  color: #4a545d;
}

.gpanel-case-btn-wrap {
  display: flex;
  justify-content: flex-end;
  margin: 45px 0;
}

.gpanel-case-btn-wrap .more-link {
  margin-top: 0;
}

.page-tank-stainless-panel-type .gpanel-case-btn-wrap .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-tank-stainless-panel-type .gpanel-case-btn-wrap .more-btn:hover {
  opacity: 0.8;
}

.page-tank-stainless-panel-type .gpanel-case-btn-wrap .more-btn::after {
  content: '→';
  background-color: #eb3b3b;
  color: #fff;
  width: 4.6rem;
  height: 4.6rem;
  min-width: 4.6rem;
  min-height: 4.6rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.1rem;
  position: absolute;
  right: 5.5px;
  top: 50%;
  transform: translateY(-50%);
  flex-shrink: 0;
}

@media all and (min-width: 769px) {
  .page-tank-stainless-panel-type img[src="img/product-detail/_04_19_1.webp"] {
    margin-top: 10px;
  }
}

/* ===== RESPONSIVE (SP) ===== */
@media all and (max-width: 768px) {
  /* Tables scroll */
  .page-tank-stainless-panel-type .product-table-wrap {
    -webkit-overflow-scrolling: touch;
  }

  .page-tank-stainless-panel-type .product-table {
    zoom: 0.8;
    width: max-content;
    min-width: 125%;
  }

  .product-insulation {
    grid-template-columns: 1fr;
    gap: 2.4rem;
    margin-bottom: 1.6rem;
  }

  .stainless-insulation__left,
  .stainless-insulation__right {
    padding: 0 12px;
  }

  .stainless-insulation__col-title {
    font-size: 1.6rem;
    line-height: normal;
    margin-bottom: 1.2rem;
  }

  .stainless-insulation__desc {
    margin-bottom: 1.8rem;
  }

  .stainless-insulation__subtitle,
  .stainless-insulation__unit {
    font-size: 1.6rem;
    line-height: normal;
    margin-bottom: 1rem;
  }

  .stainless-insulation__image-frame {
    max-width: 20rem;
    margin: 0 auto;
  }

  .stainless-insulation__note {
    margin-top: 1.2rem;
    font-size: 1.2rem;
    line-height: 1.7;
  }

  /* Spec subtitle responsive */
  .product-subtitle {
    margin: 0 0 12px;
  }

  .product-subtitle.product-subtitle--second {
    padding-top: 24px;
  }

  .parts-col__body--electrode {
    padding: 15px 10px;
    margin: 0 10px;
    align-items: unset;
  }

  .parts-electrode-imgs {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-width: 0;
  }

  .parts-electrode-imgs>img:first-child {
    width: 45%;
    flex: 0 0 45%;
  }

  .parts-electrode-imgs>img:last-child {
    width: 60%;
    flex: 0 0 60%;
  }

  .parts-img--inner-ladder-diagram {
    width: 70%;
  }

  .gpanel-optional-section:not(.gpanel-optional-section--with-table) {
    display: flex;
    flex-direction: column;
  }

  .gpanel-optional-section:not(.gpanel-optional-section--with-table) .gpanel-optional-row {
    display: contents;
  }

  .gpanel-optional-section:not(.gpanel-optional-section--with-table) .gpanel-optional-header:nth-child(1) {
    order: 1;
  }

  .gpanel-optional-section:not(.gpanel-optional-section--with-table) .gpanel-optional-header:nth-child(2) {
    order: 3;
  }

  .gpanel-optional-section:not(.gpanel-optional-section--with-table) .gpanel-optional-header:nth-child(3) {
    order: 5;
  }

  .gpanel-optional-section:not(.gpanel-optional-section--with-table) .gpanel-optional-card--img-text-row {
    order: 2;
  }

  .gpanel-optional-section:not(.gpanel-optional-section--with-table) .gpanel-optional-card:nth-child(2) {
    order: 4;
  }

  .gpanel-optional-section:not(.gpanel-optional-section--with-table) .gpanel-optional-card--text-img-row,
  .gpanel-optional-section:not(.gpanel-optional-section--with-table) .gpanel-optional-card--internal-valve {
    order: 6;
  }

  .gpanel-optional-section:not(.gpanel-optional-section--with-table) .gpanel-optional-header {
    border-right: none;
  }

  .gpanel-optional-section:not(.gpanel-optional-section--with-table) .gpanel-optional-card {
    border-right: none;
    border-top: none;
    min-height: auto;
    padding: 15px;
  }

  .gpanel-optional-row--section3 .gpanel-optional-card {
    padding: 15px;
  }

  .gpanel-optional-section.gpanel-optional-section--with-table {
    display: flex;
    flex-direction: column;
  }

  .gpanel-optional-section.gpanel-optional-section--with-table .gpanel-optional-row {
    display: contents;
  }

  .gpanel-optional-section.gpanel-optional-section--with-table .gpanel-optional-header:nth-child(1) {
    order: 1;
  }

  .gpanel-optional-section.gpanel-optional-section--with-table .gpanel-optional-header:nth-child(2) {
    order: 3;
  }

  .gpanel-optional-section.gpanel-optional-section--with-table .gpanel-optional-card--overflow {
    order: 2;
  }

  .gpanel-optional-section.gpanel-optional-section--with-table .gpanel-optional-card:not(.gpanel-optional-card--overflow) {
    order: 4;
  }

  .gpanel-optional-section.gpanel-optional-section--with-table .gpanel-optional-header {
    border-right: none;
  }

  .gpanel-optional-section.gpanel-optional-section--with-table .gpanel-optional-card {
    border-right: none;
    border-top: none;
    min-height: auto;
  }

  .gpanel-optional-card--overflow {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .gpanel-overflow-cols {
    display: contents;
  }

  .gpanel-overflow-col {
    margin-top: 0;
    align-items: flex-start;
  }

  .gpanel-overflow-text {
    position: static;
    margin-bottom: 6px;
  }

  .gpanel-overflow-col:nth-child(1) {
    order: 1;
    flex: 0 0 auto;
  }

  .gpanel-overflow-col:nth-child(2) {
    order: 2;
    flex: 1;
    min-width: 0;
  }

  .gpanel-overflow-bottom {
    order: 3;
    flex-basis: 100%;
  }

  .gpanel-overflow-col:nth-child(3) {
    order: 4;
    flex-basis: 100%;
    align-items: center;
  }

  .gpanel-optional-card--internal-valve {
    padding: 15px;
  }

  .internal-valve__images {
    gap: 10px;
  }

  .internal-valve__image--product {
    max-width: 84px;
  }

  .internal-valve__image--installed {
    max-width: 114px;
  }
}

.gpanel-overflow-col {
  margin-top: 32px;
}

@media all and (min-width: 769px) and (max-width: 1200px) {
  .gpanel-optional-card--overflow {
    padding: 10px 12px;
  }

  .gpanel-optional-card {
    padding: 10px;
  }
}

@media all and (max-width: 768px) {
  .parts-col__body--electrode img {
    transform: unset;
  }

  .gpanel-optional-card:last-child {
    padding-top: 2rem;
  }

  .gpanel-optional-card__description--left {
    align-self: center;
  }

  .gpanel-optional-card__description--right {
    position: unset;
  }

  .stainless-insulation__image-frame--structure {
    max-width: 30.1rem;
  }

  .stainless-insulation__image--chart {
    max-width: 20rem;
  }
}
