/* Ricreater v2 — information, pricing, editorial and form components.
   Shared layout, brand, navigation and media-player styles live in site.css. */

.block + .block { margin-top: clamp(72px, 7vw, 112px); }
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(36px, 5vw, 72px); }
.split > * { min-width: 0; }
.mt-s { margin-top: 16px; }
.mt-m { margin-top: 32px; }
.mt-l { margin-top: clamp(40px, 4vw, 56px); }
.mt-xl { margin-top: clamp(64px, 7vw, 96px); }
.sub-h { margin: clamp(48px, 6vw, 80px) 0 24px; font-size: clamp(21px, 2.1vw, 28px); font-weight: 700; line-height: 1.65; letter-spacing: -.025em; }
.sub-h:first-child { margin-top: 0; }
.kicker { font-size: 16px; font-weight: 700; line-height: 1.8; }
.ilink { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .3em; }

/* Tables keep their native structure on desktop. On narrow screens each
   value receives the existing site.js data-label above its content. */
.table-wrap { max-width: 100%; margin-top: 32px; overflow-x: auto; overscroll-behavior-x: contain; }
.table { width: 100%; min-width: 580px; border-collapse: collapse; font-size: 14px; line-height: 1.9; }
.table caption { margin-bottom: 16px; text-align: left; font-size: 12px; color: var(--mute); }
.table th, .table td { padding: 22px 20px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.table th:first-child, .table td:first-child { padding-left: 0; }
.table th:last-child, .table td:last-child { padding-right: 0; }
.table thead th { padding-top: 14px; padding-bottom: 17px; border-top: 1px solid var(--ink); color: var(--mute); font-size: 12px; font-weight: 500; line-height: 1.75; }
.table tbody th { width: 21%; color: var(--ink); font-weight: 700; }
.table tbody td { color: var(--ink-2); }
.table .num { font-family: var(--ff-en), var(--ff); font-size: 25px; font-weight: 500; letter-spacing: -.04em; line-height: 1.5; text-align: right; white-space: nowrap; color: var(--ink); }
.table .num small { margin-left: 3px; font-family: var(--ff); font-size: 11px; font-weight: 400; letter-spacing: 0; }
.table thead .num { font-size: 12px; letter-spacing: 0; }
.table--compare { table-layout: fixed; }
.table--compare thead th:not(:first-child), .table--compare td { text-align: center; }
.table--compare th:first-child { width: 42%; }
.table--compare td.num { padding-top: 27px; padding-bottom: 27px; font-size: clamp(28px, 2.6vw, 36px); }
.table--plans { table-layout: fixed; }
.table--plans th:first-child { width: 20%; }
.table--plans thead th:not(:first-child) { font-size: 17px; font-weight: 700; color: var(--ink); }
.table--plans thead small { display: block; margin-top: 14px; font-size: 13px; font-weight: 400; line-height: 1.9; color: var(--ink-2); }
.notes { margin-top: 22px; padding: 0; list-style: none; color: var(--mute); font-size: 12px; line-height: 1.95; }
.notes li { position: relative; padding-left: 1.4em; }
.notes li::before { content: "※"; position: absolute; inset: 0 auto auto 0; }
.notes li + li { margin-top: 5px; }

/* Pricing: equal standing, with quiet tonal steps and prominent numerals. */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 44px; align-items: stretch; }
.plan { min-width: 0; padding: clamp(24px, 2.8vw, 38px) clamp(20px, 2.4vw, 32px) 36px; background: var(--soft); }
.plan:nth-child(2) { background: #efefef; }
.plan:nth-child(3) { background: #e9e9e9; }
.plan .tier { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; margin: 0; font-size: 28px; font-weight: 500; line-height: 1.5; }
.plan .tier small { font-size: 11px; font-weight: 400; color: var(--mute); }
.plan .catch { min-height: 3.6em; margin-top: 18px; font-size: 14px; font-weight: 500; line-height: 1.8; }
.plan .price { margin-top: 28px; font-family: var(--ff-en), var(--ff); font-size: clamp(30px, 2.9vw, 42px); font-weight: 500; letter-spacing: -.06em; line-height: 1.2; white-space: nowrap; }
.plan .price small { margin-left: 3px; font-family: var(--ff); font-size: 12px; font-weight: 400; letter-spacing: 0; }
.plan .set { min-height: 3.6em; margin-top: 18px; color: var(--mute); font-size: 11px; line-height: 1.8; }
.plan ul { margin: 30px 0 0; padding: 0; list-style: none; }
.plan li { padding: 17px 0; border-top: 1px solid #d5d5d5; font-size: 14px; font-weight: 500; line-height: 1.9; }
.plan li:last-child { padding-bottom: 0; }
.plan li.plus { position: relative; padding-left: 16px; }
.plan li.plus::before { content: "+"; position: absolute; left: 0; font-family: var(--ff-en); font-weight: 400; color: var(--mute); }
.plan-foot { margin-top: 20px; font-size: 12px; line-height: 1.9; color: var(--mute); }
.from { display: flex; flex-wrap: wrap; gap: 24px 0; margin-top: 38px; }
.from > * { flex: 1 1 210px; min-width: 0; padding: 0 24px; border-left: 1px solid var(--line); }
.from > :first-child { padding-left: 0; border-left: 0; }
.from > a > div > span { display: block; min-height: 3.6em; margin-bottom: 12px; font-size: 12px; line-height: 1.8; color: var(--ink-2); }
.from b { display: block; font-family: var(--ff-en), var(--ff); font-size: clamp(28px, 3vw, 40px); font-weight: 500; line-height: 1.2; letter-spacing: -.05em; white-space: nowrap; }
.from small { margin-left: 4px; font-family: var(--ff); font-size: 12px; font-weight: 400; letter-spacing: 0; }
.from a { text-decoration: none; transition: opacity .2s; }
.from a:hover { opacity: .6; }
.runs { margin-top: 36px; border-top: 1px solid var(--ink); }
.run { display: grid; grid-template-columns: minmax(0, 1fr) minmax(160px, .9fr) minmax(0, 1.65fr); gap: 28px; padding: 34px 0; border-bottom: 1px solid var(--line); }
.run > * { min-width: 0; }
.run .tier { font-size: 22px; font-weight: 500; line-height: 1.6; }
.run .tier small { display: block; margin-top: 5px; font-size: 11px; color: var(--mute); }
.run .catch { margin-top: 12px; font-size: 13px; line-height: 1.8; color: var(--ink-2); }
.run .price { font-family: var(--ff-en), var(--ff); font-size: clamp(28px, 2.8vw, 38px); font-weight: 500; letter-spacing: -.05em; line-height: 1.3; white-space: nowrap; }
.run .price small { display: inline-block; margin-left: 3px; font-family: var(--ff); font-size: 11px; letter-spacing: 0; font-weight: 400; }
.run .price small:first-child { display: block; margin: 0 0 8px; color: var(--mute); }
.run-body ul { margin: 0; padding: 0; list-style: none; font-size: 14px; line-height: 1.9; }
.run-body li + li { margin-top: 8px; }

/* Simple process and responsibility descriptions. */
.steps { display: grid; grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr)); gap: 28px; margin: 40px 0 0; padding: 0; list-style: none; }
.steps li { min-width: 0; padding-top: 22px; border-top: 1px solid var(--line); }
.steps .no { display: block; margin-bottom: 24px; font-family: var(--ff-en); font-size: 14px; color: var(--mute); }
.steps h3 { margin: 0 0 14px; font-size: 16px; font-weight: 700; line-height: 1.8; }
.steps p { font-size: 13px; line-height: 1.95; color: var(--ink-2); }
.steps p + p { margin-top: 14px; }
.steps--v { display: block; margin-top: 0; }
.steps--v li { display: grid; grid-template-columns: 42px minmax(100px, .45fr) minmax(0, 1fr); gap: 24px; padding: 28px 0; }
.steps--v li:last-child { border-bottom: 1px solid var(--line); }
.steps--v .no { margin-bottom: 0; padding-top: 4px; }
.steps--v h3 { margin: 0; }
.steps--v p { font-size: 14px; }
.scope { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 42px; }
.scope > div { min-width: 0; }
.scope h3 { margin-bottom: 24px; font-size: 20px; font-weight: 500; line-height: 1.8; }
.scope ul:not(.notes) { padding: 0; list-style: none; font-size: 14px; line-height: 2; }
.scope ul:not(.notes) li { padding: 15px 0; border-top: 1px solid var(--line); }
.asks { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; margin: 36px 0 0; padding: 0; list-style: none; }
.asks li { min-width: 0; padding-top: 22px; border-top: 1px solid var(--line); font-size: 16px; font-weight: 500; line-height: 1.8; }
.asks small { display: block; margin-top: 8px; font-size: 12px; font-weight: 400; color: var(--mute); }
.statement { padding: 30px 0; text-align: center; }
.statement > p:first-child { font-size: clamp(27px, 3.5vw, 48px); font-weight: 500; line-height: 1.75; letter-spacing: -.04em; }
.statement > p + p { max-width: 760px; margin: 28px auto 0; }
.fixed { margin-top: 40px; padding: 28px 32px; background: var(--soft); font-size: 14px; line-height: 2; }
.fixed p + p { margin-top: 14px; }
.team-note { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--ink-2); font-size: 14px; line-height: 2; }

