/*
 * 株式会社エイチ・アンド・エム ホームページ
 * 軸は2つ：① 会社のマーク（金の H とピンクの M、そのすき間の白いハート）をそのまま画面の形に使う
 *          ② 社名の「&」。見出しは「X & Y」の対で組み、& だけ Bodoni の斜体で色を変える（雑誌のように）
 * 色はマークの2色と墨だけ。写真は色をかぶせない。
 */
/* 字は使う分だけを1本ずつ（tools/make-fonts.py）。文を足して新しい字が増えたら作り直す */
@font-face { font-family: "Noto Serif JP"; src: url("../fonts/noto-serif.woff2?v=d8808f1d") format("woff2"); font-weight: 500 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Murecho"; src: url("../fonts/murecho.woff2?v=e59989e2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Bodoni Moda"; src: url("../fonts/bodoni.woff2?v=04212f41") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Bodoni Moda"; src: url("../fonts/bodoni-italic.woff2?v=3a3c7773") format("woff2"); font-weight: 400 700; font-style: italic; font-display: swap; }
:root {
  --ink: #1f1a1c;
  --ink-2: #4b4346;
  --ink-3: #605759;
  --line: #e6e0d7;
  --paper: #faf7f2;
  --white: #ffffff;
  --gold: #b17800;
  --gold-deep: #8a5e00;
  --gold-pale: #f8f1e1;
  --pink: #e568a3;
  --pink-deep: #bd377b;
  --pink-hover: #ec7fb2;
  --pink-pale: #fdf0f6;
  --fb: #1877f2;
  --ig: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
  --shadow: rgba(31, 26, 28, 0.14);
  --cap-shine: rgba(255, 255, 255, 0.9);
  --cap-shine-0: rgba(255, 255, 255, 0);
  --cap-rim-0: rgba(31, 26, 28, 0);
  --cap-rim: rgba(31, 26, 28, 0.06);
  --cap-floor: rgba(31, 26, 28, 0.32);
  --on-ink: #f6f1ea;
  --on-ink-2: #b9b0a8;
  --ink-line: #3b3437;
  --serif: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --sans: "Murecho", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  --didone: "Bodoni Moda", "Didot", "Times New Roman", serif;
  --mix: "Bodoni Moda", "Noto Serif JP", "Hiragino Mincho ProN", serif;
  --gut: clamp(20px, 4.4vw, 72px);
  --hdr: 76px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 16px); }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.95; letter-spacing: 0.02em; line-break: strict; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
address { font-style: normal; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--pink-deep); outline-offset: 3px; }
.bx { word-break: keep-all; overflow-wrap: anywhere; }
.nw { white-space: nowrap; }
.ib { display: inline-block; }
.skip { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--ink); color: var(--white); padding: 10px 16px; }
.skip:focus { left: 8px; top: 8px; }
.wrap { width: 100%; max-width: 1400px; margin-inline: auto; padding-inline: var(--gut); }
.sec { padding-block: clamp(56px, 7.4vw, 100px); }
.mark { display: block; width: 100%; height: auto; }
.mark__h { fill: var(--gold); }
.mark__m { fill: var(--pink); }

/* ---------- 文字の部品 ---------- */
.display { margin: 0; font-family: var(--mix); font-weight: 400; font-variation-settings: "opsz" 30; line-height: 1.04; letter-spacing: -0.012em; font-feature-settings: "palt"; }
.display i { font-style: italic; font-weight: 400; color: var(--pink); padding-inline: 0.03em; }
.sh { margin-bottom: clamp(30px, 4vw, 56px); }
.sh__en { font-size: clamp(46px, 7.6vw, 116px); }
.sh--small .sh__en { font-size: clamp(40px, 4.8vw, 72px); }
.sh__jp { margin-top: 0.55em; font-family: var(--serif); font-weight: 600; font-size: clamp(18px, 1.8vw, 25px); line-height: 1.6; letter-spacing: 0.04em; font-feature-settings: "palt"; }
.sh__text { margin-top: 1.2em; max-width: 34em; font-size: 15.5px; }
.sh--center { text-align: center; }
.arrow { position: relative; display: inline-block; flex: none; width: 44px; height: 1px; margin-left: 14px; background: currentColor; vertical-align: middle; transition: transform 0.5s var(--ease); }
.arrow::after { content: ""; position: absolute; right: 0; top: 0; width: 10px; height: 1px; background: currentColor; transform-origin: right center; transform: rotate(38deg); }
a:hover > .arrow, a:hover .door__go .arrow, a:hover small .arrow, a:hover span .arrow, .btn:hover .arrow { transform: translateX(8px); }
.more { display: inline-flex; align-items: center; min-height: 44px; margin-top: 18px; font-weight: 500; font-size: 15.5px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 60px; padding: 0 30px; background: var(--ink); color: var(--white); font-weight: 700; font-size: 16px; letter-spacing: 0.04em; transition: background-color 0.3s; }
.btn:hover { background: var(--gold-deep); }
.btn--pink { background: var(--pink); color: var(--ink); }
.btn--pink:hover { background: var(--ink); color: var(--white); }
.ticks { margin-top: 1.1em; border-bottom: 1px solid var(--line); }
.ticks li { position: relative; padding: 0.62em 0 0.62em 1.7em; border-top: 1px solid var(--line); font-size: 15.5px; line-height: 1.75; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 1.02em; width: 0.92em; height: 0.66em; background: var(--pink); clip-path: polygon(0 0, 50% 40%, 100% 0, 100% 60%, 50% 100%, 0 60%); }

/* ---------- ヘッダー ---------- */
.hdr { position: sticky; top: 0; z-index: 60; display: flex; align-items: center; gap: clamp(14px, 2.2vw, 34px); height: var(--hdr); padding-inline: clamp(16px, 2vw, 30px); background: var(--white); }
.hdr__brand { display: flex; align-items: center; gap: 12px; min-width: 0; min-height: 44px; }
.hdr__brand .mark { flex: none; width: 58px; }
.hdr__name { display: block; line-height: 1.35; white-space: nowrap; }
.hdr__name b { display: block; font-family: var(--serif); font-weight: 700; font-size: 16px; letter-spacing: 0.05em; color: var(--gold-deep); font-feature-settings: "palt"; }
.hdr__name small { display: block; font-size: 14px; font-weight: 500; letter-spacing: 0.08em; color: var(--ink-2); }
.hdr__name--latin b { font-family: var(--didone); font-size: 19px; letter-spacing: 0.01em; font-weight: 600; }
/* インスタ：カラーのアイコン（会社名の横・フッター・履歴書の連絡先） */
.sns-ico { display: inline-grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 10px; background: var(--ig); color: var(--white); }
.sns-ico svg { display: block; width: 62%; height: 62%; }
.sns-ico--fb { background: var(--fb); }
.sns-row { display: inline-flex; align-items: center; gap: 12px; min-height: 48px; vertical-align: middle; }
.sns-row--small { gap: 8px; min-height: 44px; }
.sns-row--small .sns-ico { width: 28px; height: 28px; border-radius: 7px; }
.hdr__ig { position: relative; width: 32px; height: 32px; border-radius: 8px; margin-left: calc(14px - clamp(14px, 2.2vw, 34px)); transition: transform 0.2s; }
.hdr__ig::after { content: ""; position: absolute; inset: -6px; }
@media (hover: hover) and (pointer: fine) { .hdr__ig:hover { transform: translateY(-2px); } }
.hdr__fb { margin-left: calc(8px - clamp(14px, 2.2vw, 34px)); }
.hdr__nav { margin-left: auto; display: flex; align-items: center; gap: clamp(16px, 2vw, 30px); font-weight: 500; font-size: 14.5px; white-space: nowrap; }
.hdr__nav a { position: relative; padding-block: 12px; }
.hdr__nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--ease); }
.hdr__nav a:hover::after, .hdr__nav a[aria-current]::after { transform: scaleX(1); }
.hdr__lang { display: flex; gap: 2px; font-family: var(--didone); font-style: italic; font-size: 15px; color: var(--ink-3); }
.hdr__lang a { display: inline-flex; align-items: center; justify-content: center; min-width: 30px; min-height: 44px; }
.hdr__lang a:hover, .hdr__lang .is-on { color: var(--ink); }
.hdr__lang .is-on { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.hdr__tel { display: block; line-height: 1.2; text-align: right; white-space: nowrap; }
.hdr__tel b { display: block; font-family: var(--didone); font-weight: 500; font-size: 23px; letter-spacing: 0.01em; }
.hdr__tel small { display: block; font-size: 14px; color: var(--ink-2); letter-spacing: 0.02em; }
.hdr__menu { display: none; margin-left: auto; align-items: center; gap: 10px; min-height: 44px; font-family: var(--didone); font-style: italic; font-size: 18px; }
.hdr__menu i { position: relative; display: block; width: 28px; height: 9px; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); transition: height 0.3s var(--ease); }
.hdr__menu[aria-expanded="true"] i { height: 1px; border-bottom: 0; }
.drawer { position: fixed; inset: var(--hdr) 0 0 0; z-index: 59; display: flex; flex-direction: column; justify-content: space-between; padding: 12px var(--gut) 28px; overflow-y: auto; background: var(--white); opacity: 0; transform: translateY(-8px); transition: opacity 0.3s, transform 0.3s var(--ease); }
.drawer[hidden] { display: none; }  /* 11/3 上の display:flex が hidden に勝ち、閉じたメニューが透明のまま全ページの上で押した指を取っていた（原工業HPで見つけた） */
.drawer.is-open { opacity: 1; transform: none; }
.drawer__nav a { display: block; padding: 11px 0; border-bottom: 1px solid var(--line); font-family: var(--serif); font-weight: 600; font-size: 21px; line-height: 1.4; }
.drawer__nav em { display: block; font-family: var(--didone); font-weight: 400; font-size: 15px; color: var(--pink-deep); }
.drawer__foot { margin-top: 20px; }
.drawer__lang { display: flex; gap: 22px; font-family: var(--didone); font-style: italic; font-size: 19px; }
.drawer__lang a { display: inline-flex; align-items: center; min-width: 44px; min-height: 44px; }
.drawer__tel { display: block; margin-top: 6px; font-family: var(--didone); font-weight: 500; font-size: 30px; line-height: 1.3; }
.drawer__tel small { display: block; font-family: var(--sans); font-size: 14px; font-weight: 400; color: var(--ink-2); }
html.menu-open { overflow: hidden; }

/* ---------- 表紙：マークがそのまま画面になる ---------- */
.stage { position: relative; }
.hero, .closing__mark {
  --c: 50%;
  --clip-h: polygon(0 0, calc(var(--c) - 142.5 * var(--u)) 0, calc(var(--c) - 142.5 * var(--u)) calc(106 * var(--u)), calc(var(--c) + 142.5 * var(--u)) calc(106 * var(--u)), calc(var(--c) + 142.5 * var(--u)) 0, 100% 0, 100% calc(269 * var(--u)), calc(var(--c) + 142.5 * var(--u)) calc(269 * var(--u)), calc(var(--c) + 142.5 * var(--u)) calc(165 * var(--u)), calc(var(--c) + 82.5 * var(--u)) calc(165 * var(--u)), var(--c) calc(210 * var(--u)), calc(var(--c) - 82.5 * var(--u)) calc(165 * var(--u)), calc(var(--c) - 142.5 * var(--u)) calc(165 * var(--u)), calc(var(--c) - 142.5 * var(--u)) calc(269 * var(--u)), 0 calc(269 * var(--u)));
  --clip-m: polygon(0 calc(269 * var(--u)), calc(var(--c) - 142.5 * var(--u)) calc(269 * var(--u)), var(--c) calc(377 * var(--u)), calc(var(--c) + 142.5 * var(--u)) calc(269 * var(--u)), 100% calc(269 * var(--u)), 100% calc(540 * var(--u)), calc(var(--c) + 142.5 * var(--u)) calc(540 * var(--u)), calc(var(--c) + 142.5 * var(--u)) calc(412 * var(--u)), var(--c) calc(517 * var(--u)), calc(var(--c) - 142.5 * var(--u)) calc(412 * var(--u)), calc(var(--c) - 142.5 * var(--u)) calc(540 * var(--u)), 0 calc(540 * var(--u)));
}
.hero { --h: max(540px, min(calc(100svh - var(--hdr)), 57vw)); --u: calc(var(--h) / 540); position: relative; height: var(--h); overflow: hidden; }
.hero__part { position: absolute; inset: 0; will-change: transform; }
.hero__part--h { clip-path: var(--clip-h); background: var(--gold); }
.hero__part--m { clip-path: var(--clip-m); background: var(--pink); }
.hero__ph { position: absolute; overflow: hidden; }
.hero__ph--tr { left: calc(var(--c) + 142.5 * var(--u) - 1px); right: 0; top: 0; height: calc(269 * var(--u)); }
.hero__ph--bl { left: 0; right: calc(var(--c) + 142.5 * var(--u) - 1px); top: calc(269 * var(--u)); height: calc(271 * var(--u)); }
.hero__ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.4s ease; }
.hero__ph img.is-on { z-index: 2; opacity: 1; }
.hero__ph img.was-on { z-index: 1; opacity: 1; transition: none; }
.hero__ph--tr img:nth-child(1) { object-position: 50% 42%; }
.hero__ph--tr img:nth-child(2) { object-position: 50% 30%; }
.hero__ph--tr img:nth-child(3) { object-position: 78% 50%; }
.hero__ph--bl img:nth-child(1) { object-position: 62% 6%; }
.hero__ph--bl img:nth-child(2) { object-position: 60% 40%; }

