/* recruit-entry：ネイティブCSSネスト。手動調整・カスケードを保持。 */

#recruit-header {
  & {
    --recruit-blue: #005bbd;
    --recruit-navy: #082b59;
    color: var(--recruit-navy);
    font-family: "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif;
    font-size: 16px;
    line-height: normal;
    text-align: left;
  }

  & *,
  & ::before,
  & ::after {
    box-sizing: border-box;
  }

  & .recruit-header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 86px;
    padding-left: max(32px, 50% - 758px);
    background: linear-gradient(128deg, rgb(255, 255, 255) 0%, rgb(255, 255, 255) 38%, rgb(239, 246, 255) 38%, rgb(255, 255, 255) 57%);
    z-index: 10;
  }

  & .recruit-logo {
    display: flex;
    align-items: center;
    gap: 24px;
    color: var(--recruit-navy);
    text-decoration: none;
    flex-shrink: 0;
  }

  & .recruit-logo strong {
    color: var(--recruit-blue);
    font-family: Arial, sans-serif;
    font-size: 48px;
    line-height: 1;
    font-style: italic;
    font-weight: 800;
    letter-spacing: 0.07em;
  }

  & .recruit-logo > span {
    padding-right: 18px;
    border-right: 1px solid rgb(225, 234, 245);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.6;
    letter-spacing: 0.12em;
  }

  & .recruit-navigation {
    display: flex;
    align-items: center;
    align-self: stretch;
  }

  & .recruit-navigation > a {
    display: flex;
    align-items: center;
    color: var(--recruit-navy);
    text-decoration: none;
    padding: 0px 28px;
    letter-spacing: 0.05em;
  }

  & .recruit-navigation > a + a:not(.recruit-entry)::before {
    content: "";
    width: 1px;
    height: 22px;
    background: rgb(216, 227, 242);
    position: relative;
    left: -28px;
  }

  & .recruit-navigation > .recruit-entry {
    align-self: stretch;
    justify-content: center;
    gap: 38px;
    min-width: 285px;
    padding-left: 54px;
    background: linear-gradient(110deg, rgb(0, 98, 197), rgb(0, 74, 171));
    color: rgb(255, 255, 255);
    clip-path: polygon(6% 0px, 100% 0px, 100% 100%, 0px 100%);
    font-size: 20px;
    letter-spacing: 0.15em;
  }

  & .recruit-entry > span {
    font-size: 30px;
    font-weight: 400;
  }

  & .recruit-navigation a:hover {
    color: var(--recruit-blue);
  }

  & .recruit-navigation .recruit-entry:hover {
    color: rgb(255, 255, 255);
    background: rgb(0, 62, 141);
  }

  & .recruit-header a:focus-visible,
  & .recruit-mobile-menu summary:focus-visible {
    outline: rgb(8, 43, 89) solid 3px;
    outline-offset: -4px;
  }

  & .recruit-mobile-menu {
    display: none;
  }

  @media (max-width: 1200px) and (min-width: 768px) {
    & .recruit-header {
      min-height: 72px;
      padding-left: 24px;
    }

    & .recruit-logo {
      gap: 14px;
    }

    & .recruit-logo strong {
      font-size: 35px;
    }

    & .recruit-logo > span {
      font-size: 10px;
    }

    & .recruit-navigation > a {
      padding-inline: 16px;
    }

    & .recruit-navigation > a + a:not(.recruit-entry)::before {
      left: -16px;
    }

    & .recruit-navigation > .recruit-entry {
      min-width: 190px;
      padding-left: 32px;
      gap: 20px;
      font-size: 16px;
    }
  }

  @media (max-width: 1100px) {
    & .recruit-header {
      min-height: 64px;
      padding: 14px 20px;
    }

    & .recruit-logo {
      gap: 12px;
    }

    & .recruit-logo strong {
      font-size: 30px;
    }

    & .recruit-logo > span {
      font-size: 12px;
      padding-right: 0px;
      border: 0px;
      letter-spacing: 0.03em;
    }

    & .recruit-navigation {
      display: none;
    }

    & .recruit-mobile-menu {
      display: block;
    }

    & .recruit-mobile-menu summary {
      display: flex;
      flex-direction: column;
      justify-content: center;
      gap: 5px;
      width: 40px;
      height: 36px;
      cursor: pointer;
      list-style: none;
    }

    & .recruit-mobile-menu summary::-webkit-details-marker {
      display: none;
    }

    & .recruit-mobile-menu summary > span {
      display: block;
      height: 2px;
      width: 24px;
      background: var(--recruit-blue);
      margin-inline: auto;
    }

    & .recruit-mobile-menu[open] summary > span:first-child {
      transform: translateY(7px) rotate(45deg);
    }

    & .recruit-mobile-menu[open] summary > span:nth-child(2) {
      opacity: 0;
    }

    & .recruit-mobile-menu[open] summary > span:last-child {
      transform: translateY(-7px) rotate(-45deg);
    }

    & .recruit-mobile-menu nav {
      position: absolute;
      left: 0px;
      right: 0px;
      top: 100%;
      background: rgb(255, 255, 255);
      padding: 12px 20px 20px;
      box-shadow: rgba(8, 43, 89, 0.082) 0px 12px 20px;
    }

    & .recruit-mobile-menu nav a {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 16px;
      color: var(--recruit-navy);
      text-decoration: none;
      font-weight: 700;
      border-bottom: 1px solid rgb(225, 234, 245);
    }

    & .recruit-mobile-menu nav .recruit-entry {
      margin-top: 12px;
      background: var(--recruit-blue);
      color: rgb(255, 255, 255);
    }
  }

  & .recruit-navigation > .recruit-entry,
  & .recruit-mobile-menu nav .recruit-entry {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border: 0px;
    border-radius: 0px;
    transition: color 0.25s, background 0.25s, border-color 0.25s;
  }

  & .recruit-navigation > .recruit-entry {
    background: linear-gradient(110deg, rgb(0, 98, 197), rgb(0, 74, 171));
    color: rgb(255, 255, 255);
    transition: filter 0.2s;
    filter: brightness(1);
  }

  & .recruit-navigation > .recruit-entry:hover {
    background: linear-gradient(110deg, rgb(0, 98, 197), rgb(0, 74, 171));
    color: rgb(255, 255, 255);
    filter: brightness(0.9);
  }

  & .recruit-mobile-menu nav .recruit-entry,
  & .recruit-mobile-menu nav .recruit-entry:hover {
    background: rgb(0, 91, 189);
    color: rgb(255, 255, 255);
  }

  & .recruit-entry::before,
  & .recruit-entry::after,
  & .recruit-entry:hover::before,
  & .recruit-entry:hover::after {
    content: none;
    display: none;
    animation: auto ease 0s 1 normal none running none;
  }

  & .recruit-navigation > a:not(.recruit-entry) {
    text-align: center;
    justify-content: center;
    line-height: 1.5;
    display: block;
    align-self: center;
    position: relative;
  }

  & .recruit-logo > span {
    border-right: 0px;
  }

  & .recruit-navigation > a + a:not(.recruit-entry)::before {
    content: none;
    display: none;
  }

  & .recruit-navigation > a:not(.recruit-entry),
  & .recruit-mobile-menu nav a:not(.recruit-entry) {
    font-size: inherit;
    font-weight: 400;
  }

  @media (prefers-reduced-motion: reduce) {
    & .recruit-entry {
      transition: none;
    }
  }
}

