/* 採用情報トップ */

@media (max-width: 767px) {
  .lower-hero--recruit .lower-hero__photo-wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(to bottom, transparent 10%, rgba(8, 39, 62, .3) 45%, rgba(8, 39, 62, .82) 100%);
    pointer-events: none;
  }

  .lower-hero--recruit .lower-hero__photo-copy {
    left: 2rem;
    right: 2rem;
    bottom: 2rem;
    text-shadow: 0 2px 6px rgba(0, 0, 0, .35);
  }

  .lower-hero--recruit .lower-hero__photo-copy-main {
    margin-bottom: 1.2rem;
    font-size: clamp(2.2rem, 5.8vw, 2.8rem);
    font-weight: 600;
    line-height: 1.55;
    letter-spacing: .02em;
  }

  .lower-hero--recruit .lower-hero__photo-copy-sub {
    font-family: var(--sans);
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 1.75;
    letter-spacing: .02em;
    overflow-wrap: anywhere;
  }
}

#under .recruit-faq h2 {
  color: #fff;
}

.recruit-message {
  position: relative;
  padding: 14rem 0 13rem;
  background: #fff;
}

.recruit-message__inner {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(7rem, 8vw, 14rem);
  max-width: 1360px;
}

.recruit-message__content {
  width: 100%;
  max-width: 58rem;
}

.recruit-message__text p {
  margin: 0 0 2.8rem;
  font-size: 1.8rem;
  line-height: 2.15;
  letter-spacing: .04em;
}

.recruit-message__text p:last-child {
  margin-bottom: 0;
}

.recruit-message__visual {
  position: relative;
  width: 100%;
  max-width: 68rem;
  justify-self: end;
}

.recruit-message__photo {
  position: relative;
  width: 100%;
  margin: 0;
  overflow: hidden;
  background: #e7f2f8;
  border-radius: 50% 0 0 0;
}

.recruit-message__photo img {
  display: block;
  width: 100%;
  height: clamp(58rem, 42vw, 76rem);
  object-fit: cover;
  object-position: center;
}

.recruit-message__photo::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 25%;
  pointer-events: none;
}

@media (max-width: 1024px) {
  .recruit-message {
    padding: 10rem 0;
  }

  .recruit-message__inner {
    grid-template-columns: 1fr;
    gap: 5rem;
  }

  .recruit-message__content {
    max-width: none;
  }

  .recruit-message__visual {
    width: 100%;
    max-width: none;
    justify-self: auto;
  }

  .recruit-message__text p {
    margin-bottom: 2.2rem;
    line-height: 2;
  }

  .recruit-message__photo img {
    height: clamp(48rem, 55vw, 62rem);
  }
}

@media (max-width: 767px) {
  .recruit-message {
    padding: 8rem 0;
  }

  .recruit-message__inner {
    grid-template-columns: 1fr;
    gap: 5rem;
  }

  .recruit-message__content {
    max-width: none;
  }

  .recruit-message__text p {
    margin-bottom: 2rem;
    line-height: 1.9;
  }

  .recruit-message__visual {
    max-width: none;
  }

  .recruit-message__photo {
    width: 92%;
    margin-left: auto;
    border-radius: 42% 0 0 0;
  }

  .recruit-message__photo img {
    height: 52rem;
  }
}

@media (max-width: 520px) {
  .recruit-message {
    padding: 7rem 0;
  }

  .recruit-message__photo img {
    height: 43rem;
  }
}

.recruit-work {
  position: relative;
  padding: 11rem 0;
  background: #e8f7fe;
}

.recruit-work > * {
  position: relative;
  z-index: 1;
}

.recruit-work__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: center;
  gap: clamp(7rem, 8vw, 14rem);
}

.recruit-work__visual {
  position: relative;
  min-height: 52rem;
}

.recruit-work__photo {
  position: absolute;
  margin: 0;
  overflow: hidden;
  background: #dcecf4;
}

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

.recruit-work__photo--main {
  top: 0;
  left: 0;
  width: 76%;
  height: 39rem;
}

.recruit-work__photo--sub {
  right: 0;
  bottom: 0;
  width: 52%;
  height: 24rem;
}

.recruit-work__content {
  width: 100%;
  max-width: 55rem;
}

.recruit-work__content h2 {
  margin: 0 0 3rem;
}