.door { position: absolute; display: flex; flex-direction: column; justify-content: space-between; width: calc(var(--c) - 142.5 * var(--u)); padding: clamp(20px, 2.5vw, 38px) clamp(20px, 2.6vw, 42px); transition: background-color 0.4s; }
.door--co { left: 0; top: 0; height: calc(269 * var(--u)); color: var(--white); }
.door--job { right: 0; top: calc(269 * var(--u)); height: calc(271 * var(--u)); color: var(--ink); }
.door--co:hover { background: var(--gold-deep); }
.door--job:hover { background: var(--pink-hover); }
.door__en { display: block; font-family: var(--didone); font-style: italic; font-size: clamp(18px, calc(14.5 * var(--u)), 26px); line-height: 1.2; }
.door__jp { display: block; }
.door__jp strong { display: block; font-family: var(--serif); font-weight: 600; font-size: clamp(22px, calc(24 * var(--u)), 44px); line-height: 1.38; letter-spacing: 0.03em; font-feature-settings: "palt"; }
.door__go { display: inline-flex; align-items: center; margin-top: 0.7em; font-size: 15.5px; font-weight: 500; }
.hero__top { position: absolute; left: var(--c); top: 0; width: calc(285 * var(--u)); height: calc(106 * var(--u)); transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.hero__tag { font-family: var(--serif); font-weight: 600; font-size: clamp(14px, calc(11.5 * var(--u)), 19px); letter-spacing: 0.14em; line-height: 1.5; white-space: nowrap; }
.hero__lic { margin-top: 0.55em; font-size: clamp(14px, calc(9.2 * var(--u)), 15px); line-height: 1.55; color: var(--ink-2); letter-spacing: 0.03em; white-space: nowrap; }
.hero__title { position: absolute; left: var(--c); top: calc(216 * var(--u)); width: calc(285 * var(--u)); transform: translateX(-50%); text-align: center; font-family: var(--serif); font-weight: 600; font-size: max(17.5px, calc(22 * var(--u))); line-height: 1.42; letter-spacing: 0.03em; font-feature-settings: "palt"; }
.hero__place { position: absolute; bottom: calc(10 * var(--u)); font-family: var(--didone); font-style: italic; font-size: 15px; color: var(--ink-2); white-space: nowrap; }
.hero__place--l { left: calc(var(--c) - 134 * var(--u)); }
.hero__place--r { right: calc(var(--c) - 134 * var(--u)); }
.doors-sp, .closing__sp { display: none; }

/* 表紙の次：H と M が上下に分かれて、そのあいだから一言が出る（PC だけ。JS が動かす） */
.trust { padding: clamp(48px, 7vw, 90px) var(--gut); text-align: center; }
.trust__en { font-size: clamp(48px, 9.6vw, 150px); white-space: nowrap; }
.trust__jp { margin-top: 0.5em; font-family: var(--serif); font-weight: 600; font-size: clamp(22px, 2.5vw, 36px); letter-spacing: 0.08em; line-height: 1.5; font-feature-settings: "palt"; }
.trust__lead { margin-top: 1em; font-size: clamp(15px, 1.2vw, 17px); line-height: 2; }
.trust .more { margin-top: 10px; }
@media (min-width: 960px) and (prefers-reduced-motion: no-preference) {
  html.js .stage { --h: max(540px, min(calc(100svh - var(--hdr)), 57vw)); height: calc(var(--h) + 72vh); }
  html.js .stage__pin { position: sticky; top: var(--hdr); height: var(--h); overflow: hidden; }
  html.js .hero { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
  html.js .hero a { pointer-events: auto; }
  html.js .trust { position: absolute; inset: 0; z-index: 1; display: flex; align-items: center; justify-content: center; padding: 0 var(--gut); }
  html.js .trust__in { opacity: 0; }
  html.js .trust.is-open { z-index: 3; }
}

/* ---------- 事実の帯 ---------- */
.facts { display: grid; grid-template-columns: 1.1fr 1.1fr 1.5fr 0.8fr 1.4fr; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts > div { padding: 18px clamp(16px, 2vw, 28px); border-left: 1px solid var(--line); }
.facts > div:first-child { border-left: 0; }
.facts dt { font-size: 14px; color: var(--ink-2); line-height: 1.5; letter-spacing: 0.03em; }
.facts dd { margin-top: 2px; font-family: var(--mix); font-weight: 500; font-size: clamp(16px, 1.32vw, 19px); line-height: 1.45; }

/* ---------- & を押すと、合う（上は企業、下は人。まん中のハートが押すところ） ---------- */
.match { padding-top: clamp(56px, 7.4vw, 100px); }
.match__ask { font-family: var(--didone); font-style: italic; font-size: 1.25em; color: var(--pink-deep); }
.match__stage { --mh: clamp(500px, 82vh, 780px); --u: calc(var(--mh) / 640); --c: 50%; --cy: calc(var(--mh) / 2); --q: calc(142.5 * var(--u)); --p: calc(82.5 * var(--u)); --rfs: min(4.4vw, calc(var(--mh) * 0.078)); --rl: calc(var(--rfs) * 1.5); position: relative; height: var(--mh); overflow: hidden; }
.match__plate { position: absolute; left: 0; right: 0; }
.match__plate--co { z-index: 1; top: 0; height: calc(var(--cy) - 3 * var(--u)); background: var(--gold); color: var(--white); }
.match__plate--job { top: calc(var(--cy) - 3 * var(--u) - 1px); bottom: 0; background: var(--pink); color: var(--ink); }
.match__tag { position: absolute; z-index: 2; left: var(--gut); font-family: var(--serif); font-weight: 600; font-size: clamp(15px, 1.25vw, 18px); letter-spacing: 0.08em; line-height: 1.4; font-feature-settings: "palt"; }
.match__plate--co .match__tag { top: clamp(14px, 1.6vw, 24px); }
.match__plate--job .match__tag { bottom: clamp(14px, 1.6vw, 24px); }
.reel { position: absolute; left: 0; right: 0; overflow: hidden; text-align: center; }
.reel--co { top: 0; height: calc(var(--cy) - 107 * var(--u) - 10px); }
.reel--job { top: calc(108 * var(--u) + 11px); bottom: 0; }
.reel ul { position: absolute; left: 0; right: 0; top: calc(50% - var(--rl) / 2); will-change: transform; }
.reel li { height: var(--rl); line-height: var(--rl); white-space: nowrap; font-family: var(--serif); font-weight: 600; font-size: var(--rfs); letter-spacing: 0.04em; font-feature-settings: "palt"; }
.reel::before, .reel::after { content: ""; position: absolute; z-index: 1; left: 0; right: 0; height: calc(50% - var(--rl) / 2 + 2px); pointer-events: none; }
.reel::before { top: 0; }
.reel::after { bottom: 0; }
.reel--co::before { background: linear-gradient(var(--gold) 12%, color-mix(in srgb, var(--gold) 97%, transparent)); }
.reel--co::after { background: linear-gradient(color-mix(in srgb, var(--gold) 97%, transparent), var(--gold) 88%); }
.reel--job::before { background: linear-gradient(var(--pink) 12%, color-mix(in srgb, var(--pink) 97%, transparent)); }
.reel--job::after { background: linear-gradient(color-mix(in srgb, var(--pink) 97%, transparent), var(--pink) 88%); }
.match__heart { position: absolute; z-index: 3; left: calc(var(--c) - var(--q)); top: calc(var(--cy) - 107 * var(--u)); width: calc(285 * var(--u)); height: calc(212 * var(--u)); clip-path: polygon(0 0, 21.05% 0, 50% 21.2%, 78.95% 0, 100% 0, 100% 49.06%, 50% 100%, 0 49.06%); background: var(--white); transition: transform 0.3s var(--ease); -webkit-tap-highlight-color: transparent; }
.match__heart:active { transform: scale(0.95); }
.match__heart:focus-visible { outline: 0; }
.match__heart:focus-visible .match__amp { color: var(--gold-deep); }
.match__amp { position: absolute; left: 0; right: 0; top: 19%; z-index: 2; display: block; text-align: center; font-family: var(--didone); font-style: italic; font-weight: 500; font-variation-settings: "opsz" 24; font-size: calc(140 * var(--u)); line-height: 1; color: var(--pink); transform-origin: 50% 50%; transition: transform 0.5s var(--ease); }
.match__stage.is-seen .match__amp { animation: beat 2.6s ease-in-out infinite; }
.match__stage.is-spin .match__amp, .match__stage.is-match .match__amp { animation: none; }
.match__amp { transition: opacity 0.35s ease; }
.match__stage.is-match .match__amp { opacity: 0; }
.match__pics img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; opacity: 0; transform: scale(1.1); transition: opacity 0.45s ease, transform 1.1s var(--ease); }
.match__pics img.is-on { opacity: 1; transform: none; }
.match__pics img:nth-child(1) { object-position: 78% 40%; }
.match__pics img:nth-child(2) { object-position: 62% 30%; }
.match__pics img:nth-child(3) { object-position: 50% 45%; }
.match__pics img:nth-child(4) { object-position: 45% 35%; }
.match__pics img:nth-child(5) { object-position: 68% 60%; }
@keyframes beat { 0%, 26%, 100% { transform: scale(1); } 7% { transform: scale(1.09); } 14% { transform: scale(1); } 20% { transform: scale(1.06); } }
.match__foot { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px clamp(24px, 4vw, 64px); align-items: center; padding-block: clamp(18px, 2.2vw, 30px) clamp(40px, 5vw, 72px); }
.match__msg { font-family: var(--serif); font-weight: 600; font-size: clamp(19px, 1.9vw, 26px); line-height: 1.55; font-feature-settings: "palt"; }
.match__job { margin-top: 2px; font-size: 15.5px; color: var(--ink-2); line-height: 1.75; }
.match__links { display: flex; flex-wrap: wrap; gap: 0 clamp(16px, 2.4vw, 34px); }
.match__links .more { margin-top: 0; }
.match__links [hidden] { display: none; }

/* ---------- 書類の判子 ---------- */
.seal { position: absolute; display: flex; align-items: center; justify-content: center; width: 58px; height: 58px; border: 2.5px solid var(--pink-deep); border-radius: 50%; color: var(--pink-deep); font-family: var(--didone); font-style: italic; font-weight: 600; font-variation-settings: "opsz" 9; font-size: 34px; line-height: 1; opacity: 0; transform: rotate(-9deg) scale(1.9); }
html:not(.js) .seal, .seal.is-in { opacity: 0.92; transform: rotate(-9deg) scale(1); transition: opacity 0.1s linear, transform 0.22s cubic-bezier(0.5, 0, 1, 0.7); }

/* ---------- 履歴書の採用の判子 ---------- */
.cv__hire { display: flex; align-items: center; justify-content: flex-end; gap: 14px; margin-top: 14px; }
.cv__ask, .cv__thanks { font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.cv__ask[hidden], .cv__thanks[hidden] { display: none; }
.cv__thanks { color: var(--ink); }
.cv__thanks a { margin-left: 0.5em; text-decoration: underline; text-underline-offset: 3px; }
.cv__stamp { position: relative; flex: none; width: 66px; height: 66px; border-radius: 50%; -webkit-tap-highlight-color: transparent; }
.cv__stamp-q { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; border: 1.5px dashed var(--ink-3); border-radius: 50%; color: var(--ink-3); font-size: 18px; transition: background-color 0.2s; }
.cv__stamp:hover .cv__stamp-q { background: var(--pink-pale); }
.cv__stamp-a { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; border: 3px double var(--pink-deep); border-radius: 50%; color: var(--pink-deep); font-weight: 700; font-size: 21px; letter-spacing: 0.04em; visibility: hidden; transform: rotate(-12deg); }
.cv__stamp.is-in { cursor: default; }
.cv__stamp.is-in .cv__stamp-q { opacity: 0; }
.cv__stamp.is-in .cv__stamp-a { visibility: visible; opacity: 0.94; animation: hire-in 0.2s cubic-bezier(0.5, 0, 1, 0.7) both; }
@keyframes hire-in { from { opacity: 0; transform: rotate(-12deg) scale(1.6); } to { opacity: 0.94; transform: rotate(-12deg); } }

/* ---------- はたらく前に、給与明細を見てみる ---------- */
.work { background: var(--paper); }
.work__in { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 4.6vw, 76px); align-items: start; }
/* 英語・ポルトガル語のページは、前の形（写真＋一覧）のまま */
.wrap.work__in { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.work__side { position: sticky; top: calc(var(--hdr) + 24px); }
.work__side .sh { margin-bottom: 26px; }
.work__pics { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--line); }
.work__pics img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.5s ease; }
.work__pics img.is-on { opacity: 1; }
.slip { position: sticky; top: calc(var(--hdr) + 16px); overflow: hidden; padding: 4px 18px 26px; border-top: 3px solid var(--ink); }
.slip__paper { position: relative; padding: 26px clamp(20px, 2.2vw, 30px) 34px; background: var(--white); filter: drop-shadow(0 8px 16px var(--shadow)); will-change: transform; }
.slip__paper::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 10px; background: linear-gradient(135deg, var(--white) 50%, transparent 50%) 0 0 / 14px 10px repeat-x, linear-gradient(225deg, var(--white) 50%, transparent 50%) 0 0 / 14px 10px repeat-x; }
.slip__title { font-family: var(--serif); font-weight: 700; font-size: 20px; letter-spacing: 0.1em; text-align: center; }
.slip__title small { margin-left: 0.3em; font-size: 14px; font-weight: 500; letter-spacing: 0.02em; }
.slip__job { margin-top: 14px; padding-block: 10px; border-block: 1px dashed var(--ink-3); }
.slip__job b { display: block; font-family: var(--serif); font-weight: 600; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.45; font-feature-settings: "palt"; }
.slip__job span { display: block; font-size: 14.5px; color: var(--ink-2); line-height: 1.6; }
.slip__job i { font-style: normal; white-space: nowrap; }
.slip__rows > div { display: flex; align-items: baseline; justify-content: space-between; padding-block: 8px; border-bottom: 1px solid var(--line); }
.slip__rows dt { font-size: 15px; color: var(--ink-2); }
.slip__rows dd { font-family: var(--mix); font-weight: 500; font-variation-settings: "opsz" 9; font-size: 21px; line-height: 1.3; }
.slip__rows output { font-size: 1.25em; }
.slip__range { display: block; width: 100%; height: 44px; margin: 0; background: none; accent-color: var(--pink-deep); cursor: pointer; }
.slip__total { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 0 10px; padding-top: 6px; border-top: 3px double var(--ink); }
.slip__total span { font-family: var(--serif); font-weight: 600; font-size: 16px; }
.slip__total b { font-family: var(--didone); font-weight: 500; font-variation-settings: "opsz" 9; font-size: clamp(38px, 3.6vw, 52px); line-height: 1.2; }
.slip__note { margin-top: 8px; font-size: 15px; line-height: 1.7; color: var(--ink-2); }
.seal--slip { right: clamp(12px, 1.6vw, 24px); top: 16px; width: 50px; height: 50px; font-size: 29px; }
.jobs { border-top: 1px solid var(--ink); }
.job { position: relative; display: grid; grid-template-columns: 70px minmax(0, 1fr) auto; column-gap: 16px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); }
.job[role="button"] { cursor: pointer; }
.job[role="button"]::before { content: ""; position: absolute; left: -14px; top: 12px; bottom: 12px; width: 4px; background: var(--pink-deep); transform: scaleY(0); transition: transform 0.4s var(--ease); }
.job[aria-pressed="true"]::before { transform: none; }
.job:focus-visible { outline-offset: -2px; }
.job::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--pink-deep); transform: scaleX(0); transform-origin: left; transition: transform 0.7s var(--ease); }
.job:hover::after { transform: scaleX(1); }
.job__name, .job__place { transition: transform 0.6s var(--ease); }
.job:hover .job__name, .job:hover .job__place { transform: translateX(6px); }
.job__date { grid-row: 1 / span 2; font-family: var(--didone); font-style: italic; font-size: 15.5px; color: var(--ink-2); }
.job__name { grid-column: 2; font-family: var(--serif); font-weight: 600; font-size: clamp(18px, 1.7vw, 24px); line-height: 1.45; font-feature-settings: "palt"; }
.job__place { grid-column: 2; font-size: 14.5px; color: var(--ink-2); line-height: 1.6; }
.job__wage { grid-column: 3; grid-row: 1 / span 2; text-align: right; white-space: nowrap; }
.job__wage small { display: block; font-size: 14px; color: var(--ink-2); line-height: 1.2; }
.job__wage b { font-family: var(--didone); font-weight: 500; font-size: clamp(28px, 2.8vw, 40px); line-height: 1.15; }
.work__note { margin-top: 16px; font-size: 15px; color: var(--ink-2); }
.work__main .btn { margin-top: 22px; }

