/* ============================================================
   ISEZAKI（まるっとけあグループ） 採用ページ / style.css
   ============================================================ */

:root{
  /* Brand colors — 水色・紺色ベース（まるっとけあグループのロゴカラーに合わせたブルー系） */
  --green-900:#0f2440;   /* 濃紺（見出し・哲学セクション背景） */
  --green-800:#173a63;   /* 紺色 */
  --green-700:#1f6fb2;   /* メインブルー（ロゴカラー） */
  --green-600:#2c8fce;   /* ミッドブルー */
  --green-500:#5cb3e6;   /* 水色（アクセント） */
  --green-100:#e3f1fb;   /* 淡い水色 */
  --green-50:#f3f9fd;    /* ごく淡い水色 */

  --ivory:#f4f8fb;
  --beige:#e9f2f9;
  --gray-900:#232a33;
  --gray-700:#4a5560;
  --gray-500:#75828d;
  --gray-200:#dde6ec;
  --white:#ffffff;

  --font-body:"Noto Sans JP","Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif;

  --header-h:76px;
  --radius:10px;
  --shadow-sm:0 2px 10px rgba(15,58,99,.08);
  --shadow-md:0 8px 26px rgba(15,58,99,.14);
}

*,*::before,*::after{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  font-family:var(--font-body);
  color:var(--gray-900);
  background:var(--white);
  line-height:1.8;
  font-size:16px;
  -webkit-font-smoothing:antialiased;
  padding-top:var(--header-h);
}
img{max-width:100%;display:block;}
a{color:inherit;text-decoration:none;}
ul,ol{list-style:none;}
h1,h2,h3,h4{line-height:1.5;margin:0;}
p{margin:0;}
.inner{max-width:1160px;margin:0 auto;padding:0 24px;}

.skip-link{
  position:absolute;left:-999px;top:0;background:var(--green-700);color:#fff;padding:8px 16px;z-index:2000;
}
.skip-link:focus{left:8px;top:8px;}

.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;
}

a:focus-visible,button:focus-visible{
  outline:3px solid var(--green-500);
  outline-offset:2px;
}

/* ---------- Brand logo ---------- */
.brand-logo{display:flex;align-items:center;}
.brand-logo-img{
  height:38px;
  width:auto;
  display:block;
  background:#fff;
  padding:4px 10px;
  border-radius:6px;
}
.brand-text{
  display:flex;
  flex-direction:column;
  font-family:'M PLUS Rounded 1c','Noto Sans JP',sans-serif;
  font-weight:900;
  font-size:22px;
  color:var(--green-700);
  letter-spacing:.02em;
  line-height:1.2;
}
.brand-text-dark{color:var(--gray-900);}
.brand-sub{font-size:11px;font-weight:700;color:var(--gray-500);letter-spacing:.05em;}

