#about #visual {
  background-color: #F8F8F4;
}
#about #visual .bgw {
  background-color: #fff;
}
#about #content-block .section-block {
  background-color: #F8F8F4;
  padding-block: 6rem;
  margin-bottom: 12rem;
}
@media screen and (max-width: 767px) {
  #about #content-block .section-block {
    padding-block: 3rem;
    margin-bottom: 6rem;
  }
}
#about #content-block .section-block .section-title {
  display: flex;
  gap: 5%;
  align-items: baseline;
  padding-bottom: 5rem;
}
#about #content-block .section-block .section-title .num {
  color: #726F60;
  font-size: clamp(7rem, 3.52rem + 4.5vw, 10rem);
  line-height: 1;
}
@media screen and (max-width: 767px) {
  #about #content-block .section-block .section-title .num {
    font-size: clamp(3.95rem, 2.696rem + 1.6vw, 5rem);
  }
}
#about #content-block .section-block .section-title h2 {
  font-size: clamp(2.9rem, 2.16rem + 1vw, 3.6rem);
  font-weight: 500;
}
@media screen and (max-width: 767px) {
  #about #content-block .section-block .section-title h2 {
    font-size: clamp(2.3rem, 1.792rem + 0.7vw, 2.8rem);
  }
}
#about #content-block #sec1 .layout {
  display: flex;
  margin-bottom: 10rem;
}
@media screen and (max-width: 767px) {
  #about #content-block #sec1 .layout {
    flex-direction: column;
    margin-bottom: 5rem;
  }
}
#about #content-block #sec1 .layout .image {
  width: 50%;
  transform: translateX(-15%);
}
@media screen and (max-width: 767px) {
  #about #content-block #sec1 .layout .image {
    width: 85%;
    transform: translateX(0);
    margin: 0 auto 3rem;
  }
}
#about #content-block #sec1 .layout p {
  width: 50%;
}
@media screen and (max-width: 767px) {
  #about #content-block #sec1 .layout p {
    width: 100%;
  }
}
#about #content-block #sec1 .zu {
  text-align: center;
  max-width: 1000px;
  margin: auto;
}
#about #content-block #sec2 .section-body {
  max-width: 968px;
  margin-left: auto;
}
#about #content-block #sec2 .lead {
  margin-bottom: 5rem;
}
#about #content-block #sec2 .layout {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 4rem;
  margin-bottom: 5rem;
}
@media screen and (max-width: 767px) {
  #about #content-block #sec2 .layout {
    grid-template-columns: repeat(1, 1fr);
    gap: 0 0rem;
  }
}
#about #content-block #sec2 .layout .box {
  margin-bottom: 5rem;
}
@media screen and (max-width: 767px) {
  #about #content-block #sec2 .layout .box {
    margin-bottom: 3rem;
  }
}
#about #content-block #sec2 .layout .box h3 {
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  font-size: clamp(1.625rem, 1.324rem + 0.4vw, 1.9rem);
  font-weight: 500;
}
#about #content-block #sec2 .link a {
  max-width: 550px;
  margin-left: auto;
}
#about #content-block #sec3 .layout {
  display: flex;
  margin-bottom: 5rem;
}
@media screen and (max-width: 767px) {
  #about #content-block #sec3 .layout {
    flex-direction: column;
    margin-bottom: 3rem;
  }
}
#about #content-block #sec3 .layout .image {
  width: 50%;
  transform: translateX(-15%);
}
@media screen and (max-width: 767px) {
  #about #content-block #sec3 .layout .image {
    width: 100%;
    transform: translateX(0);
    margin: 0 auto 3rem;
  }
}
#about #content-block #sec3 .layout .text {
  width: 50%;
}
@media screen and (max-width: 767px) {
  #about #content-block #sec3 .layout .text {
    width: 100%;
  }
}
#about #content-block #sec3 .layout .text ul {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 3rem;
}
#about #content-block #sec3 .layout .text ul li {
  margin-bottom: 15px;
  display: inline-block;
  background-color: #4FB3D1;
  color: #fff;
  border-radius: 4px;
  padding: 8px;
  font-weight: 500;
  font-size: clamp(1.7rem, 1.424rem + 0.4vw, 2rem);
}
#about #content-block #sec3 .layout .text p {
  margin-bottom: 3rem;
}
#about #content-block #sec3 .layout .text p.last {
  font-size: clamp(2.225rem, 1.692rem + 0.7vw, 2.7rem);
  margin-bottom: 0;
  max-width: 630px;
}
@media screen and (max-width: 767px) {
  #about #content-block #sec3 .layout .text p.last {
    font-size: clamp(1.85rem, 1.48rem + 0.5vw, 2.2rem);
  }
}
#about #content-block #sec4 .section-body {
  max-width: 968px;
  margin-left: auto;
}
#about #content-block #sec4 ul {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 3rem;
}
#about #content-block #sec4 ul li {
  margin-bottom: 15px;
  display: inline-block;
  background-color: #CE539A;
  color: #fff;
  border-radius: 4px;
  padding: 8px;
  font-weight: 500;
  font-size: clamp(1.7rem, 1.424rem + 0.4vw, 2rem);
}
#about #content-block #sec4 p {
  margin-bottom: 3rem;
}
#about #content-block #sec4 p.last {
  font-size: clamp(2.225rem, 1.692rem + 0.7vw, 2.7rem);
  margin-bottom: 0;
}