.recruit-work__lead {
  margin: 0 0 3rem;
  color: #343434;
  font-family: var(--serif);
  font-size: 3.7rem;
  font-weight: 500;
  line-height: 1.65;
  letter-spacing: .04em;
}

.recruit-work__text {
  margin: 0;
  text-indent: 0;
  font-size: 1.8rem;
  line-height: 2;
  letter-spacing: .04em;
}

@media (max-width: 1024px) {
  .recruit-work {
    padding: 9rem 0;
  }

  .recruit-work__inner {
    grid-template-columns: 1fr;
    gap: 5rem;
  }

  .recruit-work__content {
    max-width: none;
  }

  .recruit-work__visual {
    width: 100%;
  }

  .recruit-work__visual {
    min-height: 44rem;
  }

  .recruit-work__photo--main {
    width: 78%;
    height: 33rem;
  }

  .recruit-work__photo--sub {
    width: 54%;
    height: 20rem;
  }

  .recruit-work__lead {
    font-size: 2.4rem;
  }

  .recruit-work__text {
    font-size: 1.5rem;
  }
}

@media (max-width: 767px) {
  .recruit-work {
    padding: 8rem 0;
  }

  .recruit-work__inner {
    grid-template-columns: 1fr;
    gap: 5rem;
  }

  .recruit-work__visual {
    min-height: 42rem;
  }

  .recruit-work__photo--main {
    width: 78%;
    height: 30rem;
  }

  .recruit-work__photo--sub {
    width: 56%;
    height: 18rem;
  }

  .recruit-work__content {
    max-width: none;
  }

  .recruit-work__content h2 {
    margin-bottom: 2.4rem;
  }

  .recruit-work__lead {
    margin-bottom: 2.4rem;
    font-size: 2.2rem;
  }

  .recruit-work__text {
    font-size: 1.6rem;
    line-height: 1.9;
  }
}

@media (max-width: 520px) {
  .recruit-work__visual {
    min-height: 36rem;
  }

  .recruit-work__photo--main {
    width: 82%;
    height: 26rem;
  }

  .recruit-work__photo--sub {
    width: 58%;
    height: 15rem;
  }

  .recruit-work__lead {
    font-size: 2rem;
  }
}

.recruit-data {
  position: relative;
  min-height: 68rem;
  padding: 13rem 0 12rem;
  overflow: hidden;
  background: #fff;
}

.recruit-data__inner {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
  align-items: center;
  gap: clamp(7rem, 9vw, 15rem);
}

.recruit-data__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 48rem;
}

.recruit-data__content h2 {
  margin-bottom: 3rem;
}

.recruit-data__lead {
  margin: 0 0 2.5rem;
  color: #333;
  font-family: var(--serif);
  font-size: 3rem;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: .04em;
}

.recruit-data__text {
  margin: 0;
  color: #555;
  font-size: 1.6rem;
  line-height: 2;
  letter-spacing: .04em;
}

@media (min-width: 1025px) {
  .section .container.recruit-data__inner {
    width: min(calc(100% - 64px), 1440px);
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: 6rem;
    align-items: start;
  }

  .recruit-data__content {
    max-width: none;
  }

  #under .recruit-data__content h2 {
    margin-bottom: 3rem;
  }

  .recruit-data__lead {
    margin-bottom: 4rem;
    font-size: clamp(2.4rem, 1.875vw, 3.6rem);
  }

  .recruit-data__text {
    font-size: 1.8rem;
    line-height: 2.2;
  }

  .recruit-data__content .blue-circle-link {
    margin-top: 4rem;
  }
}

.recruit-data__cards {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4rem;
}

.recruit-data__card {
  display: grid;
  grid-template-columns: 7rem 1px minmax(0, 1fr);
  align-items: center;
  column-gap: 2rem;
  min-height: 17rem;
  padding: 6rem 2rem;
  background: rgba(255, 255, 255, .96);
  border: 1px solid rgba(15, 95, 152, .08);
  border-radius: 1rem;
  box-shadow: 0 1.2rem 3.5rem rgba(45, 104, 142, .08);
}

.recruit-data__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 6.2rem;
  height: 6.2rem;
  border-radius: 50%;
  background: #edf8fd;
  color: var(--blue);
  font-size: 2.6rem;
  line-height: 1;
}

.recruit-data__divider {
  display: block;
  width: 1px;
  height: 8rem;
  background: #a9d5fd;
}

.recruit-data__card-content {
  min-width: 0;
}

.recruit-data__label {
  margin: 0 0 .9rem;
  color: var(--blue);
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: .06em;
}

