/**
 * IVナース 2026 UI（page-iv-nurse_test2026.php / page-iv-nurse_2026-launch.php 共通・article.page-iv-nurse-2026）
 * Tailwind の style.css（@layer base の table / ul 等）より後に読み込み、旧 s-que 相当の見た目を固定する。
 */
body[class*="page-template-page-iv-nurse"] .site-main.specialtraining .entry-content.page-iv-nurse .boxInfoList::after {
  content: "";
  display: table;
  clear: both;
}

body[class*="page-template-page-iv-nurse"] .site-main.specialtraining .entry-content.page-iv-nurse .boxTwoColumn > ul {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
  margin-bottom: -1px;
  font-size: 0.98em;
  line-height: 1.6em;
}

body[class*="page-template-page-iv-nurse"] .site-main.specialtraining .entry-content.page-iv-nurse .boxTwoColumn:first-child {
  margin-top: 60px;
}

body[class*="page-template-page-iv-nurse"] .site-main.specialtraining .entry-content.page-iv-nurse .boxTwoColumn {
  margin: 40px 0;
}

body[class*="page-template-page-iv-nurse"] .site-main.specialtraining .entry-content.page-iv-nurse .boxLineList > ul > li {
  margin: 0;
  padding: 0;
  border-bottom: 1px dotted #bbb;
}

body[class*="page-template-page-iv-nurse"] .site-main.specialtraining .entry-content.page-iv-nurse .boxTwoColumn > ul > li {
  overflow: hidden;
  padding: 20px 0;
}

body[class*="page-template-page-iv-nurse"] .site-main.specialtraining .entry-content.page-iv-nurse .boxLineList > ul > li:first-child {
  padding-top: 0;
}

body[class*="page-template-page-iv-nurse"] .site-main.specialtraining .entry-content.page-iv-nurse .boxTwoColumn .boxTitle {
  float: left;
  width: 17%;
  font-weight: 700;
}

body[class*="page-template-page-iv-nurse"] .site-main.specialtraining .entry-content.page-iv-nurse .boxTwoColumn .boxCont {
  float: left;
  width: 83%;
  padding-left: 15px;
}

@media screen and (max-width: 767px) {
  body[class*="page-template-page-iv-nurse"] .site-main.specialtraining .entry-content.page-iv-nurse .boxTwoColumn .boxTitle,
  body[class*="page-template-page-iv-nurse"] .site-main.specialtraining .entry-content.page-iv-nurse .boxTwoColumn .boxCont {
    float: none;
    width: 100%;
    padding-left: 0;
  }
}

body[class*="page-template-page-iv-nurse"] .site-main.specialtraining .entry-content.page-iv-nurse .h-title06 {
  font-size: 1.5rem;
  text-align: left;
  color: #65abff;
  line-height: 1.5;
  font-weight: 700;
}

@media screen and (max-width: 767px) {
  body[class*="page-template-page-iv-nurse"] .site-main.specialtraining .entry-content.page-iv-nurse .h-title06 {
    font-size: 1.125rem;
  }
}

body[class*="page-template-page-iv-nurse"] .site-main.specialtraining article.page-iv-nurse .entry-header {
  padding: 10px 0 0;
}

body[class*="page-template-page-iv-nurse"] .site-main.specialtraining article.page-iv-nurse .entry-title {
  font-size: 2rem;
  color: #65abff;
  text-align: center;
  position: relative;
  font-weight: 700;
  margin: 0;
  padding-bottom: 28px;
}

@media screen and (max-width: 767px) {
  body[class*="page-template-page-iv-nurse"] .site-main.specialtraining article.page-iv-nurse .entry-title {
    font-size: 1.25rem;
  }
}

body[class*="page-template-page-iv-nurse"] .site-main.specialtraining article.page-iv-nurse .entry-title::after {
  background: #65abff;
  bottom: 0;
  content: "";
  height: 3px;
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
  width: 130px;
}

@media screen and (max-width: 767px) {
  body[class*="page-template-page-iv-nurse"] .site-main.specialtraining article.page-iv-nurse .entry-title::after {
    width: 80px;
  }
}

body[class*="page-template-page-iv-nurse"] .site-main.specialtraining article.page-iv-nurse .breadcrumbs {
  text-align: left;
  margin: 24px auto 48px;
  font-size: 12px;
  color: #707070;
}

body[class*="page-template-page-iv-nurse"] .site-main.specialtraining article.page-iv-nurse .breadcrumbs a {
  color: inherit;
  display: inline-block;
  padding: 0 2px;
  text-decoration: none;
}