#qa #visual {
  padding-block: 10rem 20rem;
  text-align: center;
}
@media screen and (max-width: 767px) {
  #qa #visual {
    padding-top: 3rem;
    padding-bottom: 4rem;
  }
}
#qa #visual h1 {
  text-align: center;
  margin: 0 auto 5rem;
}
@media screen and (max-width: 767px) {
  #qa #visual h1 {
    padding-inline: 10%;
    margin-bottom: 3rem;
  }
}
#qa #content-block {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}
@media screen and (max-width: 767px) {
  #qa #content-block {
    grid-template-columns: repeat(2, 1fr);
  }
}
#qa #content-block .box {
  position: relative;
  background-color: #555;
  padding: 5%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(2rem, 0.84rem + 1.5vw, 3rem);
  font-weight: 600;
  aspect-ratio: 29/22;
  line-height: 1.5;
  cursor: pointer;
  transition: opacity 0.2s ease;
}
#qa #content-block .box:hover {
  opacity: 0.8;
}
#qa #content-block .box:nth-child(5n+2), #qa #content-block .box:nth-child(5n+4) {
  transform: translateY(-50%);
}
@media screen and (max-width: 767px) {
  #qa #content-block .box:nth-child(5n+2), #qa #content-block .box:nth-child(5n+4) {
    transform: none;
  }
}
#qa #content-block .box.c1 {
  background-color: #688AD8;
}
#qa #content-block .box.c2 {
  background-color: #DE663A;
}
#qa #content-block .box.c3 {
  background-color: #4FB3D1;
}
#qa #content-block .box.c4 {
  background-color: #5CBC9B;
}
#qa #content-block .box.c5 {
  background-color: #CE539A;
}
#qa #content-block .box.c6 {
  background-color: #69A517;
}
#qa #content-block .box.c7 {
  background-color: #BEB831;
}
#qa #content-block .box::after {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  opacity: 0.2;
}
#qa #content-block .box.q1::after {
  background: url(/nish/recruit/nish/assets/image/about/qa/illust01.svg) no-repeat center center;
  background-size: 80%;
}
#qa #content-block .box.q2::after {
  background: url(/nish/recruit/nish/assets/image/about/qa/illust02.svg) no-repeat center center;
  background-size: 80%;
}
#qa #content-block .box.q3::after {
  background: url(/nish/recruit/nish/assets/image/about/qa/illust03.svg) no-repeat center center;
  background-size: 80%;
}
#qa #content-block .box.q4::after {
  background: url(/nish/recruit/nish/assets/image/about/qa/illust04.svg) no-repeat center center;
  background-size: 80%;
}
#qa #content-block .box.q5::after {
  background: url(/nish/recruit/nish/assets/image/about/qa/illust05.svg) no-repeat center center;
  background-size: 80%;
}
#qa #content-block .box.q6::after {
  background: url(/nish/recruit/nish/assets/image/about/qa/illust06.svg) no-repeat center center;
  background-size: 80%;
}
#qa #content-block .box p {
  position: relative;
  z-index: 1;
}

#modal-overlay {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}

.modal {
  display: none;
  position: fixed;
  z-index: 10000;
  top: 5%;
  left: 5%;
  width: 90%;
  height: 90%;
  max-width: 1175px;
  margin: auto;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 10px;
  padding: 5px 0;
}
.modal .scroll-area {
  overflow-y: scroll;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal .scroll-area::-webkit-scrollbar {
  width: 2px;
}
.modal .scroll-area::-webkit-scrollbar-thumb {
  background-color: #ccc;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.3);
}
.modal .scroll-area::-webkit-scrollbar-track {
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.1);
}
.modal .modal-close {
  position: fixed;
  cursor: pointer;
  z-index: 1;
  width: 30px;
  height: 30px;
  right: 15px;
  top: 15px;
  transform: rotate(45deg);
}
@media screen and (max-width: 767px) {
  .modal .modal-close {
    position: absolute;
    top: 10px;
  }
}
.modal .modal-close::before, .modal .modal-close::after {
  content: "";
  position: absolute;
  display: block;
  width: 100%;
  height: 2px;
  background-color: #000;
  top: 50%;
  left: 0;
}
.modal .modal-close::before {
  transform: rotate(90deg);
}
.modal .modal-content {
  background-color: #fff;
  padding: 7rem 8%;
}
@media screen and (max-width: 767px) {
  .modal .modal-content {
    padding: 8rem 8%;
  }
}
.modal .modal-content h2 {
  font-size: 2.8rem;
}
@media screen and (max-width: 767px) {
  .modal .modal-content h2 {
    font-size: clamp(2rem, 1.536rem + 0.6vw, 2.4rem);
    line-height: 1.5;
    margin-bottom: 3rem;
  }
}
.modal .modal-content .name {
  text-align: right;
}
.modal.c1 .modal-content {
  background-color: #688AD8;
}
.modal.c2 .modal-content {
  background-color: #DE663A;
}
.modal.c3 .modal-content {
  background-color: #4FB3D1;
}
.modal.c4 .modal-content {
  background-color: #5CBC9B;
}
.modal.c5 .modal-content {
  background-color: #CE539A;
}
.modal.c6 .modal-content {
  background-color: #69A517;
}
.modal.c7 .modal-content {
  background-color: #BEB831;
}