/* ---------- ポルトガル語・英語 ---------- */
.lang { clip-path: polygon(0 0, 50% clamp(36px, 5vw, 76px), 100% 0, 100% 100%, 0 100%); background: var(--pink); padding-block: clamp(84px, 10vw, 148px) clamp(52px, 6vw, 84px); }
.vcut-bg { background: var(--paper); }
.lang__en { font-size: clamp(38px, 8.4vw, 130px); line-height: 1.08; }
.lang__en i { color: var(--white); }
.lang__jp { margin-top: 0.8em; font-family: var(--serif); font-weight: 600; font-size: clamp(17px, 1.7vw, 24px); line-height: 1.6; font-feature-settings: "palt"; }
.lang__links { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(24px, 4vw, 64px); margin-top: clamp(28px, 3.6vw, 48px); }
.lang__links a { display: block; padding: 18px 0 16px; border-top: 1px solid var(--ink); }
.lang__links b { display: block; font-family: var(--didone); font-style: italic; font-weight: 400; font-size: clamp(25px, 3vw, 44px); line-height: 1.2; }
.lang__links span { display: inline-flex; align-items: center; margin-top: 8px; font-weight: 500; font-size: 15px; }

/* ---------- 会社の履歴書（罫線の紙。中身は全部ほんとうの会社の事実） ---------- */
.resume { background: var(--paper); }
.resume__in { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 4.6vw, 76px); align-items: start; }
.resume__side { position: sticky; top: calc(var(--hdr) + 24px); margin-bottom: 0; }
.resume__spread { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 28px); align-items: stretch; }
.resume__foot { margin-top: 14px; font-size: 15px; color: var(--ink-2); }
.cv { position: relative; padding: clamp(18px, 2.4vw, 34px); background: var(--white); filter: drop-shadow(0 10px 22px var(--shadow)); font-family: var(--serif); font-size: 15px; line-height: 1.7; font-feature-settings: "palt"; }
.cv a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.cv__top { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.cv__title { font-weight: 700; font-size: clamp(26px, 2.7vw, 38px); letter-spacing: 0.32em; line-height: 1.2; }
.cv__date { font-size: 14px; }
.cv__id { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) clamp(96px, 11vw, 148px); border: 2px solid var(--ink); }
.cv__names { position: relative; min-width: 0; }
.cv__kana, .cv__name, .cv__birth { margin: 0; padding: 4px 12px; }
.cv__kana { font-size: 14px; border-bottom: 1px dashed var(--ink-3); }
.cv__kana span, .cv__name span { display: block; font-size: 14px; color: var(--ink-2); line-height: 1.4; }
.cv__kana span { display: inline; margin-right: 1em; }
.cv__name { padding-block: 6px 12px; border-bottom: 1px solid var(--ink); }
.cv__name b { display: block; padding-right: 60px; font-weight: 700; font-size: clamp(21px, 2.4vw, 33px); line-height: 1.35; }
.cv__name b i { font-style: normal; }
.resume__spread .cv__name b { font-size: clamp(19px, 1.7vw, 25px); }
.cv .seal { right: 12px; top: 40px; }
.cv__birth { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0 14px; }
.cv__birth i { font-style: normal; }
.cv__photo { display: flex; align-items: center; justify-content: center; margin: 0; padding: 8px; border-left: 1px solid var(--ink); }
.cv__photo img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.cv__addr { border: 2px solid var(--ink); border-top: 0; }
.cv__kana i { font-style: normal; }
.cv__addr > div { display: grid; grid-template-columns: 110px minmax(0, 1fr); border-top: 1px solid var(--ink); }
.cv__addr > div:first-child { border-top: 0; }
.cv__addr dt { padding: 6px 10px; border-right: 1px solid var(--ink); font-weight: 600; font-size: 14px; }
.cv__addr dt small { display: block; font-size: 14px; font-weight: 500; color: var(--ink-2); line-height: 1.4; }
.cv__addr dd { padding: 6px 12px; font-family: var(--sans); font-size: 15px; line-height: 1.75; }
.cv__hist { width: 100%; margin-top: 10px; border-collapse: collapse; border: 2px solid var(--ink); }
.cv__hist th { padding: 3px 8px; border: 1px solid var(--ink); font-weight: 600; font-size: 14px; }
.cv__hist td { padding: 5px 10px; border: 1px solid var(--ink); font-family: var(--sans); font-size: 15px; line-height: 1.6; }
.cv__hist td:nth-child(1) { width: 4.2em; text-align: center; font-family: var(--mix); }
.cv__hist td:nth-child(2) { width: 2.8em; text-align: center; font-family: var(--mix); }
.cv__hist tr > th:nth-child(1), .cv__hist tr > th:nth-child(2) { width: 3em; }
.cv__end { text-align: right; }
.cv--back { display: flex; flex-direction: column; gap: 10px; }
.cv__box { flex: none; padding: 8px 14px 12px; border: 2px solid var(--ink); }
.cv__box--wish { flex: 1 0 auto; }
.cv__label { margin-bottom: 4px; font-family: var(--serif); font-weight: 600; font-size: 14px; color: var(--ink-2); line-height: 1.6; }
.cv__box p, .cv__list li { font-family: var(--sans); font-size: 15px; line-height: 1.85; }
.cv__box p + p { margin-top: 0.5em; }
.cv__box .cv__sign { margin-top: 0.5em; font-family: var(--serif); font-weight: 600; font-size: 19px; text-align: right; }
.cv__sign small { margin-right: 0.8em; font-size: 14px; font-weight: 500; }
.cv__list li { padding-block: 3px; }
.cv__list b { display: block; font-family: var(--serif); font-weight: 600; font-size: 16px; line-height: 1.5; }
/* SDGs：名刺と同じ6つ。国連の公式のロゴとアイコン（形・色・字は変えない。まわりに空きを取る） */
.cv__sdgs-logo { margin: 6px 0 12px; }
.cv__sdgs-logo img { display: block; width: auto; height: clamp(26px, 2.4vw, 34px); }
.cv__goals { display: grid; grid-template-columns: repeat(6, minmax(0, 96px)); gap: 8px; }
.cv__goals img { display: block; width: 100%; height: auto; }
.ftr__sdgs { margin-top: 10px; color: var(--on-ink-2); }
.ftr__goals { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.ftr__goals img { display: block; width: 34px; height: 34px; }
@media (max-width: 759px) {
  .cv__goals { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.cv__two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* ---------- タイムカード：いま出勤しているか ---------- */
.tc { display: flex; flex-wrap: wrap; align-items: center; gap: 10px clamp(18px, 3vw, 44px); padding: 16px var(--gut); background: var(--paper); border-top: 1px solid var(--line); }
.tc__card { display: flex; flex: none; border: 1.5px solid var(--ink); background: var(--white); }
.tc__card > div { padding: 4px 14px 5px; border-left: 1px solid var(--ink); text-align: center; }
.tc__card > div:first-child { border-left: 0; }
.tc__card dt { font-size: 14px; color: var(--ink-2); line-height: 1.4; }
.tc__card dd { font-family: var(--didone); font-weight: 500; font-variation-settings: "opsz" 9; font-size: 22px; line-height: 1.25; }
.tc__now dd { color: var(--ink-2); }
.tc.is-on .tc__now dd { color: var(--pink-deep); }
.tc__say b { display: block; font-family: var(--serif); font-weight: 600; font-size: clamp(18px, 1.7vw, 23px); line-height: 1.5; font-feature-settings: "palt"; }
.tc__say span { display: block; font-size: 15px; color: var(--ink-2); line-height: 1.6; }
.tc__week { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.tc__days { display: flex; flex: none; border: 1.5px solid var(--ink); background: var(--white); }
.tc__days li { position: relative; width: 36px; height: 54px; border-left: 1px solid var(--ink); text-align: center; font-size: 14px; line-height: 22px; color: var(--ink-2); }
.tc__days li:first-child { border-left: 0; }
.tc__days li.is-on::after { content: "&"; position: absolute; left: 50%; top: 23px; width: 26px; height: 26px; margin-left: -13px; border: 1.5px solid var(--pink-deep); border-radius: 50%; color: var(--pink-deep); font-family: var(--didone); font-style: italic; font-weight: 600; font-variation-settings: "opsz" 9; font-size: 16px; line-height: 22px; transform: rotate(-9deg); }
.tc__days li.is-new::after { animation: thump 0.24s cubic-bezier(0.5, 0, 1, 0.7) both; }
@keyframes thump { from { opacity: 0; transform: rotate(-9deg) scale(2); } to { opacity: 1; transform: rotate(-9deg) scale(1); } }
.tc__hint { word-break: auto-phrase; max-width: 21em; font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.tc__go { display: inline-flex; align-items: center; min-height: 44px; font-weight: 500; color: var(--ink); }
.tc__go[hidden] { display: none; }
.tc__go .arrow { width: 26px; margin-left: 8px; }
/* 判子が押されたときの札（下から出て、しばらくして戻る） */
.punch { position: fixed; right: 16px; bottom: 16px; z-index: 57; display: flex; align-items: center; gap: 12px; max-width: min(500px, calc(100vw - 32px)); padding: 10px 14px 10px 12px; background: var(--ink); color: var(--on-ink); transform: translate3d(0, 150%, 0); transition: transform 0.45s var(--ease); pointer-events: none; }
.punch.is-on { transform: none; }
.punch__seal { flex: none; display: block; width: 40px; height: 40px; border: 2px solid var(--pink); border-radius: 50%; color: var(--pink); text-align: center; font-family: var(--didone); font-style: italic; font-weight: 600; font-variation-settings: "opsz" 9; font-size: 24px; line-height: 34px; transform: rotate(-9deg); }
.punch__seal.is-new { animation: thump 0.24s cubic-bezier(0.5, 0, 1, 0.7) 0.2s both; }
.punch p { min-width: 0; line-height: 1.45; }
.punch b { display: block; font-family: var(--serif); font-weight: 600; font-size: 16px; font-feature-settings: "palt"; }
.punch span { display: block; font-size: 14px; color: var(--on-ink-2); }
.punch__bar { display: flex; flex: none; gap: 2px; }
.punch__bar li { width: 22px; height: 22px; background: var(--ink-line); text-align: center; font-size: 14px; line-height: 22px; color: var(--on-ink-2); }
.punch__bar li.is-on { background: var(--pink); color: var(--ink); }
@media (max-width: 759px) {
  .tc__week { margin-left: 0; }
  .tc__go .arrow { display: none; }
  .punch { right: 10px; left: 10px; bottom: calc(58px + env(safe-area-inset-bottom) + 10px); max-width: calc(100vw - 20px); padding-right: 10px; }
  .punch__bar { display: none; }
}

/* ---------- 御社の一年の忙しさ ---------- */
.busy { background: var(--gold-pale); }
.busy__in { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.busy__chart { position: relative; }
.busy__bars { --track: clamp(220px, 26vw, 340px); position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 2px; touch-action: none; cursor: ns-resize; user-select: none; }
.busy__bar { position: relative; display: block; height: calc(var(--track) + 28px); padding: 0; overflow: hidden; }
.busy__bar:focus-visible { outline-offset: -2px; }
.busy__bar i { position: absolute; left: 12%; right: 12%; bottom: 28px; height: var(--track); transform-origin: 50% 100%; pointer-events: none; }
.busy__bar .b { background: var(--gold); }
.busy__bar .o { background: var(--pink); }
.busy__bar span { position: absolute; left: 0; right: 0; bottom: 0; height: 28px; font-family: var(--mix); font-size: 16px; line-height: 28px; text-align: center; color: var(--ink-2); pointer-events: none; }
.busy__bar.is-over span { color: var(--pink-deep); font-weight: 700; }
.busy__line { position: absolute; z-index: 2; left: 0; right: 0; bottom: calc(28px + var(--track) * 0.6); height: 0; border-top: 2px dashed var(--ink); pointer-events: none; }
.busy__line span { position: absolute; left: 0; bottom: 2px; padding-inline: 6px; background: var(--gold-pale); font-size: 14px; line-height: 1.4; }
.busy__unit { font-size: 14px; color: var(--ink-2); text-align: right; line-height: 1.2; }
.busy__legend { font-size: 15px; line-height: 1.9; }
.busy__key { display: inline-block; width: 14px; height: 14px; margin-right: 8px; vertical-align: -2px; }
.busy__key--b { background: var(--gold); }
.busy__key--o { background: var(--pink); }
.busy__say { margin-top: 12px; font-family: var(--serif); font-weight: 600; font-size: clamp(19px, 1.9vw, 26px); line-height: 1.55; font-feature-settings: "palt"; }
.busy__say b { display: block; font-weight: 700; color: var(--pink-deep); }
.busy__say b:empty { display: none; }
.busy__note { margin-top: 8px; font-size: 15px; color: var(--ink-2); line-height: 1.7; }
.busy .btn { margin-top: 18px; }

figcaption { margin-top: 10px; font-size: 15px; color: var(--ink-2); line-height: 1.7; }
.addr { display: block; padding-block: 18px; border-top: 1px solid var(--ink); }
.addr b { display: block; font-family: var(--serif); font-weight: 600; font-size: 18px; line-height: 1.6; }
.addr > span { display: block; font-size: 15px; line-height: 1.75; }
.addr__tel { display: flex; align-items: center; min-height: 44px; font-family: var(--didone); font-weight: 500; font-size: clamp(30px, 3vw, 42px); line-height: 1.25; }
.addr small { display: block; font-size: 15px; color: var(--ink-2); line-height: 1.7; }

/* ---------- 終わりの大きなマーク ---------- */
.closing__mark { --h: max(420px, min(78vh, 46vw)); --u: calc(var(--h) / 540); position: relative; height: var(--h); overflow: hidden; }
.closing__part { position: absolute; inset: 0; }
.closing__part--h { clip-path: var(--clip-h); background: var(--gold); }
.closing__part--m { clip-path: var(--clip-m); background: var(--pink); }
.closing__ph { position: absolute; overflow: hidden; }
.closing__ph--tr { left: calc(var(--c) + 142.5 * var(--u)); right: 0; top: 0; height: calc(269 * var(--u)); }
.closing__ph--bl { left: 0; right: calc(var(--c) + 142.5 * var(--u)); top: calc(269 * var(--u)); height: calc(271 * var(--u)); }
.closing__ph img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.closing__ph--tr img { object-position: 70% 15%; }
.closing__ph--bl img { object-position: 62% 60%; }
@media (max-width: 759px) { .closing__ph--bl img { object-position: 75% 60%; } }
.closing__door { position: absolute; display: flex; flex-direction: column; justify-content: flex-end; width: calc(var(--c) - 142.5 * var(--u)); padding: clamp(18px, 2.3vw, 34px) clamp(20px, 2.6vw, 42px); }
.closing__door .door__en { margin-bottom: auto; }
.closing__door--tel { left: 0; top: 0; height: calc(269 * var(--u)); color: var(--white); }
.closing__door--form { right: 0; top: calc(269 * var(--u)); height: calc(271 * var(--u)); color: var(--ink); }
.closing__door strong { display: block; font-family: var(--mix); font-weight: 500; font-size: clamp(26px, 3.1vw, 46px); line-height: 1.25; }
.closing__door--form strong { font-family: var(--serif); font-weight: 600; font-size: clamp(24px, 2.6vw, 38px); }
.closing__door small { display: inline-flex; align-items: center; margin-top: 4px; font-size: 14px; font-weight: 500; }
.closing__en { position: absolute; left: var(--c); top: 0; width: calc(285 * var(--u)); height: calc(106 * var(--u)); transform: translateX(-50%); display: flex; align-items: center; justify-content: center; font-family: var(--didone); font-style: italic; font-size: clamp(18px, 1.7vw, 25px); }
.closing__title { position: absolute; left: var(--c); top: calc(218 * var(--u)); width: calc(285 * var(--u)); transform: translateX(-50%); text-align: center; font-family: var(--serif); font-weight: 600; font-size: max(15.5px, calc(21 * var(--u))); line-height: 1.42; letter-spacing: 0.03em; font-feature-settings: "palt"; }

/* ---------- フッター ---------- */
.ftr { background: var(--ink); color: var(--on-ink); font-size: 14px; line-height: 1.85; }
.ftr__in { display: grid; grid-template-columns: 1.15fr 1.4fr 0.9fr 0.7fr; gap: clamp(24px, 3.4vw, 56px); padding-block: clamp(44px, 5vw, 72px) clamp(30px, 3vw, 44px); }
.ftr__mark { width: 78px; margin-bottom: 14px; }
.ftr__name { font-family: var(--serif); font-weight: 600; font-size: 17px; letter-spacing: 0.04em; font-feature-settings: "palt"; }
.ftr__tag { color: var(--on-ink-2); }
.ftr__lic { margin-top: 14px; }
.ftr__lic > div { display: flex; flex-wrap: wrap; gap: 0 10px; }
.ftr__lic dt { color: var(--on-ink-2); }
.ftr__lic dd { font-family: var(--mix); }
.ftr__offices address { margin-bottom: 16px; }
.ftr__offices b { display: block; font-family: var(--serif); font-weight: 600; font-size: 15px; }
.ftr__nav a { display: block; padding-block: 3px; }
.ftr__nav a:hover, .ftr__more a:hover, .ftr__offices a:hover, .ftr__bottom a:hover { text-decoration: underline; text-underline-offset: 3px; }
.ftr__more { font-family: var(--didone); font-style: italic; font-size: 16px; }
.ftr__more p { margin-bottom: 8px; }
.ftr__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 24px; padding-block: 16px 22px; border-top: 1px solid var(--ink-line); color: var(--on-ink-2); }
.ftr__bottom small { font-size: 14px; }
.ftr__credit { flex-basis: 100%; }
.ftr__credit a { text-decoration: underline; text-underline-offset: 3px; }
.actionbar { display: none; }

/* ---------- 下のページの表紙 ---------- */
.phero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; gap: clamp(20px, 3.4vw, 60px); padding: clamp(28px, 3.4vw, 52px) 0 clamp(44px, 5vw, 76px) var(--gut); }
.phero__en { font-size: clamp(50px, 7.2vw, 110px); }
.phero__en--long { font-size: clamp(42px, 5.1vw, 78px); }
.phero--co .display i { color: var(--gold); }
.phero__title { margin-top: 0.55em; font-family: var(--serif); font-weight: 600; font-size: clamp(25px, 2.9vw, 42px); line-height: 1.5; letter-spacing: 0.02em; font-feature-settings: "palt"; }
.latin .phero__title { font-family: var(--didone); font-weight: 500; line-height: 1.25; letter-spacing: -0.005em; }
.phero__lead { margin-top: 0.9em; max-width: 33em; font-size: 15.5px; }
.phero .btn { margin-top: 22px; }
.markwin { position: relative; aspect-ratio: 975 / 540; width: 100%; }
.markwin__h, .markwin__m { position: absolute; inset: 0; }
.markwin__h { clip-path: polygon(0 0, 35.38% 0, 35.38% 19.63%, 64.62% 19.63%, 64.62% 0, 100% 0, 100% 49.81%, 64.62% 49.81%, 64.62% 30.56%, 58.46% 30.56%, 50% 38.89%, 41.54% 30.56%, 35.38% 30.56%, 35.38% 49.81%, 0 49.81%); background: var(--gold); }
.markwin__m { clip-path: polygon(0 49.81%, 35.38% 49.81%, 50% 69.81%, 64.62% 49.81%, 100% 49.81%, 100% 100%, 64.62% 100%, 64.62% 76.3%, 50% 95.74%, 35.38% 76.3%, 35.38% 100%, 0 100%); background: var(--pink); }
.mw { position: absolute; width: 35.38%; height: 49.81%; overflow: hidden; }
.markwin__m .mw { height: 50.19%; }
.mw img { width: 100%; height: 100%; object-fit: cover; }
.mw--tl { left: 0; top: 0; }
.mw--tr { right: 0; top: 0; }
.mw--bl { left: 0; top: 49.81%; }
.mw--br { right: 0; top: 49.81%; }
.markwin__amp { position: absolute; left: 50%; top: 53.6%; transform: translate(-50%, -50%); font-family: var(--didone); font-style: italic; font-size: clamp(38px, 5vw, 76px); line-height: 1; color: var(--ink); }
html.js .phero .markwin__h { transform: translateY(-9%); opacity: 0; }
html.js .phero .markwin__m { transform: translateY(9%); opacity: 0; }
html.js .phero .markwin__amp { opacity: 0; }
html.js .phero.is-in .markwin__h, html.js .phero.is-in .markwin__m { transform: none; opacity: 1; transition: transform 0.9s var(--ease), opacity 0.45s ease; }
html.js .phero.is-in .markwin__amp { opacity: 1; transition: opacity 0.6s ease 0.4s; }

/* ---------- 企業の方へ ---------- */
.svc__row { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(24px, 5vw, 80px); align-items: center; padding-block: clamp(28px, 3.4vw, 48px); border-top: 1px solid var(--line); }
.svc__row--rev .svc__pic { order: 2; }
.svc__pic { overflow: hidden; }
.svc__pic img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.svc__no { font-family: var(--didone); font-style: italic; font-size: clamp(28px, 2.6vw, 38px); line-height: 1.1; color: var(--gold); }
.svc__title { margin-block: 0.15em 0.4em; font-family: var(--serif); font-weight: 600; font-size: clamp(25px, 2.7vw, 38px); line-height: 1.45; font-feature-settings: "palt"; }
.global { background: var(--gold-pale); }
.global__in { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(24px, 5vw, 80px); align-items: center; padding-block: clamp(48px, 6vw, 88px); }
.global__en { font-size: clamp(42px, 5.8vw, 88px); }
.global__jp { margin-block: 0.7em 0.6em; font-family: var(--serif); font-weight: 600; font-size: clamp(20px, 2.1vw, 30px); line-height: 1.55; font-feature-settings: "palt"; }
.global__pic img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); }
.steps li { padding: 18px clamp(14px, 2vw, 28px) 8px 0; }
.steps li + li { padding-left: clamp(14px, 2vw, 28px); border-left: 1px solid var(--line); }
.steps i { display: block; font-family: var(--didone); font-size: 28px; line-height: 1.2; color: var(--pink-deep); }
.steps b { display: block; margin-block: 8px 4px; font-family: var(--serif); font-weight: 600; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.5; font-feature-settings: "palt"; }
.steps span { display: block; font-size: 15px; line-height: 1.8; }
.latin .steps b { font-family: var(--didone); font-weight: 600; font-size: clamp(19px, 1.7vw, 24px); }
.flow--pale { background: var(--pink-pale); }
.comp { background: var(--paper); padding-block: clamp(48px, 6vw, 84px); }
.comp__in { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 5vw, 80px); align-items: center; }
.comp__en { font-size: clamp(40px, 5.4vw, 82px); }
.comp__jp { margin-block: 0.6em 0.5em; font-family: var(--serif); font-weight: 600; font-size: clamp(20px, 2vw, 28px); line-height: 1.55; font-feature-settings: "palt"; }
.comp__lic > div { padding-block: 14px; border-top: 1px solid var(--ink); }
.comp__lic dt { font-size: 14px; color: var(--ink-2); }
.comp__lic dd { font-family: var(--mix); font-weight: 500; font-size: clamp(30px, 3.2vw, 46px); line-height: 1.25; }

/* ---------- お仕事を探す方へ ---------- */
.wall { padding-block: clamp(52px, 7vw, 100px); }
.wall__title { font-family: var(--serif); font-weight: 600; font-size: clamp(18px, 1.8vw, 25px); line-height: 1.6; }
.wall__words { margin-top: 16px; font-family: var(--serif); font-weight: 500; font-size: clamp(23px, 3.5vw, 50px); line-height: 1.6; letter-spacing: 0.01em; font-feature-settings: "palt"; }
.wall__words span { display: inline-block; white-space: nowrap; }
.wall__words span:not(:last-child)::after { content: "／"; margin-inline: 0.12em; color: var(--pink); font-weight: 400; }
.wall__note { margin-top: 14px; font-size: 15px; color: var(--ink-2); }
.cond { padding-top: 0; }
.cond__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 80px); align-items: center; }
.cond__pic img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.cond__en { font-size: clamp(42px, 5.8vw, 88px); }
.cond__jp { margin-block: 0.6em 0.5em; font-family: var(--serif); font-weight: 600; font-size: clamp(20px, 2.1vw, 30px); line-height: 1.55; font-feature-settings: "palt"; }
.cond__text > p:not(.display) { font-size: 15.5px; }
.cond__text .ticks + p { margin-top: 1em; }
.talk { clip-path: polygon(0 0, 50% clamp(36px, 5vw, 76px), 100% 0, 100% 100%, 0 100%); background: var(--gold); color: var(--white); padding-block: clamp(84px, 10vw, 148px) clamp(48px, 5.4vw, 76px); }
.talk__in { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 24px clamp(24px, 5vw, 80px); align-items: end; }
.talk__en { font-size: clamp(44px, 7vw, 108px); }
.talk__en i { color: var(--ink); }
.talk__jp { margin-top: 0.6em; font-family: var(--serif); font-weight: 600; font-size: clamp(19px, 2vw, 28px); line-height: 1.55; font-feature-settings: "palt"; }
.talk__list > div { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0 16px; padding-block: 8px; border-top: 1px solid var(--white); }
.talk__list dt { font-size: 15px; font-weight: 500; }
.talk__list dd { font-family: var(--didone); font-weight: 500; font-size: clamp(28px, 3vw, 42px); line-height: 1.25; }
.talk .btn { grid-column: 2; justify-self: start; }
.talk__note { grid-column: 2; margin-top: -12px; font-size: 14.5px; line-height: 1.6; }