body[class*="page-template-page-iv-nurse"] .site-main.specialtraining article.page-iv-nurse .breadcrumbs a:hover {
  text-decoration: underline;
}

body[class*="page-template-page-iv-nurse"] .site-main.specialtraining .entry-content.page-iv-nurse table {
  width: 100%;
  margin: 40px 0;
  border-collapse: separate;
  border-spacing: 1px;
  background: #ccc;
  font-size: 0.95em;
  line-height: 1.5em;
}

body[class*="page-template-page-iv-nurse"] .site-main.specialtraining .entry-content.page-iv-nurse table th,
body[class*="page-template-page-iv-nurse"] .site-main.specialtraining .entry-content.page-iv-nurse table td {
  padding: 10px 15px;
  background: #fff;
  vertical-align: top;
  border: none;
}

body[class*="page-template-page-iv-nurse"] .site-main.specialtraining .entry-content.page-iv-nurse table th {
  width: 260px;
  background: #f7f9ff;
  font-weight: bold;
  text-align: left;
}

@media screen and (max-width: 767px) {
  body[class*="page-template-page-iv-nurse"] .site-main.specialtraining .entry-content.page-iv-nurse table th {
    width: 100%;
  }
}

body[class*="page-template-page-iv-nurse"] .site-main.specialtraining .entry-content.page-iv-nurse .pdf-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 20px;
}

body[class*="page-template-page-iv-nurse"] .site-main.specialtraining .entry-content.page-iv-nurse .pdf-links a.pdf-btn {
  align-items: center;
  background-color: #f7f9ff;
  border-radius: 4px;
  border: 1px solid #6389c6;
  color: #6389c6;
  display: inline-flex;
  margin: 0 10px 10px 0;
  padding: 10px 20px;
  text-decoration: none;
}

body[class*="page-template-page-iv-nurse"] .site-main.specialtraining .entry-content.page-iv-nurse .pdf-links a.pdf-btn:hover {
  background-color: #6389c6;
  color: #fff;
}

body[class*="page-template-page-iv-nurse"] .site-main.specialtraining .entry-content.page-iv-nurse .entry-start {
  font-size: 1.125rem;
  font-weight: bold;
  background: #65abff;
  color: #fff;
  margin-top: 1em;
  padding: 1em;
  text-align: center;
}

/* --- IVナース 2026 UI（article.page-iv-nurse-2026） --- */
article.page-iv-nurse-2026 .entry-content.page-iv-nurse .iv-nurse-cta--form {
  text-align: center;
  margin-top: 2.75rem;
  margin-bottom: 0;
}

article.page-iv-nurse-2026 .entry-content.page-iv-nurse .iv-nurse-cta--form a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0.9em 2.5em;
  border-radius: 8px;
  background-color: #65abff;
  color: #fff !important;
  font-weight: 700;
  font-size: 1.125rem;
  text-decoration: none;
  border: none;
  box-shadow: 0 3px 10px rgba(101, 171, 255, 0.45);
  transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

@media screen and (min-width: 768px) {
  article.page-iv-nurse-2026 .entry-content.page-iv-nurse .iv-nurse-cta--form a {
    min-height: 60px;
    font-size: 1.2rem;
    padding: 0.95em 2.75em;
  }
}

article.page-iv-nurse-2026 .entry-content.page-iv-nurse .iv-nurse-cta--form a:hover,
article.page-iv-nurse-2026 .entry-content.page-iv-nurse .iv-nurse-cta--form a:focus-visible {
  background-color: #4a94f0;
  box-shadow: 0 3px 10px rgba(74, 148, 240, 0.45);
  color: #fff !important;
}

article.page-iv-nurse-2026 .entry-content.page-iv-nurse .iv-nurse-cta--form a:active {
  background-color: #3d82d9;
  transform: translateY(1px);
}

