/* Hero Section */
.hero {
  position: relative;
}

.hero-button {
  color: #fff;
  font-family: "Noto Sans JP";
  font-size: 1.65vw;
  font-style: normal;
  font-weight: 500;
  line-height: 2;
  width: 15.2vw;
  height: 3.5vw;
  background-color: #4c88c4;
  border: 1px solid #fff;
  position: absolute;
  right: 11.7vw;
  bottom: 4.3vw;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
  z-index: 2;
}

.hero-button:hover {
  background-color: #fff;
  color: #4c88c4;
  border-color: #4c88c4;
}

.hero-button::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  transform: translate(-50%, -50%);
  width: 3.5vw;
  height: 1px;
  background-color: #fff;
  transition: all 0.3s ease;
}

.hero-button:hover::after {
  background-color: #4c88c4;
}

@media (max-width: 767px) {
  .hero-button {
    position: relative;
    font-size: 6.5vw;
    width: 53vw;
    height: 12vw;
    right: unset;
    bottom: unset;
    margin: 8vw auto 0;
    background-color: #fff;
    color: #4c88c4;
    border-color: #4c88c4;
    border-width: 0.3vw;
  }
  .hero-button::after {
    width: 10vw;
    height: 0.3vw;
    background-color: #4c88c4;
  }
}

/* Nayami Section */
.nayami {
  padding: 50px 0;
  background-color: #fff;
  position: relative;
  overflow: hidden;
}

.nayami-bg {
  position: absolute;
  top: 50px;
  left: calc(50% + 280px);
  width: 984px;
  aspect-ratio: 984/841;
  background-image: url(../img/recruit/staff-bg.webp);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

.nayami .container {
  position: relative;
  z-index: 1;
}

.nayami-title {
  color: #000;
  font-family: "Noto Serif JP";
  font-size: 24px;
  font-style: normal;
  font-weight: 500;
  line-height: 46px; /* 191.667% */
}

.nayami-box {
  background-color: #f0f4fa;
  padding: 40px 40px 5px 40px;
}

.nayami-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 2%;
}

.nayami-list li {
  width: 49%;
  color: #000;
  font-family: "Noto Serif JP";
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  padding: 0 10px;
  padding-bottom: 20px;
  border-bottom: 1px solid #4c88c4;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.5;
}

.nayami-list li img {
  width: 32px;
  object-fit: contain;
}

.nayami-content {
  text-align: left;
}

.nayami-text {
  color: #000;
  font-family: "Noto Serif JP";
  font-size: 24px;
  font-style: normal;
  font-weight: 500;
  line-height: 1.91;
}

.nayami-subtext {
  color: #000;
  font-family: "Noto Serif JP";
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: 1.77; /* 177.778% */
}

.nayami-buttons {
  display: flex;
  justify-content: space-between;
  margin-bottom: 30px;
  margin-top: 30px;
  gap: 23px;
}

.nayami-btn {
  background-color: #6894d1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: "Noto Serif JP";
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.5; /* 150% */
  height: 62px;
  margin: 0;
  flex-shrink: 0;
}

.nayami-btn:nth-of-type(1) {
  width: 24%;
}

.nayami-btn:nth-of-type(2) {
  width: 36%;
}

.nayami-btn:nth-of-type(3) {
  width: 10.8%;
}

.nayami-btn:nth-of-type(4) {
  width: 22.5%;
}

.nayami-note {
  color: #000;
  font-family: "Noto Serif JP";
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: 1.77; /* 177.778% */
}

@media (max-width: 1200px) {
  .nayami .container {
    padding: 0 4vw;
  }
  .nayami-buttons {
    gap: 2%;
  }

  .nayami-btn {
    font-size: 2.5vw;
    height: 7vw;
  }
}

