@charset "UTF-8";
.technology-detail-nav-item {
  width: 100%;
}
@media screen and (max-width: 768px) {
  .technology-detail-nav-item {
    text-align: left;
  }
}

.technology-detail-mv {
  padding: 0;
  max-width: 1440px;
  position: relative;
  overflow: hidden;
}

/* 背景写真：幅1440px未満から縮小が始まる（1440×670） */
.technology-detail-mv-bg {
  display: block;
  aspect-ratio: 1440/670;
  overflow: hidden;
  position: relative;
  /* スマホ：一体化画像（mv_sp.png）を拡大せず表示 */
}
.technology-detail-mv-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
@media screen and (max-width: 768px) {
  .technology-detail-mv-bg {
    min-width: 0;
    left: 0;
    transform: none;
    aspect-ratio: auto;
  }
  .technology-detail-mv-bg img {
    position: static;
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
  }
}

/* 手前のタイトル：1024pxで表示、画像高さの中央に配置、1024px以下で全幅・縮小 */
.technology-detail-mv-title {
  position: absolute;
  top: 50%;
  left: 49.5%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 90%;
  max-width: 1200px;
  pointer-events: none;
  /* スマホ：一体化画像のため非表示 */
}
.technology-detail-mv-title img {
  width: 100%;
  height: auto;
  display: block;
}
@media screen and (max-width: 1024px) {
  .technology-detail-mv-title {
    left: 0;
    right: 0;
    transform: translateY(-50%);
    width: 100%;
    max-width: none;
    padding: 0 20px;
    box-sizing: border-box;
  }
  .technology-detail-mv-title img {
    width: 100%;
  }
}
@media screen and (max-width: 768px) {
  .technology-detail-mv-title {
    display: none;
  }
}

@media screen and (min-width: 769px) {
  .sp-sup {
    display: none;
  }
}

.technology-detail-section-column-02 {
  padding: 60px 73px;
}
@media screen and (max-width: 768px) {
  .technology-detail-section-column-02 {
    padding: 30px 20px;
  }
}

/* 共通 */
/* ========================= */
@media screen and (max-width: 768px) {
  .technology-detail-section-row-item {
    gap: 10px;
  }
}
@media screen and (max-width: 768px) {
  .technology-detail-section-row-item-heading {
    order: 2;
    margin: 0;
  }
}
@media screen and (max-width: 768px) {
  .technology-detail-section-row-image {
    order: 1;
    margin: 0;
  }
}
@media screen and (max-width: 768px) {
  .technology-detail-section-row-text {
    order: 3;
    margin: 0;
  }
}

/* section1 */
/* ========================= */
/* 3カラム行：共通 detail の SP 上余白 80px を本ページ section1 のみ 40px に */
@media screen and (max-width: 768px) {
  #section1 .technology-detail-section-row-wrap {
    margin-top: 40px;
  }
}

/* section2 */
/* ========================= */
/* ナビ02：共通 JS の -170/-146 より少し上に合わせる（index.js と同値） */
#section2 {
  scroll-margin-top: 210px;
}
@media screen and (max-width: 768px) {
  #section2 {
    scroll-margin-top: 106px;
  }
}
#section2 .technology-detail-section-column-02-image {
  width: 53%;
}
@media screen and (max-width: 768px) {
  #section2 .technology-detail-section-column-02-image {
    width: 100%;
  }
}

/* section3 */
/* ========================= */
@media screen and (max-width: 768px) {
  #section3 .technology-detail-section-column-image {
    margin-top: 30px;
    margin-bottom: 30px;
  }
}
@media screen and (max-width: 768px) {
  #section3 .technology-detail-section-column > .sp-only {
    margin-top: 0;
    text-align: right;
  }
  #section3 .technology-detail-section-column > .sp-only .technology-detail-section-column-link {
    margin-top: 0;
  }
}