article.page-iv-nurse-2026 .entry-content.page-iv-nurse .iv-nurse-cta-follow {
  text-align: center;
  margin-top: 3.25rem;
  margin-bottom: 0;
  max-width: 100%;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

article.page-iv-nurse-2026 .entry-content.page-iv-nurse .iv-nurse-cta-follow__lead {
  margin: 0 0 0.75rem;
  line-height: 1.65;
  font-size: 1.2rem;
}

article.page-iv-nurse-2026 .entry-content.page-iv-nurse .iv-nurse-cta-follow__emph {
  font-size: 1.22em;
  font-weight: 700;
}

article.page-iv-nurse-2026 .entry-content.page-iv-nurse .iv-nurse-cta-follow__sub {
  margin: 0 0 1.5rem;
  line-height: 1.6;
  font-size: 1.1rem;
}

@media screen and (min-width: 768px) {
  article.page-iv-nurse-2026 .entry-content.page-iv-nurse .iv-nurse-cta-follow__lead {
    font-size: 1.35rem;
  }

  article.page-iv-nurse-2026 .entry-content.page-iv-nurse .iv-nurse-cta-follow__emph {
    font-size: 1.28em;
  }

  article.page-iv-nurse-2026 .entry-content.page-iv-nurse .iv-nurse-cta-follow__sub {
    font-size: 1.2rem;
  }
}

article.page-iv-nurse-2026 .entry-content.page-iv-nurse .iv-nurse-cta-follow__figure {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100%;
}

article.page-iv-nurse-2026 .entry-content.page-iv-nurse .iv-nurse-cta-follow__figure img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

/* test2026: 「研修プログラム」見出し（提示デザイン準拠） */
article.page-iv-nurse-2026 .entry-content.page-iv-nurse .iv-program-heading {
  margin: 0 0 1.75rem;
  padding: 0;
}

body[class*="page-template-page-iv-nurse"] .site-main.specialtraining article.page-iv-nurse-2026 .entry-content.page-iv-nurse .iv-program-heading .h-title06 {
  position: relative;
  padding: 5px 5px 5px 42px;
  background: #77c3df;
  font-size: 20px;
  color: #fff;
  margin: 0 0 0 -33px;
  line-height: 1.3;
  z-index: -1;
}

body[class*="page-template-page-iv-nurse"] .site-main.specialtraining article.page-iv-nurse-2026 .entry-content.page-iv-nurse .iv-program-heading .h-title06::before {
  position: absolute;
  content: "";
  left: -2px;
  top: -2px;
  border: none;
  border-left: solid 40px #fff;
  border-bottom: solid 79px transparent;
  z-index: -2;
}

article.page-iv-nurse-2026 .entry-content.page-iv-nurse .iv-elearning-label {
  font-size: 1.08em;
  font-weight: 700;
}

@media screen and (min-width: 768px) {
  article.page-iv-nurse-2026 .entry-content.page-iv-nurse .iv-elearning-label {
    font-size: 1.12em;
  }
}

article.page-iv-nurse-2026 .entry-content.page-iv-nurse .iv-elearning-lead {
  color: #65abff;
}

/* test2026: 上部バナー（テキスト見出しの代わり） */
article.page-iv-nurse-2026 .entry-content.page-iv-nurse .iv-nurse-top-banner {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100%;
}

article.page-iv-nurse-2026 .entry-content.page-iv-nurse .iv-nurse-top-banner img {
  display: block;
  width: 100%;
  height: auto;
}

article.page-iv-nurse-2026 .entry-content.page-iv-nurse .boxSection > .iv-nurse-top-banner + .boxInfoList.boxTwoColumn {
  margin-top: 60px;
}

/* ねらい：3画像を常に横並び（PC・スマホ） */
article.page-iv-nurse-2026 .entry-content.page-iv-nurse .iv-nurse-aim-body__lead,
article.page-iv-nurse-2026 .entry-content.page-iv-nurse .iv-nurse-aim-body__foot {
  margin: 0;
  line-height: 1.55;
}

article.page-iv-nurse-2026 .entry-content.page-iv-nurse .iv-nurse-aim-body__foot {
  margin-top: 0.5rem;
}

article.page-iv-nurse-2026 .entry-content.page-iv-nurse .iv-nurse-aim-targets {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.4rem;
  align-items: start;
  margin: 0.45rem 0 0.35rem;
  width: 100%;
  max-width: 100%;
}

article.page-iv-nurse-2026 .entry-content.page-iv-nurse .iv-nurse-aim-targets__item {
  margin: 0;
  padding: 0;
}

article.page-iv-nurse-2026 .entry-content.page-iv-nurse .iv-nurse-aim-targets__item img {
  display: block;
  width: 100%;
  height: auto;
}

/* スマホ：TOP下「ねらい〜研修場所」カード。見出し行（.boxTitle）のみ #77c3df、本文は白地＋通常色 */
@media screen and (max-width: 767px) {
  article.page-iv-nurse-2026 .entry-content.page-iv-nurse .boxSection > .iv-nurse-top-banner + .boxInfoList.boxLineList > ul > li {
    background-color: #fff;
    color: inherit;
    padding: 0;
    margin: 0 0 0.65rem;
    border: 1px solid #e2e2e2;
    border-bottom: 1px solid #e2e2e2;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: none;
  }

  article.page-iv-nurse-2026 .entry-content.page-iv-nurse .boxSection > .iv-nurse-top-banner + .boxInfoList.boxLineList > ul > li:last-of-type {
    margin-bottom: 0;
  }

  article.page-iv-nurse-2026 .entry-content.page-iv-nurse .boxSection > .iv-nurse-top-banner + .boxInfoList.boxLineList .boxTitle {
    float: none;
    width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 0.65rem 0.9rem;
    background-color: #77c3df;
    color: #fff;
    font-weight: 700;
  }

  article.page-iv-nurse-2026 .entry-content.page-iv-nurse .boxSection > .iv-nurse-top-banner + .boxInfoList.boxLineList .boxCont {
    float: none;
    width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 0.85rem 0.9rem 1rem;
    background-color: #fff;
    color: #333;
  }

  article.page-iv-nurse-2026 .entry-content.page-iv-nurse .boxSection > .iv-nurse-top-banner + .boxInfoList.boxLineList .boxCont strong {
    color: inherit;
  }

  article.page-iv-nurse-2026 .entry-content.page-iv-nurse .boxSection > .iv-nurse-top-banner + .boxInfoList.boxLineList .boxCont p {
    color: inherit;
  }

  article.page-iv-nurse-2026 .entry-content.page-iv-nurse .boxSection > .iv-nurse-top-banner + .boxInfoList.boxLineList .boxCont a:not(.pdf-btn) {
    color: #6389c6;
    text-decoration: underline;
    text-underline-offset: 0.15em;
  }

  article.page-iv-nurse-2026 .entry-content.page-iv-nurse .boxSection > .iv-nurse-top-banner + .boxInfoList.boxLineList .boxCont a:not(.pdf-btn):hover,
  article.page-iv-nurse-2026 .entry-content.page-iv-nurse .boxSection > .iv-nurse-top-banner + .boxInfoList.boxLineList .boxCont a:not(.pdf-btn):focus-visible {
    color: #4a6fa8;
  }
}

article.page-iv-nurse-2026 .entry-content.page-iv-nurse ul.iv-lecturer-list.box-doctor {
  list-style: none;
  margin: 1em 0 0;
  padding: 1.25em 1.5rem;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

article.page-iv-nurse-2026 .entry-content.page-iv-nurse ul.iv-lecturer-list.box-doctor li {
  display: grid;
  grid-template-columns: 5.5em auto;
  column-gap: 1rem;
  align-items: center;
  width: auto;
  max-width: min(22rem, calc(100vw - 3rem));
  padding: 0.45rem 0;
  border-bottom: 1px dotted #ddd;
}

article.page-iv-nurse-2026 .entry-content.page-iv-nurse ul.iv-lecturer-list.box-doctor li:last-child {
  border-bottom: none;
}

article.page-iv-nurse-2026 .entry-content.page-iv-nurse ul.iv-lecturer-list.box-doctor .iv-lecturer-role {
  text-align: center;
  justify-self: stretch;
  color: #444;
  font-weight: 600;
}

article.page-iv-nurse-2026 .entry-content.page-iv-nurse ul.iv-lecturer-list.box-doctor .iv-lecturer-name {
  text-align: left;
  justify-self: stretch;
}

article.page-iv-nurse-2026 .entry-content.page-iv-nurse ul.iv-lecturer-list.box-doctor .iv-lecturer-name strong {
  font-weight: 700;
}

/* PC: 講師5名を左3・右2の2カラム。灰色背景（.box-doctor）はコンテナ幅いっぱい */
@media screen and (min-width: 768px) {
  article.page-iv-nurse-2026 .entry-content.page-iv-nurse ul.iv-lecturer-list.box-doctor {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(3, auto);
    grid-auto-flow: column;
    column-gap: 2.5rem;
    row-gap: 0;
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    align-items: stretch;
  }

  article.page-iv-nurse-2026 .entry-content.page-iv-nurse ul.iv-lecturer-list.box-doctor li {
    justify-self: center;
    width: max-content;
    max-width: 100%;
  }

  article.page-iv-nurse-2026 .entry-content.page-iv-nurse ul.iv-lecturer-list.box-doctor .iv-lecturer-name {
    text-align: center;
  }
}

/* 日程表セッション見出し（指定タイトルのみ太字） */
article.page-iv-nurse-2026 .entry-content.page-iv-nurse table.tbl-ivnurse td h4.iv-tbl-session-title {
  font-weight: 700;
}

/* 対象欄：説明文の下にPDF（grid で p を全幅行に固定。PCは2列横並び・nowrap、スマホは同幅で縦並び） */
body[class*="page-template-page-iv-nurse"] .site-main.specialtraining article.page-iv-nurse-2026 .entry-content.page-iv-nurse .pdf-links {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-content: center;
  justify-items: center;
  gap: 0.75rem;
  margin-top: 20px;
  width: 100%;
}

body[class*="page-template-page-iv-nurse"] .site-main.specialtraining article.page-iv-nurse-2026 .entry-content.page-iv-nurse .pdf-links > p {
  grid-column: 1 / -1;
  width: 100%;
  max-width: 100%;
  margin: 0 0 0.25rem;
  box-sizing: border-box;
  justify-self: stretch;
}

body[class*="page-template-page-iv-nurse"] .site-main.specialtraining article.page-iv-nurse-2026 .entry-content.page-iv-nurse .pdf-links > a.pdf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  margin: 0 !important;
  box-sizing: border-box;
  width: min(100%, 28rem);
  max-width: 100%;
}

@media screen and (min-width: 768px) {
  body[class*="page-template-page-iv-nurse"] .site-main.specialtraining article.page-iv-nurse-2026 .entry-content.page-iv-nurse .pdf-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 1rem;
    row-gap: 0.75rem;
    justify-items: stretch;
  }

  body[class*="page-template-page-iv-nurse"] .site-main.specialtraining article.page-iv-nurse-2026 .entry-content.page-iv-nurse .pdf-links > a.pdf-btn {
    width: 100%;
    max-width: none;
    min-width: 0;
  }
}

