/* ===== Page Hero ===== */
.page-hero {
  width: 100%;
  background: var(--blue);
  color: var(--white);
  padding-top: clamp(55px, calc(0.125 * 100vw), 150px);
  padding-bottom: clamp(40px, calc(0.0833 * 100vw), 100px);
  display: grid;
  place-items: center;
  text-align: center;
}

.page-hero__inner {
  display: grid;
  gap: clamp(12px, calc(0.0167 * 100vw), 20px);
}

.page-hero__title {
  font-size: var(--fz-80);
  font-weight: bold;
}

.page-hero__subtitle {
  font-size: var(--fz-18);
}

/* 共通タイトル */
.section-title {
  font-size: var(--fz-50);
  font-weight: bold;
  text-align: center;
  margin-block: clamp(60px, calc(0.1042 * 100vw), 180px);
}

.common-messge__band {
  max-width: 90%;
  margin: clamp(55px, calc(0.0917 * 100vw), 150px) auto clamp(70px, calc(0.1167 * 100vw), 180px);
  text-align: center;
  @media only screen and (max-width: 640px) {
    margin-bottom: 30px;
  }
}

.common-messge__band .tag {
  color: var(--blue);
}

.common-messge__band p {
  font-size: var(--fz-50);
  font-weight: bold;
  background: #1b1f28;
  color: var(--white);
  padding: 1rem 2rem;
  @media only screen and (max-width: 640px) {
    padding: 0.5em;
  }
}

.page-id-12 .common-messge__band p {
  font-size: var(--fz-32);
  line-height: 1.6;
  padding: 2rem;
}

@media only screen and (max-width: 640px) {
  .page-id-12 .common-messge__band p {
    padding: 0.5em;
  }
}

/* =========================
ABOUT
========================= */

/* ===== Top Message ===== */

.about-message__body {
  max-width: 90%;
  margin: clamp(30px, calc(0.05 * 100vw), 60px) auto clamp(55px, calc(0.0917 * 100vw), 130px);
}

.about-message__body p {
  font-size: var(--fz-20);
  line-height: 2;
  letter-spacing: 0.05em;
  margin-bottom: clamp(25px, calc(0.0417 * 100vw), 80px);
}

.about-message__row {
  display: flex;
  justify-content: end;
  gap: clamp(25px, calc(0.0417 * 100vw), 80px);
  max-width: 95%;
  margin-left: auto;
}
.about-message__text {
  width: 70%;
  font-size: var(--fz-20);
  line-height: 2;
  letter-spacing: 0.05em;
}
.about-message__text p {
  margin-bottom: clamp(25px, calc(0.0417 * 100vw), 80px);
}
.about-message__photo {
  width: 45%;
}

.about-message__cta {
  background: var(--blue);
  color: #fff;
  text-align: center;
  padding: clamp(56px, 9vw, 120px) clamp(16px, 4vw, 24px);
  margin-top: clamp(75px, calc(0.125 * 100vw), 200px);
}
.about-message__cta h3 {
  font-size: var(--fz-50);
  font-weight: bold;
  letter-spacing: 0.05em;
  margin-bottom: 30px;
}
.about-message__cta p {
  font-size: var(--fz-20);
  line-height: 2;
  color: var(--black);
}
@media only screen and (max-width: 640px) {
  .about-message__row {
    flex-direction: column-reverse;
  }
  .about-message__photo {
    width: 75%;
    margin: 0 auto;
  }

  .about-message__text {
    width: 95%;
  }
  .sp-only {
    display: block;
  }
}

/* ===== Philosophy ===== */
.philosophy-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  min-height: clamp(380px, 46vw, 620px);
}

.philosophy-panel {
  background: #121820;
  color: var(--white);
  padding: clamp(40px, calc(80 / 1200 * 100vw), 120px) clamp(20px, calc(56 / 1200 * 100vw), 90px) clamp(28px, calc(55 / 1200 * 100vw), 90px);
  display: grid;
  align-content: center;
  gap: clamp(20px, calc(45 / 1200 * 100vw), 80px);
}

.philosophy-list {
  list-style: none;
  display: grid;
  gap: clamp(10px, 1.6vw, 16px);
  margin: 0;
  padding: 0;
}
.philosophy-list li {
  font-size: var(--fz-50);
  font-weight: bold;
  line-height: 1.4;
  display: flex;
  align-items: baseline;
}
.philosophy-list li::before {
  content: "•";
  font-weight: 900;
  margin-right: clamp(10px, 1.2vw, 16px);
}

