/* 転職前の企業研究を深める — FLOCSS（l- レイアウト / c- 部品 / p- ページ固有 / u- 補助）、要素は「_」でつなぐ */

@font-face {
  font-family: "ZKG";
  src: url("zkg-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

:root {
  --bg: #ffffff;
  --panel: #eef1f4;
  --ink: #1f2a30;
  --ink-sub: #5b6870;
  --line: #d5dbe0;
  --teal: #0e5c6b;
  --mist: #d7ebef;
  --head: "ZKG", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  --text: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic Medium", "YuGothic", "Meiryo", sans-serif;
  --wide: 1080px;
  --radius: 2px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 16px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--text);
  font-size: 16.5px;
  line-height: 1.75;
  overflow-wrap: anywhere;
}

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

a { color: var(--teal); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }

/* ---------- u- ---------- */
.u-skip {
  position: absolute;
  left: 8px;
  top: -60px;
  padding: 8px 14px;
  background: var(--teal);
  color: #fff;
  z-index: 10;
}
.u-skip:focus { top: 8px; }

/* ---------- l-header / c-brand / c-stepnav ---------- */
.l-header { border-bottom: 1px solid var(--line); }

.l-header_inner {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 18px 20px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  flex-wrap: wrap;
}

.c-brand {
  font-family: var(--head);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: .02em;
  color: var(--ink);
  text-decoration: none;
}

.c-brand_catch {
  margin: 0;
  padding-left: 16px;
  border-left: 1px solid var(--line);
  color: var(--ink-sub);
  font-size: .86rem;
  text-align: right;
}

.c-stepnav { border-top: 1px solid var(--line); }

.c-stepnav_list {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0 12px;
  list-style: none;
  display: flex;
  overflow-x: auto;
  scrollbar-width: thin;
}

.c-stepnav_item { flex: 1 0 auto; }

.c-stepnav_link {
  display: block;
  padding: 11px 12px 9px;
  border-bottom: 3px solid transparent;
  color: var(--ink);
  font-family: var(--head);
  font-weight: 700;
  font-size: .9rem;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
}
.c-stepnav_link:hover { border-bottom-color: var(--mist); }
.c-stepnav_link[aria-current="page"] { border-bottom-color: var(--teal); background: var(--mist); color: var(--teal); }

/* ---------- l-main ---------- */
.l-main {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 28px 20px 64px;
}

/* ---------- c-crumbs（CSSで描いた細い矢印で区切る） ---------- */
.c-crumbs_list {
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
  font-size: .8rem;
  line-height: 1.7;
  color: var(--ink-sub);
}
.c-crumbs_item { display: inline; }
.c-crumbs_item + .c-crumbs_item::before {
  content: "";
  display: inline-block;
  vertical-align: middle;
  width: 6px;
  height: 6px;
  margin: 0 12px 0 8px;
  border-top: 1px solid var(--ink-sub);
  border-right: 1px solid var(--ink-sub);
  transform: rotate(45deg);
}

/* ---------- c-cover（写真の上に文字を重ねるカード） ---------- */
.c-cover {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--panel);
  color: #fff;
  text-decoration: none;
}
.c-cover_img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .3s; }
.c-cover:hover .c-cover_img { transform: scale(1.03); }
.c-cover_body {
  position: absolute;
  inset: auto 0 0 0;
  display: block;
  padding: 48px 16px 14px;
  background: linear-gradient(to top, rgba(12, 32, 38, .92) 0%, rgba(12, 32, 38, .78) 55%, rgba(12, 32, 38, 0) 100%);
}
.c-cover_date { display: block; font-size: .78rem; opacity: .9; }
.c-cover_title {
  margin: 2px 0 0;
  font-family: var(--head);
  font-weight: 700;
  font-size: 1.02rem;
  line-height: 1.5;
}
.c-cover:focus-visible { outline-offset: 3px; }

/* ---------- c-prose（本文） ---------- */
.c-prose p { margin: 0 0 1.3em; }
.c-prose h2 {
  position: relative;
  margin: 2.6em 0 1.1em;
  padding: .6em 1em .6em 2.6em;
  background: var(--panel);
  border-radius: var(--radius);
  font-family: var(--head);
  font-weight: 700;
  font-size: 1.28rem;
  line-height: 1.5;
}
.c-prose h2::before {
  content: "";
  position: absolute;
  left: 1em;
  top: 1.05em;
  width: 14px;
  height: 8px;
  border-left: 3px solid var(--teal);
  border-bottom: 3px solid var(--teal);
  transform: rotate(-45deg);
}
.c-prose h3 {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 2em 0 .7em;
  color: var(--teal);
  font-family: var(--head);
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1.55;
}
.c-prose h3::before {
  content: "";
  flex: 0 0 14px;
  height: 2px;
  background: var(--teal);
  transform: translateY(-.3em);
}
.c-prose > :first-child { margin-top: 0; }

