/* 現更新版の仕上げ（2026-11-02 第5回）。現更新版のページだけが読み込む（追加A・B は読み込まない）。
   元のデザインの見た目（色・書体・余白）は変えずに、文字の折り返しと、スマホの絞り込みの幅だけを直す。 */

/* 本文は、言葉のまとまり（文節）で折り返す。段落の最後の行が1〜2文字だけにならないようにする。
   word-break: auto-phrase は Chrome・Edge で効く（Safari・Firefox では今までどおりの折り返し）。
   text-wrap: pretty は Chrome・Edge・Safari 26 以降で効く。 */
main, .site-footer { word-break: auto-phrase; overflow-wrap: break-word; }
main :is(p, li, dd, dt, figcaption, blockquote), .site-footer :is(p, li) { text-wrap: pretty; }
/* 英字と混ざる名前（「公式LINE」など）や、「お問い合わせ」「買い替える」のように割れやすい言葉は、まとめて折り返す */
.nw { white-space: nowrap; }
/* 幅と文字の大きさの組み合わせによっては、文節の区切りが効かずに言葉の途中で割れる所がある。その手当て */
@media (min-width: 961px) { .about-lead { word-break: keep-all; } } /* トップの理念の説明: 句読点の後で折り返す */
.biz-text h3 { word-break: keep-all; } /* 事業のカードの見出し: 「エアコン／クリーニング」で折り返す */

/* トップの企業理念の見出し: 「目の前の人の笑顔から、」「より良い未来をつくる。」が、それぞれ1行に収まる大きさにする。
   1文字ずつ出す動きのために文字ごとに区切ってあり、行からあふれると言葉の途中や句読点の前で折り返してしまうため。 */
.about-lead-grid h2 { font-size: clamp(2rem, 3.3vw, 2.75rem); }
@media (max-width: 960px) { .about-lead-grid h2 { font-size: clamp(1.4rem, 3.1vw, 2rem); } } /* タブレット: まだ2列なので小さめに */
@media (max-width: 700px) { .about-lead-grid h2 { font-size: clamp(1.5rem, 7.6vw, 2.8rem); } } /* スマホ: 1列 */

/* スマホの作業実績の絞り込み: 横にすべらせる行を、画面の左右の端にぴったり合わせる（以前は左右に 20px ずつはみ出していた） */
@media (max-width: 700px) {
  .works-filter { margin-inline: calc(50% - 50vw); padding-inline: calc(50vw - 50%); }
}

/* =====================================================================
   第6回（2026-11-02・ピン留めコメント10件への対応）。ここから下も現更新版だけ
   ===================================================================== */

/* 横幅（コメント3）：広い画面では、本文の幅を画面に合わせて広げる。1480px 以下は今までどおり 1200px */
@media (min-width: 1481px) {
  :root { --shell: min(calc(100vw - 160px), calc(1200px + (100vw - 1480px) * .65)); }
}
.message-body > p { max-width: 40em; }

/* 見出しの大きさ（コメント3）：4つの段階に決める
   - 段の見出し（h2：事業内容・作業実績・お知らせ・会社概要・お問い合わせ）＝ 基準の大きさ
   - 原稿の一文が段の見出しを兼ねるもの（企業理念・代表メッセージ）＝ 段の見出しと同じ。1行が入りきらない幅だけ、入る大きさまで下げる
   - 段の中のまとまりの見出し（私たちが大切にしていること）＝ 段の見出しの約6割
   - 項目の見出し（4つの価値・5つのサービス）＝ いちばん小さい
   - 札（英字の段名、「企業理念」「代表メッセージ」）＝ 本文と同じくらいの太字 */