/* ---------- Image placeholder (画像あとで差し替え用) ---------- */
.img-placeholder{
  width:100%;
  height:100%;
  min-height:220px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:10px;
  background:repeating-linear-gradient(45deg, var(--gray-200), var(--gray-200) 10px, #eef3f7 10px, #eef3f7 20px);
  color:var(--gray-500);
  border:2px dashed var(--gray-200);
  border-radius:var(--radius);
}
.img-placeholder i{font-size:36px;}
.img-placeholder span{font-size:13px;font-weight:700;letter-spacing:.05em;}
.img-placeholder-tall{min-height:280px;border-radius:var(--radius);}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  padding:14px 28px;
  border-radius:999px;
  font-weight:700;
  font-size:15px;
  line-height:1.2;
  border:2px solid transparent;
  transition:transform .15s ease, box-shadow .15s ease, background-color .15s ease, color .15s ease;
  min-height:48px;
  white-space:nowrap;
}
.btn:hover{transform:translateY(-2px);}
.btn-primary{background:var(--green-700);color:#fff;box-shadow:var(--shadow-sm);}
.btn-primary:hover{background:#17639e;color:#fff;}
.btn-outline{background:#fff;color:var(--green-800);border-color:var(--green-700);}
.btn-outline:hover{background:var(--green-50);}
.btn-sm{padding:10px 18px;font-size:13.5px;min-height:40px;}
.btn-lg{padding:16px 34px;font-size:16px;}
.ext-ico{font-size:.85em;opacity:.75;}

.eyebrow{
  font-size:13px;
  letter-spacing:.18em;
  color:var(--green-700);
  font-weight:700;
  margin:0 0 10px;
}
.eyebrow-light{color:var(--green-100);}
.sec-title{
  font-size:clamp(24px,3vw,32px);
  font-weight:900;
  margin-bottom:36px;
  color:var(--gray-900);
  letter-spacing:.02em;
}
.nobr{white-space:nowrap;}
.note-text{
  font-size:14px;
  color:var(--gray-700);
  line-height:1.9;
  text-wrap:pretty;
}
.note-text-top{margin-bottom:28px;}

.section{padding:72px 0;}
.section-alt{background:var(--ivory);}

/* ============================================================
   HEADER
   ============================================================ */
.site-header{
  position:fixed;
  top:0;
  left:0;
  right:0;
  z-index:1000;
  height:var(--header-h);
  background:linear-gradient(90deg,#ffffff 0%,#f7fbfe 62%,#ffffff 100%);
  border-bottom:2px solid #1f6fb2;
  transition:background .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.site-header.is-solid{
  background:rgba(255,255,255,.97);
  backdrop-filter:blur(6px);
  border-bottom:1px solid var(--gray-200);
  box-shadow:0 2px 10px rgba(15,58,99,.08);
}
.site-header .brand-text{color:var(--green-700);transition:color .3s ease;}
.site-header .brand-sub{color:var(--gray-500);transition:color .3s ease;}
.site-header.is-solid .brand-text{color:var(--green-700);}
.site-header.is-solid .brand-sub{color:var(--gray-500);}
.site-header .hamburger span{background:var(--gray-900);transition:background-color .3s ease, transform .25s ease, opacity .25s ease;}
.site-header.is-solid .hamburger span{background:var(--gray-900);}
.header-inner{
  max-width:1280px;
  margin:0 auto;
  padding:0 24px;
  height:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}

.gnav{
  display:flex;
  align-items:center;
  gap:28px;
  flex:1;
  justify-content:flex-end;
}
.gnav ul{
  display:flex;
  gap:24px;
  align-items:center;
}
.gnav ul li a{
  font-size:14.5px;
  font-weight:500;
  color:var(--gray-900);
  position:relative;
  padding:6px 2px;
  text-shadow:none;
  transition:color .3s ease;
}
.gnav ul li a.current{color:var(--green-700);font-weight:700;text-decoration:none;}
.gnav ul li a:hover{color:var(--green-700);}
.site-header.is-solid .gnav ul li a{color:var(--gray-900);text-shadow:none;}
.site-header.is-solid .gnav ul li a.current{color:var(--green-700);text-decoration:none;}
.site-header.is-solid .gnav ul li a:hover{color:var(--green-700);}
.gnav-cta{white-space:nowrap;}

.hamburger{
  display:none;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  gap:5px;
  width:48px;
  height:48px;
  background:transparent;
  border:none;
  cursor:pointer;
  z-index:1100;
}
.hamburger span{
  display:block;width:26px;height:2.5px;background:var(--gray-900);border-radius:2px;
  transition:transform .25s ease, opacity .25s ease;
}
.hamburger[aria-expanded="true"] span:nth-child(1){transform:translateY(7.5px) rotate(45deg);}
.hamburger[aria-expanded="true"] span:nth-child(2){opacity:0;}
.hamburger[aria-expanded="true"] span:nth-child(3){transform:translateY(-7.5px) rotate(-45deg);}

.nav-overlay{
  position:fixed;inset:0;background:rgba(20,30,25,.4);
  z-index:900;opacity:0;visibility:hidden;transition:opacity .25s ease;
}
.nav-overlay.show{opacity:1;visibility:visible;}

/* ============================================================
   HERO FULL（ファーストビュー全面画像）
   ============================================================ */
.hero-full{
  position:relative;
  margin-top:0;
  background:#fff;
  overflow:hidden;
}
.hero-full-visual{
  position:relative;
  height:auto;
  aspect-ratio:1679 / 937;
  margin-top:0;
  overflow:hidden;
  background:#fff;
}
.hero-full-img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:50% 0;
}
.hero-open-label{
  margin:0;
  padding:18px 24px 8px;
  text-align:center;
  color:#c9973f;
  font-family:'Noto Sans JP','Hiragino Kaku Gothic ProN','Yu Gothic',sans-serif;
  font-size:clamp(44px,4.2vw,60px);
  font-weight:900;
  letter-spacing:.04em;
  position:relative;
  display:table;
  margin-left:auto;
  margin-right:auto;
  text-shadow:1px 1px 0 rgba(15,36,64,.22);
}
.open-sparkle{position:absolute;color:#f5d66e;font-size:18px;line-height:1;pointer-events:none;animation:open-sparkle 1.7s ease-in-out infinite;}
@keyframes open-sparkle{0%,100%{opacity:0;transform:scale(.2) rotate(0deg)}38%{opacity:1;transform:scale(1) rotate(22deg)}62%{opacity:.8;transform:scale(.75) rotate(45deg)}}
@media (prefers-reduced-motion:reduce){.open-sparkle{animation:none;opacity:.8}}
.hero-full-cta{
  display:flex;
  gap:16px;
  flex-wrap:wrap;
  justify-content:center;
  padding:28px 24px 36px;
  background:#fff;
  transform:none;
}
.hero-full-cta .btn-outline{
  background:#fff;
  color:#173a63;
  border:2px solid #1f6fb2;
}
.hero-full-cta .btn-outline:hover{background:#e3f1fb;color:#173a63;border-color:#17639e;}

/* ============================================================
   HERO (旧レイアウト / 未使用だが互換のため保持)
   ============================================================ */
.hero{
  position:relative;
  display:grid;
  grid-template-columns:minmax(0,560px) 1fr;
  align-items:stretch;
  overflow:hidden;
  color:#fff;
  background:linear-gradient(160deg, var(--green-900) 0%, var(--green-800) 100%);
  min-height:600px;
}
.hero-media{
  position:relative;
  overflow:hidden;
  padding:24px;
  display:flex;
}
.hero-media .img-placeholder{
  background:repeating-linear-gradient(45deg, rgba(255,255,255,.08), rgba(255,255,255,.08) 10px, rgba(255,255,255,.03) 10px, rgba(255,255,255,.03) 20px);
  border-color:rgba(255,255,255,.25);
  color:rgba(255,255,255,.7);
}
.hero-media-caption{
  position:absolute;
  left:0;right:0;bottom:0;
  margin:0;
  padding:20px 28px 22px;
  background:linear-gradient(to top, rgba(15,36,64,.72) 0%, rgba(15,36,64,0) 100%);
  color:#fff;
  font-size:16px;
  font-weight:700;
  letter-spacing:.03em;
  text-shadow:0 2px 8px rgba(0,0,0,.4);
}
.hero-content{
  position:relative;
  z-index:1;
  padding:90px 36px 70px 48px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.kicker{
  font-size:13px;
  letter-spacing:.22em;
  font-weight:700;
  color:var(--green-100);
  margin-bottom:16px;
}
.hero-title{
  margin:0 0 26px;
  font-family:'M PLUS Rounded 1c','Noto Sans JP',sans-serif;
  font-weight:900;
  font-size:clamp(30px,4.6vw,52px);
  line-height:1.35;
  letter-spacing:.03em;
  color:#fff;
  text-shadow:0 3px 10px rgba(0,0,0,.4), 0 1px 3px rgba(0,0,0,.4);
}
.nobr{white-space:nowrap;}
.staff-first-line{display:block;text-align:center;white-space:nowrap;}
.staff-first-emphasis{font-size:calc(1em + 5px);}
.hero-desc{
  font-size:clamp(13px,1.7vw,16px);
  font-weight:700;
  line-height:1.9;
  max-width:100%;
  margin-bottom:28px;
  text-shadow:0 2px 14px rgba(0,0,0,.35);
}
.hero-sub{
  font-size:clamp(13px,1.7vw,16px);
  font-weight:700;
  margin-bottom:34px;
  line-height:1.9;
  text-shadow:0 2px 14px rgba(0,0,0,.35);
}
.hero-btns{display:flex;gap:16px;flex-wrap:wrap;}
.hero-btns .btn-outline{background:rgba(255,255,255,.92);color:var(--green-800);border-color:#fff;}
.hero-btns .btn-outline:hover{background:#fff;}

/* ---------- Hero (image only) ---------- */
.hero-image-only{
  grid-template-columns:1fr;
  min-height:360px;
}
.hero-image-only .hero-media{
  padding:24px;
}

/* ---------- Hero text section (WHY ISEZAKI の直前／TOP画像の枠外) ---------- */
.hero-text-section{
  background:#fff;
  color:var(--gray-900);
  padding:64px 0 72px;
}
.hero-text-inner{
  max-width:760px;
  margin:0 auto;
  padding:0 24px;
  text-align:center;
}
.hero-text-inner .kicker{color:var(--green-700);}
.hero-text-inner .hero-title{
  text-align:center;
  color:var(--gray-900);
  text-shadow:none;
}
.hero-text-inner .hero-desc{
  color:var(--gray-700);
  text-shadow:none;
}
.hero-text-inner .hero-sub{
  color:var(--gray-700);
  text-shadow:none;
}
.hero-text-inner .hero-btns{justify-content:center;}
.hero-text-inner .hero-btns .btn-outline{
  background:#fff;
  color:var(--green-800);
  border-color:var(--green-700);
}
.hero-text-inner .hero-btns .btn-outline:hover{background:var(--green-50);}

/* ============================================================
   CARDS – common grids
   ============================================================ */
.cards{display:grid;gap:24px;}
.cards-2{grid-template-columns:repeat(2,1fr);}
.cards-3{grid-template-columns:repeat(3,1fr);}
.cards-4{grid-template-columns:repeat(4,1fr);}

.feature-card{
  background:#fff;
  border:1px solid var(--gray-200);
  border-radius:var(--radius);
  padding:34px 28px;
  box-shadow:var(--shadow-sm);
}
.feature-num{
  font-size:14px;
  font-weight:900;
  color:var(--green-500);
  letter-spacing:.1em;
  margin-bottom:14px;
}
.feature-card h3{font-size:19px;font-weight:700;margin-bottom:12px;color:var(--gray-900);}
.feature-card p{font-size:14.5px;color:var(--gray-700);line-height:1.9;text-wrap:pretty;overflow-wrap:break-word;}

/* ---------- Job cards ---------- */
.job-cards.cards-2{
  max-width:760px;
  margin:0 auto;
}
.job-card{
  background:#fff;
  border:1px solid var(--gray-200);
  border-radius:var(--radius);
  padding:28px 24px;
  display:flex;
  flex-direction:column;
  box-shadow:var(--shadow-sm);
}
.job-card h3{
  font-size:19px;font-weight:800;color:var(--green-800);margin-bottom:14px;
  padding-bottom:12px;border-bottom:2px solid var(--green-100);
}
.job-card p{font-size:14px;color:var(--gray-700);margin-bottom:14px;line-height:1.85;text-wrap:pretty;}
.job-meta{
  font-size:13px;color:var(--gray-700);margin-bottom:18px;
}
.job-meta span{
  display:inline-block;background:var(--green-100);color:var(--green-800);
  font-weight:700;font-size:12px;border-radius:6px;padding:2px 8px;margin-right:8px;
}
.job-btns{display:flex;flex-direction:column;gap:10px;margin-top:auto;}
.job-btns .btn-primary,.job-btns .btn-primary:hover,.job-btns .btn-primary:focus{background:#1f6fb2;color:#fff !important;border-color:#1f6fb2;}
.job-btns .btn-primary:hover{background:#17639e;border-color:#17639e;}

/* ---------- Day cards ---------- */
.day-card{
  background:#fff;
  border:1px solid var(--gray-200);
  border-radius:var(--radius);
  padding:30px 26px;
  box-shadow:var(--shadow-sm);
}
.day-card h3{
  font-size:18px;font-weight:800;color:var(--gray-900);margin-bottom:18px;
  display:flex;align-items:center;gap:10px;
}
.day-card h3::before{
  content:"";width:10px;height:10px;border-radius:50%;background:var(--green-500);flex-shrink:0;
}

/* ---------- Schedule cards (看護師・療法士の1日) ---------- */
.schedule-card h3{
  gap:8px;
}
.schedule-card h3 i{
  color:var(--green-700);
  font-size:16px;
}
.schedule-list{
  display:flex;
  flex-direction:column;
  gap:0;
}
.schedule-list li{
  display:grid;
  grid-template-columns:24px 96px 1fr;
  align-items:start;
  gap:10px;
  padding:9px 0;
  border-bottom:1px dashed var(--gray-200);
  font-size:13.3px;
  color:var(--gray-700);
  line-height:1.6;
}
.schedule-list li:last-child{border-bottom:none;}
.sc-icon{
  color:var(--green-600);
  font-size:14px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding-top:2px;
}
.sc-time{
  font-weight:800;
  color:var(--green-800);
  font-size:13px;
  white-space:nowrap;
}
.sc-text{color:var(--gray-700);}

/* ============================================================
   REASONS (working environment)
   ============================================================ */
.reasons-section{padding:0;}
.reasons-photo-full{
  width:100%;
  overflow:hidden;
  background:var(--green-900);
}
.reasons-photo-full img{
  width:100%;
  height:auto;
  display:block;
}
.reasons-section .inner{
  padding-top:56px;
  padding-bottom:72px;
}
.reasons-catch{
  max-width:760px;
  margin:0 auto;
  text-align:center;
}
.reasons-catch-kicker{
  margin:0 0 12px;
  font-size:13px;
  font-weight:700;
  letter-spacing:.18em;
  color:var(--green-700);
}
.reasons-catch-title{
  margin:0 0 20px;
  font-family:'M PLUS Rounded 1c','Noto Sans JP',sans-serif;
  font-weight:900;
  font-size:clamp(24px,3vw,32px);
  color:var(--gray-900);
  letter-spacing:.02em;
}
.reasons-catch-desc{
  margin:0;
  font-size:15px;
  line-height:2;
  color:var(--gray-700);
}

/* ============================================================
   ONBOARDING
   ============================================================ */
.timeline{
  display:flex;
  align-items:stretch;
  gap:14px;
  margin-bottom:40px;
}
.tl-step{
  flex:1;
  background:#fff;
  border:1px solid var(--gray-200);
  border-radius:var(--radius);
  padding:26px 18px;
  text-align:center;
  box-shadow:var(--shadow-sm);
}
.tl-dot{
  width:38px;height:38px;border-radius:50%;
  background:var(--green-700);color:#fff;font-weight:900;font-size:16px;
  display:flex;align-items:center;justify-content:center;margin:0 auto 14px;
}
.tl-step h3{font-size:15.5px;font-weight:800;margin-bottom:10px;}
.tl-step p{font-size:13.3px;color:var(--gray-700);line-height:1.8;}
.tl-arrow{display:flex;align-items:center;justify-content:center;color:var(--green-500);font-size:22px;flex-shrink:0;}

.onboarding-note{
  background:var(--green-50);
  border:1px solid var(--green-100);
  border-radius:var(--radius);
  padding:28px 30px;
}
.onboarding-note h3{font-size:16.5px;font-weight:800;color:var(--green-800);margin-bottom:12px;}
.onboarding-note p{font-size:14.5px;color:var(--gray-700);line-height:1.9;}

/* ============================================================
   PHILOSOPHY
   ============================================================ */
.section-philosophy{
  background:linear-gradient(160deg, var(--green-900) 0%, var(--green-800) 55%, var(--green-700) 100%);
  color:#fff;
  text-align:center;
}
.philosophy-quote{
  font-size:clamp(20px,2.6vw,28px);
  font-weight:700;
  line-height:2;
  max-width:820px;
  margin:0 auto 28px;
}
.philosophy-quote strong{color:var(--green-100);font-weight:900;}
.philosophy-desc{
  max-width:680px;
  margin:0 auto 42px;
  font-size:15px;
  line-height:2;
  color:#e8f0ea;
}
.judge-list{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:14px;
  max-width:980px;
  margin:0 auto;
  counter-reset:judge;
}
.judge-list li{
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.25);
  border-radius:var(--radius);
  padding:22px 14px;
  font-size:14px;
  font-weight:600;
  line-height:1.7;
  counter-increment:judge;
  text-wrap:pretty;
  overflow-wrap:break-word;
}
.judge-list li::before{
  content:counter(judge);
  display:flex;align-items:center;justify-content:center;
  width:30px;height:30px;border-radius:50%;
  background:#fff;color:var(--green-800);font-weight:900;font-size:14px;
  margin:0 auto 12px;
}

/* ============================================================
   OFFICES / MAP
   ============================================================ */
.section-offices{background:var(--green-50);}
.office-group-badge{
  display:inline-flex;
  align-items:center;
  gap:6px;
  background:var(--green-100);
  color:var(--green-800);
  font-weight:800;
  font-size:13px;
  border-radius:999px;
  padding:8px 20px;
  margin-bottom:18px;
  border:1px solid transparent;
  transition:background-color .15s ease, border-color .15s ease, transform .15s ease;
}
.office-group-badge::after{
  content:"\f35d";
  font-family:"Font Awesome 6 Free";
  font-weight:900;
  font-size:11px;
}
.office-group-badge:hover{
  background:var(--green-700);
  color:#fff;
  transform:translateY(-1px);
}
.office-map-wrap{margin-bottom:44px;}
.office-map-crop{
  width:100%;
  height:380px;
  overflow:hidden;
  border-radius:var(--radius);
  border:1px solid var(--gray-200);
  margin-bottom:12px;
  position:relative;
}
.office-map-crop .img-placeholder{position:absolute;inset:0;border-radius:var(--radius);}
.office-map{
  display:block;
  width:100%;
  height:100%;
  border:0;
}
.office-group{margin-bottom:36px;}
.office-group-title{
  font-size:17px;font-weight:800;color:var(--green-800);
  margin-bottom:18px;
  padding-bottom:10px;
  border-bottom:2px solid var(--green-100);
}
.office-list{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
}
.office-list-2{grid-template-columns:repeat(2,1fr);}
.office-list-1{grid-template-columns:1fr;max-width:420px;}
.office-item{
  display:block;
  background:#fff;
  border:1px solid var(--gray-200);
  border-radius:var(--radius);
  padding:18px 20px;
  box-shadow:var(--shadow-sm);
  text-decoration:none;
  transition:box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
a.office-item:hover{
  box-shadow:var(--shadow-md);
  border-color:var(--green-500);
  transform:translateY(-2px);
}
.office-item h4{font-size:16.5px;font-weight:800;color:var(--green-800);margin-bottom:10px;line-height:1.55;}
.office-item p{font-size:13.3px;color:var(--gray-700);line-height:1.85;}
.office-link{
  display:inline-flex;
  align-items:center;
  gap:6px;
  margin-top:12px;
  font-size:13px;
  font-weight:700;
  color:var(--green-700);
}
.office-note{color:var(--green-700);font-weight:700;}

/* ============================================================
   REQUIREMENTS
   ============================================================ */
.req-cards{grid-template-columns:repeat(2,1fr);}
.req-card{
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  gap:20px;
  background:#fff;
  border:1px solid var(--gray-200);
  border-radius:var(--radius);
  padding:30px 22px;
  min-height:140px;
  box-shadow:var(--shadow-sm);
  transition:box-shadow .15s ease, transform .15s ease;
}
.req-card:hover{box-shadow:var(--shadow-md);transform:translateY(-3px);}
.req-card h3{font-size:17px;font-weight:800;color:var(--gray-900);}
.req-link{font-size:14px;font-weight:700;color:var(--green-700);display:inline-flex;align-items:center;gap:6px;}

/* ============================================================
   FINAL CTA
   ============================================================ */
.final-cta{
  background:var(--beige);
  text-align:center;
}
.cta-inner h2{
  font-size:clamp(24px,3.4vw,32px);
  font-weight:900;
  margin-bottom:18px;
  color:var(--gray-900);
}
.cta-inner p{
  max-width:640px;
  margin:0 auto 34px;
  font-size:15px;
  line-height:2;
  color:var(--gray-700);
}
.cta-btns{display:flex;gap:16px;justify-content:center;flex-wrap:wrap;}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer{
  background:linear-gradient(135deg,#173a63 0%,#1f6fb2 100%);
  color:#d8dbd9;
  padding:56px 0 20px;
}
.footer-inner{
  display:flex;
  justify-content:space-between;
  gap:40px;
  flex-wrap:wrap;
  padding-bottom:32px;
  border-bottom:1px solid rgba(255,255,255,.12);
}
.footer-logo-chip{
  display:inline-block;
  background:#fff;
  padding:14px 22px;
  border-radius:10px;
  margin-bottom:18px;
}
.footer-logo-img{height:32px;width:auto;display:block;}
.footer-brand p{font-size:13.5px;line-height:2;color:#c4c8c5;}
.footer-brand a{color:#fff;text-decoration:underline;text-decoration-color:rgba(255,255,255,.4);}
.footer-office-title{
  margin-top:6px;
  font-size:12.5px;
  font-weight:700;
  letter-spacing:.05em;
  color:#fff;
}
.footer-links ul{display:flex;flex-direction:column;gap:12px;}
.footer-links a{font-size:13.5px;color:#c4c8c5;}
.footer-links a:hover{color:#fff;}
.footer-sns-link{display:inline-block;transition:opacity .2s ease;}
.footer-sns-link:hover{opacity:.85;}
.footer-sns-qr{
  width:300px;
  height:300px;
  border-radius:12px;
  background:#fff;
  padding:6px;
  display:block;
  box-shadow:0 2px 8px rgba(0,0,0,.25);
}
@media (max-width:767px){
  .footer-sns-qr{width:260px;height:260px;}
}
.footer-copy{
  text-align:center;
  font-size:12px;
  color:#8b9089;
  margin-top:24px;
}

/* ============================================================
   MOBILE FIXED CTA
   ============================================================ */
.mobile-fixed-cta{
  display:none;
}

/* helpers */
.pc-only{display:inline;}
.sp-only{display:none;}

/* ============================================================
   RESPONSIVE — TABLET (max-width: 1024px)
   ============================================================ */
@media (max-width:1024px){
  .hero{grid-template-columns:minmax(0,44%) 1fr;}
  .hero-content{padding:56px 28px 48px 32px;}
  .cards-4{grid-template-columns:repeat(2,1fr);}
  .cards-3{grid-template-columns:repeat(2,1fr);}
  .req-cards{grid-template-columns:repeat(2,1fr);}
  .office-list{grid-template-columns:repeat(2,1fr);}
  .office-list-2{grid-template-columns:1fr;}
  .judge-list{grid-template-columns:repeat(3,1fr);}
}

/* ============================================================
   RESPONSIVE — MOBILE (max-width: 767px)
   ============================================================ */
@media (max-width:767px){
  html{font-size:16px;}
  .inner{padding:0 18px;}
  .section{padding:56px 0;}

  .pc-only{display:none;}
  .sp-only{display:inline;}

  /* header */
  .header-inner{padding:0 16px;}
  .brand-text{font-size:18px;}
  .hamburger{display:flex;}
  .gnav{
    position:fixed;
    top:var(--header-h);
    right:-100%;
    width:82%;
    max-width:320px;
    height:calc(100vh - var(--header-h));
    background:#fff;
    flex-direction:column;
    align-items:flex-start;
    justify-content:flex-start;
    padding:28px 24px;
    gap:28px;
    transition:right .3s ease;
    box-shadow:-8px 0 24px rgba(0,0,0,.12);
    overflow-y:auto;
  }
  .gnav.open{right:0;}
  .gnav ul{flex-direction:column;align-items:flex-start;gap:22px;width:100%;}
  .gnav ul li{width:100%;}
  .gnav ul li a{display:block;font-size:16px;padding:8px 0;width:100%;}
  .gnav-cta{width:100%;text-align:center;}

  .nav-overlay{display:block;}

  /* hero — stack photo on top, text below on solid navy background */
  .hero{
    display:flex;
    flex-direction:column;
    grid-template-columns:none;
    min-height:auto;
  }
  .hero-media{
    height:56vw;
    max-height:320px;
    min-height:230px;
    order:-1;
    padding:14px;
  }
  .hero-image-only{min-height:auto;}
  .hero-media-caption{padding:14px 18px 16px;font-size:14px;}
  .hero-content{
    padding:32px 20px 44px;
  }
  .hero-title{font-size:clamp(26px,7.4vw,36px);}
  .hero-desc{font-size:13.5px;max-width:100%;}
  .hero-sub{font-size:13.5px;}
  .hero-btns{flex-direction:column;width:100%;}
  .hero-btns .btn{width:100%;}

  .hero-text-section{padding:44px 0 56px;}
  .hero-text-inner{padding:0 20px;}

  /* SPでもMVの人物と施設名を欠かさず見せる */
  .hero-full-visual{height:auto;min-height:0;max-height:none;margin-top:0;aspect-ratio:1679 / 937;}
  .hero-full-img{width:100%;height:100%;object-fit:cover;object-position:50% 0;}
  .hero-open-label{padding:12px 18px 4px;font-size:clamp(18px,6vw,26px);}
  .hero-full-cta{flex-direction:column;align-items:center;padding:16px 20px 28px;transform:none;}
  .hero-full-cta .btn{width:100%;}

  /* grids -> 1 col */
  .cards-2,.cards-3,.cards-4,.req-cards{grid-template-columns:1fr;}
  .office-list,.office-list-2,.office-list-1{grid-template-columns:1fr;}
  .reason-list{grid-template-columns:1fr;}
  .judge-list{grid-template-columns:1fr;}

  .job-btns{flex-direction:column;}
  .job-btns .btn{width:100%;}

  .reasons-text #reasons-title{padding-left:0;}

  .schedule-list li{
    grid-template-columns:22px 88px 1fr;
    font-size:13.5px;
    gap:8px;
  }
  .sc-time{font-size:12.5px;}

  /* onboarding timeline -> vertical */
  .timeline{flex-direction:column;}
  .tl-arrow{transform:rotate(90deg);padding:0;height:20px;}

  .reasons-section .inner{padding-top:36px;padding-bottom:48px;}
  .reasons-catch{text-align:center;}

  .office-map-crop{height:260px;}

  .cta-btns{flex-direction:column;width:100%;}
  .cta-btns .btn{width:100%;}

  .footer-inner{flex-direction:column;gap:32px;}

  /* mobile fixed CTA */
  .mobile-fixed-cta{
    display:block;
    position:fixed;
    left:0;right:0;bottom:0;
    z-index:950;
    background:var(--green-700);
    padding:12px 18px;
    padding-bottom:calc(12px + env(safe-area-inset-bottom));
    box-shadow:0 -4px 16px rgba(0,0,0,.15);
  }
  .mobile-fixed-cta a{
    display:block;
    text-align:center;
    color:#fff;
    font-weight:800;
    font-size:16px;
    padding:14px 0;
    border-radius:999px;
    background:var(--green-800);
  }
  body{padding-bottom:78px;}
}

/* small phone tweak */
@media (max-width:390px){
  .hero-title{font-size:7.4vw;}
}

/* 子テーマ調整：MVを固定ナビゲーションの下から開始する */
.hero-full{margin-top:0 !important;}