/* ---------- c-checklist（チェックボックス風の一覧） ---------- */
.c-checklist { margin: 0; padding: 0; list-style: none; }
.c-checklist_item,
.p-toc_item {
  position: relative;
  padding-left: 26px;
}
.c-checklist_item::before,
.p-toc_item::before {
  content: "";
  position: absolute;
  left: 0;
  top: .42em;
  width: 14px;
  height: 14px;
  border: 1.5px solid var(--teal);
  border-radius: var(--radius);
  background: #fff;
}
.c-checklist_item { padding-top: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.c-checklist_item::before { top: calc(10px + .42em); }

/* ---------- p-intro / p-covers（TOP） ---------- */
.p-intro { margin: 8px 0 28px; }
.p-intro_title { margin: 0; font-family: var(--head); font-weight: 700; line-height: 1.4; }
.p-intro_main { display: block; font-size: clamp(1.6rem, 4.2vw, 2.3rem); letter-spacing: .02em; }
.p-intro_sub { display: block; margin-top: 4px; font-size: clamp(1rem, 2.4vw, 1.2rem); color: var(--teal); }
.p-intro_catch { margin: 12px 0 0; color: var(--ink-sub); }

.p-covers { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }

@media (max-width: 759px) {
  .p-covers { max-width: 640px; margin: 0 auto; }
}
@media (min-width: 760px) {
  .p-covers { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 24px; }
  .p-covers_item { grid-column: span 2; }
  .p-covers_item-wide { grid-column: span 3; }
  .p-covers_item-wide .c-cover_body { padding: 64px 22px 18px; }
  .p-covers_item-wide .c-cover_title { font-size: 1.3rem; }
}

/* ---------- p-article ---------- */
.p-article_title {
  margin: 0;
  font-family: var(--head);
  font-weight: 700;
  font-size: clamp(1.45rem, 3.6vw, 1.95rem);
  line-height: 1.45;
}
.p-article_date { margin: 10px 0 0; color: var(--ink-sub); font-size: .88rem; }

.p-article_lead { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; margin: 24px 0 40px; }
.p-article_eye { margin: 0; max-width: 640px; }
.p-article_eye img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); }

.p-toc {
  padding: 18px 20px 14px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--teal);
  border-radius: var(--radius);
  background: #fff;
}
.p-toc_head { margin: 0 0 10px; font-family: var(--head); font-weight: 700; font-size: 1rem; }
.p-toc_list { margin: 0; padding: 0; list-style: none; font-size: .9rem; line-height: 1.6; }
.p-toc_item { padding-top: 5px; padding-bottom: 5px; }
.p-toc_item::before { top: calc(5px + .3em); }
.p-toc_item a { color: var(--ink); text-decoration: none; }
.p-toc_item a:hover { color: var(--teal); text-decoration: underline; }

@media (min-width: 900px) {
  .p-article_lead { grid-template-columns: minmax(0, 560px) minmax(0, 1fr); align-items: start; gap: 32px; }
}

.p-article_body { max-width: 720px; }

/* ---------- p-related ---------- */
.p-related { margin-top: 64px; padding-top: 28px; border-top: 1px solid var(--line); }
.p-related_head { margin: 0 0 18px; font-family: var(--head); font-weight: 700; font-size: 1.15rem; }
.p-related_list { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
.p-related_list .c-cover_body { padding: 28px 14px 12px; }
.p-related_list .c-cover_title { font-size: .92rem; }
@media (max-width: 599px) {
  .p-related_list { max-width: 640px; }
}
@media (min-width: 600px) { .p-related_list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) { .p-related_list { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---------- p-policy ---------- */
.p-policy { max-width: 720px; }
.p-policy_title { margin: 0; font-family: var(--head); font-weight: 700; font-size: clamp(1.45rem, 3.6vw, 1.85rem); }
.p-policy_date { margin: 6px 0 32px; color: var(--ink-sub); font-size: .88rem; }

/* ---------- p-missing（404） ---------- */
.p-missing { max-width: 720px; }
.p-missing_title { margin: 8px 0 12px; font-family: var(--head); font-weight: 700; font-size: clamp(1.3rem, 3.4vw, 1.7rem); line-height: 1.5; }
.p-missing_text { margin: 0 0 24px; color: var(--ink-sub); }
.p-missing .c-checklist { border-top: 1px solid var(--line); }
.p-missing_back { margin: 28px 0 0; }

/* ---------- l-footer ---------- */
.l-footer { background: var(--panel); border-top: 1px solid var(--line); color: var(--ink-sub); font-size: .86rem; }
.l-footer_inner {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 32px 20px 24px;
  display: flex;
  justify-content: space-between;
  gap: 20px 48px;
  flex-wrap: wrap;
}
.l-footer_about { flex: 1 1 420px; max-width: 640px; }
.l-footer_name { margin: 0 0 6px; color: var(--ink); font-family: var(--head); font-weight: 700; font-size: 1rem; }
.l-footer_note { margin: 0; line-height: 1.7; }
.l-footer_links { margin: 0; padding: 0; list-style: none; display: flex; gap: 8px 20px; flex-wrap: wrap; align-content: flex-start; }
.l-footer_links a { color: var(--ink); }
.l-footer_base { margin: 0; padding: 12px 20px 20px; max-width: var(--wide); margin-inline: auto; border-top: 1px solid var(--line); font-size: .76rem; }

@media (max-width: 599px) {
  body { font-size: 16px; }
  .l-header_inner { padding: 14px 16px 10px; }
  .c-brand_catch { padding-left: 0; border-left: 0; text-align: left; width: 100%; }
  .l-main { padding: 20px 16px 48px; }
  .c-prose h2 { font-size: 1.15rem; }
}

@media (prefers-reduced-motion: reduce) {
  .c-cover_img { transition: none; }
  .c-cover:hover .c-cover_img { transform: none; }
}