/* ---------- 会社案内 ---------- */
.win__line { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 0 0.42em; font-family: var(--serif); font-weight: 600; font-size: clamp(25px, 4vw, 58px); line-height: 1.5; font-feature-settings: "palt"; }
.win__line i { font-family: var(--didone); font-weight: 400; color: var(--pink); }
.win__text { max-width: 44em; margin: 1.3em auto 0; font-size: 15.5px; line-height: 2.05; }
.win { padding-bottom: clamp(40px, 5vw, 72px); }
.msg { padding-top: 0; }
.msg__in { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(24px, 5vw, 80px); align-items: center; }
.msg__pic img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.msg__en { font-size: clamp(42px, 5.4vw, 82px); }
.msg__jp { margin-block: 0.6em 0.7em; font-family: var(--serif); font-weight: 600; font-size: clamp(20px, 2.1vw, 30px); line-height: 1.55; font-feature-settings: "palt"; }
.msg__text > p + p { margin-top: 0.8em; }
.msg__text { font-size: 15.5px; }
.msg__text .msg__sign { margin-top: 1.1em; font-family: var(--serif); font-weight: 600; font-size: 22px; }
.msg__sign small { margin-right: 0.8em; font-size: 14px; font-weight: 500; }
.strong { background: var(--paper); }
.strong__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 0 clamp(18px, 2.4vw, 36px); }
.strong__list li { padding-block: 16px 8px; border-top: 1px solid var(--ink); }
.strong__list b { display: block; font-family: var(--serif); font-weight: 600; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.5; font-feature-settings: "palt"; }
.latin .strong__list b { font-family: var(--didone); font-size: clamp(20px, 1.7vw, 24px); }
.strong__list span { display: block; margin-top: 6px; font-size: 15px; line-height: 1.8; }
.profile__in { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(20px, 4vw, 64px); align-items: start; }
.table { border-top: 1px solid var(--ink); }
.table > div { display: grid; grid-template-columns: minmax(104px, 190px) minmax(0, 1fr); gap: 2px 20px; padding-block: 14px; border-bottom: 1px solid var(--line); }
.table dt { font-weight: 500; font-size: 15px; line-height: 1.8; color: var(--ink-2); }
.table dd { font-size: 15.5px; line-height: 1.8; }
.table--num > div { align-items: center; grid-template-columns: minmax(0, 1fr) auto; }
.table--num dd { font-family: var(--didone); font-weight: 500; font-size: clamp(25px, 2.4vw, 34px); line-height: 1.2; text-align: right; white-space: nowrap; }
.offices { padding-top: clamp(32px, 4vw, 64px); }
.offices__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: start; }
.office-card { border-top: 1px solid var(--ink); padding-top: 16px; }
.office-card h3 { font-family: var(--serif); font-weight: 600; font-size: clamp(20px, 2vw, 28px); line-height: 1.5; font-feature-settings: "palt"; }
.office-card > p { margin-block: 6px 14px; font-size: 15px; line-height: 1.8; }
.office-card a:not(.more), .field--check a { display: inline-block; padding-block: 12px; margin-block: -12px; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.map { aspect-ratio: 4 / 3; background: var(--paper); overflow: hidden; }
.map iframe { display: block; width: 100%; height: 100%; border: 0; }
.office-card__photo { margin-top: 20px; }
.office-card__photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

/* ---------- お問い合わせ ---------- */
.contact { padding-top: clamp(32px, 4vw, 60px); }
.contact--latin { padding-top: clamp(56px, 7.4vw, 100px); background: var(--paper); }
.contact__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 6vw, 96px); align-items: start; }
.contact__en { font-size: clamp(50px, 6.6vw, 100px); }
.contact__title { margin-top: 0.5em; font-family: var(--serif); font-weight: 600; font-size: clamp(23px, 2.5vw, 36px); line-height: 1.5; font-feature-settings: "palt"; }
.latin .contact__title, .latin .sh__jp, .latin .cond__jp { font-family: var(--didone); font-weight: 500; letter-spacing: 0; }
.contact__lead { margin-top: 0.7em; font-size: 15.5px; }
.contact__tels { margin-top: 18px; }
.contact__tels .addr .more { margin-top: 2px; }
.form { display: grid; gap: 20px; }
.field { display: block; margin: 0; padding: 0; border: 0; }
.field > span, .field > legend { display: block; margin-bottom: 6px; padding: 0; font-weight: 500; font-size: 15px; line-height: 1.6; }
.field em { margin-left: 0.7em; font-style: normal; font-size: 14px; color: var(--pink-deep); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field textarea { width: 100%; padding: 14px 14px; border: 0; border-bottom: 1px solid var(--ink); border-radius: 0; background: var(--paper); font: inherit; font-size: 16px; color: var(--ink); }
.contact--latin .field input[type="text"], .contact--latin .field input[type="email"], .contact--latin .field input[type="tel"], .contact--latin .field textarea { background: var(--white); }
.field input:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--pink-deep); outline-offset: 0; }
.field--radio label { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: 15.5px; line-height: 1.5; }
.field--check { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: 15.5px; line-height: 1.6; }
.field input[type="radio"], .field input[type="checkbox"] { flex: none; width: 20px; height: 20px; accent-color: var(--pink-deep); }
.form__hp { position: absolute; left: -9999px; }
.form__send { justify-self: start; min-width: 240px; }
.form__status { padding: 14px 16px; background: var(--pink-pale); font-size: 15px; }
.field__hint { font-size: 15px; color: var(--ink-2); }

