/* ============================================================
   core.css — 構造CSS(テンプレ共通・全法人横展開)
   色・角丸・フォントの生値はここに書かない。すべて skin.css の
   CSS変数(var(--xxx))を参照すること。
   ============================================================ */

/* ---------- リセット・ベース ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  font-family: var(--font-jp);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.8;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block
}

a {
  color: inherit;
  text-decoration: none
}

ul {
  list-style: none
}

button {
  font-family: inherit
}

.inner {
  max-width: var(--inner);
  margin: 0 auto;
  padding: 0 20px
}

/* 写真プレースホルダ(実装時に実写真へ差し替え) */
.ph {
  background:
    repeating-linear-gradient(45deg, var(--gray-chip) 0 12px, #EAEEF1 12px 24px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--placeholder-fg);
  font-size: 12px;
  letter-spacing: .08em;
  border-radius: var(--radius-card);
  overflow: hidden;
  position: relative;
}

.ph::after {
  content: attr(data-label)
}

/* スクロールリビール */
._rv {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease
}

._rv.is-in {
  opacity: 1;
  transform: none
}

@media (prefers-reduced-motion:reduce) {
  ._rv {
    opacity: 1;
    transform: none;
    transition: none
  }

  html {
    scroll-behavior: auto
  }
}

/* 見出しの型:英語大見出し+日本語小サブ */
.sec-head {
  margin-bottom: 40px
}

.sec-head .en {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: clamp(34px, 5vw, 48px);
  color: var(--cyan);
  line-height: 1.1;
  letter-spacing: .01em;
}

.sec-head .jp {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  margin-top: 6px;
  letter-spacing: .12em;
}

/* ボタン */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .04em;
  border-radius: var(--radius-pill);
  padding: 16px 36px;
  transition: .25s;
  border: none;
  cursor: pointer;
  font-family: var(--font-jp);
}

.btn .arw {
  font-family: var(--font-en);
  font-weight: 600;
  transition: transform .25s
}

.btn:hover .arw {
  transform: translateX(4px)
}

.btn-primary {
  /* 応募系のみ使用 */
  background: var(--cta);
  color: var(--white);
  box-shadow: 0 6px 20px var(--shadow-primary);
}

.btn-primary:hover {
  background: var(--cyan-dark)
}

.btn-line {
  border: 1.5px solid var(--ink);
  color: var(--ink);
  background: var(--white);
}

.btn-line:hover {
  background: var(--ink);
  color: var(--white)
}

/* ============================================================
   ヘッダー(共通)
   ============================================================ */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  max-width: var(--inner);
  margin: 0 auto;
  padding: 0 20px
}

.hd .logo-group {
  display: flex;
  align-items: center;
  flex: 0 0 auto
}

.hd .logo {
  display: flex;
  align-items: center;
  flex: 0 0 auto
}

.hd .logo img {
  height: 48px;
  width: auto;
  display: block
}

.hd .logo-divider {
  display: block;
  width: 1px;
  height: 24px;
  background: var(--line);
  margin: 0 14px;
  flex: 0 0 auto
}

.hd .logo-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-soft);
  letter-spacing: .06em;
  white-space: nowrap;
  flex: 0 0 auto
}

.hd nav {
  display: none
}

.hd .hd-cta {
  display: flex;
  align-items: center;
  gap: 10px
}

.hd .hd-cta a {
  font-size: 13px;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
}

.hd .hd-cta .jobs {
  background: var(--cta);
  color: var(--white)
}

@media(max-width:399px) {

  .hd .logo-divider,
  .hd .logo-label {
    display: none
  }
}

@media(min-width:1000px) {
  .hd nav {
    display: block
  }

  .hd nav ul {
    display: flex;
    gap: 28px;
    font-size: 14px;
    font-weight: 500
  }

  .hd nav a {
    position: relative;
    padding: 4px 0
  }

  .hd nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--cyan);
    transition: .25s
  }

  .hd nav a:hover::after {
    width: 100%
  }
}

/* ハンバーガーボタン(1000px未満のみ表示) */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  transition: transform .25s ease, opacity .2s ease
}

.hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg)
}

.hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0
}

.hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg)
}

@media(max-width:999px) {
  .hamburger {
    display: flex
  }
}

@media(prefers-reduced-motion:reduce) {
  .hamburger span {
    transition: none
  }
}

/* ドロワー表示中は背景スクロールをロックする */
html.no-scroll,
html.no-scroll body {
  overflow: hidden;
  height: 100%
}

/* モバイルメニュー用ドロワー(全画面オーバーレイ・右からスライドイン) */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--white);
  transform: translateX(100%);
  transition: transform .3s ease;
  pointer-events: none;
  overflow-y: auto;
}

.mobile-drawer.is-open {
  transform: translateX(0);
  pointer-events: auto
}