#recruit-entry {
  & {
    --blue: #005bbd;
    --navy: #082b59;
    color: var(--navy);
    font-family: "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif;
    background: rgb(255, 255, 255);
  }

  & *,
  & ::before,
  & ::after {
    box-sizing: border-box;
  }

  & .wrap {
    width: 1296px;
    max-width: calc(100% - 48px);
    margin-inline: auto;
  }

  & p {
    font-size: 16px;
    line-height: 1.9;
    margin: 0px;
  }

  & h2 {
    font-size: 36px;
    line-height: 1.6;
    margin: 0px 0px 24px;
    font-weight: 700;
    letter-spacing: 0.01em;
  }

  & h3 {
    border-bottom: none;
    font-size: 20px;
    line-height: 1.5;
    margin: 0px;
    font-weight: 700;
  }

  & .eyebrow {
    display: block;
    margin-bottom: 8px;
    color: var(--blue);
    font-size: 15px;
    letter-spacing: 0.18em;
  }

  & .section-space {
    padding-block: 80px;
  }

  & .recruit-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 64px;
    padding: 16px 24px;
    border: 1px solid var(--blue);
    border-radius: 5px;
    background: rgb(255, 255, 255);
    color: var(--blue);
    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s;
  }

  & .recruit-button:hover {
    background: rgb(237, 246, 255);
  }

  & .recruit-button span {
    font-size: 24px;
    font-weight: 400;
  }

  & :is(a, button, summary):focus-visible {
    outline: rgb(255, 150, 31) solid 3px;
    outline-offset: 4px;
  }

  & [id] {
    scroll-margin-top: 24px;
  }

  & .entry-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: rgb(242, 248, 255);
    min-height: 650px;
  }

  & .hero-photo {
    position: absolute;
    inset: 0px 0px 0px 42%;
    z-index: -2;
  }

  & .hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 53% center;
  }

  & .entry-hero::before {
    content: "";
    position: absolute;
    inset: 0px;
    z-index: -1;
    background: linear-gradient(90deg, rgb(242, 248, 255) 0%, rgb(242, 248, 255) 36%, rgba(242, 248, 255, 0.92) 45%, transparent 66%);
  }

  & .entry-hero::after {
    content: "";
    position: absolute;
    inset: 0px;
    z-index: -1;
    pointer-events: none;
    background: linear-gradient(128deg, transparent 30%, rgba(213, 234, 255, 0.4) 30%, rgba(233, 245, 255, 0.4) 38%, transparent 38%, transparent 92%, rgba(0, 91, 189, 0.2) 92%);
  }

  & .hero-content {
    padding-block: 100px 64px;
  }

  & .hero-catchcopy,
  & .entry-page-label {
    font-size: clamp(32px, 3.4vw, 56px);
  }

  & .hero-catchcopy {
    line-height: 1.2;
    margin: 0px 0px 28px;
    letter-spacing: 0.025em;
  }

  & .hero-catchcopy span {
    color: var(--blue);
  }

  & .hero-content > p {
    max-width: 760px;
  }

  & .hero-badge {
    position: absolute;
    right: 0px;
    top: 28px;
    background: rgb(255, 150, 31);
    color: rgb(255, 255, 255);
    padding: 14px 30px;
    font-size: 16px;
  }

  & .hero-support {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    margin-top: 30px;
  }

  & .hero-support span + span {
    border-left: 1px solid rgb(140, 165, 192);
    padding-left: 24px;
  }

  & .hero-button {
    width: 360px;
    max-width: 100%;
    margin-top: 26px;
  }

  & .hero-note {
    display: grid;
    grid-template-columns: 0.85fr 1.4fr;
    gap: 40px;
    align-items: center;
    padding-block: 48px;
  }

  & .hero-note h3 {
    color: var(--blue);
    margin: 0px;
  }

  & .industries {
    background: linear-gradient(135deg, rgb(255, 255, 255) 28%, rgb(239, 247, 255) 28%, rgb(255, 255, 255) 50%, rgb(237, 246, 255) 83%, rgb(255, 255, 255) 83%);
  }

  & .industry-top {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 48px;
    align-items: center;
  }

  & .industry-photo {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
    border: 1px solid rgb(255, 255, 255);
  }

  & .industry-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0px, 1fr));
    gap: 16px;
    margin-top: 38px;
  }

  & .industry-card {
    padding: 24px;
    border-width: 4px 1px 1px;
    border-style: solid;
    border-color: rgb(0, 101, 207) rgb(214, 231, 252) rgb(214, 231, 252);
    border-image: none;
    border-radius: 3px;
    background: rgb(255, 255, 255);
  }

  & .number-heading {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 10px;
    align-items: center;
    margin-bottom: 20px;
  }

  & .number-heading > span {
    color: var(--blue);
    font: 700 34px / 1.2 Arial, sans-serif;
  }

  & .industry-note {
    display: grid;
    grid-template-columns: 0.85fr 1.8fr;
    gap: 44px;
    align-items: center;
    margin-top: 40px;
  }

  & .industry-note h3 {
    font-size: 24px;
  }

  & .why {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    color: rgb(255, 255, 255);
    background: linear-gradient(105deg, rgb(5, 46, 103), rgb(0, 88, 183));
  }

  & .why::before {
    content: "";
    position: absolute;
    inset: 0px;
    z-index: -2;
    background: linear-gradient(90deg, rgb(5, 46, 103) 15%, rgba(0, 65, 143, 0.8) 55%, rgba(0, 65, 143, 0.25)), url("/imgv2/recruit-entry/why-plamo-background.svg") right center / cover no-repeat;
    opacity: 0.65;
  }

  & .why::after {
    content: "";
    position: absolute;
    inset: 0px;
    z-index: -1;
    background: repeating-linear-gradient(130deg, transparent 0px, transparent 290px, rgba(33, 135, 235, 0.16) 290px, rgba(33, 135, 235, 0.16) 292px, rgba(33, 135, 235, 0.098) 292px, rgba(33, 135, 235, 0.098) 580px);
  }

  & .why-layout {
    display: grid;
    grid-template-columns: 0.85fr 1.35fr;
    gap: 48px;
    align-items: center;
  }

  & .why .eyebrow {
    color: rgb(166, 217, 255);
  }

  & .why h2 {
    font-weight: 500;
  }

  & .why-cards {
    display: grid;
    gap: 16px;
  }

  & .why-card {
    display: grid;
    grid-template-columns: 84px 1fr;
    gap: 28px;
    align-items: center;
    padding: 24px 28px;
    border: 1px solid rgb(145, 196, 238);
    border-radius: 5px;
    background: linear-gradient(145deg, rgba(87, 182, 240, 0.28), rgba(28, 115, 202, 0.3));
  }

  & .why-number {
    color: rgb(166, 229, 255);
    font: 400 56px / 1.1 Arial, sans-serif;
  }

  & .why-card > div {
    padding-left: 28px;
    border-left: 1px solid rgba(145, 196, 238, 0.533);
  }

  & .why-card h3 {
    margin-bottom: 8px;
  }

  & .first-step {
    background: linear-gradient(150deg, rgb(255, 255, 255), rgb(244, 250, 255));
  }

  & .step-intro {
    margin-bottom: 44px;
  }

  & .step-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0px, 1fr));
    gap: 20px;
  }

  & .step-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 34px 26px 26px;
    background: rgb(255, 255, 255);
    border: 1px solid rgb(214, 231, 252);
    border-radius: 8px;
  }

  & .step-heading {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 24px;
  }

  & .step-heading > span {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgb(232, 245, 255);
    color: var(--blue);
    font: 700 20px / 1 "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif;
  }

  & .step-card > p {
    margin-bottom: 32px;
  }

  & .step-card .recruit-button {
    margin-top: auto;
    width: 100%;
  }

  & .recommend {
    position: absolute;
    top: -9px;
    right: 14px;
    border-radius: 30px;
    background: rgb(255, 150, 31);
    color: rgb(255, 255, 255);
    padding: 9px 18px;
    font-size: 14px;
    line-height: 1.3;
    white-space: nowrap;
  }

  & .working-note {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 32px;
    align-items: center;
    background: rgb(237, 247, 255);
    border: 1px solid rgb(214, 231, 252);
    border-radius: 8px;
    padding: 28px 32px;
    margin-top: 28px;
    color: var(--blue);
  }

  & .working-note p {
    border-left: 1px solid rgb(197, 223, 248);
    padding-left: 32px;
  }

  @media (max-width: 1100px) {
    & .industry-cards {
      grid-template-columns: repeat(2, minmax(0px, 1fr));
    }

    & .why-layout {
      grid-template-columns: 1fr 1.25fr;
      gap: 30px;
    }

    & .why-card {
      grid-template-columns: 54px 1fr;
      gap: 12px;
      padding: 20px;
    }

    & .why-card > div {
      padding-left: 16px;
    }

    & .step-cards {
      gap: 14px;
    }

    & .step-card {
      padding: 32px 18px 20px;
    }

    & .step-heading {
      gap: 10px;
    }

    & .step-heading > span {
      width: 52px;
      height: 52px;
    }

    & .recruit-button {
      padding: 14px 16px;
    }

    & .hero-content > p {
      max-width: 60%;
    }
  }

  @media (max-width: 767px) {
    & .wrap {
      max-width: calc(100% - 40px);
    }

    & h2 {
      font-size: 24px;
    }

    & .section-space {
      padding-block: 44px;
    }

    & .eyebrow {
      font-size: 12px;
    }

    & .entry-hero {
      display: flex;
      flex-direction: column;
      min-height: 0px;
    }

    & .hero-photo {
      position: relative;
      inset: auto;
      order: 0;
      aspect-ratio: 1.25 / 1;
      z-index: 0;
    }

    & .hero-photo img {
      object-position: center center;
    }

    & .entry-hero::before {
      display: none;
    }

    & .hero-content {
      order: 1;
      padding-block: 28px 36px;
    }

    & .hero-catchcopy,
    & .entry-page-label {
      font-size: 28px;
    }

    & .hero-catchcopy {
      line-height: 1.6;
      letter-spacing: normal;
      margin: 0px 0px 20px;
    }

    & .hero-content > p {
      max-width: none;
    }

    & .hero-badge {
      top: 16px;
      padding: 10px 16px;
      font-size: 14px;
      z-index: 1;
    }

    & .hero-support {
      display: block;
      margin-top: 24px;
    }

    & .hero-support span {
      display: block;
    }

    & .hero-support span + span {
      border: 0px;
      padding: 0px;
    }

    & .hero-button {
      width: 100%;
    }

    & .hero-note,
    & .industry-top,
    & .industry-note,
    & .why-layout {
      grid-template-columns: 1fr;
      gap: 24px;
    }

    & .hero-note {
      padding-block: 32px;
    }

    & .industry-cards {
      grid-template-columns: 1fr;
      gap: 14px;
      margin-top: 26px;
    }

    & .industry-card {
      padding: 20px;
    }

    & .industry-note {
      margin-top: 28px;
    }

    & .industry-note h3 {
      font-size: 21px;
    }

    & .why-card {
      grid-template-columns: 48px 1fr;
      gap: 12px;
      padding: 20px 16px;
    }

    & .why-number {
      font-size: 36px;
    }

    & .why-card > div {
      padding-left: 16px;
    }

    & .why h2 br {
      display: none;
    }

    & .step-cards {
      grid-template-columns: 1fr;
      gap: 28px;
    }

    & .step-card {
      padding: 32px 22px 24px;
    }

    & .step-intro {
      margin-bottom: 36px;
    }

    & .working-note {
      grid-template-columns: 1fr;
      gap: 12px;
      padding: 24px;
    }

    & .working-note p {
      border: 0px;
      padding: 0px;
    }

    & .step-heading {
      margin-bottom: 20px;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    & .recruit-button {
      transition: none;
    }
  }

  & {
    text-align: left;
  }

  & h2 {
    background: none;
    border-width: medium;
    border-style: none;
    border-color: currentcolor;
    border-image: none;
    padding: 0px;
    font-weight: 700;
    text-align: inherit;
  }

  & .recruit-button {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: rgb(255, 255, 255);
    color: rgb(0, 91, 189);
    transition: color 0.25s, background 0.25s, border-color 0.25s;
  }

  & .recruit-button::before {
    content: "";
    position: absolute;
    inset: 0px;
    z-index: -1;
    background: linear-gradient(110deg, rgb(0, 73, 156), rgb(0, 103, 213) 55%, rgb(33, 136, 229));
    opacity: 0;
    transition: opacity 0.25s;
  }

  & .recruit-button::after {
    content: "";
    position: absolute;
    top: -40%;
    left: -70%;
    width: 40%;
    height: 180%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    transform: skewX(-22deg);
    pointer-events: none;
  }

  & .recruit-button:hover {
    background: rgb(0, 91, 189);
    color: rgb(255, 255, 255);
  }

  & .recruit-button:hover::before {
    opacity: 1;
  }

  & .recruit-button:hover::after {
    animation: 0.65s ease-out 0s 1 normal none running recruit-entry-button-shine;
  }

  @media (prefers-reduced-motion: reduce) {
    & .recruit-button,
    & .recruit-button::before {
      transition: none;
    }

    & .recruit-button:hover::after {
      animation: auto ease 0s 1 normal none running none;
    }
  }

  & .industries h2 {
    line-height: 1.55;
  }

  & .industry-card h3 {
    font-size: 19px;
    line-height: 1.55;
  }

  & .why h2 {
    font-weight: 500;
    line-height: 1.65;
    letter-spacing: 0.02em;
  }

  & .recruit-button {
    letter-spacing: 0.06em;
  }

  & .recruit-button > span {
    font-size: 26px;
    line-height: 1;
  }

  & .hero-button {
    font-size: 20px;
  }

  @media (min-width: 768px) and (max-width: 1200px) {
    & .hero-catchcopy,
    & .entry-page-label {
      font-size: clamp(30px, 3.2vw, 40px);
    }
  }

  @media (max-width: 1100px) {
    & .industry-card h3 {
      font-size: 18px;
    }
  }

  @media (max-width: 767px) {
    & .hero-button {
      font-size: 17px;
    }

    & .step-heading > span {
      width: 40px;
      height: 40px;
      font-size: 16px;
    }
  }

  & .industry-top h2 {
    margin: 0px 0px 24px;
  }

  & .first-step h2 {
    margin-bottom: 32px;
  }

  @media (max-width: 767px) {
    & .why h2 {
      margin-bottom: 20px;
    }

    & .why h2 br {
      display: initial;
    }
  }
}