.recruit-data__number {
  display: flex;
  align-items: baseline;
  margin: 0;
  color: var(--blue);
  font-family: var(--serif);
  line-height: 1;
  white-space: nowrap;
}

.recruit-data__number strong {
  margin: 0;
  font-size: clamp(4rem, 3.6vw, 5.6rem);
  font-weight: 500;
  letter-spacing: -.02em;
}

.recruit-data__unit {
  font-size: 2rem;
  font-weight: 500;
}

.recruit-data__photo {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50vw;
  overflow: hidden;
  border-radius: 0 68% 0 0;
}

.recruit-data__photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left bottom;
  opacity: .22;
}

.recruit-data__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(232, 247, 254, .15), rgba(255, 255, 255, .3));
  pointer-events: none;
}

.recruit-data::after {
  content: "";
  position: absolute;
  z-index: 0;
  top: 5rem;
  right: -12vw;
  width: min(47vw, 950px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: #e8f7fe;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 32%, rgba(0, 0, 0, .8) 42%, rgba(0, 0, 0, .45) 52%, rgba(0, 0, 0, .15) 62%, transparent 72%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 32%, rgba(0, 0, 0, .8) 42%, rgba(0, 0, 0, .45) 52%, rgba(0, 0, 0, .15) 62%, transparent 72%);
  pointer-events: none;
}

@media (max-width: 1024px) {
  .recruit-data {
    min-height: 0;
    padding: 10rem 0;
  }

  .recruit-data__inner {
    grid-template-columns: 1fr;
    gap: 5rem;
  }

  .recruit-data__content {
    max-width: none;
  }

  .recruit-data__lead {
    font-size: 2.4rem;
  }

  .recruit-data__text br,
    .recruit-work__lead br,
    .recruit-work__text br,
    .recruit-faq__lead br,
    .recruit-faq__text br {
    display: none;
  }

  .recruit-data__cards {
    gap: 1.6rem;
  }

  .recruit-data__card {
    grid-template-columns: 6.5rem 1px minmax(0, 1fr);
    min-height: 14rem;
    padding: 2.4rem 2rem;
  }

  .recruit-data__icon {
    width: 5.2rem;
    height: 5.2rem;
    font-size: 2.2rem;
  }

  .recruit-data__number strong {
    font-size: 4rem;
  }

  .recruit-data__photo {
    width: 44vw;
    height: 25rem;
  }
}

@media (max-width: 767px) {
  .recruit-data {
    --recruit-data-photo-height: clamp(16rem, 46vw, 24rem);
    padding: 8rem 0 calc(var(--recruit-data-photo-height) + 3rem);
  }

  .recruit-data::after {
    top: clamp(24rem, 62vw, 30rem);
    right: -28vw;
    width: min(92vw, 44rem);
    opacity: .75;
  }

  .recruit-data__inner {
    grid-template-columns: 1fr;
    gap: 5rem;
  }

  .recruit-data__content {
    max-width: none;
  }

  .recruit-data__lead {
    margin-bottom: 2rem;
    font-size: 2.2rem;
  }

  .recruit-data__text br {
    display: none;
  }

  .recruit-data__cards {
    grid-template-columns: 1fr;
    gap: 1.6rem;
  }

  .recruit-data__card {
    display: grid;
    grid-template-columns: 6.5rem 1px minmax(0, 1fr);
    align-items: center;
    column-gap: 2rem;
    text-align: left;
  }

  .recruit-data__icon {
    margin: 0;
  }

  .recruit-data__label {
    font-size: 1.2rem;
  }

  .recruit-data__number {
    justify-content: center;
  }

  .recruit-data__number strong {
    font-size: 3.4rem;
  }

  .recruit-data__unit {
    font-size: 1.6rem;
  }

  .recruit-data__photo {
    position: absolute;
    z-index: 0;
    left: 0;
    bottom: 0;
    width: min(88vw, 44rem);
    height: var(--recruit-data-photo-height);
    margin: 0;
    border-radius: 0 60% 0 0;
  }

  .recruit-data__photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left bottom;
  }
}

@media (max-width: 520px) {
  .recruit-data__cards {
    grid-template-columns: 1fr;
  }

  .recruit-data__card {
    min-height: 16rem;
  }

  .recruit-data__number strong {
    font-size: 3rem;
  }
}