:root { --h-section: clamp(1.7rem, 2.55vw, 3.2rem); --h-block: clamp(1.35rem, 1.75vw, 2.1rem); --h-item: clamp(1.15rem, 1.5vw, 1.55rem); }
@media (max-width: 700px) { :root { --h-section: clamp(2.2rem, 9.4vw, 3.6rem); --h-block: clamp(1.3rem, 5.6vw, 1.7rem); --h-item: clamp(1.05rem, 4.6vw, 1.25rem); } }
.message-quote { font-size: var(--h-section); }
@media (min-width: 961px) { .about-lead-grid h2 { font-size: var(--h-section); } }
@media (max-width: 700px) {
  .about-lead-grid h2 { font-size: min(var(--h-section), calc((100vw - 40px) / 11.6)); }
  .message-quote { font-size: min(var(--h-section), calc((100vw - 40px) / 9.5)); }
}
#values-title { color: var(--title); font-family: var(--shuei); font-size: var(--h-block); font-weight: 700; line-height: 1.45; letter-spacing: .06em; }
.values-head .section-index--sub { margin-bottom: 14px; }
.value-list .v-key, .biz-item-title { font-size: var(--h-item); }
.about-label, .message-label { color: var(--green); font-family: var(--gothic); font-size: .95rem; font-weight: 700; letter-spacing: .2em; }

/* 冒頭のロゴ（コメント1）：ロゴを約24%小さく、右の「私たちは、」の文との間をあける（PC・タブレット） */
@media (min-width: 701px) {
  .brand-stage { --logo-size: max(160px, 17.5vw); }
  .brand-message { column-gap: clamp(40px, 4.5vw, 112px); }
}

/* 「私たちについて」と冒頭の間（コメント2）：空いていた所を約半分に */
.motion-ready .purpose { padding-top: 70px; }
@media (max-width: 700px) {
  .motion-ready .purpose { padding-top: 60px; }
}

/* あしらい（コメント4）：小さな形をやめ、冒頭でロゴを組み立てる「ロゴのかけら」を、大きく・ごくうすく。
   段の境目にまたがるように置き、段の区切りをつくらない。横は画面の端で切る（横に広がらない） */
.deco { z-index: 1; overflow-x: clip; overflow-y: visible; }
.deco ~ .section-shell, .deco ~ .values { position: relative; z-index: 2; }
.deco > .deco-piece { position: absolute; display: block; width: var(--w); height: auto; aspect-ratio: var(--ar); color: inherit; opacity: .07; scale: 1; animation: piece-drift var(--t, 28s) ease-in-out infinite alternate; }
@keyframes piece-drift { from { transform: translate3d(0, 0, 0) rotate(var(--r, 0deg)); } to { transform: translate3d(0, -2vw, 0) rotate(calc(var(--r, 0deg) + 7deg)); } }
.deco-piece:has(use[href="#logo-piece-a"]) { --ar: 92 / 125; }
.deco-piece:has(use[href="#logo-piece-b"]) { --ar: 87 / 64; }
.deco-piece:has(use[href="#logo-piece-c"]) { --ar: 150 / 204; }
.deco-piece:has(use[href="#logo-piece-d"]) { --ar: 110 / 83; }
.deco-piece:has(use[href="#logo-piece-e"]) { --ar: 150 / 107; }
.deco--purpose .p1 { --w: 30vw; --r: -14deg; left: -9vw; top: 24%; }
.deco--purpose .p2 { --w: 34vw; --r: 22deg; --t: 34s; right: -9vw; bottom: -18vw; }
.deco--message .p1 { --w: 30vw; --r: -8deg; left: -8vw; top: 6%; }
.deco--works .p1 { --w: 34vw; --r: 12deg; left: -10vw; bottom: -14vw; }
.deco--news .p2 { --w: 32vw; --r: 160deg; right: -11vw; bottom: -18vw; }
.deco--company .p1 { --w: 28vw; --r: 200deg; --t: 36s; left: -10vw; bottom: -16vw; }
.deco--contact .p1 { --w: 28vw; --r: 30deg; right: -9vw; bottom: -12vw; }
@media (max-width: 700px) {
  .deco > .deco-piece { --w: 74vw; }
  .deco--purpose .p1 { display: none; }
}
.logo-piece-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.reduced-motion .deco > .deco-piece, html:not(.motion-ready) .deco > .deco-piece { animation: none; transform: rotate(var(--r, 0deg)); }