/* ---------- 文書のページ・404 ---------- */
.doc { padding-top: clamp(32px, 4vw, 60px); }
.doc__in { max-width: 900px; }
.doc__en { font-size: clamp(54px, 8vw, 118px); }
.doc__title { margin-block: 0.5em 0.8em; font-family: var(--serif); font-weight: 600; font-size: clamp(24px, 2.6vw, 36px); line-height: 1.5; font-feature-settings: "palt"; }
.doc h2 { margin-block: 2em 0.6em; font-family: var(--serif); font-weight: 600; font-size: clamp(19px, 1.8vw, 24px); line-height: 1.6; font-feature-settings: "palt"; }
.doc .table { margin-top: 1em; }
.doc__in > p:not(.display) { font-size: 15.5px; }
.doc a { text-decoration: underline; text-underline-offset: 3px; }
.doc__date { margin-top: 2em; font-size: 15px; color: var(--ink-2); }
.notfound__amp { font-family: var(--didone); font-style: italic; font-size: clamp(150px, 26vw, 340px); line-height: 0.95; color: var(--pink); }

/* Bodoni は小さい字だと細い線が消える。小さい所は細い線の太い形（光学サイズ小）にする */
.hdr__tel b, .hdr__lang, .hdr__menu, .hdr__name--latin b, .door__en, .hero__place, .job__date, .job__wage b, .addr__tel, .card__en, .facts dd, .steps i, .svc__no, .lang__links b, .closing__door strong, .closing__en, .ftr__lic dd, .ftr__more, .comp__lic dd, .talk__list dd, .table--num dd, .drawer__tel, .drawer__lang, .drawer__nav em, .door-sp em, .actionbar b, .latin .phero__title, .latin .steps b, .latin .strong__list b, .latin .contact__title, .latin .sh__jp {
  font-variation-settings: "opsz" 9;
}

/* ---------- ページの移り変わり：金とピンクが上下から閉じて、次のページで開く（0.3秒＋0.4秒） ---------- */
html::before, html::after { content: ""; position: fixed; left: 0; right: 0; z-index: 200; height: 50.2vh; pointer-events: none; will-change: transform; }
html::before { top: 0; background: var(--gold); transform: translate3d(0, -101%, 0); }
html::after { bottom: 0; background: var(--pink); transform: translate3d(0, 101%, 0); }
html.pt-close::before, html.pt-close::after { transform: none; transition: transform 0.3s cubic-bezier(0.76, 0, 0.24, 1); }
html.pt-in::before { animation: pt-up 0.46s cubic-bezier(0.76, 0, 0.24, 1) 0.04s both; }
html.pt-in::after { animation: pt-down 0.46s cubic-bezier(0.76, 0, 0.24, 1) 0.04s both; }
@keyframes pt-up { from { transform: none; } to { transform: translate3d(0, -101%, 0); } }
@keyframes pt-down { from { transform: none; } to { transform: translate3d(0, 101%, 0); } }

/* ---------- 見えたら出す（画面に入る少し前から始めて 0.7 秒で出しきる） ---------- */
html.js [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity 0.7s ease, transform 0.7s var(--ease); }
html.js [data-reveal].is-shown { opacity: 1; transform: none; }