/* 本文 */
.philosophy-copy {
  font-size: var(--fz-20);
  line-height: 2;
}

/* 右側写真（全体にフィット） */
.philosophy-fig {
  margin: 0;
}
.philosophy-fig img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 900px) {
  .philosophy-row {
    grid-template-columns: 1fr;
  }
  .philosophy-fig {
    order: 1;
  }
  .philosophy-panel {
    order: 2;
  }
}

/* ===== Company Profile ===== */

.profile-hero {
  margin: 0;
}

.profile-wrap {
  max-width: 90%;
  margin: 0 auto;
  padding-inline: clamp(16px, 5vw, 72px);
  margin-top: clamp(60px, 8.3vw, 160px);
}

/* 定義リスト（罫線） */
.profile-list {
  border-top: 3px dotted var(--blue-60);
}

.profile-item {
  display: grid;
  grid-template-columns: 25% 1fr;
  gap: clamp(12px, 2vw, 28px);
  align-items: center;
  padding-block: clamp(24px, 3.2vw, 56px);
  border-bottom: 3px dotted var(--blue-60);
}

.profile-term {
  font-size: var(--fz-20);
  font-weight: normal;
  letter-spacing: 0.05em;
  margin: 0;
  white-space: nowrap;
  text-align: center;
}

.profile-desc {
  font-size: var(--fz-20);
  line-height: 2;
  letter-spacing: 0.05em;
  margin: 0;
}
.office-hero {
  margin-block: clamp(100px, 16.7vw, 300px);
}

@media (max-width: 720px) {
  .profile-term {
    gap: 1.5rem;
    white-space: normal;
  }
}
@media only screen and (max-width: 499px) {
  .profile-item {
    grid-template-columns: 28% 1fr;
    gap: 16px;
  }
  .profile-wrap {
    padding-inline: 8px;
  }
  .profile-desc {
    margin-left: 1em;
  }
}

/* =========================
CULTURE
========================= */

/* ===== Culture : strengths ===== */
.culture-strengths {
  width: 100%;
  padding-inline: clamp(16px, 6vw, 80px);
  margin-block: clamp(50px, 10vw, 160px);
}

/* 見出し＋赤線デコ */
.strengths-head {
  text-align: center;
  margin-bottom: clamp(30px, 6.5vw, 80px);
}
.strengths-deco {
  display: block;
  margin: 0 auto clamp(12px, 2.5vw, 24px);
  width: clamp(140px, 26vw, 280px);
  height: auto;
}
.strengths-ttl {
  font-size: var(--fz-50);
  font-weight: bold;
  line-height: 1.4;
}
.strengths-ttl .is-blue {
  color: var(--blue);
}

/* カード */
.strength-card {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  border: 7px solid rgba(27, 31, 40, 0.6);
  border-radius: 18px;
  padding: clamp(28px, 5.5vw, 72px) clamp(16px, 4.5vw, 56px);
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.03);
}
.strength-card + .strength-card {
  margin-top: clamp(50px, 12vw, 160px);
}

.card-ttl {
  font-size: var(--fz-50);
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: clamp(12px, 2.2vw, 20px);
}

.card-icon {
  display: flex;
  justify-content: center;
  margin: 0 auto clamp(18px, 3vw, 28px);
}

.card-icon img {
  width: clamp(84px, 12vw, 136px);
  height: auto;
}

.card-text {
  font-size: var(--fz-20);
  line-height: 2;
  color: #000;
}

/* ===== Numbers : 数字で見る ===== */
.numbers {
  width: 100%;
  padding-inline: clamp(16px, 6vw, 80px);
  margin-block: clamp(60px, 10vw, 160px);
}

/* 見出し */
.numbers-head {
  text-align: center;
  margin-bottom: clamp(28px, 6.5vw, 84px);
}
.numbers-deco {
  display: block;
  margin: 0 auto clamp(10px, 2.2vw, 20px);
  width: clamp(140px, 45vw, 360px);
  height: auto;
}
.numbers-ttl {
  font-size: var(--fz-50);
  font-weight: bold;
  line-height: 1.4;
}
.numbers-ttl .is-blue {
  color: var(--blue);
}