#lp-footer {
  & {
    background-color: rgb(0, 80, 132);
    color: rgb(255, 255, 255);
    padding: 96px 10px 48px;
  }

  & a {
    color: rgb(255, 255, 255);
  }

  @media (max-width: 729px) {
    & {
      padding: 48px 10px;
    }
  }
}

.lp-foot-wrap {
  & {
    display: flex;
    justify-content: space-around;
  }

  @media (max-width: 729px) {
    & {
      flex-direction: column;
      gap: 20px;
    }
  }
}

body:has(#recruit-entry) {
  & .container {
    padding: 0;
  }
  & #breadcrumb ol {
    width: 1296px;
    max-width: calc(100% - 48px);
    margin-inline: auto;
  }

  @media (min-width: 1040px) {
    & #primary {
      padding-top: 0px;
    }
  }

  & p.lp-copy {
    margin-bottom: 0px;
    margin-top: 48px;
    text-align: center;
  }
}

.recruit-entry-preview-body {
  margin: 0px;
}

.head-cover:has(#recruit-header) {
  max-width: none !important;
}

@keyframes recruit-entry-button-shine { 
  0% { left: -70%; }
  100% { left: 135%; }
}


/*
採用エントリーフォーム：表示・確認・完了
・採用フォームに不要な日付選択処理や外部ライブラリは使用しません
・基本の文字サイズはPC 14px／スマホ 16px
・送信成功後は同じフォーム内で「3 完了」を表示します
・SPでは案内欄をフォームの下に配置します
*/

