/* ========================================
  RECRUIT PAGE
======================================== */

.recruit_page {
  background-color: #f7f5f1;
  color: #33251d;
  font-family: "Noto Serif JP", serif;
  font-size: 16px;
  line-height: 1.8;

  --fs12-10: clamp(1rem, 0.858vw + 0.342rem, 1.2rem);
  --fs14-12: clamp(1.2rem, 0.858vw + 0.542rem, 1.4rem);
  --fs16-12: clamp(1.2rem, 1.717vw - 0.117rem, 1.6rem);
  --fs18-12: clamp(1.2rem, 2.575vw - 0.775rem, 1.8rem);
  --fs20-14: clamp(1.4rem, 2.575vw - 0.575rem, 2rem);
  --fs22-16: clamp(1.6rem, 2.575vw - 0.375rem, 2.2rem);
  --fs24-16: clamp(1.6rem, 3.433vw - 1.033rem, 2.4rem);
  --fs28-18: clamp(1.8rem, 4.292vw - 1.492rem, 2.8rem);
  --fs32-18: clamp(1.8rem, 6.009vw - 2.809rem, 3.2rem);
}

.recruit_page *,
.recruit_page *::before,
.recruit_page *::after {
  box-sizing: border-box;
}

.recruit_page img {
  display: block;
  width: 100%;
  height: auto;
}

.recruit_page a {
  color: inherit;
  text-decoration: none;
}

.recruit_page p,
.recruit_page h1,
.recruit_page h2,
.recruit_page h3,
.recruit_page ul,
.recruit_page dl,
.recruit_page dd {
  margin-top: 0;
}

.recruit_page .inner {
  width: min(96%, 1180px);
  margin-right: auto;
  margin-left: auto;
}

/* ========================================
  HERO
======================================== */

.recruit_page .recruit_hero {
  background-color: #f7f5f1;
  margin: 0;
}

.recruit_page .recruit_hero_inner {
  display: grid;
  grid-template-columns: 38% 62%;
  max-width: 1000px;
  min-height: 440px;
  margin-right: auto;
  margin-left: auto;
  background-image: url(/wp-content/uploads/recruit_img_01.webp);
  background-size: 68%;
  background-repeat: no-repeat;
  background-position: right bottom;
}

.recruit_page .recruit_hero_content {
  position: relative;
  z-index: 2;
  padding: 30px 0 30px 30px;
}

.recruit_page .recruit_heading_en {
  margin-bottom: 5px;
  font-family: "Noto Serif JP", serif;
  font-size: 70px;
  font-weight: 400;
  letter-spacing: 0.05em;
  line-height: 1.2;
}

.recruit_page .recruit_heading_ja {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 10px;
}

.recruit_page .recruit_heading_ja span {
  display: block;
  width: 90px;
  height: 1px;
  background-color: #33251d;
}

.recruit_page .recruit_heading_ja h1 {
  margin: 0;
  color: #33251d;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: 0.15em;
  line-height: 1.5;
  padding: 6px 0;
}

.recruit_page .recruit_lead {
  font-size: var(--fs20-14);
  line-height: 2.4;
  letter-spacing: 0.08em;
}

.recruit_page .recruit_lead p {
  margin-bottom: 20px;
  text-shadow:
    -1px -1px 0 rgba(255, 255, 255, 0.5),
    1px -1px 0 rgba(255, 255, 255, 0.5),
    -1px 1px 0 rgba(255, 255, 255, 0.5),
    1px 1px 0 rgba(255, 255, 255, 0.5);
}

.recruit_page .recruit_hero_image {
  overflow: hidden;
}

.recruit_page .recruit_hero_image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}

/* ========================================
  CONTACT BAR
======================================== */

.recruit_page .contact_bar {
  background-color: #392517;
  color: #fff;
  margin-bottom: 32px;
}

.recruit_page .contact_bar_inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 120px 1.5fr;
  max-width: 1280px;
  margin-right: auto;
  margin-left: auto;
}

.recruit_page .contact_bar_inner > div {
  display: flex;
  min-height: 120px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 15px 24px;
}

.recruit_page .contact_tel {
  align-items: flex-start;
}

.recruit_page .contact_label {
  margin-bottom: 0;
  font-size: var(--fs20-14);
  letter-spacing: 0.05em;
}

.recruit_page .contact_tel a {
  font-size: var(--fs24-16);
  letter-spacing: 0.08em;
}

.recruit_page .contact_web {
  background-color: #a7957d;
  text-align: center;
}

.recruit_page .contact_web p {
  margin-bottom: 0;
  font-size: var(--fs20-14);
}