/* グリッド */
.numbers-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 100px;
  max-width: 1200px;
  margin: 0 auto;
}

/* カード */
.num-card {
  background: var(--white);
  padding: clamp(20px, 4.6vw, 30px);
  box-shadow: 5px 5px 11px 2px rgba(0, 0, 0, 0.25);
  text-align: center;
}

/* タイトル */
.num-ttl {
  font-size: var(--fz-30);
  font-weight: bold;
  line-height: 1.5;
  margin-bottom: clamp(10px, 1.8vw, 16px);
}

/* 図（画像） */
.num-fig {
  margin: 0 auto clamp(12px, 2.4vw, 22px);
}
.num-fig img {
  width: clamp(160px, 45vw, 260px);
  height: auto;
  display: block;
  margin-inline: auto;
}

/* 説明文 */
.num-desc {
  font-size: var(--fz-20);
  font-weight: normal;
  line-height: 2;
  color: #000;
}
@media (max-width: 640px) {
  .numbers-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .strength-card {
    padding: 1.1rem;
    border: 4px solid rgba(27, 31, 40, 0.6);
  }
  .strength-card + .strength-card {
    margin-top: 40px;
  }
  .num-ttl {
    font-size: 22px;
  }
}

/* ===== ベース ===== */
#culture-sections {
  width: 100%;
  margin-top: clamp(120px, 16.7vw, 300px);
}

.culture-row.is-blue {
  background: var(--blue);
  color: var(--white);
}

.culture-row__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 84px 24px;
  text-align: center;
}

.culture-row__title {
  font-size: var(--fz-30);
  font-weight: bold;
  line-height: 1.86;
  margin: 0 0 56px;
}

.culture-row__content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 64px;
}

.culture-row__media {
  flex: 0 1 480px;
}
.culture-row__media img {
  width: 100%;
  max-width: 460px;
  height: auto;
  display: block;
  object-fit: contain;
}

/* 本文 */
.culture-row__body {
  flex: 0 1 50%;
  text-align: left;
}
.culture-row__text {
  font-size: var(--fz-20);
  line-height: 2;
}

/* ===== レスポンシブ ===== */
@media (max-width: 1024px) {
  .culture-row__inner {
    padding: 72px 20px;
  }
  .culture-row__content {
    gap: 48px;
  }
  .culture-row__media img {
    max-width: 420px;
  }
}

@media (max-width: 768px) {
  .culture-row__title {
    font-size: 22px;
    margin-bottom: 40px;
  }
  .culture-row__content,
  .culture-row__content.is-reverse {
    flex-direction: column;
  }
  .culture-row__media {
    flex: 0;
  }
  .culture-row__body {
    text-align: center;
  }
  .culture-row__media img {
    max-width: 340px;
  }
  .culture-row__inner {
    padding: 56px 18px;
  }
}

@media (max-width: 480px) {
  .culture-row__media img {
    max-width: 300px;
  }
}

/* ===== Entry CTA ===== */
.entry-cta {
  width: 100%;
  max-width: 1200px;
  margin: clamp(100px, 12.5vw, 200px) auto clamp(70px, 8.33vw, 140px);
  text-align: center;
}

.entry-cta__title {
  font-size: var(--fz-30);
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: clamp(20px, 3.2vw, 36px);
}

.entry-cta__btn {
  display: inline-block;
  background: #f8db02;
  color: var(--white);
  font-weight: bold;
  padding: clamp(15px, 1.6vw, 18px) clamp(80px, 10vw, 160px);
  border-radius: 58px;
  font-size: var(--fz-36);
  line-height: 1.2;
}
@media only screen and (max-width: 640px) {
  .entry-cta__btn {
    display: block;
    width: 70%;
    margin: 0 auto;
    padding-block: 1.1rem;
  }
}