.mobile-drawer-inner {
  padding: 88px 24px 40px;
  max-width: var(--inner);
  margin: 0 auto
}

.mobile-drawer-close {
  position: fixed;
  top: 14px;
  right: 20px;
  z-index: 1;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: var(--white);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.mobile-drawer nav ul {
  list-style: none
}

.mobile-drawer nav li {
  border-bottom: 1px solid var(--line)
}

.mobile-drawer nav a {
  display: block;
  padding: 18px 4px;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink)
}

@media(min-width:1000px) {
  .mobile-drawer {
    display: none
  }
}

@media(prefers-reduced-motion:reduce) {
  .mobile-drawer {
    transition: none
  }
}

/* ============================================================
   パンくず・ページヘッダー(アーカイブ・詳細共通)
   ============================================================ */
.breadcrumb {
  font-size: 12px;
  color: var(--ink-soft);
  padding: 16px 0
}

.breadcrumb a {
  color: var(--cyan)
}

.page-head {
  padding: 16px 0 32px
}

.page-head .en {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: clamp(34px, 5vw, 48px);
  color: var(--cyan);
  line-height: 1.1
}

.page-head .jp {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  margin-top: 4px;
  letter-spacing: .12em
}

.page-head .count {
  margin-top: 14px;
  font-size: 14px
}

.page-head .count b {
  font-family: var(--font-en);
  font-size: 22px;
  color: var(--cyan)
}

/* ============================================================
   絞り込み(求人一覧)
   ============================================================ */
.filter {
  background: var(--gray-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 18px;
  margin-bottom: 32px;
}

.filter .row {
  display: grid;
  gap: 10px
}

@media(min-width:760px) {
  .filter .row {
    grid-template-columns: 1fr 1fr 1fr auto;
    align-items: end
  }
}

.filter label {
  font-size: 12px;
  font-weight: 700;
  display: block;
  margin-bottom: 6px
}

.filter select {
  width: 100%;
  font-family: var(--font-jp);
  font-size: 14px;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  color: var(--ink);
  appearance: none;
  background-image: var(--icon-chevron);
  background-repeat: no-repeat;
  background-position: right 14px center;
}

.filter .apply {
  background: var(--cta);
  color: var(--white);
  border: none;
  cursor: pointer;
  font-family: var(--font-jp)
}

.filter-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px
}

.filter-tags a {
  font-size: 12px;
  font-weight: 700;
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 6px 16px
}

/* ============================================================
   求人カード(トップ・一覧 共通)
   ============================================================ */
.job-list {
  display: grid;
  gap: 16px
}

@media(min-width:760px) {
  .job-list {
    grid-template-columns: 1fr 1fr
  }
}

@media(min-width:1060px) {
  .job-list {
    grid-template-columns: 1fr 1fr 1fr
  }
}

.job-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 22px;
  background: var(--white);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow .25s, transform .25s;
}

.job-card:hover {
  box-shadow: 0 10px 30px var(--shadow-card);
  transform: translateY(-3px)
}

.job-card .badge-new {
  position: absolute;
  top: -10px;
  right: 14px;
  background: var(--yellow);
  color: var(--ink);
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 11px;
  padding: 3px 12px;
  border-radius: var(--radius-pill);
  letter-spacing: .06em;
}

.job-card .badge-closed {
  position: absolute;
  top: -10px;
  right: 14px;
  background: var(--ink);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: var(--radius-pill);
}

.job-card .school {
  font-size: 12px;
  font-weight: 700;
  color: var(--cyan);
  letter-spacing: .04em
}

.job-card h3 {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5
}

.job-card .meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px
}

.job-card .meta span {
  font-size: 12px;
  background: var(--gray-chip);
  border-radius: 6px;
  padding: 3px 10px;
  color: var(--ink-soft);
  font-weight: 500;
}

.job-card .nums {
  display: flex;
  gap: 18px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
  margin-top: auto
}

.job-card .nums dt {
  font-size: 11px;
  color: var(--ink-soft)
}

.job-card .nums dd {
  font-size: 15px;
  font-weight: 700
}

.job-card .nums dd b {
  font-family: var(--font-en);
  font-size: 18px;
  color: var(--ink)
}

.job-card.closed {
  opacity: .6
}

/* ============================================================
   0件時(求人一覧)
   ============================================================ */
.empty {
  text-align: center;
  border: 1.5px dashed var(--line);
  border-radius: var(--radius-card);
  padding: 64px 24px;
}

.empty .en {
  font-family: var(--font-en);
  font-weight: 700;
  color: var(--cyan);
  font-size: 14px;
  letter-spacing: .14em
}

.empty h2 {
  font-size: 20px;
  font-weight: 700;
  margin-top: 8px
}

.empty p {
  font-size: 14px;
  color: var(--ink-soft);
  margin-top: 10px
}

.empty .btn {
  margin-top: 24px
}