/* みらいえのキャラクター（コメント6）：各段のどこかに、ものの陰から少しだけのぞく。画面に入るとふわっと出てくる。触れると手を振る */
.peek { position: absolute; z-index: 3; display: block; width: var(--pw, 110px); height: calc(var(--pw, 110px) * .5); overflow: hidden; pointer-events: auto; }
.peek-in { position: absolute; inset: 0 0 auto; height: calc(var(--pw, 110px) * 2 / 3); transform: translateY(105%); opacity: 0; transition: transform 1.1s cubic-bezier(.34, 1.3, .64, 1) .25s, opacity .7s ease .25s; }
.peek.is-in .peek-in { transform: translateY(4%); opacity: 1; }
.peek img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity .3s ease; }
.peek-hover { opacity: 0; }
.peek:hover .peek-hover { opacity: 1; }
.peek:hover .peek-base { opacity: 0; }
.values .section-shell { position: relative; }
.peek--values { right: 0; bottom: calc(.8rem * 1.9 + 2px); }
.message-body { position: relative; }
.peek--message { right: 0; bottom: 0; }
.biz-item--open { position: relative; }
.peek--biz { right: 22px; bottom: 100%; --pw: 104px; }
.company-grid { position: relative; }
.peek--company { right: 14px; top: 0; translate: 0 -100%; }
@media (max-width: 700px) { .peek { --pw: 92px; } }
.reduced-motion .peek-in, html:not(.motion-ready) .peek-in { transform: translateY(4%); opacity: 1; transition: none; }
/* すでにいる3体（作業実績・お知らせ・お問い合わせ）も、画面に入ったらふわっと出る */
.motion-ready .deco-char { opacity: 0; transform: translateY(16px); transition: opacity .8s ease .2s, transform 1s cubic-bezier(.34, 1.3, .64, 1) .2s; }
.motion-ready .deco-char.is-in { opacity: 1; transform: none; }
.reduced-motion .deco-char { opacity: 1; transform: none; }