/* =========================
VOICE
========================= */
.voice-lead:last-child {
  margin-top: clamp(100px, 16.7vw, 280px);
}
.voice-lead__inner {
  margin-top: 140px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.voice-lead__text {
  padding-block: 60px;
  width: 50%;
}
.voice-lead__panel {
  background: var(--blue);
  padding: 5rem;
  padding-right: 2rem;
}
.voice-lead__catch {
  font-size: var(--fz-60);
  font-weight: bold;
  line-height: 1.5;
  letter-spacing: 0.1em;
  color: var(--white);
}
.voice-lead__meta {
  font-size: var(--fz-20);
  font-weight: normal;
  letter-spacing: 0.05em;
  color: var(--white);
  text-align: right;
  margin-top: 24px;
}
.voice-lead__photo {
  width: 50%;
}

@media only screen and (max-width: 768px) {
  .voice-lead__inner {
    flex-direction: column-reverse;
  }
  .voice-lead__text,
  .voice-lead__photo {
    width: 100%;
  }
  .voice-lead__photo img {
    max-height: 550px;
    height: 100%;
  }
  .voice-lead__text {
    padding: 0;
  }
  .voice-lead__panel {
    padding: 2.5rem;
  }
  .voice-lead__inner {
    margin-top: 100px;
  }
}
@media only screen and (max-width: 499px) {
  .voice-lead__inner {
    margin-top: 70px;
  }
  .voice-lead__photo img {
    max-height: 350px;
    height: 100%;
  }
}

.interview-lead__title {
  font-size: var(--fz-40);
  font-weight: bold;
  line-height: 1.625;
  letter-spacing: 0.05em;
  text-align: center;
  margin-top: 150px;
  margin-bottom: 60px;
}
.interview-lead__quote {
  display: flex;
  align-items: center;
  justify-content: end;
  gap: 6rem;
}

.interview-lead__avatar img {
  max-width: 300px;
}

.interview-lead__bubble {
  position: relative;
  background: var(--white);
  border-left: 1px solid #000;
  border-bottom: 1px solid #000;
  padding: 0 4rem;
  font-size: var(--fz-20);
  line-height: 2;
  letter-spacing: 0.05em;
  width: 65%;
  align-self: center;
}

.interview-lead__bubble::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -28px;
  transform: translateY(-50%);
  border-style: solid;
  border-width: 14px 28px 14px 0;
  border-color: transparent #000 transparent transparent;
}

.interview-lead__bubble::after {
  content: "";
  position: absolute;
  top: 50%;
  left: -24px;
  transform: translateY(-50%);
  border-style: solid;
  border-width: 12px 24px 12px 0;
  border-color: transparent #fff transparent transparent;
}

.interview-lead__bubble p {
  margin-bottom: 30px;
}
/* ========== Responsive ========== */

@media (max-width: 768px) {
  .interview-lead__title {
    margin-top: 60px;
    margin-bottom: 40px;
  }
  .interview-lead__quote {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    padding: 1rem;
  }

  .interview-lead__avatar img {
    max-width: 180px;
  }

  .interview-lead__bubble {
    position: relative;
    background: #fff;
    border-top: 1px solid #000;
    border-right: 1px solid #000;
    padding: 1rem;
    font-size: var(--fz-18);
    line-height: 2;
    letter-spacing: 0.05em;
    width: 100%;
  }

  .interview-lead__bubble::before {
    content: "";
    position: absolute;
    top: -28px;
    left: 50%;
    transform: translateX(-50%);
    border-style: solid;
    border-width: 0 25px 28px 25px;
    border-color: transparent transparent #000 transparent;
  }

  .interview-lead__bubble::after {
    content: "";
    position: absolute;
    top: -24px;
    left: 50%;
    transform: translateX(-50%);
    border-style: solid;
    border-width: 0 24px 24px 24px;
    border-color: transparent transparent #fff transparent;
  }

  .interview-lead__bubble p {
    font-size: 17px;
    margin-bottom: 1.5rem;
  }
  .interview-lead__bubble p:last-child {
    margin-bottom: 0;
  }
}

.interview-hero {
  margin-block: clamp(80px, 12.5vw, 200px);
}

.interview-hero img {
  max-height: 640px;
}

.iv-feature {
  width: 100%;
  display: grid;
  place-items: center;
  margin-block: clamp(50px, 12.5vw, 160px);
}

.iv-feature__frame {
  width: 100%;
  background: #0b6fb8;
  padding: clamp(12px, 2vw, 22px);
}

.iv-feature__inner {
  background: #fff;
  padding: 1rem 2rem;
  display: grid;
  grid-template-columns: 1fr 60%;
  gap: 0;
  align-items: center;
}

.iv-feature__img {
  display: grid;
  place-items: center;
  margin-left: -5rem;
  margin-bottom: -1rem;
}

