@charset "UTF-8";

.news_box {
  background: #B10F41;
  padding: 30px 50px;
}

.news_box>div {
  max-width: 1100px;
  display: flex;
  justify-content: center;
  margin: 0 auto;
}

.news_box>div dl {
  width: fit-content;
  display: flex;
  gap: 10px;
  color: #fff;
}

.news_box>div dl dt span {
  color: #B10F41;
  background: #fff;
  border: 1px solid #fff;
  padding: 0 10px;
  margin: 0 10px 0 0;
}

.message_box>div>div>div:nth-of-type(2) {
  display: flex;
  flex-flow: column;
  align-items: flex-end;
}

.message_box>div>div>div:nth-of-type(2)>p:nth-of-type(1) {
  font-size: 2rem;
  font-weight: bold;
  margin: 0 0 20px;
}

.message_box>div>div>div:nth-of-type(2)>p:nth-of-type(2) {
  font-size: 1.4rem;
  font-weight: bold;
  margin: 0 0 20px;
}

.message_box+a {
  margin: 0 auto;
}

.top_content {
  width: 100%;
  height: 250px;
  position: relative;
  padding: 140px 0 0;
}

.top_content>p {
  width: fit-content;
  font-size: 1.2rem;
  font-weight: bold;
  background: #fff;
  padding: 3px 10px;
  margin: 0 0 10px;
}

.top_content>p:last-of-type {
  margin: 0;
}

.works_box .top_content {
  background: url(../images/index/works_top.jpg) no-repeat top left / cover;
}

.works_box>div>ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 50px;
  margin: 0 0 50px;
}

.works_box>div>ul>li {
  width: 100%;
  max-width: 475px;
}

.works_box>div>ul>li:last-of-type {
  flex: 0 0 100%;
  margin: auto;
}

.works_box>div>ul>li>a {
  width: 100%;
  display: flex;
  flex-flow: column;
  justify-content: center;
  gap: 10px;
  color: #333;
  text-align: center;
}

.works_box>div>ul>li>a>p:nth-of-type(2) {
  font-size: 1.2rem;
  font-weight: bold;
}

.works_box>div>ul>li>a>p:nth-of-type(3) {
  font-size: 0.8rem;
}

.works_box>div>ul>li>a:hover {
  opacity: 0.5;
}

.works_box>div>ul>li>a>p:nth-of-type(3) {
  color: #fff;
  font-size: 1rem;
  background: #B10F41;
  padding: 3px 0;
}

.works_box>div>div:nth-of-type(2) {
  display: grid;
  grid-template-columns: 350px 1fr;
}

.works_box>div>div:nth-of-type(2)>div:nth-of-type(2) {
  display: flex;
  flex-flow: column;
  justify-content: center;
  gap: 30px;
  background: #F1F1F1;
  padding: 20px 30px 20px 50px;
}

.works_box>div>div:nth-of-type(2)>div:nth-of-type(2) h3 {
  margin: 0;
}

.works_box>div>div:nth-of-type(2)>div:nth-of-type(2) p {
  font-weight: bold;
}

.people_box .top_content {
  background: url(../images/index/people_top.jpg) no-repeat top left / cover;
}

.people_box .content h3 {
  width: fit-content;
  justify-content: center;
  position: relative;
  margin: 40px auto;
}

.people_box div:nth-of-type(2) .content h3::after {
  content: "";
  width: 382px;
  height: 60px;
  background: url(../images/index/people_speciale_title.svg) no-repeat top left / cover;
  transform: initial;
  position: absolute;
  top: -40px;
  left: -70px;
  opacity: 0.1;
}

.people_box>div .interview_member_box {
  margin: 0 auto 50px;
}

.people_box>div .interview_member_box>a:nth-of-type(1)>div {
  background: url(/recruit/2026/assets/images/interview/index/img_01.jpg) no-repeat top center / cover;
}

.people_box>div .interview_member_box>a:nth-of-type(2)>div {
  background: url(/recruit/2026/assets/images/interview/index/img_05.jpg) no-repeat top center / cover;
}

.people_box>div .interview_member_box>a:nth-of-type(3)>div {
  background: url(/recruit/2026/assets/images/interview/index/img_12.jpg) no-repeat top center / cover;
}

.people_box>div .interview_member_box+a {
  margin: 0 auto;
}

.people_box>div:nth-of-type(2) {
  background: #F1F1F1;
}

.people_box>div:nth-of-type(2)>div>div>a {
  width: 100%;
  max-width: 485px;
  height: 300px;
  display: flex;
  flex-flow: column;
  justify-content: flex-end;
  gap: 5px;
  padding: 0 0 30px;
  margin: 0 auto;
}

.people_box>div:nth-of-type(2)>div>div>a:nth-of-type(1) {
  background: url(../images/index/people_speciale_sp1.jpg) no-repeat top center / cover;
}

.people_box>div:nth-of-type(2)>div>div>a>p {
  width: fit-content;
  color: #fff;
  font-size: 1.4rem;
  font-weight: bold;
  line-height: 1.3;
  background: #B10F41;
  padding: 0 10px;
}

.people_box>div:nth-of-type(2)>div>div>a>p:nth-of-type(2) {
  font-size: 2rem;
}

.welfare_box .top_content {
  background: url(../images/index/welfare_top.jpg) no-repeat top left / cover;
}

