/* ガクジョシュ — 下層ページ（初めて応募する方へ／メッセージ／仕事・職場）
   マクドナルドの下層の型: パンくず → 白帯のページ名 → 写真 → 本文 → 応募の帯 → ほかのページのタイル → パンくず */
.sub{background:#fff}
.sub main{padding-top:var(--hd)}
.sub-in{padding:0 var(--gut)}

/* パンくず・ページ名 */
.crumb{padding:10px var(--gut);font-size:12px;border-bottom:1px solid var(--line);background:#fff}
.crumb ol{display:flex;flex-wrap:wrap;gap:4px}
.crumb li+li::before{content:">";margin-right:4px;color:var(--ink-sub)}
.crumb a{color:var(--ink-sub)}
.pt{padding:12px var(--gut);font-size:15px;font-weight:800;line-height:1.5;border-bottom:1px solid var(--line)}
.hero img{width:100%;height:auto;aspect-ratio:16/9;object-fit:cover}
.sub-lead{font-size:20px;font-weight:800;line-height:1.6;letter-spacing:-.02em;margin:32px 0 8px}

/* 初めて応募する方へ: STEP の帯 */
/* マクドナルド「初めて応募する方へ」の型: 見出しの帯の下中央に同じ色の三角、STEP が進むほど色が濃くなる */
.ustep{margin-top:16px}
.ustep>li{margin-top:32px}
.ustep__h{position:relative;display:flex;align-items:center;gap:20px;min-height:66px;padding:14px 18px;background:var(--st,#EEF5FA);font-size:16px;font-weight:800;line-height:1.5}
.ustep__h::after{content:"";position:absolute;left:50%;bottom:-11px;width:22px;height:22px;margin-left:-11px;background:var(--st,#EEF5FA);transform:rotate(45deg)}
.ustep__h .num{flex:none;font-size:14px;font-weight:700;color:var(--action);letter-spacing:.06em}
.ustep>li:nth-child(1){--st:#EEF5FA}
.ustep>li:nth-child(2){--st:#E0EDF7}
.ustep>li:nth-child(3){--st:#D1E5F3}
.ustep>li:nth-child(4){--st:#C1DBEE}
.ustep>li:nth-child(5){--st:#B0D1E9}
.ustep>li>p{margin-top:24px;font-size:14.5px;line-height:1.8}
.ubox{margin-top:16px;padding:16px 18px;border:2px solid var(--face-strong);border-radius:12px}
.ubox__h{font-weight:800;font-size:15px}
.ubox li{position:relative;padding-left:1em;margin-top:6px;font-size:14.5px;line-height:1.7}
.ubox li::before{content:"・";position:absolute;left:0}
.ubox__n{margin-top:10px;font-size:12px;color:var(--ink-sub);line-height:1.6}
.ulast{margin:48px 0 56px;text-align:center;font-size:24px;font-weight:800;line-height:1.5;letter-spacing:-.02em}

/* メッセージ: ファミマ「カルチャー」の型（合言葉 → 大切にする3つのこと → 長い手紙 → 合言葉で締める） */
.mhero{position:relative;color:#fff}
.mhero img{width:100%;height:auto;aspect-ratio:4/5;object-fit:cover;object-position:60% center}
.mhero::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(4,62,104,0) 35%,rgba(4,62,104,.82) 100%)}
.mhero__in{position:absolute;left:var(--gut);right:var(--gut);bottom:28px;z-index:1}
.mhero__en{font-family:var(--f-num);font-size:13px;font-weight:700;letter-spacing:.2em;opacity:.9}
.mhero__h{margin-top:8px;font-size:27px;font-weight:800;line-height:1.5;letter-spacing:-.01em;text-shadow:0 2px 12px rgba(0,30,60,.4)}
.mlead{margin:32px 0 8px;font-size:16px;font-weight:700;line-height:2}
.mtag{display:inline-block;padding:1px 10px;border:1.5px solid var(--ink);border-radius:4px;font-family:var(--f-num);font-size:11.5px;font-weight:700}
.msec__h{margin-top:10px;font-size:26px;font-weight:800;line-height:1.45;letter-spacing:-.02em}
.msec__h--s{font-size:19px}
.mvals{margin-top:40px;padding:44px 0 20px;background:var(--face-soft)}
.mval{padding:24px 0;border-bottom:1.5px dashed var(--line)}
.mval:last-child{border-bottom:0}
.mval h3{font-size:21px;font-weight:800;color:var(--face-strong);letter-spacing:.02em}
.mval p{margin-top:10px;font-size:15px;line-height:1.95}
.mletter{padding:48px 0 16px}
.mletter__body{margin-top:24px;padding:28px 22px 30px;border-radius:20px;background:var(--face-soft)}
.mletter__body p{font-size:15px;font-weight:700;line-height:2.05}
.mletter__body p+p{margin-top:1.2em}
.mletter__open{font-size:19px!important;font-weight:800!important;color:var(--face-strong);line-height:1.7!important}
.mletter__sign{text-align:right;font-size:14px!important;color:var(--ink-sub)}
.mletter__me{display:flex;align-items:flex-end;gap:14px;margin-bottom:26px}
.mletter__ph{position:relative;flex:none;width:148px;height:192px;border-radius:0 0 74px 74px;overflow:hidden}
.mletter__ph::before{content:"";position:absolute;left:0;right:0;bottom:0;height:148px;border-radius:50%;background:var(--face-strong)}
.mletter__ph img{position:absolute;bottom:0;left:-14%;width:128%;max-width:none;height:auto}
.mletter__me p{flex:1;min-width:0;padding-bottom:10px;font-size:13px!important;line-height:1.6!important;color:var(--ink-sub)}
.mletter__me b{display:block;font-size:22px;font-weight:800;color:var(--ink)}
.mletter__me .mletter__role{display:block;font-size:12.5px}
.msec{margin:40px 0 48px;padding-top:28px;border-top:1px solid var(--line)}
.msec p{margin-top:12px;font-size:14px;line-height:1.85;color:var(--ink-sub)}
.subbtn{display:flex;align-items:center;justify-content:space-between;min-height:52px;margin-top:24px;padding:0 20px;border-radius:8px;background:var(--face-soft);border:2px solid var(--face-strong);font-weight:800;font-size:15px;text-decoration:none}
.subbtn::after{content:"→";font-family:var(--f-num);color:var(--face-strong)}

/* 仕事／職場 */
.whero{display:grid;grid-template-columns:5fr 4fr;align-items:stretch;background:var(--face-strong)}
.whero__copy{display:flex;align-items:center;padding:0 0 0 var(--gut);color:#fff;font-size:24px;font-weight:800;line-height:1.45;letter-spacing:-.02em}
.whero img{width:100%;height:100%;aspect-ratio:4/5;object-fit:cover}
.wsec{padding:40px 0 48px}
.wsec--blue{background:var(--face-strong);color:#fff}
.wsec__h{font-size:23px;font-weight:800;line-height:1.5;letter-spacing:-.02em}
.wsec__t{margin-top:24px;font-size:16px;font-weight:800}
.wsec .sub-in>p,.wsec__t+p{margin-top:8px;font-size:14.5px;line-height:1.8}
.roles{margin-top:24px;display:flex;flex-direction:column;gap:14px}
.roles li{background:#fff;color:var(--ink);border-radius:8px;padding:16px 18px}
.roles h3{font-size:16px;font-weight:800;padding-bottom:8px;margin-bottom:8px;border-bottom:2px solid var(--action)}
.roles p{font-size:14px;line-height:1.75}
.poslist{margin-top:24px;display:flex;flex-direction:column;gap:32px}
.pos__h{font-size:18px;font-weight:800;margin-bottom:10px}
.pos img{width:100%;height:auto;aspect-ratio:16/10;object-fit:cover}
.pos p{margin-top:10px;font-size:14.5px;line-height:1.8}

/* ほかのページのタイル（トップのタイルと同じ部品） */
.tiles--pages{background:#fff;padding-top:32px}
.tiles--pages a[aria-current="page"]{background:var(--face-soft)}
.sub .crumb:last-of-type{border-top:1px solid var(--line);border-bottom:0}

@media (min-width:768px){
  .sub-in,.crumb,.pt{max-width:860px;margin-left:auto;margin-right:auto;padding-left:32px;padding-right:32px}
  .sub .crumb,.sub .pt{max-width:none;padding-left:var(--gut);padding-right:var(--gut)}
  .hero img{aspect-ratio:16/6}
  .sub-lead{font-size:26px}
  .ustep__h{font-size:18px}
  .mhero img{aspect-ratio:16/7}
  .mhero__in{left:max(var(--gut),calc((100vw - 860px)/2 + 32px));bottom:56px}
  .mhero__h{font-size:44px}
  .mlead{font-size:18px;margin-top:48px}
  .msec__h{font-size:34px}
  .mvals{padding:72px 0 40px}
  .mval{display:grid;grid-template-columns:220px 1fr;gap:32px;align-items:baseline}
  .mval p{margin-top:0;font-size:16px}
  .mletter{padding:72px 0 24px}
  .mletter__body{padding:48px 56px 52px}
  .mletter__body p{font-size:16.5px}
  .mletter__ph{width:220px;height:286px;border-radius:0 0 110px 110px}
  .mletter__ph::before{height:220px}
  .mletter__me{gap:28px}
  .whero{grid-template-columns:1fr 1fr}
  .whero__copy{font-size:44px;padding-left:var(--gut)}
  .whero img{aspect-ratio:16/10}
  .wsec{padding:72px 0}
  .wsec__h{font-size:34px}
  .roles{flex-direction:row}
  .roles li{flex:1}
  .poslist{display:grid;grid-template-columns:1fr 1fr;gap:40px 32px}
  .subbtn{max-width:420px}
  .tiles--pages .tiles__list{max-width:1180px;margin:0 auto;grid-template-columns:repeat(5,1fr)}
}
/* 病棟大解剖への入口（トップの .banner と同じ型） */
.banner--sub{margin:36px 0 40px;border:3px solid var(--ink);box-shadow:0 5px 0 var(--ink)}
.banner--sub .banner__bg{border-radius:15px}
@media (min-width:768px){.banner--sub{max-width:680px;margin:48px auto 48px}}
/* 計測と外部送信について（privacy）: 読み物の本文 */
.sub-prose{max-width:720px;margin:0 auto;display:grid;gap:14px;padding-block:8px 32px}
.sub-prose .h3{margin-top:14px}
.sub-prose ul{display:grid;gap:8px;padding-left:1.2em;margin:0}
.sub-prose a{color:var(--face-strong,#0877B8);text-decoration:underline;text-underline-offset:2px}
.sub-note{font-size:.85em;color:#5B6A70}

/* 求人の準備中ページ（2026-11-14 テスト版） */
.jobs-wait{padding-bottom:48px}
.jobs-wait>p{font-size:15px;line-height:1.9}
.jobs-wait__list{display:grid;gap:14px;margin-top:28px}
.jobs-wait__list .subbtn{margin-top:0}
.jobs-wait__back{display:inline-block;margin-top:28px;font-size:14px;font-weight:700;color:var(--face-strong);text-decoration:underline;text-underline-offset:2px}
@media (min-width:768px){.jobs-wait__list{max-width:480px}}