.iv-feature__img img {
  width: min(100%, 550px);
  height: auto;
  display: block;
}

.iv-feature__content {
  display: grid;
  gap: clamp(16px, 2.5vw, 28px);
}

.iv-feature__title {
  font-size: var(--fz-40);
  font-weight: bold;
  color: var(--blue);
  line-height: 1.4;
  white-space: nowrap;
}

.iv-feature__text {
  font-size: clamp(16px, 1.6vw, 22px);
  line-height: 2;
  letter-spacing: 0.03em;
}
/* レスポンシブ */
@media (max-width: 980px) {
  .iv-feature__inner {
    grid-template-columns: 1fr;
  }
  .iv-feature__img {
    margin-left: 0;
    margin-bottom: 2rem;
  }

  .iv-feature__img img {
    width: min(80%, 380px);
  }

  .iv-feature__title {
    text-align: left;
    white-space: unset;
  }
}

@media (max-width: 560px) {
  .iv-feature__frame {
    padding: 10px;
  }

  .iv-feature__inner {
    padding: 1rem;
    gap: 0;
  }

  .iv-feature__img img {
    width: 80%;
  }
  .pc-only {
    display: none;
  }
}

/* =========================
RECRUIT
========================= */

.wanted-inner {
  max-width: 54%;
  margin: 0 auto;
}

.wanted-title {
  font-size: var(--fz-50);
  font-weight: bold;
  line-height: 1.4;
  margin-top: clamp(80px, 11.7vw, 180px);
  margin-bottom: clamp(40px, 5.8vw, 100px);
  text-align: center;
}

.wanted-intro {
  font-size: var(--fz-20);
  font-weight: normal;
  line-height: 2;
  letter-spacing: 0.05em;
  margin-bottom: clamp(20px, 2.5vw, 40px);
}

.wanted-list li {
  font-size: var(--fz-30);
  font-weight: 500;
  line-height: 2;
  list-style: disc;
  margin-bottom: clamp(16px, 2vw, 32px);
}

.wanted-note {
  font-size: var(--fz-20);
  font-weight: normal;
  line-height: 2;
  letter-spacing: 0.05em;
  margin-bottom: clamp(30px, 4.2vw, 70px);
}

.wanted-text {
  font-size: var(--fz-20);
  font-weight: normal;
  line-height: 2;
  letter-spacing: 0.05em;
}

/* ========= Career Plan ========= */

.career {
  margin-top: clamp(100px, 20vw, 280px);
}

.career__inner {
  max-width: 83%;
  margin: 0 auto;
}

.career__title {
  font-size: var(--fz-50);
  font-weight: bold;
  line-height: 1.4;
  text-align: center;
  margin-bottom: clamp(20px, 2.5vw, 40px);
}

.career__intro {
  font-size: var(--fz-20);
  line-height: 2;
  text-align: center;
}

.career__label {
  font-size: var(--fz-30);
  font-weight: bold;
  text-align: center;
  margin-top: clamp(80px, 10vw, 140px);
  margin-bottom: clamp(8px, 1vw, 16px);
}
.career-step__term {
  display: none;
}

.career__step-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  box-sizing: content-box;
}

/* 3カラムの説明 */
.career__steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 60px;
  align-items: start;
}

.career-step__role {
  font-size: var(--fz-20);
  line-height: 2;
}
.career__steps .career-step:nth-child(2) .career-step__role {
  margin-top: -5rem;
}
.career__steps .career-step:nth-child(3) .career-step__role {
  margin-top: -9rem;
}

/* ========== Benefits (flex) ========== */
.benefits {
  margin-top: clamp(120px, 16.7vw, 280px);
}

.benefits__inner {
  max-width: 65%;
  margin: 0 auto;
}

.benefits__title {
  font-size: var(--fz-50);
  font-weight: bold;
  line-height: 1.4;
  text-align: center;
  margin-bottom: clamp(50px, 7.5vw, 140px);
}

.benefits__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: clamp(60px, 7.5vw, 100px);
}

.benefit {
  width: 44%;
  background: #fff;
  border-radius: 20px;
  padding: clamp(18px, 2.5vw, 28px);
  box-shadow: 7px 7px 7px 2px rgba(0, 0, 0, 0.3); /* 右下だけに影 */
  display: flex;
  flex-direction: column;
}