.recruit_page .contact_web a {
  font-size: var(--fs24-16);
  letter-spacing: 0.05em;
  transition: 0.5s;
  padding: 0 10px;
}

.recruit_page .contact_web a:hover {
  background: #cdbba3;
  border-radius: 6px;
}

.recruit_page .contact_sns {
  background-color: #fff;
  color: #333;
  text-align: center;
}

.recruit_page .contact_sns a {
  font-family: Arial, sans-serif;
  font-size: 14px;
}

.recruit_page .contact_sns a img {
  max-width: 56px;
}

.recruit_page .contact_clinic {
  text-align: center;
}

.recruit_page .contact_clinic p {
  margin-bottom: 0;
  font-size: var(--fs16-12);
}

.recruit_page .contact_clinic p.contact_clinic_name {
  font-size: 28px;
  font-size: var(--fs28-18);
  letter-spacing: 0.15em;
}

/* ========================================
  WORK POINT
======================================== */

.recruit_page .work_point {
  padding: 0 0 32px;
  margin: 0;
}

.recruit_page .section_title {
  width: 80%;
  margin-bottom: 32px;
  padding: 10px 20px;
  border-radius: 4px;
  background-color: #392517;
  color: #fff;
  font-size: 38px;
  font-weight: 400;
  letter-spacing: 0.2em;
  line-height: 1.5;
  text-align: center;
}
.recruit_page .section_title::after {
  display: none;
}

.recruit_page .work_point_list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
}

.recruit_page .work_point_item {
  margin: 0;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.08);
}

.recruit_page .work_point_image {
  position: relative;
  overflow: hidden;
}

.recruit_page .work_point_image img {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
}

.recruit_page .point_badge {
  top: 6px;
  left: 6px;
  line-height: 1;
  position: absolute !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  width: 85px;
  height: 85px;
  border-radius: 50% !important;
  border: none !important;
  overflow: hidden !important;
  background: linear-gradient(135deg, #e8af45 0%, #da971b 50%, #b17b16 100%) !important;
  background: linear-gradient(135deg, #f5dc52 0%, #feca20 45%, #eaa31d 100%) !important;
  box-shadow:
    0 6px 20px rgba(0, 0, 0, 0.3),
    inset 0 0 15px rgba(255, 255, 255, 0.2) !important;
  color: #ffffff !important;
  font-size: 32px !important;
  font-weight: 700 !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5) !important;
}

.recruit_page .point_badge small {
  display: block;
  margin-bottom: 5px;
  font-size: 12px;
  line-height: 1;
}

.recruit_page .work_point_content {
  padding: 10px 40px 20px;
}

.recruit_page .work_point_content h3 {
  margin-bottom: 10px;
  padding: 0;
  color: #392517;
  font-size: var(--fs24-16);
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
}

.recruit_page .work_point_content h3::after {
  display: none;
}

.recruit_page .work_point_content p {
  font-size: var(--fs16-12);
  font-weight: 500;
  margin-bottom: 0;
}

/* ========================================
  RECRUIT INFO
======================================== */

.recruit_page .recruit_info {
  padding: 0 0 20px;
}

.recruit_page .recruit_info_grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr 1.3fr;
  align-items: stretch;
  gap: 8px;
}

/* ========================================
  JOB
======================================== */

.recruit_page .recruit_job {
  border: 1px solid #b8afa8;
}

.recruit_page .recruit_job > h2 {
  margin: 0;
  padding: 5px 15px;
  background-color: #392517;
  color: #fff;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.5;
  width: 100%;
}

.recruit_page .recruit_job > h2::after {
  display: none;
}

.recruit_page .recruit_definition {
  margin-bottom: 0;
  padding: 10px;
}

.recruit_page .recruit_definition dt {
  font-size: 18px;
  margin-top: 10px;
  font-weight: 700;
}

.recruit_page .recruit_definition dt:first-child {
  margin-top: 0;
}

.recruit_page .recruit_definition dd {
  margin: 0;
}

.recruit_page .recruit_definition table {
  width: 100%;
  border-collapse: collapse;
}

.recruit_page .recruit_definition th,
.recruit_page .recruit_definition td {
  padding: 0 !important;
  border: 0;
  background: none;
  font-weight: 400;
  text-align: left;
  vertical-align: top;
}

.recruit_page .recruit_definition th {
  width: 70px;
  padding: 0 15px 0 0 !important;
}

.recruit_page .recruit_definition p {
  margin-bottom: 5px;
}

/* ========================================
  CONDITIONS / SIDE
======================================== */

.recruit_page .recruit_conditions,
.recruit_page .recruit_side {
  display: flex;
  gap: 8px;
  flex-direction: column;
}

.recruit_page .recruit_box {
  padding: 10px 15px;
  border: 1px solid #b8afa8;
  margin-bottom: 0;
}

