/* ===== 構造・セキュリティページ PC ===== */

/* ===== ページ見出し＋タブ ===== */
.sc-page-head {
  padding: 3% 0 2%;
  background: #fff;
  text-align: center;
}
.sc-page-ttl {
  font-family: var(--font-en-sans);
  font-size: clamp(1.6rem, 2.8vw, 2.6rem);
  font-weight: 300;
  letter-spacing: 0.2em;
  color: var(--color-main);
  margin-bottom: 3%;
}
.sc-tabs {
  display: inline-flex;
  gap: 40px;
}
.sc-tab {
  display: inline-block;
  box-sizing: border-box;
  width: 280px;
  font-family: var(--font-serif-jp);
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  font-weight: 400;
  text-decoration: none;
  padding: 12px 0;
  text-align: center;
  background: var(--color-main);
  color: #fff;
  letter-spacing: 0.1em;
  transition: opacity var(--transition);
}
.sc-tab--active,
.sc-tab:hover {
  background: #1a1a1a;
  opacity: 1;
}

/* ===== ページ見出し＋タブ ===== */
.eq-page-head {
  padding: 8% 0 4%;
  background: #fff;
  text-align: center;
}
.eq-page-ttl {
  font-family: var(--font-en-sans);
  font-size: clamp(1.6rem, 2.8vw, 2.6rem);
  font-weight: 300;
  letter-spacing: 0.2em;
  color: var(--color-main);
  margin-bottom: 3%;
}
.eq-tabs {
  display: inline-flex;
  gap: 40px;
}
.eq-tab {
  display: inline-block;
  box-sizing: border-box;
  width: 200px;
  font-family: var(--font-serif-jp);
  font-size: clamp(0.8rem, 1.0vw, 0.9rem);
  font-weight: 400;
  text-decoration: none;
  padding: 8px 0;
  text-align: center;
  background: var(--color-main);
  color: #fff;
  letter-spacing: 0.1em;
  transition: opacity var(--transition);
  margin-top: 8%;margin-bottom: 7%
}
.eq-tab--active {
  background: #1a1a1a;
}
.eq-tab:hover {
  opacity: 0.8;
}

/* ===== MV ===== */
.eq-mv {
  overflow: hidden;
}
.eq-mv-img {
  position: relative;
  width: 100%;
}
.eq-mv-img img {
  width: 100%;
  height: auto;
  display: block;
}
.eq-mv-txt {
  position: absolute;
  bottom: 8%;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-en-sans);
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  font-weight: 300;
  color: rgba(255,255,255,0.9);
  letter-spacing: 0.12em;
  margin: 0;
  pointer-events: none;
  white-space: nowrap;
}
.eq-mv-img .img-note {
  position: absolute;
  bottom: 1%;
  right: 1.5%;
  font-family: var(--font-sans-jp);
  font-size: 0.55rem;
  color: rgba(255,255,255,0.8);
}


/* ===== 共通テキスト ===== */
.sc-en-label {
  font-family: var(--font-en-sans);
  font-size: clamp(1.0rem, 1.6vw, 1.4rem);
  font-weight: 300;
  letter-spacing: 0.1em;
  color: #a29c97;
  text-align: center;
  margin-bottom: 5%;
}
.sc-sect-ttl {
  font-family: var(--font-sans-jp);
  font-size: clamp(1.1rem, 1.8vw, 1.6rem);
  font-weight: 400;
  color: var(--color-dark);
  line-height: 1.6;margin-bottom: 7%;
}
.sc-sub-ttl {
  font-family: var(--font-sans-jp);
  font-size: clamp(0.9rem, 1.2vw, 1.05rem);
  font-weight: 500;
  color: #000;
  margin-bottom: 2%;
  line-height: 1.6;
}
.sc-item-ttl {
  font-family: var(--font-sans-jp);
  font-size: clamp(0.9rem, 1.2vw, 1.05rem);
  font-weight: 500;
  color: #a29c97;;
  margin-bottom: 2%;
  line-height: 1.6;
}