.benefit__figure {
  margin: 0 0 clamp(12px, 2.2vw, 18px);
}

.benefit__desc {
  font-size: var(--fz-20);
  line-height: 2;
  letter-spacing: 0.05em;
  padding-left: 1em;
  margin: 0;
}

/* 募集要項 */
.job-specs {
  margin-top: clamp(120px, 16.7vw, 260px);
}

.job-specs__inner {
  max-width: 68%;
  margin: 0 auto;
}

.job-specs__title {
  font-size: var(--fz-50);
  font-weight: bold;
  text-align: center;
  line-height: 1.4;
  margin-bottom: clamp(60px, 8.3vw, 140px);
}

/* テーブル本体 */
.job-specs__table {
  overflow: hidden;
}

/* 1行＝2カラム（左見出し・右本文） */
.job-specs__row {
  display: grid;
  grid-template-columns: 230px 1fr;
  border-top: 1px solid rgba(0, 0, 0, 0.6);
  border-bottom: 1px solid rgba(0, 0, 0, 0.6);
}

.job-specs__th {
  background: rgba(0, 113, 188, 0.2);
  font-size: var(--fz-20);
  line-height: 2;
  padding: clamp(30px, 6vw, 80px) clamp(14px, 2.2vw, 26px);
  border-right: 1px solid #e6eaef;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.job-specs__td {
  font-size: var(--fz-20);
  line-height: 2;
  background: #fff;
  padding: clamp(24px, 3vw, 40px) clamp(18px, 2.5vw, 32px);
  padding-left: 2em;
  display: flex;
  align-items: center;
}

/* ===== FAQ ===== */
.faq {
  margin-block: clamp(80px, 20vw, 320px);
}

.faq__inner {
  max-width: 68%;
  margin: 0 auto;
}

.faq__title {
  font-size: var(--fz-50);
  font-weight: bold;
  text-align: center;
  margin-bottom: clamp(40px, 5vw, 70px);
}

/* リスト */
.faq__list {
  display: grid;
  gap: clamp(28px, 4vw, 50px);
}

/* Q バー */
.faq-item__q {
  font-size: var(--fz-25);
  font-weight: bold;
  line-height: 1;
  background: rgba(27, 31, 40, 0.6);
  color: var(--white);
  padding: clamp(14px, 1.8vw, 24px);
  margin-bottom: clamp(20px, 3vw, 40px);
}

/* A テキスト */
.faq-item__a {
  font-size: var(--fz-20);
  font-weight: normal;
  line-height: 2;
  margin: 0;
  padding-left: 2em;
}
@media only screen and (max-width: 1199px) {
  .career__steps .career-step:nth-child(2) .career-step__role {
    margin-top: -3rem;
  }
  .career__steps .career-step:nth-child(3) .career-step__role {
    margin-top: -6rem;
  }
}

@media only screen and (max-width: 767px) {
  .wanted-inner {
    max-width: 80%;
  }
  .career__intro {
    text-align: left;
  }
  .career__step-wrap {
    max-width: 100%;
    padding: 0;
  }
  .career-step__term {
    display: block;
  }
  .career__steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .career__steps .career-step:nth-child(2) .career-step__role {
    margin-top: 0;
  }
  .career__steps .career-step:nth-child(3) .career-step__role {
    margin-top: 0;
  }
  .career__figure {
    margin-left: calc(-1 * ((100vw - 100%) / 2));
    margin-right: calc(-1 * ((100vw - 100%) / 2));
    width: 100vw;
    max-width: 100vw;
  }
  .benefits__inner {
    max-width: 80%;
  }
  .benefit {
    width: 100%;
  }
  .job-specs__inner {
    max-width: 90%;
  }
  .job-specs__row {
    grid-template-columns: 120px 1fr;
  }
  .faq__inner {
    max-width: 90%;
  }
  .faq-item__q {
    line-height: 1.6;
  }
  .faq-item__a {
    padding-left: 0.5em;
  }
  .job-specs__td {
    padding-left: 1.5em;
  }
}
@media only screen and (max-width: 499px) {
  .job-specs__row {
    grid-template-columns: 1fr;
  }
  .job-specs__th {
    padding: 1rem;
  }
}
/* =========================
PRIVACY POLICY
========================= */
.policy {
  max-width: 75%;
  margin: 0 auto;
  margin-block: 100px;
}

