@charset "UTF-8";
:root {
  --window-padding: 3%;
  --vertical-window-padding: 50px;
}

.sp {
  display: block;
}

.sub-welfare.sec01 .wrap {
  flex-direction: column-reverse;
}

.sub-welfare.sec01 .wrap .txt_box div p {
  font-size: 16px;
}

.sub-welfare.sec01 .wrap02 {
  display: none;
}

.sub-welfare.sec02 .ttl-sp {
  text-align: center;
  font-size: 20px;
  margin-bottom: 40px;
}

.sub-welfare.sec02 {
  background-color: #fff;
  padding-top: 50px;
  padding-bottom: 50px;
}

.sub-welfare.sec02 .case .ttl {
  font-size: 20px;
  width: 200px;
  padding: 10px;
}

.sub-welfare.sec02 .case {
  padding: 0;
  padding-top: 50px;
  margin-bottom: 50px;
}

.sub-welfare.sec02 .case .display_profile {
  flex-direction: column;
  margin-bottom: 0;
  gap: 20px;
}

.sub-welfare.sec02 .case .display_profile .dp_txt span.pc {
  display: block;
  background-color: #0043BE;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 100vh;
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
  margin: auto;
  width: fit-content;
}

.sub-welfare.sec02 .case .display_profile .dp_img img.pc {
  display: none;
}

.sub-welfare.sec02 .case .display_profile .dp_txt {
  display: flex;
  flex-direction: column;
  row-gap: 20px;
}

.sub-welfare.sec02 .case .display_profile .dp_txt h2 {
  margin-bottom: 10px;
  font-size: 23px;
}

.sub-welfare.sec02 .case .display_profile .dp_txt span {
  background-color: #fff;
  border: 0;
  border-radius: 0;
  color: #000;
  padding: 0;
  margin-bottom: 0;
}

.sub-welfare.sec02 .case .display_profile .dp_txt span.sp {
  display: block;
}

.sub-welfare.sec02 .case .dp_info {
  flex-direction: column-reverse;
}

.sub-welfare.sec02 .case .dp_info .txt_box p {
  padding: 0;
  font-size: 16px;
  line-height: 25px;
  margin-bottom: 10px;
}

.sub-welfare.sec02 .case .display_profile .dp_txt {
  padding: 0;
  margin-bottom: 20px;
}

.sub-welfare.sec02 .case .dp_info ul {
  border-right: 0;
  padding: 30px 5%;
  background: #0043BE;
  color: #fff;
}

.sub-welfare.sec02 .case .dp_info ul li .year::after {
  content: unset;
}

.sub-welfare.sec02 .case .dp_info ul li:nth-last-child(1) .year::before {
  content: unset;
}

.sub-welfare.sec02 .case .dp_info ul li .year {
  width: 100%;
  border-right: 0;
  padding: 0;
}

.sub-welfare.sec02 .case .dp_info ul li .desc {
  padding: 0;
}

.sub-welfare.sec02 .case .dp_info ul li {
  flex-direction: column;
  padding-left: 5%;
  padding-bottom: 20px;
  border-left: solid 2px;
  position: relative;
}

.sub-welfare.sec02 .case .dp_info ul li:nth-last-child(1) {
  border-left: 0;
  padding-bottom: 0;
}

.sub-welfare.sec02 .case .dp_info ul li::after {
  content: "";
  background-color: #fff;
  width: 15px;
  height: 15px;
  position: absolute;
  top: 0;
  left: -6px;
  border-radius: 100vh;
}

.sub-welfare.sec02 .case .dp_info .txt_box {
  margin-bottom: 20px;
}

.sub-welfare .banner-ttl {
  background: unset;
  padding: 0 3%;
  height: 100%;
  min-height: unset;
  color: #000;
  font-size: 30px;
  display: block;
  margin-bottom: 30px;
  text-align: center;
}

.sub-welfare.sec03 .cards .card {
  width: 48%;
  background: #0043BE;
  padding: 30px 3%;
}

.sub-welfare.sec03 .cards {
  justify-content: center;
  padding: 0 3%;
  gap: 10px;
}

.sub-welfare.sec04 .inner {
  display: block;
  padding: 0 3%;
}

.sub-welfare.sec04 .inner .img_box {
  max-width: 400px;
  margin: 0 auto 20px;
}

.sub-welfare.sec03,
.sub-welfare.sec04 {
  padding-bottom: 50px;
}

.sub-welfare.sec01 .wrap .txt_box div h2 {
  font-size: 32px;
}

@media screen and (max-width: 567px) {
  .sub-welfare.sec01 .wrap .txt_box div h2 {
    font-size: 24px;
    line-height: 1.5;
    margin-bottom: 25px;
  }

  .sub-welfare.sec02 .case .display_profile .dp_txt h2 {
    font-size: 20px;
  }

  .sub-welfare.sec04 h2 {
    font-size: 24px;
  }

  .sub-welfare.sec02 .case .ttl {
    font-size: 20px;
    width: 150px;
    padding: 7px 10px;
  }

  .sub-welfare.sec02 .case .display_profile .dp_txt span.pc {
    font-size: 12px;
    padding: 7px 15px;
  }
}