.plamo-recruit {
  --pr-blue: #148be3;
  --pr-navy: #104779;
  --pr-text: #496b91;
  box-sizing: border-box;
  background: #f3f9fe;
  padding: 76px 28px 68px;
  color: var(--pr-text);
  font-family: "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.8;
}
.plamo-recruit * {
  box-sizing: border-box;
}

/* 基本の文字サイズ：PC 14px／スマホ 16px */
#contents .plamo-recruit {
  font-size: 14px;
}
#contents .plamo-recruit * {
  font-size: inherit;
}
@media (max-width: 767px) {
  #contents .plamo-recruit {
    font-size: 16px;
  }
}

/* 見出し */
#contents .plamo-recruit .pr-heading,
.plamo-recruit .pr-heading {
  text-align: center;
  margin: 0 auto 38px;
}
#contents .plamo-recruit .pr-heading > p,
.plamo-recruit .pr-heading > p {
  margin: 0 0 10px;
}
#contents .plamo-recruit .pr-eyebrow,
.plamo-recruit .pr-eyebrow {
  color: var(--pr-blue);
  font-size: 12px;
  letter-spacing: .18em;
}
#contents .plamo-recruit h2,
.plamo-recruit h2 {
  background: none;
  border: 0;
  padding: 0;
  margin: 0 0 12px;
  color: #234c7d;
  font-size: 26px;
  font-weight: 500;
  line-height: 1.5;
}