.policy-sec {
  font-size: var(--fz-20);
  font-weight: bold;
  letter-spacing: 0.01em;
  line-height: 2;
}

.policy-body p {
  font-size: var(--fz-20);
  font-weight: normal;
  letter-spacing: 0.01em;
  line-height: 2;
  margin-bottom: 60px;
}
.policy-body .policy-text {
  margin-bottom: 10px;
}

.policy-list {
  font-size: var(--fz-20);
  font-weight: normal;
  letter-spacing: 0.01em;
  line-height: 2;
  text-indent: 0.5em;
  margin-bottom: 60px;
}
.policy-list-alpha {
  text-indent: 1em;
}
.policy-list-roman {
  text-indent: 2em;
}
@media only screen and (max-width: 499px) {
  .policy {
    max-width: 85%;
    margin-block: 50px;
  }
  .policy-body p {
    margin-bottom: 30px;
  }
  .policy-body .policy-text {
    margin-bottom: 5px;
  }
  .policy-list {
    margin-bottom: 30px;
  }
}

/* =========================
ENTRY
========================= */

/* ===== Entry Form ===== */
.entry-form {
  margin: clamp(80px, 12.5vw, 160px) auto;
}
.entry-form__inner {
  max-width: 55%;
  width: 100%;
  margin: 0 auto;
}
.entry-form__title {
  font-size: var(--fz-30);
  font-weight: 800;
  text-align: center;
  line-height: 1.6;
  letter-spacing: 0.01em;
}
.entry-form__lead {
  font-size: var(--fz-16);
  font-weight: normal;
  line-height: 2;
  color: var(--black);
  text-align: center;
  margin-top: 35px;
}
.entry-form__rule {
  border: 0;
  border-top: 1px solid var(--black);
  margin-block: 50px;
}

/* form base */
.entry-form__form {
  display: grid;
  gap: 3rem;
}
.form-group {
  display: grid;
  gap: 1rem;
}
.form-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 16px;
}
@media (max-width: 599px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}
.form-group--sm {
  max-width: 220px;
}

.form-label {
  font-size: var(--fz-18);
  font-weight: 500;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
}
.form-label.required::after {
  content: "（必須）";
  color: #fa0000;
  font-weight: 500;
  font-size: 0.9em;
  letter-spacing: 0.02em;
}
.form-label.opt::after {
  content: "（任意）";
  color: #6b7280;
  font-weight: 500;
  font-size: 0.9em;
  letter-spacing: 0.02em;
}

.form-control {
  max-width: 100%;
  width: 100%;
  background: #fff;
  border: 0.5px solid rgba(27, 31, 40, 0.4);
  border-radius: 15px;
  padding: 18px 20px;
  font-size: var(--fz-18);
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
}
.form-control:focus {
  outline: none;
  border-color: #c7d6e6;
  box-shadow: 0 0 0 4px rgba(0, 113, 188, 0.15);
}
.textarea {
  resize: vertical;
}

.form-note {
  max-width: 100%;
  font-size: var(--fz-16);
  color: var(--black);
  letter-spacing: 0.02em;
  line-height: 1.8;
  opacity: 0.8;
  display: none;
}

/* fieldset */
.form-fieldset {
  border: 0;
  padding: 0;
  margin: clamp(8px, 2.5vw, 12px) 0;
}
.form-legend {
  font-size: var(--fz-20);
  font-weight: 500;
  margin-bottom: 4px;
}
.form-legend.required::after {
  content: "（必須）";
  color: #ef4444;
  font-weight: 700;
  margin-left: 0.5em;
}
.form-subttl {
  font-size: var(--fz-20);
  font-weight: 500;
  margin: 8px 0 10px;
}
.form-radios {
  display: grid;
  gap: 8px;
  margin-bottom: 8px;
}
.radio {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fz-20);
  font-weight: 500;
  padding-left: 2em;
  letter-spacing: 0.02em;
}
.radio input {
  transform: translateY(1px);
}

/* アップロードボックス（ドロップ領域） */
.file {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 2rem;
  background: #fff;
  border: 0.5px solid rgba(27, 31, 40, 0.6);
  border-radius: 15px;
  text-align: center;
  gap: clamp(12px, 2vw, 18px);
  margin-top: 30px;
}

