@charset "UTF-8";
/* ========== PC/SP切り替え（図+カード） ========== */
.menshin-pc-only {
  display: block;
}

.menshin-sp-only {
  display: none;
}

@media screen and (max-width: 768px) {
  .menshin-pc-only {
    display: none;
  }
  .menshin-sp-only {
    display: block;
  }
}
/* ========== セクション横並び（PC） ========== */
@media screen and (min-width: 769px) {
  .technology-detail-section-row {
    max-width: 1110px;
    margin: 40px auto 0;
    gap: 50px;
  }
}
#section1 .technology-detail-section-image img {
  max-width: 819px;
  width: 100%;
}
@media screen and (max-width: 1110px) and (min-width: 769px) {
  #section1 .technology-detail-section-image img {
    width: 80%;
  }
}

/* ========== 三位一体スライダー ========== */
.menshin-system-slider {
  margin-top: 0;
}
@media screen and (max-width: 768px) {
  .menshin-system-slider {
    margin-top: 30px;
    max-width: 370px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* PC: Swiper無効化 → 3カード横並び */
@media screen and (min-width: 769px) {
  .menshin-swiper .swiper-wrapper {
    display: flex;
    gap: 3%;
  }
  .menshin-swiper .swiper-slide {
    flex: 1;
    width: auto !important;
    min-width: 0;
    height: auto;
  }
}
/* SP: 図の切り替え */
.menshin-diagram {
  position: relative;
}
@media screen and (max-width: 768px) {
  .menshin-diagram {
    max-width: 370px;
    margin-left: auto;
    margin-right: auto;
  }
}

.menshin-diagram-img {
  width: 100%;
  height: auto;
  display: none;
}
.menshin-diagram-img.is-active {
  display: block;
}

.menshin-area {
  position: absolute;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
  z-index: 5;
}

/* SP: 左右ナビボタン */
.menshin-swiper-button-prev,
.menshin-swiper-button-next {
  display: none;
}

@media screen and (max-width: 768px) {
  .menshin-swiper {
    position: relative;
    overflow: visible;
  }
  .menshin-swiper-button-prev,
  .menshin-swiper-button-next {
    display: block;
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: 35px;
    height: 35px;
    z-index: 3;
    transition: opacity 0.3s ease;
  }
  .menshin-swiper-button-prev.swiper-button-disabled,
  .menshin-swiper-button-next.swiper-button-disabled {
    opacity: 0.7;
  }
  .menshin-swiper-button-prev {
    left: 0;
    transform: translate(-50%, -50%);
    background: url(/technology/img/common/slider_icon_prev.png) no-repeat center center/cover;
  }
  .menshin-swiper-button-next {
    right: 0;
    transform: translate(50%, -50%);
    background: url(/technology/img/common/slider_icon_next.png) no-repeat center center/cover;
  }
}
/* カード共通 */
.menshin-system-card {
  background: #F5F5F5;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}
@media screen and (max-width: 768px) {
  .menshin-system-card {
    border-radius: 10px;
    min-height: 400px;
  }
}

.menshin-system-card-label {
  background: #5B3219;
  color: #fff;
  font-size: 16px;
  text-align: center;
  padding: 14px 12px;
  line-height: 1.4;
}

.menshin-system-card-image {
  padding: 6% 6% 5% 6%;
}
.menshin-system-card-image img,
.menshin-system-card-image video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

.menshin-system-card-body {
  padding: 0 6% 6%;
  flex: 1;
}
@media screen and (max-width: 768px) {
  .menshin-system-card-body {
    padding: 0 16px 16px;
  }
}

.menshin-system-card-heading {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
}
@media screen and (max-width: 768px) {
  .menshin-system-card-heading {
    font-size: 16px;
  }
}

.menshin-system-card-text {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.8;
}
@media screen and (max-width: 768px) {
  .menshin-system-card-text {
    font-size: 13px;
  }
}

/* ========== セクション2 動画タイトル ========== */
.menshin-video-title {
  font-size: 20px;
  font-weight: 500;
  text-align: center;
  margin-bottom: 16px;
}
@media screen and (max-width: 768px) {
  .menshin-video-title {
    font-size: 18px;
    margin-bottom: 12px;
  }
}

.technology-detail-section-row-item video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

/* ========== 認定ブロック ========== */
.menshin-certification {
  margin-top: 48px;
}
@media screen and (max-width: 768px) {
  .menshin-certification {
    margin-top: 30px;
  }
}

.menshin-certification-box {
  border: 2px solid #1F296F;
}

.menshin-certification-heading {
  background: #1F296F;
  color: #fff;
  font-size: 24px;
  font-weight: 500;
  text-align: center;
  padding: 12px 20px;
  line-height: 1.6;
}
@media screen and (max-width: 768px) {
  .menshin-certification-heading {
    font-size: 18px;
    padding: 20px 16px;
  }
}

.menshin-certification-body {
  padding: 24px 38px;
  font-size: 15px;
  line-height: 1.8;
}
@media screen and (max-width: 768px) {
  .menshin-certification-body {
    padding: 20px;
    font-size: 14px;
  }
}

.menshin-certification-note {
  margin-top: 20px;
  font-size: 12px;
  line-height: 1.6;
  color: #333;
}
@media screen and (max-width: 768px) {
  .menshin-certification-note {
    font-size: 13px;
  }
}
