/* 下層ページの試作：お知らせ詳細。style.css（TOP）の色・書体・--u・部品（見出し・pill・dot・News の行・お問い合わせ・フッター）をそのまま使い、
   ここには下層だけの組みを足す。頭は記事のサムネイルが斜めに流れる黒い地。本文は TIER IV のお知らせ詳細を参考に、読む幅の1列（840）でプレスリリースの書き方。
   ほかのニュースとパンくずは TOP と同じ幅（左右 69 の余白の内側）。 */

.header__nav a[aria-current="page"] { color: var(--teal); }

/* ---------- 頭（黒の帯）：下層ページ共通。お知らせ詳細では記事のサムネイルが流れ、その上に日付・分類・題・伝えるボタン ---------- */
.sub--dark-head .header__nav a:not([aria-current]) { color: var(--white); }
.sub--dark-head .header__nav a:not([aria-current]):hover, .sub--dark-head .header__nav a[aria-current] { color: #8fe3df; }
/* the band: shared by every lower page. Pictures (or, on pages without any, tiles in the nigoro colours) run on a slant in
   three wide columns over the contact card's ink — the middle one whole, about a third of each neighbour at the sides.
   sub.js fills the columns from data-band on .band__bg */
.band { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: flex-end; min-height: calc(380 * var(--u)); padding: calc(150 * var(--u)) calc(69 * var(--u)) calc(64 * var(--u)); background: #151918; color: var(--white); }
.band__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
/* darken the pictures, most at the foot where the words sit */
.band__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(21, 25, 24, .78), rgba(21, 25, 24, .8) 45%, rgba(21, 25, 24, .95)); }
.band__tilt { position: absolute; left: 50%; top: -60%; bottom: -60%; display: flex; gap: calc(20 * var(--u)); translate: -50% 0; rotate: -14deg; }
.band__col { flex: none; width: calc(min(100vw, 1920px) * .58); overflow: hidden; }
/* each track is one run of six, twice over; the gap is also kept at the end so -50% lands exactly on the second run */
.band__track { display: flex; flex-direction: column; gap: calc(20 * var(--u)); padding-bottom: calc(20 * var(--u)); animation: contactcol calc(90s + var(--k) * 12s) linear infinite; }
.band__col:nth-child(even) .band__track { animation-direction: reverse; }
.band__track > * { display: block; flex: none; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: calc(16 * var(--u)); }
/* tiles for pages without pictures: the same faces as the news thumbnails that have none */
/* tiles are flat colour, so they need less ink over them than photographs to stay calm */
.band--tiles .band__bg::after { background: linear-gradient(180deg, rgba(21, 25, 24, .55), rgba(21, 25, 24, .62) 45%, rgba(21, 25, 24, .9)); }
.band__tile { display: grid; place-items: center; overflow: hidden; }
.band__tile svg { width: 30%; aspect-ratio: 98 / 40; }
.band__tile--teal { background: var(--teal); fill: var(--white); }
/* a black a step lighter than the band (#151918), so it reads as a card through the dark wash */
.band__tile--black { background: #2e3533; fill: var(--teal); }
.band__tile--mint { background: var(--mint); fill: var(--teal); }
.band__tile--word { background: var(--white); color: var(--ink); font-family: var(--en); font-weight: 700; font-size: calc(min(100vw, 1920px) * .58 * .1); letter-spacing: -.01em; }
.band__tile--badge { background: var(--white); }
.band__tile--badge img { width: auto; height: 74%; }
/* the page's own heading in the band (list and contact pages), on the TOP's left line */
.band__inner { width: calc(1301 * var(--u)); margin: 0 auto; }
.band .heading__en { font-size: calc(80 * var(--u)); }
.band .heading__ja { color: #8fe3df; }
.post-head { min-height: calc(460 * var(--u)); }
.post-head .band__inner { width: calc(840 * var(--u)); margin: 0 auto; }
.work-head .band__inner { width: calc(1301 * var(--u)); }   /* works sit on the TOP's wide line, like the picture below */
.post-meta { display: flex; align-items: center; gap: calc(16 * var(--u)); }
.post-meta time { font-family: var(--en); font-weight: 400; font-size: calc(14 * var(--u)); font-variant-numeric: tabular-nums; color: #8fe3df; }
.post-cat { display: inline-flex; align-items: center; height: calc(28 * var(--u)); padding: 0 calc(14 * var(--u)); border-radius: 999px; background: rgba(255, 255, 255, .12); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); font-size: calc(12 * var(--u)); }
.post-title { margin-top: calc(24 * var(--u)); font-weight: 900; font-size: calc(44 * var(--u)); line-height: 1.55; letter-spacing: .01em; word-break: auto-phrase; text-wrap: balance; }   /* breaks between phrases, no lone tail on the last line */
.post-tools { position: relative; display: flex; align-items: center; gap: calc(10 * var(--u)); margin-top: calc(36 * var(--u)); }
.post-round { flex: none; display: grid; place-items: center; width: calc(44 * var(--u)); height: calc(44 * var(--u)); border-radius: 50%; background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35); color: var(--white); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: background-color .25s ease, color .25s ease; }
.post-round svg { width: 40%; height: 40%; fill: currentColor; }
.post-round:hover { background: var(--white); color: var(--ink); }
.post-tools__done { margin-left: calc(6 * var(--u)); white-space: nowrap; font-size: calc(12 * var(--u)); color: #8fe3df; opacity: 0; translate: -4px 0; transition: opacity .3s ease, translate .3s ease; }
.post-tools__done.is-on { opacity: 1; translate: 0 0; }

/* ---------- 本文（白の地） ---------- */
.post-body { padding: calc(120 * var(--u)) calc(69 * var(--u)) calc(320 * var(--u)); background: var(--white); }
/* (the lower 170 is where the contact card lies over it, same as the TOP) */
.post-article { width: calc(840 * var(--u)); margin: 0 auto; font-weight: 400; font-size: calc(16 * var(--u)); line-height: 2.1; }
.post-article p + p { margin-top: calc(28 * var(--u)); }
.post-article a { color: var(--deep); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .25em; transition: color .25s ease; }
.post-article a:hover { color: var(--teal); }
.post-article h2 { margin-top: calc(64 * var(--u)); font-weight: 900; font-size: calc(17 * var(--u)); line-height: 1.8; }
.post-article h2 + p { margin-top: calc(8 * var(--u)); }
/* the box: the key points on a pale ground, rounded like the picture */
.post-box { margin: calc(56 * var(--u)) 0; padding: calc(48 * var(--u)) calc(56 * var(--u)); border-radius: calc(36 * var(--u)); background: var(--mint2); }
.post-box__title { font-weight: 900; font-size: calc(18 * var(--u)); line-height: 1.6; }
.post-box__list { display: grid; gap: calc(8 * var(--u)); margin-top: calc(20 * var(--u)); }
.post-box__list li { position: relative; padding-left: 1.1em; }
.post-box__list li::before { content: ""; position: absolute; left: 0; top: 1.05em; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); translate: 0 -50%; }
.post-article .post-note { margin-top: calc(56 * var(--u)); font-size: calc(12 * var(--u)); line-height: 1.9; color: var(--sub); }

/* the body as YOROSICU writes it: only headings, paragraphs, strong, lists, links, pictures with captions and palette colours, with no
   class, style or id, so every look here hangs off .post-article (and .work-text) and the bare elements */
.post-article h3 { margin-top: calc(44 * var(--u)); font-weight: 700; font-size: calc(16 * var(--u)); line-height: 1.8; }
.post-article h3 + p { margin-top: calc(4 * var(--u)); }
.post-article strong, .work-text strong { font-weight: 700; }
.post-article :is(ul, ol):not([class]) { display: grid; gap: calc(6 * var(--u)); margin-top: calc(20 * var(--u)); }
.post-article p + :is(ul, ol):not([class]), .post-article :is(ul, ol):not([class]) + p { margin-top: calc(20 * var(--u)); }
.post-article ul:not([class]) li { position: relative; padding-left: 1.1em; }
.post-article ul:not([class]) li::before { content: ""; position: absolute; left: 0; top: 1.05em; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); translate: 0 -50%; }
.post-article ol:not([class]) { list-style: none; counter-reset: n; }
.post-article ol:not([class]) li { display: grid; grid-template-columns: 1.8em 1fr; align-items: baseline; counter-increment: n; }
.post-article ol:not([class]) li::before { content: counter(n, decimal-leading-zero); font-family: var(--en); font-weight: 500; font-size: .85em; color: var(--deep); }
.post-article figure { margin: calc(48 * var(--u)) 0; }
.post-article img { display: block; max-width: 100%; }
.post-article figure img, .post-article p img { width: 100%; height: auto; border-radius: calc(20 * var(--u)); background: var(--mint2); }
.post-movie video, .post-article figure video { display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: calc(20 * var(--u)); background: #000; }
/* 制作事例の「動画制作」：ショーリールの背の低い帯（動画が流れ、左に SHOW REEL、右に「再生する」）と、押すと開く本編の画面 */
.works-reel { margin-top: calc(48 * var(--u)); }
.reel { position: relative; display: block; width: 100%; height: calc(280 * var(--u)); border-radius: calc(24 * var(--u)); overflow: hidden; background: #000; cursor: pointer; }
.reel::after { content: ""; position: absolute; inset: 0; background: rgba(17, 20, 19, .45); transition: background .35s ease; }
.reel:hover::after, .reel:focus-visible::after { background: rgba(17, 20, 19, .3); }
.reel__loop { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reel__in { position: absolute; inset: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; padding: 0 calc(56 * var(--u)); color: var(--white); text-align: left; }
.reel__en { display: block; font-family: var(--en); font-weight: 500; font-size: calc(48 * var(--u)); line-height: 1; letter-spacing: .02em; }
.reel__ja { display: block; margin-top: calc(12 * var(--u)); font-weight: 700; font-size: calc(14 * var(--u)); }
/* 再生のボタンは、ヘッダーの「お問い合わせ」と同じ白い丸い札とティールの点（触れると点が矢印になる） */
.reel__btn { display: inline-flex; align-items: center; gap: calc(12 * var(--u)); flex: none; height: calc(45 * var(--u)); padding: 0 calc(20 * var(--u)) 0 calc(24 * var(--u)); border-radius: 999px; background: var(--white); color: var(--ink); font-weight: 700; font-size: calc(14 * var(--u)); }
.reel-modal { position: fixed; inset: 0; z-index: 100; }
.reel-modal[hidden] { display: none; }
.reel-modal::before { content: ""; position: absolute; inset: 0; background: rgba(17, 20, 19, .82); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transition: opacity .4s ease; }
.reel-modal.is-open::before { opacity: 1; }
.reel-modal__frame { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: min(1100px, 90vw, calc(80vh * 16 / 9)); aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #000; }
.reel-modal__frame video { display: block; width: 100%; height: 100%; object-fit: cover; }
/* 閉じるボタンは、ごあいさつのカードと同じ（ミントの丸に黒の×） */
.reel-modal__close { position: absolute; top: 24px; right: 24px; width: 40px; height: 40px; border-radius: 50%; background: var(--mint); opacity: 0; transition: opacity .15s ease, background-color .25s ease; }
.reel-modal.is-open .reel-modal__close { opacity: 1; transition: opacity .4s ease .3s, background-color .25s ease; }
.reel-modal__close:hover, .reel-modal__close:focus-visible { background: #d6e2df; }
.reel-modal__close::before, .reel-modal__close::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; background: var(--ink); translate: -50% -50%; rotate: 45deg; }
.reel-modal__close::after { rotate: -45deg; }
.post-article figcaption { margin-top: calc(12 * var(--u)); font-size: calc(13 * var(--u)); line-height: 1.8; color: var(--sub); }
.post-article a:has(img) { display: block; text-decoration: none; }
.post-article a:has(img) img { transition: opacity .3s ease; }
.post-article a:has(img):hover img { opacity: .85; }
.post-article { overflow-wrap: anywhere; }
/* a category with nothing in it yet */
.archive__empty { padding: calc(80 * var(--u)) 0; text-align: center; font-size: calc(14 * var(--u)); color: var(--sub); }
.archive__empty[hidden] { display: none; }

/* ---------- 前後の記事 ---------- */
.post-pager { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: calc(32 * var(--u)); width: calc(840 * var(--u)); margin: calc(110 * var(--u)) auto 0; padding: calc(28 * var(--u)) 0; border-top: 1px solid #dde5e2; border-bottom: 1px solid #dde5e2; }
.post-pager__prev { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "arrow dir" "arrow title"; align-items: center; gap: calc(4 * var(--u)) calc(20 * var(--u)); }
.post-pager__prev .arrow { grid-area: arrow; }
.post-pager__prev:hover .post-pager__title { color: var(--teal); }
.arrow--back .dot { rotate: 180deg; }
a:hover .arrow--back .dot, a:focus-visible .arrow--back .dot { translate: -1.75px 1.1px; }
.post-pager__next { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "dir arrow" "title arrow"; align-items: center; gap: calc(4 * var(--u)) calc(20 * var(--u)); text-align: right; }
.post-pager__next .arrow { grid-area: arrow; }
.post-pager__dir { grid-area: dir; font-family: var(--en); font-weight: 400; font-size: calc(12 * var(--u)); color: var(--deep); }
.post-pager__title { grid-area: title; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: calc(14 * var(--u)); transition: color .25s ease; }
.post-pager__next:hover .post-pager__title { color: var(--teal); }

/* ---------- ほかのニュース・パンくず（TOP と同じ幅） ---------- */
.post-more { display: grid; grid-template-columns: calc(288 * var(--u)) calc(1013 * var(--u)); width: calc(1301 * var(--u)); margin: calc(170 * var(--u)) auto 0; }
.post-more .heading__en { font-size: calc(40 * var(--u)); }
.post-more .news__list { border-top: 1px solid #dde5e2; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: calc(6 * var(--u)) 0; width: calc(1301 * var(--u)); margin: calc(120 * var(--u)) auto 0; font-size: calc(12 * var(--u)); color: var(--sub); }
.crumbs li { display: inline-flex; align-items: center; }
.crumbs li + li::before { content: ""; width: 4px; height: 4px; margin: 0 calc(14 * var(--u)); border-radius: 50%; background: var(--teal); }
.crumbs a { transition: color .25s ease; }
.crumbs a:hover { color: var(--teal); }
.crumbs [aria-current] { color: var(--ink); }

.header__contact[aria-current="page"] { background: var(--teal); color: var(--white); }
.header__contact[aria-current="page"] .dot::before { background: var(--white); }
.header__contact[aria-current="page"] .dot::after { border-color: var(--white); }

/* ---------- お知らせ一覧（白の地）：TOP と同じタブと行を、TOP と同じ幅で ---------- */
.archive { padding: calc(100 * var(--u)) calc(69 * var(--u)) calc(320 * var(--u)); background: var(--white); }
.archive__inner { width: calc(1301 * var(--u)); margin: 0 auto; }
.archive__bar { display: flex; align-items: flex-start; justify-content: space-between; gap: calc(24 * var(--u)); border-bottom: 1px solid #dde5e2; }   /* the rule runs the full width, under the count too */
.archive__bar .tabs { flex: 1; min-width: 0; border-bottom: 0; }
.archive__count { flex: none; padding-top: calc(6 * var(--u)); font-family: var(--en); font-weight: 400; font-size: calc(13 * var(--u)); color: var(--sub); }
/* rows come up one after another when the tab or the page changes */
.archive .news__list li { opacity: 0; translate: 0 10px; }
.archive .news__list li.is-in { opacity: 1; translate: 0 0; transition: opacity .5s ease calc(var(--i) * 40ms), translate .6s cubic-bezier(.2, .8, .2, 1) calc(var(--i) * 40ms); }
.archive .news__list li[hidden] { display: none; }
/* page numbers: round buttons like the arrows of the rows; the current one is the ink pill of the tabs */
.pager { display: flex; justify-content: center; align-items: center; gap: calc(8 * var(--u)); margin-top: calc(64 * var(--u)); }
.pager:empty { display: none; }
.pager button { display: grid; place-items: center; width: calc(44 * var(--u)); height: calc(44 * var(--u)); border-radius: 50%; background: var(--mint); font-family: var(--en); font-weight: 500; font-size: calc(14 * var(--u)); transition: background-color .25s ease, color .25s ease; }
.pager__num:hover { background: #d6e2df; }
.pager__num[aria-current] { background: var(--ink); color: var(--white); }
.pager__step { margin: 0 calc(8 * var(--u)); }
.pager__step--prev .dot { rotate: 180deg; }
.pager__step:disabled { opacity: .35; cursor: default; }
.pager__step:disabled .dot::before { width: 7px; height: 7px; animation: none; }
.pager__step:disabled .dot, .pager__step:disabled .dot::after { animation: none; }
.pager__step:disabled .dot::after { opacity: 0; }

/* ---------- お問い合わせ（白の地）：左に言葉、右にフォーム。TOP の News と同じ 288 + 1013 の格子 ---------- */
.inquiry { display: grid; grid-template-columns: calc(288 * var(--u)) calc(840 * var(--u)); justify-content: start; column-gap: calc(173 * var(--u)); padding: calc(100 * var(--u)) calc(69 * var(--u)) calc(200 * var(--u)); background: var(--white); }
.inquiry__side { position: sticky; top: calc(120 * var(--u)); align-self: start; }
.inquiry__lead { font-size: calc(16 * var(--u)); line-height: 2; word-break: auto-phrase; }
.inquiry__note { margin-top: calc(20 * var(--u)); font-weight: 400; font-size: calc(13 * var(--u)); line-height: 1.9; color: var(--sub); }
.form { display: grid; gap: calc(40 * var(--u)); }
.form fieldset { border: 0; min-width: 0; }
.form legend { margin-bottom: calc(14 * var(--u)); }
.form__row { display: grid; gap: calc(14 * var(--u)); }
.form__label { display: flex; align-items: center; gap: calc(10 * var(--u)); padding: 0; font-size: calc(15 * var(--u)); }
.req, .opt { display: inline-flex; align-items: center; height: calc(22 * var(--u)); padding: 0 calc(10 * var(--u)); border-radius: 999px; font-size: calc(11 * var(--u)); }
.req { background: var(--teal); color: var(--white); }
.opt { background: var(--mint); color: var(--sub); }
.form input:not([type="checkbox"]):not([type="radio"]), .form textarea { width: 100%; padding: 0 calc(24 * var(--u)); border: 0; border-radius: calc(16 * var(--u)); background: var(--mint2); font: inherit; font-weight: 400; font-size: calc(16 * var(--u)); color: var(--ink); outline: none; transition: background-color .25s ease, box-shadow .25s ease; }
.form input:not([type="checkbox"]):not([type="radio"]) { height: calc(60 * var(--u)); }
.form textarea { min-height: calc(240 * var(--u)); padding-top: calc(18 * var(--u)); padding-bottom: calc(18 * var(--u)); line-height: 1.9; resize: vertical; }
.form ::placeholder { color: #9aa5a0; }
.form input:not([type="checkbox"]):not([type="radio"]):focus, .form textarea:focus { background: var(--white); box-shadow: inset 0 0 0 2px var(--teal); }
/* the kind of enquiry: one of a few pills, which turns ink when chosen, like the tabs */
.chips { display: flex; flex-wrap: wrap; gap: calc(10 * var(--u)); }
.chip input, .check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { display: inline-flex; align-items: center; height: calc(44 * var(--u)); padding: 0 calc(20 * var(--u)); border-radius: 999px; background: var(--mint2); font-size: calc(14 * var(--u)); cursor: pointer; transition: background-color .25s ease, color .25s ease; }
.chip span:hover { background: #dfe9e7; }
.chip input:checked + span { background: var(--ink); color: var(--white); }
.chip input:focus-visible + span, .check input:focus-visible + span::before { outline: 2px solid var(--teal); outline-offset: 3px; }
.form__agree { display: flex; flex-wrap: wrap; align-items: center; gap: calc(12 * var(--u)) calc(28 * var(--u)); padding-top: calc(32 * var(--u)); border-top: 1px solid #dde5e2; font-size: calc(14 * var(--u)); }
.form__agree a { font-weight: 400; font-size: calc(13 * var(--u)); color: var(--deep); text-decoration: underline; text-underline-offset: .25em; }
.check { display: inline-flex; align-items: center; cursor: pointer; }
.check span { display: inline-flex; align-items: center; gap: calc(12 * var(--u)); }
.check span::before { content: ""; flex: none; width: calc(24 * var(--u)); height: calc(24 * var(--u)); border-radius: 50%; background: var(--mint2) center / 60% no-repeat; box-shadow: inset 0 0 0 1px #c9d6d3; transition: background-color .2s ease; }
.check input:checked + span::before { background-color: var(--teal); box-shadow: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.form__send { justify-self: start; display: inline-flex; align-items: center; justify-content: space-between; width: calc(360 * var(--u)); height: calc(64 * var(--u)); padding: 0 calc(28 * var(--u)) 0 calc(32 * var(--u)); border-radius: 999px; background: var(--teal); color: var(--white); font-size: calc(16 * var(--u)); transition: background-color .25s ease; }
.form__send:hover { background: #00c2c2; }
.form__send .dot::before { background: var(--white); }
.form__send .dot::after { border-color: var(--white); }
/* お問い合わせの送信（contact.js）：欄ごとの誤り・全体の知らせ・送信中・Turnstile・見えない欄。色と言葉は仮（松村が決める） */
.form { --error: #c8372d; }
.form__error { font-size: calc(13 * var(--u)); color: var(--error); }
.form__agree .form__error { flex-basis: 100%; }
.form [aria-invalid="true"] { box-shadow: inset 0 0 0 2px var(--error); }
.form__status { padding: calc(16 * var(--u)) calc(20 * var(--u)); border-radius: calc(12 * var(--u)); background: #fdeeed; color: var(--error); font-size: calc(14 * var(--u)); line-height: 1.7; }
.form__send:disabled { opacity: .6; cursor: progress; }
.form__turnstile { min-height: 65px; }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- 制作事例：3列のカード。絵（無いものはティールのタイル）、hover で少し寄って「View」、下に分類と題 ---------- */
.works { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: calc(56 * var(--u)) calc(32 * var(--u)); margin-top: calc(48 * var(--u)); }
.work { opacity: 0; translate: 0 14px; }
.work.is-in { opacity: 1; translate: 0 0; transition: opacity .6s ease calc(var(--i) * 50ms), translate .7s cubic-bezier(.2, .8, .2, 1) calc(var(--i) * 50ms); }
.work a { display: block; }
.work__img { position: relative; display: block; aspect-ratio: 3 / 2; border-radius: calc(20 * var(--u)); overflow: hidden; background: var(--mint2); isolation: isolate; }
.work__tile { position: absolute; inset: 0; width: 100%; height: 100%; transition: scale .6s cubic-bezier(.2, .8, .2, 1); }
/* the devices: an ink PC frame running off the foot, a phone over its right */
.mock-pc, .mock-sp { position: absolute; display: block; overflow: hidden; background: var(--ink); box-shadow: 0 calc(14 * var(--u)) calc(30 * var(--u)) rgba(35, 39, 34, .14); transition: translate .6s cubic-bezier(.2, .8, .2, 1); }
.mock-pc { left: 14%; top: 13%; bottom: -4%; width: 58%; padding: 1.4% 1.4% 0; border-radius: calc(10 * var(--u)) calc(10 * var(--u)) 0 0; }
.mock-sp { right: 14%; bottom: 7%; width: 17%; aspect-ratio: 9 / 18.5; padding: 1%; border-radius: calc(14 * var(--u)); }
/* the screen keeps the site's whole width and runs off at the foot (never cut at the sides) */
.mock-pc img, .mock-sp img { display: block; width: 100%; height: auto; min-height: 100%; object-fit: cover; object-position: top; background: var(--white); }
.mock-pc img { border-radius: calc(4 * var(--u)) calc(4 * var(--u)) 0 0; }
.mock-sp img { border-radius: calc(10 * var(--u)); }
/* a picture alone (systems, the movie): a whole frame in the middle */
/* centred by margins (not translate), so the hover lift moves it like the others instead of throwing it off */
.mock-pc--solo { left: 12%; right: 12%; top: 0; bottom: 0; width: auto; height: fit-content; margin: auto 0; padding: 1.2%; border-radius: calc(10 * var(--u)); }
.mock-pc--solo img { min-height: 0; border-radius: calc(4 * var(--u)); }
/* the first view alone (wide) with its phone over the right corner: Web works whose long page does not read well small */
.mock-pc--fv { left: 9%; top: 0; bottom: 0; width: 66%; height: fit-content; margin: auto 0; padding: 1.2%; border-radius: calc(10 * var(--u)); }
.mock-pc--fv img { min-height: 0; border-radius: calc(4 * var(--u)); }
.mock-sp--fv { right: 11%; bottom: 9%; }
/* a long PC screen with no phone: the same PC frame, wider and in the middle, still running off the foot */
.mock-pc--wide { left: 12%; right: 12%; width: auto; }
/* a phone screen alone: the same phone, a little larger, whole and in the middle (centred by margins, like --solo) */
.mock-sp--solo { left: 0; right: 0; top: 13%; bottom: auto; width: 26%; margin: 0 auto; }
.work__tile { display: grid; place-items: center; background: var(--teal); }
.work__tile svg { width: 26%; aspect-ratio: 98 / 40; fill: var(--white); }
.work__view { position: absolute; inset: 0; z-index: 1; display: flex; align-items: center; justify-content: center; gap: calc(14 * var(--u)); background: rgba(17, 20, 19, .42); color: var(--white); font-family: var(--en); font-weight: 500; font-size: calc(16 * var(--u)); opacity: 0; transition: opacity .35s ease; }
.work__view .dot::before { background: var(--white); }
.work__view .dot::after { border-color: var(--white); }
.work a:hover .mock-pc, .work a:focus-visible .mock-pc { translate: 0 calc(-6 * var(--u)); }
.work a:hover .mock-sp, .work a:focus-visible .mock-sp { translate: 0 calc(-12 * var(--u)); }
.work a:hover .work__tile { scale: 1.05; }
.work a:hover .work__view, .work a:focus-visible .work__view { opacity: 1; }
.work__cat { display: inline-flex; align-items: center; height: calc(26 * var(--u)); margin-top: calc(18 * var(--u)); padding: 0 calc(12 * var(--u)); border-radius: 999px; background: var(--mint2); font-size: calc(11 * var(--u)); color: var(--deep); }
.work__title { display: block; margin-top: calc(10 * var(--u)); font-size: calc(16 * var(--u)); line-height: 1.6; transition: color .25s ease; }
.work a:hover .work__title { color: var(--teal); }
.works__foot { display: flex; justify-content: center; margin-top: calc(72 * var(--u)); }
.works__more { height: calc(52 * var(--u)); padding: 0 calc(24 * var(--u)) 0 calc(28 * var(--u)); }
.works__more .dot { rotate: 90deg; }
.works__more[hidden] { display: none; }   /* .pill の display が hidden に勝つので、もっと見るものが無いときに消えなかった */

/* ---------- 制作事例詳細 ---------- */
.work-visit { display: inline-flex; align-items: center; gap: calc(24 * var(--u)); height: calc(48 * var(--u)); margin-top: calc(32 * var(--u)); padding: 0 calc(20 * var(--u)) 0 calc(24 * var(--u)); border-radius: 999px; background: var(--white); color: var(--ink); font-size: calc(14 * var(--u)); }
.work-visit[hidden] { display: none; }
.work-body { padding-top: calc(100 * var(--u)); }
.work-info { display: grid; grid-template-columns: calc(288 * var(--u)) calc(840 * var(--u)); column-gap: calc(173 * var(--u)); width: calc(1301 * var(--u)); margin: 0 auto; }
.work-spec { display: grid; gap: calc(28 * var(--u)); align-self: start; }
.work-spec dt { font-family: var(--en); font-weight: 400; font-size: calc(12 * var(--u)); color: var(--deep); }
.work-spec dd { margin-top: calc(8 * var(--u)); font-size: calc(15 * var(--u)); line-height: 1.7; }
.work-spec div[hidden] { display: none; }
.work-spec a { font-weight: 400; color: var(--deep); text-decoration: underline; text-underline-offset: .25em; word-break: break-all; }
.work-scope { display: flex; flex-wrap: wrap; gap: calc(6 * var(--u)); }
.work-scope li { display: inline-flex; align-items: center; height: calc(30 * var(--u)); padding: 0 calc(14 * var(--u)); border-radius: 999px; background: var(--mint2); font-size: calc(13 * var(--u)); }
.work-text p { font-weight: 400; font-size: calc(17 * var(--u)); line-height: 2.1; }
.work-text p:first-child { font-weight: 700; font-size: calc(22 * var(--u)); line-height: 1.9; }
.work-text p + p { margin-top: calc(18 * var(--u)); }
.work-text a { color: var(--deep); text-decoration: underline; text-underline-offset: .25em; }
/* the site's screens on the pale ground: the whole top page on PC and on a phone, fading out at the foot */
.work-screens { width: calc(1301 * var(--u)); margin: calc(110 * var(--u)) auto 0; padding: calc(56 * var(--u)) calc(64 * var(--u)) calc(72 * var(--u)); border-radius: calc(36 * var(--u)); background: var(--mint2); }
.work-screens[hidden] { display: none; }
.work-screens__label { font-family: var(--en); font-weight: 500; font-size: calc(14 * var(--u)); color: var(--deep); }
.work-screens__row { display: flex; justify-content: center; align-items: flex-start; gap: calc(48 * var(--u)); margin-top: calc(32 * var(--u)); }
.screen { position: relative; overflow: hidden; border-radius: calc(16 * var(--u)); background: var(--white); box-shadow: 0 0 0 1px #dde5e2, 0 calc(20 * var(--u)) calc(40 * var(--u)) rgba(35, 39, 34, .08); }
.screen img { display: block; width: 100%; height: auto; }
/* the frame shows the first view of the site (1440×900 on PC, 390×844 on a phone); the rest of the long screen scrolls inside it */
.screen__view { aspect-ratio: 1440 / 900; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #c6d3d0 transparent; }
.screen--sp .screen__view { aspect-ratio: 390 / 844; }
.screen__view:focus-visible { outline: 2px solid var(--teal); outline-offset: -2px; }
.screen figcaption { position: absolute; left: 50%; bottom: calc(24 * var(--u)); z-index: 1; translate: -50% 0; padding: calc(6 * var(--u)) calc(14 * var(--u)); border-radius: 999px; background: var(--ink); color: var(--white); font-family: var(--en); font-weight: 500; font-size: calc(12 * var(--u)); }
.screen--pc { width: calc(800 * var(--u)); }
.screen--sp { width: calc(300 * var(--u)); border-radius: calc(28 * var(--u)); }
.screen--solo { width: 100%; }
/* a PC screen with no phone beside it: the PC frame takes the whole width (the phone alone stays its size, in the middle) */
.screen--wide { width: 100%; }
/* a movie plays in the same frames, shaped to the video (16:9 on PC, 9:16 on a phone); nothing to scroll */
.screen--movie iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; }
.screen--sp.screen--movie iframe { aspect-ratio: 9 / 16; }
.work-pager { width: calc(1301 * var(--u)); }
.work-more .works { margin-top: 0; }
.work-more .work__title { font-size: calc(15 * var(--u)); }

/* ---------- プライバシーポリシー：読む幅の1列（お知らせ詳細と同じ 840） ---------- */
.pp { padding: calc(100 * var(--u)) calc(69 * var(--u)) calc(320 * var(--u)); background: var(--white); }
.pp-body { width: calc(840 * var(--u)); margin: 0 auto; }
.pp-body { font-weight: 400; font-size: calc(16 * var(--u)); line-height: 2.1; }
.pp-lead { font-weight: 700; font-size: calc(18 * var(--u)); line-height: 2.1; }
.pp-sec { margin-top: calc(72 * var(--u)); padding-top: calc(40 * var(--u)); border-top: 1px solid #dde5e2; scroll-margin-top: calc(40 * var(--u)); }
.pp-sec h2 { display: flex; align-items: baseline; gap: calc(16 * var(--u)); font-weight: 900; font-size: calc(22 * var(--u)); line-height: 1.6; }
.pp-sec h2 span { font-family: var(--en); font-weight: 500; font-size: calc(14 * var(--u)); color: var(--teal); }
/* 404：プライバシーポリシーの1列に、戻り先のボタンを並べる。下に重なるお問い合わせが無いので下の余白は詰める */
.pp--nf { padding-bottom: calc(160 * var(--u)); }
.nf-actions { display: flex; flex-wrap: wrap; gap: calc(16 * var(--u)); margin-top: calc(40 * var(--u)); }
.pp .nf-actions a { color: inherit; font-weight: 700; text-decoration: none; }
.nf { display: flex; align-items: center; gap: calc(48 * var(--u)); }
.nf__text { flex: 1; }
.nf__nyan { flex: none; font-size: calc(150 * var(--u)); line-height: 1; }
.nf__nyan .s6m__nyan { scale: 1; transition: none; animation: nf-pop .8s cubic-bezier(.2, 1.5, .4, 1) .3s both; }
@keyframes nf-pop { from { scale: 0; } }
.pp-sec h2 + * { margin-top: calc(20 * var(--u)); }
.pp-sec p + p, .pp-sec p + .pp-list, .pp-sec p + .pp-desk { margin-top: calc(16 * var(--u)); }
.pp-list { display: grid; gap: calc(6 * var(--u)); padding-left: 1.6em; }
.pp-list li::marker { font-family: var(--en); color: var(--teal); }
.pp-desk { padding: calc(32 * var(--u)) calc(40 * var(--u)); border-radius: calc(24 * var(--u)); background: var(--mint2); }
.pp-desk p + p { margin-top: calc(4 * var(--u)); }
.pp-desk b { font-weight: 900; }
.pp a { color: var(--deep); text-decoration: underline; text-underline-offset: .25em; }
.pp-date { margin-top: calc(72 * var(--u)); text-align: right; font-size: calc(14 * var(--u)); color: var(--sub); }

/* ---------- お問い合わせ完了：ミントの地の真ん中に大きく「ありがとう」 ---------- */
.thanks { display: flex; flex-direction: column; align-items: center; text-align: center; padding: calc(220 * var(--u)) calc(69 * var(--u)) calc(140 * var(--u)); }
.thanks__en { font-family: var(--en); font-weight: 500; font-size: calc(18 * var(--u)); color: var(--teal); }
.thanks__title { position: relative; margin-top: calc(20 * var(--u)); font-weight: 900; font-size: calc(88 * var(--u)); line-height: 1.35; letter-spacing: .02em; cursor: pointer; user-select: none; }
.thanks__lead { font-size: .62em; }
.thanks__title .ch { transition: color .18s ease; transform-origin: 50% 85%; }
.thanks__text { margin-top: calc(40 * var(--u)); font-size: calc(17 * var(--u)); line-height: 2; }
.thanks__actions { display: flex; gap: calc(12 * var(--u)); margin-top: calc(48 * var(--u)); }
.thanks__btn { display: inline-flex; align-items: center; justify-content: space-between; gap: calc(40 * var(--u)); height: calc(60 * var(--u)); padding: 0 calc(24 * var(--u)) 0 calc(28 * var(--u)); border-radius: 999px; background: var(--white); font-size: calc(14 * var(--u)); transition: background-color .25s ease, color .25s ease; }
.thanks__btn:hover { background: var(--ink); color: var(--white); }
.thanks__btn--main { background: var(--teal); color: var(--white); }
.thanks__btn--main:hover { background: #00c2c2; }
.thanks__btn--main .dot::before { background: var(--white); }
.thanks__btn--main .dot::after { border-color: var(--white); }
.thanks__logo { width: calc(150 * var(--u)); height: calc(62 * var(--u)); margin-top: calc(110 * var(--u)); fill: currentColor; color: var(--teal); }

/* ---------- プロダクト一覧：1件ずつ、左に絵・右に文の行。件数が少ないので大きく見せる ---------- */
.products { padding: calc(100 * var(--u)) calc(69 * var(--u)) calc(320 * var(--u)); background: var(--white); }
.products__list { display: grid; gap: calc(100 * var(--u)); width: calc(1301 * var(--u)); margin: 0 auto; }
.product__img { aspect-ratio: 3 / 2; border-radius: calc(20 * var(--u)); overflow: hidden; background: var(--mint2); }
.product__img img { width: 100%; height: 100%; object-fit: cover; }
/* ロゴだけの絵：明るい地の真ん中に。Caketocu のロゴは白か明るい地だけ（ガイドライン）。周りは十分に空ける */
.product__logo { display: grid; place-items: center; width: 100%; height: 100%; padding: 0 18%; background: var(--mint2); }
.product__img .product__logo img { width: 100%; height: auto; object-fit: contain; }
/* LP の画面：地の上に、LP の最初の画面が窓のようにのぞく（image があるとき） */
.product__mix { position: relative; display: block; width: 100%; height: 100%; background: var(--mint2); }
/* 窓は少し下げて、LP の画面（横長 1.5〜1.6）の下端が絵の外まで届くようにする。届かないと窓の下に白い余りが出る */
.product__mix-win { position: absolute; left: 8%; right: 8%; top: 10%; height: 100%; border-radius: calc(12 * var(--u)); overflow: hidden; background: var(--white); box-shadow: 0 calc(12 * var(--u)) calc(40 * var(--u)) rgba(20, 60, 60, .14); }
.product__img .product__mix-win img { display: block; width: 100%; height: auto; }
.product__tile { display: grid; place-items: center; width: 100%; height: 100%; background: var(--teal); }
.product__tile span { font-family: var(--en); font-weight: 500; font-size: calc(44 * var(--u)); color: var(--white); }
.product__name { font-family: var(--en); font-weight: 500; font-size: calc(48 * var(--u)); line-height: 1.1; }
/* 名前はロゴがあればロゴで出す。高さをそろえ、幅は成り行き */
.product__name-logo { display: block; width: auto; height: calc(52 * var(--u)); }
.product__lead { margin-top: calc(20 * var(--u)); font-weight: 700; font-size: calc(18 * var(--u)); line-height: 1.8; }
.product__desc { margin-top: calc(16 * var(--u)); font-weight: 400; font-size: calc(15 * var(--u)); line-height: 2; }
.product__in { display: grid; grid-template-columns: calc(640 * var(--u)) 1fr; gap: calc(72 * var(--u)); align-items: center; color: inherit; text-decoration: none; }
.product__link { display: flex; align-items: center; gap: calc(16 * var(--u)); margin-top: calc(32 * var(--u)); }
.product__link .pill { font-weight: 700; transition: background .3s, color .3s; }
.product__host { font-family: var(--en); font-size: calc(13 * var(--u)); color: var(--sub); }
.product__img { transition: scale .5s cubic-bezier(.2, .8, .2, 1); }
a.product__in:hover .product__img, a.product__in:focus-visible .product__img { scale: 1.02; }
a.product__in:hover .pill, a.product__in:focus-visible .pill { background: var(--ink); color: var(--white); }
/* 外のサイトへの印（↗）：押せるところに付け、触れると右上へ少し動く */
.ext { flex: none; width: calc(14 * var(--u)); height: calc(14 * var(--u)); color: var(--teal); transition: translate .45s cubic-bezier(.65, 0, .35, 1), color .3s; }
a:hover .ext, a:focus-visible .ext { translate: 2px -2px; }
a.product__in:hover .ext, a.product__in:focus-visible .ext { color: var(--white); }
/* お知らせ：PR TIMES のプレスリリースへの枠。本文の後に出す（press_url があるときだけ） */
.post-press { display: flex; align-items: center; justify-content: space-between; gap: calc(24 * var(--u)); margin-top: calc(56 * var(--u)); padding: calc(24 * var(--u)) calc(28 * var(--u)); border: 1px solid rgba(35, 39, 34, .22); border-radius: calc(16 * var(--u)); color: inherit; text-decoration: none; transition: background .3s; }
.post-article a.post-press { color: inherit; text-decoration: none; }   /* 本文のリンクの下線と色を外す */
.post-press:hover, .post-press:focus-visible { background: var(--mint2); }
.post-press__label { display: block; font-family: var(--en); font-weight: 500; font-size: calc(12 * var(--u)); letter-spacing: .04em; color: var(--deep); }
.post-press__text { display: block; margin-top: calc(4 * var(--u)); font-weight: 700; font-size: calc(16 * var(--u)); line-height: 1.6; }
.post-press .ext { width: calc(18 * var(--u)); height: calc(18 * var(--u)); }

/* 1440 より広い画面：中身の幅を 1302px で止めて真ん中に寄せる（style.css の --gut） */
@media (min-width: 1441px) {
  .band, .post-body, .archive, .inquiry, .pp, .thanks, .products, .parts { padding-left: var(--gut); padding-right: var(--gut); }
}

@media print {
  .header, .post-tools, .post-pager, .post-more, .crumbs, .contact, .footer { display: none; }
  .post-head { min-height: 0; padding: 0 0 24px; background: none; color: var(--ink); }
  .band__bg { display: none; }
  .post-body { padding-top: 40px; }
}

/* ---------- smartphone ---------- */
/* ---------- パーツの見本（parts.html）：お知らせ・制作事例の中身がどう変わっても崩れないかを1枚で見る。公開しない ---------- */
.parts { padding: calc(170 * var(--u)) calc(69 * var(--u)) calc(200 * var(--u)); background: var(--white); }
.parts__head, .parts__sec { width: calc(1301 * var(--u)); margin: 0 auto; }
.parts__en { font-family: var(--en); font-size: calc(14 * var(--u)); color: var(--deep); }
.parts__title { margin-top: calc(8 * var(--u)); font-weight: 900; font-size: calc(40 * var(--u)); line-height: 1.4; }
.parts__lead { margin-top: calc(16 * var(--u)); font-size: calc(15 * var(--u)); line-height: 2; color: var(--sub); }
.parts__toc { display: flex; flex-wrap: wrap; gap: calc(8 * var(--u)); margin-top: calc(28 * var(--u)); }
.parts__toc a { padding: calc(8 * var(--u)) calc(16 * var(--u)); border-radius: 999px; background: var(--mint2); font-size: calc(13 * var(--u)); }
.parts__toc a:hover { background: var(--mint); }
.parts__sec { margin-top: calc(110 * var(--u)); scroll-margin-top: 100px; }
.parts__h { display: flex; align-items: baseline; gap: calc(14 * var(--u)); font-weight: 900; font-size: calc(22 * var(--u)); line-height: 1.5; }
.parts__h span { font-family: var(--en); font-weight: 500; font-size: calc(14 * var(--u)); color: var(--teal); }
.parts__note { max-width: calc(840 * var(--u)); margin-top: calc(10 * var(--u)); font-size: calc(13 * var(--u)); line-height: 1.9; color: var(--sub); }
.parts__frame { margin-top: calc(28 * var(--u)); padding: calc(56 * var(--u)); border: 1px solid #dde5e2; border-radius: calc(28 * var(--u)); }
.parts__frame .post-article { margin: 0 auto; }
.parts__two { display: grid; grid-template-columns: 1fr 1fr; gap: calc(56 * var(--u)); }
.parts__case { margin-bottom: calc(18 * var(--u)); font-size: calc(12 * var(--u)); line-height: 1.5; color: var(--sub); }
.parts__frame .archive__empty { padding: calc(24 * var(--u)) 0; }

@media (max-width: 767px) {
  .products { padding: 40px 20px 120px; }
  .products__list { width: auto; gap: 56px; }
  .product__in { grid-template-columns: 1fr; gap: 24px; }
  .product__tile span { font-size: 28px; }
  .product__name { font-size: 30px; }
  .product__name-logo { height: 36px; }
  .product__lead { margin-top: 12px; font-size: 16px; }
  .product__desc { font-size: 14px; }
  .product__link { margin-top: 24px; gap: 12px; }
  .product__host { font-size: 12px; }
  .ext { width: 12px; height: 12px; }
  .post-press { margin-top: 40px; padding: 18px 20px; border-radius: 12px; gap: 16px; }
  .post-press__label { font-size: 11px; }
  .post-press__text { font-size: 14px; }
  .post-press .ext { width: 16px; height: 16px; }
  .band { min-height: 280px; padding: 104px 20px 32px; }
  .band__inner { width: 100%; }
  .band__tilt { gap: 10px; }
  .band__col { width: 60vw; }
  .band__track { gap: 10px; padding-bottom: 10px; }
  .band__track > * { border-radius: 10px; }
  .band__tile--word { font-size: 6vw; }
  .band .heading__en { font-size: 48px; }
  .post-head { min-height: 340px; padding: 104px 20px 32px; }
  .post-head .band__inner { width: 100%; }
  .post-meta time { font-size: 12px; }
  .post-cat { height: 24px; padding: 0 12px; font-size: 11px; }
  .post-title { margin-top: 14px; font-size: 24px; line-height: 1.6; }
  .post-tools { margin-top: 24px; gap: 8px; }
  .post-round { width: 40px; height: 40px; }
  .post-tools__done { font-size: 11px; }

  .post-body { padding: 56px 20px 120px; }
  .post-article { width: auto; font-size: 15px; line-height: 2; }
  .post-article p + p { margin-top: 18px; }
  .post-article h2 { margin-top: 44px; font-size: 16px; }
  .post-box { margin: 36px 0; padding: 28px 24px; border-radius: 20px; }
  .post-box__title { font-size: 16px; }
  .post-box__list { margin-top: 12px; gap: 6px; font-size: 14px; }
  .post-article .post-note { margin-top: 36px; font-size: 11px; }
  .post-article h3 { margin-top: 32px; font-size: 15px; }
  .post-article figure { margin: 32px 0; }
  .post-article figure img, .post-article p img { border-radius: 14px; }
  .post-movie video, .post-article figure video { border-radius: 14px; }
  .works-reel { margin-top: 24px; }
  .reel { height: 180px; border-radius: 16px; }
  .reel__in { padding: 0 20px; }
  .reel__en { font-size: 28px; }
  .reel__ja { margin-top: 8px; font-size: 12px; }
  .reel__btn { height: 38px; padding: 0 14px 0 16px; gap: 10px; font-size: 12px; }
  .reel-modal__frame { width: 100vw; border-radius: 0; }
  .reel-modal__close { top: 16px; right: 16px; }
  .post-article figcaption { font-size: 12px; }
  .archive__empty { padding: 56px 0; font-size: 13px; }
  .parts { padding: 110px 20px 120px; }
  .parts__head, .parts__sec { width: auto; }
  .parts__title { font-size: 28px; }
  .parts__lead, .parts__note { font-size: 13px; }
  .parts__toc a { font-size: 12px; padding: 6px 12px; }
  .parts__sec { margin-top: 64px; }
  .parts__h { font-size: 18px; }
  .parts__frame { padding: 24px 18px; border-radius: 18px; }
  .parts__two { grid-template-columns: 1fr; gap: 32px; }
  .parts__case { margin-bottom: 12px; font-size: 11px; }

  .post-pager { width: auto; grid-template-columns: minmax(0, 1fr); gap: 20px; margin-top: 56px; padding: 20px 0; }
  .post-pager .is-empty { display: none; }
  .post-pager .pill { order: 2; justify-self: center; }
  .post-pager__dir { font-size: 11px; }
  .post-pager__title { white-space: normal; font-size: 13px; }
  .post-more { width: auto; grid-template-columns: minmax(0, 1fr); gap: 20px; margin-top: 72px; }
  .post-more .heading__en { font-size: 32px; }
  .crumbs { width: auto; margin-top: 56px; font-size: 11px; }
  .crumbs li + li::before { margin: 0 10px; }
  .archive { padding: 48px 20px 120px; }
  .archive__inner { width: auto; }
  .archive__bar { flex-direction: column-reverse; gap: 8px; }
  .archive__bar .tabs { width: 100%; }
  .archive__count { padding-top: 0; font-size: 11px; }
  .pager { gap: 6px; margin-top: 40px; }
  .pager button { width: 40px; height: 40px; font-size: 13px; }
  .pager__step { margin: 0 4px; }
  .inquiry { grid-template-columns: minmax(0, 1fr); row-gap: 36px; padding: 48px 20px 96px; }
  .inquiry__side { position: static; }
  .inquiry__lead { font-size: 15px; }
  .inquiry__note { font-size: 12px; margin-top: 12px; }
  .form { gap: 28px; }
  .form__row { gap: 10px; }
  .form__label { font-size: 14px; gap: 8px; }
  .req, .opt { height: 20px; padding: 0 8px; font-size: 10px; }
  .form input:not([type="checkbox"]):not([type="radio"]), .form textarea { font-size: 16px; padding: 0 18px; border-radius: 12px; }
  .form input:not([type="checkbox"]):not([type="radio"]) { height: 54px; }
  .form textarea { min-height: 200px; padding-top: 14px; padding-bottom: 14px; }
  .chips { gap: 8px; }
  .chip span { height: 40px; padding: 0 16px; font-size: 13px; }
  .form__agree { padding-top: 24px; font-size: 14px; gap: 12px 20px; }
  .form__agree a { font-size: 12px; }
  .check span { gap: 10px; }
  .check span::before { width: 22px; height: 22px; }
  .form__send { width: 100%; height: 58px; font-size: 15px; padding: 0 22px 0 26px; }
  .form__error { font-size: 12px; }
  .form__status { padding: 14px 16px; border-radius: 10px; font-size: 13px; }
  .works { grid-template-columns: minmax(0, 1fr); gap: 36px; margin-top: 28px; }
  .work__img { border-radius: 14px; }
  .work__cat { height: 24px; margin-top: 12px; padding: 0 10px; font-size: 10px; }
  .work__title { margin-top: 8px; font-size: 15px; }
  .works__foot { margin-top: 44px; }
  .works__more { height: 46px; }
  .work-visit { height: 42px; margin-top: 22px; font-size: 13px; gap: 18px; }
  .work-body { padding-top: 40px; }
  .work-info { grid-template-columns: minmax(0, 1fr); row-gap: 32px; width: auto; }
  .work-screens { width: auto; margin: 56px -20px 0; padding: 28px 20px 36px; border-radius: 0; }
  .work-screens__label { font-size: 12px; }
  .work-screens__row { flex-direction: column; align-items: center; gap: 20px; margin-top: 18px; }   /* stacked, so each first view is big enough to read and scroll */
  .screen { border-radius: 10px; }
  .screen--pc { width: 100%; }
  .screen--sp { width: 64%; border-radius: 14px; }
  .screen::after { height: 60px; }
  .screen figcaption { bottom: 10px; padding: 4px 10px; font-size: 10px; }
  .work-spec { order: 2; gap: 20px; padding-top: 24px; border-top: 1px solid #dde5e2; }
  .work-spec dt { font-size: 11px; }
  .work-spec dd { font-size: 14px; }
  .work-scope li { height: 28px; padding: 0 12px; font-size: 12px; }
  .work-text p { font-size: 15px; line-height: 2; }
  .work-text p:first-child { font-size: 17px; }
  .work-pager { width: auto; }
  .pp { padding: 40px 20px 120px; }
  .pp-body { width: auto; }
  .pp-body { font-size: 15px; line-height: 2; }
  .pp-lead { font-size: 16px; }
  .pp-sec { margin-top: 48px; padding-top: 28px; }
  .pp--nf { padding-bottom: 80px; }
  .nf-actions { gap: 12px; margin-top: 28px; }
  .nf { flex-direction: column-reverse; align-items: flex-start; gap: 32px; }
  .nf__nyan { font-size: 96px; margin-top: 40px; }
  .pp-sec h2 { font-size: 18px; gap: 12px; }
  .pp-sec h2 span { font-size: 12px; }
  .pp-desk { padding: 20px; border-radius: 16px; }
  .pp-date { margin-top: 48px; font-size: 13px; }
  .thanks { padding: 140px 20px 96px; }
  .thanks__en { font-size: 14px; }
  .thanks__title { font-size: 31px; margin-top: 12px; }
  .thanks__text { margin-top: 24px; font-size: 14px; }
  .thanks__actions { flex-direction: column; width: 100%; max-width: 320px; gap: 10px; margin-top: 32px; }
  .thanks__btn { height: 54px; font-size: 14px; }
  .thanks__logo { width: 100px; height: 41px; margin-top: 64px; }
}

@media (prefers-reduced-motion: reduce) {
  .band__track { animation: none; }
  .archive .news__list li.is-in, .work.is-in { transition: none; }
}