/* ボックス全面クリックでファイル選択を開く */
.file input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

/* 上段のリード文（スクショの「ファイルをドラッグ&ドロップ、または」） */
.file::before {
  content: "ファイルをドラッグ＆ドロップ、  または";
  font-size: var(--fz-20);
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.05em;
  order: 1;
}

/* 下段の注意書き（2行） */
.file::after {
  content: "添付可能なファイル形式：PDF, Word(docx),\00000aExcel(xlsx), JPG, PNG（最大10MB）";
  display: block;
  white-space: pre-wrap;
  font-size: var(--fz-16);
  color: #374151;
  line-height: 1.9;
  letter-spacing: 0.05em;
  order: 2;
  margin: 6px 0 14px;
}

/* 選択ボタン（濃いグレーの大きめピル型） */
.file__btn {
  display: inline-block;
  background: rgba(27, 31, 40, 0.6);
  color: #fff;
  border: none;
  border-radius: 16px;
  padding: 2rem;
  font-weight: 700;
  font-size: var(--fz-20);
  line-height: 1;
  cursor: pointer;
  order: 3;
}
.file__btn:hover {
  filter: brightness(1.05);
}

.file__name {
  font-size: var(--fz-16);
  color: #374151;
  line-height: 1.7;
  display: none;
}
.file__name.is-visible {
  display: block;
}

/* entry privacy box */
.entry-privacy {
  max-width: 100%;
  margin-top: clamp(20px, 4.5vw, 30px);
  background: rgba(217, 217, 217, 0.4);
  border-radius: 30px;
  padding: 3rem;
}

.entry-privacy__ttl {
  font-size: var(--fz-20);
  text-align: center;
  font-weight: 500;
  margin-bottom: 24px;
}

.entry-privacy__text {
  font-size: var(--fz-16);
  letter-spacing: 0.01em;
  line-height: 1.9;
  margin-bottom: 40px;
}

.entry-privacy__text a {
  color: var(--blue);
  text-decoration: underline;
}

.entry-privacy__check {
  font-size: var(--fz-18);
  font-weight: 500;
  padding-left: 1em;
  display: inline-flex;
  align-items: center;
  gap: 1em;
  margin-top: 10px;
}

/* submit */
.entry-form__submit {
  text-align: center;
  margin-top: clamp(20px, 5.5vw, 36px);
}
.entry-form__btn {
  display: inline-block;
  width: 100%;
  background: var(--yellow);
  font-size: var(--fz-30);
  font-weight: bold;
  color: #1b1f28;
  border: none;
  border-radius: 15px;
  padding: 1rem;
  cursor: pointer;
}
.entry-form__btn:hover {
  opacity: 0.9;
}
@media only screen and (max-width: 1449px) {
  .entry-form__inner {
    max-width: 65%;
  }
}

@media only screen and (max-width: 1023px) {
  .entry-form__inner {
    max-width: 75%;
  }
}

@media only screen and (max-width: 768px) {
  .entry-form__lead {
    margin-top: 20px;
  }
  .entry-form__rule {
    margin-block: 30px;
  }
  .entry-form__inner {
    max-width: 90%;
  }

  .form-subttl {
    margin-bottom: 0;
  }
  .entry-form__form {
    gap: 2rem;
  }
  .file {
    margin-top: 0;
  }
  .entry-privacy {
    margin-top: 10px;
    padding: 2rem;
  }
  .entry-privacy__text {
    margin-bottom: 20px;
  }
}
@media only screen and (max-width: 399px) {
  .entry-form__title {
    text-align: left;
  }
  .entry-form__lead {
    text-align: left;
  }
}

.wpcf7-list-item {
  font-size: var(--fz-20);
}
span.wpcf7-list-item-label {
  font-size: var(--fz-18);
}

/* 切り替え用 */
.is-hidden {
  display: none !important;
}
/* disabled 状態の見た目を上書き */
.entry-form__btn:disabled {
  background: #ccc;
  color: #666;
  cursor: not-allowed;
  opacity: 0.7;
}

/* ドロップ中の見た目 */
.file.is-dragover {
  outline: 3px solid rgba(0, 113, 188, 0.25);
  box-shadow: 0 0 0 4px rgba(0, 113, 188, 0.12) inset;
  background: #f8fbff;
}
