/* ==========================================================
   み・らいず２ キャリア採用  main.css
   共通部分は新卒採用サイト（merise-recruit v2.0.14）と同じデザイン
   ========================================================== */

:root {
	/* コーポレートサイト（me-rise.com）準拠：イエロー × ブラック */
	--ink: #333;            /* 文字・線・アイコンの基本色（真っ黒より少しやわらかいグレー） */
	--text: #444;
	--muted: #666;
	--line: #e3e3e3;
	--bg: #fff;
	--bg-soft: #f6f6f6;
	--accent: #ffe100;       /* ブランドイエロー */
	--accent-dark: #f5cf00;  /* ホバー用 */
	--accent-soft: #fff9cc;  /* 淡いイエロー */
	--on-accent: #333;       /* イエロー上の文字 */
	--dark: #333;
	--dark-2: #3d3d3d;
	--ph: #eeeeee; /* 画像読み込み前の下地 */
	--bd: 2px solid var(--ink); /* 線 */

	--ff: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
	--ff-en: "Outfit", "Noto Sans JP", sans-serif;

	--header-h: 80px;
	--gutter: clamp(20px, 5vw, 64px);
	--container: 1200px;
	--radius: 14px;
	--ease: cubic-bezier(.22, .61, .36, 1);
}

@media (max-width: 767px) {
	:root { --header-h: 64px; }
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--ff); color: var(--text); background: var(--bg); font-size: 16px; line-height: 1.9; letter-spacing: .04em; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
body.is-locked { overflow: hidden; }

.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 1000; background: var(--ink); color: #fff; padding: 8px 16px; }
.skip-link:focus { left: 8px; }
.sp-only { display: none; }
@media (max-width: 767px) { .sp-only { display: inline; } }
.u-center { text-align: center; }

/* ---------- layout ---------- */
.l-container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.l-container--narrow { max-width: calc(880px + var(--gutter) * 2); }
.l-main { padding-top: var(--header-h); }

/* ---------- header ---------- */
.l-header { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h); background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.l-header.is-scrolled { border-color: var(--line); }
.l-header__inner { height: 100%; display: flex; align-items: center; gap: 24px; padding-inline: clamp(16px, 3vw, 40px); }
.l-header__logo { flex: none; display: flex; align-items: center; gap: 14px; line-height: 1.1; margin-right: auto; }
.l-header__logo-img { height: 44px; width: auto; }
/* サイト種別タグ（キャリア採用） */
.c-site-tag { flex: none; display: inline-flex; align-items: stretch; border: var(--bd); border-radius: 8px; overflow: hidden; line-height: 1; white-space: nowrap; }
.c-site-tag__ja { display: flex; align-items: center; padding: 8px 10px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 900; letter-spacing: .08em; }
.c-site-tag__year { display: flex; align-items: center; padding: 8px 10px; background: var(--accent); color: var(--ink); font-family: var(--ff-en); font-size: 15px; font-weight: 800; letter-spacing: .04em; }
.l-header__logo-name { font-weight: 900; font-size: 22px; color: var(--ink); letter-spacing: .06em; }
.l-header__logo-name .num { color: var(--accent); }
.l-header__logo-sub { font-family: var(--ff-en); font-weight: 600; font-size: 11px; letter-spacing: .24em; color: var(--muted); margin-top: 4px; }
.l-header__menu { display: flex; gap: clamp(14px, 1.6vw, 28px); }
.l-header__menu a { font-size: 14px; font-weight: 500; color: var(--ink); position: relative; padding: 6px 0; white-space: nowrap; }
.l-header__menu a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.l-header__menu a:hover::after, .l-header__menu .current-menu-item a::after { transform: scaleX(1); transform-origin: left; }

.c-btn-entry { display: inline-flex; align-items: center; justify-content: center; height: 48px; padding: 0 28px; border-radius: 999px; background: var(--accent); color: var(--on-accent); border: var(--bd); font-family: var(--ff-en); font-weight: 800; letter-spacing: .14em; font-size: 15px; transition: background .25s, transform .25s; }
.c-btn-entry:hover { background: var(--ink); color: var(--accent); transform: translateY(-1px); }

.l-header__toggle { display: none; align-items: center; gap: 10px; height: 48px; }
.l-header__toggle-lines { position: relative; width: 28px; height: 12px; }
.l-header__toggle-lines span { position: absolute; left: 0; width: 100%; height: 2px; background: var(--ink); transition: transform .35s var(--ease), top .35s var(--ease); }
.l-header__toggle-lines span:first-child { top: 0; }
.l-header__toggle-lines span:last-child { top: 10px; }
.l-header__toggle-label { font-family: var(--ff-en); font-weight: 600; font-size: 12px; letter-spacing: .16em; }
.l-header__toggle[aria-expanded="true"] .l-header__toggle-lines span:first-child { top: 5px; transform: rotate(20deg); }
.l-header__toggle[aria-expanded="true"] .l-header__toggle-lines span:last-child { top: 5px; transform: rotate(-20deg); }

@media (max-width: 1180px) {
	.l-header__nav { display: none; }
	.l-header__toggle { display: inline-flex; }
}
@media (max-width: 767px) {
	.l-header__inner { gap: 12px; }
	.l-header__logo-img { height: 34px; }
	.l-header__logo { gap: 8px; }
	.l-header__logo .c-site-tag { flex-direction: column; border-radius: 6px; }
	.l-header__logo .c-site-tag__ja { padding: 4px 6px; font-size: 10px; letter-spacing: .04em; justify-content: center; }
	.l-header__logo .c-site-tag__year { padding: 3px 6px; font-size: 11px; justify-content: center; }
	.l-header__logo-sub { font-size: 10px; }
	.c-btn-entry { height: 40px; padding: 0 16px; font-size: 13px; }
	.l-header__toggle-label { display: none; }
}

