/* ===== Tokens ===== */
:root {
  --blue: #1a64b0;
  --blue-dark: #0f3f73;
  --blue-deep: #0b2d54;
  --sky: #eaf4fc;
  --sky-2: #d6e9f8;
  --aqua: #2fb4c4;
  --yellow: #f6c945;
  --ink: #1f2a37;
  --muted: #5a6776;
  --line: #dbe5ee;
  --bg: #ffffff;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(15, 63, 115, .10);
  --font-body: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  --font-head: "Zen Maru Gothic", "Noto Sans JP", "Hiragino Maru Gothic ProN", sans-serif;
  --header-h: 72px;
}

/* ===== Base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; color: var(--ink); background: var(--bg);
  font-family: var(--font-body); font-size: 16px; line-height: 1.9;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blue-dark); }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.45; margin: 0 0 .6em; color: var(--blue-deep); }
p { margin: 0 0 1.2em; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--aqua); outline-offset: 3px; border-radius: 4px; }
.container { width: min(1080px, 100% - 40px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .85em 1.7em; border-radius: 999px; border: 2px solid transparent;
  font: 700 1rem/1.3 var(--font-body); text-decoration: none; cursor: pointer;
  transition: transform .15s, background .15s, color .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 6px 16px rgba(26, 100, 176, .28); }
.btn--primary:hover { background: var(--blue-dark); color: #fff; }
.btn--ghost { background: #fff; color: var(--blue); border-color: var(--blue); }
.btn--ghost:hover { background: var(--sky); color: var(--blue-dark); }
.btn--yellow { background: var(--yellow); color: #3a2c00; box-shadow: 0 6px 16px rgba(246, 201, 69, .4); }
.btn--yellow:hover { background: #ffd65e; color: #3a2c00; }
.btn--sm { padding: .6em 1.3em; font-size: .9rem; }
.btn--lg { padding: 1em 2.6em; font-size: 1.05rem; }
.btn::after { content: ""; width: .5em; height: .5em; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); }

/* ===== Header ===== */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 16px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--blue-deep); }
.logo__text { display: flex; align-items: baseline; gap: .55em; line-height: 1.2; white-space: nowrap; }
.logo__en { font: 700 1.6rem/1.1 var(--font-head); letter-spacing: .1em; color: var(--blue); }
.logo__sep { color: #9aa7b5; font-weight: 400; }
.logo__ja { font: 700 1.25rem/1.1 var(--font-head); letter-spacing: .06em; color: var(--blue-deep); }
.logo__mark { width: 44px; height: 44px; flex: none; }
.global-nav ul { display: flex; align-items: center; gap: 6px; list-style: none; }
.global-nav a:not(.btn) { display: block; padding: .5em .95em; border-radius: 999px; text-decoration: none; color: var(--ink); font-weight: 500; font-size: .95rem; }
.global-nav a:not(.btn):hover { background: var(--sky); }
.global-nav a[aria-current="page"]:not(.btn) { color: var(--blue); background: var(--sky); font-weight: 700; }
.global-nav__cta { margin-left: 8px; }

/* 採用情報のサブメニュー: PCはロールオーバー（キーボードのフォーカスでも）で表示 */
.global-nav .has-sub { position: relative; }
.global-nav .has-sub > a::after { content: ""; display: inline-block; width: .38em; height: .38em; margin: -.2em 0 0 .5em; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); vertical-align: middle; opacity: .6; }
.global-nav .sub-menu { position: absolute; top: 100%; left: 50%; z-index: 5; min-width: 210px; padding: 8px; margin: 10px 0 0; display: block; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 14px 34px rgba(15, 63, 115, .16); opacity: 0; visibility: hidden; transform: translate(-50%, 6px); transition: opacity .18s, transform .18s, visibility .18s; }
.global-nav .sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }   /* マウスが隙間で外れないための橋渡し */
.global-nav .has-sub:hover > .sub-menu,
.global-nav .has-sub:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.global-nav .sub-menu li { display: block; }
.global-nav .sub-menu a:not(.btn) { padding: .65em 1em; border-radius: 10px; font-size: .9rem; white-space: nowrap; }
.nav-toggle { display: none; flex: none; }

