@charset "utf-8";

/* ==========================================================================
   Cooling Tower General Information Page
   ========================================================================== */

/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */
.page-tower-cooling-tower-general-information {
  padding-top: var(--site-header-offset, 80px);
}

/* Hero Background Override */
.page-tower-cooling-tower-general-information .sub-page-hero {
  background: url(../images/general-information/kv.webp);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center bottom;
  color: #fff;
  border-radius: 0 0 5.5rem 5.5rem;
  padding: 11rem 0 0;
  height: calc(37.4rem + 80px);
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.page-tower-cooling-tower-general-information .sub-page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
}

.page-tower-cooling-tower-general-information .sub-page-hero .product-detail-hero__inner {
  max-width: 116rem;
  width: 100%;
  margin: 0 auto;
  padding: 0 2.2rem;
}

.page-tower-cooling-tower-general-information .sub-page-hero .product-detail-hero__breadcrumb {
  position: relative;
  z-index: 2;
}

.page-tower-cooling-tower-general-information .sub-page-hero .product-detail-hero__breadcrumb-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  row-gap: 1rem;
}

.page-tower-cooling-tower-general-information .sub-page-hero .product-detail-hero__breadcrumb-item {
  display: flex;
  align-items: center;
  white-space: nowrap;
}

.page-tower-cooling-tower-general-information .sub-page-hero .product-detail-hero__breadcrumb-item>a,
.page-tower-cooling-tower-general-information .sub-page-hero .product-detail-hero__breadcrumb-item>span {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.page-tower-cooling-tower-general-information .sub-page-hero .product-detail-hero__breadcrumb-item+.product-detail-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.5em;
}

.page-tower-cooling-tower-general-information .product-detail-hero__title {
  font-size: 4rem;
  font-weight: 400;
  text-align: center;
  margin-top: 11.5rem;
  width: 100%;
  transform: unset;
  left: unset;
  top: unset;
  position: unset;
}

.page-tower-cooling-tower-general-information .product-detail-hero__subtitle {
  font-size: 2rem;
  line-height: 1.6;
  text-align: center;
  font-weight: 500;
  margin-top: 5.3rem;
  white-space: pre-line;
  width: 100%;
  margin-left: 1.6rem;
  position: unset;
  top: unset;
  left: unset;
  transform: unset;
}

.page-tower-cooling-tower-general-information .sub-page-hero .product-detail-hero__subtitle:empty {
  display: none;
}

/* --------------------------------------------------------------------------
   Main Content
   -------------------------------------------------------------------------- */
.general-info-main {
  max-width: 103rem;
  margin: 0 auto;
  padding: 4.3rem 2rem 10rem;
}

.general-info-section,
.general-info-text[id] {
  scroll-margin-top: calc(var(--site-header-offset, 80px) + 24px);
}

.general-info__title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #555;
  padding: 0.7rem 1rem;
  background-color: #D9D9D9;
  margin-bottom: 2.6rem;
}

.general-info__subtitle {
  font-size: 1.8rem;
  font-weight: 400;
  color: #727171;
  border-bottom: 1.5px solid #B5B5B6;
  margin: 0 1rem 2rem;
}

.section-heading {
  margin-left: 0;
  margin-bottom: 1.5rem;
}

/* Section Headings */
.general-info-heading {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 30px;
  border-bottom: 1px solid #ddd;
  padding-bottom: 10px;
}

.general-info-heading__icon {
  width: 6px;
  height: 24px;
  background-color: #eb3b3b;
  border-radius: 2px;
}

.general-info-heading__title {
  font-size: 2.4rem;
  font-weight: bold;
  color: #333;
}

/* Text & Paragraphs */
.general-info-text {
  font-size: 1.6rem;
  line-height: 1.5;
  color: #333;
  margin-bottom: 43px;
}

.general-info-text--bold {
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   Supply Water Amount Section
   -------------------------------------------------------------------------- */
.supply-water-calculation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 3.5rem;
  margin: -1.6rem auto 4.3rem;
}

.supply-water-formula {
  margin: 0 0 2rem;
}

.supply-water-formula--small {
  margin-top: 1.8rem;
}