/* ---------- drawer ---------- */
.l-drawer { position: fixed; inset: var(--header-h) 0 0; z-index: 99; background: var(--accent); color: var(--ink); overflow-y: auto; opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s; }
.l-drawer.is-open { opacity: 1; visibility: visible; }
.l-drawer__inner { max-width: 1200px; margin: 0 auto; padding: clamp(32px, 6vw, 80px) var(--gutter); display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; }
.l-drawer__menu { counter-reset: dm; }
.l-drawer__menu li { counter-increment: dm; border-bottom: var(--bd); }
.l-drawer__menu a { display: flex; align-items: baseline; gap: 20px; padding: 18px 0; font-size: clamp(20px, 2.6vw, 28px); font-weight: 700; transition: color .2s, padding .3s var(--ease); }
.l-drawer__menu a::before { content: counter(dm, decimal-leading-zero); font-family: var(--ff-en); font-size: 13px; color: var(--ink); font-weight: 600; letter-spacing: .1em; }
.l-drawer__menu a:hover { padding-left: 8px; }
.l-drawer__side { display: flex; flex-direction: column; gap: 32px; }
.l-drawer__sub li + li { margin-top: 12px; }
.l-drawer__sub a { font-size: 14px; font-weight: 700; color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 767px) {
	.l-drawer__inner { grid-template-columns: 1fr; gap: 32px; }
}