/* 案内とフォームの配置 */
.plamo-recruit .pr-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 32px;
  max-width: 1040px;
  margin: auto;
  align-items: start;
}
.plamo-recruit .pr-guide {
  min-width: 0;
  background: var(--pr-navy);
  color: #c9e4f8;
  border-radius: 8px;
  padding: 26px;
}
#contents .plamo-recruit h3,
.plamo-recruit h3 {
  margin: 0 0 16px;
  padding: 0;
  background: none;
  border: 0;
  color: inherit;
  font-size: 18px;
  font-weight: 500;
}
#contents .plamo-recruit .pr-guide ul,
.plamo-recruit .pr-guide ul {
  margin: 0 0 26px;
  padding: 0 0 0 18px;
  list-style: disc;
}
.plamo-recruit .pr-guide li {
  margin: 0;
  padding: 0;
}
.plamo-recruit .pr-guide li::before {
  content: none !important;
}
#contents .plamo-recruit .pr-guide-note,
.plamo-recruit .pr-guide-note {
  background: #e8f6ff;
  color: #4a8bb5;
  margin: 0;
  padding: 15px;
  border-radius: 5px;
}
.plamo-recruit .pr-card {
  min-width: 0;
  background: #fff;
  border-radius: 8px;
  padding: 32px 36px 36px;
}