/* ---------- オープニング ---------- */
.op, .op-plate { display: none; }
html.op-on body { overflow: hidden; }
html.op-on .op { display: block; }
html.op-on .op-plate { display: block; position: absolute; left: 0; width: 100%; overflow: hidden; will-change: transform; }
html.op-on .op-plate--h { z-index: 6; }
html.op-on .op-plate--m { z-index: 5; }
html.op-on .stage__pin { z-index: 90; overflow: visible; overflow-x: clip; }
html.op-on .hero { z-index: 90; overflow: visible; pointer-events: none; background: var(--white); will-change: transform; }
html.op-on .hero a { pointer-events: none; }
html.op-on .hero__title { opacity: 0; }
html.op-on:not(.op-ready) .hero__part, html.op-on:not(.op-ready) .hero__top, html.op-on:not(.op-ready) .hero__place { visibility: hidden; }
.op-veil, .op-cover { position: fixed; inset: 0; background: var(--white); }
.op-veil { z-index: 80; }
.op-cover { z-index: 99; }
.op-plate img { position: absolute; max-width: none; opacity: 0; will-change: transform, opacity; }
.op-fill, .op-rim { position: absolute; inset: 0; }
.op-fill { will-change: transform; }
.op-plate--h .op-fill, .op-plate--h .op-rim { background: var(--gold); }
.op-plate--m .op-fill, .op-plate--m .op-rim { background: var(--pink); }
.op-amp { position: fixed; left: 0; width: 100vw; z-index: 95; margin: 0; text-align: center; font-family: var(--didone); font-style: italic; font-weight: 500; font-variation-settings: "opsz" 24; line-height: 1; color: var(--pink); opacity: 0; will-change: transform, opacity; }
.op-amp span { display: block; }
.op-w { position: fixed; left: 0; width: 100vw; z-index: 95; margin: 0; text-align: center; font-family: var(--serif); font-weight: 600; line-height: 1.4; letter-spacing: 0.05em; white-space: nowrap; font-feature-settings: "palt"; opacity: 0; will-change: transform; }
.op-w--a { color: var(--white); }
.op-w--b { color: var(--ink); }
.op-skip { position: fixed; right: 14px; bottom: 14px; z-index: 96; display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; background: var(--white); color: var(--ink); font-weight: 500; font-size: 15px; letter-spacing: 0.04em; }
.op-skip .arrow { width: 24px; margin-left: 8px; }