/* ---------- buttons / links ---------- */
.c-arrow { display: inline-flex; transition: transform .3s var(--ease); }
.c-btn { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 56px; padding: 0 36px; border-radius: 999px; font-weight: 700; font-size: 15px; letter-spacing: .08em; transition: background .25s, color .25s, border-color .25s; border: var(--bd); }
.c-btn:hover .c-arrow { transform: translateX(4px); }
.c-btn--lg { min-height: 64px; padding: 0 44px; font-size: 16px; }
.c-btn--accent { background: var(--accent); color: var(--on-accent); }
.c-btn--accent:hover { background: var(--ink); color: var(--accent); }
.c-btn--dark { background: var(--ink); color: #fff; }
.c-btn--dark:hover { background: var(--accent); color: var(--on-accent); }
.c-btn--white { background: #fff; color: var(--ink); }
.c-btn--white:hover { background: var(--accent); color: var(--on-accent); }
.c-btn--line { border-color: var(--ink); color: var(--ink); }
.c-btn--line:hover { background: var(--ink); color: #fff; }
.c-btn--line-light { border-color: var(--ink); color: var(--ink); background: transparent; }
.c-btn--line-light:hover { background: var(--ink); color: var(--accent); }
.c-link { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink); border-bottom: 1.5px solid currentColor; padding-bottom: 4px; transition: color .2s; }
.c-link:hover { background: linear-gradient(transparent 55%, var(--accent) 55%); }
.c-link:hover .c-arrow { transform: translateX(4px); }

/* ---------- heading ---------- */
.c-heading { margin-bottom: clamp(32px, 5vw, 56px); }
.c-heading__en { font-family: var(--ff-en); font-weight: 800; font-size: clamp(44px, 7.2vw, 96px); line-height: .95; letter-spacing: .01em; color: var(--ink); }
.c-heading__ja { display: flex; align-items: center; gap: 12px; margin-top: 14px; font-size: clamp(15px, 1.4vw, 17px); font-weight: 700; color: var(--ink); letter-spacing: .12em; }
.c-heading__ja::before, .p-page-header__ja::before { content: ""; width: 42px; height: 27px; flex: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='350 360 1300 830'%3E%3Cg fill='none' stroke='%23333' stroke-width='52' stroke-linecap='round'%3E%3Cpath d='M773 398H1300'/%3E%3Cpath d='M880 1134L1382 991'/%3E%3C/g%3E%3Ccircle cx='1300' cy='700' r='301' fill='%23FFE100' stroke='%23333' stroke-width='52'/%3E%3Ccircle cx='773' cy='772' r='375' fill='none' stroke='%23333' stroke-width='52'/%3E%3C/svg%3E") center / contain no-repeat; }
.c-heading--light .c-heading__en, .c-heading--light .c-heading__ja { color: var(--ink); }

/* ---------- key visual（スライドショー） ---------- */
.p-kv { position: relative; overflow: hidden; background: #fff; --kv-h: clamp(520px, calc(100svh - var(--header-h)), 900px); --kv-dur: 6500ms; }
.p-kv__track { display: grid; }
.p-kv__slide { grid-area: 1 / 1; position: relative; height: var(--kv-h); opacity: 0; visibility: hidden; transition: opacity 1.4s var(--ease), visibility 0s 1.4s; }
.p-kv__slide.is-active { opacity: 1; visibility: visible; z-index: 1; transition: opacity 1.4s var(--ease), visibility 0s; }

/* 写真：右端を斜めにカット（資料のデザイン準拠） */
.p-kv__photo { position: absolute; left: 0; top: 0; bottom: 0; width: 73.5%; margin: 0; overflow: hidden; background: var(--ph); clip-path: polygon(0 0, 100% 0, 75.5% 100%, 0 100%); }
.p-kv__photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); transition: transform 1.4s var(--ease); }
.p-kv__slide.is-active .p-kv__photo img { transform: scale(1); transition: transform calc(var(--kv-dur) + 1.4s) linear; }

/* コピー：右の白地の中央 */
.p-kv__body { position: absolute; top: 0; bottom: 0; left: 61%; right: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 clamp(12px, 2vw, 32px); }
.p-kv__copy { font-size: clamp(17px, 1.75vw, 28px); font-weight: 900; line-height: 1.85; letter-spacing: .18em; color: var(--ink); word-break: keep-all; }
.p-kv__copy--main { font-size: clamp(19px, 2vw, 32px); letter-spacing: .16em; }
.p-kv__dept { margin-top: clamp(12px, 1.4vw, 22px); font-size: clamp(13px, 1.15vw, 18px); font-weight: 700; letter-spacing: .16em; color: var(--ink); }
.p-kv__dept a { display: inline-flex; align-items: center; gap: 8px; padding-bottom: 2px; background: linear-gradient(transparent 62%, var(--accent) 62%) no-repeat left / 0 100%; transition: background-size .4s var(--ease); }
.p-kv__dept a:hover { background-size: 100% 100%; }
.p-kv__dept .c-arrow { font-size: .9em; }
.p-kv__dept a:hover .c-arrow { transform: translateX(4px); }

/* 文字の出方 */
.p-kv__body > * { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.p-kv__slide.is-active .p-kv__body > * { opacity: 1; transform: none; transition: opacity 1s var(--ease) .7s, transform 1s var(--ease) .7s; }
.p-kv__slide.is-active .p-kv__body > * + * { transition-delay: 1s; }

/* 切り替えボタン＋進行バー */
.p-kv__nav { position: absolute; z-index: 3; right: clamp(16px, 3vw, 48px); bottom: clamp(48px, 6vw, 72px); display: flex; gap: 10px; }
.p-kv__dot { display: flex; flex-direction: column; gap: 6px; width: clamp(28px, 3vw, 44px); padding: 8px 0; font-family: var(--ff-en); font-size: 11px; font-weight: 800; letter-spacing: .06em; color: var(--muted); text-align: left; line-height: 1; }
.p-kv__dot { background: linear-gradient(var(--line), var(--line)) no-repeat left bottom 8px / 100% 3px; }
.p-kv__dot::after { content: ""; display: block; height: 3px; background: var(--ink); transform: scaleX(0); transform-origin: left; }
.p-kv__dot[aria-current="true"] { color: var(--ink); }
.p-kv__dot[aria-current="true"]::after { animation: kvBar var(--kv-dur) linear forwards; }
.p-kv.is-paused .p-kv__dot[aria-current="true"]::after { animation-play-state: paused; }
.p-kv.is-static .p-kv__dot[aria-current="true"]::after { animation: none; transform: none; }
@keyframes kvBar { from { transform: scaleX(0); } to { transform: scaleX(1); } }

@media (max-width: 767px) {
	.p-kv__slide { height: auto; }
	.p-kv__photo { position: relative; width: 100%; aspect-ratio: 4 / 3; clip-path: polygon(0 0, 100% 0, 100% 86%, 0 100%); }
	.p-kv__body { position: relative; left: auto; inset: auto; min-height: 168px; padding: 20px var(--gutter) 64px; }
	.p-kv__copy { font-size: clamp(17px, 4.8vw, 21px); letter-spacing: .12em; }
	.p-kv__copy--main { font-size: clamp(19px, 5.4vw, 24px); }
	.p-kv__dept { font-size: 13px; }
	.p-kv__nav { left: 0; right: 0; bottom: 20px; justify-content: center; }
}

/* ---------- news ---------- */
.p-news { padding: 0 0 clamp(80px, 10vw, 140px); }
.p-news__inner { display: grid; grid-template-columns: 320px 1fr; gap: clamp(24px, 5vw, 80px); }
.p-news__head .c-link { margin-top: 8px; }
@media (max-width: 900px) {
	.p-news__inner { grid-template-columns: 1fr; }
	.p-news__head { display: flex; justify-content: space-between; align-items: flex-end; }
	.p-news__head .c-heading { margin-bottom: 0; }
}
.c-news-list { border-top: 1px solid var(--line); }
.c-news-list__item { border-bottom: 1px solid var(--line); }
.c-news-list__link { display: grid; grid-template-columns: auto auto 1fr auto; align-items: center; gap: 12px 24px; padding: 26px 8px; transition: background .25s; }
.c-news-list__link:hover { background: var(--accent-soft); }
.c-news-list__link:hover .c-arrow { transform: translateX(4px); }
.c-news-list__date { font-family: var(--ff-en); font-weight: 600; font-size: 14px; color: var(--muted); letter-spacing: .06em; }
.c-news-list__cat { display: inline-block; font-size: 12px; font-weight: 700; padding: 2px 12px; border-radius: 999px; background: var(--accent); color: var(--on-accent); }
.c-news-list__title { font-weight: 500; line-height: 1.7; }
.c-news-list__empty { padding: 26px 8px; border-bottom: 1px solid var(--line); color: var(--muted); }
@media (max-width: 767px) {
	.c-news-list__link { grid-template-columns: auto 1fr; padding: 20px 4px; }
	.c-news-list__cat { justify-self: start; }
	.c-news-list__title { grid-column: 1 / -1; }
	.c-news-list__link .c-arrow { display: none; }
}
/* ---------- entry cta ---------- */
.p-entry { background: var(--accent); color: var(--on-accent); border-top: var(--bd); padding: clamp(80px, 10vw, 130px) var(--gutter); text-align: center; position: relative; overflow: hidden; }
.p-entry__en { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font-family: var(--ff-en); font-weight: 800; font-size: clamp(120px, 26vw, 360px); line-height: 1; color: rgba(255, 255, 255, .45); pointer-events: none; white-space: nowrap; }
.p-entry__inner { position: relative; max-width: 880px; margin: 0 auto; }
.p-entry__title { font-size: clamp(24px, 3.6vw, 46px); word-break: keep-all; font-weight: 900; line-height: 1.5; }
.p-entry__text { margin-top: 20px; font-weight: 500; }
.p-entry__btns { margin-top: 40px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.p-entry--inline { margin-top: clamp(64px, 8vw, 120px); }

/* ---------- footer ---------- */
.l-footer { background: #fff; color: var(--ink); border-top: var(--bd); }
.l-footer__inner { max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: clamp(56px, 7vw, 96px) var(--gutter) 40px; display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; }
.l-footer__logo { display: inline-flex; align-items: center; gap: 14px; }
.l-footer__logo img { height: 52px; width: auto; }

.l-footer__org { margin-top: 20px; font-weight: 700; color: var(--ink); }
.l-footer__note { font-size: 13px; margin: 6px 0 20px; }
.l-footer__menu { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 32px; }
.l-footer__menu a { font-size: 14px; font-weight: 500; }
.l-footer__menu a:hover { background: linear-gradient(transparent 55%, var(--accent) 55%); }
.l-footer__sns { display: flex; gap: 16px; margin-top: 32px; }
.l-footer__sns a { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; border: var(--bd); transition: background .25s; }
.l-footer__sns a:hover { background: var(--accent); }
.l-footer__bottom { max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 24px var(--gutter); border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.l-footer__copy { font-size: 12px; font-family: var(--ff-en); letter-spacing: .08em; color: var(--muted); }
.l-footer__pagetop { font-family: var(--ff-en); font-size: 12px; font-weight: 600; letter-spacing: .2em; display: inline-flex; gap: 8px; }
.l-footer__pagetop:hover { text-decoration: underline; }
@media (max-width: 767px) {
	.l-footer__inner { grid-template-columns: 1fr; }
	.l-footer__bottom { flex-direction: column-reverse; }
}

/* ==========================================================
   下層ページ
   ========================================================== */
.p-page-header { background: var(--accent-soft); position: relative; overflow: hidden; }
.p-page-header::after { content: ""; position: absolute; right: -8vw; top: -12vw; width: 36vw; height: 36vw; border-radius: 50%; background: var(--accent); border: var(--bd); }
.p-page-header__inner { position: relative; z-index: 1; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: clamp(40px, 6vw, 72px) var(--gutter) clamp(56px, 8vw, 104px); }
.p-page-header__en { font-family: var(--ff-en); font-weight: 800; font-size: clamp(52px, 9vw, 128px); line-height: .95; color: var(--ink); margin-top: clamp(24px, 4vw, 48px); }
.p-page-header__ja { display: flex; align-items: center; gap: 12px; margin-top: 16px; font-size: clamp(18px, 2vw, 24px); font-weight: 900; color: var(--ink); letter-spacing: .1em; }
.p-page-header__lead { margin-top: 28px; font-weight: 500; line-height: 2.1; max-width: 720px; }

.c-breadcrumb { display: flex; flex-wrap: wrap; gap: 10px; font-size: 12px; color: var(--muted); }
.c-breadcrumb a:hover { text-decoration: underline; }

/* news archive / single */
.p-news-archive { padding: clamp(56px, 8vw, 100px) 0; }
.c-cat-filter { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.c-cat-filter a { display: inline-block; padding: 8px 20px; border-radius: 999px; border: 1.5px solid var(--line); font-size: 14px; font-weight: 700; }
.c-cat-filter a:hover, .c-cat-filter a.is-current { background: var(--accent); color: var(--ink); border-color: var(--ink); }
.p-post__header { background: var(--accent-soft); padding: clamp(40px, 6vw, 72px) 0; margin-bottom: clamp(40px, 6vw, 72px); }
.p-post__meta { display: flex; gap: 16px; align-items: center; margin-top: 32px; font-family: var(--ff-en); font-weight: 600; color: var(--muted); }
.p-post__title { font-size: clamp(24px, 3vw, 36px); font-weight: 900; color: var(--ink); line-height: 1.55; margin-top: 12px; }
.p-post__thumb { margin-bottom: 48px; }
.p-post__thumb img { border-radius: 20px; }
.p-post__nav { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: center; padding-top: 56px; padding-bottom: 96px; font-size: 14px; font-weight: 700; }
.p-post__nav > div:last-child { text-align: right; }
.p-post__nav a:not(.c-btn):hover { text-decoration: underline; }
.p-404 { padding: 80px var(--gutter) 120px; }
.p-404 p { margin-bottom: 32px; }

/* news cards */
.c-news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 40px) clamp(16px, 2.4vw, 32px); }
@media (max-width: 900px) { .c-news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .c-news-grid { grid-template-columns: 1fr; } }
.c-news-card__link { display: block; }
.c-news-card__img { aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius); border: var(--bd); background: var(--accent-soft); display: grid; place-items: center; }
.c-news-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.c-news-card__img img.is-noimage { width: 50%; height: auto; object-fit: contain; }
.c-news-card__link:hover .c-news-card__img img { transform: scale(1.05); }
.c-news-card__meta { display: flex; align-items: center; gap: 12px; margin-top: 14px; font-family: var(--ff-en); font-weight: 600; font-size: 13px; color: var(--muted); }
.c-news-card__title { margin-top: 8px; font-size: 16px; font-weight: 700; line-height: 1.7; color: var(--ink); }
.c-news-card__link:hover .c-marker { background-size: 100% 100%; }
.c-entry .wp-block-image { margin-inline: 0; }
.c-entry .wp-block-image img { border: 1px solid var(--line); }

.c-entry p.is-style-mr-note { font-size: 14px; color: var(--muted); }

/* pagination */
.pagination { margin-top: 56px; }
.nav-links { display: flex; justify-content: center; gap: 8px; }
.page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: 999px; border: 1.5px solid var(--line); font-family: var(--ff-en); font-weight: 600; }
.page-numbers.current, .page-numbers:hover { background: var(--accent); border-color: var(--ink); color: var(--ink); }

/* ---------- entry content（本文） ---------- */
.c-entry { padding-bottom: clamp(40px, 6vw, 80px); }
.c-entry > * + * { margin-top: 1.6em; }
.c-entry p { line-height: 2.1; }
.c-entry > p + p { margin-top: .8em; }
.c-entry h2 { font-size: clamp(22px, 2.4vw, 28px); font-weight: 900; color: var(--ink); line-height: 1.5; margin-top: 2.6em; padding-bottom: 14px; border-bottom: 2px solid var(--ink); position: relative; }
.c-entry h2::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 64px; height: 6px; background: var(--accent); }
.c-entry h2:first-child { margin-top: 0; }
.c-entry h3 { font-size: clamp(18px, 1.8vw, 21px); font-weight: 700; color: var(--ink); margin-top: 2.2em; padding-left: 14px; border-left: 6px solid var(--accent); }
.c-entry a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; word-break: break-all; }
.c-entry ul { padding-left: 1.4em; list-style: disc; }
.c-entry ol { padding-left: 1.6em; list-style: decimal; }
.c-entry li + li { margin-top: .4em; }
.c-entry img { border-radius: 12px; }
.c-entry blockquote { margin: 2em 0; padding: 24px 28px; background: var(--bg-soft); border-radius: 12px; font-weight: 500; }
.c-entry figure { margin-inline: 0; }
.c-entry .wp-block-table table { width: 100%; border-collapse: collapse; }
.c-entry .wp-block-table th, .c-entry .wp-block-table td { border: 0; border-bottom: 1px solid var(--line); padding: 22px 16px; text-align: left; vertical-align: top; line-height: 1.9; }
.c-entry .wp-block-table th { width: 26%; font-weight: 700; color: var(--ink); background: var(--accent-soft); }
.c-entry .wp-block-table tr:first-child th, .c-entry .wp-block-table tr:first-child td { border-top: 2px solid var(--ink); }
@media (max-width: 600px) {
	.c-entry .wp-block-table th, .c-entry .wp-block-table td { display: block; width: 100%; }
	.c-entry .wp-block-table th { padding: 12px 14px; border-bottom: 0; }
	.c-entry .wp-block-table td { padding: 14px 14px 22px; }
}
/* 選考フロー（番号付きリスト + クラス is-style-mr-flow） */
.c-entry ol.is-style-mr-flow { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; counter-reset: flow; }
.c-entry ol.is-style-mr-flow li { counter-increment: flow; flex: 1 1 160px; margin: 0; position: relative; background: var(--bg-soft); border-radius: 12px; padding: 44px 16px 20px; font-weight: 700; color: var(--ink); text-align: center; line-height: 1.6; }
.c-entry ol.is-style-mr-flow li::before { content: "STEP " counter(flow, decimal-leading-zero); position: absolute; left: 0; right: 0; top: 14px; font-family: var(--ff-en); font-size: 12px; font-weight: 800; letter-spacing: .14em; color: var(--ink); }
.c-entry ol.is-style-mr-flow li:last-child { background: var(--accent); color: var(--on-accent); border: var(--bd); }

/* ---------- reveal animation ---------- */
.js-reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js-reveal.is-inview { opacity: 1; transform: none; }
.no-js .js-reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.js-reveal { opacity: 1; transform: none; }
}