.recruit-faq {
  position: relative;
  isolation: isolate;
  padding: 13rem 0 18rem;
  overflow: visible;
  color: #fff;
  background: linear-gradient(135deg, #2696d8 0%, #0877c7 42%, #006fbd 72%, #178ed1 100%);
}

.recruit-faq__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.recruit-faq::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 0;
  left: -15%;
  width: 70%;
  height: 100%;
  background: rgba(0, 88, 174, .16);
  clip-path: polygon(0 45%, 45% 0, 100% 0, 40% 100%, 0 100%);
  pointer-events: none;
}

.recruit-faq__bg-panel {
  position: absolute;
  right: -20%;
  bottom: 0;
  width: 45%;
  height: 100%;
  background: rgba(0, 80, 175, .22);
  clip-path: polygon(48% 0, 100% 34%, 100% 100%, 0 100%);
}

.recruit-faq > .recruit-faq__photo {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  width: 20%;
  height: auto;
  overflow: visible;
  clip-path: none;
  pointer-events: none;
}

.recruit-faq > .recruit-faq__photo img {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
}

.recruit-faq__inner {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(40rem, .8fr);
  align-items: start;
  gap: clamp(6rem, 7vw, 12rem);
}

.recruit-faq__list {
  width: 100%;
}

.recruit-faq__item {
  border-bottom: 1px solid rgba(255, 255, 255, .45);
}

.recruit-faq__item:last-child {
  border-bottom: none;
}

.recruit-faq__question {
  display: grid;
  grid-template-columns: 5rem 1px minmax(0, 1fr) 5rem;
  grid-template-rows: auto;
  align-items: center;
  column-gap: 2.5rem;
  width: 100%;
  padding: 3rem 0;
  border: 0;
  background: transparent;
  color: #fff;
  text-align: left;
  cursor: pointer;
}

.recruit-faq__q {
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
  align-self: center;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4.4rem;
  font-weight: 400;
  line-height: 1;
}

.recruit-faq__question::before {
  content: "";
  grid-column: 2;
  grid-row: 1;
  justify-self: center;
  align-self: center;
  width: 1px;
  height: 5rem;
  background: rgba(255, 255, 255, .55);
}

.recruit-faq__question-text {
  grid-column: 3;
  grid-row: 1;
  min-width: 0;
  font-size: 1.8rem;
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: .04em;
}

.recruit-faq__toggle {
  position: relative;
  grid-column: 4;
  grid-row: 1;
  justify-self: end;
  align-self: center;
  width: 5rem;
  height: 5rem;
  border: 1px solid rgba(255, 255, 255, .85);
  border-radius: 50%;
}

.recruit-faq__toggle::before,
.recruit-faq__toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2rem;
  height: 1px;
  background: #fff;
  transform: translate(-50%, -50%);
  transition: transform .35s ease;
}

.recruit-faq__toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.recruit-faq__question[aria-expanded="true"] .recruit-faq__toggle::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.recruit-faq__answer {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows .45s ease, opacity .35s ease;
}

.recruit-faq__answer-inner {
  min-height: 0;
  overflow: hidden;
  display: grid;
  grid-template-columns: 5rem 1px minmax(0, 1fr);
  grid-template-rows: auto;
  align-items: start;
  column-gap: 2.5rem;
  padding: 0;
}

.recruit-faq__answer-inner .indent {
  list-style: none;
  margin: 0;
  padding: 0;
}

.recruit-faq__a {
  grid-column: 1;
  grid-row: 1;
  align-self: start;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3.8rem;
  line-height: 1.4;
}

.recruit-faq__answer-inner::before {
  content: "";
  grid-column: 2;
  grid-row: 1;
  justify-self: center;
  align-self: stretch;
  width: 1px;
  min-height: 4rem;
  background: rgba(255, 255, 255, .4);
}

.recruit-faq__answer p {
  text-indent: 0;
  grid-column: 3;
  grid-row: 1;
  min-width: 0;
  margin: 0;
  padding-top: .4rem;
  font-size: 1.8rem;
  color: rgba(255, 255, 255, .95);
  line-height: 2;
  letter-spacing: .04em;
}

.recruit-faq__item.is-open .recruit-faq__answer {
  grid-template-rows: 1fr;
  opacity: 1;
}

.recruit-faq__item.is-open .recruit-faq__answer-inner {
  padding-bottom: 3rem;
}

.recruit-faq__heading {
  position: relative;
  padding-top: 3rem;
  color: #fff;
}