/* ============================================================
   キャリア登録帯(求人一覧下部)
   ============================================================ */
.entry-band {
  background: var(--yellow);
  margin-top: 64px;
  padding: 48px 0;
  text-align: center
}

.entry-band h2 {
  font-size: clamp(18px, 2.6vw, 24px);
  font-weight: 700
}

.entry-band p {
  font-size: 14px;
  margin-top: 8px
}

.entry-band .btn {
  margin-top: 20px;
  background: var(--ink);
  color: var(--white);
  box-shadow: none
}

.entry-band .btn:hover {
  background: var(--black)
}

/* ============================================================
   フッター(共通)
   ============================================================ */
footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 56px 0 32px
}

footer .f-grid {
  display: grid;
  gap: 32px
}

@media(min-width:860px) {
  footer .f-grid {
    grid-template-columns: 1fr 2fr
  }
}

footer .logo img {
  height: 36px;
  width: auto;
  display: block
}

footer .logo .en {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 22px;
  color: var(--footer-text)
}

footer .logo .jp {
  font-size: 11px;
  color: var(--footer-text-soft);
  letter-spacing: .14em
}

footer nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  font-size: 13px
}

footer nav a {
  color: var(--footer-text)
}

footer nav a:hover {
  color: var(--cyan);
  text-decoration: underline
}

footer .corp {
  margin-top: 20px;
  font-size: 12px
}

footer .corp a {
  color: var(--cyan);
  text-decoration: underline
}

/* 中段:キャリア登録の最終回収導線 */
footer .f-entry {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--footer-border);
}

footer .f-entry p {
  font-size: 14px;
  font-weight: 700
}

/* 下段:運営者表記・個人情報保護方針・コピーライト */
footer .f-bottom {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--footer-border);
  text-align: center
}

footer .f-bottom p {
  font-size: 11px;
  color: var(--footer-text-soft)
}

footer .f-legal {
  margin-top: 6px
}

footer .f-legal a {
  color: var(--footer-text-soft);
  text-decoration: underline
}

footer .f-legal a:hover {
  color: var(--cyan)
}

footer .copy {
  margin-top: 6px;
  font-size: 11px;
  color: var(--footer-text-soft)
}

/* ============================================================
   追従バー(モバイル):トップ用CTA / 求人詳細用応募バー
   ============================================================ */
#sticky-cta,
#sticky-apply {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--line);
  display: flex;
  gap: 8px;
}

#sticky-cta {
  transform: translateY(110%);
  transition: transform .35s ease
}

#sticky-cta.is-show {
  transform: none
}

#sticky-cta a {
  flex: 1;
  padding: 13px 0;
  font-size: 14px
}

#sticky-apply {
  align-items: center
}

#sticky-apply .info {
  font-size: 11px;
  line-height: 1.5;
  flex: 1;
  min-width: 0
}

#sticky-apply .info b {
  font-size: 12px;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}

#sticky-apply .btn {
  flex: 0 0 auto;
  padding: 13px 26px;
  font-size: 14px
}

@media(min-width:1000px) {
  #sticky-cta {
    display: none
  }
}

@media(min-width:960px) {
  #sticky-apply {
    display: none
  }
}

/* ============================================================
   トップページ ① MV
   ============================================================ */
#mv {
  position: relative;
  overflow: hidden;
  padding: clamp(40px, 7vw, 80px) 0 clamp(24px, 4vw, 48px)
}

#mv .deco {
  /* ブランドモチーフ:イエロー円弧(控えめに) */
  position: absolute;
  border-radius: 50%;
  background: var(--yellow);
  z-index: 0;
}

#mv .deco.d1 {
  width: 340px;
  height: 340px;
  top: -160px;
  right: -120px;
  opacity: .85
}

#mv .deco.d2 {
  width: 120px;
  height: 120px;
  bottom: 40px;
  left: -60px;
  opacity: .55
}

#mv .mv-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 36px
}

#mv .mv-photo {
  aspect-ratio: 16/10;
  border-radius: var(--radius-lg);
  width: 100%;
  object-fit: cover;
  display: block
}

#mv h1 {
  font-size: clamp(26px, 4.6vw, 44px);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .02em;
}

#mv h1 .mark {
  background: linear-gradient(transparent 68%, var(--yellow) 68%)
}

#mv .lead {
  margin-top: 18px;
  font-size: clamp(14px, 1.8vw, 16px);
  color: var(--ink-soft);
  font-weight: 500
}

/* PC時のみ有効な改行(オプションページのテキストエリア改行位置)。
   #concept .desc / #mv .lead で共通利用する。 */
.pc-only {
  display: none
}

@media(min-width:760px) {
  .pc-only {
    display: inline
  }
}

#mv .mv-cta {
  margin-top: 28px
}

