/* 株式会社 O'crock の 1 枚ページ（見本）。写真が主役。
   地は墨と白を区間ごとに交互にし、境目は冒頭の写真と同じ向きの斜めでつなぐ（.cut）。
   色がつくのは連絡の入口（LINE のボタン）だけ。太さ 900 は冒頭の帯だけ。角丸は 4px にそろえる（白フチの写真は角を立てる）。 */
:root {
  --ink: #14171a;      /* 墨（地・帯の字） */
  --ink-2: #1d2226;    /* 墨の上の面 */
  --rule: #343c42;     /* 墨の上の罫 */
  --paper: #f3f4f1;    /* 白（帯・写真のフチ・白い区間の地） */
  --rule-l: #d3d7d2;   /* 白の上の罫 */
  --text: #e6e9ea;     /* 墨の上の字 */
  --mute: #9aa4aa;     /* 墨の上の控えめな字 */
  --mute-l: #5d676d;   /* 白の上の控えめな字 */
  --body-l: #2a3035;   /* 白の上の本文 */
  --line: #06c755;     /* LINE の緑。ボタンにだけ使う */
  --jp: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  --en: "Barlow Condensed", "Zen Kaku Gothic New", sans-serif;
  --pad: 20px;
  --dock: 66px;
  --r: 4px;
  --sl: 30px;          /* 区間の境目の斜めの高さ */
  --max: 1440px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-bottom: calc(var(--dock) + 16px); }
body { margin: 0; background: var(--ink); color: var(--text); font-family: var(--jp); font-weight: 500; line-height: 1.85; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
p, h1, h2, h3, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }

/* 文は、文の切れ目で折り返す。1 文が 2 行になるときは、文節の切れ目で長さをそろえる（auto-phrase が無いブラウザでは長さだけそろう） */
.ph { display: inline-block; text-wrap: balance; word-break: auto-phrase; }

/* 写真の色をそろえる（1 組に見せる） */
main img { filter: saturate(.8) contrast(1.05); }

/* ---- 上の帯（社名・何の会社か。ロゴが決まったら社名の左に入れる） ---- */
.bar { position: absolute; z-index: 5; top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between;
  padding: calc(14px + env(safe-area-inset-top)) var(--pad) 0; }
.bar__id { display: grid; color: #fff; text-shadow: 0 1px 10px rgba(0, 0, 0, .6); }
.bar__name { font-weight: 700; font-size: 21px; letter-spacing: .04em; line-height: 1.25; }
.bar__job { font-size: 13px; font-weight: 500; letter-spacing: .02em; line-height: 1.3; }
.bar__cta { display: none; }

/* ---- ボタン ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 1.3em; border-radius: var(--r);
  font-weight: 700; font-size: 16px; letter-spacing: .03em; text-decoration: none; line-height: 1.2; white-space: nowrap; }
.btn--line { background: var(--line); color: var(--ink); }
.btn--tel { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .6); }
.btn:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

/* ---- 区間に共通の部品 ---- */
.cut { position: relative; margin-top: calc(var(--sl) * -1); clip-path: polygon(0 var(--sl), 100% 0, 100% 100%, 0 100%); }
.on-paper { background: var(--paper); color: var(--ink); }
.on-ink { background: var(--ink); color: var(--text); }
.sec-h { padding: 0 var(--pad); }
.eyebrow { font-family: var(--en); font-weight: 700; font-size: 15px; letter-spacing: .22em; color: var(--mute); line-height: 1; }
.on-paper .eyebrow { color: var(--mute-l); }
.sec-h h2 { margin-top: 10px; font-weight: 700; font-size: 32px; letter-spacing: .04em; line-height: 1.3; }
.sec-h__sub { margin-top: 8px; font-size: 15px; color: var(--mute-l); }

/* 帯（白い帯に墨の字。白い区間では墨の帯に白い字） */
.tape { background: var(--paper); color: var(--ink); border-radius: var(--r); font-feature-settings: "palt"; }
.on-paper .tape { background: var(--ink); color: #fff; }
.tape--m { display: inline-block; font-weight: 700; font-size: 22px; letter-spacing: .06em; line-height: 1.3; padding: .3em .6em .34em; }

/* ---- 冒頭 ---- */
.hero { position: relative; padding-bottom: 40px; overflow: hidden; --photo-h: clamp(476px, 58svh, 520px); }
.hero__photo { position: relative; height: var(--photo-h); background: var(--ink-2); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 46px), 0 100%); }
.hero__photo::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20, 23, 26, .86) 0%, rgba(20, 23, 26, .4) 13%, rgba(20, 23, 26, 0) 30%, rgba(20, 23, 26, 0) 52%, rgba(20, 23, 26, .72) 100%); }
/* スマホでは、台車を押す人が入る所まで右に寄せる */
.hero__photo img { object-position: var(--hero-pos, 96% 50%); }