.supply-water-formula__heading {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 0.3rem 0.6rem;
  margin: 0 0 1rem;
  font-size: 1.8rem;
  line-height: 1.45;
  font-weight: 700;
  color: #111;
}

.supply-water-formula__number,
.supply-water-formula__expression {
  font-weight: 700;
}

.supply-water-formula__description {
  margin-left: 3.2rem;
  font-size: 1.6rem;
  line-height: 1.5;
  font-weight: 500;
  color: #111;
}

.supply-water-formula__description p {
  margin: 0;
}

.supply-water-formula__description--indent {
  margin-left: 6.6rem;
}

.supply-water-formula__expression--fraction {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.4rem;
  justify-content: flex-start;
  line-height: 1.45;
}

.supply-water-fraction {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
  vertical-align: middle;
  transform: translateY(-0.75rem);
}

.supply-water-fraction__top,
.supply-water-fraction__bottom {
  display: block;
  min-width: 3.2rem;
  text-align: center;
  font-weight: 700;
}

.supply-water-fraction__top {
  padding-bottom: 0.3rem;
  border-bottom: 2px solid #111;
}

.supply-water-fraction__bottom {
  padding-top: 0.3rem;
}

.supply-water-calculation__result {
  width: 100%;
  box-sizing: border-box;
  margin-top: 2.2rem;
  padding: 1.2rem 2.4rem;
  border: 1px solid #333;
  text-align: center;
  font-size: 1.8rem;
  line-height: 1.45;
  font-weight: 700;
  color: #111;
}

/* --------------------------------------------------------------------------
   Building Standards Section
   -------------------------------------------------------------------------- */
.standard__wrapper {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin: 0 1rem;
}

.standard-box {
  flex: 1;
}

.building-standards {
  margin-bottom: 40px;
}

.standard-box__title {
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 15px;
  color: #333;
}

.standard-box__text {
  font-size: 1.3rem;
  line-height: 1.6;
  min-height: 4.4rem;
}

/* ---- Standard Table (outer) ---- */
.standard__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.4rem;
  color: #4A545D;
}

.standard__table-header {
  font-size: 1.3rem;
  font-weight: 400;
  text-align: center;
  padding: 1.5px 12px;
  border: 1px solid #D5D5D5;
}

.standard__table-label {
  background-color: #fff;
  font-weight: 400;
  text-align: start;
  vertical-align: top;
  padding: 3.6px 6px;
  border: 1px solid #D5D5D5;
  white-space: nowrap;
  font-size: 1.4rem;
  min-width: 74px;
  line-height: 1.4;
}

.standard__table-desc {
  background-color: #fff;
  padding: 6px 12px;
  border: 1px solid #D5D5D5;
  vertical-align: top;
  font-size: 1.3rem;
  line-height: 1.5;
}

/* ---- Subtable (nested: 応力の種類) ---- */
.standard__subtable {
  width: auto;
  border-collapse: collapse;
  font-size: 1.2rem;
  margin: 2px 4px;
  color: #4A545D;
}

.standard__subtable th,
.standard__subtable td {
  border: 1px solid #D5D5D5;
  padding: 0.5px 10px;
  text-align: center;
  vertical-align: middle;
}

.standard__subtable thead th {
  font-weight: 500;
  font-size: 1.2rem;
  white-space: nowrap;
}

.standard__subtable tbody th {
  background-color: #fff;
  font-weight: 500;
  white-space: nowrap;
  min-width: 70px;
}

.standard__subtable tbody td {
  background-color: #fff;
  white-space: nowrap;
}

.standard--left {
  text-align: left !important;
}

/* ---- Subtable note ---- */
.standard__subtable-note {
  margin-top: 3px;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #666;
}

.standard__subtable .standard--left {
  text-align: left;
}

/* --------------------------------------------------------------------------
   Drive Methods Section
   -------------------------------------------------------------------------- */
.drive-methods {
  margin-bottom: 80px;
}

.drive-method-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.drive-method-item {
  display: flex;
  gap: 18px;
  align-items: center;
}

.drive-method-item__content {
  flex: 1;
}

.drive-method-item__title {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1.6rem;
  font-weight: bold;
  color: #4A545D;
  margin-bottom: 15px;
  padding-bottom: 5px;
  display: inline-block;
}