#mv .site-label {
  font-family: var(--font-en);
  font-weight: 600;
  color: var(--cyan);
  font-size: 13px;
  letter-spacing: .16em;
  margin-bottom: 14px;
}

@media(min-width:900px) {
  #mv .mv-grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 56px
  }

  #mv .mv-photo {
    order: 2;
    aspect-ratio: 4/3.4
  }
}

/* 職種チップ */
.chips {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 26px 20px 4px;
  max-width: var(--inner);
  margin: 0 auto;
  scrollbar-width: none
}

.chips::-webkit-scrollbar {
  display: none
}

.chips a {
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 700;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 9px 20px;
  transition: .2s;
  background: var(--white);
}

.chips a:hover {
  border-color: var(--cyan);
  color: var(--cyan)
}

/* ============================================================
   トップページ ② コンセプト文
   ============================================================ */
#concept {
  padding: clamp(40px, 6vw, 72px) 0 0
}

#concept .box {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  padding: 0 20px
}

#concept p.desc {
  font-size: clamp(15px, 1.9vw, 17px);
  line-height: 2.2;
  font-weight: 500;
  text-align: left
}

@media(min-width:760px) {
  #concept p.desc {
    text-align: center
  }
}

#concept .to-message {
  margin-top: 28px
}

#concept .to-message a {
  font-size: 14px;
  font-weight: 700;
  color: var(--cyan);
  border-bottom: 2px solid var(--cyan);
  padding-bottom: 3px;
}

/* ============================================================
   トップページ ③ 募集中の求人(セクション枠。カード自体は上の共通スタイル)
   ============================================================ */
#jobs {
  padding: var(--section-pad) 0
}

.jobs-more {
  text-align: center;
  margin-top: 36px
}

/* ============================================================
   トップページ ④ 数字で見る学園(イエロー帯)
   ============================================================ */
#data {
  background: var(--yellow);
  padding: var(--section-pad) 0
}

#data .sec-head .en {
  color: var(--ink)
}

#data .sec-head .jp {
  color: var(--ink)
}

.data-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px
}

@media(min-width:860px) {
  .data-grid {
    grid-template-columns: repeat(4, 1fr)
  }
}

.data-item {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 26px 18px;
  text-align: center;
}

.data-item .num {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: clamp(36px, 5vw, 52px);
  color: var(--cyan);
  line-height: 1;
}

.data-item .num small {
  font-size: .4em;
  margin-left: 2px;
  font-weight: 600
}

.data-item .label {
  font-size: 13px;
  font-weight: 700;
  margin-top: 8px
}

.data-item .note {
  font-size: 11px;
  color: var(--ink-soft);
  margin-top: 2px
}

.data-foot {
  font-size: 12px;
  color: var(--ink);
  margin-top: 18px;
  opacity: .7
}

/* ============================================================
   トップページ ⑤ 働く人を知る
   ============================================================ */
#people {
  padding: var(--section-pad) 0
}

.people-grid {
  display: grid;
  gap: 20px
}

/* 職員インタビュー一覧:mainとフッターの間の余白 */
.post-type-archive-people main {
  padding-bottom: 50px
}

@media(min-width:760px) {
  .people-grid {
    grid-template-columns: repeat(4, 1fr)
  }
}

/* モバイル(archive-people.php一覧のみ):写真が大きくなりすぎないよう縦カードではなく
   横並び(左写真・右テキスト)にする。写真比率は3:4のまま変更しない。 */
@media(max-width:759px) {
  .people-grid {
    grid-template-columns: 1fr
  }

  .people-grid .person-card {
    display: flex;
    gap: 16px;
    align-items: center
  }

  .people-grid .person-card .thumb {
    flex: 0 0 38%;
    aspect-ratio: 3/4
  }

  .people-grid .person-card .body {
    flex: 1;
    padding: 0
  }

  /* タグは顔にかからないよう上部ではなく下部に重ね、文字も一回り小さくして2行になりにくくする */
  .people-grid .person-card .tag {
    top: auto;
    bottom: 10px;
    font-size: 9px;
    padding: 3px 10px
  }
}

/* 職員インタビューカード(縦長・角丸サムネ) */
.person-card {
  display: block
}

.person-card .thumb {
  position: relative;
  aspect-ratio: 3/4;
  border-radius: var(--radius-card);
  overflow: hidden
}

.person-card .thumb img,
.person-card .thumb .ph {
  width: 100%;
  height: 100%
}

.person-card .thumb img {
  object-fit: cover;
  display: block;
  transition: transform .3s ease
}

.person-card:hover .thumb img {
  transform: scale(1.03)
}

.person-card .tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--cyan);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  border-radius: var(--radius-pill);
  padding: 4px 14px;
}

.person-card .body {
  background: var(--white);
  padding: 14px 2px 0
}

.person-card .ttl {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6
}

.person-card .detail {
  font-size: 12px;
  color: var(--ink-soft);
  margin-top: 8px
}