/* 白フチで少し傾けた写真。置き場所は、冒頭の写真の空いている所（人に重ねない） */
.snap { position: absolute; z-index: 3; background: var(--paper); padding: 5px 5px 0; box-shadow: 0 10px 26px rgba(0, 0, 0, .42); }
.snap img { aspect-ratio: 1 / 1; height: auto; }
.snap figcaption { padding: 4px 2px 5px; color: var(--ink); font-weight: 700; font-size: 12px; line-height: 1.3; white-space: nowrap; }
.snap--1 { top: 84px; right: 70px; width: 92px; transform: rotate(-4.5deg); }
.snap--2 { top: 196px; right: 14px; width: 86px; transform: rotate(5deg); }

/* 白い帯の見出し（太さ 900 はここだけ） */
.hero__copy { position: relative; z-index: 4; margin-top: -132px; padding: 0 var(--pad); }
.hero__title { font-size: inherit; font-weight: inherit; }
.hero__title .tape { display: table; margin-top: 7px; font-weight: 900; line-height: 1.32; padding: .16em .42em .2em;
  font-size: clamp(23px, 6.7vw, 40px); letter-spacing: .01em; white-space: nowrap; }
.hero__title .tape--s { background: var(--ink); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .34); color: #fff; font-weight: 700; font-size: 14px; letter-spacing: .08em; padding: .34em .8em .38em; margin-top: 0; font-feature-settings: normal; }
.hero__lead { margin-top: 20px; font-size: 15px; line-height: 1.9; color: var(--text); max-width: 31em; }
.hero__cta { display: none; }
.hero__note { position: absolute; z-index: 3; top: calc(var(--photo-h) - 150px); right: 12px; writing-mode: vertical-rl;
  font-size: 11px; letter-spacing: .08em; color: rgba(255, 255, 255, .8); text-shadow: 0 1px 6px rgba(0, 0, 0, .7); line-height: 1; }

