@charset "UTF-8";

.environment .h1-box {
   background-image: url("../img/evi_img/evi-header_pc.png")
}
.environment .entryBtn {
   display: none !important;
}
.evi-box {
   margin-bottom: 70px;
}
.evi-box.split .txt-box {
   width: 45%;
}
.evi-box.split .img-box {
   width: 50%;
}
.evi-box.flip .txt-box {
   order: 2;
}
.evi-box.flip .img-box {
   order: 1;
}
.environment h4 {
   font-size: 17px;
   font-weight: 600;
   padding-bottom: 5px;
   margin-bottom: 8px;
   border-bottom: solid 2px #EFEFEF;
}
.environment .section01 {
   padding: 0 0 80px; /* 旧100px：セクション間の余白を詰めました */
   position: relative;
   z-index: 0;
}
/* 背景のグレー帯：以前は section01 全体の途中から下に敷いていたため、
   上の「教育研修」カードのエリアにまで掛かっていました。
   下の .training-schedule:before に移し、研修スケジュールのブロックだけに収めています。
   方眼（マス目）の背景は削除済みです。 */
.environment .section01 .content-box {
   max-width: 1200px;
   position: relative;
   z-index: 1;
}
.environment .training-grid {
   display: flex;
   flex-wrap: wrap;
   justify-content: space-between;
   gap: 16px 0;
}
.environment .training-card {
   width: calc((100% - 32px) / 3);
   min-height: 228px;
   box-sizing: border-box;
   padding: 55px 30px 35px;
   border: solid 1px #006CB6;
   background: #EDF6F8;
}
.environment .training-card h4 {
   border: 0;
   font-size: min(2.2vw, 22px);
   font-weight: 600;
   text-align: center;
   line-height: 1.2;
   margin-bottom: 30px;
   padding: 0;
}
.environment .training-card p {
   font-size: 16px;
   line-height: 2;
}
.environment .training-schedule {
   margin-top: 120px;
   position: relative;
   z-index: 0;
}
/* 研修スケジュールのブロックだけに敷く薄いグレーの背景（画面の左右いっぱいに広がります）。
   上下の -60px は、文字や枠にくっつかないように背景を少し外側まで伸ばすための余白です。 */