@media(prefers-reduced-motion:reduce) {
  .person-card .thumb img {
    transition: none
  }

  .person-card:hover .thumb img {
    transform: none
  }
}

.people-more {
  text-align: center;
  margin-top: 40px
}

/* ============================================================
   職員インタビュー詳細:ほかの職員も見る(横スライド、PC3.5人/モバイル1.5人分表示)
   ============================================================ */
#other-people {
  padding: var(--section-pad) 0
}

#other-people .head {
  margin-bottom: 32px
}

#other-people .head .label {
  font-size: 13px;
  font-weight: 700;
  color: var(--cyan);
  letter-spacing: .08em
}

#other-people .head h2 {
  font-size: clamp(20px, 2.6vw, 26px);
  font-weight: 700;
  margin-top: 8px
}

/* ============================================================
   学校・施設アーカイブ:この学校で働く人(archive-job.php流用時のみ)
   見出しの体裁は #other-people .head と揃える
   ============================================================ */
#school-people {
  padding: var(--section-pad) 0
}

#school-people .head {
  margin-bottom: 32px
}

#school-people .head .label {
  font-size: 13px;
  font-weight: 700;
  color: var(--cyan);
  letter-spacing: .08em
}

#school-people .head h2 {
  font-size: clamp(20px, 2.6vw, 26px);
  font-weight: 700;
  margin-top: 8px
}

.people-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.people-nav {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.people-arrow {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: .25s;
}

.people-arrow:hover {
  background: var(--cyan);
  border-color: var(--cyan);
  color: var(--white);
}

.people-slider {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  cursor: grab;
}

.people-slider.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  user-select: none;
}

.people-slider::-webkit-scrollbar {
  display: none
}

.people-slider .person-card {
  flex: 0 0 calc((100% - 48px)/3.5);
  scroll-snap-align: start
}

@media(max-width:759px) {
  .people-slider .person-card {
    flex: 0 0 calc((100% - 16px)/1.5)
  }
}

/* ============================================================
   トップページ ⑥ 岩谷学園を知る(About)
   ============================================================ */
#about {
  padding: var(--section-pad) 0;
  background: var(--gray-bg)
}

.about-lead {
  font-size: 16px;
  line-height: 2;
  margin-bottom: 24px;
  max-width: 800px
}

.school-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px
}

@media(min-width:860px) {
  .school-grid {
    grid-template-columns: repeat(4, 1fr)
  }
}

.school-cell {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 16px 14px;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.5;
  display: flex;
  align-items: center;
  min-height: 64px;
  transition: .2s;
}

.school-cell:hover {
  border-color: var(--cyan);
  color: var(--cyan)
}

.school-note {
  font-size: 12px;
  color: var(--ink-soft);
  margin-top: 14px
}

.school-more {
  text-align: center;
  margin-top: 32px
}

/* ============================================================
   トップページ ⑦ 制度・環境(4カード)
   ============================================================ */
#env {
  padding: var(--section-pad) 0
}

.env-grid {
  display: grid;
  gap: 14px
}

@media(min-width:760px) {
  .env-grid {
    grid-template-columns: 1fr 1fr
  }
}

.env-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 26px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  transition: .25s;
  background: var(--white);
}

.env-card:hover {
  box-shadow: 0 10px 30px var(--shadow-card)
}

.env-card .main {
  font-size: 16px;
  font-weight: 700
}

.env-card .desc {
  font-size: 13px;
  color: var(--ink-soft);
  margin-top: 6px
}

.env-card .icn {
  flex: 0 0 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--yellow-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-en);
  font-weight: 700;
  color: var(--cyan);
  font-size: 18px;
}

/* ============================================================
   トップページ ⑧ 中標津で働く
   ============================================================ */
#hokkaido {
  padding: 0 0 var(--section-pad)
}

.hk-banner {
  background: linear-gradient(105deg, var(--cyan) 0%, var(--cyan-dark) 100%);
  border-radius: var(--radius-lg);
  color: var(--white);
  padding: clamp(32px, 5vw, 56px);
  position: relative;
  overflow: hidden;
}

.hk-banner .deco {
  position: absolute;
  right: -40px;
  top: -40px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
}

.hk-banner .en {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .14em;
  opacity: .85
}

.hk-banner h2 {
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 700;
  margin-top: 8px;
  line-height: 1.6
}

.hk-banner p {
  font-size: 14px;
  margin-top: 12px;
  opacity: .95;
  max-width: 560px
}

.hk-banner .support {
  display: inline-flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.hk-banner .support span {
  background: var(--white);
  color: var(--cyan-dark);
  font-size: 12px;
  font-weight: 700;
  border-radius: var(--radius-pill);
  padding: 6px 16px;
}

.hk-banner .btn {
  margin-top: 24px;
  background: var(--yellow);
  color: var(--ink);
  box-shadow: none
}

.hk-banner .btn:hover {
  background: var(--white)
}

/* ============================================================
   トップページ ⑨ FAQ
   ============================================================ */
#faq {
  padding: var(--section-pad) 0;
  background: var(--gray-bg)
}