/* 入力・確認・完了の表示 */
.plamo-recruit .pr-steps {
  display: flex;
  overflow: hidden;
  border-radius: 30px;
  background: #e7eef5;
  margin: 0 20px 32px;
  color: #91a7ba;
  text-align: center;
}
.plamo-recruit .pr-steps span {
  flex: 1;
  padding: 5px 0;
}
.plamo-recruit .pr-steps .is-current {
  background: var(--pr-blue);
  color: #fff;
}

/* 入力項目 */
.plamo-recruit .pr-fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 22px 14px;
}
.plamo-recruit .pr-field {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.plamo-recruit .pr-wide {
  grid-column: 1 / -1;
}
#contents .plamo-recruit .pr-field > label,
#contents .plamo-recruit legend,
.plamo-recruit .pr-field > label,
.plamo-recruit legend {
  display: block;
  margin: 0 0 7px;
  padding: 0;
  font-weight: 600;
  color: var(--pr-text);
  line-height: 1.6;
}

/* 自動改行が残っていた場合の保険 */
#contents .plamo-recruit .pr-field br {
  display: none;
}
#contents .plamo-recruit .pr-field > p {
  margin: 0;
}

/* 必須・任意バッジ */
#contents .plamo-recruit .pr-required,
#contents .plamo-recruit .pr-optional,
.plamo-recruit .pr-required,
.plamo-recruit .pr-optional {
  display: inline-block;
  margin-left: 4px;
  padding: 0 4px;
  border-radius: 2px;
  color: #fff;
  background: #ec6973;
  font-size: 12px;
  line-height: 1.6;
  vertical-align: middle;
}
#contents .plamo-recruit .pr-optional,
.plamo-recruit .pr-optional {
  background: #8c9eaf;
}