/* Definition lists and accordions. */
.dl { margin-bottom: 0; border-top: 1px solid var(--line); }
.dl > div { display: grid; grid-template-columns: minmax(180px, .33fr) minmax(0, 1fr); gap: clamp(24px, 3.5vw, 48px); padding: 26px 0; border-bottom: 1px solid var(--line); }
.dl dt { min-width: 0; font-size: 14px; font-weight: 500; line-height: 1.9; }
.dl dd { min-width: 0; max-width: 46em; margin: 0; color: var(--ink-2); font-size: 14px; line-height: 2; }
.dl--meta { border-top: 0; }
.dl--meta > div { padding: 13px 0; border-bottom: 0; }
.dl--meta dt { color: var(--mute); font-size: 12px; }
.opts { margin: 0; padding: 0; list-style: none; }
.opts li { display: grid; grid-template-columns: 6em minmax(0, 1fr); gap: 18px; }
.opts li + li { margin-top: 12px; }
.opts b { font-weight: 500; color: var(--ink); }
.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: grid; grid-template-columns: 30px minmax(0, 1fr) 20px; align-items: baseline; gap: 18px; padding: 27px 0; list-style: none; cursor: pointer; font-size: 15px; font-weight: 500; line-height: 1.9; }
.faq summary::-webkit-details-marker { display: none; }
.faq .q { font-family: var(--ff-en); font-size: 15px; font-weight: 400; color: var(--mute); }
.faq .pm { position: relative; align-self: center; width: 18px; height: 18px; }
.faq .pm::before, .faq .pm::after { content: ""; position: absolute; inset: 8px 1px auto; height: 1px; background: var(--ink); }
.faq .pm::after { transform: rotate(90deg); transition: transform .2s; }
.faq details[open] .pm::after { transform: rotate(0); }
.faq .a { padding: 0 38px 30px 48px; color: var(--ink-2); font-size: 14px; line-height: 2; }
.faq .a p + p { margin-top: 14px; }
.faq summary:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }

/* Forms: labels remain in the document flow, including long Japanese labels. */
.form { border-top: 1px solid var(--ink); }
.field { display: grid; grid-template-columns: minmax(240px, .38fr) minmax(0, 1fr); gap: 36px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.field > * { min-width: 0; }
.field-label { display: block; padding-top: 12px; font-size: 14px; font-weight: 500; line-height: 1.9; }
.field-label .req, .field-label .opt { display: inline-block; margin-left: 10px; font-size: 10px; font-weight: 400; white-space: nowrap; color: var(--mute); }
.field-label .req { color: var(--ink); }
.input, .select, .textarea { display: block; width: 100%; max-width: 100%; padding: 14px 16px; border: 1px solid #ccc; border-radius: 0; background: var(--paper); color: var(--ink); font: 16px/1.7 var(--ff); transition: border-color .2s; }
.input { min-height: 54px; }
.select { min-height: 54px; }
.textarea { min-height: 210px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus { border-color: var(--ink); outline: 1px solid var(--ink); outline-offset: 0; }
.checks { display: grid; gap: 14px; padding-top: 10px; font-size: 14px; line-height: 1.9; }
.checks label { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; }
.checks input { flex: 0 0 18px; width: 18px; height: 18px; margin: 5px 0 0; accent-color: var(--ink); }
.checks span { min-width: 0; }
.form .help { margin-top: 10px; color: var(--mute); font-size: 12px; line-height: 1.9; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; padding-top: 40px; }

/* Photography and work indexes retain the supplied images' proportions. */
.photos { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.photos > figure { min-width: 0; }
.photos img { display: block; width: 100%; height: 100%; object-fit: cover; }
.gallery { display: flex; flex-wrap: wrap; gap: 18px; align-items: flex-start; }
.gallery figure { flex: var(--ar, 1) 1 calc(250px * var(--ar, 1)); min-width: 0; margin: 0; }
.gallery img { display: block; width: 100%; height: auto; }
.masonry { columns: 3; column-gap: 20px; }
.masonry > * { break-inside: avoid; margin-bottom: 20px; }
.masonry img { display: block; width: 100%; height: auto; }
.cat-block + .cat-block { margin-top: 72px; }
.cat-title { margin-bottom: 24px; font-size: 19px; font-weight: 500; line-height: 1.8; }
.case-list { margin-bottom: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.case-list li { border-bottom: 1px solid var(--line); }
.case-list a { display: grid; grid-template-columns: minmax(150px, 26%) minmax(0, 1fr) 24px; gap: 28px; align-items: center; padding: 24px 0; text-decoration: none; transition: opacity .2s; }
.case-list a::after { content: "↗"; justify-self: end; font-family: var(--ff-en); font-size: 23px; font-weight: 400; }
.case-list a:hover { opacity: .6; }
.case-list img { display: block; width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.case-list a > span { min-width: 0; }
.case-list .cat, .case-list .t, .case-list .who { display: block; }
.case-list .cat { margin-bottom: 8px; color: var(--mute); font-size: 11px; line-height: 1.8; }
.case-list .t { font-size: clamp(17px, 1.7vw, 22px); font-weight: 500; line-height: 1.7; }
.case-list .who { margin-top: 10px; font-size: 12px; line-height: 1.8; color: var(--ink-2); }
.case-list--text a { grid-template-columns: minmax(0, 1fr) 24px; padding: 28px 0; }
.case-list--text a > span { display: grid; grid-template-columns: minmax(100px, .4fr) minmax(0, 1fr) minmax(130px, .55fr); gap: 24px; align-items: baseline; }
.case-list--text .cat, .case-list--text .who { margin: 0; }
.case-list--text .t { font-size: 17px; }

/* Long-form stories: a quiet reading column and a clearly secondary margin. */
.article-layout { display: grid; grid-template-columns: minmax(0, 760px) 260px; justify-content: space-between; align-items: start; gap: clamp(40px, 6vw, 96px); }
.article-layout > * { min-width: 0; }
.article { max-width: 760px; }
.article-video { margin-bottom: 54px; }
.article-aside { position: sticky; top: calc(var(--header-h) + 40px); padding-top: 22px; border-top: 1px solid var(--ink); }
.article-meta { margin: 0; }
.article-meta dt { margin-top: 25px; font-size: 11px; font-weight: 400; color: var(--mute); }
.article-meta dt:first-child { margin-top: 0; }
.article-meta dd { margin: 7px 0 0; font-size: 14px; line-height: 1.9; }
.article-aside .aside-cta { margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); }
.article-aside .aside-cta p { margin-bottom: 20px; font-size: 13px; line-height: 1.9; color: var(--ink-2); }
.article-aside .aside-cta > a { margin-top: 14px; }
.article-aside .aside-cta .btn { width: 100%; padding-left: 12px; padding-right: 12px; font-size: 12px; }
.article-aside .toc { display: grid; gap: 14px; margin-top: 28px; font-size: 12px; line-height: 1.8; color: var(--ink-2); }
.prose { max-width: 760px; color: var(--ink-2); font-size: 15px; line-height: 2.05; }
.prose h2 { margin: 64px 0 24px; color: var(--ink); font-size: clamp(23px, 2.4vw, 30px); font-weight: 500; line-height: 1.7; letter-spacing: -.025em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 40px 0 20px; color: var(--ink); font-size: 19px; font-weight: 500; line-height: 1.8; }
.prose p + p { margin-top: 1.4em; }
.prose ul, .prose ol { margin: 22px 0; padding-left: 1.5em; }
.prose li + li { margin-top: 8px; }
.prose a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .3em; }
.prose figure { margin: 36px 0; }
.prose img { max-width: 100%; height: auto; }

.has-kari { position: relative; min-width: 0; }
.kari { position: absolute; top: 12px; right: 12px; z-index: 2; display: inline-block; padding: 3px 9px; background: var(--ink); color: var(--paper); font-size: 11px; font-weight: 400; line-height: 1.6; letter-spacing: 0; }
.kari--inline { position: static; margin-left: 10px; padding: 1px 6px; vertical-align: 2px; font-size: 10px; }
.kari-note { margin-top: 14px; color: var(--mute); font-size: 12px; line-height: 1.9; }
.works-web { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); margin-top: 32px; }
.screen { overflow: hidden; border: 1px solid var(--line); background: var(--paper); }
.screen-bar { display: flex; gap: 5px; padding: 12px; border-bottom: 1px solid var(--line); background: var(--soft); }
.screen-bar i { width: 5px; height: 5px; border-radius: 50%; background: #bdbdbd; }
.screen-body { position: relative; }
.screen-body > img { display: block; width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.screen-cap { margin-top: 20px; font-size: 15px; font-weight: 500; line-height: 1.8; }
.screen-cap small { display: block; margin-top: 8px; color: var(--mute); font-size: 11px; font-weight: 400; line-height: 1.9; }
.mock { padding: 24px; }
.mock-t { display: block; font-size: 15px; font-weight: 500; }
.mock-l { display: block; width: 82%; height: 4px; margin-top: 14px; background: var(--line); }
.mock-l.short { width: 54%; margin-top: 8px; }
.mock-b { display: block; width: 30%; height: 16px; margin-top: 18px; background: var(--ink); }
.board { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 22px; margin-top: 28px; }
.board figure { min-width: 0; }
.board .cut { display: block; margin-bottom: 12px; color: var(--mute); font-family: var(--ff-en), var(--ff); font-size: 11px; letter-spacing: .04em; }
.board img { display: block; width: 100%; height: auto; }
.board figcaption { margin-top: 14px; font-size: 12px; line-height: 1.9; color: var(--ink-2); }
.gantt { width: 100%; min-width: 550px; table-layout: fixed; border-collapse: collapse; font-size: 12px; line-height: 1.7; }
.gantt th, .gantt td { height: 54px; padding: 10px 0; border-bottom: 1px solid var(--line); text-align: center; }
.gantt th:first-child { width: 150px; padding-right: 20px; text-align: left; font-weight: 500; }
.gantt thead th { font-size: 11px; font-weight: 400; color: var(--mute); }
.gantt td { position: relative; }
.gantt .on::after { content: ""; position: absolute; top: calc(50% - 3px); left: 0; right: 0; height: 6px; background: #8e8e8e; }
.gantt .start::after { left: 8px; }
.gantt .end::after { right: 8px; }
.gantt .mark::after { content: "◆"; color: var(--ink); font-size: 11px; }
.gantt .wk-unit { display: none; }
.sticky-cta { display: none; }

@media (max-width: 1100px) {
  .plans { gap: 12px; }
  .plan { padding-left: 20px; padding-right: 20px; }
  .plan .price { font-size: 31px; }
  .steps { gap: 18px; }
  .run { grid-template-columns: minmax(0, 1fr) minmax(160px, 1fr); }
  .run-body { grid-column: 1 / -1; }
  .run-body ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 28px; }
  .run-body li + li { margin-top: 0; }
}

@media (max-width: 900px) {
  .plans { grid-template-columns: 1fr; gap: 20px; }
  .plan { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); column-gap: 36px; padding: 32px; }
  .plan .tier, .plan .catch, .plan .price, .plan .set { grid-column: 1; }
  .plan .catch { min-height: 0; }
  .plan .price { margin-top: 24px; font-size: 38px; }
  .plan .set { min-height: 0; }
  .plan ul { grid-column: 2; grid-row: 1 / span 4; margin-top: 0; }
  .plan li:first-child { border-top: 0; padding-top: 0; }
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps li { display: grid; grid-template-columns: 36px minmax(0, 1fr); column-gap: 20px; padding: 24px 0; }
  .steps .no { grid-row: 1 / span 3; margin: 3px 0 0; }
  .steps h3 { margin-bottom: 10px; }
  .steps p { grid-column: 2; font-size: 14px; }
  .steps li:last-child { border-bottom: 1px solid var(--line); }
  .scope, .split { grid-template-columns: 1fr; gap: 40px; }
  .asks { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
  .article-layout { grid-template-columns: minmax(0, 760px); justify-content: center; gap: 56px; }
  .article-aside { position: static; max-width: 760px; }
  .article-aside .aside-cta { max-width: 420px; }
  .article-aside .toc { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 28px; }
  .case-list--text a > span { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .case-list--text .cat { font-size: 11px; }
  .case-list--text .who { margin-top: 4px; }
  .field { grid-template-columns: 1fr; gap: 14px; }
  .field-label { padding-top: 0; }
}

@media (max-width: 1100px) {
  .table-wrap { margin-top: 26px; }
  .table { min-width: 0; font-size: 14px; }
  .table--stack, .table--stack tbody { display: block; }
  .table--stack thead { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .table--stack tbody tr { display: block; padding: 24px 0; border-top: 1px solid var(--line); }
  .table--stack tbody tr:first-child { border-top-color: var(--ink); }
  .table--stack tbody tr:last-child { border-bottom: 1px solid var(--line); }
  .table--stack tbody th, .table--stack tbody td { display: block; width: auto; padding: 0; border: 0; text-align: left; }
  .table--stack tbody th { margin-bottom: 20px; font-size: 17px; line-height: 1.8; }
  .table--stack tbody td + td { margin-top: 16px; }
  .table--stack tbody td::before { content: attr(data-label); display: block; margin-bottom: 5px; color: var(--mute); font: 400 11px/1.7 var(--ff); letter-spacing: 0; white-space: normal; }
  .table--stack tbody td.num { margin-top: 22px; font-size: 28px; }
  .table--stack tbody td.num:not([data-label])::before { content: "料金"; }
  .table--stack tbody td.num small { font-size: 11px; }
  .table--plans thead { position: static; display: block; width: auto; height: auto; overflow: visible; clip-path: none; white-space: normal; }
  .table--plans thead tr { display: block; padding-bottom: 28px; }
  .table--plans thead th { display: block; width: auto; padding: 0; border: 0; text-align: left; }
  .table--plans thead th:first-child { display: none; }
  .table--plans thead th + th + th { margin-top: 24px; }
  .table--plans thead small { margin-top: 8px; }
}

@media (max-width: 640px) {
  .notes { font-size: 11px; }
  .plans { margin-top: 32px; }
  .plan { display: block; padding: 28px 24px; }
  .plan .price { font-size: 40px; }
  .plan .catch { margin-top: 14px; }
  .plan ul { margin-top: 28px; }
  .plan li:first-child { border-top: 1px solid #d5d5d5; padding-top: 17px; }
  .from { display: grid; grid-template-columns: 1fr; gap: 0; margin-top: 30px; }
  .from > * { padding: 20px 0; border-left: 0; border-top: 1px solid var(--line); }
  .from > a > div > span { min-height: 0; margin-bottom: 10px; }
  .from b { font-size: 34px; }
  .run { grid-template-columns: 1fr; gap: 22px; padding: 28px 0; }
  .run .price { font-size: 36px; }
  .run-body { grid-column: auto; }
  .run-body ul { grid-template-columns: 1fr; }
  .asks { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 24px; }
  .asks li { font-size: 15px; }
  .statement { padding: 12px 0; text-align: left; }
  .statement > p:first-child { font-size: 27px; }
  .fixed { padding: 24px; font-size: 13px; }
  .dl > div { grid-template-columns: 1fr; gap: 10px; padding: 23px 0; }
  .dl dt { font-size: 13px; }
  .dl dd { font-size: 14px; }
  .dl--meta > div { gap: 7px; padding: 13px 0; }
  .opts li { grid-template-columns: 1fr; gap: 3px; }
  .opts li + li { margin-top: 18px; }
  .faq summary { grid-template-columns: 22px minmax(0, 1fr) 18px; gap: 12px; padding: 23px 0; font-size: 14px; }
  .faq .a { padding: 0 0 26px 34px; font-size: 13px; }
  .photos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .photos > figure { grid-column: auto !important; }
  .photos > figure:first-child { grid-column: 1 / -1 !important; }
  .photos img { width: 100%; height: auto; align-self: start; }
  .gallery { gap: 10px; }
  .gallery figure { flex-basis: calc(155px * var(--ar, 1)); }
  .masonry { columns: 2; column-gap: 12px; }
  .masonry > * { margin-bottom: 12px; }
  .case-list a { grid-template-columns: 96px minmax(0, 1fr) 16px; gap: 16px; padding: 22px 0; }
  .case-list .t { font-size: 15px; }
  .case-list .cat { margin-bottom: 6px; font-size: 10px; }
  .case-list .who { margin-top: 8px; font-size: 11px; }
  .case-list--text a { grid-template-columns: minmax(0, 1fr) 16px; }
  .case-list--text .t { font-size: 16px; }
  .article-video { margin-bottom: 40px; }
  .article-aside .toc { grid-template-columns: 1fr; gap: 14px; }
  .prose { font-size: 14px; line-height: 2.05; }
  .prose h2 { margin-top: 46px; margin-bottom: 20px; font-size: 23px; }
  .works-web { grid-template-columns: 1fr; gap: 40px; }
  .board { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 14px; }
  .board--3 { grid-template-columns: 1fr; gap: 32px; }
  .board .cut { margin-bottom: 10px; }
  .board figcaption { font-size: 11px; }
  .gantt { min-width: 0; font-size: 10px; }
  .gantt th:first-child { width: 96px; padding-right: 10px; }
  .gantt th, .gantt td { height: 52px; }
  .gantt .wk { display: none; }
  .gantt .wk-unit { display: inline; }
  .gantt .start::after { left: 3px; }
  .gantt .end::after { right: 3px; }
  .gantt .mark::after { font-size: 9px; }
}

@media (max-width: 760px) {
  .has-sticky { padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
  .sticky-cta { position: fixed; inset: auto 0 0; z-index: 70; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); background: var(--paper); transform: translateY(110%); visibility: hidden; transition: transform .25s, visibility .25s; }
  .show-sticky .sticky-cta { transform: translateY(0); visibility: visible; }
  .nav-open .sticky-cta { transform: translateY(110%); visibility: hidden; }
  .sticky-cta .btn { min-width: 0; min-height: 48px; padding: 10px 8px; font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .from a, .case-list a, .faq .pm::after, .input, .select, .textarea, .sticky-cta { transition: none; }
}