/* 事業内容（コメント8）：1つの段に。上の段＝左に見出し「事業内容」・右にみらいえ、下の段＝5つのサービスを1列に並べる */
.biz-section .biz-inner:has(> .biz-screen) { width: var(--shell); }
.biz-screen { text-align: left; }
.biz-head { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 2fr); gap: clamp(28px, 6vw, 110px); align-items: end; margin-bottom: clamp(24px, 2.8vw, 48px); }
.biz-title .section-index { margin-bottom: 14px; }
.biz-title .section-index::before { display: inline-block; }
.biz-section .biz-title h2 { margin: 0; }
.biz-screen .biz-unit { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(20px, 2.6vw, 48px); align-items: center; max-width: none; margin: 0; text-align: left; }
.biz-screen .biz-unit-logo { width: clamp(140px, 12vw, 240px); margin: 0; }
.biz-screen .biz-unit-no { margin: 0 0 4px; }
.biz-screen .biz-unit-dummy { margin: 4px 0 8px; }
.biz-screen .biz-unit-lead { margin-top: 8px; }
.biz-row { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(12px, 1.3vw, 24px); margin: 0; padding: 0; list-style: none; }
.biz-item { display: flex; min-width: 0; }
.biz-item--open { grid-column: span 2; }
.biz-item-in { display: flex; flex-direction: column; width: 100%; overflow: hidden; border-radius: clamp(18px, 2vw, 32px); background: var(--tone); color: var(--ink); }
.biz-item-photo { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--green-soft); }
.biz-item-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.biz-item:hover .biz-item-photo img { transform: scale(1.04); }
.biz-item-photo--icon { display: grid; place-items: center; background: rgba(255, 255, 255, .5); color: var(--tone-ink); }
.biz-item-photo--icon svg { width: 34%; height: auto; }
.biz-item-photo--icon .biz-photo-note { bottom: 10px; }
.biz-item-body { display: flex; flex: 1; flex-direction: column; gap: 8px; min-width: 0; padding: clamp(14px, 1.4vw, 26px); }
.biz-item-kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: 0; color: var(--tone-ink); font-size: .78rem; font-weight: 700; letter-spacing: .12em; }
.biz-item-kicker .biz-char { width: 34px; }
.biz-item-no { font-family: var(--optima); font-size: .95rem; font-weight: 400; }
.biz-item-title { margin: 0; color: var(--title); font-family: var(--shuei); font-weight: 700; line-height: 1.45; letter-spacing: .06em; word-break: keep-all; overflow-wrap: break-word; }
.biz-item-text { margin: 0; font-size: clamp(.8rem, .9vw, .95rem); line-height: 1.85; letter-spacing: .04em; }
.biz-item .biz-links { margin-top: auto !important; padding-top: 6px; gap: 10px 18px; }
.biz-item .biz-cta { padding: .75em 1.4em; }
.biz-item:hover .biz-cta { background: var(--c-btn-hover, var(--title)); }
.biz-item--open .biz-item-in { flex-direction: row; }
.biz-item--open .biz-item-photo { flex: 0 0 36%; aspect-ratio: auto; }
.biz-row-note { margin: clamp(12px, 1.3vw, 20px) 0 0; color: var(--ink-soft); font-size: .8rem; }
@media (max-width: 1100px) {
  .biz-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .biz-item--open { grid-column: 1 / -1; }
}
@media (max-width: 960px) { .biz-head { grid-template-columns: 1fr; align-items: start; } }
@media (max-width: 560px) {
  .biz-screen .biz-unit { grid-template-columns: 1fr; gap: 14px; }
  .biz-row { grid-template-columns: minmax(0, 1fr); }
  .biz-item--open .biz-item-in { flex-direction: column; }
  .biz-item--open .biz-item-photo { flex: none; aspect-ratio: 4 / 3; }
  .biz-item:not(.biz-item--open) .biz-item-in { flex-direction: row; }
  .biz-item:not(.biz-item--open) .biz-item-photo { flex: 0 0 34%; aspect-ratio: 1; }
  .biz-item-photo--icon .biz-photo-note { display: none; }
}
/* PC：写真の帯のあと、この1画面へ送る（corporate-motion.js） */
@media (min-width: 1101px) and (min-height: 640px) {
  .motion-ready .biz-section .biz-inner:has(> .biz-screen) {
    padding-top: clamp(100px, 10vw, 150px);
    padding-bottom: 40px;
  }
  .motion-ready .biz-screen {
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
    min-height: 0;
    padding-block: 0;
  }
}
/* 背の低い PC 画面（高さ 820px 以下）でも1画面に収める：すき間と文字を少し詰める */
@media (min-width: 1101px) and (max-height: 820px) {
  .biz-head { margin-bottom: 18px; }
  .biz-screen .biz-unit-lead { font-size: .82rem; line-height: 1.8; }
  .biz-item-body { gap: 6px; padding: 12px 14px; }
  .biz-item-text { font-size: .78rem; line-height: 1.7; }
  .biz-item--open .biz-item-photo { flex-basis: 30%; }
  .biz-row-note { margin-top: 8px; }
  .motion-ready .biz-screen { padding-block: calc(var(--header-h) + 2px) 8px; }
}
/* 写真の帯にとどまる長さ（コメント7）：スマホ・タブレットでも、写真が止まっている間を約半分に */
@media not ((min-width: 1101px) and (min-height: 640px)) {
  .reveal-on .biz-section .biz-inner:has(> .biz-screen) {
    padding-top: clamp(80px, 12vw, 120px);
    padding-bottom: 80px;
  }
}

/* 色の流れ（コメント10）：お知らせ・会社概要は明るいまま、お問い合わせから落としてフッターへつなぐ */
.company { background: transparent; }
.contact-section { background: var(--c-contact-bg, var(--paper-deep)); }

/* 作業実績の表示見本（コメント9・works-samples.mjs）：仮のデータだとわかる札と説明 */
.works-sample-note { margin: 0 0 clamp(18px, 2vw, 28px); color: var(--ink-soft); font-size: .78rem; line-height: 1.9; }
.works-card--sample .works-link { cursor: default; }
.works-sample-badge { position: absolute; left: 12px; top: 12px; z-index: 2; padding: .35em .9em; border: 1px dashed var(--tone-ink, var(--ink)); border-radius: 999px; background: rgba(255, 255, 255, .92); color: var(--tone-ink, var(--ink)); font-size: .7rem; font-weight: 700; letter-spacing: .12em; }
.works-more--sample { color: var(--ink-soft); font-size: .72rem; letter-spacing: .06em; }
.works-more--sample::after { display: none; }

/* 大切にしていること：画像の注記 */
.values-image-note { margin-left: 1.4em; }