.welfare_box>div>ul {
  margin: 0 auto 50px;
}

.welfare_box>div>ul>li {
  display: flex;
  flex-flow: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  background: #B10F41;
  padding: 30px 10px;
}

.welfare_box>div>ul>li>p {
  color: #fff;
  font-size: 1.2rem;
  font-weight: bold;
}

.welfare_box>div>div:nth-of-type(2) {
  margin: 0 auto 50px;
}

.welfare_box>div>div:nth-of-type(2)>div:nth-of-type(2) {
  display: flex;
  flex-flow: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.welfare_box>div>div:nth-of-type(2)>div:nth-of-type(2)>p {
  font-size: 1.6rem;
  font-weight: bold;
}

.welfare_box>div>div:nth-of-type(3) {
  max-width: 800px;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 20px 0;
  background: #F1F1F1;
  padding: 20px 30px;
  margin: 0 auto;
}

.welfare_box>div>div:nth-of-type(3)>div:nth-of-type(1) {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.welfare_box>div>div:nth-of-type(3)>div:nth-of-type(2) {
  display: flex;
  flex-flow: column;
  align-items: center;
  justify-content: center;
}

.welfare_box>div>div:nth-of-type(3)>div:nth-of-type(2) p {
  font-size: 1.1rem;
  font-weight: bold;
  text-align: center;
}

.welfare_box>div>div:nth-of-type(3)>div:nth-of-type(2) p span {
  display: block;
  color: #fff;
  font-size: 1.2rem;
  background: #B10F41;
  padding: 0 5px;
  margin: 5px 0;
}

.data_box>div>ul {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 0 auto 50px;
}

.data_box>div>ul>li {
  display: flex;
  flex-flow: column;
  align-items: center;
  gap: 5px;
  background: #F1F1F1;
  padding: 20px;
}

.data_box>div>ul>li>p img {
  height: 60px;
  object-fit: contain;
}

.data_box>div>ul>li:nth-of-type(1) img {
  max-width: 40px;
}

.data_box>div>ul>li:nth-of-type(2) img {
  max-width: 75px;
}

.data_box>div>ul>li>p:nth-of-type(1) {
  font-size: 1.2rem;
  font-weight: bold;
}

.data_box>div>ul>li>p:nth-of-type(3) {
  color: #B10F41;
  font-weight: bold;
}

.data_box>div>ul>li>p:nth-of-type(3) span {
  font-size: 3rem;
  line-height: 1;
}

.data_box>div>ul>li>p:nth-of-type(4) {
  font-size: 0.8rem;
}

.data_box>div>ul+a {
  margin: 0 auto;
}

@media (max-width: 1024px) {
  .news_box {
    padding: 30px 25px;
  }

  .news_box>div dl {
    flex-flow: column;
  }

  .message_box>div>div>div:nth-of-type(2)>p:nth-of-type(1) {
    font-size: 1.5rem;
  }

  .message_box>div>div>div:nth-of-type(2)>p:nth-of-type(2) {
    font-size: 1.2rem;
  }

  .message_box>div>div>div:nth-of-type(2) {
    align-items: flex-start;
  }

  .works_box .top_content {
    max-width: 350px;
    height: 450px;
    display: flex;
    flex-flow: column;
    justify-content: flex-end;
    background: url(../images/index/works_top_sp.jpg) no-repeat top left / cover;
    padding: 0 0 40px;
    margin: 0 auto;
  }

  .works_box>div>ul {
    justify-content: center;
  }

  .works_box>div>ul>li>a {
    max-width: 100%;
  }

  .works_box>div>ul>li:last-of-type {
    margin: 0;
  }

  .works_box>div>div:nth-of-type(2) {
    grid-template-columns: 1fr;
  }

  .works_box>div>div:nth-of-type(2)>div:nth-of-type(2) {
    padding: 30px 20px;
  }

  .people_box .top_content {
    max-width: 350px;
    height: 450px;
    display: flex;
    flex-flow: column;
    justify-content: flex-end;
    background: url(../images/index/people_top_sp.jpg) no-repeat top left / cover;
    padding: 0 0 40px;
    margin: 0 auto;
  }

  .people_box div:nth-of-type(2) .content h3::after {
    width: 254px;
    height: 40px;
    top: -25px;
    left: -10px;
  }

  .interview_member_box {
    margin: 0 auto 50px;
  }

  .people_box>div:nth-of-type(2)>div>div {
    max-width: 350px;
    margin: 0 auto;
  }

  .people_box>div:nth-of-type(2)>div>div>a {
    height: 250px;
  }

  .welfare_box .top_content {
    max-width: 350px;
    height: 450px;
    display: flex;
    flex-flow: column;
    justify-content: flex-end;
    background: url(../images/index/welfare_top_sp.jpg) no-repeat top left / cover;
    padding: 0 0 40px;
    margin: 0 auto;
  }

  .welfare_box>div>div:nth-of-type(3) {
    grid-template-columns: 1fr;
  }

  .welfare_box>div>div:nth-of-type(3)>div:nth-of-type(1) {
    order: 2;
  }

  .data_box>div>ul {
    grid-template-columns: repeat(2, 1fr);
  }

  .data_box>div>ul {
    gap: 10px;
  }
}

@media (max-width: 768px) {}