.faq-list {
  max-width: 760px;
  margin: 0 auto
}

.faq-item {
  border-bottom: 1px solid var(--line);
  background: transparent
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  gap: 14px;
  align-items: baseline;
  padding: 20px 8px;
  font-weight: 700;
  font-size: 15px;
}

.faq-item summary::-webkit-details-marker {
  display: none
}

.faq-item summary .q {
  font-family: var(--font-en);
  color: var(--cyan);
  font-weight: 700
}

.faq-item summary::after {
  content: "+";
  margin-left: auto;
  font-family: var(--font-en);
  color: var(--cyan);
  font-size: 20px;
  transition: .2s
}

.faq-item[open] summary::after {
  transform: rotate(45deg)
}

.faq-item .a {
  display: flex;
  gap: 14px;
  padding: 0 8px 20px;
  font-size: 14px;
  color: var(--ink-soft)
}

.faq-item .a .mark {
  font-family: var(--font-en);
  color: var(--ink);
  font-weight: 700
}

/* ============================================================
   トップページ ⑩ キャリア登録
   ============================================================ */
#entry {
  padding: var(--section-pad) 0;
  text-align: center
}

#entry .en {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 14px;
  color: var(--cyan);
  letter-spacing: .14em
}

#entry h2 {
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 700;
  margin-top: 8px;
  line-height: 1.7
}

#entry p {
  font-size: 14px;
  color: var(--ink-soft);
  margin-top: 14px;
  max-width: 560px;
  margin-inline: auto
}

#entry .btn {
  margin-top: 28px
}

/* ============================================================
   求人詳細:求人ヘッダー
   ============================================================ */
.job-head {
  padding: 8px 0 32px
}

.job-head .school-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--cyan);
  border: 1.5px solid var(--cyan);
  border-radius: var(--radius-pill);
  padding: 4px 16px
}

.job-head h1 {
  font-size: clamp(24px, 3.6vw, 34px);
  font-weight: 700;
  line-height: 1.5;
  margin-top: 14px
}

.job-head .job-no {
  font-size: 12px;
  color: var(--ink-soft);
  margin-top: 6px;
  font-family: var(--font-en)
}

.job-head .badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px
}

.job-head .badges span {
  font-size: 12px;
  font-weight: 700;
  background: var(--yellow-soft);
  border-radius: var(--radius-pill);
  padding: 5px 16px
}

/* ---------- 上段:判断材料サマリー ---------- */
.summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  overflow: hidden;
  margin-bottom: 40px;
}

@media(min-width:760px) {
  .summary {
    grid-template-columns: repeat(5, 1fr)
  }
}

.summary .cell {
  background: var(--white);
  padding: 18px 16px
}

.summary dt {
  font-size: 11px;
  color: var(--cyan);
  font-weight: 700
}

.summary dd {
  font-size: 15px;
  font-weight: 700;
  margin-top: 4px;
  line-height: 1.5
}

.summary dd b {
  font-family: var(--font-en);
  font-size: 20px
}

.summary dd small {
  font-size: 11px;
  color: var(--ink-soft);
  display: block;
  font-weight: 500
}

/* ---------- 2カラムレイアウト ---------- */
.job-body {
  display: grid;
  gap: 40px;
  padding-bottom: 64px
}

@media(min-width:960px) {
  .job-body {
    grid-template-columns: 1fr 340px;
    align-items: start
  }

  .job-side {
    position: sticky;
    top: 84px
  }
}

/* 中段:本文 */
.job-main section {
  margin-bottom: 44px
}

.job-main h2 {
  font-size: 19px;
  font-weight: 700;
  padding-bottom: 10px;
  margin-bottom: 18px;
  border-bottom: 2px solid var(--line);
  position: relative;
}

.job-main h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 56px;
  height: 2px;
  background: var(--cyan)
}

.job-main .duty-list li {
  padding: 10px 0 10px 26px;
  position: relative;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}

.job-main .duty-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 20px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
}

.school-intro {
  background: var(--gray-bg);
  border-radius: var(--radius-card);
  padding: 24px;
  font-size: 14px;
}

.school-intro .name {
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 8px
}

.school-intro a {
  color: var(--cyan);
  font-weight: 700;
  font-size: 13px
}

/* 待遇テーブル */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px
}

.spec-table th {
  text-align: left;
  font-weight: 700;
  width: 32%;
  padding: 14px 12px;
  vertical-align: top;
  background: var(--gray-bg);
  border-bottom: 1px solid var(--white);
}

.spec-table td {
  padding: 14px 12px;
  border-bottom: 1px solid var(--line)
}