/* section4 */
/* ========================= */
/* 関連カード：PC 3カラム（368px × 3、gap 40px）／親幅不足時のみ折り返し／SP は縦積み */
#section4 .technology-detail-section-inner.technology-inner {
  container-type: inline-size;
  container-name: section4-cards;
}
@media screen and (min-width: 769px) {
  #section4 .technology-detail-section-inner.technology-inner {
    /* 1220px枠内で 368×3+40×2=1184px を確保（左右18px） */
    padding-left: 18px;
    padding-right: 18px;
  }
}
#section4 .technology-detail-section-cards {
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  align-items: stretch;
}
@media screen and (max-width: 768px) {
  #section4 .technology-detail-section-cards {
    display: block;
    align-items: normal;
    gap: 0;
  }
}
#section4 .technology-detail-section-card {
  width: 368px;
  max-width: 100%;
  flex: 0 1 368px;
  display: flex;
  flex-direction: column;
}
@media screen and (max-width: 768px) {
  #section4 .technology-detail-section-card {
    width: 100%;
    max-width: none;
    flex: none;
    display: block;
  }
}
#section4 .technology-detail-section-card-heading {
  flex-shrink: 0;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  box-sizing: border-box;
  line-height: 1.5;
  font-size: 16px;
}
#section4 .technology-detail-section-card-inner {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  flex: 1;
  align-items: stretch;
  justify-content: flex-start;
  min-height: 0;
  padding: 24px 24px 0;
}
@media screen and (max-width: 768px) {
  #section4 .technology-detail-section-card-inner {
    display: block;
    flex: none;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    min-height: auto;
    padding: 20px 20px 63px;
  }
}
#section4 .technology-section-card-image {
  width: 100%;
  height: 240px;
  overflow: hidden;
  border-radius: 8px;
  flex-shrink: 0;
}
#section4 .technology-section-card-image picture {
  display: block;
  width: 100%;
  height: 100%;
}
#section4 .technology-section-card-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 8px;
}
@media screen and (max-width: 768px) {
  #section4 .technology-section-card-image {
    height: auto;
    overflow: visible;
  }
  #section4 .technology-section-card-image picture {
    height: auto;
  }
  #section4 .technology-section-card-image img {
    height: auto;
    object-fit: initial;
  }
}
#section4 .technology-detail-section-card-text {
  width: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
@media screen and (max-width: 768px) {
  #section4 .technology-detail-section-card-text {
    flex: none;
    display: block;
    min-height: auto;
  }
}
#section4 .technology-detail-section-card-title {
  flex-shrink: 0;
  margin-top: 16px;
  margin-bottom: 0;
  font-size: 18px;
  line-height: 1.5;
  /* 2行分の高さを確保（1行は縦中央） */
  min-height: 3em;
  display: flex;
  align-items: center;
}
@media screen and (max-width: 768px) {
  #section4 .technology-detail-section-card-title {
    min-height: auto;
    display: block;
    margin-top: 17px;
  }
}
#section4 .technology-detail-section-card-lead {
  flex: 1;
  margin-top: 10px;
  margin-bottom: 0;
}
@media screen and (max-width: 768px) {
  #section4 .technology-detail-section-card-lead {
    flex: none;
  }
}
#section4 .technology-detail-section-card-lead-note {
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.6;
}
@media screen and (max-width: 768px) {
  #section4 .technology-detail-section-card-lead-note {
    font-size: 13px;
  }
}
#section4 .technology-detail-section-card-link {
  position: relative;
  flex-shrink: 0;
  margin-top: 40px;
  right: 10px;
  align-self: stretch;
  width: 100%;
  text-align: right;
  box-sizing: border-box;
}
#section4 .technology-detail-section-card-link .technology-detail-section-card-link-arrow {
  top: 1.5px;
  right: 0;
}
@media screen and (max-width: 768px) {
  #section4 .technology-detail-section-card-link {
    position: absolute;
    bottom: 24px;
    right: 24px;
    width: auto;
    text-align: left;
    margin-top: 0;
    align-self: auto;
  }
}

/* 親幅1184px以上で3列固定、未満で折り返し */
@container section4-cards (min-width: 1184px) {
  #section4 .technology-detail-section-cards {
    flex-wrap: nowrap;
  }
  #section4 .technology-detail-section-card {
    flex: 0 0 368px;
    width: 368px;
    max-width: none;
  }
}