#contents .plamo-recruit input[type="text"],
#contents .plamo-recruit input[type="email"],
#contents .plamo-recruit input[type="tel"],
#contents .plamo-recruit select,
#contents .plamo-recruit textarea,
.plamo-recruit input[type="text"],
.plamo-recruit input[type="email"],
.plamo-recruit input[type="tel"],
.plamo-recruit select,
.plamo-recruit textarea {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  min-height: 44px;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid #cbdcee;
  border-radius: 4px;
  box-shadow: none;
  background: #fbfdff;
  color: var(--pr-text);
  font: inherit;
  line-height: 1.6;
}
#contents .plamo-recruit textarea,
.plamo-recruit textarea {
  resize: vertical;
  min-height: 92px;
}
.plamo-recruit input::placeholder,
.plamo-recruit textarea::placeholder {
  color: #9dacbd;
  opacity: 1;
}
.plamo-recruit input:focus-visible,
.plamo-recruit select:focus-visible,
.plamo-recruit textarea:focus-visible,
.plamo-recruit button:focus-visible {
  outline: 2px solid var(--pr-blue);
  outline-offset: 3px;
}

/* ラジオボタン */
.plamo-recruit .wpcf7-radio {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.plamo-recruit .wpcf7-list-item {
  display: inline-block;
  margin: 0;
}
.plamo-recruit .wpcf7-list-item label {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid #cbdcee;
  border-radius: 4px;
  background: #fff;
  cursor: pointer;
  line-height: 1.5;
}
#contents .plamo-recruit input[type="radio"],
.plamo-recruit input[type="radio"] {
  width: 14px;
  height: 14px;
  margin: 0;
  accent-color: var(--pr-blue);
  flex-shrink: 0;
}
.plamo-recruit .wpcf7-list-item label:has(input:checked) {
  border-color: var(--pr-blue);
  background: #edf8ff;
  color: var(--pr-blue);
}
.plamo-recruit .wpcf7-list-item label:focus-within {
  outline: 2px solid var(--pr-blue);
  outline-offset: 2px;
}

/* 履歴書・職務経歴書 */
.plamo-recruit .pr-upload .wpcf7-form-control-wrap {
  display: block;
  padding: 14px;
  border: 2px dashed #c5daeb;
  border-radius: 5px;
  background: #f8fcff;
}
#contents .plamo-recruit input[type="file"],
.plamo-recruit input[type="file"] {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 0;
  color: var(--pr-text);
  font: inherit;
}
.plamo-recruit input[type="file"]::file-selector-button {
  margin-right: 12px;
  padding: 8px 12px;
  border: 1px solid #cbdcee;
  border-radius: 4px;
  background: #fff;
  color: var(--pr-text);
  font: inherit;
  cursor: pointer;
}

/* 補足・個人情報 */
#contents .plamo-recruit .pr-field > p.pr-help,
#contents .plamo-recruit .pr-help,
.plamo-recruit .pr-help {
  margin: 6px 0 0;
  color: #8198b0;
  line-height: 1.8;
}
.plamo-recruit .pr-center {
  text-align: center;
}
#contents .plamo-recruit .pr-privacy,
.plamo-recruit .pr-privacy {
  margin: 18px 0 0;
}
.plamo-recruit .pr-privacy a {
  color: #347eb5;
  text-decoration: underline;
}

/* 確認・送信・戻るボタン */
.plamo-recruit .pr-actions {
  margin-top: 24px;
}
#contents .plamo-recruit .pr-actions input,
.plamo-recruit .pr-actions input {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  margin: 12px auto 0;
  padding: 14px 32px;
  border: 0;
  border-radius: 4px;
  background: #ff951e;
  color: #fff;
  box-shadow: none;
  cursor: pointer;
  font: inherit;
  line-height: 1.5;
  text-align: center;
  white-space: normal;
}
.plamo-recruit .pr-actions input:hover {
  background: #ed8410;
}
#contents .plamo-recruit .pr-actions .wpcf7c-btn-back,
.plamo-recruit .pr-actions .wpcf7c-btn-back {
  background: #edf5fb;
  color: var(--pr-text);
  border: 1px solid #cbdcee;
}

/* 完了表示 */
.plamo-recruit .pr-complete {
  padding: 36px 20px;
  border-radius: 6px;
  background: #f3f9fe;
  text-align: center;
}
#contents .plamo-recruit .pr-complete h3,
.plamo-recruit .pr-complete h3 {
  color: #234c7d;
  margin-bottom: 12px;
}
.plamo-recruit .pr-complete p {
  margin: 0;
}
.plamo-recruit.is-complete .pr-entry-content {
  display: none;
}

/* 確認画面プラグイン */
.plamo-recruit .wpcf7c-force-hide {
  display: none !important;
}
.plamo-recruit .wpcf7-not-valid-tip {
  margin-top: 4px;
}

/* 幅が狭い画面では縦積み・フォームを先に、案内欄を後に表示 */
@media (max-width: 767px) {
  .plamo-recruit {
    padding: 48px 18px;
  }
  .plamo-recruit .pr-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }
  .plamo-recruit .pr-card {
    grid-column: 1;
    grid-row: 1;
    padding: 26px 20px;
  }
  .plamo-recruit .pr-guide {
    grid-column: 1;
    grid-row: 2;
    padding: 24px;
  }
  .plamo-recruit .pr-steps {
    margin: 0 0 26px;
  }
  #contents .plamo-recruit h2,
  .plamo-recruit h2 {
    font-size: 22px;
  }
}