.drive-method-item__desc {
  font-size: 1.6rem;
  line-height: 1.7;
}

.drive-method-item__image {
  flex: 0 0 215px;
  text-align: center;
  transform: translateY(20px);
}

.drive-method-item__image--3 {
  flex: 0 0 215px;
}

.drive-method-item__image img {
  max-width: 100%;
  height: auto;
}

.drive-method-item__image--3 img {
  width: 216px;
}

.drive-comparison-table thead .drive-comparison-table__subheader-name {
  font-size: 1.7rem;
}

/* --------------------------------------------------------------------------
   Drive Method Comparison Table
   -------------------------------------------------------------------------- */
.drive-comparison-table-wrap {
  margin: 98px auto 0;
  overflow-x: auto;
  width: 100%;
  max-width: 87.1rem;
}

.drive-comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.4rem;
  color: #4A545D;
}

.drive-comparison-table th,
.drive-comparison-table td {
  border: 1px solid #D5D5D5;
  padding: 6px 4px;
  vertical-align: middle;
  text-align: center;
  font-size: 1.3rem;
}

.drive-comparison-table__group-th.drive-table--bg {
  font-size: 1.5rem;
}

.drive-comparison-table thead th {
  background-color: #F5F5F5;
  font-weight: 500;
  text-align: center;
  vertical-align: middle;
}

.drive-comparison-table td {
  background-color: #fff;
}

.drive-comparison-table__header-cell {
  padding: 2rem 3rem 0rem 3rem;
}

/* ---- Corner cell (diagonal split: 駆動方式 / 比較項目) ---- */
.drive-comparison-table__corner {
  position: relative;
  width: 120px;
  min-width: 120px;
  height: 80px;
  padding: 0;
  background-color: #F5F5F5;
}

.drive-comparison-table__corner-top {
  position: absolute;
  top: 28px;
  right: 22px;
  font-size: 1.5rem;
  font-weight: 500;
  color: #4A545D;
}

.drive-comparison-table__corner-bottom {
  position: absolute;
  bottom: 24px;
  left: 15px;
  font-size: 1.5rem;
  font-weight: 500;
  color: #4A545D;
}

.drive-comparison-table__corner-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.drive-comparison-table__corner-line::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top right,
      #F3F7FA calc(50% - 0.5px),
      #D5D5D5 calc(50% - 0.5px),
      #D5D5D5 calc(50% + 0.5px),
      transparent calc(50% + 0.5px));
}

/* ---- Header cells (image + series name) ---- */
.drive-comparison-table__header-cell {
  text-align: center;
  padding: 10px 8px;
  vertical-align: middle;
  min-width: 180px;
}

.drive-comparison-table__header-image {
  display: block;
  margin: 0 auto 8px;
  max-width: 180px;
  max-height: 120px;
  height: auto;
  object-fit: contain;
}

.drive-comparison-table__header-series {
  display: block;
  font-size: 1.5rem;
  font-weight: 500;
  color: #4A545D;
  line-height: 1.4;
  margin-top: 13.8px;
}

/* ---- Subheader row (drive method names) ---- */
.drive-comparison-table thead .drive-comparison-table__subheader {
  height: 36px;
  padding: 0;
  background: transparent;
  border-left: none;
  border-top: none;
}

.drive-comparison-table__subheader-name {
  background-color: #F5F5F5;
  text-align: center;
  font-size: 1.4rem;
  font-weight: 700;
  color: #4A545D;
  padding: 8px 12px;
}

/* ---- Group header (rowspan: 仕様, 特徴) ---- */
.drive-comparison-table__group-th {
  background-color: #F5F5F5;
  font-weight: 500;
  text-align: center;
  vertical-align: middle;
  width: 52px;
  min-width: 52px;
  font-size: 1.4rem;
  color: #4A545D;
  letter-spacing: 0.3em;
  line-height: 2;
  padding: 10px 6px;
}

/* ---- Row header (individual spec labels) ---- */
.drive-comparison-table__row-th {
  background-color: #F5F5F5;
  font-weight: 500;
  text-align: center;
  vertical-align: middle;
  font-size: 1.4rem;
  color: #4A545D;
  white-space: nowrap;
  min-width: 80px;
  padding: 10px 12px;
}

