.main-content {
	padding-top: clamp(120px, 14.583vw, 240px);
    padding-bottom:0;
}
/* =================================================
   1. Base & Layout Section
================================================= */

/* =================================================
   2. Job Details Section (.jdx9-jobdetails)
================================================= */
.jdx9-jobdetails-section {
  position: relative;
  overflow: hidden;
  padding-bottom: clamp(60px, 6.615vw, 127px);
}

.jdx9-jobdetails-bgshape {
  position: absolute;
  top: -180px;
  right: -120px;
  width: 900px;
  height: 900px;
  background: rgba(0, 132, 255, 0.14);
  transform: rotate(45deg);
  pointer-events: none;
}

.jdx9-jobdetails-inner {
  position: relative;
  z-index: 2;
  width: calc(100% - 120px);
  max-width: 1680px;
  margin: 0 auto;
}

.jdx9-jobdetails-title {
  margin: 0;
  color: #e4ea3e;
  font-size: 92px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.08em;
}

.jdx9-jobdetails-subwrap {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 34px;
}

.jdx9-jobdetails-subtitle {
  margin: 0;
  color: #d7df38;
  font-size: 32px;
  font-weight: 700;
  white-space: nowrap;
}

.jdx9-jobdetails-line {
  width: 440px;
  height: 1px;
  background: rgba(215, 223, 56, 0.55);
}

/* =================================================
   3. Facility Area Section (.facility-area)
================================================= */
.facility-area {
  padding: 100px 0;
}

.facility-area:first-child {
  padding-top: 0;
}

.facility-area__heading {
  margin-bottom: 50px;
}

.facility-area__title {
  font-size: 2rem;
  margin-bottom: 60px;
  text-align: center;
  display: flex;
  flex-direction: column;
  font-family: "Noto Serif JP", serif;
  color: #352209;
}

.facility-area__title-main {
  font-size: clamp(2rem, 1.58rem + 0.61vw, 2.5rem);
  font-weight: 500;
}

.facility-area__title-sub {
  font-family: "Noto Serif JP", serif;
  font-size: 1.25rem;
  font-weight: 400;
}

.facility-area__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 60px;
}

/* Facility Card */
.facility-card {
  background: #fff;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.facility-card__link {
  display: block;
  color: inherit;
  text-decoration: none;
  height: 100%;
}

.facility-card__image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

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

.facility-card__body {
  padding: 20px;
}

.facility-card__title {
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.7;
	position: relative;
	padding-right: 20px;
}
.rec-text {
	background: #4AB578;
	color: #fff;
	padding: 0 10px;
	font-size: 14px;
}
.facility-card__title::before {
  content: "＞";
  display: inline-block;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 25px;
}

/* =================================================
   4. Work Style Navigation (.work-style)
================================================= */
.work-style__nav {
  width: 100%;
  max-width: clamp(300px, 18.23vw, 350px);
}

.work-style__nav-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  column-gap: 30px;
  row-gap: clamp(3px, 0.52vw, 10px);
}

.work-style__nav-item {
  width: calc((100% - 30px) / 2);
}

.work-style__nav-link {
  display: block;
  position: relative;
  padding-left: 22.78px;
  color: #352209;
  font-size: clamp(18px, 1.14vw, 22px);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 2.36;
  white-space: nowrap;
  text-align:left;
}

.work-style__nav-link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 16.48px;
  height: 1px;
  background-color: #352209;
}

/* =================================================
   5. Recruitment FAQ Section (.recruitment-faq)
================================================= */
.recruitment-faq {
	padding-top: clamp(60px, 5vw, 67px);
	padding-bottom: clamp(40px, 3.438vw, 66px);
	background: #fff5e9;
}
.recruitment-faq__inner {
	padding-inline: 20px;
}

.recruitment-faq__title {
  color: #352209;
  margin-bottom: clamp(30px, 2.76vw, 53px);
  font-size: clamp(2rem, 1.58rem + 0.61vw, 2.5rem);
  font-weight: 500;
  text-align: center;
  font-family: "Noto Serif JP", serif;
}

.recruitment-faq__container {
  display: flex;
  flex-wrap: wrap;
  column-gap: 6%;
}

.recruitment-faq__item {
  padding-top: clamp(25px, 1.823vw, 35px);
  padding-left: clamp(10px, 1.615vw, 31px);
  padding-right: clamp(3px, 0.521vw, 10px);
  padding-bottom: clamp(25px, 2.865vw, 55px);
  width: 46.99%;
  font-family: "Noto Serif JP", serif;
}

.recruitment-faq__item {
	border-top: 1px solid #C97A7C;
}
.recruitment-faq__item:nth-last-child(-n+2) {
	border-bottom: 1px solid #C97A7C;
}

.recruitment-faq__row {
  position: relative;
  padding-left: clamp(45px, 6vw, 100px);
}

.recruitment-faq__row::before {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: clamp(30px, 3vw, 44px);
  font-weight: 900;
  color: #054582;
  line-height: 1;
}

.recruitment-faq__row--question::before {
	content: "Q.";
	color: #FF7577;
}
.recruitment-faq__row--answer::before {
  content: "A.";
  color: #4AB578;
}

.recruitment-faq__text--question {
	font-size: clamp(18px, 1.2vw, 22px);
	line-height: 1.8;
	font-weight: 600;
}

.recruitment-faq__row--answer {
  margin-top: clamp(20px, 2.5vw, 40px);
}

