/* ================================================================== */
/* Q&Sフレーム工法ページ専用CSS */
/* ================================================================== */

/* QS専用ヘッダー */
.qs .header {
  background-color: #15604f;
}

/* QS専用コンテンツ */
.qs .content {
  border: 2px solid #15604f;
  padding: 10px 0 0;
}

.qs .section-title {
  padding-left: 5px;
}

.qs .section-title img {
  width: 33px;
  height: 25px;
}

.qs .intro {
  padding-left: 5px;
}

.qs .type-item {
  margin-bottom: 0;
}

.qs .type-section {
  margin: 0;
}

/* QS専用見出し */
.heading.qs {
  background-color: #209177;
  color: #FFFFFF;
  font-weight: bold;
  padding: 5px 10px;
  margin: 20px 0 10px 0;
  font-size: 1em;
}

/* 特徴と用途セクション */
.qs.feature-usage {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.qs.feature-image {
  flex: 0 0 265px;
}

.qs.feature-image img {
  width: 100%;
  height: auto;
  display: block;
}

.qs.usage-list {
  flex: 1;
  min-width: 280px;
}

.qs.usage-title {
  color: #325BBE;
  font-weight: bold;
  font-size: 0.9em;
  margin-bottom: 10px;
}

.qs.usage-items {
  display: flex;
  flex-direction: column;
}

/* 特徴アイテム */
.qs.item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.qs.item .text.blue {
  flex: 0 0 auto;
  margin: 0;
  color: #065B95;
  font-weight: bold;
  font-size: 0.9em;
}

.qs.item .feature.text {
  flex: 1;
  font-size: 0.9em;
  margin: 0;
  line-height: 1.6;
}

/* 特徴ボックス（QuickとStrong） */
.qs.feature.quick,
.qs.feature.strong {
  flex: 1;
  min-width: 280px;
  border: 3px solid;
  padding: 0;
  margin-bottom: 20px;
}

.qs.feature.quick {
  border-color: #29B999;
}

.qs.feature.strong {
  border-color: #6B88B1;
}

.qs.box-label {
  background-color: #29B999;
  color: #FFFFFF;
  font-weight: bold;
  padding: 2px 0;
  text-align: center;
  display: block;
  margin-bottom: 0;
}

.qs.feature.strong .box-label {
  background-color: #6B88B1;
}

.qs.box-icon {
  display: block;
  margin: 10px auto;
}

.qs.box-title {
  text-align: center;
  margin: 10px 0 15px;
  font-size: 1em;
}

.qs.box-content {
  display: flex;
  flex-direction: column;
  padding: 0 15px 15px;
}

.qs.box-content .item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

/* 施工手順セクション */
.qs.construction-steps {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
  padding: 20px 0;
}

.qs.construction-step {
  flex: 0 1 189px;
  text-align: center;
}

.qs.step-image {
  background-color: #C3CBE6;
  padding: 10px;
  margin-bottom: 10px;
}

.qs.step-image img {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  height: auto;
}

.qs.step-description {
  display: flex;
  gap: 5px;
  text-align: left;
  font-size: 0.9em;
}

.qs.step-description .text.blue {
  color: #065B95;
  font-weight: bold;
  flex: 0 0 auto;
}

.qs.step-description .feature.text {
  flex: 1;
  line-height: 1.4;
}

/* EEセクション */
.qs.ee-section {
  margin-top: 30px;
}

.heading.qs a {
    font-weight: bold;
}

.qs.ee-feature,
.qs.ee-parts {
  margin-bottom: 30px;
}

.qs.ee-subtitle {
  background-color: #E1F2F4;
  color: #0033CC;
  font-weight: bold;
  padding: 5px 10px;
  margin-bottom: 15px;
  font-size: 1em;
}

.qs.ee-feature-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 30px;
}

/* 部材セクション */
.qs.ee-parts-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 15px;
}

.qs.ee-parts-image {
  text-align: center;
  margin-bottom: 20px;
}

.qs.ee-parts-image img {
  max-width: 100%;
  height: auto;
}

.qs.ee-parts-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

.qs.parts-title {
  color: #666666;
  font-weight: bold;
  font-size: 1em;
  display: flex;
  align-items: center;
  gap: 5px;
}

.qs.parts-spec {
  font-size: 0.9em;
}


.qs.parts-description {
  background-color: #D6FFAC;
  padding: 10px;
  font-size: 0.9em;
  line-height: 1.6;
  margin-top: 10px;
}

/* 仕様規格テーブル */
.qs.ee-specs {
  margin-top: 30px;
}

.qs.specs-title {
  color: #008000;
  font-weight: bold;
  font-size: 1em;
}

.qs.specs-table-wrapper {
  overflow-x: auto;
  margin: 0 0 10px;
}

.qs.specs-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #808080;
  font-size: 0.9em;
  background-color: #FFFFFF;
}

.qs.specs-table th,
.qs.specs-table td {
  border: 1px solid #808080;
  padding: 8px;
  text-align: center;
}

.qs.specs-table th {
  background-color: #6DDB00;
  font-weight: normal;
}

.qs.specs-table td {
  padding: 6px 8px;
}

.qs.specs-table tbody tr:nth-child(even) {
  background-color: transparent;
}

.qs.table-type {
  background-color: #D6FFAC;
  font-weight: bold;
}

.qs.specs-note {
  font-size: 0.9em;
  color: #333;
  margin-top: 10px;
}

/* 施工写真セクション */
.qs.photo-section {
  margin: 30px 0;
}

.qs.photo-gallery {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.qs.photo-item {
  padding: 0;
  background-color: transparent;
  border: none;
}

.qs.photo-item img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* ================================================================== */
/* レスポンシブ対応 */
/* ================================================================== */

@media screen and (max-width: 768px) {
  .qs.feature-usage {
    flex-direction: column;
  }

  .qs.feature-image {
    flex: 1 1 auto;
    width: 100%;
    max-width: 265px;
    margin: 0 auto;
  }

  .qs.usage-list {
    min-width: 100%;
  }

  .qs.feature.quick,
  .qs.feature.strong {
    min-width: 100%;
  }

  .qs.construction-steps {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .qs.construction-step {
    max-width: 100%;
    width: 100%;
  }

  .qs.specs-table {
    font-size: 0.75em;
  }

  .qs.specs-table th,
  .qs.specs-table td {
    padding: 5px;
  }

  .qs.photo-gallery {
    flex-direction: column;
    align-items: center;
  }
}

@media screen and (max-width: 480px) {
  .heading.qs {
    font-size: 0.95em;
  }

  .qs.usage-title,
  .qs.ee-subtitle {
    font-size: 0.9em;
  }

  .qs.box-content,
  .qs.usage-items,
  .qs.ee-feature-list {
    gap: 6px;
  }

  .qs.item .feature.text {
    font-size: 0.85em;
  }

  .qs.box-content .item {
    margin-bottom: 10px;
  }

  .qs.step-description {
    font-size: 0.85em;
  }
}