/* ---- 3 つの事業（白い地・カードは押せる） ---- */
.svc { padding: 70px 0 calc(56px + var(--sl)); }
.svc__list { margin-top: 34px; display: grid; gap: 46px; }
.svc__link { display: block; padding: 0 var(--pad); color: inherit; text-decoration: none; }
.svc__link:focus-visible { outline: 3px solid var(--ink); outline-offset: -3px; }  /* 画面の幅いっぱいなので、輪は内側に出す */
.svc__ph { display: block; position: relative; aspect-ratio: 16 / 10; border-radius: var(--r); overflow: hidden; background: #c9cdc8; }
/* 写真は左右交互に画面の端まで出す。帯と文は左にそろえたまま */
.svc__item:nth-child(odd) .svc__ph { margin-right: calc(var(--pad) * -1); border-radius: var(--r) 0 0 var(--r); }
.svc__item:nth-child(even) .svc__ph { margin-left: calc(var(--pad) * -1); border-radius: 0 var(--r) var(--r) 0; }
.svc__item h3 { position: relative; margin-top: -24px; font-size: inherit; font-weight: inherit; line-height: 1; }
.svc__brand { display: block; margin-top: 14px; font-family: var(--en); font-weight: 700; font-size: 15px; letter-spacing: .14em; line-height: 1.2; color: var(--mute-l); }
.svc__txt { display: block; margin-top: 6px; font-size: 15px; line-height: 1.85; color: var(--body-l); }
.svc__more { display: inline-flex; align-items: center; gap: .6em; margin-top: 10px; padding-bottom: 2px; border-bottom: 1.5px solid var(--ink); font-weight: 700; font-size: 14px; line-height: 1.6; }
.svc__more::after { content: ""; width: .46em; height: .46em; border-right: 2px solid; border-bottom: 2px solid; transform: translateY(-2px) rotate(45deg); }

/* ---- 事業ごとの区間（大きい写真 1 枚＋白フチの写真＋項目） ---- */
.biz { padding: 70px 0 calc(52px + var(--sl)); }
/* 並びは 見出し→写真→項目。見出しと項目は 1 つの塊（.biz__text）で、広い画面では写真の横に留める */
.biz__in { padding: 0 var(--pad); display: flex; flex-direction: column; }
.biz__text { display: contents; }
.biz__head { order: 1; }
.biz__photos { order: 2; }
.biz .menu { order: 3; }
.biz__in .sec-h { padding: 0; }
.biz__lead { margin-top: 12px; font-size: 15px; line-height: 1.9; max-width: 31em; }
.on-paper .biz__lead { color: var(--body-l); }
.biz__photos { margin-top: 26px; }
/* 大きい写真は片側だけ画面の端まで出す。帯は写真の角から少しはみ出して貼る */
.shot { position: relative; margin-right: calc(var(--pad) * -1); }
.shot img { aspect-ratio: 3 / 2; height: auto; border-radius: var(--r) 0 0 var(--r); background: var(--ink-2); }
.shot figcaption { position: absolute; left: -8px; bottom: -17px; line-height: 1; }
.biz--flip .shot { margin: 0 0 0 calc(var(--pad) * -1); }
.biz--flip .shot img { border-radius: 0 var(--r) var(--r) 0; }
.biz--flip .shot figcaption { left: auto; right: -8px; }

/* 白フチの写真（項目名の札つき）。少しずつ傾けて並べる */
.pile { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 42px; }
.pin { background: #fff; padding: 6px 6px 0; box-shadow: 0 10px 24px rgba(0, 0, 0, .4); }
.on-paper .pin { box-shadow: 0 8px 20px rgba(20, 23, 26, .2), 0 0 0 1px var(--rule-l); }
.pin img { aspect-ratio: 3 / 2; height: auto; }
.pin figcaption { padding: 6px 2px 7px; color: var(--ink); font-weight: 700; font-size: 13px; line-height: 1.35; }
.pile li:nth-child(odd) .pin { rotate: -1.8deg; }
.pile li:nth-child(even) .pin { rotate: 2.2deg; translate: 0 12px; }
.pile--1 { grid-template-columns: minmax(0, 1fr); margin-top: -28px; }
.pile--1 li { position: relative; z-index: 2; width: 62%; margin-left: auto; }
.pile--1 li .pin { rotate: 2.4deg; }
.pile--3 li:first-child { grid-column: 1 / -1; width: 76%; }
.pile--3 li:first-child .pin { rotate: -1.2deg; }
.pile--3 li:nth-child(2) .pin { translate: 0 0; }
.pile--3 li:nth-child(3) .pin { translate: 0 -10px; }

/* 項目 */
.menu { margin-top: 46px; border-top: 1px solid var(--rule); }
.menu > li { padding: 15px 0 16px; border-bottom: 1px solid var(--rule); }
.on-paper .menu, .on-paper .menu > li { border-color: var(--rule-l); }
.menu__name { font-weight: 700; font-size: 19px; letter-spacing: .03em; line-height: 1.5; }
.menu__name + p, .menu__sub { margin-top: 3px; font-size: 14px; line-height: 1.8; color: var(--mute); }
.on-paper .menu__name + p, .on-paper .menu__sub { color: var(--mute-l); }
.menu__sub li { display: inline-block; }
.menu__sub li:not(:last-child)::after { content: "／"; margin: 0 .15em; opacity: .5; }

/* ---- 施工の写真（写真 1 枚を大きく） ---- */
.works { background: var(--ink); }
.works__ph { position: relative; height: clamp(430px, 62svh, 560px); }
.works__ph img { object-position: 86% 50%; }
.works__ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 23, 26, 0) 30%, rgba(20, 23, 26, .86) 100%); }
.works__cap { position: absolute; left: var(--pad); right: var(--pad); bottom: calc(var(--sl) + 30px); }
.works .eyebrow { color: #fff; text-shadow: 0 1px 8px rgba(0, 0, 0, .6); }
.works h2 { margin-top: 12px; font-size: inherit; font-weight: inherit; line-height: 1; }
.works__txt { margin-top: 14px; font-size: 14px; line-height: 1.8; color: #fff; }

/* ---- 頼み方（順番に意味があるので番号を振る） ---- */
.flow { padding: 70px 0 calc(56px + var(--sl)); }
.flow__list { margin-top: 36px; padding: 0 var(--pad); display: grid; gap: 44px; }
.step { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 12px; align-items: start; align-content: start; }
.step__no { grid-row: 1 / span 4; font-family: var(--en); font-weight: 700; font-size: 62px; line-height: .84; }
.step h3 { grid-column: 2; font-weight: 700; font-size: 22px; letter-spacing: .02em; line-height: 1.4; }
.step__txt { grid-column: 2; margin-top: 6px; font-size: 15px; line-height: 1.85; color: var(--body-l); }
.step__ph { grid-column: 2; margin: 16px calc(var(--pad) * -1) 0 0; aspect-ratio: 3 / 2; border-radius: var(--r) 0 0 var(--r); overflow: hidden; background: #c9cdc8; }
/* 見積もりで伝えること（写真の代わりに、中身を 3 つ並べる） */
.memo { grid-column: 2; margin-top: 16px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1.5px solid var(--ink); border-radius: var(--r); }
.memo li { padding: 13px 4px 14px; text-align: center; font-weight: 700; font-size: 14px; line-height: 1.3; }
.memo li + li { border-left: 1.5px solid var(--ink); }

/* ---- 会社のこと・受付 ---- */
.co { padding: 70px 0 0; }
.co__in { padding: 0 var(--pad); }
.co__in .sec-h { padding: 0; }
.co__ph { margin: 26px 0 0 calc(var(--pad) * -1); aspect-ratio: 3 / 2; border-radius: 0 var(--r) var(--r) 0; overflow: hidden; background: var(--ink-2); }
.co__dl { margin-top: 30px; border-top: 1px solid var(--rule); }
.co__dl > div { display: grid; grid-template-columns: 5.4em minmax(0, 1fr); column-gap: 10px; padding: 14px 0 15px; border-bottom: 1px solid var(--rule); }
.co__dl dt { font-size: 14px; line-height: 1.95; color: var(--mute); }
.co__dl dd { font-size: 15px; line-height: 1.8; }
.co__brands [lang="en"] { font-weight: 700; letter-spacing: .02em; margin-right: .7em; }
.co__brands small { font-size: 13px; color: var(--mute); }
.tbd { color: var(--mute); }

.ask { margin: 26px var(--pad) 0; padding: 40px 0 52px; }
.ask__line { font-weight: 700; font-size: 30px; line-height: 1.45; letter-spacing: .02em; }
.ask__sub { margin-top: 12px; font-size: 15px; line-height: 1.85; }
.ask__cta { display: none; }
.ask__dl { margin-top: 22px; display: grid; gap: 2px; font-size: 14px; }
.ask__dl > div { display: flex; gap: 1em; }
.ask__dl dt { min-width: 5em; color: var(--mute); }

/* ---- 下の断り書き・固定の入口 ---- */
.foot { padding: 22px var(--pad) calc(var(--dock) + 30px + env(safe-area-inset-bottom)); background: var(--ink); color: var(--mute); font-size: 12px; line-height: 1.8; border-top: 1px solid var(--rule); }
.dock { position: fixed; z-index: 20; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 280px)); justify-content: center; gap: 8px;
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: var(--ink); border-top: 1px solid var(--rule); }
.dock .btn { min-height: 50px; padding: 0 .4em; }
.dock .btn--tel { background: var(--ink-2); }

/* ---- 出し方（型は 1 つ: 帯は左から開く・写真と文は下から浮く）。動かすのは冒頭・事業のカード・頼み方だけ ---- */
@media (prefers-reduced-motion: no-preference) {
  .js:not(.still) .hero__photo img { transform: scale(1.07); transition: transform 1.5s cubic-bezier(.2, .7, .2, 1); }
  .js:not(.still).ready .hero__photo img { transform: none; }
  .js:not(.still) .hero__title .tape { clip-path: inset(0 100% 0 0); transition: clip-path .62s cubic-bezier(.65, 0, .2, 1); }
  .js:not(.still) .hero__title .tape:nth-child(2) { transition-delay: .12s; }
  .js:not(.still) .hero__title .tape:nth-child(3) { transition-delay: .24s; }
  .js:not(.still).ready .hero__title .tape { clip-path: inset(0 -2px 0 0); }
  .js:not(.still) .snap { opacity: 0; transition: opacity .5s ease-out .45s, translate .7s cubic-bezier(.2, .7, .2, 1) .45s; translate: 0 14px; }
  .js:not(.still) .snap--2 { transition-delay: .58s; }
  .js:not(.still).ready .snap { opacity: 1; translate: 0 0; }
  .js:not(.still) .hero__lead { opacity: 0; transition: opacity .6s ease-out .5s; }
  .js:not(.still).ready .hero__lead { opacity: 1; }
  .js:not(.still) .rv { opacity: 0; translate: 0 22px; transition: opacity .55s ease-out, translate .8s cubic-bezier(.2, .7, .2, 1); }
  .js:not(.still) .rv.in { opacity: 1; translate: 0 0; }
  .js:not(.still) .rv .tape { clip-path: inset(0 100% 0 0); transition: clip-path .6s cubic-bezier(.65, 0, .2, 1) .15s; }
  .js:not(.still) .rv.in .tape { clip-path: inset(0 -2px 0 0); }
  /* カードは押せる: 写真が少し寄る */
  .svc__ph img { transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
  .svc__link:hover .svc__ph img { transform: scale(1.04); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ---- 低い画面のスマホ: 見出しの下の文が固定の入口に隠れないよう、冒頭の写真を少し低くする ---- */
@media (max-width: 699px) and (max-height: 700px) {
  .hero { --photo-h: 446px; }
  .hero__lead { margin-top: 14px; }
  .hero__note { top: calc(var(--photo-h) - 128px); }
}

/* ---- 中間の幅（タブレット） ---- */
@media (min-width: 700px) {
  :root { --pad: 32px; --sl: 44px; }
  .hero { --photo-h: clamp(560px, 58svh, 640px); --hero-pos: 60% 50%; }
  /* 3 人とも写るので、傾けた写真は人を避けて右上（窓の前）と左下（小上がりの上）に置く */
  .snap--1 { top: 92px; right: 22px; width: 130px; padding: 7px 7px 0; }
  .snap--2 { top: 336px; right: auto; left: 40px; width: 120px; padding: 7px 7px 0; }
  .snap figcaption { font-size: 14px; padding: 6px 3px 7px; }
  .hero__lead { font-size: 16px; }
  .svc__list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; padding: 0 var(--pad); }
  .svc__link { padding: 0; }
  .svc__item .svc__ph, .svc__item:nth-child(odd) .svc__ph, .svc__item:nth-child(even) .svc__ph { margin: 0; border-radius: var(--r); aspect-ratio: 4 / 3; }
  .svc__item h3 { margin-left: 12px; }
  .svc__txt { text-wrap: balance; word-break: auto-phrase; }
  .svc__txt .ph { display: inline; }
  .pile { gap: 22px; margin-top: 50px; }
  .pile--1 { margin-top: -64px; }
  .pile--1 li { width: 42%; }
  .pile--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pile--3 li:first-child { grid-column: auto; width: auto; }
  .pile--3 li:nth-child(3) .pin { translate: 0 6px; }
  .pin figcaption { font-size: 14px; }
  .works__ph { height: clamp(520px, 64svh, 680px); }
  .works__ph img { object-position: 60% 50%; }
  .flow__list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
  .step { grid-template-columns: minmax(0, 1fr); }
  .step__no { grid-row: auto; margin-bottom: 14px; }
  .step h3, .step__txt, .step__ph, .memo { grid-column: 1; }
  .step__ph { margin-right: 0; border-radius: var(--r); }
  .step__txt { min-height: 5.6em; }  /* 文が 1〜3 行のどれでも、下の写真の高さをそろえる */
  /* 見積もりの中身は、両隣の写真と同じ大きさの札にする */
  .memo { aspect-ratio: 3 / 2; grid-template-columns: minmax(0, 1fr); grid-template-rows: repeat(3, minmax(0, 1fr)); }
  .memo li { display: flex; align-items: center; justify-content: center; padding: 0 6px; }
  .memo li + li { border-left: 0; border-top: 1.5px solid var(--ink); }
  .co__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: 36px; }
  .co__ph { grid-column: 1; grid-row: 1 / 3; margin-top: 0; aspect-ratio: auto; min-height: 430px; }
  .co__in .sec-h, .co__dl { grid-column: 2; }
  .co__dl { margin-top: 24px; align-self: start; }
  .ask__line br { display: none; }
}

/* ---- 広い画面 ---- */
@media (min-width: 960px) {
  :root { --pad: 56px; --sl: 56px; }
  .bar { padding-top: 26px; }
  .bar__id { text-shadow: none; }
  .bar__name { font-size: 25px; }
  .bar__job { font-size: 13px; }
  .bar__cta { display: flex; gap: 10px; }
  .bar__cta .btn { min-height: 44px; font-size: 15px; }
  .bar__cta .btn--tel { background: rgba(20, 23, 26, .62); }
  .hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); align-items: center; min-height: min(100vh, 780px); padding: 0; --hero-pos: 100% 50%; }
  .hero__photo { grid-column: 2; grid-row: 1; height: 100%; min-height: 620px; clip-path: polygon(15% 0, 100% 0, 100% 100%, 0 100%); }
  .hero__photo::after { background: linear-gradient(90deg, rgba(20, 23, 26, .55) 0%, rgba(20, 23, 26, 0) 34%), linear-gradient(180deg, rgba(20, 23, 26, .5) 0%, rgba(20, 23, 26, 0) 22%); }
  .hero__copy { grid-column: 1; grid-row: 1; margin: 0; padding: 120px 0 80px var(--pad); margin-right: -90px; }
  .hero__title .tape { font-size: clamp(34px, 3.5vw, 50px); margin-top: 10px; }
  .hero__title .tape--s { font-size: 16px; margin-top: 0; }
  .hero__lead { margin-top: 30px; font-size: 17px; max-width: 30em; }
  .hero__cta { display: flex; gap: 12px; margin-top: 34px; }
  .hero__cta .btn { min-height: 58px; font-size: 18px; padding: 0 1.8em; }
  /* 傾けた写真は人を避けて、右上（窓の前）と左下（写真の左の縁をまたぐ）に置く */
  .snap--1 { top: 104px; right: 56px; width: 168px; padding: 8px 8px 0; }
  .snap--2 { top: 410px; right: auto; left: calc(48% - 22px); width: 156px; padding: 8px 8px 0; }
  .snap figcaption { font-size: 15px; padding: 7px 3px 8px; }
  .hero__note { top: auto; bottom: 76px; right: 22px; writing-mode: horizontal-tb; font-size: 12px; }

  .svc, .biz, .flow { padding: 124px 0 calc(100px + var(--sl)); }
  .co { padding-top: 124px; }
  .sec-h, .svc__list, .biz__in, .flow__list, .co__in { max-width: var(--max); margin-left: auto; margin-right: auto; }
  .sec-h h2 { font-size: 44px; }
  .eyebrow { font-size: 17px; }
  .svc__list { gap: 30px; margin-top: 50px; }
  .tape--m { font-size: 26px; }
  .svc__brand { font-size: 16px; margin-top: 18px; }
  .svc__txt { font-size: 16px; }
  .svc__more { font-size: 15px; }

  html { scroll-padding-bottom: 0; }
  .biz__in { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); column-gap: 72px; align-items: start; }
  .biz--flip .biz__in { grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); }
  .biz__text { display: block; grid-column: 2; grid-row: 1; padding-top: 6px; }
  .biz__photos { grid-column: 1; grid-row: 1; margin-top: 0; }
  .biz--flip .biz__text { grid-column: 1; }
  .biz--flip .biz__photos { grid-column: 2; }
  .biz .menu { margin-top: 36px; }
  .biz__lead { font-size: 16px; }
  .shot, .biz--flip .shot { margin: 0; }
  .shot img, .biz--flip .shot img { aspect-ratio: 3 / 2; border-radius: var(--r); }
  .shot figcaption { left: -14px; bottom: -20px; }
  .biz--flip .shot figcaption { right: -14px; }
  .pile { gap: 28px; margin-top: 58px; }
  .pile--1 { margin-top: -84px; }
  .pile--1 li { width: 40%; margin-right: -22px; }
  .pin { padding: 8px 8px 0; }
  .pin figcaption { font-size: 15px; padding: 8px 3px 9px; }
  .menu__name { font-size: 21px; }
  .menu__name + p, .menu__sub { font-size: 15px; }

  .works__ph { height: min(84vh, 760px); }
  .works__ph img { object-position: 50% 62%; }
  .works__cap { left: max(var(--pad), calc((100vw - var(--max)) / 2 + var(--pad))); bottom: calc(var(--sl) + 50px); }
  .works__txt { font-size: 16px; }

  .flow__list { gap: 44px; margin-top: 56px; }
  .step__no { font-size: 88px; }
  .step h3 { font-size: 26px; }
  .step__txt { font-size: 16px; min-height: 3.7em; }
  .step__ph, .memo { margin-top: 22px; }
  .memo li { font-size: 17px; }

  .co__in { column-gap: 72px; }
  .co__in .sec-h { margin: 0; }
  .co__ph { margin-left: 0; border-radius: var(--r); min-height: 520px; }
  .co__dl dt { font-size: 15px; }
  .co__dl dd { font-size: 16px; }
  .ask { margin: 104px max(var(--pad), calc((100vw - var(--max)) / 2 + var(--pad))) 0; padding: 56px 0 84px; border-top: 1px solid var(--rule); display: grid; grid-template-columns: 1fr auto; column-gap: 40px; align-items: end; }
  .ask__line { font-size: 40px; }
  .ask__sub { grid-column: 1; font-size: 16px; }
  .ask__dl { grid-column: 1; font-size: 15px; }
  .ask__cta { display: flex; gap: 12px; grid-column: 2; grid-row: 1 / 4; }
  .ask__cta .btn { min-height: 58px; font-size: 18px; padding: 0 1.8em; }
  .foot { padding-bottom: 40px; font-size: 13px; }
  .dock { display: none; }
}

/* ---- 広い画面: 事業の区間は、見出しと項目を写真の横に留める（写真の列のほうが長いので、横が空いて見えないように）。低い画面では留めない ---- */
@media (min-width: 960px) and (min-height: 700px) {
  .biz__text { position: sticky; top: 96px; }
}