@media (max-width: 767px) {
  .nayami {
    padding: 5vw 0;
  }
  .nayami .container {
    padding: 0 5vw;
  }
  .nayami-title {
    font-size: 4.2vw;
    line-height: 1.2;
  }
  .nayami-box {
    padding: 6vw 6.5vw 1vw;
  }
  .nayami-list {
    flex-direction: column;
    gap: 0;
  }
  .nayami-list li {
    width: 100%;
    font-size: 3.7vw;
    padding: 0 0 5vw;
    border-bottom: 0.3vw solid #4c88c4;
    margin-bottom: 3vw;
    line-height: 1.7;
    padding-bottom: 2.5vw;
  }
  .nayami-list li img {
    width: 8vw;
    margin-right: 3vw;
  }
  .nayami-text {
    font-size: 4.2vw;
    line-height: 1.7;
    letter-spacing: -0.03em;
  }
  .nayami-subtext {
    font-size: 3.7vw;
    line-height: 1.7;
  }
  .nayami-note {
    font-size: 3.7vw;
    line-height: 1.7;
  }
  .nayami-bg {
    top: unset;
    bottom: 25vw;
    left: calc(50% - 40vw);
    width: 127vw;
    background-image: url(../img/recruit/staff-bg.webp);
    transform: translateX(-50%);
  }
  .nayami-buttons {
    flex-wrap: wrap;
    gap: 2vw;
  }
  .nayami-btn {
    width: 44vw !important;
    font-size: 4.2vw;
    height: 16vw;
    text-align: center;
  }
}
/* Features Section */
.features {
  padding: 30px 0 40px;
  background-color: #f0f4fa;
}

.features-title,
.message-title,
.scene-title,
.staff-title,
.requirements-title,
.benefits-title,
.flow-title {
  color: #000;
  font-family: "Noto Serif JP";
  font-size: 40px;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 10px;
}

.features-subtitle,
.message-subtitle,
.scene-subtitle,
.staff-subtitle,
.requirements-subtitle,
.benefits-subtitle,
.flow-subtitle {
  color: #6894d1;
  font-family: "Noto Sans JP";
  font-size: 24px;
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 40px;
  margin-top: 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 35px 8%;
}

.features-item {
  padding: 0;
}

.features-image {
  width: 100%;
  aspect-ratio: 506/308;
}

.features-item-title {
  color: #000;
  font-family: "Noto Serif JP";
  font-size: 24px;
  font-style: normal;
  font-weight: 500;
  line-height: 2; /* 200% */
  margin-top: 10px;
  margin-bottom: 0px;
}

.features-item-text {
  color: #000;
  font-family: "Noto Sans JP";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px; /* 150% */
  margin-top: 10px;
}

@media (max-width: 1200px) {
  .features .container {
    padding: 0 4vw;
  }
}

@media (max-width: 767px) {
  .features {
    padding: 3vw 0;
  }
  .features .container {
    padding: 0 5vw;
  }
  .features-title,
  .message-title,
  .scene-title,
  .staff-title,
  .requirements-title,
  .benefits-title,
  .flow-title {
    font-size: 5.3vw;
  }
  .features-subtitle,
  .message-subtitle,
  .scene-subtitle,
  .staff-subtitle,
  .requirements-subtitle,
  .benefits-subtitle,
  .flow-subtitle {
    font-size: 4.2vw;
  }
  .features-subtitle {
    font-size: 4vw;
  }
  .features-grid {
    grid-template-columns: 1fr;
    gap: 5vw;
  }
  .features-item-title {
    font-size: 4.2vw;
  }
  .features-item-text {
    font-size: 3.7vw;
    line-height: 1.7;
  }
  .features-image {
    aspect-ratio: 335/170;
  }
}

/* Message Section */
.message {
  padding: 30px 0 40px;
  background-color: #fff;
  position: relative;
  overflow: hidden;
}

.message::before {
  content: "";
  position: absolute;
  top: 150px;
  left: calc(((100vw - 1440px) / 2));
  aspect-ratio: 914/559;
  width: 914px;
  background-image: url(../img/recruit/message-bg.webp);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  -webkit-clip-path: polygon(0% 0%, 0% 100%, 0% 100%, 0% 0%);
  clip-path: polygon(0% 0%, 0% 100%, 0% 100%, 0% 0%);
  transition: clip-path 1s ease-out;
  z-index: 0;
}

