/* 手動設置ヘッダー用：briefing-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;

    }

  }

}

.head-cover:has(#recruit-header) { max-width:none !important; }

/* 小画面でも支給のロゴ説明を省略せず、メニューと重ならない幅に折り返す。 */

@media (max-width:767px) {

  #recruit-header {

    & .recruit-header { gap:12px; }

    & .recruit-logo { flex:1; min-width:0; gap:10px; }

    & .recruit-logo strong { flex-shrink:0; }

    & .recruit-logo > span { flex:1; min-width:0; max-width:150px; line-height:1.6; overflow-wrap:anywhere; }

    & .recruit-mobile-menu { flex:0 0 40px; }

  }

}

/* internship-entry：internship-entryの確定済みFVデザインを継承。Bootstrap不使用。 */
#internship-entry {

  & { --blue:#005bbd; --navy:#082b59; --hero-bg:#f2f8ff; --orange:#ff961f; color:var(--navy); font-family:"Noto Sans JP","Yu Gothic",Meiryo,sans-serif; background:#fff; text-align:left; font-size:16px; }

  & *, & ::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:0; }

  & h2 { margin:0 0 24px; padding:0; background:none; border:none; font-size:36px; font-weight:700; line-height:1.6; letter-spacing:.01em; text-align:inherit; }

  & h3 { margin:0; padding:0; background:none; border:none; font-size:20px; font-weight:700; line-height:1.5; }

  & .eyebrow { display:block; margin-bottom:8px; color:var(--blue); font-size:15px; letter-spacing:.18em; }

  & .entry-hero { position:relative; isolation:isolate; overflow:hidden; min-height:650px; background:var(--hero-bg); }

  & .hero-photo { position:absolute; inset:0 0 0 42%; z-index:-2; }

  & .hero-photo img { display:block; width:100%; height:100%; object-fit:cover; object-position:53% center; }

  & .entry-hero::before { content:""; position:absolute; inset:0; z-index:-1; background:linear-gradient(90deg,#f2f8ff 0%,#f2f8ff 36%,rgba(242,248,255,.92) 45%,transparent 66%); }

  & .entry-hero::after { content:""; position:absolute; inset:0; z-index:-1; pointer-events:none; background:linear-gradient(128deg,transparent 30%,rgba(213,234,255,.4) 30%,rgba(233,245,255,.4) 38%,transparent 38%,transparent 92%,rgba(0,91,189,.2) 92%); }

  & .hero-content { padding-block:100px 78px; }

  & :is(.intern-page-title, .intern-catchcopy) { margin:0 0 28px; padding:0; font-size:clamp(32px,3.4vw,42px); font-weight:700; line-height:1.55; letter-spacing:.025em; }

  & :is(.intern-page-title, .intern-catchcopy) > span { color:var(--blue); }

  & .hero-content > p { max-width:760px; }

  & .hero-badge { position:absolute; right:0; top:28px; padding:14px 30px; background:var(--orange); color:#fff; font-size:16px; line-height:1.5; }

  & .hero-support { display:flex; flex-wrap:wrap; gap:12px 24px; margin-top:30px; }

  & .hero-support span + span { padding-left:24px; border-left:1px solid #8ca5c0; }

  & .recruit-button { position:relative; isolation:isolate; overflow:hidden; 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:#fff; color:var(--blue); font-family:inherit; font-size:16px; font-weight:700; line-height:1.5; letter-spacing:.06em; text-decoration:none; cursor:pointer; transition:color .25s,background .25s,border-color .25s; }

  & .recruit-button svg { flex-shrink:0; width:26px; height:26px; }

  & .recruit-button::before { content:""; position:absolute; inset:0; z-index:-1; opacity:0; background:linear-gradient(110deg,#00499c,#0067d5 55%,#2188e5); transition:opacity .25s; }

  & .recruit-button::after { content:""; position:absolute; top:-40%; left:-70%; width:40%; height:180%; background:linear-gradient(90deg,transparent,rgba(255,255,255,.5),transparent); transform:skewX(-22deg); pointer-events:none; }

  & .recruit-button:hover { background:var(--blue); color:#fff; }

  & .recruit-button:hover::before { opacity:1; }

  & .recruit-button:hover::after { animation:internship-button-shine .65s ease-out; }

  & .hero-button { width:400px; max-width:100%; margin-top:26px; font-size:20px; }

  & a:focus-visible { outline:3px solid var(--orange); outline-offset:4px; }

  & [id] { scroll-margin-top:24px; }

  & .hero-summary { padding-block:32px 48px; background:#fff; }

  & .internship-benefits { position:relative; display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); margin:0 0 24px; padding:28px 0; border:1px solid #e0edfa; border-radius:12px; background:#fff; }

  & .benefit { padding:0 16px; text-align:center; }

  & .benefit + .benefit { border-left:1px solid #d6e6f5; }

  & .benefit dt { font-size:18px; font-weight:500; line-height:1.6; }

  & .benefit-mark { display:flex; justify-content:center; align-items:center; width:60px; height:60px; margin:0 auto 14px; border-radius:50%; background:#e8f5ff; color:var(--blue); font-size:20px; font-weight:400; letter-spacing:.02em; }

  & .benefit dd { margin:8px 0 0; color:var(--navy); font-size:14px; line-height:1.7; }

  & .working-note { display:grid; grid-template-columns:auto 1fr; align-items:center; gap:32px; padding:28px 32px; border:1px solid var(--orange); border-radius:8px; background:#fff5e9; color:#c15a00; }

  & .working-note h3 { color:#c15a00; font-weight:700; }

  & .working-note p { color:#536e89; padding-left:32px; border-left:1px solid #ffd5a3; }

  & #entry-form { height:1px; }

  @media (min-width:768px) and (max-width:1200px) {

    & :is(.intern-page-title, .intern-catchcopy) { font-size:clamp(30px,3.2vw,40px); }

  }

  @media (max-width:1100px) {

    & .hero-content > p { max-width:64%; }

    & .hero-support { gap:8px 14px; }

    & .hero-support span + span { padding-left:14px; }

    & .hero-content { padding-block:80px 110px; }

    & .benefit { padding-inline:10px; }

    & .benefit dt { font-size:16px; }

    & .benefit dd { font-size:13px; }

    & .working-note { grid-template-columns:170px 1fr; gap:20px; padding:22px; }

  }

  @media (max-width:767px) {

    & .wrap { max-width:calc(100% - 40px); }

    & h2 { font-size:24px; }

    & .eyebrow { font-size:12px; }

    & .entry-hero { display:flex; flex-direction:column; min-height:0; }

    & .hero-photo { position:relative; inset:auto; order:0; aspect-ratio:1.25; z-index:0; }

    & .hero-photo img { object-position:65% center; }

    & .entry-hero::before { display:none; }

    & .hero-content { order:1; padding-block:28px 36px; }

    & :is(.intern-page-title, .intern-catchcopy) { font-size:28px; line-height:1.6; letter-spacing:normal; margin-bottom: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 { padding:0; border:0; }

    & .hero-button { width:100%; font-size:17px; padding:14px 16px; }

    & .hero-summary { padding-block:24px 32px; }

    & .internship-benefits { grid-template-columns:repeat(2,minmax(0,1fr)); margin:0 0 20px; padding:0 12px; border-radius:8px; }

    & .benefit { padding:24px 4px; }

    & .benefit:nth-child(3) { border-left:0; }

    & .benefit:nth-child(n+3) { border-top:1px solid #d6e6f5; }

    & .benefit dt { font-size:15px; }

    & .benefit dd { font-size:12px; margin-top:6px; }

    & .benefit-mark { width:48px; height:48px; font-size:17px; margin-bottom:10px; }

    & .working-note { grid-template-columns:1fr; gap:12px; padding:24px; }
    & .working-note p { padding-left:0; border-left:0; }

    & .working-note h3 { font-size:20px; }

  }

  @media (prefers-reduced-motion:reduce) {

    & .recruit-button, & .recruit-button::before { transition:none; }

    & .recruit-button:hover::after { animation:none; }

  }

}

#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(#internship-entry) {

  & .container { padding:0; }

  & #breadcrumb ol {
    width: 1296px;
    max-width: calc(100% - 48px);
    margin-inline: auto;
  }

  & p.lp-copy { margin-bottom:0; margin-top:48px; text-align:center; }

  @media (min-width:1040px) { & #primary { padding-top:0; } }

}

@keyframes internship-button-shine { from { left:-70%; } to { left:135%; } }

/* テーマ既定のh4左線を解除。 */
#internship-entry { & h4 { border:0; } }


/* 残り4ブロック：既存ページの見出し・カード・フローを継承。 */
#internship-entry {
 & .intern-section { padding-block:80px; }
 & .intern-heading { margin-bottom:44px; text-align:left; }
 & .intern-heading h2 { margin-bottom:24px; }
 & .point-label { display:block; margin-bottom:14px; color:var(--blue); font-size:14px; line-height:1.5; }
 & .choose-program { background:linear-gradient(135deg,#fff 28%,#eff7ff 28%,#fff 50%,#edf6ff 83%,#fff 83%); }
 & .course-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:20px; }
 & .course-card { position:relative; min-width:0; padding:32px 24px; border:1px solid #d6e7fc; border-radius:8px; background:#fff; }
 & .course-card.recommended { border:2px solid var(--blue); padding:31px 23px; }
 & .recommend-label { position:absolute; top:-14px; right:16px; border-radius:20px; padding:6px 14px; background:var(--blue); color:#fff; font-size:12px; line-height:1.5; }
 & .course-card h3 { margin-bottom:20px; }
 & .course-card ul { padding-left:20px; margin:20px 0 0; font-size:16px; line-height:1.9; }
 & .course-note { margin-top:24px; padding:20px 28px; border:1px solid #b7dafb; border-radius:8px; background:#edf7ff; color:var(--blue); }
 & .full-support { position:relative; isolation:isolate; overflow:hidden; background:linear-gradient(105deg,#052e67,#0058b7); color:#fff; }
 & .full-support::before { content:""; position:absolute; inset:0; z-index:-1; background:repeating-linear-gradient(130deg,transparent 0,transparent 290px,rgba(33,135,235,.12) 290px,rgba(33,135,235,.12) 580px); }
 & .full-support .eyebrow { color:#a6d9ff; }
 & .support-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; }
 & .support-card { min-width:0; padding:32px; border-radius:8px; background:#fff; color:var(--navy); }
 & .support-label { display:inline-block; margin-bottom:20px; padding:5px 14px; border-radius:20px; background:var(--orange); color:#fff; font-size:14px; line-height:1.5; }
 & .support-card h3 { margin-bottom:18px; }
 & .application-flow { background:linear-gradient(150deg,#fff,#f4faff); }
 & .flow-list { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:24px; margin:0; padding:0; list-style:none; }
 & .flow-list li { position:relative; min-width:0; padding:28px 20px; border:1px solid #d6e7fc; border-radius:8px; background:#fff; }
 & .flow-list li:not(:last-child)::after { content:""; position:absolute; top:50%; right:-16px; width:8px; height:8px; border-right:2px solid #6abbf5; border-top:2px solid #6abbf5; transform:translateY(-50%) rotate(45deg); }
 & .flow-list h3 { margin-bottom:12px; }
 & .student-voice { background:#fff; }
 & .voice-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:28px; }
 & .voice-card { display:grid; grid-template-columns:36% minmax(0,1fr); overflow:hidden; border-radius:8px; background:#f2f8ff; }
 & .voice-card img { display:block; width:100%; height:100%; min-height:300px; object-fit:cover; }
 & .voice-body { padding:28px; }
 & .voice-body h3 { margin-bottom:18px; }
 @media(max-width:1100px) {
  & .course-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:28px 24px; }
  & .flow-list { grid-template-columns:1fr; }
  & .flow-list li:not(:last-child)::after { top:auto; right:auto; left:50%; bottom:-18px; transform:translateX(-50%) rotate(135deg); }
  & .support-card { padding:24px; }
  & .voice-grid { grid-template-columns:1fr; }
 }
 @media(max-width:767px) {
  & .intern-section { padding-block:44px; }
  & .intern-heading { margin-bottom:28px; }
  & .intern-heading h2 { margin-bottom:16px; }
  & .course-grid,& .support-grid { grid-template-columns:1fr; }
  & .course-card { padding:28px 24px; }
  & .course-card.recommended { padding:27px 23px; }
  & .point-label { font-size:12px; margin-bottom:10px; }
  & .course-note { padding:20px; }
  & .flow-list { gap:26px; }
  & .flow-list li { padding:24px; }
  & .voice-card { grid-template-columns:1fr; }
  & .voice-card img { height:230px; min-height:0; object-position:center 35%; }
  & .voice-body { padding:24px; }
 }
}

/* ↓↓ フォーム部分のスタイル ↓↓ */

.plamo-intern {
  --pi-blue: #148be3;
  --pi-navy: #104779;
  --pi-text: #496b91;
  box-sizing: border-box;
  background: #f3f9fe;
  padding: 76px 28px 68px;
  color: var(--pi-text);
  font-family: "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.8;
}
.plamo-intern * {
  box-sizing: border-box;
}

/* 主な文字サイズは親要素から継承 
#contents .plamo-intern p,
#contents .plamo-intern ul,
#contents .plamo-intern li,
#contents .plamo-intern label,
#contents .plamo-intern legend,
#contents .plamo-intern input,
#contents .plamo-intern select,
#contents .plamo-intern textarea,
#contents .plamo-intern button,
#contents .plamo-intern .wpcf7-not-valid-tip {
  font-size: inherit;
}
  */

/* 基本の文字サイズ：PC 14px／スマホ 16px */
#contents .plamo-intern {
  font-size: 14px;
}
#contents .plamo-intern * {
  font-size: inherit;
}
@media (max-width: 760px) {
  #contents .plamo-intern {
    font-size: 16px;
  }
}

/* 個別に大きさを変える要素 */
#contents .plamo-intern .pi-required,
#contents .plamo-intern .pi-optional {
  font-size: 12px;
}

/* 見出し */
#contents .plamo-intern .pi-heading,
.plamo-intern .pi-heading {
  text-align: center;
  margin: 0 auto 38px;
}
#contents .plamo-intern .pi-heading > p,
.plamo-intern .pi-heading > p {
  margin: 0 0 10px;
}
#contents .plamo-intern .pi-eyebrow,
.plamo-intern .pi-eyebrow {
  color: var(--pi-blue);
  font-size: 12px;
  letter-spacing: .18em;
}
#contents .plamo-intern h2,
.plamo-intern h2 {
  background: none;
  border: 0;
  padding: 0;
  margin: 0 0 12px;
  color: #234c7d;
  font-size: 26px;
  font-weight: 500;
  line-height: 1.5;
}

/* 案内とフォームの配置 */
.plamo-intern .pi-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.35fr) minmax(0, 1fr);
  gap: 32px;
  width: 100%;
  max-width: 1280px;
  margin: auto;
  align-items: start;
}
.plamo-intern .pi-guide {
  min-width: 0;
  background: var(--pi-navy);
  color: #c9e4f8;
  border-radius: 8px;
  padding: 26px;
}
#contents .plamo-intern h3,
.plamo-intern h3 {
  margin: 0 0 16px;
  padding: 0;
  background: none;
  border: 0;
  color: inherit;
  font-size: 18px;
  font-weight: 500;
}
#contents .plamo-intern .pi-guide ul,
.plamo-intern .pi-guide ul {
  margin: 0 0 26px;
  padding: 0 0 0 18px;
  list-style: disc;
}
.plamo-intern .pi-guide li {
  margin: 0;
  padding: 0;
}
.plamo-intern .pi-guide li::before {
  content: none !important;
}
#contents .plamo-intern .pi-guide-note,
.plamo-intern .pi-guide-note {
  background: #e8f6ff;
  color: #4a8bb5;
  margin: 0;
  padding: 15px;
  border-radius: 5px;
}
.plamo-intern .pi-card {
  min-width: 0;
  background: #fff;
  border-radius: 8px;
  padding: 32px 36px 36px;
}

/* 入力・確認・完了の表示 */
.plamo-intern .pi-steps {
  display: flex;
  overflow: hidden;
  border-radius: 30px;
  background: #e7eef5;
  margin: 0 20px 32px;
  color: #91a7ba;
  text-align: center;
}
.plamo-intern .pi-steps span {
  flex: 1;
  padding: 5px 0;
}
.plamo-intern .pi-steps .is-current {
  background: var(--pi-blue);
  color: #fff;
}

/* 入力項目 */
.plamo-intern .pi-fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 22px 14px;
}
.plamo-intern .pi-field {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.plamo-intern .pi-wide {
  grid-column: 1 / -1;
}
#contents .plamo-intern .pi-field > label,
#contents .plamo-intern legend,
.plamo-intern .pi-field > label,
.plamo-intern legend {
  display: block;
  margin: 0 0 7px;
  padding: 0;
  font-weight: 600;
  color: var(--pi-text);
  line-height: 1.6;
}

/* 自動改行が残っていた場合の保険 */
#contents .plamo-intern .pi-field br {
  display: none;
}
#contents .plamo-intern .pi-field > p {
  margin: 0;
}

.plamo-intern .pi-required,
.plamo-intern .pi-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;
}
.plamo-intern .pi-optional {
  background: #8c9eaf;
}
#contents .plamo-intern input[type="text"],
#contents .plamo-intern input[type="email"],
#contents .plamo-intern select,
#contents .plamo-intern textarea,
.plamo-intern input[type="text"],
.plamo-intern input[type="email"],
.plamo-intern select,
.plamo-intern 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(--pi-text);
  font: inherit;
  line-height: 1.6;
}
#contents .plamo-intern textarea,
.plamo-intern textarea {
  resize: vertical;
  min-height: 92px;
}
.plamo-intern input::placeholder,
.plamo-intern textarea::placeholder {
  color: #9dacbd;
  opacity: 1;
}
.plamo-intern input:focus-visible,
.plamo-intern select:focus-visible,
.plamo-intern textarea:focus-visible,
.plamo-intern button:focus-visible {
  outline: 2px solid var(--pi-blue);
  outline-offset: 3px;
}

/* ラジオボタン */
.plamo-intern .wpcf7-radio {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.plamo-intern .wpcf7-list-item {
  display: inline-block;
  margin: 0;
}
.plamo-intern .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-intern input[type="radio"],
.plamo-intern input[type="radio"] {
  width: 14px;
  height: 14px;
  margin: 0;
  accent-color: var(--pi-blue);
  flex-shrink: 0;
}
.plamo-intern .wpcf7-list-item label:has(input:checked) {
  border-color: var(--pi-blue);
  background: #edf8ff;
  color: var(--pi-blue);
}
.plamo-intern .wpcf7-list-item label:focus-within {
  outline: 2px solid var(--pi-blue);
  outline-offset: 2px;
}

/* 希望時期 */
.plamo-intern .pi-date-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 14px;
}
#contents .plamo-intern .pi-date-undecided,
.plamo-intern .pi-date-undecided {
  display: inline-block;
  margin: 10px 0 0;
  padding: 8px 12px;
  border: 1px solid #cbdcee;
  border-radius: 4px;
  background: #fff;
  color: var(--pi-text);
  font: inherit;
  cursor: pointer;
}
.plamo-intern .pi-date-undecided:hover {
  border-color: var(--pi-blue);
  background: #edf8ff;
}

/* 補足・個人情報 */
#contents .plamo-intern .pi-help,
.plamo-intern .pi-help {
  margin: 6px 0 0;
  color: #8198b0;
  line-height: 1.8;
}
.plamo-intern .pi-center {
  text-align: center;
}
#contents .plamo-intern .pi-privacy,
.plamo-intern .pi-privacy {
  margin: 18px 0 0;
}
.plamo-intern .pi-privacy a {
  color: #347eb5;
  text-decoration: underline;
}

/* 確認・送信・戻るボタン */
.plamo-intern .pi-actions {
  margin-top: 24px;
}
#contents .plamo-intern .pi-actions input,
.plamo-intern .pi-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-intern .pi-actions input:hover {
  background: #ed8410;
}
#contents .plamo-intern .pi-actions .wpcf7c-btn-back,
.plamo-intern .pi-actions .wpcf7c-btn-back {
  background: #edf5fb;
  color: var(--pi-text);
  border: 1px solid #cbdcee;
}

/* 確認画面プラグイン・読み上げ用ラベル */
.plamo-intern .wpcf7c-force-hide {
  display: none !important;
}
.plamo-intern .wpcf7-not-valid-tip {
  margin-top: 4px;
}
.plamo-intern .pi-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* カレンダー */
.flatpickr-calendar {
  font-family: "Yu Gothic", Meiryo, sans-serif;
}

/* 幅が狭い画面では縦積み */
@media (max-width: 760px) {
  .plamo-intern {
    padding: 48px 18px;
  }
  .plamo-intern .pi-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }
  .plamo-intern .pi-guide {
    padding: 24px;
  }
  .plamo-intern .pi-card {
    padding: 26px 20px;
  }
  .plamo-intern .pi-steps {
    margin: 0 0 26px;
  }
  #contents .plamo-intern h2,
  .plamo-intern h2 {
    font-size: 22px;
  }
}

/* SPではフォームを先に、開催概要を後に表示 */
@media (max-width: 760px) {
  .plamo-intern .pi-card {
    grid-column: 1;
    grid-row: 1;
  }
  .plamo-intern .pi-guide {
    grid-column: 1;
    grid-row: 2;
  }
}

@media (max-width: 460px) {
  .plamo-intern .pi-fields,
  .plamo-intern .pi-date-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .plamo-intern .pi-wide {
    grid-column: auto;
  }
  .plamo-intern .pi-card {
    padding: 24px 16px;
  }
}
/* 希望時期：日付欄と日程未定ボタンを近づける */
#contents .plamo-intern .pi-date-grid p {
  margin: 0;
}

#contents .plamo-intern .pi-date-grid + .wpcf7c-elm-step1 {
  margin-top: 8px;
}

#contents .plamo-intern .pi-date-grid + .wpcf7c-elm-step1 > p {
  margin: 0;
}

#contents .plamo-intern .pi-date-undecided {
  margin-top: 0;
}

#contents .plamo-intern .pi-date-grid + .wpcf7c-elm-step1 > .pi-help {
  margin-top: 8px;
}

/* フォーム見出し：会社説明会フォームに合わせる */
#contents .plamo-intern .pi-heading { margin: 0 auto 38px; }
#contents .plamo-intern .pi-heading > .pi-eyebrow { margin: 0 0 8px; color: #005bbd; font-size: 15px; letter-spacing: .18em; }

#contents .plamo-intern .pi-heading h2 { margin: 12px 0 14px; color: #082b59; font-size: 36px; font-weight: 700; }
#contents .plamo-intern .pi-heading > p { color: #536e89; }

@media (max-width: 767px) {
  #contents .plamo-intern .pi-heading { margin-bottom: 28px; }
  #contents .plamo-intern .pi-heading > .pi-eyebrow { font-size: 12px; }

  #contents .plamo-intern .pi-heading h2 { font-size: 22px; }
  #contents .plamo-intern .pi-heading > p { font-size: 16px; }
}

/* 任意の1択（チェックボックス）をラジオボタンと同じ見た目に */
#contents .plamo-intern .wpcf7-checkbox { display: flex; flex-wrap: wrap; gap: 8px; }
#contents .plamo-intern .wpcf7-exclusive-checkbox input[type="checkbox"] {
  appearance: none; -webkit-appearance: none;
  width: 14px; height: 14px; margin: 0; flex-shrink: 0;
  border: 1px solid #767676; border-radius: 50%; background: #fff; cursor: pointer;
}
#contents .plamo-intern .wpcf7-exclusive-checkbox input[type="checkbox"]:checked {
  border-color: var(--pi-blue);
  background: radial-gradient(circle, var(--pi-blue) 0 3px, #fff 3.5px);
}
/* FV：ページ名とものづくり体験ラベル */
#internship-entry .entry-hero .intern-page-title {
  margin: 0 0 15px;
  line-height: 0.8;
}
#internship-entry .intern-page-title > span {
  font-size: 0.6em;
}
#internship-entry .entry-hero .intern-catchcopy {
  display: block;
  line-height: 1.2;
}
#internship-entry .entry-hero .intern-visit-label {
  display: flex;
  align-items: center;
  width: fit-content;
  gap: 8px;
  margin: 0 0 10px;
  padding: 3px 15px;
  border-radius: 999px;
  background: var(--blue, #005bbd);
  color: #fff;
  font-size: clamp(14px, 1.2vw, 18px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.06em;
}
#internship-entry .intern-visit-label svg {
  display: block;
  width: 1.4em;
  height: 1.4em;
  flex: none;
}

/* 学生インタビュー記事：画像全体を外部リンクにする */
#internship-entry .student-interview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}
#internship-entry .student-interview-link {
  display: block;
  align-self: start;
  border-radius: 8px;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(8, 43, 89, 0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
#internship-entry .student-interview-link img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: inherit;
}
@media (hover: hover) and (pointer: fine) {
  #internship-entry .student-interview-link:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 30px rgba(8, 43, 89, 0.18);
  }
}
#internship-entry .student-interview-link:focus-visible {
  outline: 3px solid #005bbd;
  outline-offset: 5px;
  transform: translateY(-4px);
}
@media (max-width: 767px) {
  #internship-entry .student-interview-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  #internship-entry .student-interview-link {
    transition: none;
  }
  #internship-entry .student-interview-link:hover,
  #internship-entry .student-interview-link:focus-visible {
    transform: none;
  }
}

/* インターンシップ：パンくずをメインと同じ幅に揃える */
@media (max-width: 767px) {
  body:has(#internship-entry) #breadcrumb ol {
    max-width: calc(100% - 12px);
    padding: 1rem !important;
  }
}

@media (max-width: 729px) {
  body:has(#internship-entry) #breadcrumb li:last-child {
    display: list-item;
  }
}

/* 送信完了時：メッセージ欄と入力欄を隠し、完了表示のみ見せる（他フォームと統一） */
#contents .plamo-intern.is-complete .wpcf7-response-output,
#contents .plamo-intern.is-complete .pi-fields,
#contents .plamo-intern.is-complete .pi-privacy,
#contents .plamo-intern.is-complete .pi-actions { display: none; }

#contents .plamo-intern .pi-complete { padding: 36px 20px; border-radius: 6px; background: #f3f9fe; text-align: center; }
#contents .plamo-intern .pi-complete h3 { margin: 0 0 12px; color: #234c7d; font-size: 20px; }
#contents .plamo-intern .pi-complete p { margin: 0; }