.sc-col2-item--gray .sc-item-ttl {
  font-family: var(--font-sans-jp);
  font-size: clamp(0.9rem, 1.2vw, 1.05rem);
  font-weight: 500;
  color: #000;
  margin-bottom: 2%;
  line-height: 1.6;
}

.sc-service-row .sc-service-txt .sc-item-ttl {
  font-family: var(--font-sans-jp);
  font-size: clamp(0.9rem, 1.2vw, 1.05rem);
  font-weight: 500;
  color: #000;;
  margin-bottom: 2%;
  line-height: 1.6;
}


.sc-body {
  font-family: var(--font-sans-jp);
  font-size: clamp(0.9rem, 0.95vw, 0.88rem);
  font-weight: 400;
  line-height: 1.6;
  color: #000;
  margin-bottom: 3%;
}
.sc-note {
  font-family: var(--font-sans-jp);
  font-size: clamp(0.6rem, 0.75vw, 0.68rem);
  color: #000;
  line-height: 1.7;
  margin-bottom: 2%;
}

/* ===== figcaption 共通：画像内右下絶対配置 ===== */

.sc-interphone-diagram,
.sc-interphone-fig,
.sc-item-fig,
.sc-str-fig,
.sc-eval-fig,
.sc-service-fig {
  position: relative;
}


.sc-interphone-diagram figcaption,
.sc-interphone-fig figcaption,
.sc-item-fig figcaption,
.sc-str-fig figcaption,
.sc-eval-fig figcaption,
.sc-service-fig figcaption {
  position: absolute;
  bottom: 3%;
  right: 3%;
  font-family: var(--font-sans-jp);
  font-size: clamp(0.5rem, 0.65vw, 0.6rem);
  color: #000;
  line-height: 1.4;
  text-align: right;
  padding: 0;
  pointer-events: none;
}

.sc-fig-full{
  position: relative;
}
.sc-fig-full figcaption {
  position: absolute;
  bottom: -6%;
  right: 1%;
  font-family: var(--font-sans-jp);
  font-size: clamp(0.5rem, 0.65vw, 0.6rem);
  color: #000;
  line-height: 1.4;
  text-align: right;
  padding: 0;
  pointer-events: none;
}

.sc-card-fig{
  position: relative;
}
.sc-card-fig figcaption
 {
  position: absolute;
  bottom: -10%;
  right: 3%;
  font-family: var(--font-sans-jp);
  font-size: clamp(0.5rem, 0.65vw, 0.6rem);
  color:#000;
  line-height: 1.4;
  text-align: right;
  padding: 0;
  pointer-events: none;
}



/* ===== SECURITY セクション ===== */
.sc-sec {
  padding: 5% 0 4%;
  background: #fff;
}
.sc-fig-full {
  margin: 0 0 4%;
}
.sc-fig-full img {
  width: 100%;
  height: auto;
  display: block;
}
.sc-fig-full figcaption {
  font-family: var(--font-sans-jp);
  font-size: clamp(0.6rem, 0.75vw, 0.68rem);
  color: #888;
  text-align: right;
  padding: 1% 1.5%;
}

/* インターホン横並び */
.sc-interphone-wrap {
  display: flex;
  gap: 2%;
  align-items: flex-start;
  margin-bottom: 4%;
}
.sc-interphone-diagram {
  flex: none;
  width: 60%;
  margin: 0;
}
.sc-interphone-diagram img {
  width: 100%;
  height: auto;
  display: block;
}
.sc-interphone-diagram figcaption {
  font-family: var(--font-sans-jp);
  font-size: clamp(0.6rem, 0.75vw, 0.68rem);
  color: #888;
  text-align: right;
  padding: 1% 1.5%;
}
.sc-interphone-imgs {
  display: flex;
  flex-direction: column;
  gap: 3%;
}
.sc-interphone-fig {
  flex: none;
  width: 17%;
  margin: 0;
}
.sc-interphone-fig img {
  width: 100%;
  height: auto;
  display: block;
}
.sc-interphone-fig figcaption {
  font-family: var(--font-sans-jp);
  font-size: clamp(0.6rem, 0.75vw, 0.68rem);
  color: #888;
  text-align: center;
  padding: 1% 0;
  line-height: 1.5;
}

