/* 手動設置ヘッダー用：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; }

  }

}

/* factory-tour-entry：factory-tour-entryの確定済みFVデザインを継承。Bootstrap不使用。 */
#factory-tour-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 42%,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(.tour-page-title, .tour-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(.tour-page-title, .tour-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:factory-tour-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; }

  & .tour-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(.tour-page-title, .tour-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(.tour-page-title, .tour-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; }

    & .tour-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(#factory-tour-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 factory-tour-button-shine { from { left:-70%; } to { left:135%; } }

/* テーマ既定のh4左線を解除。 */
#factory-tour-entry { & h4 { border:0; } }

/* 02：briefing-entryの見出し・写真カード・PC/SP寸法を継承。 */
#factory-tour-entry {
  & .tour-section { padding-block:80px; }
  & .tour-section-heading { margin-bottom:44px; text-align:left; }
  & .tour-section-heading h2 { margin-bottom:24px; }
  & .tour-section-heading > p { color:var(--navy); }
  & .tour-see { background:linear-gradient(135deg,#fff 28%,#eff7ff 28%,#fff 50%,#edf6ff 83%,#fff 83%); }
  & .learn-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; }
  & .learn-card { overflow:hidden; border:1px solid #d6e7fc; border-radius:8px; background:#fff; }
  & .learn-card > img { display:block; width:100%; height:auto; aspect-ratio:2/1; object-fit:cover; object-position:center; }
  & .learn-card-body { padding:26px; }
  & .point-label { display:block; margin-bottom:14px; color:var(--blue); font-size:14px; line-height:1.5; }
  & .learn-card h3 { margin-bottom:16px; }
  & .learn-card p { color:var(--navy); }
  @media (max-width:1100px) {
    & .learn-grid { gap:20px; }
    & .learn-card-body { padding:22px; }
  }
  @media (max-width:767px) {
    & .tour-section { padding-block:44px; }
    & .tour-section-heading { margin-bottom:28px; }
    & .tour-section-heading h2 { margin-bottom:16px; }
    & .learn-grid { grid-template-columns:1fr; }
    & .learn-grid { gap:24px; }
    & .learn-card-body { padding:24px; }
    & .point-label { margin-bottom:10px; font-size:12px; }
  }
}

/* 03：briefing-entryのプログラム枠・青丸の所要時間・PC/SP寸法を継承。 */
#factory-tour-entry {
  & .program-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:28px; }
  & .program-agenda, & .program-audience { min-width:0; padding:32px; border:1px solid #d6e7fc; border-radius:8px; }
  & .program-grid h3 { margin-bottom:24px; font-size:20px; }
  & .agenda-list { margin:0; padding:0; list-style:none; }
  & .agenda-list li { display:grid; grid-template-columns:72px minmax(0,1fr); gap:20px; padding:24px 0; border-top:1px solid #d6e6f5; }
  & .agenda-duration { display:flex; align-items:center; justify-content:center; width:60px; height:60px; border-radius:50%; background:var(--blue); color:#fff; font-size:18px; font-weight:700; line-height:1; white-space:nowrap; }
  & .agenda-list h4 { border:0; margin:0 0 10px; font-size:18px; font-weight:700; line-height:1.7; }
  & .agenda-list p { color:var(--navy); }
  & .program-audience { border-color:#0c385f; background:#0c385f; color:#fff; }
  & .program-audience > ul { margin:0 0 26px; padding-left:22px; font-size:16px; line-height:1.9; }
  & .program-audience .audience-note { padding:18px 20px; border-radius:8px; background:#edf7ff; color:var(--blue); }
  @media (max-width:1100px) {
    & .program-agenda, & .program-audience { padding:28px; }
  }
  @media (max-width:767px) {
    & .program-grid { grid-template-columns:1fr; }
    & .program-grid { gap:20px; }
    & .program-agenda, & .program-audience { padding:24px; }
    & .program-grid h3 { font-size:20px; margin-bottom:22px; }
    & .agenda-list li { grid-template-columns:48px minmax(0,1fr); gap:14px; padding:20px 0; }
    & .agenda-duration, & .agenda-list h4 { font-size:16px; }
    & .agenda-duration { width:48px; height:48px; }
    & .program-audience .audience-note { padding:16px; }
  }
  & .tour-program { position:relative; isolation:isolate; overflow:hidden; background:linear-gradient(105deg,#052e67,#0058b7); color:#fff; }
  & .tour-program::before { content:""; position:absolute; inset:0; z-index:-1; pointer-events:none; background:repeating-linear-gradient(130deg,transparent 0,transparent 290px,rgba(33,135,235,.16) 290px,rgba(33,135,235,.16) 292px,rgba(33,135,235,.098) 292px,rgba(33,135,235,.098) 580px); }
  & .tour-program .eyebrow { color:#a6d9ff; }
  & .tour-program .tour-section-heading > p { color:#fff; }
  & .program-grid { grid-template-columns:minmax(0,1.35fr) minmax(0,1fr); }
  & .program-agenda { background:#fff; color:var(--navy); }
  @media (max-width:767px) { & .program-grid { grid-template-columns:1fr; } }
}

/* 04–05：支給画像原文。既存briefing-entryの流れカードを継承。 */
#factory-tour-entry {
  & .flow-list { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:24px; margin:0; padding:0; list-style:none; }
  & .flow-list li { position:relative; min-width:0; padding:28px 24px; 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; font-size:20px; }
  & .flow-list p { color:var(--navy); }
  @media (max-width:1100px) {
    & .flow-list { grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; }
    & .flow-list li:nth-child(2)::after { display:none; }
  }
  @media (max-width:767px) {
    & .flow-list { grid-template-columns:1fr; }
    & .flow-list { gap:26px; }
    & .flow-list li { padding:24px; }
    & .flow-list li:not(:last-child)::after, & .flow-list li:nth-child(2)::after { display:block; top:auto; right:auto; left:50%; bottom:-18px; transform:translateX(-50%) rotate(135deg); }
  }
  & .tour-safety { background:#fff; }
  & .tour-flow { background:linear-gradient(150deg,#fff,#f4faff); }
  & .safety-list { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:20px; margin:0; padding:0; list-style:none; }
  & .safety-list li { min-width:0; padding:28px 24px; border:1px solid #d6e7fc; border-radius:8px; background:#fff; }
  & .safety-mark { display:flex; align-items:center; justify-content:center; width:48px; height:48px; margin-bottom:18px; border-radius:50%; background:#e8f5ff; color:var(--blue); font-size:20px; line-height:1; }
  & .safety-list h3 { margin-bottom:12px; }
  & .safety-list p { color:var(--navy); }
  @media (max-width:1100px) { & .safety-list { grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; } }
  @media (max-width:767px) { & .safety-list { grid-template-columns:1fr; } & .safety-list li { padding:24px; } }
}

/* 安全案内：具体的な線画アイコンと2列の一体パネル。 */
#factory-tour-entry {
 & .safety-list { grid-template-columns:repeat(2,minmax(0,1fr)); gap:0; padding:12px 40px; border:1px solid #d6e7fc; border-radius:12px; background:#f2f8ff; }
 & .safety-list li { display:grid; grid-template-columns:88px minmax(0,1fr); align-items:center; gap:24px; padding:36px 32px; border:0; border-radius:0; background:transparent; }
 & .safety-list li:nth-child(odd) { padding-left:0; border-right:1px solid #d6e7fc; }
 & .safety-list li:nth-child(even) { padding-right:0; }
 & .safety-list li:nth-child(n+3) { border-top:1px solid #d6e7fc; }
 & .safety-mark { width:88px; height:88px; margin:0; border-radius:50%; background:#fff; color:var(--blue); }
 & .safety-mark svg { width:60px; height:60px; }
 & .safety-copy { min-width:0; }
 & .safety-list h3 { margin-bottom:10px; }
 @media (max-width:1100px) {
  & .safety-list { padding:8px 24px; }
  & .safety-list li { grid-template-columns:64px minmax(0,1fr); gap:16px; padding:28px 20px; }
  & .safety-mark { width:64px; height:64px; }
  & .safety-mark svg { width:48px; height:48px; }
 }
 @media (max-width:767px) {
  & .safety-list { grid-template-columns:1fr; padding:0 20px; }
  & .safety-list li, & .safety-list li:nth-child(odd), & .safety-list li:nth-child(even) { padding:28px 0; border-right:0; }
  & .safety-list li + li { border-top:1px solid #d6e7fc; }
 }
}


/* 工場見学フォーム：採用エントリーのpr-*構造に合わせる */
#factory-tour-entry {
  & #entry-form { height:auto; scroll-margin-top:24px; }
  & .tour-form { padding:80px 0; background:#fff; }
  & .tour-form .pr-heading { margin:0 auto 38px; text-align:center; }
  & .tour-form .pr-eyebrow { margin:0 0 8px; color:var(--blue); font-size:15px; letter-spacing:.18em; }
  & .tour-form .pr-heading h2 { margin:12px 0 14px; color:var(--navy); font-size:36px; font-weight:700; }
  & .tour-form .pr-heading > p { margin:0 0 10px; color:#536e89; }
  & .pr-layout { display:grid; grid-template-columns:280px minmax(0,1fr); gap:32px; align-items:start; width:1296px; max-width:calc(100% - 48px); margin:0 auto; }
  & .pr-guide { min-width:0; padding:26px; border-radius:8px; background:#0c385f; color:#c9e4f8; }
  & .pr-guide h3 { margin:0 0 16px; color:inherit; font-size:18px; font-weight:500; }
  & .pr-guide h3:not(:first-child) { margin-top:24px; }
  & .pr-guide ul { margin:0 0 26px; padding-left:18px; list-style:disc; font-size:14px; line-height:1.9; }
  & .pr-guide-note { margin:0; padding:15px; border-radius:5px; background:#e8f6ff; color:#4a8bb5; font-size:12px; }
  & .pr-card { min-width:0; padding:32px 36px 36px; border-radius:8px; background:#fff; }
  & .pr-steps { display:flex; margin:0 20px 32px; overflow:hidden; border-radius:30px; background:#e7eef5; color:#91a7ba; text-align:center; font-size:14px; }
  & .pr-steps span { flex:1; padding:5px 0; }
  & .pr-steps .is-current { background:#1686d9; color:#fff; }
  & .pr-fields { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:22px 14px; }
  & .pr-field { min-width:0; margin:0; padding:0; border:0; }
  & .pr-field label, & .pr-field legend { display:block; margin:0 0 7px; padding:0; color:var(--navy); font-size:14px; font-weight:600; line-height:1.6; }
  & .pr-required, & .pr-optional { display:inline-block; margin-left:4px; padding:0 4px; border-radius:2px; color:#fff; background:#ec6973; font-size:12px; font-weight:500; line-height:1.6; vertical-align:middle; }
  & .pr-required { background:#ec6973; }
  & .pr-optional { background:#8b9bac; }
  & .pr-field input[type=text], & .pr-field input:is([type=email],[type=tel]), & .pr-field input[type=date], & .pr-field select, & .pr-field textarea { display:block; width:100%; height:46px; min-height:46px; padding:10px 12px; border:1px solid #bfd2e6; border-radius:4px; background:#fbfdff; color:var(--navy); font:inherit; }
  & .pr-field input::placeholder, & .pr-field textarea::placeholder { color:#91a5bc; }
  & .pr-wide { grid-column:1/-1; }
  & .pr-date-row { display:grid; grid-template-columns:88px minmax(0,1fr) 138px; gap:10px; align-items:center; margin:0 0 10px; }
  & .pr-date-row label { margin:0; }
  & .pr-field .wpcf7-list-item { margin:0 8px 8px 0; }
  & .pr-field .wpcf7-list-item label { display:inline-flex; min-height:44px; align-items:center; gap:7px; margin:0; padding:8px 12px; border:1px solid #bfd2e6; border-radius:4px; background:#fff; font-weight:400; cursor:pointer; }
  & .pr-field input[type=radio], & .pr-field input[type=checkbox] { margin:0; accent-color:#1686d9; }
  & .pr-help { display:block; margin:7px 0 0; color:#7188a2; font-size:11px; }
  & .pr-privacy { margin:22px 0 0; color:#7188a2; font-size:12px; }
  & .pr-privacy a { color:var(--blue); }
  & .pr-actions { display:grid; gap:10px; margin-top:24px; }
  & .pr-actions input[type=submit], & .pr-actions input[type=button], & .pr-actions button { width:100%; min-height:60px; border:0; border-radius:7px; background:var(--orange); color:#fff; font:inherit; font-weight:600; cursor:pointer; }
  & .pr-actions input[type=button][class*=back], & .pr-actions button[class*=back] { background:#8b9bac; }
  & .pr-complete { padding:28px; border-radius:10px; background:#f2f8ff; text-align:center; }
  & .pr-complete h3 { margin:0 0 8px; font-size:22px; }
  & .pr-complete p { margin:0; }
  & .pr-center { text-align:center; }
  & .tour-form .wpcf7-not-valid-tip { color:#d83d48; font-size:12px; }
  & .tour-form .wpcf7-response-output { margin:18px 0 0; }
  & .pr-field>p, & .pr-date-row>p { margin:0 0 8px; }
  & .pr-date-row>p { display:contents; }
  @media (max-width:1100px) {
    & .pr-layout { grid-template-columns:280px minmax(0,1fr); gap:20px; }
    & .pr-guide { padding:24px 20px; }
  }
  @media (max-width:767px) {
    & .tour-form { padding-block:48px; }
    & .tour-form .pr-heading { margin-bottom:28px; }
    & .tour-form .pr-heading h2 { font-size:22px; }
    & .pr-layout { grid-template-columns:1fr; max-width:calc(100% - 40px); gap:22px; }
    & .pr-card { grid-column:1; grid-row:1; padding:26px 20px; }
    & .pr-guide { grid-column:1; grid-row:2; order:2; padding:24px; }
    & .pr-fields { grid-template-columns:1fr; gap:16px; }
    & .pr-wide { grid-column:auto; }
    & .pr-date-row { grid-template-columns:minmax(0,1fr) 128px; gap:8px; }
    & .pr-date-row label { grid-column:1/-1; margin-bottom:-5px; }
    & .pr-field .wpcf7-list-item label { min-height:42px; padding:7px 10px; font-size:13px; }
  }
}




/* recruit-entryと部品仕様を統一。briefing固有のセクション背景は維持 */
#factory-tour-entry {
  & .tour-form {
    color:#496b91;
    font-family:"Noto Sans JP","Yu Gothic",Meiryo,sans-serif;
    font-size:14px;
    line-height:1.8;
  }
  & .pr-guide { background:#104779; }
  & .pr-card { padding:32px 36px 36px; }
  & .pr-steps { font-size:14px; }
  & .pr-fields { gap:22px 14px; }
  & .pr-field label, & .pr-field legend { margin-bottom:7px; color:#496b91; font-size:14px; font-weight:600; line-height:1.6; }
  & .pr-required, & .pr-optional { margin-left:4px; padding:0 4px; border-radius:2px; background:#ec6973; font-size:12px; line-height:1.6; vertical-align:middle; }
  & .pr-optional { background:#8b9bac; }
  & .pr-field input[type=text], & .pr-field input:is([type=email],[type=tel]), & .pr-field input[type=date], & .pr-field select, & .pr-field textarea { height:46px; min-height:46px; padding:10px 12px; border-radius:4px; color:#496b91; font-size:14px; line-height:1.6; }
  & .pr-field textarea { height:auto; min-height:92px; }
  & .pr-field .wpcf7-radio { display:flex; flex-wrap:wrap; gap:8px; }
  & .pr-field .wpcf7-list-item { margin:0; }
  & .pr-field .wpcf7-list-item label { min-height:44px; padding:8px 12px; border-radius:4px; color:#496b91; font-size:14px; line-height:1.5; }
  & .pr-field .wpcf7-list-item label:has(input:checked) { border-color:#148be3; background:#edf8ff; color:#148be3; }
  & .pr-field .wpcf7-list-item label:focus-within { outline:2px solid #148be3; outline-offset:2px; }
  & .pr-help { margin:6px 0 0; color:#8198b0; font-size:12px; line-height:1.8; }
  & .pr-privacy { margin:18px 0 0; font-size:12px; }
  & .pr-actions { margin-top:24px; }
  & .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;
  }
  & .pr-actions input:hover { background:#ed8410; }
  & .pr-actions .wpcf7c-btn-back { border:1px solid #cbdcee; background:#edf5fb; color:#496b91; }
  & .pr-actions .wpcf7c-btn-back:hover { background:#e4eff8; }
  & .pr-complete { padding:36px 20px; border-radius:6px; background:#f3f9fe; }
  & .pr-complete h3 { margin:0 0 12px; color:#234c7d; font-size:20px; }
  @media (max-width:767px) {
    & .tour-form { font-size:16px; }
    & .pr-card { padding:26px 20px; }
    & .pr-steps { margin:0 0 26px; }
    & .pr-field label, & .pr-field legend { font-size:16px; }
    & .pr-field input[type=text], & .pr-field input:is([type=email],[type=tel]), & .pr-field input[type=date], & .pr-field select, & .pr-field textarea { font-size:16px; }
    & .pr-field .wpcf7-list-item label { font-size:15px; }
    & .pr-help, & .pr-privacy { font-size:13px; }
  }
  @media (max-width:460px) {
    & .pr-card { padding:24px 16px; }
    & .pr-steps { margin-inline:0; }
  }
}
#factory-tour-entry {
  & .pr-actions input[type=submit],
  & .pr-actions input[type=button] {
    display:block;
    width:auto;
    max-width:100%;
    height:auto;
    min-height:0;
    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;
  }
  & .pr-actions input[type=submit]:hover,
  & .pr-actions input[type=button]:hover { background:#ed8410; }
  & .pr-actions input.wpcf7c-btn-back { border:1px solid #cbdcee; background:#edf5fb; color:#496b91; }
  & .pr-actions input.wpcf7c-btn-back:hover { background:#e4eff8; }
}
#factory-tour-entry {
  & .pr-guide { background:#104779; color:#c9e4f8; }
  & .tour-form .pr-guide-note { background:#e8f6ff; color:#4a8bb5; }
  & .tour-form { font-size:14px; line-height:1.8; }
  & .pr-heading > p { font-size:14px; }
  & .pr-date-pair { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
  & .pr-date-pair > p { display:contents; margin:0; }
  & .pr-field input[type=text], & .pr-field input:is([type=email],[type=tel]) { height:42px; min-height:42px; padding:10px 12px; border:1px solid #bfd2e6; border-radius:4px; background:#fbfdff; color:#496b91; font:inherit; line-height:1.6; }
  & .pr-fields .pr-field input::placeholder { color:#91a5bc; opacity:1; }
  & .pr-field .wpcf7-radio { display:flex; flex-wrap:wrap; gap:8px; }
  & .pr-field .wpcf7-list-item { margin:0; }
  & .pr-field .wpcf7-list-item label { display:inline-flex; min-height:42px; align-items:center; gap:7px; margin:0; padding:8px 12px; border:1px solid #bfd2e6; border-radius:4px; background:#fff; color:#496b91; font-size:13px; font-weight:400; line-height:1.5; cursor:pointer; }
  & .pr-field .wpcf7-list-item label:has(input:checked) { border-color:#148be3; background:#edf8ff; color:#148be3; }
  & .pr-field .wpcf7-list-item label:focus-within { outline:2px solid #148be3; outline-offset:2px; }
  & .pr-field input[type=radio] { margin:0; accent-color:#148be3; }
  & .pr-help { margin:6px 0 0; color:#8198b0; font-size:11px; line-height:1.8; }
  & .pr-center { text-align:center; }
  & .pr-actions { display:block; margin-top:24px; text-align:center; }
  & .pr-actions input[type=submit], & .pr-actions input[type=button] {
    display:block;
    width:100%;
    max-width:100%;
    height:auto;
    min-height:54px;
    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;
  }
  & .pr-actions input[type=submit]:hover, & .pr-actions input[type=button]:hover { background:#ed8410; }
  & .pr-actions input.wpcf7c-btn-back { border:1px solid #cbdcee; background:#edf5fb; color:#496b91; }
  & .pr-actions input.wpcf7c-btn-back:hover { background:#e4eff8; }
  @media (max-width:767px) {
    & .tour-form { font-size:16px; }
    & .pr-heading > p { font-size:16px; }
    & .pr-date-pair { grid-template-columns:1fr; gap:10px; }
    & .pr-fields .pr-field input[type=text], & .pr-fields .pr-field input:is([type=email],[type=tel]) { height:46px; min-height:46px; font-size:16px; }
    & .pr-field .wpcf7-list-item label { min-height:42px; font-size:14px; }
  }
}
/* recruit-entry.cssと文字サイズ・CF7段落余白を統一 */
#factory-tour-entry {
  & .tour-form, & .tour-form * { font-size:inherit; }
  & .tour-form { font-size:14px; line-height:1.8; }
  & .tour-form .pr-eyebrow { font-size:12px; letter-spacing:.18em; }
  & .tour-form .pr-heading h2 { font-size:36px; }
  & .tour-form .pr-field label, & .tour-form .pr-field legend { font-size:14px; }
  & .tour-form .pr-required, & .tour-form .pr-optional { font-size:12px; }
  & .tour-form .pr-fields { gap:22px 14px; }
  & .tour-form .pr-field>p { margin:0; }
  & .tour-form .pr-date-pair { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
  & .tour-form .pr-date-pair>p { display:contents; margin:0; }
  & .tour-form .pr-date-pair input { width:100%; min-width:0; }
  & .tour-form .pr-field input[type=text], & .tour-form .pr-field input:is([type=email],[type=tel]) { height:46px; min-height:46px; font-size:14px; }
  & .tour-form .pr-field .wpcf7-list-item label { font-size:14px; }
  & .tour-form .pr-help, & .tour-form .pr-center { font-size:14px; }
  @media (max-width:767px) {
    & .tour-form, & .tour-form * { font-size:inherit; }
    & .tour-form { font-size:16px; }
    & .tour-form .pr-eyebrow, & .tour-form .pr-required, & .tour-form .pr-optional { font-size:12px; }
    & .tour-form .pr-heading h2 { font-size:22px; }
    & .tour-form .pr-field label, & .tour-form .pr-field legend { font-size:16px; }
    & .tour-form .pr-field input[type=text], & .tour-form .pr-field input:is([type=email],[type=tel]) { height:46px; min-height:46px; font-size:16px; }
    & .tour-form .pr-field .wpcf7-list-item label { font-size:16px; }
    & .tour-form .pr-help, & .tour-form .pr-center { font-size:16px; }
    & .tour-form .pr-date-pair { grid-template-columns:1fr; gap:10px; }
  }
}
#factory-tour-entry {
  @media (max-width:767px) {
    & .tour-form .pr-heading > p,
    & .tour-form .pr-guide ul,
    & .tour-form .pr-guide-note { font-size:inherit; }
  }
}
/* Contact Form 7が追加する改行・段落による余白を抑える */
#contents .plamo-recruit .pr-field br,
#factory-tour-entry .plamo-recruit .pr-field br { display:none; }
#contents .plamo-recruit .pr-field > p,
#factory-tour-entry .plamo-recruit .pr-field > p { margin:0; }


/* 確認ボタン周り：採用エントリーフォームと揃える */

#factory-tour-entry .pr-actions input[type="submit"],
#factory-tour-entry .pr-actions input[type="button"] {
  width: auto;
  max-width: 100%;
  margin: 12px auto 0;
  line-height: 1.5;
}
#factory-tour-entry .pr-privacy { color: #496b91; }
#factory-tour-entry .pr-privacy a { color: #347eb5; text-decoration: underline; }


/* 送信成功時はメッセージ欄を隠し、完了表示のみ見せる */

#factory-tour-entry form.sent .wpcf7-response-output,
#factory-tour-entry .wpcf7-response-output.wpcf7-mail-sent-ok,
#factory-tour-entry .is-complete .wpcf7-response-output { display: none; }


/* フォーム見出し（ENTRY FORM）を他セクションと揃える（中央揃えは維持） */

#factory-tour-entry .tour-form .pr-heading > p.pr-eyebrow {
  margin: 0 0 8px;
  color: #005bbd;
  font-size: 15px;
  letter-spacing: 0.18em;
  line-height: 1.8;
}
#factory-tour-entry .tour-form .pr-heading > h2 { margin-top: 0; }

/* FV：ページ名は2行のh1、キャッチコピーは従来の書式を維持 */
#factory-tour-entry .entry-hero .tour-page-title {
  margin: 0 0 15px;
  line-height: 0.8;
}

#factory-tour-entry .tour-page-title > span {
  font-size: 0.6em;
}

#factory-tour-entry .entry-hero .tour-catchcopy {
  display: block;
  line-height: 1.2;
}
/* FV：地図ピン付きの来社見学ラベル */
#factory-tour-entry .entry-hero .tour-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;
}

#factory-tour-entry .tour-visit-label svg {
  display: block;
  width: 1.4em;
  height: 1.4em;
  flex: none;
}

/* 工場見学ページ：スマホのパンくずをメインと同じ幅にする */
@media (max-width: 767px) {
  body:has(#factory-tour-entry) #breadcrumb ol {
    max-width: calc(100% - 12px);
    padding: 1rem !important;
  }
}

/* 共通テーマの「現在のページを非表示」を解除 */
@media (max-width: 729px) {
  body:has(#factory-tour-entry) #breadcrumb li:last-child {
    display: list-item;
  }
}