@media (max-width: 460px) {
  .plamo-recruit .pr-fields {
    grid-template-columns: minmax(0, 1fr);
  }
  .plamo-recruit .pr-wide {
    grid-column: auto;
  }
  .plamo-recruit .pr-card {
    padding: 24px 16px;
  }
}

/* フォームの横幅をページ共通の.wrap（1296px）にそろえる */
.plamo-recruit {
  padding-inline: 0;
}
.plamo-recruit .pr-layout {
  width: 1296px;
  max-width: calc(100% - 48px);
}
@media (max-width: 767px) {
  .plamo-recruit {
    padding-inline: 0;
  }
  .plamo-recruit .pr-layout {
    max-width: calc(100% - 40px);
  }
}

/* h2をページ共通の見出しサイズにそろえる */
#contents .plamo-recruit h2 {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.01em;
}
@media (max-width: 767px) {
  #contents .plamo-recruit h2 {
    font-size: 24px;
  }
  /* h2下の説明文を左寄せ（ENTRY FORMとh2は中央のまま） */
  #contents .plamo-recruit .pr-heading > p:not(.pr-eyebrow) {
    text-align: left;
  }
}
/* 05 募集職種・募集要項：既存の手動修正を維持して追加 */
#recruit-entry {
  & .entry-positions {
    background: #0c385f;
    color: #fff;
  }
  & .positions-heading {
    text-align: left;
    margin-bottom: 48px;
    & .eyebrow { color: #a4c9e6; }
    & h2 { color: inherit; }
    & p { color: #c9deef; }
  }
  & .positions-grid,
  & .conditions-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
  }
  & .position-card {
    padding: 28px 24px;
    background: #fff;
    color: var(--navy);
    border-radius: 10px;
    & h3 { margin-bottom: 12px; color: var(--blue); }
    & p { color: #333; font-size: 14px; }
  }
  & .positions-note {
    margin: 20px 0 32px;
    text-align: center;
    color: #b7d2e7;
    font-size: 14px;
  }
  & .condition-card {
    padding: 26px 16px;
    border: 1px solid #37658e;
    border-radius: 8px;
    background: #104674;
    text-align: center;
    & h3 { font-weight: 500; }
    & p { margin-top: 8px; color: #b7d2e7; font-size: 14px; }
  }
  & .positions-salary {
    display: grid;
    grid-template-columns: 1fr 3fr;
    align-items: center;
    gap: 24px;
    margin-top: 20px;
    padding: 28px;
    background: #fff;
    border-radius: 10px;
    color: #333;
    & h3 { color: var(--blue); }
    & ul { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0 0 8px; padding: 0; list-style: none; font-size: 14px; line-height: 1.9; }
    & li + li::before { content: "／"; margin-right: 20px; color: #333; }
    & p { font-size: 13px; }
  }
  @media (max-width: 1100px) {
    & .positions-grid,
    & .conditions-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    & .positions-salary { grid-template-columns: 1fr; gap: 16px; }
  }
  @media (max-width: 767px) {
    & .positions-heading { text-align: left; margin-bottom: 32px; }
    & .positions-grid,
    & .conditions-grid { grid-template-columns: 1fr; gap: 12px; }
    & .position-card { padding: 24px; }
    & .condition-card { padding: 22px 16px; }
    & .positions-note { text-align: left; }
    & .positions-salary {
      padding: 24px;
      & ul { display: grid; gap: 4px; }
      & li + li::before { content: none; }
    }
  }
}
/* FV：英語ラベルの上のページ名 */
#recruit-entry .entry-page-label {
  display: block;
  margin: 0 0 10px;
  color: var(--navy, #082b59);
  line-height: 1.25;

  & > span {
    display: inline-block;
  }
}
#recruit-entry .entry-hero .hero-catchcopy,
#recruit-entry .entry-hero .entry-page-label {
  font-weight: 700;
}

#recruit-entry .entry-hero .hero-catchcopy {
  display: block;
  line-height: 1.2;
  margin: 0 0 28px;
  letter-spacing: 0.025em;
}

/* 採用エントリー：パンくずをメインと同じ幅に揃える */
@media (max-width: 767px) {
  body:has(#recruit-entry) #breadcrumb ol {
    max-width: calc(100% - 12px);
    padding: 1rem !important;
  }
}

@media (max-width: 729px) {
  body:has(#recruit-entry) #breadcrumb li:last-child {
    display: list-item;
  }
}