/* この学校で働く人(school紐付け自動表示) */
.people-mini {
  display: grid;
  gap: 14px
}

@media(min-width:640px) {
  .people-mini {
    grid-template-columns: 1fr 1fr
  }
}

.pm-card {
  display: flex;
  gap: 14px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 14px;
  transition: .2s
}

.pm-card:hover {
  border-color: var(--cyan)
}

.pm-card .photo {
  flex: 0 0 64px;
  height: 64px;
  border-radius: 50%
}

.pm-card .ttl {
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.5
}

.pm-card .detail {
  font-size: 11px;
  color: var(--ink-soft);
  margin-top: 4px
}

/* ============================================================
   職員インタビュー詳細:MVエリア(見出し+写真の2カラム)
   ============================================================ */
.pi-mv {
  padding: 8px 0 0
}

.pi-mv .row {
  display: grid;
  gap: 32px
}

@media(min-width:900px) {
  .pi-mv .row {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 48px
  }
}

.pi-mv .eyebrow {
  font-size: 13px;
  font-weight: 700;
  color: var(--cyan);
  letter-spacing: .08em;
  margin-top: 10px
}

.pi-mv h1 {
  font-size: clamp(24px, 3.6vw, 36px);
  font-weight: 700;
  line-height: 1.5;
  margin-top: 12px
}

.pi-mv .school {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-soft);
  margin-top: 16px
}

.pi-mv .position {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-soft);
  margin-top: 16px
}

.pi-mv .school + .position {
  margin-top: 4px
}

.pi-mv .prev-job {
  font-size: 12px;
  color: var(--ink-soft);
  margin-top: 6px
}

.pi-mv .name-year {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: baseline;
  margin-top: 8px
}

.pi-mv .name {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 20px
}

.pi-mv .year {
  font-size: 12px;
  color: var(--ink-soft)
}

.pi-mv .img {
  aspect-ratio: 9/10;
  border-radius: var(--radius-card);
  overflow: hidden
}

.pi-mv .img img,
.pi-mv .img .ph {
  width: 100%;
  height: 100%;
  object-fit: cover
}

/* ============================================================
   職員インタビュー詳細:サイド目次+ストーリーセクション
   ============================================================ */
.pi-body {
  padding: var(--section-pad) 0
}

.pi-row {
  display: grid;
  gap: 40px
}

@media(min-width:960px) {
  .pi-row {
    grid-template-columns: 220px 1fr
  }
}

.pi-aside {
  display: none
}

@media(min-width:960px) {
  .pi-aside {
    display: block;
    position: sticky;
    top: 84px;
    align-self: start
  }
}

.pi-aside ul {
  display: flex;
  flex-direction: column;
  gap: 2px
}

.pi-aside a {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 12px 4px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-soft);
  border-left: 2px solid var(--line);
  transition: .2s
}

.pi-aside a span {
  font-family: var(--font-en);
  font-size: 16px;
  color: var(--ink-soft);
  transition: .2s
}

.pi-aside a.current {
  color: var(--cyan);
  border-left-color: var(--cyan)
}

.pi-aside a.current span {
  color: var(--cyan)
}

.pi-section {
  margin-bottom: 56px;
  scroll-margin-top: 84px
}

.pi-section:last-child {
  margin-bottom: 0
}

.pi-section .num {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--cyan)
}

.pi-section .num span {
  font-family: var(--font-en);
  font-size: 22px
}

.pi-section h2 {
  font-size: clamp(20px, 2.6vw, 26px);
  font-weight: 700;
  line-height: 1.6;
  margin-top: 10px
}

.pi-section .desc {
  font-size: 14px;
  line-height: 2;
  color: var(--ink-soft);
  margin-top: 20px
}

.pi-section .desc p+p {
  margin-top: 1em
}

.pi-section .img {
  margin-top: 24px;
  aspect-ratio: 16/9;
  border-radius: var(--radius-card);
  overflow: hidden
}

.pi-section .img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block
}

/* 1日のスケジュール */
.pi-schedule-panel {
  background: var(--schedule-bg);
  border-radius: var(--radius-card);
  padding: clamp(20px, 4vw, 32px)
}

.pi-schedule-head {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px
}

.pi-schedule-head .avatar {
  flex: 0 0 72px;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden
}

.pi-schedule-head .avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.pi-schedule-head h2 {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.5
}

.pi-schedule-head h2 small {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-soft)
}

.schedule-timeline {
  list-style: none
}

.schedule-timeline li {
  display: flex;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line)
}

.schedule-timeline li:last-child {
  border-bottom: none
}

.schedule-timeline .time {
  flex: 0 0 64px;
  font-family: var(--font-en);
  font-weight: 700;
  color: var(--cyan);
  font-size: 15px
}

.schedule-timeline .content {
  font-size: 14px
}

/* 下段:選考情報アコーディオン */
.acc {
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  overflow: hidden
}