/* ===== 3カラム ===== */
.sc-col3 {
  display: flex;
  gap: 3%;
  margin-bottom: 5%;
  align-items: stretch; /* flex-start → stretch */
}

.sc-col3-item {
  flex: 1;
  display: flex;          /* 追加 */
  flex-direction: column; /* 追加 */
}

.sc-col3-item .sc-item-fig {
  margin-top: auto; /* 追加：画像を常に下に固定 */
}

.sc-col3--img-top .sc-col3-item .sc-item-fig {
  margin-top: 0; /* auto を上書き */
}

/* ===== 2カラム ===== */
.sc-col2 {
  display: flex;
  gap: 4%;
  margin-bottom: 4%;
  align-items: flex-start;
}
.sc-col2-item {
  flex: 1;
}

/* 構造セクション：3列幅に合わせた左寄せ2列 */
.sc-col2--str {
  gap: 3%;
  justify-content: flex-start;
}
.sc-col2--str .sc-col2-item {
  flex: none;
  width: calc((100% - 6%) / 3);
}
.sc-col2-item--gray {
  background: #ecebea;
  border-radius: 10px;
  padding: 4% 4%;
}

.sc-col2--left {
  gap: 3%;
  justify-content: flex-start;
}
.sc-col2--left .sc-col2-item {
  flex: none;
  width: calc((100% - 6%) / 3);
}

.sc-col2 {
  display: flex;
  gap: 4%;
  margin-bottom: 5%;
  align-items: stretch; /* flex-start → stretch */
}

.sc-col2-item {
  flex: 1;
  display: flex;          /* 追加 */
  flex-direction: column; /* 追加 */
}
.sc-col2--str .sc-col2-item {
  flex: none;
  width: calc((100% - 6%) / 3);
  display: flex;          /* 追加 */
  flex-direction: column; /* 追加 */
}

.sc-col2--str .sc-col2-item .sc-item-fig {
  margin-top: auto; /* 追加 */
}



/* カード内部：テキスト左・画像右 */
.sc-card-inner {
  display: flex;
  gap: 5%;
  align-items: flex-start;
  height: 100%;
}
.sc-card-txt {
  flex: 1;
  min-width: 0;
}
.sc-card-fig {
  flex: none;
  width: 42%;
  margin: 0;
}
.sc-card-fig img {
  width: 100%;
  height: auto;
  display: block;
}

/* エコジョーズ ロゴ */
.sc-card-logo {
  margin: 6% 0 0;
}
.sc-card-logo img {
  width: 80%;
  height: auto;
  display: block;
}
.sc-col2--left {
  display: flex;
  gap: 3%;
}
.sc-col2--left .sc-col2-item {
  flex: none;
  width: calc((100% - 6%) / 3);
}
.sc-col2-item--spacer {
  flex: none;
  width: calc((100% - 6%) / 3);
  visibility: hidden;
}

/* 図・写真共通 */
.sc-item-fig {
  margin: 2% 0 0;
}
.sc-item-fig img {
  width: 100%;
  height: auto;
  display: block;
}
.sc-item-fig .img-note {
  position: absolute;
  bottom: 1%;
  right: 1.5%;
  font-family: var(--font-sans-jp);
  font-size: 0.55rem;
  color: rgba(255,255,255,0.8);
}

/* ===== STRUCTURE セクション ===== */
.sc-str {
  padding: 0% 0 4%;
}

