/* ========================================
　　environment.css
   業界を知るページ
   ======================================== */

/*--------------- スマートIFM ダイアグラム ---------------*/
.smart-ifm__diagram-img {
  margin: 0 auto;
}

/*--------------- だからこそ、この仕事には未来があります ---------------*/
.industry-future {
  position: relative;
  overflow: hidden;
  background-image: url('../img/indutry-future-bg.jpg');
  background-size: cover;
  background-position: center;
  padding: 130px 0 80px;
}

.industry-future::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgb(40 86 190 / 60%);
  z-index: 0;
}

.industry-future::after {
  content: '';
  position: absolute;
  inset: 0;
  /* background: linear-gradient(to top, rgb(239 242 246) 0%, rgb(239 242 246) 10%, rgba(255, 255, 255, 0) 70%); */
  background: linear-gradient(to top, rgb(255 255 255) 0%, rgb(239 242 246) 10%, rgba(255, 255, 255, 0) 70%);
  z-index: 0;
}

.industry-future__inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--side-pad);
}

.industry-future__heading {
  font-weight: 600;
  font-size: 36px;
  line-height: 1.4;
  color: var(--white);
  text-align: center;
  margin-bottom: 48px;
}

.industry-future__cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.industry-future__card {
  background: #fff;
  padding: 28px 24px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.industry-future__card-title {
  font-weight: 600;
  font-size: 18px;
  text-align: center;
  line-height: 1.5;
  color: var(--black);
}

.industry-future__card-body {
  font-weight: 500;
  font-size: 14px;
  line-height: 1.8;
  color: var(--black);
}

/*--------------- ファシリティマネジメントという仕事 ---------------*/
.fm-box {
  background: var(--white);
  border-radius: 10px;
  padding: 48px 40px 56px;
  margin-top: 48px;
}

.fm-box__heading {
  font-weight: 600;
  font-size: 32px;
  line-height: 1.3;
  color: var(--black);
  text-align: center;
  margin-bottom: 36px;
}

/* ライフサイクルコスト */
.fm-lifecycle__desc {
  font-weight: 500;
  font-size: 16px;
  line-height: 1.8;
  color: var(--black);
  margin-bottom: 20px;
}

.fm-lifecycle__bar {
  display: flex;
  height: 100px;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 0;
}

.fm-lifecycle__bar-construction {
  width: 21%;
  background: #c8d8e8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 18px;
  color: var(--black);
  flex-shrink: 0;
}

.fm-lifecycle__bar-operation {
  flex: 1;
  background: var(--nec-blue);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-weight: 600;
  font-size: 22px;
  color: var(--white);
  border-radius: 0 10px 10px 0;
}

.fm-lifecycle__bar-sub {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
}

.fm-lifecycle__img-wrap {
  position: relative;
  margin-top: 4px;
}

.fm-lifecycle__img {
  width: 100%;
  display: block;
}

.fm-lifecycle__note {
  text-align: right;
  font-size: 14px;
  font-weight: 500;
  color: var(--black);
  margin-top: 4px;
}

/* Before / After 比較 */
.fm-comparison {
  display: flex;
  align-items: stretch;
  gap: 16px;
  margin-top: 72px;
}

.fm-comparison__col {
  flex: 1;
  position: relative;
  display: flex;
  flex-direction: column;
}

.fm-comparison__badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #D9DFE9;
  width: 214px;
  /* border: 1px solid var(--nec-blue); */
  border-radius: 50px;
  padding: 8px 32px;
  font-family: "Noto Sans", "Noto Sans JP", sans-serif;
  font-size: 20px;
  color: var(--black);
  text-transform: uppercase;
  white-space: nowrap;
  z-index: 1;
}

.fm-comparison__badge--after {
  background: var(--nec-blue);
  color: var(--white);
}

