/* KIDLAZ corporate site v3 — modelled on the FONZ structure
   Layout: one column, 1000px frame, 776px text column, ~120px between sections.
   Photos sit in their own band or card; text always on a plain ground.
   Color: warm light grey page, deep slate header/footer, one accent (vermilion) for the recruit button.
   Type: Shippori Mincho for Japanese headings, Cormorant Garamond for English labels, Noto Sans JP for body. */
:root {
  --bg: #ebeae7;
  --paper: #ffffff;
  --ink: #2a2a2a;
  --ink-2: #5a5a58;
  --muted: #8a8884;
  --line: #d9d7d2;
  --slate: #141414;
  --slate-2: #0c0c0c;
  --slate-3: #2a2a2a;
  --accent: #b4452c;
  --link: #375672;
  --itadori: #b4452c;
  --gao: #7a9a2e;
  --koguma: #c39a5a;
  --matsuo: #4f6b8a;
  --ex: #7a5a7e;

  --font-en: "Cormorant Garamond", "Times New Roman", serif;
  --font-jp: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  --font-serif: "Shippori Mincho B1", "Hiragino Mincho ProN", "Yu Mincho", serif;

  --frame: 1000px;
  --text: 776px;
  --gutter: clamp(20px, 4vw, 40px);
  --sec: clamp(72px, 9vw, 130px);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.ready { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-jp); font-size: 15px; line-height: 2; letter-spacing: .02em; font-feature-settings: "palt"; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: opacity .3s; }
a:hover { opacity: .7; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.5; }
p, dl, dd { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--slate); outline-offset: 3px; }

.frame { width: min(100% - var(--gutter) * 2, var(--frame)); margin-inline: auto; }
.text { width: min(100%, var(--text)); margin-inline: auto; }
.sec { padding-block: var(--sec); }
.sec-tight { padding-block: calc(var(--sec) * .6); }
.center { text-align: center; }