/* ==== 第7回（2026-11-02）コメント対応 ==== */
/* 事業内容は基準版に戻した（HTML は基準版と同じ。共通の corporate.css で変わっていたカードの色を、ここで基準版の値に戻す）。
   左右10pxの余白と段の間の広さ（第1回 r1-12、10/29 のコメント「横が詰まりすぎ」への対応）は、取り消されていないので残す */
   #business .biz-card:nth-child(1),
   #business .biz-card:nth-child(2),
   #business .biz-card:nth-child(3),
   #business .biz-card:nth-child(4) {
     background: transparent;
   }
@media (max-width: 1100px) {
  /* タブ2列を基準版と同じ等しい幅に（文節で折り返すと「クリーニング」が1語になり、列の幅が押し広げられるため） */
  #business .biz-tabs {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 700px) {
  #business .biz-text {
    width: 100%;
    padding-bottom: 0;
  }
}

/* 作業実績：作業前・作業後を左右に並べる（CMS の決まり＝どちらも必須・同じ立ち位置で1組ずつ。カードは works-cards.mjs の pair） */
.works-pair { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.works-shot { position: relative; min-width: 0; margin: 0; }
.works-pair .works-photo { border-radius: clamp(10px, 1vw, 14px); }
.works-pair .works-photo-none { font-size: .72rem; }
.works-shot-label { position: absolute; left: 8px; top: 8px; z-index: 1; padding: .2em .8em; border-radius: 999px; background: rgba(255, 255, 255, .92); color: var(--ink); font-size: .66rem; font-weight: 700; line-height: 1.7; letter-spacing: .12em; }
.works-shot--after .works-shot-label { background: var(--ink); color: #fff; }
/* 2枚のあいだの矢印（作業前 → 作業後） */
.works-pair::before, .works-pair::after { content: ""; position: absolute; left: 50%; top: 50%; z-index: 1; pointer-events: none; }
.works-pair::before { width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; background: #fff; box-shadow: 0 4px 12px rgba(var(--ink-rgb, 50, 81, 81), .16); }
.works-pair::after { width: 8px; height: 8px; margin: -5px 0 0 -6px; border-top: 2px solid var(--ink); border-right: 2px solid var(--ink); rotate: 45deg; }
/* 表示見本の札は、作業前・作業後の札とぶつからないよう左下へ */
.works-media--pair .works-sample-badge { top: auto; bottom: 10px; left: 10px; }
/* 詳細：片方の写真が無い記録の「未登録」の枠 */
.case-photo-none { display: grid; place-items: center; aspect-ratio: 4 / 3; color: var(--ink-soft); font-size: .8rem; letter-spacing: .14em; }

/* ==== 第8回（2026-11-03）ABOUT US の原稿 ==== */
/* トップ「私たちについて」：上に ABOUT US の見出しと冒頭の一段落（全文は /about/）、下に今までの企業理念 */
.about-lead-grid--story { margin-bottom: clamp(72px, 8vw, 128px); }
.about-lead-grid--story .about-lead { word-break: auto-phrase; } /* 1文が長いので、理念の説明（keep-all）とちがい文節で折り返す */
/* フッターの見出し「私たちについて」を /about/ へのリンクに（見た目は見出しのまま） */
.footer-sitemap .footer-h a { font-size: inherit; color: inherit; }
/* /about/（私たちについて）：代表メッセージと同じ1段組み。小見出しの番号は見せる（歩みの順番がわかるように） */
.read--story .read-heading { flex-direction: column; align-items: center; gap: .3em; word-break: keep-all; } /* 小見出しは「、」の後（<wbr>）だけで折り返す */
.read--story .read-heading .no { display: block; font-size: .78em; }
.read--story .story-lead { color: var(--title); font-size: 1.12em; font-weight: 500; line-height: 2.2; }
.read--story .story-closing .read-closing { margin-top: 0; } /* 結び：区切り線のすぐ後に置く（上の余白が二重にならないように） */
/* 関連ページのカードを2枚並べる（スマホは縦に） */
.page-related-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.page-related-grid .page-related-label { grid-column: 1 / -1; margin: 0; }
@media (max-width: 700px) { .page-related-grid { grid-template-columns: 1fr; } }

/* ==== 第9回（2026-11-03）ピン留めコメント3件 ==== */
/* 私たちについて・代表メッセージの本文の幅（コメント「幅が狭すぎるので上のタイトル幅と合わせた形で」）
   PC（1101px〜）では、本文の範囲をタイトルと同じ左右の端（--shell）まで広げる。
   並びはトップの「私たちについて」と同じ 1 : 1.05 の2列（左に小見出し、右に本文）。1行は 34〜45字ほどに収まるよう、文字を少し大きくする。
   タブレット・スマホ（〜1100px）は今までどおりの1段組み。HTML（原稿）は変えていない */
@media (min-width: 1101px) {
  .read-layout--single > .read--letter { max-width: none; font-size: clamp(1rem, .5rem + .55vw, 1.2rem); }
  .read-layout--single > .read--letter > .read-section { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); column-gap: clamp(40px, 6vw, 120px); align-items: start; }
  .read-layout--single > .read--letter > .read-section + .read-section { margin-top: clamp(56px, 5.2vw, 112px); padding-top: clamp(48px, 4.6vw, 96px); }
  .read-layout--single > .read--letter > .read-section > * { grid-column: 2; }
  /* 小見出し：左の列に左寄せで置き、本文を読み進めるあいだ画面に残す */
  .read-layout--single > .read--letter > .read-section > .read-heading { grid-column: 1; grid-row: 1 / span 40; position: sticky; top: calc(var(--header-h) + 40px); flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: .5em; margin: 0; text-align: left; font-size: clamp(1.25rem, 1.45vw, 1.75rem); line-height: 1.55; word-break: keep-all; }
  .read-layout--single > .read--letter > .read-section > .read-heading .no { display: block; font-size: .62em; letter-spacing: .14em; }
  /* 本文の最初の段落（/about/ の冒頭の一段落・代表メッセージの最初の段落。2件のコメントが付いた所）：
     タイトルと同じ左の端から2列ぶんの幅で、少し大きく。続きの段落は右の列から始まる */
  .read-layout--single > .read--letter > .read-section:first-child > p:first-child { grid-column: 1 / -1; margin: 0; color: var(--title); font-size: clamp(1.2rem, 1.3vw, 1.75rem); font-weight: 500; line-height: 2; letter-spacing: .06em; text-wrap: balance; }
  .read-layout--single > .read--letter > .read-section:first-child > p:first-child + * { margin-top: clamp(40px, 3.6vw, 72px); }
}

/* 代表メッセージ: section-index / 見出しをグリッドの外へ */
.message-section > .section-shell > .section-index { margin-bottom: 14px; }
.message-section > .section-shell > .message-label { margin-bottom: clamp(24px, 3vw, 40px); }

/* ---- スマホ（700px以下） ---- */
@media (max-width: 700px) {
  /* 私たちが大切にしていること: 1カラム */
  .value-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 44px;
  }

  .value-photo {
    aspect-ratio: 3 / 2;
  }

  /* BUSINESS: PCと同じタブ切り替え方式 */
  #business .biz-stage {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  #business .biz-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #business .biz-panels {
    display: grid;
    margin-bottom: 0;
  }

  #business .biz-panels::after {
    content: none;
  }

  #business .biz-card {
    position: relative;
    top: auto;
    height: auto;
    min-height: 0;
    box-shadow: none;
  }

  #business .biz-card:not(.is-active) {
    display: none;
  }
}