.fm-comparison__box {
  flex: 1;
  /* border: 1px solid var(--nec-blue); */
  border-radius: 10px;
  padding: 52px 24px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.fm-comparison__box--before {
  background: var(--gray-bg);
}

.fm-comparison__box--after {
  background: var(--gray-bg);
}

.fm-comparison__title {
  font-weight: 600;
  font-size: 26px;
  line-height: 1.3;
  color: #000;
}

.fm-comparison__title--navy {
  color: var(--black);
}

.fm-comparison__body {
  font-weight: 500;
  font-size: 16px;
  line-height: 1.8;
  color: #000;
}

.fm-comparison__body strong{
  font-size: 18px;
}

.fm-comparison__body--navy {
  color: var(--black);
}

.fm-comparison__arrow {
  width: 34px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/*------------ 02 産業施設 ------------*/
.industrial-facilities__wrapper{
  display: flex;
  flex-flow: column;
  gap: 24px;
}

.industrial-facilities__box{
  display: flex;
  align-items: center;
  gap: 30px;
  /* border: 1px solid var(--nec-blue); */
  border-radius: 10px;
  background: var(--white);
  padding: 24px;
}
.industrial-facilities__img{
  width: 356px;
  flex-shrink: 0;
  aspect-ratio: 356 / 240;
  overflow: hidden;
}
.industrial-facilities__img img{
  width: 100%;
  height: 100%;
  border-radius: 10px;
  object-fit: cover;
  display: block;
}

.industrial-facilities__text{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}


.industrial-facilities__text p{
  color: #000;
}

.industrial-facilities__tags{
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 12px;
}

.industrial-facilities__tag{
  display: flex;
  /* padding: 4px 20px; */
  justify-content: center;
  align-items: center;
  /* gap: 10px; */
  font-size: 14px;
  font-weight: 600;
  color: var(--nec-blue);
  /* border-radius: 50px; */
  /* border: 1px solid var(--nec-blue); */
  /* background: var(--white); */
}

/*------------ 03 成長している理由 ------------*/
.reason__wrapper{
  display: flex;
  align-items: center;
  gap: 30px;
}
.reason__box{
  flex: 1;
  background: var(--white);
  border-radius: 10px;
  /* border: 1px solid var(--nec-blue); */
  padding: 8px 24px 24px;
}

.reason__title--wrap{
  display: flex;
  align-items: center;;
  gap: 8px;
}

.reason__number{
  font-style: italic;
  color: var(--nec-blue);
  font-size: 40px;
  font-weight: 350;
}

.reason__title{
  font-size: 20px;
}

.reason__text{
  color: #000;
}

/*------------ 04 建てる前から建てた後まで ------------*/
.lifecycle-steps {
  display: flex;
  align-items: stretch;
  gap: 8px;
  margin-top: 40px;
  padding-bottom: 80px;
}

.lifecycle-step {
  flex: 1;
  min-width: 0;
  position: relative;
  min-height: 177px;
}

/* ::before → 青ボーダー層 */
.lifecycle-step::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--nec-blue);
  clip-path: polygon(0% 0%, calc(100% - 27px) 0%, 100% 50%, calc(100% - 27px) 100%, 0% 100%);
}

/* ::after */
.lifecycle-step::after {
  content: '';
  position: absolute;
  inset: 0;
  background: white;
  clip-path: polygon(
    1px 1px,
    calc(100% - 28px) 1px,
    calc(100% - 1px) 50%,
    calc(100% - 28px) calc(100% - 1px),
    1px calc(100% - 1px)

  );
}

.lifecycle-step__content {
  position: relative;
  z-index: 1;
  padding: 28px 40px 28px 36px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
  box-sizing: border-box;
}

.lifecycle-step__label {
  font-size: 18px;
  font-weight: 400;
  color: var(--nec-blue);
  line-height: 1.8;
}

.lifecycle-step__title {
  font-size: 24px;
  font-weight: 600;
  color: var(--nec-blue);
  line-height: 1.4;
}

.lifecycle-step__body {
  font-size: 14px;
  font-weight: 600;
  color: var(--black);
  line-height: 1.6;
}

/*------------ 福利厚生 ------------*/
.support .c-icon-card{
  min-height: 260px;
}


/* ========================================
   レスポンシブ 1024px
   ======================================== */
@media (max-width: 1024px) {

  /* 01ファシリティマネジメント */
  .fm-box {
    padding: 32px 20px 40px;
    margin-top: 32px;
  }

  .fm-box__heading {
    font-size: 22px;
    margin-bottom: 24px;
  }

  .fm-lifecycle__bar-construction {
    font-size: 12px;
  }

  .fm-lifecycle__bar-operation {
    font-size: 14px;
  }

  .fm-lifecycle__bar-sub {
    font-size: 12px;
  }

  .fm-comparison {
    flex-direction: column;
    margin-top: 52px;
  }
  .fm-comparison__box {
    padding: 52px 16px 28px;
  }
  .fm-comparison__col{
    margin-top: 20px;
  }

  .fm-comparison__arrow {
    transform: rotate(90deg);
    align-self: center;
    margin: 8px 0;
  }
  .fm-comparison__title {
    font-size: 20px;
  }


  /* 02 産業施設 */
  .industrial-facilities__box{
    flex-flow: column;
  }
  .industrial-facilities__img{
    width: 100%;
  }
  /* 03 成長理由 */
  .reason__wrapper{
    flex-flow: column;
    gap: 24px;
  }

  /* 04 建てる前から建てた後まで */
  .lifecycle-steps {
    flex-direction: column;
    gap: 12px;
    padding-bottom: 60px;
    max-width: 300px;
    margin: auto;
  }

  .lifecycle-step {
    margin-left: 0;
    min-height: auto;
    text-align: center;
  }
  .lifecycle-step::before {
    clip-path: polygon(0% 0%, 100% 0%, 100% calc(100% - 36px), 50% 100%, 0% calc(100% - 36px));
  }
  .lifecycle-step::after {
    inset: 0;
    clip-path: polygon(
      2px 2px,
      calc(100% - 2px) 2px,
      calc(100% - 2px) calc(100% - 38px),
      50% calc(100% - 2px),
      2px calc(100% - 38px)
    );
  }
  .lifecycle-step__content {
    padding: 20px 24px 52px;
  }

  /* industry-future */
    .industry-future {
    padding: 60px 0 50px;
  }

  .industry-future__heading {
    font-size: 24px;
    margin-bottom: 32px;
  }

  .industry-future__cards {
    grid-template-columns: 1fr;
    gap: 12px;
    max-width: 460px;
    margin: auto;
  }

  .industry-future__card-title {
    text-align: center;
  }
  /*------------ 福利厚生 ------------*/
  .support .c-icon-card{
    min-height: 182px;
  }
}