/* PDFボタンが1つだけの .pdf-links は、PCの2カラムグリッドでも全カラムをまたいで中央寄せ */
body[class*="page-template-page-iv-nurse"] .site-main.specialtraining article.page-iv-nurse-2026 .entry-content.page-iv-nurse .pdf-links > a.pdf-btn:only-of-type {
  grid-column: 1 / -1 !important;
  justify-self: center !important;
  width: min(100%, 28rem);
  max-width: 100%;
  margin-inline: auto !important;
}

/* test2026: 日程表の見出し行（左：1日目…のみ #6389c6、右：日付セルは通常色） */
article.page-iv-nurse-2026 .entry-content.page-iv-nurse table.tbl-ivnurse tr:first-child th.tbl-ivnurse-daynum {
  background-color: #6389c6;
  color: #fff;
  vertical-align: middle;
  width: 6.75rem;
  text-align: center;
  white-space: nowrap;
}

article.page-iv-nurse-2026 .entry-content.page-iv-nurse table.tbl-ivnurse tr:first-child th.tbl-ivnurse-daymeta {
  background-color: #fff;
  color: inherit;
  vertical-align: middle;
  width: auto;
  text-align: left;
}

@media screen and (max-width: 767px) {
  article.page-iv-nurse-2026 .entry-content.page-iv-nurse table.tbl-ivnurse tr:first-child th.tbl-ivnurse-daynum {
    width: 32%;
    white-space: normal;
  }

  article.page-iv-nurse-2026 .entry-content.page-iv-nurse table.tbl-ivnurse tr:first-child th.tbl-ivnurse-daymeta {
    width: 68%;
  }
}