/* ---- Check list (特徴 section) ---- */
.drive-comparison-table__check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.drive-comparison-table__check-list li {
  position: relative;
  padding-left: 1.2em;
  margin-bottom: 4px;
  line-height: 1.6;
  font-size: 1.3rem;
  text-align: left;
}

.drive-comparison-table__check-list li::before {
  content: '・';
  position: absolute;
  left: 0;
  top: 0;
}

/* ---- Note ---- */
.drive-comparison-table__note {
  margin-top: 6px;
  font-size: 1.4rem;
  color: #666;
  text-align: end;
}

.drive-table--bg {
  background-color: #F3F7FA;
}

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

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media screen and (max-width: 768px) {
  .page-tower-cooling-tower-general-information {
    padding-top: 0;
  }

  .page-tower-cooling-tower-general-information .tower-hero-wrapper {
    margin-top: -2px;
  }

  .drive-method-item {
    flex-direction: column;
  }

  .drive-method-item__image {
    flex: 0 0 auto;
    width: 100%;
    margin-top: 20px;
  }

  .page-tower-cooling-tower-general-information .sub-page-hero {
    margin-top: 0;
    background-image: url(../images/general-information/kv.webp);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    height: auto;
    min-height: 37.2rem;
    padding: 2.1rem 0;
    margin-bottom: 3.8rem;
  }

  .page-tower-cooling-tower-general-information .product-detail-hero__title {
    font-size: 2.4rem;
    margin-top: 10.3rem;
    margin-bottom: 2.4rem;
  }

  .page-tower-cooling-tower-general-information .sub-page-hero .product-detail-hero__breadcrumb-item+.product-detail-hero__breadcrumb-item::before {
    margin: 0 0.4em;
  }

  .page-tower-cooling-tower-general-information .product-detail-hero__subtitle {
    display: block;
    top: 14.3rem;
    font-size: 1.6rem;
    line-height: 1.65;
    margin-left: 0;
    margin-top: 0;
  }

  /* ---- Comparison Table SP ---- */
  .drive-comparison-table-wrap {
    margin-top: 70px;
    margin-left: 2.4rem;
    width: calc(100% - 2.4rem);
    padding: 0;
    overflow-x: auto;
  }

  .drive-comparison-table {
    font-size: 1.1rem;
    min-width: 600px;
  }

  .drive-comparison-table th,
  .drive-comparison-table td {
    padding: 6px 6px;
  }

  .drive-comparison-table__corner {
    width: 90px;
    min-width: 90px;
    height: 60px;
  }

  .drive-comparison-table__header-cell {
    min-width: 150px;
    padding: 8px 6px;
  }

  .drive-comparison-table__header-image {
    max-width: 100px;
    max-height: 70px;
  }

  .drive-comparison-table__header-series {
    font-size: 1.1rem;
  }

  .drive-comparison-table__row-th {
    white-space: normal;
    min-width: 92px;
    font-size: 1.1rem;
    padding: 6px 4px;
  }

  .drive-comparison-table__check-list li {
    font-size: 1.1rem;
  }

  .drive-comparison-table__corner-top,
  .drive-comparison-table__corner-bottom {
    font-size: 1rem;
  }

  .drive-comparison-table__subheader-name {
    font-size: 1.1rem;
    padding: 6px 8px;
  }

  .drive-comparison-table__group-th {
    font-size: 1.1rem;
    padding: 6px 4px;
  }

  .drive-comparison-table__note {
    padding: 0 20px;
  }

  .general-info-main {
    padding: 40px 0 60px;
  }

  .standard__wrapper {
    flex-direction: column;
    gap: 30px;
    margin: 0 0 0 2.4rem;
  }

  .standard-box {
    width: 100%;
    min-width: 0;
  }

  .standard__table-wrap {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .standard__table {
    min-width: 600px;
    font-size: 1.1rem;
    margin-bottom: 2rem;
  }

  .standard__table-header,
  .standard__table-label,
  .standard__table-desc {
    font-size: 1.1rem;
  }

  .standard__subtable,
  .standard__subtable thead th {
    font-size: 1.1rem;
  }

  .standard__subtable-note {
    font-size: 1rem;
  }

  /* ---- Custom Scrollbar ---- */
  .standard__table-wrap::-webkit-scrollbar,
  .drive-comparison-table-wrap::-webkit-scrollbar {

    height: 4px;
  }

  .standard__table-wrap::-webkit-scrollbar-track,
  .drive-comparison-table-wrap::-webkit-scrollbar-track {
    background: #e6e6e6;
    border-radius: 4px;
    margin-right: 2.4rem;

  }

  .standard__table-wrap::-webkit-scrollbar-thumb,
  .drive-comparison-table-wrap::-webkit-scrollbar-thumb {
    background: #a9a9a9;
    border-radius: 4px;
  }

  .standard__table,
  .drive-comparison-table {
    margin-right: 2.4rem;
  }

  .general-info__title {
    margin: 0 2.4rem 2.5rem;
  }

  .section-heading {
    margin: 0 2.4rem 2.5rem;
  }

  .general-info__subtitle {
    margin: 0 2.4rem 2rem;
  }

  .standard-box__text {
    margin-right: 2.4rem;
  }

  .general-info-text {
    margin: 0 2.4rem 3.5rem;
  }

  .supply-water-calculation {
    grid-template-columns: 1fr;
    row-gap: 2rem;
    margin: -1.4rem 2.4rem 3.5rem;
  }

  .supply-water-calculation__column:first-child .supply-water-formula:last-child {
    margin-bottom: 0;
  }

  .supply-water-formula__heading {
    font-size: 1.8rem;
  }

  .supply-water-formula__description {
    margin-left: 2.8rem;
    font-size: 1.6rem;
  }

  .supply-water-formula__description--indent {
    margin-left: 2.8rem;
  }

  .supply-water-calculation__result {
    font-size: 1.8rem;
  }

  .drive-method-list {
    margin: 0 2.4rem;
  }

  .drive-comparison-table__note {
    text-align: start;
    padding: 0;
  }

  .drive-comparison-table thead .drive-comparison-table__subheader-name {
    font-size: 1.4rem;
  }

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

  .drive-comparison-table th,
  .drive-comparison-table td {
    font-size: 1rem;
  }

  .drive-comparison-table__group-th.drive-table--bg {
    font-size: 1.2rem;
  }

  .drive-comparison-table__note {
    font-size: 1.1rem;
  }
}

/* ===== Hero layout unified with cooling-tower-estimate.html ===== */
.page-tower-cooling-tower-general-information .sub-page-hero {
  margin-top: 0;
  padding: 4.2rem 0 0;
  height: 37.4rem;
}

.page-tower-cooling-tower-general-information .product-detail-hero__content--no-subtitle .product-detail-hero__title,
.page-tower-cooling-tower-general-information .product-detail-hero__content:not(:has(.product-detail-hero__subtitle)) .product-detail-hero__title,
.page-tower-cooling-tower-general-information .product-detail-hero__content:has(.product-detail-hero__subtitle:empty) .product-detail-hero__title {
  width: 100%;
  position: unset;
  left: unset;
  top: unset;
  transform: unset;
  margin-top: 11.5rem;
  font-weight: 500;
}

@media all and (max-width: 768px) {
  .page-tower-cooling-tower-general-information .sub-page-hero {
    margin-top: 0;
    min-height: 37.2rem;
    height: auto;
    padding: 2.1rem 0;
  }

  /* Reset content div so title positions from hero top, not from center */
  .page-tower-cooling-tower-general-information .sub-page-hero .product-detail-hero__content {
    position: relative;
    top: unset;
    left: unset;
    transform: none;
    width: 100%;
  }

  .page-tower-cooling-tower-general-information .product-detail-hero__content--no-subtitle .product-detail-hero__title,
  .page-tower-cooling-tower-general-information .product-detail-hero__content:not(:has(.product-detail-hero__subtitle)) .product-detail-hero__title,
  .page-tower-cooling-tower-general-information .product-detail-hero__content:has(.product-detail-hero__subtitle:empty) .product-detail-hero__title {
    position: absolute;
    top: 9.7rem;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    text-align: center;
    font-size: 2.4rem;
    margin-top: 0;
  }
}