.recruitment-faq__text--answer {
  font-size: clamp(16px, 1.1vw, 20px);
  line-height: 2;
  font-weight: 500;
}


/* =================================================
   Responsive / Media Queries (降順に整理)
================================================= */

/* --- 1200px --- */
@media screen and (max-width: 1200px) {

  .jdx9-jobdetails-inner {
    width: auto;
  }

  .jdx9-jobdetails-title {
    font-size: 70px;
  }

  .jdx9-jobdetails-subtitle {
    font-size: 24px;
  }

  .jdx9-jobdetails-card {
    width: 100%;
  }

  .jdx9-jobdetails-cardtitle {
    font-size: 34px;
  }

  .jdx9-jobdetails-category {
    font-size: 22px;
  }
}

/* --- 1100px --- */
@media screen and (max-width: 1100px) {
  .our-story__nav {
    max-width: 330px;
  }

  .work-style__nav {
    max-width: 280px;
  }
}

/* --- 1024px --- */
@media screen and (max-width: 1024px) {
  .facility-area__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* --- 920px --- */
@media screen and (max-width: 920px) {
  .our-story__nav-list {
    column-gap: 20px;
  }
}

/* --- 850px --- */
@media screen and (max-width: 850px) {
  .recruitment-faq__text--answer {
    line-height: 1.8;
  }
}

/* --- 768px --- */
@media screen and (max-width: 768px) {
    .recruitment-faq__title {
	font-size: 25px;
}
  /* Our Story */
  .our-story__header {
    margin-bottom: 50px;
    flex-direction: column;
    max-width: 640px;
    margin-inline: auto;
  }

  .our-story__header-inner {
    flex-direction: column;
    align-items: flex-start;
    row-gap: 20px;
    padding: 0 20px;
  }

  .our-story__nav {
    width: 100%;
    max-width: 100%;
  }

  .our-story__nav-list {
    width: 80%;
    flex-wrap: nowrap;
    row-gap: 0;
    column-gap: 10px;
    justify-content: flex-start;
  }

  .our-story__nav-item:first-child {
    margin-right: clamp(3px, 1.04vw, 8px);
  }

  .our-story__nav-link {
    font-size: 16px;
  }

  /* Work Style */
  .work-style__header {
    margin-bottom: 80px;
  }

  .work-style__header-inner {
    flex-direction: column;
    align-items: flex-start;
    row-gap: 30px;
    padding: 0 20px;
  }

  .work-style__nav {
    width: 100%;
    max-width: 100%;
  }

  .work-style__nav-list {
    width: 80%;
    flex-wrap: nowrap;
    column-gap: 10px;
    row-gap: 0;
  }

  .work-style__nav-item:first-child {
    margin-right: clamp(3px, 1.04vw, 8px);
  }

  .work-style__nav-link {
    font-size: 16px;
  }

  .jdx9-jobdetails-inner {
    width: auto;
  }


  .jdx9-jobdetails-title {
    font-size: 48px;
  }

  .jdx9-jobdetails-subwrap {
    gap: 18px;
    margin-top: 20px;
  }

  .jdx9-jobdetails-subtitle {
    font-size: 18px;
  }

  .jdx9-jobdetails-line {
    width: 100%;
  }

  .jdx9-jobdetails-list {
    row-gap: 28px;
  }

  .jdx9-jobdetails-cardinner {
    padding: 24px 20px 20px;
  }

  .jdx9-jobdetails-top {
    margin-bottom: 22px;
  }

  .jdx9-jobdetails-label {
    min-height: 36px;
    padding: 0 14px;
    font-size: 14px;
  }

  .jdx9-jobdetails-middle {
    align-items: flex-start;
    gap: 18px;
    padding-bottom: 22px;
  }

  .jdx9-jobdetails-cardtitle {
    font-size: 24px;
  }

  .jdx9-jobdetails-arrow {
    width: 28px;
    height: 28px;
    margin-top: 6px;
  }

  .jdx9-jobdetails-arrow::before {
    width: 26px;
  }

  .jdx9-jobdetails-arrow::after {
    width: 12px;
    height: 12px;
  }

  .jdx9-jobdetails-bottom {
    padding-top: 18px;
  }

  .jdx9-jobdetails-category {
    font-size: 16px;
  }

  /* FAQ */
  .recruitment-faq {
    padding-top: clamp(50px, 10.417vw, 80px);
    padding-bottom: clamp(30px, 7.813vw, 60px);
  }

  .recruitment-faq__inner {
    padding-inline: 20px;
    max-width: 640px;
  }

  .recruitment-faq__item {
    width: 100%;
    padding-left: 0;
  }

  .recruitment-faq__item:nth-child(n) {
    border-top: none;
    border-bottom: 1px solid #054582;
  }

  .recruitment-faq__item:first-child {
    border-top: 1px solid #054582;
  }

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

  .recruitment-faq__row {
    padding-left: 50px;
  }
}

/* --- 767px --- */
@media screen and (max-width: 767px) {

  .facility-area__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* --- 600px --- */
@media screen and (max-width: 600px) {
  .our-story__nav-list {
    flex-wrap: wrap;
    width: clamp(280px, 66.3vw, 320px);
    justify-content: space-between;
  }
}

/* --- 500px --- */
@media screen and (max-width: 500px) {
  .work-style__nav-list {
    flex-wrap: wrap;
    width: clamp(280px, 60vw, 300px);
  }
}

/* --- 350px --- */
@media screen and (max-width: 350px) {
  .our-story__nav-list {
    width: 250px;
  }
}