.environment .training-schedule:before {
   content: "";
   position: absolute;
   left: calc(50% - 50vw);
   width: 100vw;
   top: -60px;
   bottom: -60px;
   z-index: -1;
   background-color: #FAFAFA;
}
.environment .training-schedule .schedule-label {
   display: inline-block;
   background: #879496;
   color: #FFF;
   font-family: 'Noto Sans JP', 'Hiragino Sans', 'Yu Gothic', 'YuGothic', 'Meiryo', sans-serif;
   font-size: 18px;
   font-weight: 600;
   line-height: 1;
   padding: 11px 16px;
   margin-bottom: 40px;
}
.environment .schedule-steps {
   display: flex;
   justify-content: flex-start;
   gap: 44px;
   margin-bottom: 60px;
}
.environment .schedule-steps li {
   width: calc((100% - 176px) / 5);
   aspect-ratio: 1 / 1;
   border: solid 1px #7DBBE8;
   background: #EDF6F8;
   font-family: 'Noto Sans JP', 'Hiragino Sans', 'Yu Gothic', 'YuGothic', 'Meiryo', sans-serif;
   font-size: 17px;
   font-weight: 600;
   line-height: 1.35;
   text-align: center;
   display: flex;
   justify-content: center;
   align-items: center;
   position: relative;
}
.environment .schedule-steps li:not(:last-child):after {
   content: "";
   position: absolute;
   width: 0;
   height: 0;
   left: calc(100% + 18px);
   top: calc(50% - 11px);
   border-top: 11px solid transparent;
   border-bottom: 11px solid transparent;
   border-left: 13px solid #006CB6;
}
.environment .schedule-card {
   border: solid 1px #7DBBE8;
   background: #FFF;
   box-sizing: border-box;
   padding: 20px 30px;
   margin-bottom: 20px;
   display: flex;
   align-items: center;
   justify-content: space-between;
}
.environment .schedule-card .txt-box {
   width: calc(100% - 260px);
}
.environment .schedule-card .img-box {
   width: 230px;
}
.environment .schedule-card .img-box img {
   width: 100%;
   height: auto;
   object-fit: cover;
}
.environment .schedule-card h4 {
   border: 0;
   color: #006CB6;
   font-size: min(1.6vw, 22px);
   line-height: 1.35;
   margin-bottom: 30px;
   padding: 0;
}
.environment .schedule-card p {
   font-size: 16px;
   line-height: 1.95;
}
.environment .section02 {
   padding: 80px 0 100px; /* 旧120px 0 120px：セクション上の余白を詰めました */
   background: #fff;
}
.environment .section02 .content-box {
   max-width: 1200px;
}
.environment .benefit-grid {
   display: flex;
   flex-wrap: wrap;
   justify-content: space-between;
   gap: 16px 0;
}
.environment .benefit-card {
   width: calc((100% - 16px) / 2);
   min-height: 118px;
   box-sizing: border-box;
   border: solid 1px #006CB6;
   background: #EDF6F8;
   padding: 30px 30px 30px 20px;
   display: flex;
   justify-content: space-between;
   gap: 30px;
}
.environment .benefit-head {
   width: 42%;
   min-width: 145px;
   display: flex;
   align-items: center;
   gap: 15px;
}
.environment .benefit-ico {
   width: 64px;
   height: 64px;
   flex-shrink: 0;
   border-radius: 0;
   background: transparent;
   display: inline-flex;
   align-items: center;
   justify-content: center;
}
.environment .benefit-ico img {
   width: 100%;
   height: 100%;
   display: block;
   object-fit: contain;
}
.environment .benefit-card h4 {
   border: 0;
   padding: 0;
   margin: 0;
   font-size: min(1.9vw, 20px);
   line-height: 1.25;
   overflow-wrap: break-word;
}
.environment .benefit-card > p {
   flex: 1;
   min-width: 0;
   margin: 0;
   font-size: 16px;
   line-height: 1.85;
}
.environment .section03 {
   padding: 80px 0 50px; /* 旧120px：セクション上の余白を詰めました */
   background: #EDF6F8;
}
.office-tour {
   display: flex;
   flex-wrap: wrap;
   justify-content: space-between;
}
.office-tour li {
   width: 46%;
   margin-bottom: 50px;
}
.office-tour li .img-box {
   position: relative;
}
.office-tour li .txt-box {
   position: relative;
   width: 86%;
   margin: 0 auto;
   top: -20px;
   background: #FFF;
   box-sizing: border-box;
   padding: 30px 40px;
   border-top: solid 3px #006CB6;
   z-index: 1;
}
.office-tour li .txt-box .office-name {
   text-align: center;
   font-weight: 500;
   font-size: 16px;
   padding-bottom: 5px;
}


@media screen and (max-width: 1023px) {
   .top-header-links {
      display: none;
   }
   br.pc-br {
      display: none;
   }
.environment .training-grid {
   gap: 12px;
}
.environment .training-card {
   width: calc((100% - 12px) / 2);
   min-height: 0;
   padding: 36px 20px 28px;
}
.environment .training-card h4 {
   font-size: min(3.2vw, 22px);
   margin-bottom: 20px;
}
.environment .training-card p {
   font-size: 15px;
}
.environment .schedule-card p {
   font-size: 14px;
   line-height: 1.8;
}
.environment .section02 {
   padding: 60px 0 10px;
   /* 背景色（#F5F8F8）は削除しました。PCと同じ白になります。
      戻すときは下の行のコメント記号を外してください。
   background: #F5F8F8; */
}
.environment .section02 .content-box {
   width: 90%;
}
.environment .benefit-grid {
   display: block;
}
.environment .benefit-card {
   width: 100%;
   min-height: 0;
   padding: 30px 30px 30px 20px;
   margin-bottom: 10px;
   display: block;
}
.environment .benefit-head {
   width: 100%;
   min-width: 0;
   margin-bottom: 10px;
   gap: 15px;
}
.environment .benefit-ico {
   width: 64px;
   height: 64px;
}
.environment .benefit-card h4 {
   font-size: min(6vw, 20px);
}
.environment .benefit-card > p {
   width: 100%;
   font-size: 16px;
   line-height: 1.75;
}
.environment .section03 {
   padding: 60px 0 10px;
}
.office-tour {
   display: flex;
   flex-wrap: wrap;
   justify-content: space-between;
}
.office-tour li {
   width: 100%;
   margin-bottom: 20px;
}
.office-tour li .img-box {
   position: relative;
}
.office-tour li .txt-box {
   position: relative;
   width: 90%;
   margin: 0 auto;
   top: -20px;
   background: #FFF;
   box-sizing: border-box;
   padding: 30px 10px;
   border-top: solid 3px #006CB6;
   z-index: 1;
}
.office-tour li .txt-box .office-name {
   text-align: center;
   font-weight: 500;
   font-size: 16px;
   padding-bottom: 5px;
}
}