/* ==== 私たちについて（/about/）: 01〜04 の左の背景に写真・結びは全幅 ==== */
/* スマホ・タブレット（〜1100px）: 各小見出しの上に写真 */
.read--story .read-photo { margin: 0 0 clamp(20px, 3vw, 28px); overflow: hidden; border-radius: clamp(18px, 2.4vw, 28px); aspect-ratio: 3 / 2; background: var(--green-soft); }
.read--story .read-photo img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 1101px) {
  /* PC: 左に小見出しと本文（縦の真ん中）、右に写真（画面の右端まで・高さ100vh）。
     カードの切り替えは about-stack.js（下の .is-stage） */
  .read-layout--single:has(.read-split) { padding-bottom: 0; }
  .read-layout--single > .read--story > .read-stage > .read-split { position: relative; display: flex; flex-direction: column; justify-content: center; box-sizing: border-box; width: 100vw; min-height: 100svh; margin: 0 0 0 calc(50% - 50vw); padding: clamp(72px, 8vw, 120px) calc(50vw + clamp(40px, 5vw, 90px)) clamp(72px, 8vw, 120px) calc((100vw - var(--shell)) / 2); border-top: 0; background: var(--paper); text-align: left; }
  .read-layout--single > .read--story > .read-stage > .read-split + .read-split { margin-top: 0; padding-top: clamp(72px, 8vw, 120px); }
  .read-layout--single > .read--story > .read-stage > .read-split > * { grid-column: auto; margin-left: 0; margin-right: 0; }
  .read-layout--single > .read--story > .read-stage > .read-split > .read-photo { position: absolute; top: 0; right: 0; bottom: 0; left: 50%; z-index: 0; align-self: auto; width: auto; margin: 0; max-height: none; min-height: 0; aspect-ratio: auto; border-radius: 0; }
  .read--story .read-split .read-photo img { position: absolute; inset: 0; }
  .read-layout--single > .read--story > .read-stage > .read-split > .read-photo + .read-heading { position: static; grid-row: auto; align-items: flex-start; justify-content: flex-start; text-align: left; font-size: clamp(1.25rem, 1.45vw, 1.75rem); line-height: 1.6; margin: 0 0 1.6em; color: var(--title); text-shadow: none; }
  .read-layout--single > .read--story > .read-stage > .read-split > .read-photo + .read-heading .no { color: var(--green); }
  /* 本文: 15px / 太さ500 / 行間 2em */
  .read--story .read-split p { margin: 0 0 1.2em; font-size: 15px; font-weight: 500; line-height: 2em; letter-spacing: .04em; }
  .read--story .read-split p:last-child { margin-bottom: 0; }
  .read--story .read-split p.read-em { margin: 1.2em 0; padding-block: 0; font-size: 15px; font-weight: 700; line-height: 2em; }
}
/* 01〜04 をスクロールで切り替える（PC。about-stack.js が .is-stage と .is-active を付ける） */
@media (min-width: 1101px) {
  .read-stage.is-stage { display: grid; height: calc(100svh + 3 * 110svh); }
  .read-layout--single > .read--story > .read-stage.is-stage > .read-split { grid-area: 1 / 1; position: sticky; top: 0; align-self: start; height: 100svh; min-height: 0; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .8s ease, visibility 0s linear .8s; }
  .read-layout--single > .read--story > .read-stage.is-stage > .read-split.is-active { opacity: 1; visibility: visible; pointer-events: auto; transition-delay: 0s; }
  /* 文字: 下から上へ（出ていくときは上へ） */
  .read-stage.is-stage > .read-split > :not(.read-photo) { translate: 0 44px; opacity: 0; transition: translate 1s cubic-bezier(.22, .7, .2, 1), opacity .8s ease; }
  .read-stage.is-stage > .read-split.is-past > :not(.read-photo) { translate: 0 -44px; }
  .read-stage.is-stage > .read-split.is-active > :not(.read-photo) { translate: 0 0; opacity: 1; transition-delay: .25s; }
  .read-stage.is-stage > .read-split.is-active > .read-photo + .read-heading { transition-delay: .2s; }
  /* 写真: 右からワイプ */
  .read-stage.is-stage > .read-split > .read-photo { clip-path: inset(0 0 0 100%); transition: clip-path 1.1s cubic-bezier(.77, 0, .18, 1); }
  .read-stage.is-stage > .read-split.is-active > .read-photo { clip-path: inset(0 0 0 0); }
}
@media (prefers-reduced-motion: reduce) {
  .read-stage.is-stage > .read-split, .read-stage.is-stage > .read-split > * { transition: none !important; }
}
/* 結び: 全幅 */
.story-band { padding-block: var(--section-y); text-align: center; }
.story-band .read-closing { margin: 0 0 clamp(24px, 3vw, 40px); padding: 0; border-radius: 0; background: transparent; box-shadow: none; }
.story-band .read-closing-line { font-size: clamp(1.4rem, 3.4vw, 3rem); }
.story-band-text { max-width: 40em; margin: 0 auto; font-size: clamp(.95rem, 1.1vw, 1.1rem); line-height: 2.3; text-align: left; }
@media (min-width: 701px) { .story-band-text { text-align: center; } }

/* 冒頭の一文（「株式会社未来創研の原点は…」）の下に余白 */
.read--story .story-intro { margin-bottom: clamp(72px, 9vw, 160px); }