/* ---------- 幅ごとの直し ---------- */
/* いちばん狭いスマホ：会社名がインスタのアイコンの下にもぐらないように詰める */
@media (max-width: 429px) {
  html[lang^="pt"] .hdr__name small { display: none; }
}
@media (max-width: 359px) {
  .hdr .hdr__brand { gap: 6px; }
  .hdr .hdr__brand .mark { width: 38px; }
  .hdr .hdr__name b { font-size: 13px; letter-spacing: 0; }
  .hdr__fb { display: none; }
}
@media (max-width: 1240px) {
  .match__foot { grid-template-columns: 1fr; }
  .hdr__tel small { display: none; }
  .hdr__name small { display: none; }
  .hdr__lang { display: none; }
}
@media (max-width: 1100px) {
  .hdr__nav, .hdr__tel { display: none; }
  .hdr__lang { display: flex; margin-left: auto; }
  .hdr__menu { display: flex; margin-left: 0; }
  .hdr__name small { display: block; }
  .facts { grid-template-columns: repeat(3, 1fr); }
  .facts > div:nth-child(4) { border-left: 0; }
  .facts > div:nth-child(n + 4) { border-top: 1px solid var(--line); }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps li:nth-child(3) { padding-left: 0; border-left: 0; }
  .steps li:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .ftr__in { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 959px) {
  .door__go .arrow, .hero__place { display: none; }
  .phero { grid-template-columns: 1fr; padding: 0 0 clamp(36px, 7vw, 56px); }
  .phero .markwin { order: -1; }
  .phero__text { padding-inline: var(--gut); padding-top: 22px; }
  .trust { padding-block: 44px; }
  .work__in, .comp__in, .global__in, .cond__in, .contact__in, .profile__in, .resume__in, .resume__spread, .busy__in, .wrap.work__in { grid-template-columns: 1fr; }
  .slip, .resume__side, .work__side { position: static; }
  .work__pics { display: none; }
  .slip { max-width: 520px; }
  .talk__in { grid-template-columns: 1fr; }
  .talk .btn { grid-column: 1; }
  .talk__note { grid-column: 1; }
  .cond__pic img { aspect-ratio: 3 / 2; object-position: 50% 30%; }
}
@media (max-width: 759px) {
  :root { --hdr: 60px; }
  body { padding-bottom: 58px; font-size: 15.5px; }
  .hdr { padding-inline: 14px; gap: 8px; }
  .hdr__brand { gap: 9px; }
  .hdr__brand .mark { width: 46px; }
  .hdr__name b { font-size: 14px; letter-spacing: 0.02em; }
  .hdr__name small { font-size: 13px; letter-spacing: 0.04em; }
  .hdr__lang { display: none; }
  .hdr__menu { margin-left: auto; }
  .hdr__menu-label { display: none; }
  .hdr__ig { width: 28px; height: 28px; border-radius: 7px; margin-left: 0; }
  .hdr__ig::after { inset: -8px -4px; }
  .hero { --u: calc(100vw * 0.00165); --h: calc(540 * var(--u)); height: var(--h); }
  .door { display: none; }
  .hero__lic, .hero__place { display: none; }
  .hero__tag { font-size: 15px; letter-spacing: 0.04em; }
  .hero__ph--tr img:nth-child(1) { object-position: 66% 40%; }
  .hero__ph--tr img:nth-child(2) { object-position: 40% 30%; }
  .hero__ph--tr img:nth-child(3) { object-position: 73% 50%; }
  .hero__ph--bl img:nth-child(1) { object-position: 65% 30%; }
  .hero__ph--bl img:nth-child(2) { object-position: 58% 40%; }
  .doors-sp, .closing__sp { display: grid; gap: 8px; padding: 10px 14px; }
  .door-sp { display: flex; align-items: center; justify-content: space-between; min-height: 76px; padding: 12px 18px; font-family: var(--serif); font-weight: 600; font-size: 19px; line-height: 1.4; font-feature-settings: "palt"; }
  .door-sp em { display: block; font-family: var(--didone); font-weight: 400; font-size: 15px; line-height: 1.3; }
  .door-sp--co { background: var(--gold); color: var(--white); }
  .door-sp--job { background: var(--pink); color: var(--ink); }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts > div { padding: 12px 14px; border-left: 1px solid var(--line); }
  .facts > div:nth-child(odd) { border-left: 0; }
  .facts > div:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .facts > div:nth-child(5) { grid-column: 1 / -1; }
  .facts dd { font-size: 15.5px; }
  .lang__links, .svc__row, .offices__grid { grid-template-columns: 1fr; }
  .svc__row--rev .svc__pic { order: 0; }
  .match__stage { --mh: clamp(470px, 72svh, 610px); --u: calc(100vw * 0.00225); --rfs: min(6.6vw, 27px); --rl: calc(var(--rfs) * 2.1); }
  .cv__kana span { display: none; }
  .cv__addr > div { grid-template-columns: 1fr; }
  .cv__addr dt { padding-bottom: 0; border-right: 0; }
  .cv__addr dt small { display: inline; margin-left: 0.6em; }
  .cv__addr dd { padding-top: 0; }
  .match__foot { grid-template-columns: 1fr; }
  .match__links { flex-direction: column; }
  .cv { padding: 14px; }
  .cv__id { grid-template-columns: minmax(0, 1fr) 84px; }
  .cv__name b { padding-right: 0; font-size: 20px; }
  .cv .seal { right: 8px; top: 62px; width: 44px; height: 44px; font-size: 26px; }
  .cv__birth { display: block; }
  .cv__birth span { display: block; }
  .cv__two { grid-template-columns: 1fr; }
  .busy__bars { --track: 220px; }
  .tc__card > div { padding-inline: 10px; }
  .trust__en { white-space: normal; font-size: clamp(46px, 14.6vw, 66px); line-height: 1.06; }
  .trust__lead br { display: none; }
  .job { grid-template-columns: minmax(0, 1fr) auto; padding: 14px 0; }
  .job__date { display: none; }
  .job__name { grid-column: 1; }
  .job__place { grid-column: 1; }
  .job__wage { grid-column: 2; }
  .job__wage small { display: none; }
  .job__wage b { font-size: 27px; }
  .steps { grid-template-columns: 1fr; }
  .steps li, .steps li + li { display: grid; grid-template-columns: 34px minmax(0, 1fr); padding: 11px 0; border-left: 0; }
  .steps li:nth-child(n + 2) { border-top: 1px solid var(--line); }
  .steps i { grid-row: 1 / span 2; font-size: 21px; line-height: 1.4; }
  .steps b { margin: 0 0 2px; }
  .svc__row { padding-block: 22px; }
  .svc__pic img { aspect-ratio: 2 / 1; }
  .svc__row--rev .svc__pic, .svc__row--rev ~ .svc__row .svc__pic, .global__pic, .office-card__photo { display: none; }
  .table > div { grid-template-columns: 1fr; }
  .table--num > div { grid-template-columns: minmax(0, 1fr) auto; }
  .closing__mark { --u: calc(100vw * 0.00165); --h: calc(540 * var(--u)); height: var(--h); }
  .closing__door { display: none; }
  .closing__en { font-size: 16px; }
  body:not(.home) .closing__mark { display: none; }
  .msg__pic { display: none; }
  .map { aspect-ratio: 5 / 2; }
  .office-card__photo img { aspect-ratio: 16 / 9; }
  .ftr { padding-bottom: 6px; }
  .ftr__in { grid-template-columns: 1fr; gap: 12px; padding-block: 30px 14px; }
  .ftr__brand { display: grid; grid-template-columns: 58px minmax(0, 1fr); column-gap: 12px; align-items: center; }
  .ftr__mark { grid-row: span 2; width: 58px; margin-bottom: 0; }
  .ftr__lic, .ftr__sdgs, .ftr__goals { grid-column: 1 / -1; margin-top: 8px; }
  .cv__addr > .cv__ig { grid-template-columns: auto minmax(0, 1fr); align-items: center; }
  .cv__ig dt { padding-bottom: 6px; }
  .cv__ig dd { padding-block: 0; }
  .ftr__offices address { margin-bottom: 6px; }
  .ftr__more p { margin-bottom: 0; }
  .ftr__more { display: flex; flex-wrap: wrap; gap: 0 20px; }
  .ftr__more a, .ftr__nav a, .ftr__offices a { display: inline-flex; align-items: center; min-height: 44px; }
  .ftr__nav { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
  .ftr__nav a { padding-block: 0; }
  .ftr__bottom a { display: inline-flex; align-items: center; min-height: 44px; }
  .actionbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 58; display: grid; grid-template-columns: 1.25fr 1fr; height: 58px; padding-bottom: env(safe-area-inset-bottom); background: var(--white); border-top: 1px solid var(--line); }
  .actionbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.2; }
  .actionbar small { font-size: 14px; color: var(--ink-2); }
  .actionbar b { font-family: var(--didone); font-weight: 600; font-size: 21px; }
  .actionbar__form { background: var(--pink); font-weight: 700; font-size: 15.5px; }
  .latin .job__wage small { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  html.js [data-reveal] { opacity: 1; transform: none; }
  html.js .phero .markwin__h, html.js .phero .markwin__m, html.js .phero .markwin__amp { opacity: 1; transform: none; }
  .seal { opacity: 0.92; transform: rotate(-9deg); }
}

/* ---------- はたらく先を、ガチャにしない（カプセルの機械。動かすのは capsule.js） ---------- */
.cap { background: var(--paper); padding-top: clamp(52px, 6.4vw, 92px); scroll-margin-top: var(--hdr); }
.cap__head { margin-bottom: clamp(14px, 2vw, 28px); }
.cap__en { font-size: clamp(38px, 5vw, 76px); }
.cap__jp { margin-top: 0.3em; font-family: var(--serif); font-weight: 700; font-size: clamp(25px, 3vw, 44px); line-height: 1.4; letter-spacing: 0.03em; font-feature-settings: "palt"; }
.cap__lead { margin-top: 0.5em; font-size: 15.5px; line-height: 1.8; color: var(--ink-2); }
.cap__main { position: relative; overflow: hidden; }
.cap__stage { position: relative; height: min(calc(90.5vw + 14px), 560px); user-select: none; -webkit-user-select: none; }
.cap__dome, .cap__glass { position: absolute; border-radius: 50%; }
.cap__dome { z-index: 1; background: var(--white); box-shadow: inset 0 0 0 1.5px var(--ink); }
/* ガラスの照り：左上の窓の光と、縁の薄い影（止まったまま） */
.cap__glass { z-index: 5; pointer-events: none; box-shadow: inset 0 0 0 1.5px var(--ink); background: radial-gradient(ellipse 26% 15% at 27% 16%, var(--cap-shine), var(--cap-shine-0) 100%), radial-gradient(closest-side, var(--cap-rim-0) 90%, var(--cap-rim) 100%); }
.capsule { position: absolute; left: 0; top: 0; z-index: 3; display: block; width: var(--cs, 80px); height: var(--cs, 80px); border-radius: 50%; will-change: transform; touch-action: pan-y; cursor: grab; -webkit-tap-highlight-color: transparent; }
.capsule.is-wait { opacity: 0; pointer-events: none; }
.capsule img { display: block; width: 100%; height: 100%; max-width: none; pointer-events: none; -webkit-user-drag: none; }
.capsule:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.cap__stage.is-grab, .cap__stage.is-grab .capsule { cursor: grabbing; }
.cap__base { position: absolute; z-index: 6; --u: 1px; overflow: hidden; color: var(--white); }
.cap__h, .cap__m { position: absolute; left: 0; right: 0; }
.cap__base::before { content: ""; position: absolute; z-index: 1; left: 0; right: 0; top: 0; height: 3px; background: var(--ink); }
.cap__h { top: 0; height: 50%; background: var(--gold); }
.cap__m { bottom: 0; height: 50%; background: var(--pink); color: var(--ink); }
.cap__base em { position: absolute; font-family: var(--didone); font-style: italic; font-weight: 500; font-variation-settings: "opsz" 9; font-size: max(15px, calc(32 * var(--u))); line-height: 1; }
.cap__h em { left: calc(20 * var(--u)); top: calc(26 * var(--u)); }
.cap__m em { right: calc(20 * var(--u)); bottom: calc(26 * var(--u)); }
.cap__hint { position: absolute; left: calc(18 * var(--u)); bottom: calc(20 * var(--u)); font-weight: 500; font-size: 14px; line-height: 1.35; white-space: nowrap; }
.cap__heart { position: absolute; left: calc(50% - 142.5 * var(--u)); top: calc(46 * var(--u)); width: calc(285 * var(--u)); height: calc(212 * var(--u)); clip-path: polygon(0 0, 21.05% 0, 50% 21.2%, 78.95% 0, 100% 0, 100% 49.06%, 50% 100%, 0 49.06%); background: var(--paper); }
.cap__dial { position: absolute; left: calc(50% - 64 * var(--u)); top: calc(101 * var(--u)); width: calc(128 * var(--u)); height: calc(128 * var(--u)); min-width: 48px; min-height: 48px; border-radius: 50%; background: var(--white); box-shadow: inset 0 0 0 1.5px var(--ink), 0 3px 0 var(--ink); color: var(--pink-deep); transition: transform 0.2s var(--ease); -webkit-tap-highlight-color: transparent; }
.cap__dial:hover { transform: translateY(-2px); }
.cap__dial:active { transform: translateY(2px); }
.cap__dial span { display: block; font-family: var(--didone); font-style: italic; font-weight: 500; font-variation-settings: "opsz" 24; font-size: calc(92 * var(--u)); line-height: 1; will-change: transform; }
.cap__shadow { position: absolute; left: 0; top: 0; z-index: 1; border-radius: 50%; background: radial-gradient(closest-side, var(--cap-floor), var(--cap-rim-0)); opacity: 0; transition: opacity 0.3s ease; pointer-events: none; }
.cap__cursor { position: absolute; left: 0; top: 0; z-index: 8; width: 0; height: 0; opacity: 0; transition: opacity 0.25s ease; pointer-events: none; }
.cap__cursor b { position: absolute; left: 0; bottom: 26px; transform: translateX(-50%); padding: 1px 8px 2px; background: var(--ink); color: var(--white); font-weight: 500; font-size: 14px; line-height: 1.5; white-space: nowrap; }
.cap__cursor i { position: absolute; left: -9px; bottom: 6px; width: 18px; height: 14px; background: var(--ink); clip-path: polygon(0 0, 100% 0, 50% 100%); animation: cursor-bob 0.9s ease-in-out infinite; }
@keyframes cursor-bob { 0%, 100% { transform: translateY(-4px); } 50% { transform: translateY(3px); } }
.cap.has-tray .cap__cursor, .cap.has-tray .cap__shadow { opacity: 1; }
.cap__tip { position: absolute; left: 0; top: 0; z-index: 9; padding: 1px 10px 2px; background: var(--ink); color: var(--white); font-weight: 500; font-size: 14.5px; line-height: 1.6; white-space: nowrap; pointer-events: none; }
.cap__tip[hidden] { display: none; }
.cap__panel { position: relative; z-index: 8; padding: 12px var(--gut) 40px; }
.wp[hidden] { display: none; }
.wp--status.is-new .wp__name, .wp--status.is-new .wp__say, .wp--status.is-new .wp__meta, .wp--status.is-new .wp__wage { animation: wp-in 0.42s var(--ease) both; }
.wp--status.is-new .wp__say { animation-delay: 0.04s; }
.wp--status.is-new .wp__meta { animation-delay: 0.07s; }
.wp--status.is-new .wp__wage { animation-delay: 0.1s; }
@keyframes wp-in { from { opacity: 0; transform: translate3d(14px, 0, 0); } to { opacity: 1; transform: none; } }
.wp__nav { display: flex; align-items: center; gap: 10px; }
.wp__no { display: flex; align-items: baseline; gap: 6px; min-width: 5.6em; justify-content: center; font-family: var(--didone); font-variation-settings: "opsz" 9; color: var(--ink-2); font-size: 17px; line-height: 1; }
.wp__no b { font-weight: 500; font-size: 32px; color: var(--ink); }
.wp__turn { position: relative; flex: none; width: 46px; height: 46px; box-shadow: inset 0 0 0 1.5px var(--ink); transition: background-color 0.2s, transform 0.2s var(--ease); }
.wp__turn::before { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 16px; margin: -8px 0 0 -7px; background: var(--ink); }
.wp__turn--prev::before { clip-path: polygon(100% 0, 100% 100%, 0 50%); }
.wp__turn--next::before { clip-path: polygon(0 0, 100% 50%, 0 100%); }
.wp__turn:hover { background: var(--white); }
.wp__turn:active { transform: translateY(2px); }
.wp__name { margin-top: 14px; font-family: var(--serif); font-weight: 700; font-size: clamp(24px, 2.5vw, 35px); line-height: 1.35; letter-spacing: 0.02em; font-feature-settings: "palt"; }
.wp__say { margin-top: 4px; font-size: 16px; line-height: 1.7; }
.wp__by { margin-top: 6px; padding: 4px 10px; background: var(--pink-pale); font-size: 14.5px; line-height: 1.6; }
.wp__by[hidden] { display: none; }
.wp__meta { margin-top: 8px; font-size: 14.5px; line-height: 1.6; color: var(--ink-2); }
.wp__wage { display: flex; align-items: baseline; gap: 10px; margin-top: 2px; }
.wp__wage small { font-size: 14px; color: var(--ink-2); }
.wp__wage b { font-family: var(--didone); font-weight: 500; font-variation-settings: "opsz" 9; font-size: clamp(44px, 4.6vw, 66px); line-height: 1.12; color: var(--gold-deep); }
.wp__stats { margin-top: 8px; border-top: 1px solid var(--line); }
.wp__stats > div { display: grid; grid-template-columns: 6.4em minmax(0, 1fr); align-items: center; gap: 10px; padding-block: 6px; border-bottom: 1px solid var(--line); }
.wp__stats dt { font-size: 14.5px; line-height: 1.4; }
.wp__stats dd { display: grid; grid-template-columns: repeat(5, 1fr); gap: 3px; }
.wp__stats i { display: block; height: 12px; background: var(--line); transition: background-color 0.25s ease; }
.wp__stats i.is-on { background: var(--pink); }
.wp__stats dd i:nth-child(2) { transition-delay: 0.04s; }
.wp__stats dd i:nth-child(3) { transition-delay: 0.08s; }
.wp__stats dd i:nth-child(4) { transition-delay: 0.12s; }
.wp__stats dd i:nth-child(5) { transition-delay: 0.16s; }
.wp__open { width: 100%; margin-top: 16px; }
.wp__note { margin-top: 10px; font-size: 15px; line-height: 1.7; color: var(--ink-2); }
.wp__more { margin-top: 2px; }
.cap .slip { position: static; max-width: none; }
html.js .cap .slip { opacity: 1; transform: none; }
.wp__after { display: grid; gap: 4px; margin-top: 8px; }
.wp__ask { width: 100%; }
.wp__back { min-height: 48px; font-weight: 500; font-size: 15.5px; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.cap__photos { position: absolute; left: 0; right: 0; top: 0; height: min(calc(90.5vw + 14px), 560px); }
.cap__photos img { display: none; position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; opacity: 0; }
.cap__photos img.is-load { display: block; }
.cap__photos img.is-on { opacity: 1; }
.cap__photos img:nth-child(1) { object-position: 50% 15%; }
.cap__photos img:nth-child(2) { object-position: 50% 20%; }
.cap__photos img:nth-child(3) { object-position: 50% 62%; }
.cap__photos img:nth-child(4) { object-position: 50% 30%; }
.cap__photos img:nth-child(5) { object-position: 50% 70%; }
.cap.is-open .cap__stage { visibility: hidden; }
.cap__plate { position: absolute; left: 0; right: 0; z-index: 20; height: 50.2%; pointer-events: none; will-change: transform; transition: transform 0.3s cubic-bezier(0.76, 0, 0.24, 1); }
.cap__plate--h { top: 0; background: var(--gold); transform: translate3d(0, -101%, 0); }
.cap__plate--m { bottom: 0; background: var(--pink); transform: translate3d(0, 101%, 0); }
.cap.is-shut .cap__plate { transform: none; }
.cap__plain { padding-block: 10px 40px; }
html.js .cap__plain { display: none; }
html:not(.js) .cap__main { display: none; }
/* スマホで開いたときは、写真を横長の帯にして、顔が切れないようにする */
@media (max-width: 959px) {
  .cap.is-open .cap__stage, .cap.is-open .cap__photos { height: 52vw; }
}
@media (min-width: 960px) {
  .cap__main { --ch: max(min(calc(100svh - 236px), 700px), 560px); --edge: max(var(--gut), calc((100vw - 1400px) / 2 + var(--gut))); display: grid; grid-template-columns: minmax(0, 1fr) clamp(350px, 30vw, 450px); gap: clamp(20px, 3vw, 56px); padding-inline: var(--edge); align-items: center; }
  .cap__stage { grid-column: 1; grid-row: 1; height: var(--ch); margin-block: 10px clamp(30px, 3.4vw, 54px); }
  .cap__panel { grid-column: 2; grid-row: 1; padding: 0; }
  .cap.is-open .cap__panel { grid-column: 1; justify-self: start; width: clamp(350px, 30vw, 450px); padding-block: 20px; }
  .cap__photos { height: 100%; }
  /* 写真は右に置いて、明細と重ねない（全面に広げると人が大きくなりすぎる） */
  .cap.is-open .cap__photos { left: calc(var(--edge) + var(--gut) + clamp(350px, 30vw, 450px)); }
  .cap.is-open .cap__main { min-height: 40vw; }
  .cap__photos img:nth-child(1) { object-position: 76% 30%; }
  .cap__photos img:nth-child(2) { object-position: 70% 30%; }
  .cap__photos img:nth-child(3) { object-position: 50% 58%; }
  .cap__photos img:nth-child(4) { object-position: 50% 40%; }
  .cap__photos img:nth-child(5) { object-position: 76% 62%; }
}
@media (hover: none) { .cap__dial:hover { transform: none; } }

/* ---------- インスタグラムから（トップ。連携すると site.js が新しい投稿に入れ替える） ---------- */
.feed__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 24px; margin-bottom: clamp(16px, 2.4vw, 28px); }
.feed .sh__en { font-size: clamp(40px, 4.8vw, 72px); }
.feed__sns { display: flex; flex-wrap: wrap; gap: 0 20px; font-size: 15px; font-weight: 500; }
.feed__grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(6px, 1vw, 16px); }
.feed__grid a { display: block; }
.feed__grid img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.feed__grid time { display: block; margin-top: 6px; font-size: 14px; line-height: 1.4; color: var(--ink-2); }
.feed__grid span { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; font-size: 14px; line-height: 1.55; }
.feed__grid a:hover span { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 759px) {
  .feed__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .feed__grid span { display: none; }
}