@media screen and (max-width: 767px) {
.environment .training-grid {
   display: block;
}
.environment .training-card {
   width: 100%;
   padding: 30px 18px 24px;
   margin-bottom: 10px;
}
.environment .training-card h4 {
   font-size: min(6vw, 22px);
   margin-bottom: 14px;
}
.environment .training-card p {
   font-size: 14px;
   line-height: 1.9;
}
}

@media screen and (max-width: 1023px) {
.environment .section01 {
   padding: 0 0 56px; /* 旧70px：セクション間の余白を詰めました */
}
.environment .section01 .content-box,
.environment .section02 .content-box,
.environment .section03 .content-box {
   width: 90%;
}
.environment .training-schedule {
   margin-top: 80px;
}
.environment .training-schedule:before {
   top: -40px;
   bottom: -40px;
}
.environment .training-schedule .schedule-label {
   display: inline-block;
   width: auto;
   margin-bottom: 24px;
}
.environment .schedule-steps {
   display: flex;
   justify-content: flex-start;
   gap: clamp(12px, 2vw, 24px);
   margin-bottom: 32px;
}
.environment .schedule-steps li {
   width: calc((100% - 96px) / 5);
   aspect-ratio: 1 / 1;
   min-height: 0;
   padding: 8px;
}
.environment .schedule-steps li:not(:last-child):after {
   left: calc(100% + 4px);
   top: calc(50% - 9px);
   border-top: 9px solid transparent;
   border-bottom: 9px solid transparent;
   border-left: 11px solid #006CB6;
}
.environment .schedule-card {
   padding: 20px 30px;
   display: flex;
   align-items: center;
   justify-content: space-between;
}
.environment .schedule-card .txt-box {
   width: calc(100% - 230px);
}
.environment .schedule-card .img-box {
   width: 200px;
   margin: 0;
}
.environment .schedule-card .img-box img {
   display: block;
}
.environment .schedule-card h4 {
   text-align: left;
   margin-bottom: 20px;
}
.environment .section02 {
   padding: 50px 0 30px; /* 旧70px：セクション上の余白を詰めました */
}
.environment .benefit-card {
   padding: 24px 20px;
}
.environment .benefit-head {
   justify-content: center;
}
.environment .benefit-card h4 {
   text-align: center;
}
.environment .section03 {
   padding: 50px 0 20px; /* 旧70px：セクション上の余白を詰めました */
}
}

@media screen and (max-width: 767px) {
.environment .section01 {
   padding: 0 0 48px; /* 旧56px：セクション間の余白を詰めました */
}
.environment .training-schedule {
   margin-top: 56px;
}
.environment .training-schedule:before {
   top: -32px;
   bottom: -32px;
}
.environment .training-schedule .schedule-label {
   font-size: 14px;
   padding: 9px 12px;
   margin-bottom: 16px;
}
.environment .schedule-steps {
   display: flex;
   flex-direction: column;
   gap: 14px;
   margin-bottom: 20px;
}
.environment .schedule-steps li {
   width: 100%;
   aspect-ratio: auto;
   min-height: 0;
   font-size: 14px;
   line-height: 1.35;
   padding: 20px 20px;
}
.environment .schedule-steps li:not(:last-child):after {
   left: 50%;
   top: auto;
   bottom: -12px;
   transform: translateX(-50%) rotate(90deg);
}
.environment .schedule-details {
   display: block;
}
.environment .schedule-card {
   display: block;
   padding: 20px 20px;
}
.environment .schedule-card .txt-box {
   width: 100%;
}
.environment .schedule-card .img-box {
   width: 70%;
   margin: 14px auto 0;
}
.environment .schedule-card h4 {
   font-size: min(5vw, 20px);
   margin-bottom: 10px;
   text-align: center;
}
.environment .schedule-card p {
   font-size: 14px;
   line-height: 1.8;
}
.environment .section02 {
   padding: 40px 0 10px; /* 旧56px：セクション上の余白を詰めました */
}
.environment .benefit-card {
   padding: 18px 14px;
}
.environment .benefit-head {
   gap: 10px;
   margin-bottom: 8px;
}
.environment .benefit-card > p {
   font-size: 14px;
   line-height: 1.8;
}
.environment .section03 {
   padding: 40px 0 10px; /* 旧56px：セクション上の余白を詰めました */
}
.office-tour li .txt-box {
   width: 92%;
   padding: 22px 14px;
   top: -14px;
}
}

@media screen and (max-width: 767px) {
  .environment .h1-box {
    background-image: url("../img/evi_img/evi-header_sp.png");
  }
}