article.page-iv-nurse-2026 .entry-content.page-iv-nurse .h-title04-with-pdf {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1.25rem;
  margin: 0 0 0.5rem;
  font-size: inherit;
  font-weight: inherit;
  line-height: 1.45;
}

article.page-iv-nurse-2026 .entry-content.page-iv-nurse .h-title04-with-pdf__text {
  flex: 1 1 12rem;
  min-width: min(100%, 10rem);
}

article.page-iv-nurse-2026 .entry-content.page-iv-nurse .h-title04-with-pdf__btn.pdf-btn {
  flex: 0 0 auto;
  min-width: 0;
  max-width: min(100%, 8.5rem);
  margin: 0;
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.35;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  border-radius: 6px;
  border-width: 2px;
  box-shadow: 0 2px 8px rgba(99, 137, 198, 0.35);
}

article.page-iv-nurse-2026 .entry-content.page-iv-nurse .h-title04-with-pdf__btn.pdf-btn:hover {
  box-shadow: 0 3px 12px rgba(99, 137, 198, 0.45);
}

article.page-iv-nurse-2026 .entry-content.page-iv-nurse .h-title04-with-pdf__btn.pdf-btn .material-icons {
  font-size: 1.1rem;
}

/* 日程表（スマホ）：custom の td h4（column + align-items:center）を上書きし左寄せ。PDF付き見出しはタイトル直下にボタン */
@media screen and (max-width: 767px) {
  article.page-iv-nurse-2026 .entry-content.page-iv-nurse table.tbl-ivnurse td h4 {
    display: block;
    text-align: left;
    align-items: unset;
  }

  article.page-iv-nurse-2026 .entry-content.page-iv-nurse table.tbl-ivnurse td h4.h-title04-with-pdf {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.45rem;
    align-items: start;
    justify-items: start;
    margin: 0 0 0.35rem;
  }

  article.page-iv-nurse-2026 .entry-content.page-iv-nurse table.tbl-ivnurse td h4.h-title04-with-pdf .h-title04-with-pdf__text {
    flex: none;
    min-width: 0;
    width: 100%;
  }

  article.page-iv-nurse-2026 .entry-content.page-iv-nurse table.tbl-ivnurse td h4.h-title04-with-pdf .h-title04-with-pdf__btn.pdf-btn {
    margin-top: 0 !important;
    margin-left: 0 !important;
    max-width: 100%;
    justify-self: start;
  }
}