/* ==========================================================
   v2.0（28卒リニューアル）で追加
   ========================================================== */

/* ---------- 共通：中央ボタン（募集要項はこちら など） ---------- */
.c-center-btn { display: flex; justify-content: center; padding: clamp(40px, 6vw, 72px) var(--gutter); }
.c-pill { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 60px; padding: 0 clamp(28px, 4vw, 52px); border-radius: 999px; background: var(--accent); color: var(--ink); border: var(--bd); font-weight: 900; font-size: clamp(16px, 1.6vw, 20px); letter-spacing: .14em; box-shadow: 5px 5px 0 var(--ink); transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s; }
.c-pill:hover { transform: translate(3px, 3px); box-shadow: 2px 2px 0 var(--ink); }
.c-pill:hover .c-arrow { transform: translateX(4px); }
.c-pill--sm { min-height: 46px; font-size: 14px; padding: 0 26px; box-shadow: 3px 3px 0 var(--ink); letter-spacing: .1em; }
.c-pill--sm:hover { box-shadow: 1px 1px 0 var(--ink); transform: translate(2px, 2px); }

/* 見出し＋右側リンク */
.c-sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 24px; flex-wrap: wrap; margin-bottom: clamp(28px, 4vw, 48px); }
.c-sec-head .c-heading { margin-bottom: 0; }
.c-sec-head__lead { max-width: 520px; line-height: 2; }

