@charset "UTF-8";

.sTrainingWelfareBody {
  padding: 2.75rem 0 3.5rem 0;
}

@media screen and (max-width: 540px) {
  .sTrainingWelfareBody {
    padding: 2.3rem 0 2.3rem 0;
  }
}

.sTrainingWelfare {
  padding: 2rem 0 6.8rem 0;
}

@media screen and (max-width: 540px) {
  .sTrainingWelfare {
    padding: 3.1rem 0;
  }
}

.sTrainingWelfare__text {
  margin: 0 auto 2.25rem auto;
  width: 870px;
  max-width: 90%;
}

@media screen and (max-width: 540px) {
  .sTrainingWelfare__text {
    margin: 0 auto 1.25rem auto;
    width: 100%;
    max-width: none;
  }
}

.cbp_tmlabel {
  display: flex;
  gap: 3.5vw;
}

@media screen and (max-width: 540px) {
  .cbp_tmlabel {
    flex-direction: column;
  }
}

.tmtimeline li:last-child .cbp_tmlabel::after {
  content: "";
  width: 10px;
  height: 100%;
  position: absolute;
  left: -5px;
  top: 40px;
  background-color: var(--bg-light-gray, #FBFBFB);
  z-index: 0;
}

@media screen and (max-width: 540px) {
  .tmtimeline li:last-child .cbp_tmlabel::after {
    top: 20px;
  }
}

.tmlabel__textBlock {
  flex: 1;
}

.tmtimeline__number {
  display: block;
  color: var(--blue, #25599A);
  font-family: Jost;
  font-size: 4.375rem;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

@media screen and (max-width: 540px) {
  .tmtimeline__number {
    margin-bottom: 0.5rem;
    line-height: 100%;
    font-size: 2.625rem;
  }
}

.tmtimeline__title {
  margin-top: -1rem;
  color: #000;
  font-size: 2rem;
  font-style: normal;
  font-weight: 500;
  line-height: 180%;
}

@media screen and (max-width: 540px) {
  .tmtimeline__title {
    margin-top: -0.5rem;
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
  }
}

.tmtimeline__text {
  color: #000;
  font-size: 1rem;
  font-style: normal;
  font-weight: 400;
  line-height: 180%;
}

@media screen and (max-width: 540px) {
  .tmtimeline__text {
    font-size: 0.875rem;
  }
}

.tmlabel__imageBlock {
  flex-basis: 36%;
}

/* Made with http://icomoon.io/ */

.tmtimeline {
  padding: 0;
  list-style: none;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.tmtimelineBlock {
  padding: 4.4rem 6.33% 5.3rem 6.33%;
  border-radius: 1.25rem;
  background: var(--bg-light-gray, #FBFBFB);
}

@media screen and (max-width: 540px) {
  .tmtimelineBlock {
    padding: 1.875rem;
  }
}

/* The line */
.tmtimeline:before {
  content: '';
  position: absolute;
  top: 40px;
  bottom: 0;
  width: 1px;
  background: #25599A;
  left: 0%;
}

@media screen and (max-width: 540px) {
  .tmtimeline:before {
    top: 10px;
  }
}

.tmtimeline>li {
  position: relative;
}

/* The date/time */
.tmtimeline>li .cbp_tmtime {
  display: block;
  width: 25%;
  padding-right: 100px;
  position: absolute;
}

.tmtimeline>li .cbp_tmtime span {
  display: block;
  text-align: right;
}

.tmtimeline>li .cbp_tmtime span:first-child {
  font-size: 0.9em;
  color: #bdd0db;
}

.tmtimeline>li .cbp_tmtime span:last-child {
  font-size: 2.9em;
  color: #3594cb;
}

.tmtimeline>li:nth-child(odd) .cbp_tmtime span:last-child {
  color: #6cbfee;
}

/* Right content */
.tmtimeline>li .cbp_tmlabel {
  margin: 0 0 0rem 3.7%;
  /* border: solid 1px #000; */
  display: flex;
}

@media screen and (max-width: 540px) {
  .tmtimeline>li .cbp_tmlabel {
    margin: 0 0 0rem 9.7%;
    gap: 0.75rem;
  }
}

/* The icons */
.tmtimeline>li .cbp_tmicon {
  width: 22px;
  height: 22px;
  background-image: url(../img/pages/training-welfare/dot.svg);
  background-size: contain;
  position: absolute;
  left: 0%;
  top: 40px;
  margin: 0 0 0 -11px;
  z-index: 1;
}

@media screen and (max-width: 540px) {
  .tmtimeline>li .cbp_tmicon {
    top: 10px;
    left: 1%;
    width: 1rem;
    height: 1rem;
  }
}

/*---------------------------------------------

	インナー

---------------------------------------------*/
.sBenefits {
  padding: 4rem 0 7rem 0;
}

@media screen and (max-width: 540px) {
  .sBenefits {
    padding: 3rem 0 5.5rem 0;
  }
}

/* コンテナ */
.innerS {
  width: min(1040px, 92vw);
  margin-inline: auto;
}

/* 共通パネル */
.sBenefits__panel {
  border-radius: 1.25rem;
  background: var(--bg-light-blue, #E4E9F3);
  padding: 1.4rem 0 2.3rem 0;
}

@media screen and (max-width: 820px) {
  .sBenefits__panel {
    padding: 1.5rem 1.875rem;
  }
}

.sBenefits__heading {
  margin-bottom: 1.5rem;
  color: var(--black, #000);
  font-size: 1.75rem;
  font-weight: 500;
  line-height: 180%;
  text-align: center;
}

@media screen and (max-width: 540px) {
  .sBenefits__heading {
    font-size: 1.125rem;
  }
}

/* --- 各種手当 --- */
.sBenefits__allowances {
  display: grid;
  grid-template-columns: 38% 38%;
  gap: clamp(60px, 8.20vw, 105px);
  align-items: start;
  justify-content: center;
  position: relative;
}

@media screen and (max-width: 540px) {
  .sBenefits__allowances {}
}

.sBenefits__allowances::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--bg-light-gray, #FBFBFB);
  transform: translateX(-50%);
}

.sBenefits__allowance {
  padding: 2.8rem 0 3.2rem 0;
  text-align: center;
  /* border: solid 1px #000; */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

@media screen and (max-width: 820px) {
  .sBenefits__allowance {
    padding: 0 0 0 0;
    height: auto;
  }
}

.sBenefits__allowanceHead {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;

}


.sBenefits__allowanceHead h3 {
  color: var(--black, #000);
  font-size: 1.125rem;
  font-style: normal;
  font-weight: 500;
  line-height: 180%;
}

@media screen and (max-width: 540px) {

  .sBenefits__allowanceHead h3 {
    font-size: 0.875rem;
  }
}


.sBenefits__allowanceHead img {
  width: 1.5rem;
  height: 1.5rem;
}


.sBenefits__chipsBlock {
  margin-bottom: 1rem;
}

.sBenefits__chips.center {
  justify-content: center;
}

.sBenefits__lead {
  color: #000;
  font-size: 1rem;
  font-weight: 400;
  line-height: 180%;
  text-align: center;
}

@media screen and (max-width: 540px) {
  .sBenefits__lead {
    font-size: 0.8125rem;
  }
}

.sBenefits__em {
  color: var(--blue, #25599A);
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 180%;
}


@media screen and (max-width: 540px) {
  .sBenefits__em {
    font-size: 1.0625rem;
  }
}

.sBenefits__desc {
  width: 81%;
  margin: 0 auto;
  color: #000;
  font-size: 1rem;
  font-style: normal;
  font-weight: 400;
  text-align: left;
  line-height: 180%;
}

@media screen and (max-width: 540px) {
  .sBenefits__desc {
    width: 100%;
    font-size: 0.8125rem;
  }
}

/* --- 各種制度（2×2カード） --- */
.sBenefits__panel--systems {
  padding: 2.5rem 5.5%;
}

@media screen and (max-width: 1500px) {
  .sBenefits__panel--systems {
    padding: 2.5rem 5.5%;
  }
}

@media screen and (max-width: 820px) {
  .sBenefits__panel--systems {
    padding: 1.5rem 1.875rem;
  }
}

.sBenefits__systems {
  position: relative;
  border-bottom: solid 1px #FBFBFB;
}

@media screen and (max-width: 820px) {
  .sBenefits__systems {
    flex-direction: column;
    border: none;
  }
}

.sBenefits__systems:first-of-type:before {
  content: "";
  background-repeat: no-repeat;
  position: absolute;
  left: 50%;
  bottom: -5px;
  display: inline-block;
  width: 40px;
  height: 45px;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  z-index: 1;
  background: var(--bg-light-blue, #E4E9F3);
  /* background-color: #000; */
}

@media screen and (max-width: 820px) {
  .sBenefits__systems:first-of-type:before {
    display: none;
  }
}

.sBenefits__systems:last-of-type {
  margin-top: 2.2rem;
  border: none;
}

@media screen and (max-width: 820px) {
  .sBenefits__systems:last-of-type {
    margin: 0;
  }
}

.sBenefits__systems:first-of-type {
  padding-bottom: 2.6rem;
}

@media screen and (max-width: 820px) {
  .sBenefits__systems:first-of-type {
    padding-bottom: 0;

  }
}

.sBenefits__systems .sBenefits__chips {
  margin-bottom: 0.5rem;
  justify-content: flex-start;
}

@media screen and (max-width: 820px) {
  .sBenefits__systems .sBenefits__chips {
    justify-content: center;
  }
}


.sBenefits__systems::after {
  content: "";
  position: absolute;
  left: 49.9%;
  top: 0;
  display: inline-block;
  width: 1px;
  height: 100%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  background: #FBFBFB;
  border-radius: 2px;
}

@media screen and (max-width: 820px) {
  .sBenefits__systems::after {
    display: none;
  }
}

.sBenefits__systems {
  gap: clamp(30px, 3.125vw, 40px);
  display: flex;
}

@media screen and (max-width: 820px) {
  .sBenefits__systems {
    gap: 0;
  }
}

.sBenefits__system {
  padding: 1.6rem 1.6rem 1rem 0.8rem;
  width: 100%;
}

@media screen and (max-width: 820px) {
  .sBenefits__system {
    padding: 0 0 1.06rem 0;
    margin-bottom: 1.3rem;
    border-bottom: solid 1px #FBFBFB;
  }

  .sBenefits__systems:last-of-type .sBenefits__system:last-child {
    margin: 0;
    padding: 0;
    border-bottom: none;
  }
}

.sBenefits__systemHead {
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.2rem;
  color: var(--black, #000);
  font-size: 1.125rem;
  font-style: normal;
  font-weight: 500;
  line-height: 180%;
}

@media screen and (max-width: 820px) {
  .sBenefits__systemHead {
    justify-content: center;
    font-size: 0.9375rem;
    font-weight: 500;
  }
}

.sBenefits__systemHead h3 {
  font-weight: 500;
}

.sBenefits__systemHead img {
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
}

.sBenefits__systemBody {
  display: grid;
  grid-template-columns: 1fr 39%;
  gap: 0.9rem;
  align-items: start;
}

@media screen and (max-width: 820px) {
  .sBenefits__systemBody p {
    font-size: 0.8125rem;
    font-style: normal;
    font-weight: 350;
    line-height: 170%;
  }


}

.sBenefits__thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  place-items: center;
}

@media screen and (max-width: 820px) {
  .sBenefits__thumb {
    width: 59.5%;
    margin: 0 auto;
  }
}

.sBenefits__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sBenefits__text {
  color: #000;
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 400;
  line-height: 180%;
}

@media screen and (max-width: 540px) {
  .sBenefits__text {
    font-size: 0.8125rem;
    line-height: 170%;
  }
}

/* SP */
@media (max-width: 820px) {
  .sBenefits__allowances {
    grid-template-columns: 1fr;
    gap: 0;
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
  }

  .sBenefits__allowance:first-of-type {
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: solid 1px #FBFBFB;
  }

  .sBenefits__allowances::before {
    display: none;
  }


  .sBenefits__systems {
    grid-template-columns: 1fr;
  }

  .sBenefits__systemBody {
    grid-template-columns: 1fr;
  }
}