/* 杭基礎＋ダブル配筋 2カラム */
.sc-str-2col {
  display: flex;
  gap: 3%;
  margin-bottom: 4%;
  align-items: stretch;
}
.sc-str-2col-item {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.sc-str-2col-item--bg {
  background: #ecebea;
  border-radius: 12px;
  padding: 3% 4%;
}
/* 左列：テキスト左・画像右の横並び */
.sc-str-inner {
  display: flex;
  gap: 4%;
  align-items: center;
  height: 100%;
}
.sc-str-inner .sc-str-txt {
  flex: 1;
}
.sc-str-inner .sc-str-fig {
  width: 60%;
  flex-shrink: 0;
}
/* 右列：画像をフル幅で下に */
.sc-str-fig--full {
  width: 100%;
  margin-top: 3%;
  flex: 1;
}
.sc-str-fig--full img {
  width: 100%;
  height: auto;
  display: block;
}

/* 杭基礎・ダブル配筋 左右レイアウト */
.sc-str-row {
  display: flex;
  gap: 4%;
  align-items: center;
  margin-bottom: 4%;
}
.sc-str-row--gray {
  background: var(--color-beige);
  border-radius: 12px;
  padding: 3% 4%;
}
.sc-str-row--rev {
  flex-direction: row-reverse;
}
.sc-str-txt {
  flex: 1;
}
.sc-str-fig {
  width: 45%;
  flex-shrink: 0;
  margin: 0;
}
.sc-str-fig img {
  width: 100%;
  height: auto;
  display: block;
}
.sc-str-fig figcaption {
  font-family: var(--font-sans-jp);
  font-size: clamp(0.6rem, 0.75vw, 0.68rem);
  color: #888;
  text-align: right;
  padding: 1% 1.5%;
}
.sc-str-2col-item:first-child {
  flex: none;
  width: 66%;
}

.sc-str-2col-item:last-child {
  flex: none;
  width: 33%;
}
.sc-str-2col-item:last-child .sc-str-fig {
  width: 100%;
}

/* ===== OTHER セクション ===== */
.sc-other {
  padding: 0% 0 4%;
  background: #fff;
}

/* UCOM・J:COM 横並び帯 */
.sc-service-row {
  display: flex;
  gap: 4%;
  align-items: center;
  background: #ecebea;;
  border-radius: 12px;
  padding: 3% 4%;
  margin-bottom: 3%;color:#000
}
.sc-service-txt {
  flex: 1;
}
.sc-service-fig {
  width: 40%;
  flex-shrink: 0;
  margin: 0;
}
.sc-service-fig img {
  width: 100%;
  height: auto;
  display: block;
}

/* 性能評価図 */
.sc-eval-fig {
  flex: 1;
  margin: 0;
}
.sc-eval-fig img {
  width: 60%;
  height: auto;
  display: block;
  margin: 0 auto;
}
.sc-eval-fig figcaption {
  font-family: var(--font-sans-jp);
  font-size: clamp(0.6rem, 0.75vw, 0.68rem);
  color: #888;
  text-align: center;
  padding: 1% 0;
  line-height: 1.5;
}

/* 評価書縦2段：2枚目の上マージン */
.sc-eval-fig--mt {
  margin-top: 5%;
}

/* フラット35画像 */
.sc-item-fig--flat35 {
  margin-top: 3%;
}
.sc-item-fig--flat35 img {
  width: 60%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* ===== 第三者機関評価＋フラット35 3カラム ===== */
.sc-col3--eval {
  align-items: flex-start;
}
.sc-col3--eval .sc-col3-item:nth-child(1) {
  flex: none !important;
  width: calc((100% - 6%) * 0.41);
}
.sc-col3--eval .sc-col3-item:nth-child(2) {
  flex: none !important;
  width: calc((100% - 6%) * 0.25);
}
.sc-col3--eval .sc-col3-item:nth-child(3) {
  flex: none !important;
  width: calc((100% - 6%) * 0.34);
}

/* 中列：評価書画像をフル幅に */
.sc-col3--eval .sc-col3-item:nth-child(2) .sc-eval-fig img {
  width: 100% !important;
  margin: 0 !important;
}

/* ===== 注釈 ===== */
.sc-remarks-list {
  list-style: none;
  padding: 0;
  margin: 4% 0 0;
}
.sc-remarks-list li {
  font-family: var(--font-sans-jp);
  font-size: clamp(0.6rem, 0.75vw, 0.68rem);
  color: #888;
  line-height: 1.8;
  padding-left: 1.5%;
  position: relative;
}
.sc-remarks-list li::before {
  content: '※';
  position: absolute;
  left: 0;
}.sc-col3--eval .sc-col3-item:nth-child(2) .sc-eval-fig figcaption {
  position: static;
  text-align: left;
  color: #888;
  padding: 1% 0;
}