/* ハッシュタグ */
.c-hashtags { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 13px; font-weight: 700; color: var(--ink); line-height: 1.7; }
.c-hashtags li::before { content: "#"; margin-right: 1px; color: var(--muted); }

/* 黄色マーカー：複数行でも各行の文字の下に引く */
.c-marker { background: linear-gradient(transparent 60%, var(--accent) 60%) no-repeat left / 0 100%; -webkit-box-decoration-break: clone; box-decoration-break: clone; transition: background-size .4s var(--ease); }
/* v2.0.13：「新卒採用」タグ＝黄色地、年度＝白地（黒・グレーの地は使わない） */
.c-site-tag__ja { background: var(--accent); color: var(--ink); }
.c-site-tag__year { background: #fff; color: var(--ink); border-left: 2px solid var(--ink); }
.l-header__logo .c-site-tag__year { border-left: 0; border-top: 2px solid var(--ink); }
@media (min-width: 768px) { .l-header__logo .c-site-tag__year { border-top: 0; border-left: 2px solid var(--ink); } }
/* ==========================================================
   v2.0.14：黒・グレー地のラベル／ボタンをやめ、黄色・クリーム・白にそろえる
   ========================================================== */
.c-btn-entry:hover { background: #fff; color: var(--ink); }
.c-btn--accent:hover { background: #fff; color: var(--ink); }
.c-btn--dark { background: var(--accent); color: var(--ink); }
.c-btn--line:hover { background: var(--accent); color: var(--ink); }
.c-btn--line-light:hover { background: #fff; color: var(--ink); }

/* ==========================================================
   キャリア採用サイト用（ここから下）
   ========================================================== */

/* サイト種別タグ：キャリア採用（黄色地） */
.c-site-tag__ja { background: var(--accent); color: var(--ink); }
@media (max-width: 767px) {
	.l-header__logo .c-site-tag__ja { padding: 6px 7px; font-size: 11px; }
}
.c-btn-entry { font-family: var(--ff); font-weight: 900; letter-spacing: .1em; white-space: nowrap; }
.c-ext { display: inline-flex; margin-left: 2px; }
.l-drawer__side .c-btn { align-self: flex-start; }

/* ---------- KV（写真だけ切り替え、コピーは固定） ---------- */
.p-kv__body { z-index: 2; left: 61%; }
.p-kv__body > * { opacity: 1; transform: none; }
.p-kv__label { display: inline-flex; align-items: center; gap: 10px; margin-bottom: clamp(16px, 2vw, 28px); padding: 6px 16px 6px 6px; border: var(--bd); border-radius: 999px; background: #fff; font-size: clamp(13px, 1.1vw, 15px); font-weight: 900; letter-spacing: .14em; color: var(--ink); line-height: 1; }
.p-kv__label span { padding: 6px 10px; border-radius: 999px; background: var(--accent); font-family: var(--ff-en); font-size: .85em; letter-spacing: .14em; }
.p-kv__copy { font-size: clamp(18px, 1.9vw, 30px); letter-spacing: .14em; line-height: 1.9; }
.p-kv.is-ready .p-kv__body > * { animation: kvIn 1.1s var(--ease) both; }
.p-kv.is-ready .p-kv__body > * + * { animation-delay: .25s; }
@keyframes kvIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (max-width: 767px) {
	.p-kv { display: flex; flex-direction: column; }
	.p-kv__body { position: relative; inset: auto; left: auto; min-height: 0; padding: 8px var(--gutter) 56px; }
	.p-kv__copy { font-size: clamp(18px, 5.2vw, 23px); letter-spacing: .1em; }
	.p-kv__nav { bottom: 20px; }
}

/* ---------- イントロ（黄色） ---------- */
.p-intro { background: var(--accent); border-top: var(--bd); border-bottom: var(--bd); padding: clamp(64px, 8vw, 112px) 0; position: relative; overflow: hidden; }
.p-intro::before { content: "CAREER"; position: absolute; right: -2vw; bottom: -3vw; font-family: var(--ff-en); font-weight: 800; font-size: clamp(100px, 18vw, 260px); line-height: 1; color: rgba(255, 255, 255, .45); pointer-events: none; }
.p-intro__inner { position: relative; max-width: calc(860px + var(--gutter) * 2); }
.p-intro__text p { font-size: clamp(15px, 1.4vw, 18px); font-weight: 700; line-height: 2.2; color: var(--ink); }
.p-intro__text p + p { margin-top: .6em; }
.p-intro__btns { margin-top: clamp(32px, 4vw, 48px); }
.p-intro .c-pill { background: #fff; }
.p-intro .c-pill:hover { background: #fff; }

/* ---------- お知らせ（トップ） ---------- */
.p-news { padding-top: clamp(80px, 10vw, 140px); }

/* ---------- 共通ボタン ---------- */
.c-pill--white { background: #fff; }
.c-link--sm { font-size: 14px; }
.p-entry__btns .c-pill { min-width: 240px; }
.p-entry__mail { margin-top: 28px; font-size: 14px; font-weight: 700; }
.p-entry__mail a { text-decoration: underline; text-underline-offset: 3px; }
.p-entry__en { top: auto; bottom: -.18em; transform: translateX(-50%); }
.l-footer__btns { display: flex; flex-wrap: wrap; gap: 12px; }
.l-footer__btns .c-btn { min-height: 46px; padding: 0 22px; font-size: 14px; }
.l-footer__note a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 募集職種カード ---------- */
.p-top-jobs { padding: clamp(80px, 10vw, 140px) 0 clamp(16px, 3vw, 32px); background: var(--bg-soft); border-top: var(--bd); }
.c-job-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.4vw, 32px); }
@media (max-width: 960px) { .c-job-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .c-job-grid { grid-template-columns: 1fr; } }
.c-job { height: 100%; }
.c-job__link { display: flex; flex-direction: column; height: 100%; background: #fff; border: var(--bd); border-radius: 20px; overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.c-job__link:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--ink); }
.c-job__img { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-bottom: var(--bd); background: var(--accent-soft); display: grid; place-items: center; }
.c-job__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.c-job__img img.is-noimage { width: 44%; height: auto; object-fit: contain; }
.c-job__link:hover .c-job__img img { transform: scale(1.04); }
.c-job__closed { position: absolute; left: 12px; top: 12px; padding: 4px 14px; border-radius: 999px; background: #fff; border: 1.5px solid var(--ink); font-size: 12px; font-weight: 900; color: var(--ink); letter-spacing: .1em; }
.c-job__closed.is-inline { position: static; margin-left: 12px; vertical-align: middle; }
.c-job.is-closed .c-job__img img { filter: grayscale(1) opacity(.7); }
.c-job__body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 24px; }
.c-job__office { align-self: flex-start; padding: 2px 12px; border-radius: 999px; background: var(--accent); border: 1.5px solid var(--ink); font-size: 12px; font-weight: 900; color: var(--ink); letter-spacing: .06em; }
.c-job__title { margin-top: 12px; font-size: 16px; font-weight: 900; line-height: 1.7; color: var(--ink); }
.c-job__link:hover .c-marker { background-size: 100% 100%; }
.c-job__lead { margin-top: 10px; font-size: 13px; line-height: 1.85; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.c-job .c-job-tags { margin-top: auto; padding-top: 16px; }
.c-job-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.c-job-tags li, .c-job-tags a { display: inline-flex; align-items: center; gap: 4px; padding: 3px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; line-height: 1.6; color: var(--ink); }
.c-job-tags li { border: 1.5px solid var(--line); background: #fff; }
.c-job-tags li.is-area { background: var(--bg-soft); border-color: var(--bg-soft); }
.c-job-tags li:has(a) { padding: 0; }
.c-job-tags a:hover { background: var(--accent-soft); }

/* 絞り込み */
.c-filter { display: grid; gap: 14px; margin-bottom: clamp(32px, 5vw, 56px); padding: clamp(20px, 3vw, 28px); background: var(--bg-soft); border-radius: 20px; }
.c-filter__row { display: grid; grid-template-columns: 88px 1fr; gap: 12px; align-items: start; }
.c-filter__label { font-size: 13px; font-weight: 900; color: var(--ink); padding-top: 8px; letter-spacing: .08em; }
.c-filter .c-cat-filter { margin: 0; gap: 8px; }
.c-cat-filter a { background: #fff; }
.c-cat-filter__count { margin-left: 6px; font-family: var(--ff-en); font-size: 12px; color: var(--muted); }
@media (max-width: 600px) { .c-filter__row { grid-template-columns: 1fr; gap: 4px; } .c-filter__label { padding-top: 0; } }

/* ---------- 代表あいさつ ---------- */
.p-message { padding: clamp(80px, 10vw, 140px) 0 clamp(56px, 7vw, 96px); }
.p-message__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.p-message__img { margin: 0; border-radius: 20px; overflow: hidden; border: var(--bd); aspect-ratio: 4 / 5; background: var(--ph); position: sticky; top: calc(var(--header-h) + 24px); }
.p-message__img img { width: 100%; height: 100%; object-fit: cover; object-position: 38% center; }
.p-message__body { padding-top: 0; }
.p-message__text { font-size: clamp(15px, 1.35vw, 17px); font-weight: 500; line-height: 2.3; color: var(--ink); }
.p-message__sign { text-align: right; margin-top: 2em; font-size: 24px; font-weight: 900; color: var(--ink); }
.p-message__sign span { font-size: 14px; font-weight: 500; margin-right: 16px; }
@media (max-width: 767px) {
	.p-message__grid { grid-template-columns: 1fr; }
	.p-message__img { position: static; aspect-ratio: 4 / 3; }
	.p-message__text br { display: none; }
}

/* ---------- 理念・ビジョン ---------- */
.p-mission { padding: clamp(56px, 7vw, 96px) 0 clamp(80px, 10vw, 140px); }
.p-mission__list { display: grid; gap: clamp(32px, 5vw, 64px); }
.p-mission__item { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: center; }
.p-mission__item:nth-child(even) .p-mission__img { order: 2; }
.p-mission__img { margin: 0; aspect-ratio: 3 / 2; border-radius: 20px; overflow: hidden; border: var(--bd); background: var(--ph); }
.p-mission__img img { width: 100%; height: 100%; object-fit: cover; }
.p-mission__en { font-family: var(--ff-en); font-weight: 800; font-size: clamp(36px, 4.4vw, 56px); line-height: 1; color: var(--ink); }
.p-mission__en::after { content: ""; display: block; width: 56px; height: 6px; margin-top: 14px; background: var(--accent); }
.p-mission__title { margin-top: 18px; font-size: clamp(18px, 1.8vw, 22px); font-weight: 900; color: var(--ink); letter-spacing: .08em; }
.p-mission__text { margin-top: 14px; line-height: 2.1; }
@media (max-width: 767px) {
	.p-mission__item { grid-template-columns: 1fr; }
	.p-mission__item:nth-child(even) .p-mission__img { order: 0; }
}

/* ---------- 事業概要 ---------- */
.p-depts { padding: clamp(80px, 10vw, 140px) 0; background: var(--accent-soft); border-top: var(--bd); }
.p-depts .c-sec-head__lead { max-width: 600px; }
.p-depts__list { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(16px, 2vw, 28px); }
.p-dept { grid-column: span 2; display: flex; flex-direction: column; background: #fff; border: var(--bd); border-radius: 20px; overflow: hidden; }
.p-dept:nth-child(4) { grid-column: 2 / span 2; }
@media (max-width: 960px) {
	.p-depts__list { grid-template-columns: repeat(2, 1fr); }
	.p-dept, .p-dept:nth-child(4) { grid-column: auto; }
}
@media (max-width: 600px) { .p-depts__list { grid-template-columns: 1fr; } }
.p-dept__img { margin: 0; aspect-ratio: 16 / 10; overflow: hidden; border-bottom: var(--bd); background: var(--ph); }
.p-dept__img img { width: 100%; height: 100%; object-fit: cover; }
.p-dept__body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 24px; }
.p-dept__key { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; color: var(--muted); }
.p-dept__key span { font-family: var(--ff-en); font-weight: 800; font-size: 13px; color: var(--ink); background: var(--accent); border: 1.5px solid var(--ink); border-radius: 999px; padding: 0 10px; }
.p-dept__name { margin-top: 8px; font-size: 20px; font-weight: 900; color: var(--ink); letter-spacing: .06em; }
.p-dept__text { margin-top: 10px; font-size: 14px; line-height: 1.95; }
.p-dept__services { margin: 14px 0 18px; display: flex; flex-wrap: wrap; gap: 6px; }
.p-dept__services li { font-size: 12px; font-weight: 700; padding: 2px 10px; border-radius: 6px; background: var(--bg-soft); color: var(--ink); }
.p-dept .c-link { margin-top: auto; align-self: flex-start; }

/* ---------- 働き方 ---------- */
.p-style { padding: clamp(80px, 10vw, 140px) 0; }
.p-style__stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(16px, 2.4vw, 32px); }
@media (max-width: 767px) { .p-style__stats { grid-template-columns: 1fr; } }
.p-stat { position: relative; overflow: hidden; padding: clamp(24px, 3vw, 40px); border: var(--bd); border-radius: 20px; background: #fff; }
.p-stat::after { content: ""; position: absolute; right: -50px; bottom: -50px; width: 150px; height: 150px; border-radius: 50%; background: var(--accent); border: var(--bd); }
.p-stat__label { position: relative; z-index: 1; display: inline-block; font-size: 14px; font-weight: 900; color: var(--ink); padding-bottom: 4px; border-bottom: 3px solid var(--accent); }
.p-stat__value { position: relative; z-index: 1; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin-top: 14px; color: var(--ink); }
.p-stat__pre { font-weight: 700; font-size: 15px; }
.p-stat__num { font-family: var(--ff-en); font-weight: 800; font-size: clamp(64px, 8vw, 104px); line-height: 1; }
.p-stat__unit { font-weight: 900; font-size: 22px; margin-left: -6px; }
.p-stat__text { position: relative; z-index: 1; margin-top: 6px; font-weight: 700; }
.p-style__note { margin-top: 12px; font-size: 12px; color: var(--muted); text-align: right; }
.p-style__list { margin-top: clamp(48px, 6vw, 80px); display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); }
@media (max-width: 860px) { .p-style__list { grid-template-columns: 1fr; max-width: 560px; } }
.p-style__img { margin: 0 0 18px; aspect-ratio: 3 / 2; border-radius: 20px; overflow: hidden; border: var(--bd); background: var(--ph); }
.p-style__img img { width: 100%; height: 100%; object-fit: cover; }
.p-style__num { font-family: var(--ff-en); font-weight: 800; font-size: 13px; letter-spacing: .2em; color: var(--ink); }
.p-style__title { margin-top: 4px; font-size: clamp(19px, 1.8vw, 22px); font-weight: 900; color: var(--ink); line-height: 1.5; }
.p-style__text { margin-top: 12px; font-size: 15px; line-height: 2; }

/* ---------- 働く人びと ---------- */
.p-top-people { padding: clamp(80px, 10vw, 140px) 0 clamp(24px, 4vw, 48px); background: var(--accent-soft); border-top: var(--bd); }
.c-people-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2.4vw, 32px); }
@media (max-width: 900px) { .c-people-grid { grid-template-columns: repeat(2, 1fr); } }
.c-people__link { display: block; color: var(--ink); }
.c-people__img { aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: var(--bd); background: var(--accent); display: grid; place-items: center; }
.c-people__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.c-people__img img.is-noimage { width: 50%; height: auto; object-fit: contain; }
.c-people__link:hover .c-people__img img { transform: scale(1.05); }
.c-people__career { margin-top: 16px; text-align: center; font-size: 13px; font-weight: 700; color: var(--muted); }
.c-people__name { margin-top: 2px; text-align: center; font-size: 20px; font-weight: 900; letter-spacing: .12em; }
.c-people__more { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 6px; font-size: 13px; font-weight: 700; }
.c-people__link:hover .c-people__more { text-decoration: underline; text-underline-offset: 3px; }
.c-people__link:hover .c-arrow { transform: translateX(4px); }

/* ---------- 選考フロー ---------- */
.p-flow { padding: clamp(80px, 10vw, 140px) 0 clamp(48px, 6vw, 80px); }
.p-flow__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2vw, 24px); counter-reset: f; }
@media (max-width: 960px) { .p-flow__list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .p-flow__list { grid-template-columns: 1fr; } }
.p-flow__item { position: relative; padding: 28px 24px 26px; border: var(--bd); border-radius: 20px; background: #fff; }
.p-flow__item:last-child { background: var(--accent); }
.p-flow__item:not(:last-child)::after { content: ""; position: absolute; right: -19px; top: 50%; z-index: 1; width: 22px; height: 22px; transform: translateY(-50%) rotate(45deg); border-top: var(--bd); border-right: var(--bd); background: #fff; display: none; }
@media (min-width: 961px) { .p-flow__item:not(:last-child)::after { display: block; right: -13px; width: 18px; height: 18px; border-radius: 0 4px 0 0; } }
.p-flow__step { font-family: var(--ff-en); font-weight: 800; font-size: 13px; letter-spacing: .18em; color: var(--ink); }
.p-flow__title { margin-top: 6px; font-size: 19px; font-weight: 900; color: var(--ink); }
.p-flow__text { margin-top: 10px; font-size: 14px; line-height: 1.9; }
.p-flow__note { margin-top: 24px; font-size: 14px; }
.p-flow__note a { font-weight: 700; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- FAQ ---------- */
.p-faq { padding: clamp(48px, 6vw, 80px) 0 clamp(80px, 10vw, 140px); }
.p-faq__list { display: grid; gap: 14px; }
.p-faq__item { border: var(--bd); border-radius: 16px; background: #fff; overflow: hidden; }
.p-faq__q { display: flex; align-items: center; gap: 16px; padding: 20px 22px; cursor: pointer; list-style: none; font-weight: 900; color: var(--ink); line-height: 1.7; }
.p-faq__q::-webkit-details-marker { display: none; }
.p-faq__q:hover { background: var(--accent-soft); }
.p-faq__mark { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--accent); border: 1.5px solid var(--ink); font-family: var(--ff-en); font-weight: 800; color: var(--ink); }
.p-faq__qtext { flex: 1; }
.p-faq__icon { flex: none; position: relative; width: 16px; height: 16px; }
.p-faq__icon::before, .p-faq__icon::after { content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 2px; background: var(--ink); transition: transform .3s var(--ease); }
.p-faq__icon::after { transform: rotate(90deg); }
.p-faq__item[open] .p-faq__icon::after { transform: rotate(0); }
.p-faq__a { display: flex; gap: 16px; padding: 4px 22px 24px; line-height: 2; }
.p-faq__a .p-faq__mark { background: #fff; }
.p-faq__a p + p { margin-top: .4em; }

/* ---------- 募集職種 詳細 ---------- */
.p-job__office { margin-top: 28px; }
.p-job__office { display: inline-flex; align-items: center; padding: 2px 14px; border-radius: 999px; background: var(--accent); border: 1.5px solid var(--ink); font-size: 13px; font-weight: 900; color: var(--ink); }
.p-post__header .c-job-tags { margin-top: 16px; }
.p-job__lead { margin-bottom: 40px; padding: clamp(20px, 3vw, 32px); border-radius: 16px; background: var(--accent-soft); border-left: 6px solid var(--accent); font-weight: 700; color: var(--ink); line-height: 2; }
.p-job__lead p + p { margin-top: .4em; }
.p-job__closed-note { margin-bottom: 32px; padding: 16px 20px; border: 2px dashed var(--ink); border-radius: 12px; font-weight: 700; }
.p-job__closed-note a { text-decoration: underline; }
.p-job-apply { margin: clamp(24px, 4vw, 48px) 0 clamp(64px, 8vw, 96px); padding: clamp(28px, 4vw, 48px); border: var(--bd); border-radius: 24px; background: var(--accent); text-align: center; }
.p-job-apply__title { font-size: clamp(20px, 2.2vw, 26px); font-weight: 900; color: var(--ink); }
.p-job-apply__text { margin-top: 10px; font-size: 14px; font-weight: 500; }
.p-job-apply__text a { text-decoration: underline; }
.p-job-apply__btns { margin-top: 24px; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.p-job-apply__btns .c-pill { min-height: 54px; font-size: 16px; }
.p-related { padding: clamp(72px, 9vw, 120px) 0 clamp(24px, 4vw, 48px); background: var(--bg-soft); border-top: var(--bd); }

/* 本文 */
.c-entry h4 { font-size: 17px; font-weight: 900; color: var(--ink); margin-top: 2em; padding: 10px 16px; background: var(--bg-soft); border-radius: 8px; border-left: 6px solid var(--accent); }
.c-entry h3 { padding-left: 14px; }
.c-entry .wp-block-image img, .c-entry img { border-radius: 14px; border: 1px solid var(--line); }
.c-entry a.c-content-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 32px; border-radius: 999px; background: var(--accent); color: var(--ink); border: var(--bd); font-weight: 900; text-decoration: none; box-shadow: 4px 4px 0 var(--ink); transition: transform .25s var(--ease), box-shadow .25s; }
.c-entry a.c-content-btn:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }
.p-post__header .c-breadcrumb, .p-person__crumb { margin-bottom: 4px; }

/* ---------- 働く人びと 詳細 ---------- */
.p-person { padding: clamp(32px, 5vw, 56px) 0 0; }
.p-person__head { display: grid; grid-template-columns: 260px 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; margin: clamp(28px, 4vw, 48px) 0 clamp(32px, 5vw, 56px); }
.p-person__img { margin: 0; aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: var(--bd); background: var(--accent); }
.p-person__img img { width: 100%; height: 100%; object-fit: cover; }
.p-person__en { font-family: var(--ff-en); font-weight: 800; font-size: clamp(40px, 6vw, 72px); line-height: 1; color: var(--ink); }
.p-person__career { margin-top: 16px; display: inline-block; padding: 2px 14px; border-radius: 999px; background: var(--accent); border: 1.5px solid var(--ink); font-size: 13px; font-weight: 900; color: var(--ink); }
.p-person__name { margin-top: 10px; font-size: clamp(26px, 3vw, 36px); font-weight: 900; letter-spacing: .14em; color: var(--ink); }
.p-person__body { padding: clamp(24px, 4vw, 40px); border-radius: 20px; background: var(--accent-soft); }
.p-person__body p { font-size: 16px; line-height: 2.2; }
@media (max-width: 600px) { .p-person__head { grid-template-columns: 1fr; justify-items: center; text-align: center; } .p-person__img { width: 200px; } }

.p-page-body { padding-top: clamp(48px, 6vw, 80px); padding-bottom: 40px; }

/* ---------- スマホ：下部固定ボタン ---------- */
.c-fixed-cta { display: none; }
@media (max-width: 767px) {
	.c-fixed-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96); border-top: 1.5px solid var(--ink); transform: translateY(110%); transition: transform .35s var(--ease); }
	.c-fixed-cta.is-shown { transform: none; }
	.c-fixed-cta__btn { display: flex; align-items: center; justify-content: center; height: 46px; border-radius: 999px; border: var(--bd); font-weight: 900; font-size: 14px; letter-spacing: .08em; color: var(--ink); background: #fff; }
	.c-fixed-cta__btn.is-entry { background: var(--accent); }
	.l-footer { padding-bottom: 70px; }
}
@media (max-width: 767px) {
	.p-entry__title { font-size: clamp(19px, 5.4vw, 24px); word-break: normal; overflow-wrap: anywhere; }
}