.acc details {
  border-bottom: 1px solid var(--line)
}

.acc details:last-child {
  border-bottom: none
}

.acc summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 20px;
  font-weight: 700;
  font-size: 14.5px;
  display: flex;
  align-items: center;
}

.acc summary::-webkit-details-marker {
  display: none
}

.acc summary::after {
  content: "+";
  margin-left: auto;
  font-family: var(--font-en);
  color: var(--cyan);
  font-size: 20px;
  transition: .2s
}

.acc details[open] summary::after {
  transform: rotate(45deg)
}

.acc .acc-body {
  padding: 0 20px 20px;
  font-size: 14px;
  color: var(--ink-soft)
}

.acc .acc-body ol {
  padding-left: 20px
}

/* ---------- サイド:応募カード ---------- */
.apply-card {
  border: 1.5px solid var(--cyan);
  border-radius: var(--radius-card);
  padding: 24px;
  background: var(--white);
}

.apply-card .status {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--white);
  background: var(--cyan);
  border-radius: var(--radius-pill);
  padding: 3px 14px;
}

.apply-card .lead {
  font-size: 14px;
  font-weight: 700;
  margin-top: 12px;
  line-height: 1.7
}

.apply-card .note {
  font-size: 12px;
  color: var(--ink-soft);
  margin-top: 8px
}

.apply-card .btn {
  width: 100%;
  margin-top: 16px
}

.apply-card .steps {
  margin-top: 18px;
  font-size: 12px;
  color: var(--ink-soft)
}

.apply-card .steps li {
  padding: 6px 0 6px 24px;
  position: relative
}

.apply-card .steps li::before {
  content: attr(data-n);
  position: absolute;
  left: 0;
  top: 6px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--yellow);
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 11px;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 募集終了状態(job_status=募集終了 のとき apply-card と排他表示) */
.closed-card {
  border: 1.5px solid var(--line);
  border-radius: var(--radius-card);
  padding: 24px;
  background: var(--gray-bg);
}

.closed-card .status {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--white);
  background: var(--ink);
  border-radius: var(--radius-pill);
  padding: 3px 14px
}

.closed-card p {
  font-size: 13px;
  color: var(--ink-soft);
  margin-top: 10px
}

.closed-card .btn {
  width: 100%;
  margin-top: 14px;
  font-size: 13px;
  padding: 13px 0
}

/* ============================================================
   応募フォーム(2段階・1次エントリー)
   ============================================================ */
#apply-form {
  scroll-margin-top: 84px;
  background: var(--gray-bg);
  padding: 56px 0
}

#apply-form .form-box {
  max-width: 640px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-card);
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--line)
}

#apply-form h2 {
  font-size: 20px;
  font-weight: 700
}

#apply-form .sub {
  font-size: 13px;
  color: var(--ink-soft);
  margin-top: 8px
}

#apply-form .field {
  margin-top: 20px
}

#apply-form label {
  font-size: 13px;
  font-weight: 700;
  display: block;
  margin-bottom: 6px
}

#apply-form label .req {
  color: var(--required);
  font-size: 11px;
  margin-left: 6px
}

#apply-form input,
#apply-form textarea,
#apply-form select {
  width: 100%;
  font-family: var(--font-jp);
  font-size: 15px;
  padding: 13px 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--white);
}

#apply-form input:focus,
#apply-form textarea:focus,
#apply-form select:focus {
  outline: 2px solid var(--cyan);
  border-color: var(--cyan)
}

#apply-form textarea {
  min-height: 110px;
  resize: vertical
}

#apply-form .privacy {
  font-size: 12px;
  color: var(--ink-soft);
  margin-top: 18px
}

#apply-form .privacy a {
  color: var(--cyan);
  text-decoration: underline
}

#apply-form .submit {
  width: 100%;
  margin-top: 22px
}

#apply-form .after-note {
  font-size: 12px;
  color: var(--ink-soft);
  margin-top: 14px;
  text-align: center
}

#apply-form .job-type-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px
}

#apply-form .job-type-checks label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: auto;
  font-size: 14px;
  font-weight: 500;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 8px 16px;
  cursor: pointer;
  margin-bottom: 0;
}

#apply-form .job-type-checks input {
  width: auto
}

/* 関連求人 */
#related {
  padding: 56px 0
}

#related h2 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 20px
}

.rel-list {
  display: grid;
  gap: 14px
}

@media(min-width:760px) {
  .rel-list {
    grid-template-columns: 1fr 1fr
  }
}

.rel-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 18px;
  transition: .2s
}

.rel-card:hover {
  border-color: var(--cyan)
}

.rel-card .school {
  font-size: 11px;
  font-weight: 700;
  color: var(--cyan)
}

.rel-card h3 {
  font-size: 15px;
  font-weight: 700;
  margin-top: 4px
}