.recruit-faq__heading h2 {
  margin-bottom: 3rem;
}

.recruit-faq__lead {
  margin: 0 0 2.4rem;
  color: #fff;
  font-family: var(--serif);
  font-size: 3.7rem;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: .04em;
}

.recruit-faq__text {
  margin: 0;
  color: rgba(255, 255, 255, .9);
  font-size: 1.8rem;
  line-height: 2;
  letter-spacing: .04em;
}

.recruit-faq__wave {
  position: absolute;
  z-index: 4;
  left: 0;
  right: 0;
  bottom: -1px;
  width: 100%;
  height: 14rem;
  pointer-events: none;
}

.recruit-faq__wave svg {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

@media (hover: hover) {
  .recruit-faq__question {
    transition: background-color .3s ease;
  }

  .recruit-faq__question:hover {
    background: rgba(255, 255, 255, .06);
  }
}

@media (max-width: 1024px) {
  .recruit-faq {
    padding: 10rem 0 15rem;
  }

  .recruit-faq__inner {
    grid-template-columns: 1fr;
    gap: 5rem;
  }

  .recruit-faq__heading {
    order: -1;
    padding-top: 0;
  }

  .recruit-faq__list {
    order: 0;
  }

  .recruit-faq__photo {
    width: 30%;
    height: auto;
  }

  .recruit-faq__question {
    grid-template-columns: 4.5rem 1px minmax(0, 1fr) 4.5rem;
    column-gap: 1.8rem;
  }

  .recruit-faq__q {
    font-size: 3.6rem;
  }

  .recruit-faq__question-text {
    font-size: 1.7rem;
  }

  .recruit-faq__toggle {
    width: 4.4rem;
    height: 4.4rem;
  }

  .recruit-faq__answer-inner {
    grid-template-columns: 4.5rem 1px minmax(0, 1fr);
    column-gap: 1.8rem;
  }

  .recruit-faq__lead {
    font-size: 2.4rem;
  }
}

@media (max-width: 767px) {
  .recruit-faq {
    padding: 8rem 0 13rem;
  }

  .recruit-faq__inner {
    grid-template-columns: 1fr;
    gap: 5rem;
  }

  .recruit-faq__heading {
    order: -1;
    padding-top: 0;
  }

  .recruit-faq__photo {
    width: 46%;
    height: auto;
    opacity: .4;
  }

  .recruit-faq__heading h2 {
    margin-bottom: 2.4rem;
  }

  .recruit-faq__lead {
    font-size: 2.2rem;
  }

  .recruit-faq__text {
    font-size: 1.5rem;
  }

  .recruit-faq__question {
    grid-template-columns: 3.5rem 1px minmax(0, 1fr) 3.8rem;
    column-gap: 1.2rem;
    padding: 2.3rem 0;
  }

  .recruit-faq__q {
    font-size: 3rem;
  }

  .recruit-faq__question::before {
    height: 4rem;
  }

  .recruit-faq__question-text {
    font-size: 1.6rem;
    line-height: 1.7;
  }

  .recruit-faq__toggle {
    width: 3.8rem;
    height: 3.8rem;
  }

  .recruit-faq__toggle::before,
    .recruit-faq__toggle::after {
    width: 1.6rem;
  }

  .recruit-faq__answer-inner {
    grid-template-columns: 3.5rem 1px minmax(0, 1fr);
    column-gap: 1.2rem;
  }

  .recruit-faq__a {
    font-size: 2.8rem;
  }

  .recruit-faq__answer p {
    font-size: 1.8rem;
    line-height: 1.9;
  }

  .recruit-faq__wave {
    height: 9rem;
  }
}

@media (max-width: 520px) {
  .recruit-faq__photo {
    width: 55%;
    height: auto;
  }

  .recruit-faq__lead {
    font-size: 2rem;
  }

  .recruit-faq__question {
    grid-template-columns: 3rem 1px minmax(0, 1fr) 3.5rem;
    column-gap: 1rem;
  }

  .recruit-faq__answer-inner {
    grid-template-columns: 3rem 1px minmax(0, 1fr);
    column-gap: 1rem;
  }
}

/* 募集案内にも共通の背景縦線を表示し、既存の上下余白を維持する。 */
.recruit-entry.section {
  padding: 6rem 0 2rem;
}

@media (max-width: 767px) {
  .recruit-entry.section {
    padding: 4rem 0 0;
  }
}