/* ---------- お仕事を探す方へ：開いてすぐ求人一覧が見える ---------- */
.phero--job { grid-template-columns: minmax(0, 1fr) clamp(220px, 21vw, 300px); padding-block: clamp(8px, 1vw, 14px); }
.phero--job .phero__text { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: clamp(16px, 2.4vw, 40px); align-items: center; }
.phero--job .phero__en, .phero--job .phero__title, .phero--job .phero__lead { grid-column: 1; }
.phero--job .phero__en { font-size: clamp(34px, 3.8vw, 56px); }
.phero--job .phero__title { margin-top: 0.15em; font-size: clamp(20px, 1.9vw, 27px); }
.phero--job .phero__title br { display: none; }
.phero--job .phero__lead { margin-top: 0.3em; max-width: none; }
.phero--job .btn { grid-column: 2; grid-row: 1 / span 3; margin-top: 0; }
.phero--job .markwin__amp { font-size: clamp(14px, 2.2vw, 32px); }
.work--top { padding-top: clamp(14px, 1.8vw, 26px); }
.work--top .sh { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 16px; margin-bottom: 10px; }
.work--top .sh__en { font-size: clamp(28px, 2.8vw, 40px); }
.work--top .sh__jp { margin-top: 0; }
.work__lead { font-size: 15px; color: var(--ink-2); }
.work__reg { display: none; }
.jobs--pics .job { grid-template-columns: clamp(88px, 7vw, 100px) minmax(0, 1fr) auto; grid-template-rows: auto auto 1fr; column-gap: clamp(14px, 1.4vw, 20px); align-items: start; padding: 9px 0; }
.job__pic { display: block; grid-column: 1; grid-row: 1 / span 3; aspect-ratio: 4 / 3; overflow: hidden; background: var(--line); }
.job__pic img { width: 100%; height: 100%; object-fit: cover; }
.jobs--pics .job:nth-child(1) .job__pic img { object-position: 74% 30%; }
.jobs--pics .job:nth-child(2) .job__pic img { object-position: 50% 40%; }
.jobs--pics .job__name { grid-column: 2; grid-row: 1; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.4; }
.job__meta { grid-column: 2; grid-row: 2; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 12px; }
.job__dated { font-size: 14px; color: var(--ink-2); }
.jobs--pics .job__date { grid-row: auto; font-size: 14.5px; }
.job__tags { grid-column: 2; grid-row: 3; font-size: 14px; line-height: 1.5; color: var(--pink-deep); }
.jobs--pics .job__wage { grid-column: 3; grid-row: 1 / span 3; align-self: center; }
.jobs--pics .job__wage b { font-size: clamp(26px, 2.2vw, 32px); }
@media (max-width: 959px) {
  .jobs--pics .job[role="button"]::before { display: none; }
  .phero--job { grid-template-columns: minmax(0, 1fr) clamp(108px, 28vw, 230px); align-items: center; padding: 8px 0 10px; }
  .phero--job .markwin { order: 0; }
  .phero--job .phero__text { display: block; padding-top: 0; padding-right: 8px; }
  .phero--job .phero__lead, .phero--job .btn { display: none; }
  .work__reg { display: inline-flex; margin-top: 16px; }
}
@media (max-width: 759px) {
  .phero--job .phero__en { font-size: clamp(28px, 8.6vw, 34px); }
  .phero--job .phero__title br { display: inline; }
  .work__lead { font-size: 14px; }
  .jobs--pics .job { grid-template-columns: 84px minmax(0, 1fr) auto; column-gap: 12px; padding: 10px 0; }
  .jobs--pics .job__name { grid-column: 2 / -1; }
  .job__meta { display: block; }
  .jobs--pics .job__place { display: block; }
  .jobs--pics .job__date { display: inline; }
  .jobs--pics .job__wage { grid-column: 3; grid-row: 2; align-self: end; }
  .jobs--pics .job__wage small { display: block; line-height: 1.3; }
  .jobs--pics .job__place, .jobs--pics .job__dated { white-space: nowrap; }
  .jobs--pics .job__wage b { font-size: 24px; }
  .job__tags { grid-column: 2 / -1; }
}

/* ---------- お仕事の登録フォーム（entry.html。2026-11-13 PHP のフォームの作り直し） ---------- */
.entry { padding-top: clamp(28px, 4vw, 56px); }
.entry__in { max-width: 820px; }
.entry__en { font-size: clamp(40px, 6vw, 76px); }
.entry__title { margin-top: 10px; font-family: var(--serif); font-weight: 600; font-size: clamp(26px, 3vw, 36px); line-height: 1.35; font-feature-settings: "palt"; }
.entry__lead { margin-top: 8px; color: var(--ink-2); }
.entry__langs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 22px; border: 1.5px solid var(--ink); }
.entry__langs button { min-height: 52px; padding: 6px 4px; border: 0; border-left: 1px solid var(--ink); background: var(--white); color: var(--ink); font: inherit; font-weight: 500; font-size: 15px; cursor: pointer; transition: background-color 0.2s, color 0.2s; }
.entry__langs button:first-child { border-left: 0; }
.entry__langs button[aria-pressed="true"] { background: var(--ink); color: var(--white); }
.entry__langs button:focus-visible { outline: 2px solid var(--pink-deep); outline-offset: 2px; }
.entry__note { margin-top: 14px; font-size: 14px; color: var(--ink-2); }
.entry__mark, .eform em, .echeck em { margin-left: 4px; font-style: normal; font-weight: 700; color: var(--pink-deep); }
.eform { margin-top: 8px; }
.eset { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 22px; margin: 0; padding: 30px 0 4px; border: 0; }
.eset > * { grid-column: 1 / -1; }
.eset > .efield--half { grid-column: auto; }
.eset__title { float: left; width: 100%; margin-bottom: 4px; padding: 16px 0 0; border-top: 2px solid var(--ink); font-family: var(--serif); font-weight: 600; font-size: 21px; line-height: 1.4; }
.eset__title + * { clear: both; }
.eset__hint { margin-top: -6px; font-size: 14px; color: var(--ink-2); }
.efield { display: block; min-width: 0; }
.efield > span:first-child { display: block; margin-bottom: 6px; font-size: 15px; line-height: 1.5; }
.efield b { font-weight: 600; }
.efield input, .efield select { width: 100%; min-height: 50px; padding: 12px 14px; border: 0; border-bottom: 1.5px solid var(--ink); border-radius: 0; background: var(--paper); font: inherit; font-size: 16px; color: var(--ink); -webkit-appearance: none; appearance: none; }
.efield select { padding-right: 36px; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: right 18px center, right 12px center; background-size: 6px 6px; background-repeat: no-repeat; }
.efield input:focus-visible, .efield select:focus-visible { outline: 2px solid var(--pink-deep); outline-offset: 0; }
.efield input::placeholder { color: var(--ink-3); }
.eunit { display: flex; align-items: center; gap: 8px; }
.eunit i { flex: none; font-family: var(--didone); font-style: italic; font-size: 17px; color: var(--ink-2); }
.erow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.echoice { min-width: 0; margin: 0; padding: 0; border: 0; }
.echoice legend { float: left; width: 100%; margin-bottom: 8px; font-size: 15px; line-height: 1.5; }
.echoice legend b { font-weight: 600; }
.echoice legend small { margin-left: 8px; font-size: 14px; color: var(--ink-2); }
.echoice legend + label { clear: both; }
.echoice label { position: relative; display: inline-flex; margin: 0 6px 6px 0; }
.echoice input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.echoice label > span { display: inline-flex; align-items: center; min-height: 46px; padding: 8px 16px; border: 1.5px solid var(--line); background: var(--white); font-size: 15px; line-height: 1.4; transition: background-color 0.15s, border-color 0.15s, color 0.15s; }
.echoice input:checked + span { border-color: var(--ink); background: var(--ink); color: var(--white); }
.echoice input[type="checkbox"]:checked + span::before { content: ""; width: 9px; height: 5px; margin-right: 8px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(-45deg); }
.echoice input:focus-visible + span { outline: 2px solid var(--pink-deep); outline-offset: 2px; }
.echoice label:hover > span { border-color: var(--ink-3); }
.ephotos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ephoto { position: relative; display: block; cursor: pointer; }
.ephoto input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.ephoto__box { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; aspect-ratio: 1; padding: 10px; border: 1.5px dashed var(--ink-3); background: var(--paper); text-align: center; overflow: hidden; }
.ephoto__box b { position: relative; font-weight: 600; font-size: 14px; line-height: 1.45; }
.ephoto__box small { position: relative; font-size: 14px; line-height: 1.4; color: var(--ink-2); }
.ephoto__box img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ephoto__box img[hidden] { display: none; }
.ephoto.is-set .ephoto__box { border-style: solid; border-color: var(--ink); }
.ephoto.is-set .ephoto__box b, .ephoto.is-set .ephoto__box small { display: none; }
.ephoto.is-error .ephoto__box { border-color: var(--pink-deep); }
.ephoto input:focus-visible + .ephoto__box { outline: 2px solid var(--pink-deep); outline-offset: 2px; }
.ejobs { display: grid; gap: 14px; }
.ejob { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 18px; margin: 0; padding: 14px 16px 16px; border: 1.5px solid var(--line); }
.ejob > * { grid-column: 1 / -1; }
.ejob > .efield--half { grid-column: auto; }
.ejob legend { padding: 0 6px; font-family: var(--serif); font-weight: 600; font-size: 15px; }
.is-invalid > span:first-child, .is-invalid legend, .echeck.is-invalid > span { color: var(--pink-deep); }
.efield.is-invalid input, .efield.is-invalid select { border-bottom-color: var(--pink-deep); background: var(--pink-pale); }
.echoice.is-invalid label > span { border-color: var(--pink); }
.esend { display: grid; gap: 16px; margin-top: 34px; padding-top: 22px; border-top: 2px solid var(--ink); }
.echeck { position: relative; display: flex; align-items: center; gap: 12px; min-height: 48px; font-size: 15.5px; line-height: 1.6; }
.echeck input { flex: none; width: 22px; height: 22px; accent-color: var(--pink-deep); }
.echeck a { text-decoration: underline; text-underline-offset: 3px; }
.esend__error { padding: 12px 16px; background: var(--pink-pale); color: var(--pink-deep); font-weight: 600; font-size: 15px; }
.esend__error[hidden] { display: none; }
.esend__btn { justify-self: start; min-width: 260px; }
.esend__btn:disabled { opacity: 0.6; cursor: progress; }
.edone { padding-block: 24px 10px; }
.edone[hidden] { display: none; }
.edone:focus { outline: 0; }
.edone__en { font-size: clamp(34px, 5vw, 60px); }
.edone__title { margin: 14px 0 8px; font-family: var(--serif); font-weight: 600; font-size: clamp(24px, 2.8vw, 32px); }
.edone__tel a { font-family: var(--didone); font-size: clamp(30px, 4vw, 44px); }
@media (max-width: 759px) {
  .eset { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .eset > .efield--half { grid-column: 1 / -1; }
  .erow { gap: 10px; }
  .ephotos { gap: 8px; }
  .ephoto__box { padding: 6px; }
  .ephoto__box b { font-size: 14px; line-height: 1.35; }
  .ephoto__box small { display: none; }
  .entry__langs button { font-size: 14px; }
  .esend__btn { justify-self: stretch; }
}

/* 登録フォームを見やすく（2026-11-13 本人「もっと見やすく」）：欄ごとに白い枠・字と欄を大きく・はい／いいえは横いっぱいの2つ・下に「あと何か所」 */
.entry-page { background: var(--paper); }
.entry-page .actionbar { display: none; }
.eform .eset { margin-top: 16px; padding: 22px clamp(18px, 3vw, 34px) 28px; background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--ink); gap: 24px 26px; }
.eform .eset__title { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 2px; padding-top: 0; border-top: 0; font-size: clamp(21px, 2.2vw, 25px); }
.eset__no { flex: none; font-family: var(--didone); font-style: italic; font-weight: 500; font-size: 17px; color: var(--ink-2); }
.eform .efield > span:first-child, .eform .echoice legend { font-size: 16px; }
.eform .efield input, .eform .efield select { min-height: 54px; font-size: 17px; }
.eopts { display: flex; flex-wrap: wrap; gap: 8px; clear: both; }
.eform .echoice label { margin: 0; }
.eform .echoice label > span { min-height: 50px; font-size: 16px; }
.eopts--2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 440px; }
.eopts--2 label, .echoice--wrap .eopts label { display: flex; }
.eopts--2 label > span { width: 100%; justify-content: center; }
.echoice--wrap .eopts { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 168px), 1fr)); }
.echoice--wrap .eopts label > span { width: 100%; }
.ejob[hidden] { display: none; }
.eadd { justify-self: start; min-height: 48px; padding: 0 18px; border: 1.5px dashed var(--ink-3); background: var(--white); color: var(--ink); font: inherit; font-weight: 600; cursor: pointer; }
.eadd:hover { border-color: var(--ink); }
.eform .esend { margin-top: 16px; padding: 24px clamp(18px, 3vw, 34px) 28px; background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--ink); }
.eprog { position: sticky; bottom: 0; z-index: 30; display: flex; align-items: center; gap: 14px; margin: 18px 0 0; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: var(--ink); color: var(--white); }
.eprog[hidden] { display: none; }
.eprog__bar { position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--ink-line); }
.eprog__bar i { display: block; width: 0; height: 100%; background: var(--pink); transition: width 0.3s var(--ease); }
.eprog__text { flex: 1; min-width: 0; font-size: 15px; line-height: 1.4; }
.eprog__text b { margin-left: 2px; font-family: var(--didone); font-weight: 500; font-size: 26px; }
.eprog__go { display: inline-flex; align-items: center; min-height: 46px; padding: 0 20px; background: var(--pink); color: var(--ink); font-weight: 700; font-size: 15px; white-space: nowrap; }
.eprog.is-done .eprog__bar i { background: var(--gold); }
@media (max-width: 759px) {
  .entry__in { padding-inline: 12px; }
  .eform .eset, .eform .esend { padding-inline: 16px; }
  .eopts--2 { max-width: none; }
  .echoice--wrap .eopts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .eprog { margin-inline: -12px; }
}
.eopts:not(.eopts--2) label > span { min-width: 84px; justify-content: center; }
.echoice--wrap .eopts label > span { justify-content: flex-start; }
.echoice label > span, .ephoto__box b { word-break: keep-all; overflow-wrap: anywhere; }
