/* ==========================================================
   み・らいず２ 新卒採用 2028  main.css
   ========================================================== */

: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; }
/* サイト種別タグ（新卒採用 2028） */
.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); }

/* ==========================================================
   TOP
   ========================================================== */

/* ---------- 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; }
}

/* ---------- course ---------- */
.p-course { padding: clamp(80px, 10vw, 140px) 0; background: var(--accent-soft); }
.p-course__list { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(16px, 2.4vw, 32px); margin-bottom: clamp(40px, 5vw, 64px); }
.p-course__item { background: #fff; border: var(--bd); border-radius: 20px; padding: clamp(28px, 3.6vw, 48px); position: relative; overflow: hidden; }
.p-course__item::after { content: ""; position: absolute; right: -40px; top: -40px; width: 120px; height: 120px; border-radius: 50%; background: var(--accent); border: var(--bd); }
.p-course__label { font-family: var(--ff-en); font-weight: 800; font-size: 13px; letter-spacing: .2em; color: var(--ink); }
.p-course__title { font-size: clamp(20px, 2vw, 26px); font-weight: 900; color: var(--ink); line-height: 1.5; margin: 8px 0 20px; position: relative; z-index: 1; }
.p-course__text { line-height: 2; }
.p-course__place { margin-top: 20px; padding-top: 20px; border-top: 1px dashed var(--line); font-size: 14px; color: var(--muted); display: flex; gap: 12px; line-height: 1.8; }
.p-course__place span { flex: none; font-weight: 700; color: var(--on-accent); background: var(--accent); border-radius: 4px; padding: 0 8px; height: fit-content; }
@media (max-width: 767px) { .p-course__list { grid-template-columns: 1fr; } }

/* ---------- 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; }

/* year */
.p-year { padding: clamp(72px, 9vw, 130px) 0; }
.p-year--gray { background: var(--accent-soft); }
.p-year__intro { max-width: 760px; line-height: 2.1; margin: -16px 0 clamp(40px, 5vw, 64px); }
.p-timeline { position: relative; }
.p-timeline::before { content: ""; position: absolute; left: 59px; top: 10px; bottom: 10px; width: 2px; background: var(--ink); }
.p-timeline__item { display: grid; grid-template-columns: 120px 1fr; gap: clamp(16px, 3vw, 40px); position: relative; }
.p-timeline__item + .p-timeline__item { margin-top: clamp(56px, 7vw, 96px); }
.p-timeline__month { width: 120px; height: 120px; border-radius: 50%; background: var(--accent); color: var(--on-accent); border: var(--bd); display: flex; align-items: baseline; justify-content: center; padding-top: 30px; position: relative; z-index: 1; }
.p-timeline__num { font-family: var(--ff-en); font-weight: 800; font-size: 48px; line-height: 1; }
.p-timeline__unit { font-weight: 700; font-size: 16px; margin-left: 2px; }
.p-timeline__title { font-size: clamp(24px, 2.6vw, 32px); font-weight: 900; color: var(--ink); margin-top: 14px; }
.p-timeline__text { margin: 14px 0 24px; line-height: 2; max-width: 760px; }
@media (max-width: 767px) {
	.p-timeline::before { left: 35px; }
	.p-timeline__item { grid-template-columns: 72px 1fr; }
	.p-timeline__month { width: 72px; height: 72px; padding-top: 18px; }
	.p-timeline__num { font-size: 30px; }
	.p-timeline__unit { font-size: 12px; }
	.p-timeline__title { margin-top: 16px; }
}
.c-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.c-gallery--5 { grid-template-columns: repeat(5, 1fr); }
.c-gallery__item { aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: var(--ph); }
.c-gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.c-gallery__item:hover img { transform: scale(1.06); }
@media (max-width: 767px) {
	.c-gallery { grid-template-columns: repeat(2, 1fr); }
	.c-gallery--5 { grid-template-columns: repeat(2, 1fr); }
	.c-gallery--5 .c-gallery__item:first-child { grid-column: 1 / -1; aspect-ratio: 2 / 1; }
}
.p-regular { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(24px, 3vw, 48px); }
@media (max-width: 767px) { .p-regular { grid-template-columns: 1fr; } }
.p-regular__img { aspect-ratio: 16 / 10; border-radius: 20px; overflow: hidden; background: var(--ph); border: var(--bd); }
.p-regular__img img { width: 100%; height: 100%; object-fit: cover; }
.p-regular__title { font-size: 24px; font-weight: 900; color: var(--ink); margin: 24px 0 12px; }
.p-regular__text { line-height: 2; }

/* training */
.p-training { padding: clamp(72px, 9vw, 130px) 0 clamp(40px, 6vw, 80px); }
.p-training__list { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(32px, 4vw, 56px) clamp(24px, 3vw, 48px); }
.p-training__item:first-child { grid-column: 1 / -1; display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.p-training__img { aspect-ratio: 16 / 10; border-radius: 20px; overflow: hidden; background: var(--ph); border: var(--bd); }
.p-training__img img { width: 100%; height: 100%; object-fit: cover; }
.p-training__body { padding-top: 22px; }
.p-training__item:first-child .p-training__body { padding-top: 0; }
.p-training__meta { display: flex; align-items: center; gap: 14px; }
.p-training__num { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--accent); border: var(--bd); font-family: var(--ff-en); font-weight: 800; font-size: 18px; color: var(--on-accent); line-height: 1; }
.p-training__target { font-size: 12px; font-weight: 700; padding: 3px 12px; border-radius: 999px; border: 1.5px solid var(--ink); color: var(--ink); }
.p-training__title { font-size: clamp(22px, 2.4vw, 28px); font-weight: 900; color: var(--ink); margin: 12px 0 14px; }
.p-training__text { line-height: 2.05; }
@media (max-width: 767px) {
	.p-training__list { grid-template-columns: 1fr; }
	.p-training__item:first-child { grid-template-columns: 1fr; }
	.p-training__item:first-child .p-training__body { padding-top: 22px; }
}

/* message */
.p-message { padding-bottom: clamp(40px, 6vw, 80px); }
.p-message__visual { max-width: 1400px; margin: 0 auto; aspect-ratio: 21 / 9; overflow: hidden; background: var(--ph); }
.p-message__visual img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
@media (max-width: 767px) { .p-message__visual { aspect-ratio: 4 / 3; } }
.p-message__body { padding-top: clamp(56px, 8vw, 104px); }
.p-message__body p { font-size: clamp(16px, 1.5vw, 19px); font-weight: 500; line-height: 2.3; color: var(--ink); }
.p-message__body p + p { margin-top: 2em; }
.p-message__sign { text-align: right; margin-top: 3em !important; font-size: 24px !important; font-weight: 900 !important; }
.p-message__sign span { font-size: 14px; font-weight: 500; margin-right: 16px; }

/* information */
.p-info-course { padding: clamp(72px, 9vw, 120px) 0 0; }
.p-info-course .p-course__item { background: #fff; }
.p-info-course .p-course__list { margin-bottom: 0; }
.p-info-body { padding-top: clamp(40px, 6vw, 80px); }

/* 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); }

/* ---------- TOP：み・らいず２について（黄色） ---------- */
.p-top-about { background: var(--accent); border-top: var(--bd); border-bottom: var(--bd); }
.p-top-about__inner { max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: clamp(64px, 8vw, 112px) var(--gutter); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.p-top-about__text { text-align: center; color: var(--ink); }
.p-top-about__text p { font-size: clamp(15px, 1.35vw, 18px); font-weight: 500; line-height: 2.2; letter-spacing: .1em; }
.p-top-about__text p + p { margin-top: 1.6em; }
.p-top-about__text .is-strong { font-weight: 900; font-size: clamp(17px, 1.6vw, 21px); }
.p-top-about__img { margin: 0; border: var(--bd); border-radius: 20px; overflow: hidden; background: #fff; box-shadow: 8px 8px 0 var(--ink); }
.p-top-about__img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
@media (max-width: 900px) {
	.p-top-about__inner { grid-template-columns: 1fr; }
	.p-top-about__img { order: -1; }
}

/* ---------- TOP：お知らせ ---------- */
.p-news { padding-top: clamp(24px, 4vw, 48px); }
.p-news__more { margin-top: 24px; text-align: right; }

/* ---------- TOP：仕事を知る ---------- */
.p-work { padding: clamp(80px, 10vw, 140px) 0 clamp(56px, 7vw, 96px); background: var(--bg-soft); border-top: var(--bd); }
.p-work__list { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(14px, 1.6vw, 24px); }
.c-dept { display: flex; flex-direction: column; color: var(--ink); }
.c-dept__name { order: -1; font-size: clamp(16px, 1.45vw, 19px); font-weight: 900; letter-spacing: .06em; margin-bottom: 10px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.c-dept__name .c-arrow { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); border: var(--bd); }
.c-dept__img { aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; border: var(--bd); background: var(--ph); }
.c-dept__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.c-dept:hover .c-dept__img img { transform: scale(1.06); }
.c-dept:hover .c-dept__name .c-arrow { transform: translateX(3px); }
.c-dept .c-hashtags { margin-top: 12px; flex-direction: column; gap: 0; }
.p-work__note { margin-top: clamp(28px, 4vw, 40px); font-size: 13px; color: var(--muted); text-align: right; }
@media (max-width: 1100px) { .p-work__list { grid-template-columns: repeat(3, 1fr); row-gap: 32px; } }
@media (max-width: 600px) { .p-work__list { grid-template-columns: repeat(2, 1fr); } }

/* ---------- TOP：募集コース ---------- */
.p-top-course { padding: clamp(72px, 9vw, 120px) 0 0; }
.p-top-course .p-course__list { margin-bottom: 0; }

/* ---------- 横スクロールのカード列（スタッフ・カルチャー） ---------- */
.p-top-staff { padding: clamp(72px, 9vw, 120px) 0 clamp(24px, 4vw, 48px); background: var(--accent-soft); border-top: var(--bd); }
.p-top-culture { padding: clamp(72px, 9vw, 120px) 0 clamp(24px, 4vw, 48px); }
.c-rail { position: relative; }
.c-rail__track { display: grid; grid-auto-flow: column; grid-auto-columns: var(--rail-w, clamp(240px, 26vw, 320px)); gap: clamp(16px, 2vw, 28px); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); padding: 4px var(--gutter) 16px; scrollbar-width: none; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; }
.c-rail__track::-webkit-scrollbar { display: none; }
.c-rail__track > * { scroll-snap-align: start; }
.c-rail__btn { position: absolute; top: 38%; z-index: 2; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--accent); border: var(--bd); color: var(--ink); box-shadow: 3px 3px 0 var(--ink); transition: opacity .3s, transform .25s; }
.c-rail__btn:hover { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.c-rail__btn[disabled] { opacity: 0; pointer-events: none; }
.c-rail__btn--prev { left: max(8px, calc((100vw - var(--container)) / 2 - 76px)); }
.c-rail__btn--prev svg { transform: scaleX(-1); }
.c-rail__btn--next { right: max(8px, calc((100vw - var(--container)) / 2 - 76px)); }
.c-rail:not(.is-scrollable) .c-rail__btn { display: none; }
.c-rail__foot { display: flex; justify-content: center; margin-top: clamp(20px, 3vw, 36px); padding: 0 var(--gutter); }
@media (max-width: 767px) { .c-rail__btn { width: 44px; height: 44px; top: 30%; } }

/* スタッフカード */
.c-staff { display: block; color: var(--ink); }
.c-staff__img { aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; border: var(--bd); background: var(--accent); }
.c-staff__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.c-staff:hover .c-staff__img img { transform: scale(1.05); }
.c-staff__body { padding-top: 14px; }
.c-staff__dept { display: inline-block; font-size: 12px; font-weight: 700; padding: 2px 12px; border-radius: 999px; background: var(--ink); color: #fff; }
.c-staff__name { margin-top: 8px; font-size: 19px; font-weight: 900; letter-spacing: .08em; line-height: 1.5; }
.c-staff__name small { margin-left: 10px; font-size: 13px; font-weight: 700; color: var(--muted); letter-spacing: .04em; }
.c-staff__catch { margin-top: 4px; font-size: 14px; font-weight: 700; line-height: 1.7; }
.c-staff:hover .c-marker { background-size: 100% 100%; }
.c-staff .c-hashtags { margin-top: 8px; }

/* カルチャーカード */
.c-culture { display: block; color: var(--ink); }
.c-culture__img { aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; border: var(--bd); background: var(--accent-soft); display: grid; place-items: center; }
.c-culture__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.c-culture__img img.is-noimage { width: 46%; height: auto; object-fit: contain; }
.c-culture:hover .c-culture__img img { transform: scale(1.05); }
.c-culture__date { display: block; margin-top: 12px; font-family: var(--ff-en); font-size: 13px; font-weight: 600; color: var(--muted); letter-spacing: .06em; }
.c-culture__title { margin-top: 4px; font-size: 15px; font-weight: 700; line-height: 1.7; }
.c-culture:hover .c-marker { background-size: 100% 100%; }

/* ---------- TOP：3つのバナー ---------- */
.p-top-links { padding: clamp(56px, 8vw, 104px) 0 clamp(72px, 9vw, 120px); }
.p-top-links__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 28px); }
@media (max-width: 767px) { .p-top-links__list { grid-template-columns: 1fr; } }
.c-banner { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3; border-radius: 20px; overflow: hidden; border: var(--bd); background: var(--dark); color: var(--ink); text-align: center; }
.c-banner__img { position: absolute; inset: 0; }
.c-banner__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.c-banner::before { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(255, 255, 255, .45); transition: background .4s; }
.c-banner:hover::before { background: rgba(255, 225, 0, .35); }
.c-banner:hover .c-banner__img img { transform: scale(1.06); }
.c-banner__body { position: relative; z-index: 2; padding: 16px; }
.c-banner__en { display: block; font-family: var(--ff-en); font-weight: 800; font-size: 12px; letter-spacing: .24em; }
.c-banner__title { display: inline-block; margin-top: 6px; font-size: clamp(18px, 1.9vw, 24px); font-weight: 900; line-height: 1.6; letter-spacing: .08em; background: #fff; border: var(--bd); border-radius: 12px; padding: 8px 18px; }
@media (max-width: 767px) { .c-banner { aspect-ratio: 16 / 9; } }

/* ---------- 下層：一覧グリッド ---------- */
.p-list { padding: clamp(56px, 8vw, 100px) 0; }
.c-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 3vw, 44px) clamp(16px, 2.4vw, 32px); }
@media (max-width: 900px) { .c-card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .c-card-grid { grid-template-columns: 1fr; } }
.c-empty { padding: 48px 24px; text-align: center; border: 2px dashed var(--line); border-radius: var(--radius); color: var(--muted); }

/* ---------- スタッフ詳細 ---------- */
.p-staff-hero { background: #fff; }
.p-staff-hero__inner { max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: clamp(24px, 4vw, 48px) var(--gutter) clamp(40px, 6vw, 72px); }
.p-staff-hero__grid { display: grid; grid-template-columns: 1.45fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; margin-top: clamp(20px, 3vw, 32px); }
.p-staff-hero__img { margin: 0; border-radius: 20px; overflow: hidden; border: var(--bd); background: var(--accent); }
.p-staff-hero__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.p-staff-hero__catch { font-size: clamp(20px, 2.2vw, 28px); font-weight: 900; line-height: 1.7; letter-spacing: .1em; color: var(--ink); }
.p-staff-hero__name { margin-top: clamp(20px, 3vw, 36px); font-size: clamp(32px, 4vw, 48px); font-weight: 900; letter-spacing: .14em; line-height: 1.3; color: var(--ink); }
.p-staff-hero__meta { margin-top: 14px; font-size: 14px; font-weight: 700; line-height: 1.9; color: var(--ink); }
.p-staff-hero__meta span + span::before { content: "　"; }
.p-staff-hero .c-hashtags { margin-top: 14px; }
@media (max-width: 900px) { .p-staff-hero__grid { grid-template-columns: 1fr; } }
.p-staff-body { padding-top: clamp(16px, 3vw, 32px); padding-bottom: clamp(56px, 8vw, 96px); max-width: calc(1000px + var(--gutter) * 2); }
.p-staff-body h2 { clear: both; }
.p-related { padding: clamp(64px, 8vw, 110px) 0; background: var(--accent-soft); border-top: var(--bd); }

/* 本文：左右寄せ画像 */
.c-entry .alignright { float: right; width: min(42%, 380px); margin: .4em 0 1.2em 2em; }
.c-entry .alignleft { float: left; width: min(42%, 380px); margin: .4em 2em 1.2em 0; }
.c-entry .aligncenter { margin-inline: auto; max-width: 560px; }
.c-entry .alignright img, .c-entry .alignleft img, .c-entry .aligncenter img { width: 100%; border: 0; border-radius: 14px; }
.c-entry::after { content: ""; display: block; clear: both; }
@media (max-width: 600px) {
	.c-entry .alignright, .c-entry .alignleft { float: none; width: 100%; margin: 1em 0; }
}

/* ---------- カルチャー詳細 ---------- */
.p-article__head { padding: clamp(32px, 5vw, 56px) 0 clamp(24px, 4vw, 40px); text-align: center; }
.p-article__head .c-breadcrumb { justify-content: center; }
.p-article__label { margin-top: clamp(20px, 3vw, 32px); font-family: var(--ff-en); font-weight: 800; font-size: 13px; letter-spacing: .24em; color: var(--ink); }
.p-article__title { margin-top: 10px; font-size: clamp(22px, 2.8vw, 34px); font-weight: 900; line-height: 1.6; letter-spacing: .06em; color: var(--ink); }
.p-article__date { display: block; margin-top: 12px; font-family: var(--ff-en); font-weight: 600; color: var(--muted); }
.p-article__img { max-width: 880px; margin: 0 auto clamp(32px, 5vw, 56px); padding: 0 var(--gutter); }
.p-article__img img { width: 100%; border-radius: 20px; border: var(--bd); }

/* ---------- み・らいず２らしい1枚（ギャラリー） ---------- */
.p-gallery { padding: clamp(48px, 7vw, 88px) 0 clamp(72px, 9vw, 120px); }
.c-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: clamp(32px, 5vw, 56px); }
.c-tabs button { padding: 9px 22px; border-radius: 999px; border: var(--bd); background: #fff; font-size: 14px; font-weight: 700; color: var(--ink); transition: background .2s; }
.c-tabs button:hover { background: var(--accent-soft); }
.c-tabs button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.c-photo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(8px, 1.4vw, 20px); }
@media (max-width: 900px) { .c-photo-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .c-photo-grid { grid-template-columns: repeat(2, 1fr); } }
.c-photo { position: relative; display: block; width: 100%; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: var(--ph); border: var(--bd); text-align: left; }
.c-photo[hidden] { display: none; }
.c-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.c-photo__cap { position: absolute; inset: auto 0 0; padding: 36px 14px 12px; background: linear-gradient(transparent, rgba(0, 0, 0, .72)); color: #fff; font-size: 14px; font-weight: 700; line-height: 1.6; opacity: 0; transform: translateY(8px); transition: opacity .35s, transform .35s var(--ease); }
.c-photo:hover img, .c-photo:focus-visible img { transform: scale(1.06); }
.c-photo:hover .c-photo__cap, .c-photo:focus-visible .c-photo__cap { opacity: 1; transform: none; }
@media (hover: none) { .c-photo__cap { opacity: 1; transform: none; font-size: 12px; padding: 28px 10px 8px; } }

.c-modal { width: min(960px, calc(100vw - 32px)); max-height: calc(100svh - 32px); padding: 0; border: var(--bd); border-radius: 20px; background: #fff; color: var(--ink); overflow: auto; }
.c-modal::backdrop { background: rgba(0, 0, 0, .7); }
.c-modal__inner { display: grid; grid-template-columns: 1.15fr 1fr; }
.c-modal__img { margin: 0; background: #111; display: grid; place-items: center; min-height: 100%; }
.c-modal__img img { width: 100%; max-height: 80svh; object-fit: contain; }
.c-modal__body { padding: clamp(24px, 4vw, 44px); display: flex; flex-direction: column; }
.c-modal__cat { align-self: flex-start; font-size: 12px; font-weight: 700; padding: 2px 12px; border-radius: 999px; background: var(--accent); border: 1.5px solid var(--ink); }
.c-modal__title { margin-top: 16px; font-size: clamp(20px, 2.2vw, 26px); font-weight: 900; line-height: 1.6; }
.c-modal__person { margin-top: 16px; padding-top: 14px; border-top: 1.5px solid var(--ink); font-size: 13px; font-weight: 700; line-height: 1.8; }
.c-modal__person strong { font-size: 16px; margin-right: 10px; }
.c-modal__text { margin-top: 16px; font-size: 15px; line-height: 2; }
.c-modal__nav { margin-top: auto; padding-top: 24px; display: flex; gap: 10px; }
.c-modal__nav button { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: var(--bd); background: #fff; }
.c-modal__nav button:hover { background: var(--accent); }
.c-modal__nav .is-prev svg { transform: scaleX(-1); }
.c-modal__close { position: absolute; right: 12px; top: 12px; z-index: 2; display: flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 999px; background: #fff; border: var(--bd); font-family: var(--ff-en); font-size: 12px; font-weight: 800; letter-spacing: .14em; }
.c-modal__close:hover { background: var(--accent); }
@media (max-width: 767px) {
	.c-modal__inner { grid-template-columns: 1fr; }
	.c-modal__img img { max-height: 56svh; }
}

/* ---------- み・らいず２について ---------- */
.p-about-links { padding: clamp(64px, 8vw, 110px) 0; background: var(--accent-soft); border-top: var(--bd); }
@media (max-width: 767px) { .p-course__title { padding-right: 56px; } }
.p-message__body .c-heading .c-heading__en { font-size: clamp(44px, 7.2vw, 96px); font-weight: 800; line-height: .95; letter-spacing: .01em; }
.c-entry .has-text-align-center { text-align: center; }
.c-entry a.c-btn { text-decoration: none; }

/* ---------- v2.0.3：ミッション・ビジョン ---------- */
.p-mission { padding: clamp(64px, 8vw, 120px) 0; }
.p-mission__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.p-mission__block + .p-mission__block { margin-top: clamp(32px, 4vw, 48px); }
.p-mission__title { font-size: clamp(20px, 2.2vw, 28px); font-weight: 900; line-height: 1.6; color: var(--ink); padding-left: 16px; border-left: 6px solid var(--accent); margin-bottom: 14px; }
.p-mission__text { line-height: 2.1; }
.p-mission__img { margin: 0; border: var(--bd); border-radius: 20px; overflow: hidden; box-shadow: 8px 8px 0 var(--accent); }
.p-mission__img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.p-mission__goal { margin-top: clamp(40px, 6vw, 72px); padding: clamp(28px, 4vw, 48px) clamp(20px, 4vw, 48px); background: var(--accent-soft); border: var(--bd); border-radius: 20px; text-align: center; }
.p-mission__goal-main { margin: 14px 0 6px; font-size: clamp(20px, 2.6vw, 32px); font-weight: 900; color: var(--ink); line-height: 1.6; }
.p-mission__goal-main { background: linear-gradient(transparent 62%, var(--accent) 62%); display: inline; }
@media (max-width: 900px) { .p-mission__grid { grid-template-columns: 1fr; } .p-mission__img { order: -1; } }
.p-message { border-top: var(--bd); }
.p-culture-links { padding-top: 0; }

/* 黄色マーカー：複数行でも各行の文字の下に引く */
.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.5：ヘッダーのボタンを「説明会申込」に */
.c-btn-entry { font-family: var(--ff); font-weight: 900; letter-spacing: .08em; white-space: nowrap; }
@media (max-width: 767px) { .c-btn-entry { padding: 0 14px; font-size: 12px; letter-spacing: .04em; } }
@media (max-width: 374px) { .c-btn-entry { padding: 0 10px; font-size: 11px; } }

/* v2.0.6：代表メッセージ（写真を右カラムに小さく） */
.p-message { padding: clamp(64px, 8vw, 120px) 0; }
.p-message__grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.p-message .p-message__body { padding-top: 0; }
.p-message__body p { font-size: clamp(15px, 1.35vw, 17px); }
.p-message__photo { margin: 0; position: sticky; top: calc(var(--header-h) + 24px); border: var(--bd); border-radius: 20px; overflow: hidden; box-shadow: 8px 8px 0 var(--accent); background: var(--ph); }
.p-message__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 25%; }
@media (max-width: 900px) {
	.p-message__grid { grid-template-columns: 1fr; }
	.p-message__photo { position: static; order: -1; max-width: 360px; width: 70%; margin: 0 auto; }
}

/* ---------- v2.0.6：み・らいず２の取り組み（WHAT WE DO） ---------- */
.p-wwd { padding: clamp(64px, 8vw, 120px) 0; background: var(--accent-soft); border-top: var(--bd); }
.p-wwd__lead { max-width: 760px; line-height: 2.1; font-weight: 500; }
.p-wwd__map { position: relative; max-width: 900px; margin: clamp(32px, 5vw, 56px) auto 0; aspect-ratio: 1; }
.p-wwd__lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.p-wwd__ring { fill: none; stroke: var(--ink); stroke-width: .4; stroke-dasharray: 1.6 1.2; vector-effect: non-scaling-stroke; stroke-width: 2px; animation: wwdRing 30s linear infinite; }
.p-wwd__spoke { stroke: var(--ink); stroke-width: 2px; vector-effect: non-scaling-stroke; opacity: .25; }
@keyframes wwdRing { to { stroke-dashoffset: -60; } }
.p-wwd__hub { position: absolute; left: 50%; top: 50%; width: 27%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: var(--accent); border: var(--bd); box-shadow: 6px 6px 0 var(--ink); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 6%; z-index: 1; }
.p-wwd__hub-name { white-space: nowrap; font-size: clamp(17px, 2.2vw, 26px); font-weight: 900; color: var(--ink); letter-spacing: .08em; }
.p-wwd__hub-goal { margin-top: 6px; font-size: clamp(11px, 1.2vw, 14px); font-weight: 700; line-height: 1.7; color: var(--ink); }
.p-wwd__node { position: absolute; width: 19%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: #fff; border: var(--bd); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: var(--ink); z-index: 2; transition: background .25s, transform .25s var(--ease); }
.p-wwd__node:hover { background: var(--accent); transform: translate(-50%, -50%) scale(1.05); }
.p-wwd__node-num { font-family: var(--ff-en); font-weight: 800; font-size: 12px; letter-spacing: .1em; display: inline-grid; place-items: center; min-width: 30px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--ink); color: #fff; }
.p-wwd__node-name { margin-top: 6px; font-size: clamp(13px, 1.6vw, 18px); font-weight: 900; line-height: 1.35; letter-spacing: .04em; }
.p-wwd__node-key { margin-top: 4px; font-size: clamp(10px, 1.1vw, 12px); font-weight: 700; color: var(--muted); }
.p-wwd__depts { margin-top: clamp(40px, 6vw, 72px); display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 24px); }
.p-wwd__dept { background: #fff; border: var(--bd); border-radius: 20px; padding: clamp(22px, 2.6vw, 30px); display: flex; flex-direction: column; scroll-margin-top: calc(var(--header-h) + 24px); }
.p-wwd__dept-head { display: flex; align-items: center; gap: 10px; }
.p-wwd__dept-key { font-size: 12px; font-weight: 700; padding: 2px 10px; border-radius: 999px; background: var(--accent); border: 1.5px solid var(--ink); }
.p-wwd__dept-name { margin-top: 12px; font-size: 21px; font-weight: 900; color: var(--ink); }
.p-wwd__dept-text { margin-top: 8px; font-size: 14px; line-height: 1.9; }
.p-wwd__services { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.p-wwd__services li { font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 6px; background: var(--bg-soft); color: var(--ink); }
.p-wwd__more { margin-top: auto; padding-top: 16px; align-self: flex-start; font-size: 13px; border-bottom: 0; }
.p-wwd__projects { position: relative; margin-top: clamp(48px, 6vw, 80px); padding: clamp(28px, 4vw, 48px); border: 2px dashed var(--ink); border-radius: 24px; background: #fff; }
.p-wwd__projects-title { position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%); white-space: nowrap; }
.p-wwd__projects-title span { display: inline-block; padding: 6px 22px; border-radius: 999px; background: var(--ink); color: #fff; font-size: clamp(14px, 1.6vw, 17px); font-weight: 900; letter-spacing: .08em; }
.p-wwd__projects-lead { text-align: center; font-weight: 500; line-height: 2; }
.p-wwd__project-list { margin-top: 20px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.p-wwd__project { border-left: 6px solid var(--accent); padding: 4px 0 4px 14px; }
.p-wwd__project-title { font-size: 16px; font-weight: 900; color: var(--ink); line-height: 1.6; }
.p-wwd__project-text { margin-top: 6px; font-size: 13px; line-height: 1.85; }
@media (max-width: 1000px) {
	.p-wwd__depts { grid-template-columns: repeat(2, 1fr); }
	.p-wwd__project-list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
	.p-wwd__map { aspect-ratio: auto; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; padding-top: 0; }
	.p-wwd__lines { display: none; }
	.p-wwd__hub { position: relative; left: auto; top: auto; transform: none; grid-column: 1 / -1; width: 72%; margin: 0 auto 8px; }
	.p-wwd__node { position: relative; left: auto !important; top: auto !important; transform: none; width: 100%; aspect-ratio: auto; border-radius: 16px; padding: 14px 8px; }
	.p-wwd__node:hover { transform: none; }
	.p-wwd__node:last-child { grid-column: 1 / -1; }
	.p-wwd__map::before { content: ""; position: absolute; left: 50%; top: 10%; bottom: 10%; width: 2px; background: repeating-linear-gradient(var(--ink) 0 6px, transparent 6px 10px); z-index: 0; }
	.p-wwd__depts { grid-template-columns: 1fr; }
	.p-wwd__project-list { grid-template-columns: 1fr; }
	.p-wwd__projects { padding-top: 40px; }
	.p-wwd__projects-title { white-space: normal; width: 86%; text-align: center; }
}
@media (prefers-reduced-motion: reduce) { .p-wwd__ring { animation: none; } }

/* v2.0.8：図の外側にプロジェクトの輪 */
.p-wwd__band { fill: none; stroke: var(--accent); stroke-width: 28px; vector-effect: non-scaling-stroke; opacity: .55; }
.p-wwd__ring--outer { stroke-dasharray: 2 1.6; animation-direction: reverse; animation-duration: 50s; }
.p-wwd__band-label { position: absolute; left: 50%; top: 91%; transform: translate(-50%, -50%); margin: 0; z-index: 3; white-space: nowrap; padding: 6px 18px; border-radius: 999px; background: var(--ink); color: #fff; font-size: clamp(11px, 1.4vw, 15px); font-weight: 900; letter-spacing: .08em; }
.p-wwd__pj { position: absolute; transform: translate(-50%, -50%); z-index: 3; width: 18%; padding: 8px 6px; border-radius: 14px; background: #fff; border: 2px dashed var(--ink); text-align: center; color: var(--ink); display: flex; flex-direction: column; align-items: center; gap: 2px; transition: background .25s, transform .25s var(--ease); }
.p-wwd__pj:hover { background: var(--accent); transform: translate(-50%, -50%) scale(1.05); }
.p-wwd__pj-tag { font-family: var(--ff-en); font-weight: 800; font-size: clamp(8px, .9vw, 10px); letter-spacing: .16em; color: var(--muted); }
.p-wwd__pj-name { font-size: clamp(11px, 1.35vw, 15px); font-weight: 900; line-height: 1.4; }
.p-wwd__projects { scroll-margin-top: calc(var(--header-h) + 40px); }
@media (max-width: 680px) {
	.p-wwd__band-label { position: relative; left: auto; top: auto; transform: none; grid-column: 1 / -1; justify-self: center; margin-top: 12px; white-space: normal; text-align: center; }
	.p-wwd__pj { position: relative; left: auto !important; top: auto !important; transform: none; width: 100%; background: #fff; }
	.p-wwd__pj:hover { transform: none; }
	.p-wwd__node:last-child { grid-column: auto; }
	.p-wwd__node:nth-of-type(5) { grid-column: 1 / -1; }
	.p-wwd__map::before { bottom: 40%; }
}
.p-wwd__hub { width: 29%; padding: 4%; }
.p-wwd__hub-goal { font-size: clamp(10px, 1.15vw, 13px); white-space: nowrap; line-height: 1.75; }
@media (max-width: 680px) { .p-wwd__hub { width: 72%; } .p-wwd__hub-goal { font-size: 13px; } }

/* v2.0.9：図を外し、事業部カードに写真 */
.p-wwd__depts { margin-top: clamp(32px, 5vw, 56px); }
.p-wwd__dept { padding: 0; overflow: hidden; }
.p-wwd__dept > :not(.p-wwd__dept-img) { margin-left: clamp(20px, 2.4vw, 28px); margin-right: clamp(20px, 2.4vw, 28px); }
.p-wwd__dept-head { margin-top: 18px; }
.p-wwd__more { margin-bottom: 22px; }
.p-wwd__dept-img { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; border-bottom: var(--bd); background: var(--ph); }
.p-wwd__dept-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.p-wwd__dept:hover .p-wwd__dept-img img { transform: scale(1.04); }
.p-wwd__project { border-left: 0; padding: 0; }
.p-wwd__project-img { margin: 0 0 12px; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; border: var(--bd); background: var(--ph); }
.p-wwd__project-img img { width: 100%; height: 100%; object-fit: cover; }
.p-wwd__project-title { padding-left: 12px; border-left: 6px solid var(--accent); }
.p-wwd__project-list { gap: clamp(16px, 2vw, 24px); }

/* 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-staff__dept { background: var(--accent); color: var(--ink); border: 1.5px solid var(--ink); }
.c-banner { background: #fff; }
.c-tabs button[aria-pressed="true"] { background: var(--accent); color: var(--ink); }
.c-photo__cap { background: rgba(255, 249, 204, .96); color: var(--ink); padding: 10px 12px; border-top: 2px solid var(--ink); }
.c-modal__img { background: var(--bg-soft); }
.p-wwd__node-num { background: var(--accent); color: var(--ink); border: 1.5px solid var(--ink); }
.p-wwd__projects-title span { background: var(--accent); color: var(--ink); border: var(--bd); }
.p-wwd__band-label { background: var(--accent); color: var(--ink); border: var(--bd); }