.recruit_page .recruit_box h2 {
  padding: 0;
  color: #392517;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  text-align: left;
  margin: 0 0 5px 0;
}

.recruit_page .recruit_box h2::after {
  display: none;
}

.recruit_page .recruit_box p {
  margin-bottom: 0;
}
.recruit_page .recruit_box ul li {
  margin: 0;
}

/* ========================================
  ENTRY BUTTON
======================================== */

.recruit_page .entry_btn {
  display: flex;
  width: 85%;
  min-height: 44px;
  margin: 10px auto 0;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 5px 20px;
  border: 1px solid #33251d;
  border-radius: 100vw;
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
  background-color: #ddd;
  font-size: var(--fs16-12);
}

.recruit_page .entry_btn:hover {
  background-color: #33251d;
  color: #fff;
}

/* ========================================
  TABLET
======================================== */

@media (max-width: 1023px) {
  .recruit_page .recruit_hero_inner {
    grid-template-columns: 42% 58%;
    min-height: 400px;
  }

  .recruit_page .recruit_hero_content {
    padding: 30px 0 30px 30px;
  }

  .recruit_page .recruit_heading_en {
    font-size: 52px;
  }

  .recruit_page .recruit_heading_ja {
    gap: 12px;
  }

  .recruit_page .recruit_heading_ja span {
    width: 50px;
  }

  .recruit_page .recruit_heading_ja h1 {
    font-size: 22px;
  }

  .recruit_page .recruit_lead {
    margin-top: 35px;
    font-size: 17px;
    font-size: var(--fs18-12);
    font-weight: 600;
  }

  .recruit_page .contact_bar_inner {
    grid-template-columns: 1fr 1fr 100px 1.2fr;
  }

  .recruit_page .contact_bar_inner > div {
    min-height: 100px;
    padding: 10px 15px;
  }

  .recruit_page .contact_clinic_name {
    font-size: 22px;
  }

  .recruit_page .recruit_info_grid {
    grid-template-columns: 1fr 1fr;
  }

  .recruit_page .recruit_side {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ========================================
  SP
======================================== */

@media (max-width: 767px) {
  .recruit_page {
    font-size: 14px;
  }

  .recruit_page .inner {
    width: calc(100% - 30px);
  }

  /* HERO */

  .recruit_page .recruit_hero_inner {
    display: block;
    min-height: 0;
    padding-bottom: 38%;
    background-size: 90%;
    background-position: bottom center;
  }

  .recruit_page .recruit_hero_content {
    padding: 25px 20px;
  }

  .recruit_page .recruit_heading_en {
    margin-bottom: 5px;
    font-size: 46px;
  }

  .recruit_page .recruit_heading_ja {
    gap: 12px;
  }

  .recruit_page .recruit_heading_ja span {
    width: 45px;
  }

  .recruit_page .recruit_heading_ja h1 {
    font-size: 20px;
  }

  .recruit_page .recruit_lead {
    margin-top: 25px;
    font-size: 16px;
    line-height: 2;
  }

  .recruit_page .recruit_hero_image {
    height: auto;
  }

  .recruit_page .recruit_hero_image img {
    height: auto;
    object-fit: contain;
  }

  /* CONTACT */

  .recruit_page .contact_bar_inner {
    grid-template-columns: 1fr 1fr;
  }

  .recruit_page .contact_bar_inner > div {
    min-height: 90px;
    padding: 10px;
  }

  .recruit_page .contact_tel {
    align-items: center;
    text-align: center;
  }

  .recruit_page .contact_label {
    font-size: 13px;
  }

  .recruit_page .contact_web p {
    font-size: 13px;
  }

  .recruit_page .contact_web a {
    font-size: 18px;
  }

  .recruit_page .contact_clinic {
    font-size: 12px;
  }

  .recruit_page .contact_clinic_name {
    font-size: 18px;
  }

  /* WORK POINT */

  .recruit_page .work_point {
    padding: 20px 0;
  }

  .recruit_page .section_title {
    margin-bottom: 20px;
    padding: 8px 10px;
    font-size: 24px;
    letter-spacing: 0.1em;
  }

  .recruit_page .work_point_list {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .recruit_page .work_point_image img {
    aspect-ratio: auto;
  }

  .recruit_page .point_badge {
    width: 70px;
    height: 70px;
    font-size: 24px;
  }

  .recruit_page .point_badge small {
    font-size: 10px;
  }

  .recruit_page .work_point_content {
    padding: 10px 15px 20px;
  }

  .recruit_page .work_point_content h3 {
    margin-bottom: 10px;
    font-size: 20px;
  }

  /* RECRUIT INFO */

  .recruit_page .recruit_info_grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .recruit_page .recruit_job > h2 {
    font-size: 19px;
  }

  .recruit_page .recruit_conditions,
  .recruit_page .recruit_side {
    display: flex;
    grid-column: auto;
    gap: 10px;
    flex-direction: column;
  }

  .recruit_page .entry_btn {
    width: 100%;
  }
}

/* 1. 親のグリッドコンテナの設定（高さを揃えるベース） */
.recruit_info_grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr 1.3fr;
  align-items: stretch; /* これでカラム自体の高さが揃います */
  gap: 20px; /* カラム間に隙間が必要な場合はここを調整 */
}

/* 2. 左カラム (.recruit_job) の中身を下まで伸ばす */
.recruit_job {
  display: flex;
  flex-direction: column;
  margin-bottom: 0 !important; /* 外側の余白を消して高さを揃える */
}

.recruit_job .recruit_definition {
  flex: 1; /* リスト部分を一番下まで引き伸ばす */
  margin-bottom: 0;
}

/* 3. 中央・右カラムの中身を下まで伸ばす */
.recruit_conditions,
.recruit_side {
  display: flex;
  flex-direction: column;
}

/* 各カラム内の最後のボックスだけを伸ばして高さを揃える */
.recruit_conditions .recruit_box:last-child,
.recruit_side .recruit_box:last-child {
  flex: 1;
  margin-bottom: 0;
}

/* -------------------------------------------- FORM -------------------------------------------- */

.recruit_form_wrap {
  font-family: "Noto Serif JP", serif;
  --fs18-14: clamp(1.4rem, 1.717vw + 0.083rem, 1.8rem);
}

.recruit_form_wrap .inquiry {
  font-size: var(--fs18-14);
}

.under_ .recruit_form_wrap h2 {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 90%;
  max-width: 420px;
  height: 64px;
  background: #402c23;
  color: #fff;
  font-size: 24px;
  text-decoration: none;
}
.under_ .recruit_form_wrap h2::before {
  display: block;
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid #9d8a7b;
  transform: translate(6px, -6px);
  pointer-events: none;
}
.under_ .recruit_form_wrap h2::after {
  display: none;
}

.recruit_form_wrap .inquiry .text-red {
  color: #fff !important;
  background-color: #998612;
  padding: 2px 5px;
  border-radius: 2px;
}

.recruit_form_wrap .inquiry fieldset {
  background: transparent;
}

.recruit_form_wrap .inquiry .required {
  background-color: #998612;
  color: #fff;
  padding: 2px 5px;
  border-radius: 2px;
  margin-left: 14px;
}

.recruit_form_wrap .inquiry input[type="text"],
.recruit_form_wrap .inquiry input[type="url"],
.recruit_form_wrap .inquiry input[type="email"],
.recruit_form_wrap .inquiry input[type="tel"],
.recruit_form_wrap .inquiry input[type="date"],
.recruit_form_wrap .inquiry input[type="number"],
.recruit_form_wrap .inquiry select,
.recruit_form_wrap .inquiry textarea {
  border: none;
  background: #eeeeee;
  border-radius: 2px;
}

.recruit_form_wrap .inquiry fieldset .col.span_4 {
  display: flex;
  justify-content: space-between;
}
.recruit_form_wrap .inquiry fieldset .col.span_4:after {
  display: none;
}

.recruit_form_wrap .inquiry dd {
  padding: 6px 0;
}

.recruit_form_wrap .recruit_form_text01 {
  background: #96846c;
  color: #fff;
  padding: 1.5% 3%;
  margin-bottom: 30px;
}

.recruit_form_wrap .recruit_form_text02 {
  background-color: #efeeec;
  padding: 1.5% 3%;
  border: 1px solid #402c23;
  margin-bottom: 30px;
}
.recruit_form_wrap .recruit_form_text02 .recruit_form_text02_title {
  display: block;
  color: #402c23;
  text-align: center;
  margin: 0 auto;
  font-weight: 600;
  margin-bottom: 10px;
}

.recruit_form_wrap .recruit_form_text02 ul {
  list-style: inside disc;
}

.recruit_form_wrap .inquiry .wpcf7-submit {
  display: inline-block;
  width: 100%;
  max-width: 300px;
  min-width: 0;
  margin: 0;
  padding: 12px 40px;
  border: 1px solid #33251d;
  border-radius: 9999px;
  line-height: 1;
  background-color: #ddd;
  color: #555;
  text-align: center;
  text-decoration: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  transition: 0.3s;
  cursor: pointer;
}

.recruit_form_wrap .inquiry .wpcf7-submit:hover {
  background-color: #33251d;
  color: #fff;
}