/* ---------- Header ---------- */
.header { background: var(--slate); color: #fff; position: sticky; top: 0; z-index: 50; }
.header-in { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 60px; padding-inline: var(--gutter); gap: 16px; }
.brand { font-family: var(--font-en); font-weight: 600; font-size: 24px; letter-spacing: .38em; color: #fff; line-height: 1; justify-self: start; padding-left: .1em; }
.brand small { display: block; font-family: var(--font-serif); font-size: 9px; letter-spacing: .3em; color: rgba(255,255,255,.6); margin-top: 6px; }
.nav { display: flex; gap: clamp(18px, 2.6vw, 38px); justify-self: center; }
.nav a { font-family: var(--font-serif); font-size: 13.5px; letter-spacing: .22em; color: #fff; padding: 6px 0; position: relative; white-space: nowrap; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: #fff; transform: scaleX(0); transition: transform .3s; }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a:hover { opacity: 1; }
.btn-recruit { justify-self: end; background: var(--accent); color: #fff; font-family: var(--font-serif); font-size: 13px; letter-spacing: .22em; padding: 8px 18px; white-space: nowrap; }
.btn-recruit:hover { opacity: .8; }
.menu-btn { display: none; justify-self: end; background: none; border: 0; color: #fff; width: 44px; height: 44px; cursor: pointer; padding: 0; margin-right: -8px; }
.menu-btn span { display: block; width: 22px; height: 1.5px; background: currentColor; margin: 5px auto; transition: transform .3s, opacity .3s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
.drawer { position: fixed; inset: 60px 0 0 0; z-index: 40; background: var(--slate); color: #fff; padding: 32px var(--gutter) 40px; overflow: auto; opacity: 0; pointer-events: none; transition: opacity .3s; }
.drawer.is-open { opacity: 1; pointer-events: auto; }
.drawer a { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.14); font-family: var(--font-serif); font-size: 17px; letter-spacing: .2em; }
.drawer a span { font-family: var(--font-en); font-size: 12px; letter-spacing: .2em; color: rgba(255,255,255,.55); }
.drawer .sub { margin-top: 22px; display: grid; gap: 4px; }
.drawer .sub a { border: 0; padding: 8px 0; font-family: var(--font-jp); font-size: 14px; letter-spacing: .08em; color: rgba(255,255,255,.85); }
.drawer a.hot { margin-top: 14px; padding: 16px 18px; background: var(--accent); color: #fff; border-bottom: 0; }
.drawer a.hot span { color: rgba(255,255,255,.8); }
@media (max-width: 960px) { .nav, .header .btn-recruit { display: none; } .menu-btn { display: block; } .header-in { grid-template-columns: 1fr auto; } }

/* ---------- Hero slideshow ---------- */
.hero { position: relative; height: calc(100vh - 60px); height: calc(100svh - 60px); min-height: 460px; overflow: hidden; background: var(--slate-2); }
.hero .slide { position: absolute; inset: 0; opacity: 0; transition: opacity .7s ease; }
.hero .slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1); }
.hero .slide.is-active { opacity: 1; }
.hero .slide.is-active img { animation: kb 3s ease-out forwards; }
@keyframes kb { from { transform: scale(1); } to { transform: scale(1.06); } }
.hero::after { content: ""; position: absolute; inset: 0; background: rgba(20, 28, 32, .28); }
/* the hero starts 60px below the top, so pad the bottom by 60px to put the wordmark at the exact centre of the viewport */
.hero .mark { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; text-align: center; color: #fff; padding: 0 var(--gutter) 60px; }
.hero .mark .inner { position: relative; }
.hero .mark h1 { font-family: var(--font-en); font-weight: 500; font-size: clamp(48px, 9vw, 112px); letter-spacing: .42em; padding-left: .42em; line-height: 1; text-shadow: 0 2px 30px rgba(0,0,0,.35); }
.hero .mark p { position: absolute; left: 50%; top: calc(100% + 26px); transform: translateX(-50%); width: max-content; max-width: calc(100vw - var(--gutter) * 2); font-family: var(--font-serif); font-size: clamp(13px, 1.4vw, 16px); letter-spacing: .34em; opacity: .92; line-height: 1.8; }
.hero .dots { position: absolute; bottom: 26px; left: 0; right: 0; z-index: 3; display: flex; justify-content: center; gap: 10px; }
.hero .dots button { width: 8px; height: 8px; border-radius: 50%; border: 1px solid #fff; background: transparent; padding: 0; cursor: pointer; opacity: .8; }
.hero .dots button[aria-current="true"] { background: #fff; }
.hero .cap { position: absolute; right: 18px; bottom: 22px; z-index: 3; color: #fff; font-family: var(--font-serif); font-size: 11px; letter-spacing: .2em; opacity: .85; }

/* ---------- Page hero (sub pages): slow crossfade slideshow, no text on it ---------- */
.band { position: relative; height: clamp(220px, 30vw, 440px); overflow: hidden; background: var(--slate-2); }
.band.single { height: clamp(260px, 40vw, 560px); }
.band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.6s ease; }
.band img.is-active { opacity: 1; animation: kb 8s ease-out forwards; }
html:not(.js) .band img:first-child { opacity: 1; }

/* ---------- Section title (FONZ型: 線 / 明朝 / 英字) ---------- */
.ttl { text-align: center; margin: 0 auto 48px; width: max-content; max-width: 100%; }
.ttl .jp { display: block; font-family: var(--font-serif); font-weight: 600; font-size: clamp(22px, 2.6vw, 28px); letter-spacing: .3em; padding: 10px 24px; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); line-height: 1.4; }
.ttl .en { display: block; font-family: var(--font-en); font-weight: 600; font-size: 12.5px; letter-spacing: .34em; text-transform: uppercase; color: var(--ink-2); margin-top: 10px; }
.ttl.left { margin-inline: 0; text-align: left; }

/* ---------- Body text ---------- */
.copy { font-size: 15px; line-height: 2.1; }
.copy p { text-indent: 1em; }
.copy p + p { margin-top: 1.2em; }
.copy p.noindent { text-indent: 0; }
.sign { text-align: right; margin-top: 28px; font-size: 14px; line-height: 1.9; }
.sign b { display: block; font-weight: 500; }
.lead-serif { font-family: var(--font-serif); font-size: clamp(18px, 2vw, 22px); line-height: 1.9; letter-spacing: .08em; text-align: center; }

/* ---------- Photo ---------- */
.photo { width: min(100%, 820px); margin: 56px auto 0; position: relative; }
.photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.photo.tall img { aspect-ratio: 1 / 1; max-height: 720px; }
.photo .cap { position: absolute; right: 0; bottom: 0; background: rgba(255,255,255,.9); color: var(--ink); font-size: 11.5px; letter-spacing: .14em; padding: 4px 12px; }

/* ---------- Definition lists (会社概要・沿革) ---------- */
.deflist { width: min(100%, 620px); margin-inline: auto; }
.deflist .row { display: grid; grid-template-columns: 130px 1fr; gap: 8px 30px; padding: 6px 0; font-size: 14.5px; line-height: 2; }
.deflist .row + .row.group { margin-top: 22px; }
.deflist dt { color: var(--ink-2); }
.deflist a { color: var(--link); text-decoration: underline; font-weight: 700; }
.deflist .brands li { line-height: 2; }
.history .row { grid-template-columns: 110px 1fr; }
.history dt { font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (max-width: 520px) { .deflist .row, .history .row { grid-template-columns: 1fr; gap: 0; } .deflist dt { font-size: 12.5px; letter-spacing: .1em; } }

/* ---------- Store list ---------- */
.stores { display: grid; gap: 40px 24px; grid-template-columns: repeat(3, 1fr); width: min(100%, 820px); margin-inline: auto; }
@media (max-width: 760px) { .stores { grid-template-columns: repeat(2, 1fr); gap: 32px 16px; } }
@media (max-width: 440px) { .stores { grid-template-columns: 1fr; } }
.store { display: grid; gap: 10px; text-align: center; }
.store .name { font-family: var(--font-serif); font-weight: 600; font-size: 17px; letter-spacing: .14em; color: var(--brand, var(--ink)); line-height: 1.4; }
.store .name small { display: block; font-family: var(--font-en); font-size: 11px; letter-spacing: .24em; color: var(--muted); text-transform: uppercase; font-weight: 600; }
.store .pic { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--line); }
.store .pic::before { content: ""; position: absolute; top: 0; left: 0; width: 50%; height: 6px; background: var(--brand, var(--slate)); z-index: 1; }
.store .pic::after { content: ""; position: absolute; top: 0; right: 0; width: 50%; height: 6px; background: #c9c7c2; z-index: 1; }
.store .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s; }
.store:hover .pic img { transform: scale(1.04); }
.store:hover { opacity: 1; }

/* ---------- White cards (料理・空間型) ---------- */
.cards { display: grid; gap: 48px; width: min(100%, 864px); margin-inline: auto; }
.card { background: var(--paper); }
.card .pic { aspect-ratio: 16 / 10; overflow: hidden; }
.card .pic img { width: 100%; height: 100%; object-fit: cover; }
.card .in { padding: 44px clamp(24px, 5vw, 80px) 56px; }
.card .in .ttl { margin-bottom: 28px; }
.card .in .ttl .jp { font-size: clamp(19px, 2.2vw, 24px); border: 0; padding: 0; }
.card .in .copy { font-size: 14.5px; }
.card .in .copy p { text-indent: 0; }
.card .meta { margin-top: 24px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; font-size: 13px; color: var(--ink-2); letter-spacing: .06em; }
.card .meta b { font-family: var(--font-en); font-weight: 600; letter-spacing: .2em; font-size: 12px; color: var(--muted); margin-right: 8px; text-transform: uppercase; }
.card .actions { margin-top: 28px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.cards.two { grid-template-columns: repeat(2, 1fr); gap: 24px; width: 100%; }
.cards.two .card .pic { aspect-ratio: 16 / 10; }
.cards.two .card .in { padding: 32px 28px 40px; }
.cards.three { grid-template-columns: repeat(3, 1fr); gap: 24px; width: 100%; }
.cards.three .card .pic { aspect-ratio: 4 / 3; }
.cards.three .card .in { padding: 28px 24px 34px; }
.cards.three .card .in .ttl { margin-bottom: 14px; }
.cards.three .card .in .ttl .jp { font-size: 18px; letter-spacing: .16em; }
.cards.three .card .in .copy { font-size: 13.5px; line-height: 1.9; }
@media (max-width: 860px) { .cards.three { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cards.two, .cards.three { grid-template-columns: 1fr; } }

/* ---------- Buttons ---------- */
.btn { display: inline-block; font-family: var(--font-serif); font-size: 13.5px; letter-spacing: .22em; padding: 13px 34px; border: 1px solid var(--ink); color: var(--ink); background: transparent; transition: background .3s, color .3s; }
.btn:hover { background: var(--ink); color: #fff; opacity: 1; }
.btn.fill { background: var(--slate); color: #fff; border-color: var(--slate); }
.btn.fill:hover { background: var(--slate-2); }
.btn.accent { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn.accent:hover { background: #9a3a24; }
.more-link { font-size: 14px; text-decoration: underline; font-weight: 700; color: var(--link); letter-spacing: .06em; }

/* ---------- Gallery ---------- */
.gallery { display: grid; gap: 12px; grid-template-columns: repeat(3, 1fr); width: min(100%, 864px); margin-inline: auto; }
.gallery figure { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; background: var(--line); cursor: zoom-in; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s; }
.gallery figure:hover img { transform: scale(1.04); }
@media (max-width: 600px) { .gallery { grid-template-columns: repeat(2, 1fr); gap: 8px; } }

/* ---------- Store info ---------- */
.info { background: var(--paper); width: min(100%, 864px); margin-inline: auto; display: grid; }
@media (min-width: 760px) { .info { grid-template-columns: 1fr 1fr; } }
.info .pic { overflow: hidden; }
.info .pic img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.info .in { padding: clamp(28px, 4vw, 44px); display: grid; gap: 18px; align-content: center; }
.info h3 { font-family: var(--font-serif); font-size: 20px; letter-spacing: .16em; }
.info h3 small { display: block; font-family: var(--font-en); font-size: 11.5px; letter-spacing: .28em; color: var(--muted); text-transform: uppercase; margin-bottom: 6px; }
.info .row { display: grid; grid-template-columns: 5.5em 1fr; gap: 12px; font-size: 14px; line-height: 1.9; padding: 8px 0; border-top: 1px solid var(--line); }
.info dt { color: var(--muted); font-size: 12.5px; letter-spacing: .14em; }
.info .tel { font-family: var(--font-en); font-weight: 600; font-size: 20px; letter-spacing: .06em; }
.info .note { display: block; font-size: 12px; color: var(--muted); }
.info .actions { display: flex; flex-wrap: wrap; gap: 8px; }
.info .actions .btn { padding: 10px 20px; font-size: 12.5px; }
.branches { display: grid; gap: 24px; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) { .branches { grid-template-columns: 1fr; } }
.branches .info { grid-template-columns: 1fr; width: 100%; }

/* ---------- Recruit specifics ---------- */
.voice { display: grid; gap: 24px; grid-template-columns: repeat(2, 1fr); }
@media (max-width: 760px) { .voice { grid-template-columns: 1fr; } }
.voice .card { display: grid; grid-template-rows: auto 1fr; }
.voice .pic { aspect-ratio: 4 / 3; overflow: hidden; }
.voice .pic img { width: 100%; height: 100%; object-fit: cover; }
.voice .in { padding: 28px 28px 32px; }
.voice .q { font-family: var(--font-serif); font-size: 18px; line-height: 1.8; letter-spacing: .06em; }
.voice .who { font-size: 12px; color: var(--muted); letter-spacing: .16em; margin-top: 10px; }
.voice .qa { margin-top: 20px; display: grid; gap: 14px; }
.voice .qa dt { font-weight: 700; font-size: 13.5px; padding-left: 12px; border-left: 2px solid var(--slate); line-height: 1.6; }
.voice .qa dd { font-size: 13.5px; color: var(--ink-2); line-height: 1.9; }
.voice details summary { cursor: pointer; font-size: 13px; color: var(--link); text-decoration: underline; margin-top: 16px; list-style: none; }
.voice details summary::-webkit-details-marker { display: none; }
.voice details[open] summary { display: none; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 40px; }
.chips li { background: var(--paper); text-align: center; padding: 14px 22px; font-family: var(--font-serif); font-size: 14px; letter-spacing: .1em; line-height: 1.6; white-space: nowrap; }
.os { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.os article { background: var(--paper); padding: 30px 32px; display: grid; gap: 6px; }
@media (min-width: 760px) { .os article { grid-template-columns: 260px 1fr; column-gap: 40px; align-items: start; } .os article p { grid-column: 2; } .os article .en, .os article .jp { grid-column: 1; } }
.os .en { font-family: var(--font-en); font-weight: 600; font-size: 22px; letter-spacing: .14em; line-height: 1.2; }
.os .jp { font-family: var(--font-serif); font-size: 14px; letter-spacing: .1em; color: var(--ink-2); }
.os p { font-size: 14px; line-height: 1.95; color: var(--ink-2); }
.stats { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); grid-template-columns: repeat(3, 1fr); }
@media (max-width: 600px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat { background: var(--paper); padding: 28px 16px; text-align: center; }
.stat .v { font-family: var(--font-en); font-weight: 600; font-size: clamp(36px, 4.6vw, 54px); line-height: 1; letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.stat .v small { font-family: var(--font-serif); font-size: .34em; letter-spacing: .1em; margin-left: 4px; }
.stat .l { font-size: 12.5px; letter-spacing: .14em; color: var(--ink-2); margin-top: 8px; }
.apply { display: grid; gap: 24px; grid-template-columns: repeat(2, 1fr); }
@media (max-width: 600px) { .apply { grid-template-columns: 1fr; } }
.apply .card .in { padding: 36px 28px 40px; text-align: center; display: grid; gap: 14px; justify-items: center; }
.apply .card h3 { font-family: var(--font-serif); font-size: 22px; letter-spacing: .2em; }
.apply .card h3 small { display: block; font-family: var(--font-en); font-size: 11.5px; letter-spacing: .3em; color: var(--muted); text-transform: uppercase; margin-bottom: 6px; }
.apply .card p { font-size: 13.5px; color: var(--ink-2); line-height: 1.9; }
.line-row { margin-top: 24px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; align-items: center; font-size: 13.5px; color: var(--ink-2); }

/* ---------- News ---------- */
.news { display: grid; gap: 24px; grid-template-columns: repeat(3, 1fr); width: min(100%, 864px); margin-inline: auto; }
@media (max-width: 760px) { .news { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .news { grid-template-columns: 1fr; } }
.news a.card { display: grid; grid-template-rows: auto 1fr; }
.news .pic { aspect-ratio: 1 / 1; background: #f4f3f0; display: grid; place-items: center; padding: 14px; }
.news .pic img { width: 100%; height: 100%; object-fit: contain; }
.news .in { padding: 18px 20px 22px; }
.news .meta { font-size: 11.5px; color: var(--muted); letter-spacing: .14em; display: flex; gap: 12px; }
.news .meta b { color: var(--ink); font-weight: 600; }
.news h3 { font-size: 14px; font-weight: 700; line-height: 1.7; margin-top: 6px; }
.filter { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: -16px 0 36px; }
.filter button { background: none; border: 1px solid var(--line); color: var(--ink-2); padding: 7px 16px; font: inherit; font-size: 13px; letter-spacing: .08em; cursor: pointer; font-family: var(--font-serif); }
.filter button[aria-pressed="true"], .filter button:hover { background: var(--slate); color: #fff; border-color: var(--slate); }

/* ---------- Footer ---------- */
.footer { position: relative; margin-top: var(--sec); color: #fff; font-family: var(--font-serif); background: linear-gradient(90deg, var(--slate) 50%, var(--slate-3) 50%); }
.gotop { position: absolute; top: -34px; left: 50%; width: 68px; height: 68px; transform: translateX(-50%) rotate(45deg); background: #fff; display: grid; place-items: center; z-index: 2; }
.gotop span { transform: rotate(-45deg); font-family: var(--font-en); font-size: 13px; letter-spacing: .14em; color: var(--ink); }
.footer-in { display: grid; width: min(100% - var(--gutter) * 2, var(--frame)); margin-inline: auto; padding: 90px 0 70px; }
@media (min-width: 760px) { .footer-in { grid-template-columns: 1fr 1fr; } }
.footer .l { padding-right: 24px; }
.footer .l .brand { font-size: 30px; }
.footer .l ul { margin-top: 40px; display: grid; gap: 4px; font-size: 13.5px; letter-spacing: .22em; }
.footer .l ul + ul { margin-top: 24px; }
.footer .r { padding-left: clamp(0px, 4vw, 48px); }
@media (max-width: 759px) { .footer { background: var(--slate); } .footer .r { margin-top: 40px; padding-left: 0; border-top: 1px solid rgba(255,255,255,.15); padding-top: 32px; } }
.footer .r h4 { font-size: 13px; letter-spacing: .3em; font-weight: 400; margin-bottom: 20px; }
.footer .r .cols { display: grid; gap: 28px; grid-template-columns: 1fr 1fr; font-size: 13px; letter-spacing: .16em; }
.footer .r li { line-height: 2.2; }
.footer .r li.head { text-decoration: underline; }
.footer .copy { margin-top: 48px; font-size: 11.5px; letter-spacing: .16em; text-align: right; grid-column: 1 / -1; color: rgba(255,255,255,.85); }
.footer a:hover { opacity: .7; }

/* ---------- Lightbox / reveal ---------- */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(20,28,32,.92); display: grid; place-items: center; padding: 24px; opacity: 0; pointer-events: none; transition: opacity .25s; cursor: zoom-out; }
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox img { max-width: 100%; max-height: 90vh; object-fit: contain; }
.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .9s ease, transform .9s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Carousel (scroll-snap) ---------- */
.carousel { position: relative; width: min(100%, 864px); margin-inline: auto; }
.carousel.wide { width: 100%; }
.carousel .ctrack { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.carousel .ctrack::-webkit-scrollbar { display: none; }
.carousel .item { flex: 0 0 100%; scroll-snap-align: start; position: relative; }
.carousel.multi .item { flex-basis: calc((100% - 24px) / 3); }
@media (max-width: 760px) { .carousel.multi .item { flex-basis: calc((100% - 12px) / 2); } }
@media (max-width: 480px) { .carousel.multi .item { flex-basis: 84%; } }
.carousel.tall .item { flex-basis: calc((100% - 24px) / 3); }
@media (max-width: 760px) { .carousel.tall .item { flex-basis: calc((100% - 12px) / 2); } }
.carousel .item img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
.carousel.tall .item img { aspect-ratio: 4 / 5; }
.carousel .item .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 16px 12px; background: linear-gradient(transparent, rgba(0,0,0,.6)); color: #fff; font-size: 12.5px; letter-spacing: .08em; line-height: 1.6; }
.carousel .item .lbl { display: block; margin-top: 10px; text-align: center; font-family: var(--font-serif); font-size: 14px; letter-spacing: .12em; }
.carousel .item .lbl small { display: block; font-family: var(--font-jp); font-size: 12px; color: var(--muted); letter-spacing: .04em; margin-top: 2px; }
.carousel .item.now::before { content: "今回の配属先"; position: absolute; left: 10px; top: 10px; z-index: 1; background: var(--accent); color: #fff; font-size: 11px; letter-spacing: .1em; padding: 4px 10px; }
.carousel .nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border: 0; background: rgba(255,255,255,.92); color: var(--ink); cursor: pointer; display: grid; place-items: center; font-size: 0; }
.carousel .nav { display: block; }
.carousel .nav::before { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; margin: -5px 0 0 -7px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); }
.carousel .nav.prev { left: 10px; } .carousel .nav.prev::before { margin-left: -3px; transform: rotate(-135deg); }
.carousel .nav.next { right: 10px; }
.carousel.tall .nav, .carousel.multi .nav { top: 40%; }
.carousel .dots { display: flex; justify-content: center; gap: 8px; margin-top: 14px; }
.carousel .dots button { width: 7px; height: 7px; border-radius: 50%; border: 1px solid var(--ink); background: transparent; padding: 0; cursor: pointer; }
.carousel .dots button[aria-current="true"] { background: var(--ink); }

/* ---------- Recruit page ---------- */
.subnav { background: var(--paper); border-bottom: 1px solid var(--line); }
.subnav ul { display: flex; gap: 0; justify-content: center; overflow-x: auto; scrollbar-width: none; }
.subnav ul::-webkit-scrollbar { display: none; }
@media (max-width: 760px) { .subnav ul { justify-content: flex-start; } }
.subnav a { display: block; padding: 14px 20px; font-family: var(--font-serif); font-size: 13.5px; letter-spacing: .14em; white-space: nowrap; }
.rhero { display: grid; gap: 36px; align-items: center; padding-top: clamp(48px, 6vw, 80px); }
@media (min-width: 900px) { .rhero { grid-template-columns: 6fr 5fr; gap: 56px; } }
.rhero .kicker { font-size: 13px; color: var(--ink-2); line-height: 1.9; letter-spacing: .04em; }
.rhero .kicker b { color: var(--ink); }
.rhero h1 { font-family: var(--font-serif); font-weight: 600; font-size: clamp(34px, 5vw, 58px); letter-spacing: .1em; line-height: 1.4; margin: 14px 0 18px; }
.rhero h1 em { font-style: normal; color: var(--accent); }
.rhero .lead { font-size: 15px; line-height: 2; color: var(--ink-2); }
.chips.inline { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; justify-content: flex-start; }
.chips.inline li { padding: 7px 14px; font-size: 13px; letter-spacing: .06em; border: 1px solid var(--line); background: var(--paper); font-family: var(--font-jp); white-space: nowrap; }
.rhero .photo { margin: 0; width: 100%; }
.rhero .photo img { aspect-ratio: 3 / 2; }
.rhero .photo .capt { font-size: 12.5px; color: var(--muted); margin-top: 10px; line-height: 1.7; }
.tracks { display: grid; gap: 24px; grid-template-columns: repeat(2, 1fr); margin-top: clamp(40px, 5vw, 64px); }
@media (max-width: 640px) { .tracks { grid-template-columns: 1fr; } }
.track { background: var(--paper); padding: 30px 28px 32px; display: grid; gap: 10px; border-top: 3px solid var(--ink); }
.track.pt { border-top-color: var(--koguma); }
.track .en { font-family: var(--font-en); font-size: 12px; letter-spacing: .3em; color: var(--muted); text-transform: uppercase; }
.track h2 { font-family: var(--font-serif); font-size: 24px; letter-spacing: .16em; }
.track .pay { font-family: var(--font-en); font-weight: 600; font-size: clamp(30px, 3.4vw, 40px); letter-spacing: .02em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.track .pay small { font-family: var(--font-jp); font-size: 13px; letter-spacing: .08em; color: var(--ink-2); margin-left: 8px; font-weight: 400; }
.track p { font-size: 14px; color: var(--ink-2); line-height: 1.9; }
.track .meta { font-size: 12.5px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 12px; line-height: 1.8; }
.track .acts { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 6px; }
.track .acts .btn { padding: 12px 24px; }
.linenote { margin-top: 22px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 18px; font-size: 13.5px; color: var(--ink-2); text-align: center; }
.sec-lead { text-align: center; margin: -24px auto 40px; max-width: 40em; font-size: 14.5px; color: var(--ink-2); line-height: 2; }
.sec-lead.tight { margin-top: 0; }
.sec-lead.left { text-align: left; margin-inline: 0; }
.igcard { display: flex; align-items: center; gap: 14px; background: var(--paper); padding: 14px 18px; width: min(100%, 864px); margin: 0 auto 24px; }
.igcard img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex: none; }
.igcard .t { flex: 1; font-size: 13.5px; line-height: 1.6; }
.igcard .t b { display: block; }
.igcard .t span { color: var(--muted); font-size: 12.5px; }
.igcard .go { font-family: var(--font-serif); font-size: 12.5px; letter-spacing: .14em; border: 1px solid var(--ink); padding: 8px 14px; white-space: nowrap; }
.iglist { display: grid; gap: 12px; grid-template-columns: repeat(3, 1fr); margin-top: 24px; }
@media (max-width: 760px) { .iglist { grid-template-columns: 1fr; } }
.iglist .igcard { margin: 0; width: auto; }
.worklist { display: grid; gap: 24px; grid-template-columns: repeat(3, 1fr); }
.worklist.two { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 760px) { .worklist, .worklist.two { grid-template-columns: 1fr; } }
.worklist .col { background: var(--paper); padding: 28px 26px 30px; }
.worklist .en { font-family: var(--font-en); font-size: 12px; letter-spacing: .3em; color: var(--muted); text-transform: uppercase; }
.worklist h4 { font-family: var(--font-serif); font-size: 19px; letter-spacing: .14em; margin: 6px 0 14px; padding-bottom: 12px; border-bottom: 1px solid var(--ink); font-weight: 600; }
.worklist li { font-size: 14px; line-height: 1.8; padding: 6px 0 6px 16px; position: relative; color: var(--ink-2); }
.worklist li::before { content: ""; position: absolute; left: 0; top: 16px; width: 6px; height: 1px; background: var(--ink); }
.pt-intro { display: grid; gap: 28px; align-items: center; margin: clamp(40px, 5vw, 64px) 0 24px; }
@media (min-width: 860px) { .pt-intro { grid-template-columns: 1fr 1fr; } }
.pt-intro h3 { font-family: var(--font-serif); font-size: clamp(22px, 3vw, 30px); letter-spacing: .1em; line-height: 1.5; }
.pt-intro p { font-size: 14.5px; color: var(--ink-2); line-height: 2; margin-top: 14px; }
.pt-intro img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.people { display: grid; gap: 24px; grid-template-columns: repeat(2, 1fr); }
@media (max-width: 760px) { .people { grid-template-columns: 1fr; } }
.person { background: var(--paper); }
.person .pic { aspect-ratio: 4 / 3; overflow: hidden; }
.person .pic img { width: 100%; height: 100%; object-fit: cover; }
.person .in { padding: 26px 28px 30px; }
.person .tag { display: inline-block; font-size: 12px; letter-spacing: .14em; padding: 4px 12px; border: 1px solid var(--ink); margin-bottom: 16px; }
.person dl { display: grid; gap: 10px; }
.person .row { display: grid; grid-template-columns: 6em 1fr; gap: 12px; font-size: 13.5px; line-height: 1.8; }
.person dt { font-family: var(--font-serif); letter-spacing: .1em; color: var(--ink); }
.person dd { color: var(--ink-2); }
.hero-line { font-family: var(--font-serif); font-size: 17px; letter-spacing: .14em; text-align: center; margin: -16px 0 40px; }
.steps { display: grid; gap: 24px; grid-template-columns: repeat(3, 1fr); margin-top: 40px; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }
.step { background: var(--paper); padding: 28px 26px 30px; position: relative; }
.step .en { font-family: var(--font-en); font-weight: 600; font-size: 22px; letter-spacing: .24em; color: var(--accent); }
.step h4 { font-family: var(--font-serif); font-size: 18px; letter-spacing: .1em; margin: 8px 0 10px; font-weight: 600; }
.step p { font-size: 13.5px; color: var(--ink-2); line-height: 1.9; }
.step .n { position: absolute; right: 20px; top: 18px; font-family: var(--font-en); font-size: 40px; color: var(--line); line-height: 1; }
.career { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: none; }
.career::-webkit-scrollbar { display: none; }
.career li { flex: 0 0 150px; scroll-snap-align: start; background: var(--paper); padding: 18px 16px; }
.career li .s, .career li .t { display: block; }
.career li .s { font-family: var(--font-en); font-size: 11px; letter-spacing: .24em; color: var(--muted); }
.career li .t { font-family: var(--font-serif); font-size: 14.5px; letter-spacing: .08em; margin-top: 6px; line-height: 1.5; }
.career li:last-child { background: var(--ink); color: #fff; }
.career li:last-child .s { color: rgba(255,255,255,.6); }
.swipe { text-align: center; font-size: 12px; color: var(--muted); margin-top: 8px; letter-spacing: .1em; }
.salary { background: var(--paper); padding: clamp(28px, 4vw, 44px); margin-top: 32px; display: grid; gap: 14px; }
@media (min-width: 860px) { .salary { grid-template-columns: auto 1fr; gap: 40px; align-items: center; } }
.salary .v { font-family: var(--font-en); font-weight: 600; font-size: clamp(34px, 4.6vw, 52px); letter-spacing: .02em; line-height: 1.1; white-space: nowrap; }
.salary .v small { font-family: var(--font-jp); font-size: 14px; color: var(--ink-2); font-weight: 400; margin-left: 6px; }
.salary p { font-size: 13.5px; color: var(--ink-2); line-height: 1.9; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 32px; align-items: center; }
.chips .lbl { font-family: var(--font-en); font-size: 12px; letter-spacing: .3em; color: var(--muted); text-transform: uppercase; margin-right: 8px; }
.chips li { background: var(--paper); text-align: center; padding: 12px 20px; font-family: var(--font-serif); font-size: 14px; letter-spacing: .1em; line-height: 1.6; white-space: nowrap; }
.chips li.moegi { border-left: 3px solid var(--koguma); }
.chips li.akami { border-left: 3px solid var(--accent); }
.access { display: grid; gap: 24px; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 760px) { .access { grid-template-columns: 1fr; } }
.access .col { background: var(--paper); padding: 26px; }
.access .n { font-family: var(--font-en); font-size: 22px; color: var(--accent); letter-spacing: .1em; }
.access h4 { font-family: var(--font-serif); font-size: 16.5px; letter-spacing: .08em; margin: 6px 0 8px; font-weight: 600; }
.access p { font-size: 13.5px; color: var(--ink-2); line-height: 1.9; }
.route { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 18px; margin: 32px 0; padding: 22px 24px; background: var(--paper); font-size: 14px; }
.route .pt { display: grid; gap: 2px; text-align: center; }
.route .pt span { font-family: var(--font-en); font-size: 11px; letter-spacing: .26em; color: var(--muted); }
.route .pt b { font-family: var(--font-serif); font-weight: 600; letter-spacing: .06em; }
.route .leg { display: flex; align-items: center; gap: 10px; color: var(--ink-2); font-size: 13px; }
.route .leg i { display: block; width: 40px; height: 1px; background: var(--ink); }
.route .leg em { font-style: normal; font-family: var(--font-en); font-weight: 600; font-size: 18px; color: var(--ink); margin-left: 4px; }
.mapbox { position: relative; background: var(--paper); aspect-ratio: 16 / 7; overflow: hidden; }
@media (max-width: 600px) { .mapbox { aspect-ratio: 4 / 3; } }
.mapbox iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.mapbox .fallback { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; font-size: 13.5px; color: var(--ink-2); line-height: 2; z-index: -1; }
.addr { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; margin-top: 18px; font-size: 14px; line-height: 1.8; }
.addr .btns { display: flex; flex-wrap: wrap; gap: 8px; }
.addr .btns .btn { padding: 10px 18px; font-size: 12.5px; }
.note-sm { font-size: 12px; color: var(--muted); margin-top: 12px; }
.req { display: grid; gap: 24px; grid-template-columns: repeat(2, 1fr); }
@media (max-width: 860px) { .req { grid-template-columns: 1fr; } }
.req .card { scroll-margin-top: 80px; }
section[id], .subnav { scroll-margin-top: 64px; }
.req .card .in { padding: 32px 30px 36px; }
.req h3 { font-family: var(--font-serif); font-size: 22px; letter-spacing: .16em; }
.req h3 small { display: block; font-family: var(--font-en); font-size: 11.5px; letter-spacing: .3em; color: var(--muted); text-transform: uppercase; margin-bottom: 6px; }
.req .pay { font-family: var(--font-serif); font-size: 17px; letter-spacing: .06em; margin: 12px 0 4px; }
.req .paynote { font-size: 12px; color: var(--muted); line-height: 1.7; margin-bottom: 18px; }
.req .row { display: grid; grid-template-columns: 6em 1fr; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 13.5px; line-height: 1.8; }
.req dt { color: var(--muted); font-size: 12.5px; letter-spacing: .12em; padding-top: 2px; }
.req .tbd { color: var(--accent); }
.req .note { display: block; font-size: 12px; color: var(--muted); }
.req .btn { display: block; text-align: center; margin-top: 20px; }
.flow { list-style: none; display: grid; gap: 24px; grid-template-columns: repeat(3, 1fr); counter-reset: f; }
@media (max-width: 760px) { .flow { grid-template-columns: 1fr; } }
.flow li { background: var(--paper); padding: 28px 26px 30px; counter-increment: f; }
.flow li::before { content: "0" counter(f); font-family: var(--font-en); font-weight: 600; font-size: 28px; letter-spacing: .1em; display: block; margin-bottom: 8px; }
.flow h4 { font-family: var(--font-serif); font-size: 17px; letter-spacing: .1em; margin-bottom: 8px; font-weight: 600; }
.flow p { font-size: 13.5px; color: var(--ink-2); line-height: 1.9; }
.faq { width: min(100%, 864px); margin-inline: auto; display: grid; gap: 10px; }
.faq details { background: var(--paper); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 56px 18px 24px; font-size: 15px; font-weight: 700; line-height: 1.7; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; font-family: var(--font-en); font-weight: 600; margin-right: 12px; color: var(--accent); }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 16px; font-family: var(--font-en); font-size: 22px; color: var(--muted); }
.faq details[open] summary::after { content: "\2212"; }
.faq .a { padding: 0 24px 22px 48px; font-size: 14px; color: var(--ink-2); line-height: 1.9; }
.apply3 { display: grid; gap: 24px; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) { .apply3 { grid-template-columns: 1fr; } }
.apply3 .card .in { padding: 32px 26px 36px; display: grid; gap: 10px; align-content: start; }
.apply3 .en { font-family: var(--font-en); font-size: 11.5px; letter-spacing: .3em; color: var(--muted); text-transform: uppercase; }
.apply3 h3 { font-family: var(--font-serif); font-size: 21px; letter-spacing: .14em; }
.apply3 .pay { font-family: var(--font-serif); font-size: 15px; letter-spacing: .06em; }
.apply3 p { font-size: 13.5px; color: var(--ink-2); line-height: 1.9; }
.apply3 .btn { justify-self: start; margin-top: 8px; }
.sticky-apply { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: flex; gap: 8px; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom, 0px)); background: rgba(20,20,20,.94); backdrop-filter: blur(8px); }
.sticky-apply a { flex: 1; text-align: center; padding: 12px 6px; font-family: var(--font-serif); font-size: 13px; letter-spacing: .1em; color: #fff; border: 1px solid rgba(255,255,255,.4); white-space: nowrap; }
.sticky-apply a.main { background: var(--accent); border-color: var(--accent); }
.sticky-apply a.sub { background: var(--koguma); border-color: var(--koguma); color: var(--ink); }
body.has-sticky { padding-bottom: 72px; }
@media (min-width: 900px) { .sticky-apply { left: auto; right: 24px; bottom: 24px; padding: 8px; border-radius: 999px; gap: 6px; } .sticky-apply a { flex: none; padding: 11px 18px; border-radius: 999px; } body.has-sticky { padding-bottom: 0; } }

/* recruit hero: full-width slideshow, serif headline centred */
.hero.rec { height: clamp(420px, 72vh, 760px); }
.hero.rec .mark { padding-bottom: 0; }
.hero.rec .mark .k { position: static; transform: none; width: auto; max-width: none; font-family: var(--font-en); font-size: 12.5px; letter-spacing: .3em; text-transform: uppercase; opacity: .85; margin-bottom: 18px; }
.hero.rec .mark h1 { font-family: var(--font-serif); font-weight: 600; font-size: clamp(34px, 6vw, 72px); letter-spacing: .14em; padding-left: .14em; line-height: 1.4; text-shadow: 0 2px 30px rgba(0,0,0,.4); }
.hero.rec .mark h1 em { font-style: normal; color: #f3b9a8; }
.hero.rec .mark p:not(.k) { position: static; transform: none; width: auto; max-width: none; margin-top: 18px; font-size: clamp(13px, 1.4vw, 15px); letter-spacing: .2em; }
.hero.rec::after { background: rgba(20,20,20,.38); }
.rhero .h1like { font-family: var(--font-serif); font-weight: 600; font-size: clamp(26px, 3.6vw, 40px); letter-spacing: .1em; line-height: 1.45; margin: 14px 0 18px; }
.rhero .h1like em { font-style: normal; color: var(--accent); }
.hero.rec .mark h1 span, .hero.rec .mark h1 em { display: inline-block; }

/* floating go-to-top */
.totop { position: fixed; right: 20px; bottom: 20px; z-index: 55; width: 48px; height: 48px; border: 1px solid var(--ink); background: var(--paper); color: var(--ink); font-family: var(--font-en); font-size: 11px; letter-spacing: .12em; display: grid; place-items: center; cursor: pointer; opacity: 0; pointer-events: none; transition: opacity .3s; }
.totop.is-on { opacity: 1; pointer-events: auto; }
.totop::before { content: ""; width: 9px; height: 9px; border-top: 1.5px solid currentColor; border-left: 1.5px solid currentColor; transform: translateY(2px) rotate(45deg); }
body.has-sticky .totop { bottom: 84px; }
@media (min-width: 900px) { body.has-sticky .totop { right: 20px; bottom: 90px; } }

/* shop list hero: three store fronts fill the viewport */
.shop-hero { position: relative; height: calc(100vh - 60px); height: calc(100svh - 60px); min-height: 460px; overflow: hidden; background: var(--slate-2); }
.shop-hero .tri { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(3, 1fr); }
.shop-hero .tri img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; animation: kb 14s ease-out forwards; }
.shop-hero::after { content: ""; position: absolute; inset: 0; background: rgba(20,20,20,.38); }
.shop-hero .mark { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; color: #fff; padding: 0 var(--gutter) 60px; }
.shop-hero .mark .ttl { margin: 0; }
.shop-hero .mark .ttl .jp { border-color: #fff; font-size: clamp(26px, 4vw, 44px); padding: 14px 36px; text-shadow: 0 2px 24px rgba(0,0,0,.4); }
.shop-hero .mark .ttl .en { color: rgba(255,255,255,.85); }
@media (max-width: 700px) { .shop-hero .tri { display: block; } .shop-hero .tri img { position: absolute; inset: 0; object-position: center 50%; opacity: 0; transition: opacity .7s ease; animation: none; } .shop-hero .tri img.is-active { opacity: 1; animation: kb 3s ease-out forwards; } html:not(.js) .shop-hero .tri img:first-child { opacity: 1; } }
.stores.four { grid-template-columns: repeat(2, 1fr); width: min(100%, 864px); gap: 40px 24px; }
.stores.four .pic { aspect-ratio: 1 / 1; }
.stores.four .pic img { object-position: center 62%; }
@media (max-width: 440px) { .stores.four { grid-template-columns: 1fr; } }
.branches.two { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 860px) { .branches.two { grid-template-columns: 1fr; } }

/* top-of-page photo band as a sliding carousel: 3 across (2 on phones), one photo per step */
.band-car { width: 100%; background: var(--slate-2); }
.band-car .ctrack { gap: 4px; }
.band-car .item { flex-basis: calc((100% - 8px) / 3); }
@media (max-width: 700px) { .carousel.band-car.multi .item { flex-basis: calc((100% - 4px) / 2) !important; } }
.band-car .item img { aspect-ratio: auto; height: clamp(220px, 30vw, 440px); width: 100%; object-fit: cover; }
.band-car .nav { top: 50%; opacity: .85; }
.band-car .dots { display: none; }
/* store list: buttons sit clearly below the photo */
.store-actions { margin-top: 22px; display: flex; justify-content: center; gap: 16px; }
.store-actions .btn { flex: 1 1 0; min-width: 0; text-align: center; padding: 13px 6px; white-space: nowrap; letter-spacing: .12em; font-size: 12.5px; }
@media (max-width: 760px) { .store-actions { gap: 10px; margin-top: 16px; } .store-actions .btn { font-size: 11px; letter-spacing: .06em; padding: 11px 4px; } }
/* keep the four store photos on one line even when an English subtitle wraps */
.stores.four .store .name { display: flex; flex-direction: column; justify-content: flex-end; min-height: 58px; }
@media (max-width: 760px) { .stores.four .store .name { min-height: 72px; } .stores.four .store .name small { font-size: 10px; letter-spacing: .14em; } }

/* ---------- Sub-page hero: full viewport, two crossfading photo slots, title centred ---------- */
.page-hero2 { position: relative; height: calc(100vh - 60px); height: calc(100svh - 60px); min-height: 460px; overflow: hidden; background: var(--slate-2); }
.page-hero2 .slots { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.page-hero2 .slot { position: relative; overflow: hidden; }
.page-hero2 .slot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .7s ease; }
.page-hero2 .slot img.is-active { opacity: 1; animation: kb 3s ease-out forwards; }
.page-hero2::after { content: ""; position: absolute; inset: 0; background: rgba(20,20,20,.36); }
.page-hero2 .mark { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; color: #fff; padding: 0 var(--gutter) 60px; }
.page-hero2 .mark .ttl { margin: 0; }
.page-hero2 .mark .ttl .jp { border-color: #fff; font-size: clamp(26px, 4vw, 44px); padding: 14px 36px; text-shadow: 0 2px 24px rgba(0,0,0,.4); }
.page-hero2 .mark .ttl .en { color: rgba(255,255,255,.85); }
@media (max-width: 700px) { .page-hero2 .slots { grid-template-columns: 1fr; grid-template-rows: 1fr 1fr; } }

[hidden] { display: none !important; }

/* ---------- phone: short headings on one line, breaks only at natural points (.sp / .pc) ---------- */
.sp { display: none; }
.career li { flex-basis: 176px; }
.person dt { white-space: nowrap; }
@media (max-width: 600px) {
  .sp { display: inline; } .pc { display: none; }
  .ttl .jp { font-size: 20px; letter-spacing: .16em; padding: 10px 12px; line-height: 1.6; }
  .card .in .ttl .jp { font-size: 19px; letter-spacing: .12em; }
  .cards.three .card .in .ttl .jp { font-size: 17px; letter-spacing: .1em; }
  .hero.rec .mark p:not(.k) { font-size: 13px; letter-spacing: .12em; line-height: 1.9; }
  .track .pay { font-size: 26px; white-space: nowrap; }
  .salary .v, .stat .v { font-size: 26px; white-space: nowrap; }
  .lead-serif { font-size: 17px; letter-spacing: .04em; }
  .h-page { font-size: 20px; letter-spacing: .06em; }
  .career li .t { letter-spacing: .02em; }
  .person .row { grid-template-columns: 5.5em 1fr; }
  .hero .cap { right: 0; left: 0; text-align: center; bottom: 46px; padding: 0 16px; }
  .hero .dots { bottom: 22px; }
}

/* ---------- recruit: store switcher / chooser / 4-col variants ---------- */
.store-sw { background: var(--ink); color: #fff; }
.store-sw .frame { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; }
.store-sw .lbl { font-family: var(--font-serif); font-size: 12.5px; letter-spacing: .2em; color: rgba(255,255,255,.7); margin-right: 6px; }
.store-sw a { font-family: var(--font-serif); font-size: 13px; letter-spacing: .12em; padding: 8px 16px; border: 1px solid rgba(255,255,255,.35); color: #fff; }
.store-sw a.on { background: #fff; color: var(--ink); border-color: #fff; }
.store-sw a.all { margin-left: auto; border: 0; text-decoration: underline; text-underline-offset: 4px; font-size: 12.5px; color: rgba(255,255,255,.8); padding: 8px 0; }
.pick { display: grid; gap: 28px; grid-template-columns: repeat(2, 1fr); width: min(100%, 900px); margin-inline: auto; }
@media (max-width: 700px) { .pick { grid-template-columns: 1fr; } }
.pcard { display: grid; background: #fff; border: 1px solid var(--line); transition: transform .3s, box-shadow .3s; }
.pcard:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(0,0,0,.08); }
.pcard .pic { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--line); }
.pcard .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s; }
.pcard:hover .pic img { transform: scale(1.04); }
.pcard .in { display: grid; gap: 6px; padding: 24px 24px 26px; }
.pcard .en { font-family: var(--font-en); font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: var(--muted); }
.pcard .nm { font-family: var(--font-serif); font-weight: 600; font-size: 22px; letter-spacing: .14em; }
.pcard .where { font-size: 12.5px; color: var(--ink-2); letter-spacing: .04em; }
.pcard .desc { font-size: 13.5px; color: var(--ink-2); line-height: 1.9; margin-top: 6px; }
.pcard .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.pcard .tags i { font-style: normal; font-size: 12px; letter-spacing: .06em; padding: 4px 10px; border: 1px solid var(--line); background: var(--paper); }
.pcard .go { margin-top: 16px; justify-self: start; font-family: var(--font-serif); font-size: 13px; letter-spacing: .2em; padding: 12px 28px; border: 1px solid var(--ink); color: var(--ink); transition: background .3s, color .3s; }
.pcard:hover .go { background: var(--ink); color: #fff; }
.access.four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .access.four { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .access.four { grid-template-columns: 1fr; } }
.flow.four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .flow.four { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .flow.four { grid-template-columns: 1fr; } }
.maps2 { display: grid; gap: 28px; grid-template-columns: repeat(2, 1fr); margin-top: 32px; }
@media (max-width: 760px) { .maps2 { grid-template-columns: 1fr; } }
.maps2 .mapbox { aspect-ratio: 4 / 3; }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,.45); color: #fff; font-size: 12px; letter-spacing: .08em; padding: 6px 10px; }
.gallery figure { position: relative; }
@media (max-width: 600px) { .store-sw .lbl { display: none; } .store-sw .frame { gap: 8px; padding-top: 8px; padding-bottom: 8px; } .store-sw a { font-size: 12px; padding: 7px 12px; letter-spacing: .08em; } .store-sw a.all { width: 100%; margin-left: 0; padding: 2px 0 0; font-size: 12px; } }