/*
 * 宿泊の手配: page-iv-nurse_test2026.php / page-iv-nurse_2026-launch.php の JS が .iv-nurse-stay-checkboxes でラップする想定。
 * 1行目=不要のみ全幅、2行目以降=必ず3列（幅に依らず改行）
 */
article.page-iv-nurse-2026 .entry-content.page-iv-nurse .iv-nurse-stay-checkboxes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem 1rem;
  align-items: center;
  width: 100%;
  max-width: 100%;
}

article.page-iv-nurse-2026 .entry-content.page-iv-nurse .iv-nurse-stay-checkboxes > .mwform-checkbox-field:first-child {
  grid-column: 1 / -1;
}

article.page-iv-nurse-2026 .entry-content.page-iv-nurse .iv-nurse-stay-checkboxes > .mwform-checkbox-field {
  min-width: 0;
}

@media screen and (max-width: 767px) {
  article.page-iv-nurse-2026 .entry-content.page-iv-nurse .iv-nurse-stay-checkboxes {
    grid-template-columns: 1fr;
    gap: 0.35rem 0;
  }

  article.page-iv-nurse-2026 .entry-content.page-iv-nurse .iv-nurse-stay-checkboxes > .mwform-checkbox-field:first-child {
    grid-column: 1;
  }

}

/* 申込フォーム：PCで左カラム（見出し）の幅を広げる（共通 .form_table th の 31% をこのページのみ上書き） */
@media screen and (min-width: 769px) {
  article.page-iv-nurse-2026 .entry-content.page-iv-nurse #ivform .form_table th {
    width: 38%;
  }
}

/* 申込フォーム：年数入力欄（.input_year）の幅。PCの 11% では2桁が見えないため固定幅に（PC・スマホ共通） */
article.page-iv-nurse-2026 .entry-content.page-iv-nurse #ivform .inputField__year .input_year,
article.page-iv-nurse-2026 .entry-content.page-iv-nurse #ivform .input_year {
  width: 5em;
  min-width: 5em;
  flex: 0 0 auto;
}

/* 申込フォーム：「必須」バッジが縦に割れて崩れるのを防止＋右の余白を拡大 */
article.page-iv-nurse-2026 .entry-content.page-iv-nurse #ivform .require {
  white-space: nowrap;
  flex: 0 0 auto;
  margin-right: 0.85em;
}

/* 申込フォーム：条件付き入力（資格内容など .open-area）の絶対配置を解除し、ラジオとの間隔を確保 */
article.page-iv-nurse-2026 .entry-content.page-iv-nurse #ivform .open-area {
  position: relative;
  top: auto;
  left: 0;
  margin-top: 0.85em;
}

/* 申込フォーム：ラジオ選択の直下に続く入力欄との間隔（.open-area で包まれない場合の保険） */
article.page-iv-nurse-2026 .entry-content.page-iv-nurse #ivform .form_table td .mwform-radio-field ~ input,
article.page-iv-nurse-2026 .entry-content.page-iv-nurse #ivform .form_table td .mwform-radio-field ~ textarea {
  margin-top: 0.85em;
}