.message.visible::before {
  -webkit-clip-path: polygon(0% 0%, 0% 100%, 100% 100%, 100% 0%);
  clip-path: polygon(0% 0%, 0% 100%, 100% 100%, 100% 0%);
}

.message .container {
  position: relative;
  z-index: 1;
}

.message-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 3%;
}

.message-text-box {
  width: 63%;
}

.message-text {
  color: #000;
  font-family: "Noto Serif JP";
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: 1.55; /* 155.556% */
  margin-top: 0;
}

.message-image-box {
  width: 355px;
}

.message-image {
  width: 100%;
  aspect-ratio: 355/462;
}

.message-name {
  color: #000;
  font-family: "Noto Serif JP";
  font-size: 26px;
  font-style: normal;
  font-weight: 700;
  line-height: 28px; /* 107.692% */
}

@media (max-width: 1200px) {
  .message .container {
    padding: 0 4vw;
  }
}

@media (max-width: 767px) {
  .message {
    padding: 2vw 0;
  }
  .message::before {
    top: 75vw;
    left: calc(50%);
    width: 173vw;
    transform: translateX(-50%);
  }
  .message .container {
    padding: 0 5vw;
  }
  .message-content {
    flex-direction: column-reverse;
    gap: 5vw;
  }
  .message-text-box {
    width: 100%;
  }
  .message-image-box {
    width: 100%;
    aspect-ratio: 335/161;
  }
  .message-image {
    aspect-ratio: 335/161;
  }
  .message-name {
    font-size: 3.7vw;
    margin-bottom: 0;
  }
  .message-text {
    font-size: 3.7vw;
    line-height: 1.7;
  }
}

/* Scene Section */
.scene {
  padding: 30px 0;
  background-color: #f0f4fa;
}

.scene-intro {
  color: #000;
  font-family: "Noto Serif JP";
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.54; /* 154.167% */
}

.scene-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-bottom: 60px;
}

.scene-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0 0;
}

.scene-item.reverse {
  flex-direction: row-reverse;
}

.scene-item-text-box {
  width: 49%;
}

.scene-item-image-box {
  width: 45.9%;
  aspect-ratio: 505/240;
}

.scene-item-image {
  width: 100%;
  object-fit: contain;
}

.scene-item-title {
  color: #000;
  font-family: "Noto Serif JP";
  font-size: 24px;
  font-style: normal;
  font-weight: 500;
  line-height: 2; /* 200% */
  margin-top: 0;
  padding-bottom: 5px;
  border-bottom: 1px solid #4c88c4;
  margin-bottom: 10px;
}

.scene-item-text {
  color: #000;
  font-family: "Noto Sans JP";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.5; /* 150% */
  margin-top: 10px;
  margin-bottom: 0;
}

@media (max-width: 1200px) {
  .scene .container {
    padding: 0 4vw;
  }
}

@media (max-width: 767px) {
  .scene {
    padding: 6vw 0;
  }
  .scene .container {
    padding: 0 5vw;
  }
  .scene-subtitle {
    margin-bottom: 0;
  }
  .scene-intro {
    font-size: 3.7vw;
    line-height: 1.7;
    margin-top: 3vw;
    margin-bottom: 2vw;
  }
  .scene-list {
    gap: 6vw;
  }
  .scene-item {
    flex-direction: column-reverse !important;
    gap: 2vw;
    padding: 0;
  }
  .scene-item-text-box {
    width: 100%;
  }
  .scene-item-image-box {
    width: 100%;
  }
  .scene-item-title {
    font-size: 4.2vw;
    line-height: 1.7;
    margin-bottom: 0;
    border-bottom-width: 0.5vw;
  }
  .scene-item-text {
    font-size: 3.6vw;
    line-height: 1.8;
    margin-bottom: 0;
  }
}

/* scene-photos */