.subnav { background: var(--sky); border-bottom: 1px solid var(--sky-2); }
.subnav .container { display: flex; align-items: center; gap: 20px; overflow-x: auto; }
.subnav ul { display: flex; list-style: none; gap: 4px; }
.subnav a { display: block; padding: .7em 1em; white-space: nowrap; font-size: .9rem; text-decoration: none; color: var(--ink); border-bottom: 3px solid transparent; }
.subnav a:hover { color: var(--blue); }
.subnav a[aria-current="page"] { color: var(--blue); font-weight: 700; border-bottom-color: var(--blue); }

/* ===== Sections ===== */
.section { padding: clamp(56px, 9vw, 104px) 0; }
.section--tint { background: var(--sky); }
.section--blue { background: linear-gradient(135deg, var(--blue-dark), var(--blue)); color: #fff; }
.section--blue h2, .section--blue h3 { color: #fff; }
.section-head { margin-bottom: clamp(28px, 5vw, 48px); }
.section-head--center { text-align: center; }
.eyebrow { font: 700 .85rem var(--font-head); letter-spacing: .22em; text-transform: uppercase; color: var(--aqua); margin: 0 0 .6em; }
.section--blue .eyebrow { color: var(--yellow); }
.section-head h2, .h2 { font-size: clamp(1.5rem, 3.4vw, 2.1rem); }
.lead { font-size: 1.05rem; }
.prose p { max-width: 42em; }
.prose--center p { margin-inline: auto; }
.center { text-align: center; }

/* ===== Hero (top) ===== */
/* 白アミの濃さは --hero-veil で調整（参考サイトは 0.6。それより少し薄く） */
.hero { --hero-veil: .4; position: relative; overflow: hidden; height: clamp(300px, 52vw, 560px); background: #fff; display: flex; align-items: center; }
.hero__slides { position: absolute; inset: 0; }
.hero__slide { position: absolute; inset: 0; opacity: 0; animation: heroSlide 15s ease-in-out infinite; will-change: opacity, transform; }
/* 1枚目は読み込み直後から表示された状態で開始（-1.2s = フェードイン完了位置） */
.hero__slide:nth-child(1) { animation-delay: -1.2s; }
.hero__slide:nth-child(2) { animation-delay: 3.8s; }
.hero__slide:nth-child(3) { animation-delay: 8.8s; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
/* 人物の顔が切れないよう、写真ごとに表示位置を調整 */
.hero__slide:nth-child(1) img { object-position: 78% 6%; }
.hero__slide:nth-child(2) img { object-position: 68% 0%; }   /* 男性が右寄りの構図。スマホは顔が見えるよう上寄せ */
.hero__slide:nth-child(3) img { object-position: 50% 72%; }
/* PCは下寄せにして、手元・足元を映す（スマホは顔が見える上寄せのまま） */
@media (min-width: 861px) {
  .hero__slide:nth-child(1) img { object-position: 78% 100%; }
  .hero__slide:nth-child(2) img { object-position: 50% 100%; }
  .hero__slide:nth-child(3) img { object-position: 50% 100%; }
}
/* 1枚あたり5秒表示・1.2秒でクロスフェード、表示中はゆっくりズーム */
@keyframes heroSlide {
  0%    { opacity: 0; transform: scale(1.07); }
  8%    { opacity: 1; }
  33.3% { opacity: 1; }
  41.3% { opacity: 0; transform: scale(1); }
  100%  { opacity: 0; transform: scale(1); }
}
.hero__veil { position: absolute; inset: 0; pointer-events: none; background:
  linear-gradient(90deg, rgba(255, 255, 255, .5) 0%, rgba(255, 255, 255, 0) 70%),
  rgba(255, 255, 255, var(--hero-veil)); }
.hero__inner { position: relative; }
.hero h1 { font-size: clamp(1.9rem, 5.6vw, 3.8rem); line-height: 1.4; letter-spacing: .02em; margin: 0; text-shadow: 0 0 18px rgba(255, 255, 255, .85), 0 0 4px rgba(255, 255, 255, .8); }
.hero h1 em { font-style: normal; background: linear-gradient(transparent 62%, rgba(246, 201, 69, .8) 62%); }

/* メインビジュアル下のリード（サブタイトル + 本文） */
.hero-lead { text-align: center; padding-top: clamp(40px, 6vw, 72px); }
.hero-lead__sub { font: 700 clamp(1.2rem, 3vw, 1.85rem)/1.6 var(--font-head); color: var(--blue); margin: 0 0 1.4em; letter-spacing: .02em; }
.hero-lead .prose { text-align: center; }
.hero-lead .prose p { margin-inline: auto; text-wrap: balance; }
.phr { display: inline-block; }   /* 文節の途中で改行されないようにする */
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-lead .hero__actions { justify-content: center; margin-top: 2em; }

/* ===== Page hero (subpages) ===== */
.page-hero { background: linear-gradient(160deg, #f4faff, var(--sky)); padding: clamp(32px, 5vw, 56px) 0 clamp(36px, 6vw, 64px); border-bottom: 1px solid var(--sky-2); }
.page-hero h1 { font-size: clamp(1.7rem, 4.4vw, 2.6rem); margin-bottom: .3em; }
.page-hero__lead { color: var(--muted); margin: 0; max-width: 40em; }
.crumbs ol { display: flex; flex-wrap: wrap; list-style: none; gap: 4px 0; font-size: .8rem; color: var(--muted); margin-bottom: 18px; }
.crumbs li + li::before { content: "›"; margin: 0 .6em; color: #9aa7b5; }
.crumbs a { color: var(--muted); }

/* ===== News ===== */
.news { list-style: none; border-top: 1px solid var(--line); }
.news li { border-bottom: 1px solid var(--line); }
.news article { display: grid; grid-template-columns: 110px 1fr; gap: 6px 24px; padding: 22px 6px; }
.news time { font: 500 .9rem var(--font-head); color: var(--muted); padding-top: .15em; }
.news h3 { font-size: 1.05rem; margin: 0 0 .3em; }
.news p { margin: 0; color: var(--muted); font-size: .95rem; }
.news .tag-news { display: inline-block; font-size: .72rem; font-weight: 700; padding: .1em .8em; margin-right: .6em; border-radius: 999px; background: var(--blue); color: #fff; vertical-align: middle; }
.news .tag-news--recruit { background: var(--aqua); }
.news h3 a { color: inherit; text-decoration: none; }
.news h3 a:hover { color: var(--blue); text-decoration: underline; text-underline-offset: 4px; }
.news-more { text-align: center; margin: 32px 0 0; }
.container--narrow { width: min(820px, 100% - 40px); }

/* お知らせ詳細 */
.article { background: #fff; border-radius: 24px; box-shadow: var(--shadow); padding: clamp(24px, 5vw, 56px); }
.article__head { border-bottom: 1px solid var(--line); margin-bottom: 1.6em; padding-bottom: 1.2em; }
.article__meta { display: flex; align-items: center; gap: 12px; margin: 0 0 .6em; font: 500 .9rem var(--font-head); color: var(--muted); }
.article__meta .tag-news { display: inline-block; font-size: .72rem; font-weight: 700; padding: .1em .8em; border-radius: 999px; background: var(--blue); color: #fff; }
.article__meta .tag-news--recruit { background: var(--aqua); }
.article__title { font-size: clamp(1.3rem, 3.2vw, 1.8rem); margin: 0; }
.article__body p { margin-bottom: 1.2em; }
.article__link { margin: 2em 0 0; text-align: center; }
.article-nav { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: center; margin-top: 36px; }
.article-nav a:not(.btn) { display: block; text-decoration: none; color: var(--ink); font-weight: 500; font-size: .92rem; line-height: 1.5; }
.article-nav a:not(.btn):hover { color: var(--blue); }
.article-nav small { display: block; color: var(--muted); font-size: .75rem; margin-bottom: .2em; }
.article-nav__next { text-align: right; }

/* ===== Split / media ===== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split--rev .split__media { order: 2; }
.media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.media--tall img { aspect-ratio: 3 / 4; }

/* ===== Cards ===== */
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; }
.card__img { overflow: hidden; }
.card__img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
/* 左の余白（柱）を外し、人物の顔は見えなくてよいので拡大して切り出す */
.card__img--zoom img { transform: scale(1.45); transform-origin: 65% 100%; }   /* 下寄せ */
.card__body { padding: 26px 26px 30px; display: flex; flex-direction: column; flex: 1; }
.card__body h3 { font-size: 1.25rem; }
.card__body p { color: var(--muted); font-size: .95rem; }
.card__more { margin-top: auto; font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: .4em; }
.card__more::after { content: "→"; transition: transform .15s; }
.card__more:hover::after { transform: translateX(4px); }
.card--link { text-decoration: none; color: inherit; transition: transform .2s, box-shadow .2s; }
.card--link:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(15, 63, 115, .16); color: inherit; }

.nav-card { display: flex; flex-direction: column; gap: 4px; padding: 24px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: border-color .2s, transform .2s, box-shadow .2s; }
.nav-card:hover { border-color: var(--blue); transform: translateY(-3px); box-shadow: var(--shadow); color: var(--ink); }
.nav-card__no { font: 700 .8rem var(--font-head); letter-spacing: .15em; color: var(--aqua); }
.nav-card strong { font: 700 1.1rem var(--font-head); color: var(--blue-deep); }
.nav-card span:last-child { font-size: .85rem; color: var(--muted); line-height: 1.6; }

/* ===== Feature list / checks ===== */
.service-list { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.service-list li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; font-weight: 700; display: flex; gap: 14px; align-items: flex-start; counter-increment: svc; }
.service-list li::before { content: counter(svc, decimal-leading-zero); font: 700 1.5rem/1 var(--font-head); color: var(--aqua); }
.service-list { counter-reset: svc; }
.checks { list-style: none; display: grid; gap: 14px; }
.checks li { position: relative; padding: 18px 20px 18px 58px; background: #fff; border-radius: 14px; box-shadow: var(--shadow); font-weight: 500; }
.checks li::before { content: ""; position: absolute; left: 20px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; background: var(--aqua); }
.checks li::after { content: ""; position: absolute; left: 28px; top: 50%; width: 5px; height: 10px; margin-top: -7px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* ===== 左タイトル・右コンテンツ ===== */
.side-by-side { display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 5vw, 72px); align-items: start; }
.side-by-side .section-head { margin-bottom: 0; }
.side-by-side h2 { white-space: nowrap; margin-bottom: 0; }

/* ===== Table ===== */
.table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.table th, .table td { padding: 18px 22px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.table tr:last-child th, .table tr:last-child td { border-bottom: 0; }
.table th { width: 200px; background: var(--sky); color: var(--blue-deep); font-weight: 700; white-space: nowrap; }
.table td p:last-child { margin-bottom: 0; }
.table td p { margin-bottom: .8em; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.chips li { font-size: .82rem; padding: .25em .9em; background: var(--sky); color: var(--blue-dark); border-radius: 999px; font-weight: 500; }

/* ===== Quote / mission ===== */
.mission { background: #fff; border-radius: 24px; box-shadow: var(--shadow); padding: clamp(28px, 5vw, 52px); border-left: 8px solid var(--yellow); }
.mission h3 { font-size: clamp(1.3rem, 3vw, 1.7rem); }
.mission p:last-child { margin-bottom: 0; }

/* ===== Interview ===== */
.interview { display: grid; grid-template-columns: 300px 1fr; gap: clamp(24px, 4vw, 48px); background: #fff; border-radius: 24px; box-shadow: var(--shadow); overflow: hidden; }
.interview + .interview { margin-top: 36px; }
.interview__photo img { width: 100%; height: 100%; object-fit: cover; min-height: 280px; }
.interview__img--polisher { object-position: 45% 50%; }   /* 手元と機械が中央に来る位置 */
.interview__img--wipe { object-position: 66% 50%; }       /* 手とクロスが中央に来る位置 */
.interview__body { padding: clamp(24px, 4vw, 44px) clamp(24px, 4vw, 44px) clamp(24px, 4vw, 44px) 0; }
.interview__no { font: 700 .85rem var(--font-head); letter-spacing: .2em; color: var(--aqua); margin-bottom: .2em; }
.interview__who { color: var(--muted); font-size: .9rem; margin-bottom: 1em; }
.interview h3 { font-size: clamp(1.3rem, 2.8vw, 1.65rem); }
.qa dt { font-weight: 700; color: var(--blue); margin-top: 1.2em; display: flex; gap: .6em; }
.qa dt::before { content: "Q"; flex: none; width: 1.7em; height: 1.7em; display: grid; place-items: center; border-radius: 50%; background: var(--blue); color: #fff; font: 700 .85rem var(--font-head); }
.qa dd { margin: .5em 0 0 2.3em; position: relative; }

/* ===== CTA band ===== */
.cta { text-align: center; }
.cta h2 { font-size: clamp(1.4rem, 3.4vw, 2rem); }
.cta p { opacity: .92; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 1.6em; }
.cta .btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .7); }
.cta .btn--ghost:hover { background: rgba(255, 255, 255, .14); color: #fff; }

/* ===== Forms ===== */
.form-wrap { max-width: 760px; margin-inline: auto; background: #fff; border-radius: 24px; box-shadow: var(--shadow); padding: clamp(24px, 5vw, 52px); }
.field { margin-bottom: 26px; }
.field__label { display: flex; align-items: center; gap: 10px; font-weight: 700; margin-bottom: 8px; }
.field__hint { font-size: .85rem; color: var(--muted); margin: -4px 0 8px; }
.field input, .field select, .field textarea {
  width: 100%; padding: .85em 1em; font: inherit; color: inherit; background: #f8fbfe;
  border: 1.5px solid #c5d3e0; border-radius: 12px; transition: border-color .15s, box-shadow .15s, background .15s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(26, 100, 176, .15); }
.field textarea { resize: vertical; min-height: 160px; }
.field--error input, .field--error select, .field--error textarea { border-color: #c0392b; background: #fff8f7; }
.field__error { color: #b03024; font-size: .88rem; margin: 6px 0 0; font-weight: 500; }
.tag { font-size: .7rem; font-weight: 700; padding: .15em .7em; border-radius: 999px; background: #e7edf3; color: var(--muted); }
.tag--req { background: #fdeceb; color: #b03024; }
.form__actions { text-align: center; margin-top: 36px; }
.notice { padding: 14px 18px; border-radius: 12px; margin-bottom: 26px; font-weight: 500; }
.notice--error { background: #fdeceb; color: #8f2a20; border: 1px solid #f3c4bf; }
.thanks { text-align: center; }
.thanks__icon { width: 76px; height: 76px; margin: 0 auto 20px; border-radius: 50%; background: var(--aqua); position: relative; }
.thanks__icon::after { content: ""; position: absolute; left: 27px; top: 17px; width: 16px; height: 30px; border: solid #fff; border-width: 0 5px 5px 0; transform: rotate(45deg); }

/* ===== Footer ===== */
.site-footer { background: var(--blue-deep); color: #cfe0f1; margin-top: 0; }
.site-footer a { color: #cfe0f1; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px 56px; padding: 56px 0 40px; }
.site-footer__name { font: 700 1.25rem var(--font-head); color: #fff; margin-bottom: .4em; }
.site-footer__small { font-size: .85rem; opacity: .8; }
.site-footer__nav { display: flex; gap: 48px; flex-wrap: wrap; }
.site-footer__nav ul { list-style: none; display: grid; gap: 8px; font-size: .92rem; }
.site-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .14); padding: 18px 0; font-size: .8rem; text-align: center; }

/* ===== ページトップへ戻る ===== */
.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 52px; height: 52px; border: 0; border-radius: 50%; background: var(--blue); color: #fff; cursor: pointer; box-shadow: 0 8px 20px rgba(15, 63, 115, .3); opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity .3s, transform .3s, visibility .3s, background .15s; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--blue-dark); transform: translateY(-3px); }
.to-top::before { content: ""; position: absolute; left: 50%; top: 52%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-top: 3px solid currentColor; border-left: 3px solid currentColor; transform: rotate(45deg); }

/* ===== Reveal ===== */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__slide { animation: none; }
  .hero__slide:first-child { opacity: 1; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card--link, .nav-card, .to-top { transition: none; }
}

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .nav-toggle { display: inline-grid; place-items: center; width: 46px; height: 46px; border: 0; border-radius: 12px; background: var(--sky); cursor: pointer; }
  .nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { display: block; width: 20px; height: 2px; background: var(--blue-dark); border-radius: 2px; transition: transform .2s, opacity .2s; content: ""; }
  .nav-toggle__bars { position: relative; }
  .nav-toggle__bars::before { position: absolute; top: -6px; }
  .nav-toggle__bars::after { position: absolute; top: 6px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }
  .js .global-nav { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); padding: 12px 20px 22px; display: none; }
  .js .global-nav.is-open { display: block; }
  .global-nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .global-nav a:not(.btn) { padding: .9em 1em; }
  .global-nav__cta { margin: 10px 0 0; }
  .global-nav .has-sub > a::after { display: none; }
  .global-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; min-width: 0; margin: 2px 0 8px 1em; padding: 0 0 0 .8em; background: none; border: 0; border-left: 2px solid var(--sky-2); border-radius: 0; box-shadow: none; transition: none; }
  .global-nav .sub-menu::before { display: none; }
  .global-nav .sub-menu a:not(.btn) { padding: .6em .8em; font-size: .88rem; }
  .global-nav__cta .btn { width: 100%; }
  .split, .side-by-side { grid-template-columns: 1fr; }
  .side-by-side { gap: 24px; }
  .split--rev .split__media { order: 0; }
  .interview { grid-template-columns: 1fr; }
  .interview__photo img { min-height: 0; aspect-ratio: 16 / 10; }
  .interview__body { padding: 0 24px 28px; }
}
@media (max-width: 640px) {
  body { font-size: 15.5px; }
  /* 採用情報のサブナビ: スクロールさせず 3列×2行 で表示 */
  .subnav .container { display: block; overflow: visible; }
    .subnav ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
  .subnav li:nth-child(-n+3) { border-bottom: 1px solid var(--sky-2); }
  .subnav a { white-space: normal; text-align: center; padding: .8em .2em; font-size: .8rem; line-height: 1.5; }
  .logo__en { font-size: 1.2rem; letter-spacing: .06em; }
  .logo__ja { font-size: .95rem; letter-spacing: .03em; }
  .logo__mark { width: 38px; height: 38px; }
  .logo { gap: 8px; }
  .logo__text { gap: .4em; }
  .to-top { right: 14px; bottom: 14px; width: 48px; height: 48px; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .news article { grid-template-columns: 1fr; }
  .article-nav { grid-template-columns: 1fr 1fr; }
  .article-nav__list { grid-column: 1 / -1; grid-row: 1; justify-self: center; }
  .table th, .table td { display: block; width: 100%; }
  .table th { padding: 12px 18px; white-space: normal; }
  .table td { padding: 14px 18px 18px; }
  .site-footer__nav { gap: 32px; }
}

/* 極小の画面幅（320px級）ではロゴをさらに小さくして、メニューボタンと重ならないようにする */
@media (max-width: 360px) {
  .logo { gap: 6px; }
  .logo__mark { width: 32px; height: 32px; }
  .logo__en { font-size: .98rem; letter-spacing: .04em; }
  .logo__ja { font-size: .78rem; letter-spacing: .02em; }
  .logo__text { gap: .3em; }
}

/* ===== WordPress 固有 ===== */
/* ログイン中の管理バーの下にヘッダーを固定 */
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }

/* お知らせ本文のブロック（ボタン・画像） */
.article__body img { border-radius: 12px; }
.article__body .wp-block-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 2em 0 0; }
.article__body .wp-block-button__link { display: inline-flex; align-items: center; gap: .5em; padding: .85em 1.7em; border-radius: 999px; background: var(--blue); color: #fff; font-weight: 700; text-decoration: none; box-shadow: 0 6px 16px rgba(26, 100, 176, .28); }
.article__body .wp-block-button__link:hover { background: var(--blue-dark); color: #fff; }
.article__body .wp-block-button__link::after { content: ""; width: .5em; height: .5em; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); }

/* お知らせ一覧のページ送り */
.pagination { margin-top: 36px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.pagination .page-numbers { padding: .45em .95em; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; background: #fff; }
.pagination .page-numbers.current { background: var(--blue); border-color: var(--blue); color: #fff; }

/* フォーム */
.cf-turnstile { margin-bottom: 8px; display: flex; justify-content: center; }
.form-wrap[hidden], .notice[hidden] { display: none; }
.form button[disabled] { opacity: .6; cursor: wait; transform: none; }