.scene-photos-section {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.scene-photos {
  display: flex;
  justify-content: center;
  gap: 0;
  width: 1440px;
  min-width: 1440px;
}

.scene-photo {
  width: 33.33%;
  aspect-ratio: 480/255;
  object-fit: cover;
}

@media (min-width: 1440px) {
  .scene-photos {
    width: 100%;
    min-width: 100%;
  }
}

@media (max-width: 767px) {
  .scene-photos {
    width: 100%;
    min-width: 100%;
  }
  .scene-photo {
    aspect-ratio: unset;
    width: 100%;
  }
}

/* Staff Section */
.staff {
  padding: 30px 0 60px;
  background-color: #fff;
  position: relative;
  overflow: hidden;
}

.staff-bg {
  position: absolute;
  top: 200px;
  left: calc(50% + 300px);
  width: 984px;
  aspect-ratio: 984/841;
  background-image: url(../img/recruit/staff-bg.webp);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

.staff .container {
  position: relative;
  z-index: 1;
}

.staff-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.staff-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 7%;
}

.staff-item.reverse {
  flex-direction: row-reverse;
}

.staff-image-box {
  width: 300px;
  flex-shrink: 0;
}

.staff-image {
  width: 100%;
  aspect-ratio: 300/280;
  object-fit: cover;
}

.staff-text-box {
  position: relative;
}

.staff-name {
  color: #000;
  font-family: "Noto Serif JP";
  font-size: 24px;
  font-style: normal;
  font-weight: 500;
  line-height: 48px; /* 200% */
  padding-bottom: 5px;
  border-bottom: 1px solid #4c88c4;
  margin-bottom: 10px;
  margin-top: 0;
}

.staff-text {
  color: #000;
  font-family: "Noto Sans JP";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.5; /* 150% */
  margin-top: 0;
  margin-bottom: 0;
}

@media (max-width: 1200px) {
  .staff .container {
    padding: 0 4vw;
  }
}

@media (max-width: 767px) {
  .staff {
    padding: 4vw 0 8vw;
  }
  .staff .container {
    padding: 0 5vw;
  }
  .staff-bg {
    top: unset;
    bottom: 90vw;
    left: calc(50% + 50vw);
    width: 127vw;
    background-image: url(../img/recruit/staff-bg.webp);
    transform: translateX(-50%);
  }
  .staff-list {
    gap: 7vw;
    margin-top: 5vw;
  }
  .staff-item {
    display: block;
    gap: 2vw;
    padding: 0;
    overflow: hidden; 
  }
  .staff-image-box {
    width: 27vw;
    float: left;
    margin-right: 3vw;
    margin-bottom: 2vw;
  }
  .staff-item.reverse .staff-image-box {
    float: right;
    margin-right: 0;
    margin-left: 3vw; 
  }
  .staff-image {
    aspect-ratio: 1/1;
  }
  .staff-name {
    font-size: 4.2vw;
    width: 60vw;
    margin-left: auto;
    border-bottom-width: 0.5vw;
    line-height: 1;
    padding-bottom: 0.5em;
  }
  .staff-item.reverse .staff-name {
    margin-left: unset;
    margin-right: auto;
    width: 57vw;
  }
  .staff-text {
    font-size: 3.7vw;
    line-height: 1.9;
    margin-bottom: 0;
  }
  .staff-subtitle {
    margin-bottom: 0;
  }
  .staff-intro {
    font-size: 3.7vw;
    line-height: 1.7;
    margin-top: 3vw;
    margin-bottom: 2vw;
  }
}

/* Requirements Section */
.requirements {
  padding: 30px 0 70px;
  background-color: #f0f4fa;
}

.requirements-table {
  width: 100%;
  background-color: #fff;
  padding: 15px 40px 25px;
}

.requirements-table table {
  width: 100%;
  border-collapse: collapse;
}

.requirements-table th {
  width: 25%;
  text-align: left;
  padding: 12px 20px;
  border-bottom: 1px solid #4c88c4;
  color: #4c88c4;
  font-family: "Noto Serif JP";
  font-weight: 700;
  vertical-align: top;
}

.requirements-table td {
  width: 75%;
  padding: 12px 20px;
  border-bottom: 1px solid #4c88c4;
  font-family: "Noto Sans JP";
  line-height: 1.5;
}

@media (max-width: 1200px) {
  .requirements .container {
    padding: 0 4vw;
  }
}

@media (max-width: 767px) {
  .requirements {
    padding: 3vw 0 10vw;
  }
  .requirements .container {
    padding: 0 5vw;
  }
  .requirements-table {
    padding: 4vw 2vw 6vw;
  }
  .requirements-table th {
    font-size: 4.2vw;
    line-height: 1.9;
    border-bottom: 0.5vw solid #4c88c4;
    padding: 2vw 1vw;
    width: 27vw;
  }
  .requirements-table td {
    font-size: 3.7vw;
    line-height: 1.9;
    border-bottom: 0.5vw solid #4c88c4;
    padding: 2vw 1vw;
  }
  .requirements-table tr {
    display: flex;
  }
}
/* Benefits Section */
.benefits {
  padding: 30px 0 50px;
  background-color: #fff;
}

.benefits-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.benefits-list li {
  position: relative;
  line-height: 1.5;
  display: inline;
  padding-left: 1.2em;
  color: #000;
  font-family: "Noto Sans JP";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  padding-right: 0.5em;
}

.benefits-list li::before {
  content: "";
  width: 0.9em;
  height: 0.9em;
  position: absolute;
  left: 0;
  top: 0.3em;
  background-color: #4c88c4;
  border-radius: 50%;
}

.mt-60 {
  margin-top: 60px;
}

.benefits-text {
  color: #000;
  font-family: "Noto Sans JP";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px; /* 150% */
}

.benefits-subtitle {
  margin-bottom: 20px;
}

@media (max-width: 1200px) {
  .benefits .container {
    padding: 0 4vw;
  }
}

@media (max-width: 767px) {
  .benefits {
    padding: 5vw 0 8vw;
  }
  .benefits .container {
    padding: 0 5vw;
  }
  .benefits-list {
  }
  .benefits-list li {
    font-size: 3.7vw;
    line-height: 1.8;
  }
  .benefits-text {
    font-size: 3.7vw;
    line-height: 1.8;
  }
}
/* Flow Section */
.flow {
  padding: 30px 0 70px;
  background-color: #f0f4fa;
}

.flow-list {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.flow-item {
  width: 27.27%;
}

.flow-image {
  width: 100%;
  aspect-ratio: 300/280;
}

.flow-item-title {
  color: #000;
  font-family: "Noto Serif JP";
  font-size: 24px;
  font-style: normal;
  font-weight: 500;
  line-height: 2; /* 200% */
  margin-top: 10px;
  margin-bottom: 0;
}

.flow-item-text {
  color: #000;
  font-family: "Noto Sans JP";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.5; /* 150% */
  margin-top: 0;
  margin-bottom: 0;
}

.flow-arrow {
  margin-top: 12%; /* Align with image center approx */
  width: 0;
  height: 0;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  border-left: 25px solid #4c88c4;
}

@media (max-width: 1200px) {
  .flow .container {
    padding: 0 4vw;
  }
}

@media (max-width: 767px) {
  .flow {
    padding: 3vw 0 10vw;
  }
  .flow .container {
    padding: 0 5vw;
  }
  .flow-list {
    flex-direction: column;
    gap: 0;
    align-items: center;
  }
  .flow-item {
    width: 100%;
    min-height: 32.8vw;
  }
  .flow-image-box {
    position: absolute;
    top: 0;
    right: 0;
    width: 42.6vw;
    transform: translateX(5vw);
    aspect-ratio: 160/123;
    object-fit: cover;
  }
  .flow-image {
    width: 100%;
    aspect-ratio: 160/123;
    object-fit: cover;
  }
  .flow-item-title {
    font-size: 4.2vw;
    line-height: 1.9;
    width: 45vw;
    margin-top: 0;
  }
  .flow-item-text {
    font-size: 3.7vw;
    line-height: 1.9;
    width: 45vw;
  }
  .flow-arrow {
    width: 0;
    height: 0;
    border-top: 9vw solid transparent;
    border-bottom: 9vw solid transparent;
    border-left: 7vw solid #6894d1;
    transform: rotate(90deg) !important;
    margin-top: 2vw;
    margin-bottom: 2vw;
  }
}