@charset "utf-8";
/* =====================================================================
   建設業・産廃ページ用 新デザイン（2026/10/26）
   デジタル庁デザインシステム（DADS）に準拠
     - 書体：ヒラギノ角ゴ／メイリオ（前のHPと同じ）／本文16px以上・行間170%・字間2%（36px以上は1%）
     - 余白：8pxを基本単位にした段階（8/16/24/32/40/48/64/80）
     - 角丸：ボタン・入力8px、通知バナー12px（DADSのトークン値）
     - 色：文字は背景とのコントラスト4.5:1以上、部品の線・アイコンは3:1以上
       キーカラー＝黄色系 Yellow-1100(#6e5600・白地7.0:1)、ブランドの黄色は背景・強調で控えめに
     - フォーカスリング：黒4px＋黄(Yellow-300)2px の二重線（DADS指定・変更しない）
   - 読み込むのは kensetsu.html / sanpai.html だけ。クラス名はすべて lx- で始まる新規のもの。
     himawari.css の既存クラス（lp_ など）は触っていない → 他ページに影響なし。
   - 「左辺・上辺に色帯を付けたカード」は使わない（枠を付ける場合は四辺同じ線）。
   - JS が無くても全内容が読める。「動きを減らす」設定では動きを止める。
   ===================================================================== */

.lx-body {
	/* DADS トークン（必要な分だけ） */
	--g900: #1a1a1a; --g800: #333333; --g700: #4d4d4d; --g600: #666666; --g536: #767676; --g420: #949494; --g200: #cccccc; --g100: #e6e6e6; --g50: #f2f2f2;
	--y50: #fbf5e0; --y100: #fff0b3; --y200: #ffe380; --y300: #ffd43d; --y700: #b78f00; --y1000: #806300; --y1100: #6e5600; --y1200: #604b00;
	--key: var(--y1100); --key-hover: var(--y1200); --key-active: #4a3a00;
	--link: #00118f; --link-hover: #0017c1; --link-active: #c74700;
	--success: #197a4b; --warn: #927200;
	--line-green: #06C755; --line-green-hover: #05b34c;
	--sun: #ffdb4d; /* 事務所ブランドの黄色（背景のみ） */
	--elev-3: 0 4px 16px 3px rgba(0,0,0,.1), 0 1px 6px 0 rgba(0,0,0,.3);
	--ease: cubic-bezier(.2, .7, .2, 1);
	--font: "Noto Sans JP", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "Hiragino Sans", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	overflow-x: hidden;
}
@supports (overflow: clip) { .lx-body { overflow-x: clip; } }

/* DADS のフォーカスリング（共通） */
.lx-body .lx a:focus-visible, .lx-body .lx button:focus-visible, .lx-body .lx summary:focus-visible, .lx-body .lx [tabindex]:focus-visible,
.lx-fab:focus-visible, .lx-dialog a:focus-visible, .lx-dialog button:focus-visible, .lx-body .mod_nav .navtitle:focus-visible, .lx-body .mod_nav a:focus-visible {
	outline: 4px solid #000; outline-offset: 2px; box-shadow: 0 0 0 2px var(--y300); border-radius: 4px;
}

/* ---------- 枠・基本 ---------- */
#main.page.lx-main { max-width: 1152px; padding: 0; }
#main .lx, .lx-dialog, .lx-fab { font-family: var(--font); }
#main .lx { color: var(--g800); font-size: 16px; line-height: 1.7; letter-spacing: .02em; overflow-wrap: anywhere; }
#main .lx *, #main .lx *::before, #main .lx *::after, .lx-dialog *, .lx-dialog *::before, .lx-dialog *::after { box-sizing: border-box; }
#main .lx p { line-height: 1.7; margin: 0; font-size: inherit; }
#main .lx ol, #main .lx ul { margin: 0; padding: 0; }
#main .lx li { list-style: none; }
#main .lx .draft-note { margin: 0 32px; font-size: 14px; }
/* リンク（DADS：下線あり・青・訪問済みは紫） */
#main .lx a.lx-link-txt, #main .lx .lx-txtlinks a { color: var(--link); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
#main .lx a.lx-link-txt:hover, #main .lx .lx-txtlinks a:hover { color: var(--link-hover); text-decoration-thickness: 3px; }
#main .lx a.lx-link-txt:active { color: var(--link-active); }
#main .lx a.lx-link-txt:focus-visible { background: var(--y300); color: var(--link); }
.lx-wrap { max-width: 1040px; margin: 0 auto; padding: 0 32px; }
.lx-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* 画面いっぱいの帯（横スクロールを出さずに背景だけ左右に伸ばす） */
.lx-band { position: relative; }
.lx-band--paper { background: var(--y50); box-shadow: 0 0 0 100vmax var(--y50); clip-path: inset(0 -100vmax); }
.lx-band--ink { background: var(--g900); box-shadow: 0 0 0 100vmax var(--g900); clip-path: inset(0 -100vmax); color: #fff; }
.lx-band--sun { background: var(--sun); box-shadow: 0 0 0 100vmax var(--sun); clip-path: inset(0 -100vmax); }

/* ---------- パンくずリスト（DADS Breadcrumbs） ---------- */
.lx-bc { padding: 16px 32px; }
.lx-bc ol { display: flex; flex-wrap: wrap; align-items: center; row-gap: 8px; }
.lx-bc li { display: inline-flex; align-items: center; font-size: 16px; line-height: 1; }
.lx-bc li + li::before { content: ""; width: 12px; height: 12px; margin: 0 8px; background: currentColor; color: var(--g800); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M4.5 1.3l-.7.7 4 4-4 4 .7.7L9.2 6z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M4.5 1.3l-.7.7 4 4-4 4 .7.7L9.2 6z'/%3E%3C/svg%3E") center / contain no-repeat; }
#main .lx .lx-bc a { color: var(--link); text-decoration: underline; text-underline-offset: 3px; }
#main .lx .lx-bc a:hover { color: var(--link-hover); text-decoration-thickness: 3px; }
#main .lx .lx-bc a:active { color: var(--link-active); text-decoration-thickness: 1px; }
#main .lx .lx-bc a:focus-visible { background: var(--y300); color: var(--link); }
.lx-bc [aria-current] { color: var(--g800); }

/* ---------- ヒーロー（ページ冒頭） ---------- */
.lx-hero { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 64px; align-items: end; padding: 48px 32px 80px; position: relative; }
.lx-hero::before { content: ""; position: absolute; z-index: -1; right: 0; top: -24px; width: 50%; height: 90%; background: radial-gradient(closest-side, var(--y100) 0, rgba(255, 240, 179, 0) 100%); pointer-events: none; }
#main .lx .lx-kicker { display: flex; align-items: center; gap: 16px; font-size: 16px; font-weight: 700; color: var(--key); margin: 0 0 16px; }
.lx-kicker::before { content: ""; width: 32px; height: 2px; background: var(--y700); }
#main .lx .lx-title { font-size: 36px; line-height: 1.4; font-weight: 700; letter-spacing: .01em; color: var(--g900); margin: 0 0 24px; }
.lx-title br.sp { display: inline; }
.lx-title em { font-style: normal; background: linear-gradient(transparent 62%, var(--y200) 62%, var(--y200) 94%, transparent 94%) 0 0 / 100% 100% no-repeat; }
#main .lx .lx-lead { font-size: 17px; color: var(--g800); max-width: 36em; }
#main .lx .lx-lead + .lx-lead { margin-top: 8px; }
.lx-hero .lx-btns { margin-top: 32px; }

/* ステージの目次（建設業ヒーロー右側／DADS メニューリスト風） */
.lx-index { border-top: 1px solid var(--g420); }
.lx-index li { border-bottom: 1px solid var(--g420); }
#main .lx .lx-index a { display: grid; grid-template-columns: 56px minmax(0, 1fr) 32px; align-items: center; gap: 0 16px; padding: 16px 8px 16px 8px; text-decoration: none; color: var(--g900); transition: background-color .2s var(--ease); }
#main .lx .lx-index a:hover { background: var(--g50); }
#main .lx .lx-index a:hover .lx-index__t { text-decoration: underline; text-underline-offset: 3px; }
.lx-index__n { grid-row: 1 / span 2; font-size: 36px; font-weight: 700; line-height: 1; color: var(--y1000); letter-spacing: 0; }
.lx-index__t { font-size: 18px; font-weight: 700; line-height: 1.6; }
.lx-index__s { font-size: 16px; color: var(--g600); line-height: 1.6; grid-column: 2; }
.lx-index__go { grid-column: 3; grid-row: 1 / span 2; width: 32px; height: 32px; border-radius: 50%; border: 1px solid currentColor; color: var(--key); display: grid; place-items: center; background: #fff; }
.lx-index__go svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease); }
.lx-index a:hover .lx-index__go svg { transform: translateY(3px); }

/* 産廃ヒーロー右側の運搬ルート図（飾り） */
.lx-hero-route { width: 100%; max-width: 400px; justify-self: end; }
.lx-hero-route svg { width: 100%; height: auto; display: block; overflow: visible; }
.lx-hero-route .r-base { fill: none; stroke: var(--y100); stroke-width: 16; stroke-linecap: round; }
.lx-hero-route .r-path { fill: none; stroke: var(--y1000); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 2 10; }
.lx-hero-route .r-pin { fill: #fff; stroke: var(--g900); stroke-width: 2; }
.lx-hero-route .r-pin--to { fill: var(--y300); }
.lx-hero-route text { font-size: 16px; font-weight: 700; fill: var(--g900); font-family: var(--font); }
.lx-hero-route .r-dot { fill: var(--g900); }

/* ---------- ボタン（DADS Button：大 56px・角丸8px・ホバーで下線） ---------- */
.lx-btns { display: flex; flex-wrap: wrap; gap: 16px; }
/* ---------- ヒーローの補助リンク（電話・メール：文字リンク） ---------- */
.lx-hero .lx-btns { align-items: center; column-gap: 24px; row-gap: 8px; }
.lx-hero-sub { display: flex; flex-wrap: wrap; align-items: center; gap: 0 24px; margin: 0; }
#main .lx a.lx-hero-sub__a { display: inline-flex; align-items: center; min-height: 44px; padding: 4px 2px; color: var(--link); font-size: 16px; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
#main .lx a.lx-hero-sub__a:visited { color: var(--link-visited, var(--link)); }
#main .lx a.lx-hero-sub__a:hover { color: var(--link-hover); text-decoration-thickness: 3px; }
#main .lx a.lx-hero-sub__a:active { color: var(--link-active); }
#main .lx a.lx-hero-sub__a:focus-visible { background: var(--y300); color: var(--link); }
/* 冒頭の目次番号（0なしの1けた。英字の小さいラベルは付けない＝さおりさんFB 11/12） */
.lx-index__n--st, .lx-index__n--pt { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 4px; }

#main .lx .lx-btn, .lx-dialog .lx-btn { position: relative; overflow: hidden; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 136px; min-height: 56px; max-width: 100%; padding: 12px 16px; border-radius: 8px; font-size: 16px; font-weight: 700; line-height: 1.3; letter-spacing: .02em; text-decoration: none; text-underline-offset: 3px; text-align: center; color: var(--key); background: #fff; border: 1px solid currentColor; transition: background-color .2s var(--ease), color .2s var(--ease), transform .15s var(--ease); -webkit-tap-highlight-color: transparent; }
.lx-btn svg { width: 20px; height: 20px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease); }
#main .lx .lx-btn:hover, .lx-dialog .lx-btn:hover { background: var(--y100); color: var(--key-hover); text-decoration: underline; }
#main .lx .lx-btn:active, .lx-dialog .lx-btn:active { background: var(--y200); transform: scale(.98); }
/* 主ボタン（塗り）＝ LINE。白文字だとコントラスト不足（2.3:1）なので黒文字（7.7:1）にしている */
#main .lx .lx-btn--line, .lx-dialog .lx-btn--line { background: var(--line-green); color: #fff; border: 4px double transparent; }
#main .lx .lx-btn--line:hover, .lx-dialog .lx-btn--line:hover { background: var(--line-green-hover); color: #fff; }
#main .lx .lx-btn--line:active, .lx-dialog .lx-btn--line:active { background: #049a42; color: #000; }
#main .lx .lx-btn--solid, .lx-dialog .lx-btn--solid { background: var(--key); color: #fff; border: 4px double transparent; }
#main .lx .lx-btn--solid:hover { background: var(--key-hover); color: #fff; }
#main .lx .lx-btn--solid:active { background: var(--key-active); color: #fff; }
.lx-btn--tel:hover svg { animation: lx-ring .5s ease-in-out; }
.lx-btn--mail:hover svg, .lx-btn--arrow:hover svg { transform: translateX(3px); }
.lx-ripple { position: absolute; z-index: -1; border-radius: 50%; background: currentColor; opacity: .14; transform: scale(0); animation: lx-ripple .45s var(--ease) forwards; pointer-events: none; }
@keyframes lx-ripple { to { transform: scale(1); opacity: 0; } }
@keyframes lx-ring { 0%,100% { transform: rotate(0); } 25% { transform: rotate(-12deg); } 50% { transform: rotate(10deg); } 75% { transform: rotate(-6deg); } }

/* ---------- セクション見出し ---------- */
.lx-sec { padding: 80px 0; scroll-margin-top: 16px; }
.lx-sec--tight { padding: 64px 0; }
#main .lx .lx-h { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: baseline; gap: 8px 16px; margin: 0 0 40px; font-size: inherit; font-weight: 700; }
.lx-h__no { font-size: 16px; font-weight: 700; letter-spacing: .02em; color: var(--key); display: inline-flex; align-items: center; gap: 8px; }
.lx-h__no::after { content: ""; width: 24px; height: 2px; background: var(--y700); }
.lx-h__txt { font-size: 32px; font-weight: 700; line-height: 1.5; color: var(--g900); letter-spacing: .01em; }
.lx-h__sub { grid-column: 2; font-size: 16px; font-weight: 400; color: var(--g700); line-height: 1.7; }

/* ---------- カルーセル（DADS Carousel のページ送り：番号ボタン＋前後ボタン） ---------- */
.lx-carousel__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 32px) / 3); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain; padding: 8px 4px 8px; margin: -8px -4px 0; scrollbar-width: none; }
.lx-carousel__track::-webkit-scrollbar { display: none; }
.lx-slide { scroll-snap-align: start; position: relative; min-height: 200px; padding: 24px; background: #fff; border: 1px solid var(--g420); border-radius: 8px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; transition: border-color .2s var(--ease), background-color .2s var(--ease); }
.lx-slide:hover { border-color: var(--g900); }
.lx-slide__no { font-size: 16px; font-weight: 700; color: var(--y1000); }
.lx-slide__q { position: absolute; right: 20px; top: 8px; font-size: 80px; line-height: 1; color: var(--y100); font-family: Georgia, serif; pointer-events: none; }
#main .lx .lx-slide p { position: relative; font-size: 20px; font-weight: 700; line-height: 1.6; color: var(--g900); }
.lx-slide p small { display: block; font-size: 16px; font-weight: 400; color: var(--g700); margin-top: 4px; }
.lx-carousel__nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 24px; flex-wrap: wrap; }
.lx-pages { display: flex; flex-wrap: wrap; gap: 8px; }
.lx-pages button { min-width: 44px; height: 44px; padding: 0 8px; border: 1px solid var(--g420); border-radius: 8px; background: #fff; color: var(--g800); font: 700 16px/1 var(--font); cursor: pointer; transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s; }
.lx-pages button:hover { background: var(--g50); border-color: var(--g900); text-decoration: underline; }
.lx-pages button[aria-current="true"] { background: var(--g800); border-color: var(--g800); color: #fff; }
.lx-pagenav { display: flex; align-items: center; gap: 12px; margin: 0; font-size: 16px; }
.lx-pagenav__count { min-width: 4em; text-align: center; font-weight: 700; color: var(--g800); }
.lx-round { position: relative; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--key); background: #fff; color: var(--key); display: grid; place-items: center; cursor: pointer; padding: 0; transition: background-color .2s var(--ease), transform .15s var(--ease); }
.lx-round::after { content: ""; position: absolute; inset: -6px; }
.lx-round svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lx-round:hover:not(:disabled) { background: var(--y100); }
.lx-round:active:not(:disabled) { transform: scale(.92); }
.lx-round:disabled { color: var(--g420); border-color: var(--g200); cursor: default; }
html:not(.lx-js) .lx-carousel__nav { display: none; }
html:not(.lx-js) .lx-carousel__track { grid-auto-flow: row; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); overflow: visible; }
#main .lx .lx-foot-msg { margin-top: 32px; font-size: 18px; font-weight: 700; color: var(--g900); }
.lx-foot-msg span { background: linear-gradient(transparent 62%, var(--y200) 62%, var(--y200) 94%, transparent 94%); }

/* カルーセルにしない箇条（2列の一覧・区切り線のみ） */
.lx-quotes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; border-top: 1px solid var(--g420); }
.lx-quotes li { padding: 24px 0; border-bottom: 1px solid var(--g420); display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 8px; align-items: baseline; }
.lx-quotes__no { font-weight: 700; color: var(--y1000); font-size: 16px; }
#main .lx .lx-quotes p { font-size: 18px; font-weight: 700; line-height: 1.6; color: var(--g900); }
#main .lx .lx-quotes p small { display: block; margin-top: 4px; font-size: 16px; font-weight: 400; color: var(--g700, #4d4d4d); }

/* ---------- 濃い帯の安心メッセージ ---------- */
.lx-spot { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 48px; align-items: center; padding-top: 64px; padding-bottom: 64px; }
#main .lx .lx-spot__ttl { font-size: 28px; font-weight: 700; line-height: 1.5; letter-spacing: .01em; color: #fff; }
#main .lx .lx-spot__txt { font-size: 17px; color: #fff; }

/* ---------- ステージ切り替え（DADS Tab） ---------- */
.lx-tabs { display: flex; flex-wrap: wrap; margin: 0 0 40px; }
.lx-tabs::after { content: ""; flex: 1 1 0; border-bottom: 1px solid var(--g420); }
.lx-tab { position: relative; flex: 0 1 auto; display: flex; align-items: center; gap: 8px; min-height: 56px; margin: 0 -1px 0 0; padding: 16px 24px; border: 1px solid var(--g420); background: #fff; color: var(--g800); font: 400 16px/1.2 var(--font); letter-spacing: 0; cursor: pointer; text-align: left; transition: background-color .2s var(--ease); }
.lx-tab b { font-weight: 700; color: var(--y1000); }
.lx-tab:not([aria-selected="true"]):hover { background: var(--g50); }
.lx-tab[aria-selected="true"] { font-weight: 700; color: var(--g900); border-bottom-color: #fff; z-index: 1; }
.lx-tab[aria-selected="true"]::before { content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 4px; background: var(--key); transform-origin: left; animation: lx-tabbar .3s var(--ease); }
@keyframes lx-tabbar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
html:not(.lx-js) .lx-tabs { display: none; }

.lx-stage { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 48px; scroll-margin-top: 16px; }
html:not(.lx-js) .lx-stage + .lx-stage { margin-top: 64px; }
.lx-js .lx-stage[hidden] { display: none; }
.lx-js .lx-stage.is-enter { animation: lx-panel-in .35s var(--ease) both; }
@keyframes lx-panel-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.lx-stage__label { display: block; font-size: 16px; font-weight: 700; color: var(--key); }
.lx-stage__num { display: block; font-size: 112px; line-height: 1; font-weight: 700; letter-spacing: 0; color: var(--y300); margin: 8px 0 16px; }
.lx-js .lx-stage.is-enter .lx-stage__num { animation: lx-num-in .45s var(--ease) both; }
@keyframes lx-num-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
#main .lx .lx-stage__ttl { font-size: 24px; font-weight: 700; line-height: 1.5; color: var(--g900); }
.lx-rows { border-top: 1px solid var(--g420); }
.lx-rows > li { padding: 20px 0; border-bottom: 1px solid var(--g420); }
#main .lx .lx-rows__name { font-size: 18px; font-weight: 700; line-height: 1.6; color: var(--g900); display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
#main .lx .lx-rows__desc { color: var(--g800); margin-top: 4px; }
/* DADS ChipLabel（outlined） */
.lx-pill { display: inline-flex; align-items: center; min-height: 32px; font-size: 16px; font-weight: 400; line-height: 1; letter-spacing: .02em; color: var(--key); border: 1px solid currentColor; border-radius: 8px; padding: 3px 7px; background: #fff; }
#main .lx .lx-small { color: var(--g700); margin-top: 16px; }

/* 図：月・年の目盛りバー（インフォグラフィック） */
.lx-meter { margin: 24px 0 0; padding: 24px; background: #fff; border: 1px solid var(--g420); border-radius: 8px; }
.lx-meter + .lx-meter { margin-top: 16px; }
.lx-meter__cap { display: flex; justify-content: space-between; align-items: baseline; gap: 4px 16px; font-size: 16px; font-weight: 700; color: var(--g900); margin-bottom: 16px; flex-wrap: wrap; line-height: 1.5; }
.lx-meter__cap span { font-weight: 400; color: var(--key); }
.lx-meter__bar { position: relative; height: 12px; border-radius: 6px; background: var(--g100); }
.lx-meter__fill { position: absolute; left: 0; top: 0; bottom: 0; width: 100%; border-radius: 6px; background: linear-gradient(90deg, var(--y300), var(--y700)); transform-origin: left; }
.lx-meter__ticks { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: 8px; font-size: 14px; color: var(--g700); }
.lx-meter__ticks li { text-align: center; line-height: 1.5; }
.lx-meter__ticks li:first-child { text-align: left; }
.lx-meter__ticks li:last-child { text-align: right; color: var(--key); font-weight: 700; }
.lx-years { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.lx-years li { height: 12px; border-radius: 6px; background: var(--g100); position: relative; overflow: hidden; }
.lx-years li::after { content: ""; position: absolute; inset: 0; background: var(--y200); transform-origin: left; }
.lx-years li:last-child::after { background: var(--y700); }
.lx-years-lab { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin-top: 8px; font-size: 14px; color: var(--g700); text-align: center; line-height: 1.5; }
.lx-years-lab li:last-child { color: var(--key); font-weight: 700; }
.lx-js .lx-meter .lx-meter__fill { transform: scaleX(0); transition: transform 1.2s var(--ease) .15s; }
.lx-js .lx-meter.is-in .lx-meter__fill { transform: scaleX(1); }
.lx-js .lx-meter .lx-years li::after { transform: scaleX(0); transition: transform .35s var(--ease); }
.lx-js .lx-meter.is-in .lx-years li::after { transform: scaleX(1); }
.lx-js .lx-meter .lx-years li:nth-child(2)::after { transition-delay: .2s; }
.lx-js .lx-meter .lx-years li:nth-child(3)::after { transition-delay: .4s; }
.lx-js .lx-meter .lx-years li:nth-child(4)::after { transition-delay: .6s; }
.lx-js .lx-meter .lx-years li:nth-child(5)::after { transition-delay: .8s; }

/* ---------- 途中の相談帯 ---------- */
.lx-mid-cta { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; align-items: center; margin-top: 64px; padding: 32px; background: #fff; border: 1px solid var(--g420); border-radius: 12px; }
#main .lx .lx-mid-cta__ttl { font-size: 20px; font-weight: 700; line-height: 1.5; color: var(--g900); }
#main .lx .lx-mid-cta__sub { color: var(--g700); margin-top: 4px; }
.lx-mid-cta .lx-btns { justify-content: flex-start; }

/* ---------- メリット・特徴（大きな数字＋余白で区切る） ---------- */
#main .lx .lx-merit-lead { font-size: 36px; font-weight: 700; line-height: 1.4; letter-spacing: .01em; color: var(--g900); margin: 0 0 48px; }
.lx-merit-lead .hl { background: linear-gradient(transparent 62%, var(--y200) 62%, var(--y200) 94%, transparent 94%) 0 0 / 100% 100% no-repeat; }
.lx-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
.lx-cols--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 64px; }
.lx-col__no { display: block; font-size: 48px; font-weight: 700; line-height: 1; letter-spacing: 0; color: var(--y300); margin-bottom: 16px; }
#main .lx .lx-col__ttl { font-size: 20px; font-weight: 700; line-height: 1.5; color: var(--g900); margin-bottom: 8px; }
#main .lx .lx-col p:not(.lx-col__ttl) { color: var(--g800); }

/* ---------- ステップナビゲーション（DADS StepNavigation：線が伸びながら番号が点灯） ---------- */
.lx-stepnav { --n: 7; --num: 44px; position: relative; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); counter-reset: st; padding-top: 4px; }
.lx-stepnav::before, .lx-stepnav::after { content: ""; position: absolute; top: calc(4px + var(--num) / 2); left: calc(50% / var(--n)); right: calc(50% / var(--n)); border-top: 1px solid var(--g420); }
.lx-stepnav::after { border-top: 2px solid var(--g800); margin-top: -.5px; transform-origin: left; }
.lx-stepnav > li { position: relative; counter-increment: st; text-align: center; padding: 0 8px; }
.lx-stepnav__num { position: relative; z-index: 1; display: grid; place-content: center; width: var(--num); height: var(--num); margin: 0 auto; border: 2px solid var(--g800); border-radius: 50%; background: #fff; color: var(--g800); font-size: 20px; font-weight: 700; line-height: 1; letter-spacing: 0; transition: background-color .3s var(--ease), color .3s var(--ease); }
.lx-stepnav__num::before { content: counter(st); }
.lx-stepnav > li.is-self .lx-stepnav__num { border-style: dashed; border-width: 1px; }
.lx-stepnav__ttl { display: block; margin-top: 16px; font-size: 16px; font-weight: 700; line-height: 1.6; color: var(--g900); }
.lx-stepnav__ttl small { display: block; font-size: 14px; font-weight: 400; color: var(--g700); }
.lx-stepnav.is-in > li:not(.is-self) .lx-stepnav__num, html:not(.lx-js) .lx-stepnav > li:not(.is-self) .lx-stepnav__num { background: var(--g800); color: #fff; }
.lx-js .lx-stepnav > li .lx-stepnav__num { transition-delay: calc(var(--i, 0) * .18s + .1s); }
.lx-js .lx-stepnav::after { transform: scaleX(0); transition: transform calc(var(--n) * .18s + .2s) linear .1s; }
.lx-js .lx-stepnav.is-in::after { transform: scaleX(1); }
.lx-stepnav--5 { --n: 5; }
/* サポート範囲の目印 */
.lx-range { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); margin: 0 0 16px; font-size: 14px; font-weight: 700; line-height: 1.5; }
.lx-range span { position: relative; text-align: center; padding-bottom: 12px; color: var(--key); }
.lx-range span::after { content: ""; position: absolute; left: 8px; right: 8px; bottom: 0; height: 8px; border: 1px solid currentColor; border-bottom: 0; border-radius: 4px 4px 0 0; }
.lx-range .r-us { grid-column: 1 / span 6; }
.lx-range .r-self { grid-column: 7; color: var(--g800); }
.lx-range .r-self::after { border-style: dashed; }
.lx-tl__tag { display: none; }

/* ---------- 通知バナー（DADS NotificationBanner：四辺3pxの枠・角丸12px・アイコン付き） ---------- */
.lx-banner { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 8px 24px; margin-top: 48px; padding: 24px 24px 32px; border: 3px solid var(--g536); border-radius: 12px; background: #fff; color: var(--g536); }
.lx-banner__icon { width: 36px; height: 36px; }
.lx-banner__icon svg { width: 36px; height: 36px; display: block; fill: currentColor; }
#main .lx .lx-banner__ttl { font-size: 20px; font-weight: 700; line-height: 1.5; color: var(--g900); padding-top: 2px; }
#main .lx .lx-banner__body { grid-column: 2; color: var(--g800); }
.lx-banner--warn { color: var(--warn); }
.lx-banner--ok { color: var(--success); }
.lx-banner--info { color: var(--g536); }
#main .lx .lx-more { margin-top: 32px; }

/* ---------- 他ページへの導線（大きなリンク） ---------- */
#main .lx .lx-cross { display: grid; grid-template-columns: minmax(0, 1fr) 80px; align-items: center; gap: 24px; padding-top: 64px; padding-bottom: 64px; text-decoration: none; color: #fff; }
.lx-cross__badge { display: inline-flex; align-items: center; min-height: 32px; font-size: 16px; font-weight: 700; line-height: 1; color: var(--g900); background: var(--y300); padding: 4px 8px; border-radius: 8px; margin-bottom: 16px; }
.lx-cross__ttl { display: block; font-size: 28px; font-weight: 700; line-height: 1.5; letter-spacing: .01em; color: #fff; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; transition: text-decoration-thickness .1s; }
.lx-cross:hover .lx-cross__ttl { text-decoration-thickness: 3px; }
.lx-cross__txt { display: block; font-size: 16px; line-height: 1.7; color: #fff; margin-top: 8px; }
.lx-cross__go { display: inline-block; margin-top: 16px; font-size: 16px; font-weight: 700; color: var(--y300); }
.lx-cross__circle { width: 80px; height: 80px; border-radius: 50%; border: 1px solid var(--y300); color: var(--y300); display: grid; place-items: center; transition: background-color .25s var(--ease), color .25s var(--ease); }
.lx-cross__circle svg { width: 28px; height: 28px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease); }
.lx-cross:hover .lx-cross__circle { background: var(--y300); color: var(--g900); }
.lx-cross:hover .lx-cross__circle svg { transform: translateX(4px); }
#main .lx .lx-cross:focus-visible { background: transparent; }

/* ---------- 料金（DADS Table＋積み上げバー＋カウントアップ） ---------- */
.lx-price { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.lx-table-wrap { overflow-x: auto; }
.lx-ptable { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.7; }
.lx-ptable thead th { background: var(--g100); border-bottom: 1px solid #000; padding: 12px 16px; text-align: left; font-weight: 700; }
.lx-ptable thead th:last-child { text-align: right; }
.lx-ptable tbody th, .lx-ptable td { padding: 20px 16px; border-bottom: 1px solid var(--g420); text-align: left; vertical-align: top; }
.lx-ptable tbody th { font-weight: 700; color: var(--g900); }
.lx-ptable td { text-align: right; white-space: nowrap; font-size: 20px; font-weight: 700; line-height: 1.5; font-variant-numeric: tabular-nums; color: var(--g900); }
.lx-ptable td small { font-size: 16px; margin-left: 2px; }
.lx-ptable td.is-text { font-size: 16px; font-weight: 400; white-space: normal; }
.lx-chart { margin: 0; background: #fff; border: 1px solid var(--g420); border-radius: 8px; padding: 24px; }
.lx-chart + .lx-chart { margin-top: 16px; }
#main .lx .lx-chart__ttl { font-size: 18px; font-weight: 700; color: var(--g900); margin-bottom: 16px; line-height: 1.6; }
.lx-chart__bar { display: flex; height: 40px; border-radius: 4px; overflow: hidden; background: var(--g50); }
.lx-chart__seg { position: relative; height: 100%; transform-origin: left; }
.lx-chart__seg--fee { background: var(--key); }
.lx-chart__seg--gov { background: repeating-linear-gradient(-45deg, var(--y300) 0 6px, var(--y200) 6px 12px); }
.lx-js .lx-chart .lx-chart__seg { transform: scaleX(0); transition: transform .9s var(--ease); }
.lx-js .lx-chart .lx-chart__seg--gov { transition-delay: .7s; }
.lx-js .lx-chart.is-in .lx-chart__seg { transform: none; }
.lx-chart__legend { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.lx-chart__legend li { display: grid; grid-template-columns: 16px minmax(0, 1fr); gap: 4px 8px; align-items: baseline; font-size: 16px; color: var(--g700); line-height: 1.5; }
.lx-chart__legend li::before { content: ""; width: 16px; height: 16px; border-radius: 4px; background: var(--key); transform: translateY(2px); }
.lx-chart__legend li.gov::before { background: var(--y300); border: 1px solid var(--y1000); }
.lx-chart__legend b { grid-column: 2; font-size: 24px; color: var(--g900); font-variant-numeric: tabular-nums; line-height: 1.3; }
.lx-chart__legend b small { font-size: 16px; margin-left: 2px; }
.lx-notes { margin-top: 24px !important; color: var(--g700); }
.lx-notes li { position: relative; padding-left: 1.2em; line-height: 1.7; }
.lx-notes li + li { margin-top: 4px; }
.lx-notes li::before { content: "※"; position: absolute; left: 0; }

/* ---------- アコーディオン（DADS Accordion：左に丸い矢印・下線区切り） ---------- */
.lx-acc { border-top: 1px solid var(--g420); }
.lx-acc details { border-bottom: 1px solid var(--g420); --icon: 32px; }
.lx-acc summary { position: relative; display: block; list-style: none; cursor: pointer; padding: 14px 16px 14px calc(var(--icon) + 20px); font-size: 18px; font-weight: 700; line-height: 1.6; color: var(--g900); transition: background-color .2s var(--ease); -webkit-tap-highlight-color: transparent; }
.lx-acc summary::-webkit-details-marker { display: none; }
.lx-acc summary::marker { content: ""; }
.lx-acc summary:hover { background: var(--g50); }
#main .lx .lx-acc summary:focus-visible { background: var(--y300); }
.lx-acc__icon { position: absolute; left: 6px; top: 14px; margin-top: calc((1.6em - var(--icon)) / 2); width: var(--icon); height: var(--icon); border: 1px solid currentColor; border-radius: 50%; background: #fff; color: var(--key); display: grid; place-items: center; transition: transform .25s var(--ease); }
.lx-acc__icon svg { width: 20px; height: 20px; fill: currentColor; margin-top: 2px; }
.lx-acc summary:hover .lx-acc__icon { outline: 2px solid currentColor; }
.lx-acc details[open] .lx-acc__icon { transform: rotate(180deg); }
.lx-acc__q { color: var(--key); margin-right: 8px; }
.lx-acc__body { padding: 24px 16px 24px calc(var(--icon) + 20px); }
#main .lx .lx-acc__body p { color: var(--g800); }
.lx-acc__a { display: inline-block; font-weight: 700; color: var(--g700); margin-right: 8px; }
.lx-acc details[open] .lx-acc__body { animation: lx-acc-in .25s var(--ease); }
@keyframes lx-acc-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* ---------- 最後の相談帯 ---------- */
.lx-final { padding-top: 80px; padding-bottom: 80px; text-align: center; }
#main .lx .lx-final__ttl { font-size: 32px; font-weight: 700; line-height: 1.5; letter-spacing: .01em; color: var(--g900); margin-bottom: 8px; }
#main .lx .lx-final__sub { color: var(--g900); }
.lx-final .lx-btns { justify-content: center; margin-top: 32px; }
#main .lx .lx-final .lx-btn { flex: 0 1 280px; }
#main .lx .lx-final .lx-btn:not(.lx-btn--line) { color: var(--g900); border-color: var(--g900); }
#main .lx .lx-final .lx-btn:not(.lx-btn--line):hover { background: #fff; }
#main .lx .lx-final__time { color: var(--g900); margin-top: 16px; }

/* ---------- 産廃：許可が必要？診断（DADS Radio） ---------- */
.lx-dx { display: grid; gap: 16px; max-width: 800px; }
.lx-dx__q { margin: 0; padding: 24px 32px 32px; min-width: 0; background: #fff; border: 1px solid var(--g420); border-radius: 12px; }
.lx-dx__q legend, .lx-dx__qt { float: left; width: 100%; padding: 0; margin: 0 0 16px; font-size: 20px; font-weight: 700; line-height: 1.5; color: var(--g900); }
.lx-dx__q legend b, .lx-dx__qt b { display: block; font-size: 16px; color: var(--key); margin-bottom: 4px; }
.lx-dx__opts { clear: both; display: flex; flex-wrap: wrap; gap: 0 40px; }
.lx-dx__opts--col { flex-direction: column; gap: 0; }
/* 文の区切りで改行させる（幅が足りないときだけ、このかたまりの間で折り返す） */
.lx-nw { display: inline-block; }
.lx-radio { display: flex; align-items: center; gap: 8px; padding: 8px 0; cursor: pointer; font-size: 16px; line-height: 1.3; color: var(--g800); }
.lx-radio__box { flex: 0 0 32px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; transition: background-color .15s; }
.lx-radio:hover .lx-radio__box { background: var(--g420); }
.lx-radio input { appearance: none; -webkit-appearance: none; width: 26.67px; height: 26.67px; margin: 0; border-radius: 50%; border: 2px solid var(--g600); background: #fff; display: grid; place-items: center; cursor: pointer; }
.lx-radio input:hover { border-color: #000; }
.lx-radio input::before { content: ""; width: 62.5%; height: 62.5%; border-radius: 50%; background: var(--key); transform: scale(0); transition: transform .2s var(--ease); }
.lx-radio input:checked { border-color: var(--key); }
.lx-radio input:checked::before { transform: scale(1); }
.lx-radio input:focus-visible { outline: 4px solid #000; outline-offset: 2px; box-shadow: 0 0 0 2px var(--y300); }
.lx-res { clear: both; display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 4px 16px; margin-top: 16px; padding: 16px 24px 24px; border: 3px solid currentColor; border-radius: 12px; color: var(--g536); background: #fff; }
.lx-res + .lx-res { margin-top: 8px; }
.lx-res__icon svg { width: 28px; height: 28px; display: block; fill: currentColor; margin-top: 2px; }
.lx-res strong { display: block; font-size: 18px; line-height: 1.6; color: var(--g900); }
.lx-res__body { color: var(--g800); grid-column: 2; }
.lx-res__lab { display: block; font-size: 14px; color: var(--g700); font-weight: 700; }
.lx-res--need { color: var(--warn); }
.lx-res--free { color: var(--success); }
.lx-js .lx-dx [hidden] { display: none; }
.lx-js .lx-dx .is-show { animation: lx-panel-in .3s var(--ease) both; }
html:not(.lx-js) .lx-dx__opts, html:not(.lx-js) .lx-dx__reset { display: none; }
#main .lx .lx-dx__reset { justify-self: start; min-height: 44px; background: none; border: 0; padding: 8px; border-radius: 6px; font: 700 16px/1 var(--font); color: var(--link); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.lx-dx__reset:hover { background: var(--g50); text-decoration-thickness: 3px; }
.lx-dx__reset svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
.lx-dx__reset:hover svg { transform: rotate(-120deg); }

/* ---------- 産廃：許可の種類（2つを左右に） ---------- */
.lx-kinds { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; }
#main .lx .lx-kinds__ttl { font-size: 22px; font-weight: 700; line-height: 1.5; color: var(--g900); display: flex; align-items: center; gap: 12px; }
.lx-kinds__ttl::before { content: ""; flex: 0 0 16px; height: 16px; border-radius: 50%; background: var(--y700); }
.lx-kinds .is-rose .lx-kinds__ttl::before { background: #a26d6d; }
#main .lx .lx-kinds p:not(.lx-kinds__ttl) { color: var(--g800); margin-top: 8px; padding-left: 28px; }
#main .lx .lx-rule { font-size: 24px; font-weight: 700; line-height: 1.5; margin: 48px 0 0; color: var(--g900); }
.lx-rule .hl { background: linear-gradient(transparent 62%, var(--y200) 62%, var(--y200) 94%, transparent 94%) 0 0 / 100% 100% no-repeat; }
.lx-rule small { display: block; font-size: 17px; font-weight: 400; color: var(--g800); margin-top: 8px; }

/* ---------- 産廃：県を選ぶと必要な許可が出る図（DADS Select／Checkbox） ---------- */
.lx-sim { margin-top: 40px; background: #fff; border: 1px solid var(--g420); border-radius: 12px; padding: 32px; }
.lx-sim[hidden] { display: none; }
#main .lx .lx-sim__ttl { font-size: 20px; font-weight: 700; color: var(--g900); margin-bottom: 24px; line-height: 1.5; }
.lx-sim__form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: 16px 24px; align-items: end; }
.lx-field label { display: block; font-size: 17px; font-weight: 700; color: var(--g800); margin-bottom: 8px; line-height: 1.3; }
.lx-select select { appearance: none; -webkit-appearance: none; display: block; width: 100%; height: 56px; padding: 0 40px 0 16px; font: 400 16px/1 var(--font); letter-spacing: .02em; color: var(--g800); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%231a1a1a' d='M12 17.1 3 8l1-1 8 8 8-8 1 1z'/%3E%3C/svg%3E") no-repeat right 16px center / 16px 16px; border: 1px solid var(--g600); border-radius: 8px; cursor: pointer; }
.lx-select select:hover { border-color: #000; }
.lx-select select:focus { outline: 4px solid #000; outline-offset: 2px; box-shadow: 0 0 0 2px var(--y300); }
.lx-check { display: inline-flex; align-items: center; gap: 8px; min-height: 56px; font-size: 16px; line-height: 1.3; color: var(--g800); cursor: pointer; }
.lx-check__box { flex: 0 0 32px; width: 32px; height: 32px; border-radius: 4px; display: grid; place-items: center; transition: background-color .15s; }
.lx-check:hover .lx-check__box { background: var(--g420); }
.lx-check input { appearance: none; -webkit-appearance: none; position: relative; width: 24px; height: 24px; margin: 0; border: 2px solid var(--g600); border-radius: 3px; background: #fff; cursor: pointer; display: grid; place-items: center; }
.lx-check input:hover { border-color: #000; }
.lx-check input:checked { background: var(--key); border-color: var(--key); }
.lx-check input::before { content: ""; width: 14px; height: 14px; background: #fff; clip-path: path('M5.6,11.2L12.65,4.15L11.25,2.75L5.6,8.4L2.75,5.55L1.35,6.95L5.6,11.2Z'); transform: scale(0); transition: transform .2s var(--ease); }
.lx-check input:checked::before { transform: scale(1.3); }
.lx-check input:focus-visible { outline: 4px solid #000; outline-offset: 2px; box-shadow: 0 0 0 2px var(--y300); }
@keyframes lx-pop { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
#main .lx .lx-sim__res { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--g420); font-size: 17px; }
.lx-sim__res strong { font-size: 22px; color: var(--g900); margin: 0 4px; background: linear-gradient(transparent 62%, var(--y200) 62%, var(--y200) 94%, transparent 94%); }
.lx-sim__res small { display: block; font-size: 16px; color: var(--g700); margin-top: 8px; }

/* 静的な3つの例（図解） */
.lx-ex { margin-top: 40px; border-top: 1px solid var(--g420); }
.lx-ex > li { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 16px 32px; align-items: center; padding: 24px 0; border-bottom: 1px solid var(--g420); }
#main .lx .lx-ex__label { font-size: 17px; font-weight: 700; color: var(--g900); line-height: 1.6; }
#main .lx .lx-ex__res { grid-column: 2; color: var(--g800); }
.lx-ex__res strong { color: var(--g900); }

/* 許可を取得した後 */
.lx-after { border-top: 1px solid var(--g420); }
.lx-after > li { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 8px 32px; padding: 24px 0; border-bottom: 1px solid var(--g420); }
#main .lx .lx-after__ttl { font-size: 18px; font-weight: 700; line-height: 1.6; color: var(--g900); }
#main .lx .lx-after p:not(.lx-after__ttl) { color: var(--g800); }
.lx-after .lx-meter { margin-top: 16px; }
.lx-window { position: relative; height: 12px; border-radius: 6px; background: var(--g100); }
.lx-window__fill { position: absolute; top: 0; bottom: 0; right: 0; width: 32%; border-radius: 6px; background: linear-gradient(90deg, var(--y300), var(--y700)); transform-origin: right; }
.lx-js .lx-meter .lx-window__fill { transform: scaleX(0); transition: transform 1s var(--ease) .15s; }
.lx-js .lx-meter.is-in .lx-window__fill { transform: scaleX(1); }
.lx-window-lab { position: relative; height: 24px; margin-top: 8px; font-size: 14px; color: var(--g700); line-height: 1.5; }
.lx-window-lab span { position: absolute; top: 0; white-space: nowrap; }
.lx-window-lab .w-start { right: 32%; transform: translateX(50%); color: var(--key); font-weight: 700; }
.lx-window-lab .w-end { right: 0; }
#main .lx .lx-strong-line { margin-top: 32px; font-weight: 700; font-size: 18px; color: var(--g900); }

/* ---------- 浮かぶ相談ボタン＋相談方法のモーダル（DADS ModalDialog） ---------- */
.lx-fab { position: fixed; z-index: 900; right: 24px; bottom: 24px; bottom: calc(24px + env(safe-area-inset-bottom)); display: inline-flex; align-items: center; gap: 8px; min-height: 56px; padding: 12px 20px; border: 4px double transparent; border-radius: 8px; background: #6e5600; color: #fff; font-size: 16px; font-weight: 700; line-height: 1; letter-spacing: .02em; cursor: pointer; box-shadow: 0 4px 16px 3px rgba(0,0,0,.1), 0 1px 6px 0 rgba(0,0,0,.3); transform: translateY(calc(100% + 40px)); opacity: 0; transition: transform .35s cubic-bezier(.2, .7, .2, 1), opacity .25s, background-color .2s; -webkit-tap-highlight-color: transparent; }
.lx-fab[hidden] { display: none; }
.lx-fab.is-show { transform: none; opacity: 1; }
.lx-fab:hover { background: #604b00; text-decoration: underline; text-underline-offset: 3px; }
.lx-fab:active { background: #4a3a00; }
.lx-fab svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lx-dialog { --g900: #1a1a1a; --g800: #333; --g700: #4d4d4d; --g420: #949494; --g50: #f2f2f2; --y100: #fff0b3; --y200: #ffe380; --y300: #ffd43d; --key: #6e5600; --key-hover: #604b00; --line-green: #06C755; --line-green-hover: #05b34c; --ease: cubic-bezier(.2, .7, .2, 1);
	width: min(520px, calc(100vw - 32px)); max-height: calc(100vh - 32px); padding: 0; border: 1px solid #000; border-radius: 8px; background: #fff; color: var(--g800); box-shadow: 0 4px 16px 3px rgba(0,0,0,.1), 0 1px 6px 0 rgba(0,0,0,.3); overflow: auto; font-size: 16px; line-height: 1.7; letter-spacing: .02em; }
.lx-dialog::backdrop { background: rgba(0, 0, 0, .5); }
.lx-dialog[open] { animation: lx-dlg-in .25s var(--ease); }
.lx-dialog[open]::backdrop { animation: lx-fade .25s ease; }
.lx-dialog.is-closing { animation: lx-dlg-out .15s ease forwards; }
@keyframes lx-dlg-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes lx-dlg-out { to { opacity: 0; transform: translateY(8px); } }
@keyframes lx-fade { from { opacity: 0; } to { opacity: 1; } }
.lx-dialog__head { display: flex; align-items: flex-start; gap: 16px; padding: 24px 24px 0; }
.lx-dialog__ttl { flex: 1 1 auto; font-size: 22px; font-weight: 700; line-height: 1.5; margin: 0; color: var(--g900); }
.lx-dialog__ttl:focus { outline: none; }
.lx-dialog__x { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 4px 12px 6px; border: 0; border-radius: 6px; background: transparent; color: var(--g800); font: 400 16px/1 var(--font); cursor: pointer; touch-action: manipulation; }
.lx-dialog__x:hover { background: var(--g50); text-decoration: underline; text-underline-offset: 3px; }
.lx-dialog__x svg { width: 24px; height: 24px; fill: currentColor; }
.lx-dialog__body { padding: 16px 24px 32px; }
.lx-dialog__sub { margin: 0 0 24px; color: var(--g800); }
.lx-dialog .lx-btns { display: flex; flex-direction: column; gap: 16px; }
.lx-dialog .lx-btn { width: 100%; }
.lx-dialog__time { margin: 16px 0 0; text-align: center; color: var(--g700); }

/* ---------- 文字が動く見出し（Kinetic Typography：短く・控えめに） ---------- */
.lx-ch { display: inline-block; }
.lx-js .lx-kinetic .lx-ch { opacity: 0; transform: translateY(.4em); transition: opacity .4s var(--ease), transform .5s var(--ease); transition-delay: calc(var(--d, 0) * 1s); }
.lx-js .lx-kinetic.is-in .lx-ch { opacity: 1; transform: none; }
.lx-js [data-kinetic] em, .lx-js [data-kinetic] .hl { background-size: 0 100%; background-repeat: no-repeat; transition: background-size .6s var(--ease); transition-delay: var(--em-d, .8s); }
.lx-js [data-kinetic].is-in em, .lx-js [data-kinetic].is-in .hl { background-size: 100% 100%; }
.lx-js .lx-rule .hl { background-size: 0 100%; transition: background-size .6s var(--ease) .3s; }
.lx-js .lx-rule.is-in .hl { background-size: 100% 100%; }
/* ふわっと表示 */
.lx-js [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .5s var(--ease), transform .6s var(--ease); transition-delay: var(--rd, 0s); }
.lx-js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- ハンバーガーメニュー（このページのスマホ表示だけ／DADS HamburgerMenuButton） ---------- */
.lx-burger, .lx-navlabel { display: none; }
@media screen and (max-width: 640px) {
	.lx-body .mod_nav { margin: 0 0 8px; padding: 0 12px; border-top: 1px solid #e6e6e6; border-bottom: 1px solid #e6e6e6; }
	.lx-body .mod_nav p.navtitle { width: auto; display: inline-flex; white-space: nowrap; align-items: center; gap: 4px; margin: 4px 0; padding: 4px 12px 6px; min-height: 44px; line-height: 1; font-size: 16px; font-weight: 400; color: #333; background: none; border-radius: 6px; cursor: pointer; font-family: var(--font); user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
	@media (hover: hover) { .lx-body .mod_nav p.navtitle:hover { background: #f2f2f2; text-decoration: underline; text-underline-offset: 3px; } }
	.lx-body .mod_nav p.navtitle:focus-visible { background: #ffd43d; }
	.lx-body .mod_nav .lx-navtxt-orig { display: none; }
	.lx-navlabel { display: inline; }
	.lx-burger { display: block; position: relative; width: 24px; height: 24px; flex: 0 0 24px; }
	.lx-burger span { position: absolute; left: 3px; width: 18px; height: 2px; background: currentColor; transition: top .15s ease .15s, transform .2s ease, opacity .1s .1s; }
	.lx-burger span:nth-child(1) { top: 5px; }
	.lx-burger span:nth-child(2) { top: 11px; }
	.lx-burger span:nth-child(3) { top: 17px; }
	.lx-body .mod_nav.is-open .lx-burger span { transition: top .15s ease, transform .2s ease .15s, opacity .1s; }
	.lx-body .mod_nav.is-open .lx-burger span:nth-child(1) { top: 11px; transform: rotate(45deg); }
	.lx-body .mod_nav.is-open .lx-burger span:nth-child(2) { opacity: 0; }
	.lx-body .mod_nav.is-open .lx-burger span:nth-child(3) { top: 11px; transform: rotate(-45deg); }
	html.lx-js .lx-body .mod_nav ul { display: block; max-height: 0; overflow: hidden; visibility: hidden; transition: max-height .3s cubic-bezier(.2, .7, .2, 1), visibility 0s linear .3s; }
	html.lx-js .lx-body .mod_nav.is-open ul { max-height: 480px; visibility: visible; transition: max-height .35s cubic-bezier(.2, .7, .2, 1), visibility 0s; }
	html:not(.lx-js) .lx-body .mod_nav ul { display: block; }
	.lx-body .mod_nav ul li { width: auto; border: 0; border-top: 1px solid #e6e6e6; margin: 0; background: none; text-indent: 0; line-height: 1.5; font-family: var(--font); }
	.lx-body .mod_nav ul li a { padding: 14px 12px; display: flex; justify-content: space-between; align-items: center; font-size: 16px; color: #1a1a1a; }
	.lx-body .mod_nav ul li a:hover { background: #f2f2f2; text-decoration: underline; text-underline-offset: 3px; }
	.lx-body .mod_nav ul li a::after { content: ""; flex: 0 0 8px; width: 8px; height: 8px; border-top: 2px solid #6e5600; border-right: 2px solid #6e5600; transform: rotate(45deg); }
	html.lx-js .lx-body .mod_nav ul li { opacity: 0; transform: translateY(-4px); transition: opacity .15s, transform .15s; }
	html.lx-js .lx-body .mod_nav.is-open ul li { opacity: 1; transform: none; transition: opacity .25s, transform .25s; }
	html.lx-js .lx-body .mod_nav.is-open ul li:nth-child(2) { transition-delay: .03s; }
	html.lx-js .lx-body .mod_nav.is-open ul li:nth-child(3) { transition-delay: .06s; }
	html.lx-js .lx-body .mod_nav.is-open ul li:nth-child(4) { transition-delay: .09s; }
	html.lx-js .lx-body .mod_nav.is-open ul li:nth-child(5) { transition-delay: .12s; }
	html.lx-js .lx-body .mod_nav.is-open ul li:nth-child(6) { transition-delay: .15s; }
}
@media screen and (min-width: 641px) {
	.lx-body .mod_nav ul { display: block !important; }
}

/* ---------- タブレット ---------- */
@media screen and (max-width: 960px) {
	.lx-hero { grid-template-columns: minmax(0, 1fr); gap: 48px; padding-bottom: 64px; }
	.lx-hero-route { justify-self: start; max-width: 340px; }
	.lx-carousel__track { grid-auto-columns: calc((100% - 16px) / 2); }
	.lx-price { grid-template-columns: minmax(0, 1fr); gap: 40px; }
	.lx-stage { grid-template-columns: 160px minmax(0, 1fr); gap: 32px; }
	.lx-stage__num { font-size: 88px; }
	.lx-tab { padding: 16px; }
}
@media screen and (max-width: 800px) {
	/* ステップナビゲーションを縦向きに */
	.lx-stepnav { grid-template-columns: minmax(0, 1fr); padding-top: 0; }
	.lx-stepnav::before, .lx-stepnav::after { top: calc(var(--num) / 2); bottom: calc(var(--num) / 2 + 24px); left: calc(var(--num) / 2 + 4px); right: auto; border-top: 0; border-left: 1px solid var(--g420); }
	.lx-stepnav::after { border-left: 2px solid var(--g800); margin: 0 0 0 -.5px; transform-origin: top; }
	.lx-js .lx-stepnav::after { transform: scaleY(0); }
	.lx-js .lx-stepnav.is-in::after { transform: scaleY(1); }
	.lx-stepnav > li { display: grid; grid-template-columns: calc(var(--num) + 8px) minmax(0, 1fr); gap: 16px; align-items: center; text-align: left; padding: 0 0 24px; }
	.lx-stepnav > li:last-child { padding-bottom: 0; }
	.lx-stepnav__num { margin: 0 0 0 4px; }
	.lx-stepnav__ttl { margin: 0; }
	.lx-stepnav__ttl small { display: inline; margin-left: 4px; }
	.lx-range { display: none; }
	.lx-tl__tag { display: inline-flex; align-items: center; min-height: 28px; margin-left: 8px; font-size: 14px; font-weight: 400; line-height: 1; color: var(--g800); border: 1px dashed var(--g800); border-radius: 8px; padding: 2px 6px; vertical-align: 1px; }
	.lx-cols { grid-template-columns: minmax(0, 1fr); gap: 40px; }
	.lx-mid-cta { grid-template-columns: minmax(0, 1fr); }
	.lx-mid-cta .lx-btns { justify-content: flex-start; }
}

/* ---------- スマホ ---------- */
@media screen and (max-width: 640px) {
	.lx-wrap { padding: 0 16px; }
	.lx-bc { padding: 16px; }
	#main .lx .draft-note { margin: 0 16px; }
	.lx-hero { padding: 24px 16px 56px; gap: 40px; }
	.lx-hero::before { width: 80%; right: 0; }
	#main .lx .lx-title { font-size: 28px; line-height: 1.5; margin-bottom: 16px; }
	#main .lx .lx-lead { font-size: 16px; }
	#main .lx .lx-btns .lx-btn { flex: 1 1 100%; }
	.lx-hero-sub { flex: 1 1 100%; flex-direction: column; align-items: flex-start; gap: 0; }
	#main .lx .lx-index a { grid-template-columns: 44px minmax(0, 1fr) 32px; padding: 16px 4px; gap: 0 12px; }
	.lx-index__n { font-size: 28px; }
	.lx-index__t { font-size: 17px; }
	.lx-sec { padding: 64px 0; }
	.lx-sec--tight { padding: 48px 0; }
	#main .lx .lx-h { grid-template-columns: minmax(0, 1fr); margin-bottom: 32px; gap: 8px; }
	.lx-h__sub { grid-column: 1; }
	.lx-h__txt { font-size: 26px; letter-spacing: .02em; }
	.lx-carousel__track { grid-auto-columns: 84%; gap: 12px; }
	.lx-slide { min-height: 168px; padding: 20px; }
	#main .lx .lx-slide p { font-size: 18px; }
	.lx-carousel__nav { flex-direction: column-reverse; align-items: stretch; }
	.lx-pagenav { justify-content: center; }
	.lx-pages { justify-content: center; }
	.lx-pages button { min-width: 40px; height: 44px; }
	#main .lx .lx-foot-msg { font-size: 17px; }
	.lx-quotes { grid-template-columns: minmax(0, 1fr); }
	.lx-quotes li { grid-template-columns: 40px minmax(0, 1fr); padding: 20px 0; }
	#main .lx .lx-quotes p { font-size: 17px; }
	.lx-spot { grid-template-columns: minmax(0, 1fr); gap: 16px; padding-top: 48px; padding-bottom: 48px; }
	#main .lx .lx-spot__ttl { font-size: 22px; letter-spacing: .02em; }
	#main .lx .lx-spot__txt { font-size: 16px; }
	.lx-tabs { flex-direction: column; flex-wrap: nowrap; }
	.lx-tabs::after { display: none; }
	.lx-tab { margin: 0 0 -1px; width: 100%; }
	.lx-tab[aria-selected="true"] { border-bottom-color: var(--g420); }
	.lx-tab[aria-selected="true"]::before { top: -1px; bottom: -1px; left: -1px; right: auto; width: 4px; height: auto; transform-origin: top; animation: none; }
	.lx-stage { grid-template-columns: minmax(0, 1fr); gap: 16px; }
	.lx-stage__head { display: flex; align-items: flex-end; gap: 16px; }
	.lx-stage__num { font-size: 72px; margin: 0; order: -1; }
	#main .lx .lx-stage__ttl { font-size: 20px; }
	#main .lx .lx-rows__name { font-size: 17px; }
	.lx-meter { padding: 16px; }
	.lx-mid-cta { padding: 24px 16px; margin-top: 48px; }
	#main .lx .lx-merit-lead { font-size: 28px; margin-bottom: 32px; }
	.lx-cols--4 { grid-template-columns: minmax(0, 1fr); gap: 40px; }
	.lx-col__no { font-size: 40px; margin-bottom: 8px; }
	.lx-banner { grid-template-columns: 24px minmax(0, 1fr); gap: 8px 16px; padding: 16px 16px 24px; margin-top: 40px; }
	.lx-banner__icon, .lx-banner__icon svg { width: 24px; height: 24px; }
	#main .lx .lx-banner__ttl { font-size: 17px; padding-top: 0; }
	#main .lx .lx-cross { grid-template-columns: minmax(0, 1fr); padding-top: 48px; padding-bottom: 48px; gap: 24px; }
	.lx-cross__ttl { font-size: 22px; letter-spacing: .02em; }
	.lx-cross__circle { width: 56px; height: 56px; }
	.lx-ptable thead th, .lx-ptable tbody th, .lx-ptable td { padding-left: 8px; padding-right: 8px; }
	.lx-ptable td { font-size: 18px; }
	.lx-chart { padding: 16px; }
	.lx-chart__legend { grid-template-columns: minmax(0, 1fr); }
	.lx-chart__legend b { font-size: 22px; }
	.lx-acc details { --icon: 20px; }
	.lx-acc summary { padding: 8px 8px 8px calc(var(--icon) + 12px); font-size: 17px; }
	.lx-acc__icon { left: 2px; top: 8px; }
	.lx-acc__icon svg { width: 16px; height: 16px; }
	.lx-acc__body { padding: 16px 8px 16px calc(var(--icon) + 12px); }
	.lx-final { padding-top: 64px; padding-bottom: 64px; }
	#main .lx .lx-final__ttl { font-size: 24px; letter-spacing: .02em; }
	.lx-fab { right: 16px; bottom: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); }
	.lx-dialog__head { padding: 8px 16px 0; align-items: center; }
	.lx-dialog__ttl { font-size: 20px; }
	.lx-dialog__body { padding: 16px 16px 32px; }
	.lx-dx__q { padding: 16px 16px 24px; }
	.lx-dx__q legend, .lx-dx__qt { font-size: 18px; }
	.lx-dx__opts { flex-direction: column; }
	.lx-res { padding: 16px 16px 20px; gap: 4px 12px; grid-template-columns: 24px minmax(0, 1fr); }
	.lx-res__icon svg { width: 24px; height: 24px; }
	.lx-kinds { grid-template-columns: minmax(0, 1fr); gap: 32px; }
	#main .lx .lx-rule { font-size: 20px; }
	.lx-sim { padding: 24px 16px; }
	.lx-sim__form { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
	.lx-sim__form .lx-check { grid-column: 1 / -1; min-height: 44px; }
	.lx-sim__res strong { font-size: 20px; }
	.lx-ex > li { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 20px 0; }
	#main .lx .lx-ex__res { grid-column: 1; }
	.lx-after > li { grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 24px 0; }
}

/* =====================================================================
   ビザ・解説ページ用の追加部品（2026/10/26）
   ===================================================================== */
/* （確認中）の目印：DADS ChipLabel 風・点線枠 */
#main .lx .note-tentative { display: inline-flex; align-items: center; min-height: 28px; padding: 2px 8px; border: 1px dashed var(--y1000); border-radius: 8px; background: var(--y50); color: var(--key); font-size: 14px; font-weight: 700; line-height: 1.3; letter-spacing: .02em; vertical-align: middle; }
#main .lx p.note-tentative { display: block; margin-top: 24px; padding: 12px 16px; font-weight: 400; font-size: 16px; line-height: 1.7; }
.lx-h__txt .note-tentative { margin-left: 8px; }

/* ビザ：ご相談の内容 → 手続き名 の対応表（線が伸びてつながる） */
.lx-match { border-top: 1px solid var(--g420); }
.lx-match li { display: grid; grid-template-columns: minmax(0, 1.1fr) 64px minmax(0, 1fr); align-items: center; gap: 16px; padding: 24px 0; border-bottom: 1px solid var(--g420); }
#main .lx .lx-match__q { font-size: 18px; font-weight: 700; line-height: 1.6; color: var(--g900); }
.lx-match__line { position: relative; height: 2px; background: var(--y1000); transform-origin: left; }
.lx-match__line::after { content: ""; position: absolute; right: -2px; top: -6px; border: 7px solid transparent; border-left: 10px solid var(--y1000); border-right: 0; }
#main .lx .lx-match__a { justify-self: start; display: inline-flex; align-items: center; min-height: 40px; padding: 6px 12px; border: 1px solid var(--key); border-radius: 8px; background: #fff; color: var(--key); font-weight: 700; line-height: 1.5; }
.lx-js .lx-match .lx-match__line { transform: scaleX(0); transition: transform .5s var(--ease); }
.lx-js .lx-match .lx-match__a { opacity: 0; transform: translateX(-8px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
.lx-js .lx-match.is-in .lx-match__line { transform: scaleX(1); }
.lx-js .lx-match.is-in .lx-match__a { opacity: 1; transform: none; }
.lx-js .lx-match li:nth-child(2) > * { transition-delay: .12s; }
.lx-js .lx-match li:nth-child(3) > * { transition-delay: .24s; }
.lx-js .lx-match li:nth-child(4) > * { transition-delay: .36s; }
.lx-js .lx-match li:nth-child(5) > * { transition-delay: .48s; }

/* 解説：金額の目安バー（500万円／1,500万円で色が変わる） */
.lx-scale { display: grid; gap: 24px; margin: 0 0 48px; padding: 32px; background: #fff; border: 1px solid var(--g420); border-radius: 12px; }
.lx-scale__row { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 8px 24px; align-items: center; }
#main .lx .lx-scale__name { font-size: 17px; font-weight: 700; line-height: 1.5; color: var(--g900); }
.lx-scale__bar { position: relative; height: 40px; border-radius: 4px; background: var(--g100); overflow: hidden; }
.lx-scale__free, .lx-scale__need { position: absolute; top: 0; bottom: 0; transform-origin: left; }
.lx-scale__free { left: 0; background: var(--g200); }
.lx-scale__need { right: 0; background: var(--key); }
.lx-scale__free span, .lx-scale__need span { position: absolute; top: 50%; transform: translateY(-50%); font-size: 14px; font-weight: 700; line-height: 1.2; white-space: nowrap; }
.lx-scale__free span { left: 12px; color: var(--g900); }
.lx-scale__need span { left: 12px; color: #fff; }
.lx-scale__legend { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 16px; color: var(--g800); line-height: 1.5; }
.lx-scale__legend li { display: inline-flex; align-items: center; gap: 8px; }
.lx-scale__legend li { text-align: left; }
.lx-scale__legend li::before { content: ""; flex: none; width: 16px; height: 16px; border-radius: 4px; background: var(--g200); }
.lx-scale__legend li.need::before { background: var(--key); }
.lx-scale__mark { grid-column: 2; position: relative; height: 24px; font-size: 16px; font-weight: 700; color: var(--key); line-height: 1.5; }
.lx-scale__mark b { position: absolute; top: 0; transform: translateX(-50%); white-space: nowrap; }
.lx-scale__mark b::before { content: ""; position: absolute; left: 50%; top: -12px; width: 2px; height: 10px; background: var(--key); }
.lx-js .lx-scale .lx-scale__free { transform: scaleX(0); transition: transform .8s var(--ease) .1s; }
.lx-js .lx-scale .lx-scale__need { transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease) .8s; }
.lx-js .lx-scale.is-in .lx-scale__free, .lx-js .lx-scale.is-in .lx-scale__need { transform: none; }
.lx-js .lx-scale .lx-scale__mark b { opacity: 0; transition: opacity .4s var(--ease) .8s; }
.lx-js .lx-scale.is-in .lx-scale__mark b { opacity: 1; }

/* 解説：経審の有効期間（1年7か月）の図 */
.lx-valid { margin: 24px 0 8px; padding: 24px; background: #fff; border: 1px solid var(--g420); border-radius: 8px; }
.lx-valid__cap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; font-size: 16px; font-weight: 700; line-height: 1.5; color: var(--g900); margin-bottom: 16px; }
.lx-valid__cap span { font-weight: 400; color: var(--key); }
.lx-valid__rows { position: relative; display: grid; gap: 8px; }
.lx-valid__bar { position: relative; height: 16px; }
.lx-valid__bar i { position: absolute; top: 0; bottom: 0; left: calc(var(--s) * 1%); width: 61.3%; border-radius: 8px; background: var(--y300); border: 1px solid var(--y1000); transform-origin: left; }
.lx-valid__bar:first-child i { background: var(--key); border-color: var(--key); }
#main .lx .lx-valid__ticks { position: relative; height: 24px; margin-top: 8px; font-size: 14px; color: var(--g700); line-height: 1.5; }
.lx-valid__ticks span { position: absolute; top: 0; white-space: nowrap; }
.lx-valid__ticks .t0 { left: 0; }
.lx-valid__ticks .t1 { left: 61.3%; transform: translateX(-100%); color: var(--key); font-weight: 700; }
#main .lx .lx-valid__note { margin-top: 8px; font-size: 14px; color: var(--g700); }
.lx-js .lx-valid .lx-valid__bar i { transform: scaleX(0); transition: transform .9s var(--ease); }
.lx-js .lx-valid .lx-valid__bar:nth-child(2) i { transition-delay: .5s; }
.lx-js .lx-valid .lx-valid__bar:nth-child(3) i { transition-delay: 1s; }
.lx-js .lx-valid.is-in .lx-valid__bar i { transform: none; }

/* 箇条書き（DADS List：黒丸） */
#main .lx .lx-dots { margin: 8px 0 16px; padding-left: 1.5em; }
#main .lx .lx-dots li { list-style: disc; line-height: 1.7; margin: 4px 0; }
#main .lx .lx-acc__body p + p, #main .lx .lx-acc__body ul + p, #main .lx .lx-acc__body p + .lx-valid { margin-top: 16px; }
#main .lx .lx-acc__body strong { color: var(--g900); }

/* 戻るリンク（大きなリンクの左向き版） */
.lx-cross--back .lx-cross__circle svg { transform: rotate(180deg); }
.lx-cross--back:hover .lx-cross__circle svg { transform: rotate(180deg) translateX(4px); }

@media screen and (max-width: 640px) {
	.lx-match li { grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 20px 0; }
	.lx-match__line { display: none; }
	#main .lx .lx-match__q { font-size: 17px; }
	#main .lx .lx-match__a::before { content: "→"; margin-right: 6px; }
	.lx-scale { padding: 24px 16px; margin-bottom: 40px; }
	.lx-scale__row { grid-template-columns: minmax(0, 1fr); }
	.lx-scale__mark { grid-column: 1; }
	.lx-scale__free span, .lx-scale__need span { font-size: 14px; left: 8px; }
	.lx-valid { padding: 16px; }
	#main .lx .lx-valid__ticks { height: auto; display: flex; flex-direction: column; gap: 4px; }
	.lx-valid__ticks span { position: static; }
	.lx-valid__ticks .t1 { transform: none; }
	.lx-valid__ticks .t1::before { content: "■ "; color: var(--key); }
}
@media (prefers-reduced-motion: reduce) {
	.lx-js .lx-match .lx-match__line, .lx-js .lx-match .lx-match__a, .lx-js .lx-scale .lx-scale__free, .lx-js .lx-scale .lx-scale__need, .lx-js .lx-valid .lx-valid__bar i { transform: none !important; opacity: 1 !important; }
	.lx-js .lx-scale .lx-scale__mark b { opacity: 1 !important; }
}

/* ---------- 「動きを減らす」設定のとき：動きを止めて最終状態で表示 ---------- */
@media (prefers-reduced-motion: reduce) {
	.lx-body *, .lx-body *::before, .lx-body *::after, .lx-dialog, .lx-dialog::backdrop { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
	.lx-js .lx-kinetic .lx-ch, .lx-js [data-reveal] { opacity: 1 !important; transform: none !important; }
	.lx-js .lx-stepnav::after, .lx-js .lx-meter .lx-meter__fill, .lx-js .lx-meter .lx-years li::after, .lx-js .lx-chart .lx-chart__seg, .lx-js .lx-meter .lx-window__fill { transform: none !important; }
	.lx-js [data-kinetic] em, .lx-js [data-kinetic] .hl, .lx-js .lx-rule .hl { background-size: 100% 100% !important; }
	.lx-stepnav > li:not(.is-self) .lx-stepnav__num { background: var(--g800) !important; color: #fff !important; }
}

/* 冒頭の見出しが分割前に一瞬見えてチラつくのを防ぐ（JSが読めなくても2秒後には必ず表示） */
.lx-js [data-kinetic="hero"]:not(.lx-kinetic) { opacity: 0; animation: lx-safety 0s linear 2s forwards; }
@keyframes lx-safety { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .lx-js [data-kinetic="hero"]:not(.lx-kinetic) { opacity: 1; } }
html:not(.lx-js) #main .lx .lx-dx__reset, .lx-js #main .lx .lx-dx__reset[hidden] { display: none; }

/* ---------- 空き家・不動産ページ（akiya.html）で使う追加分（2026/10/27） ---------- */
/* 相続登記の期限の図：3年の目盛り・始点と終点だけの目盛り */
.lx-years--3, .lx-years-lab--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.lx-meter__ticks--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
/* 選べる道：見出しの横の小さな札 */
#main .lx .lx-after__ttl .lx-pill { margin-left: 8px; vertical-align: middle; font-weight: 400; }
/* 3,000万円控除のチェック：題名。JSが無いときは本文の条件だけで読めるので、チェック自体を出さない */
#main .lx .lx-dx__ttl { font-size: 20px; font-weight: 700; line-height: 1.5; color: var(--g900); }
html:not(.lx-js) .lx-dx--opt { display: none; }
/* 相続サイトへの文字リンク列 */
#main .lx .lx-txtlinks { margin-top: 24px; }
#main .lx .lx-txtlinks li + li { margin-top: 8px; }
@media screen and (max-width: 640px) {
	#main .lx .lx-dx__ttl { font-size: 18px; }
}

/* =====================================================================
   2026/11/12 さおりさんのご要望を反映（建設業・解説・産廃・ビザの4ページ）
   参考ページ（tax-startup.com/service）のように、白を基調に明るくやわらかく。
   - 黒い帯（白い文字）をやめて、淡い色の囲みに
   - 見出しの上の小さな文字（「事業者の方・建設業」「01」など）は飾りなので表示しない
   - 特徴・メリットの大きな数字を、淡い色の線画アイコンに（1つずつ別の色）
   - 黒い丸の番号・黒いラベル・最後の黄色い帯を淡い色に（フッターは dads.css で全ページ共通）
   ===================================================================== */
.lx-body { --soft-bg: #fbf8f0; --soft-line: #ece3cc; --sun-pale: #fff8dc; }

/* 見出しの上の小さな文字を消す */
#main .lx .lx-kicker, .lx-h__no { display: none; }
#main .lx .lx-h { grid-template-columns: minmax(0, 1fr); gap: 8px; }
.lx-h__sub { grid-column: 1; }

/* 黒い帯 → 白地に淡い色の囲み */
.lx-band--ink { background: #fff; box-shadow: 0 0 0 100vmax #fff; color: var(--g900); padding: 48px 0; }
.lx-band--ink .lx-wrap > .lx-cross, .lx-band--ink.lx-band > .lx-spot { background: var(--soft-bg); border: 1px solid var(--soft-line); border-radius: 16px; }
.lx-band--ink .lx-spot { padding: 40px 48px; max-width: 976px; }
#main .lx .lx-band--ink .lx-cross { padding: 40px 48px; color: var(--g900); }
#main .lx .lx-spot__ttl, #main .lx .lx-spot__txt { color: var(--g900); }
.lx-cross__ttl, .lx-cross__txt { color: var(--g900); }
.lx-cross__badge { background: var(--y100); }
.lx-cross__go { color: var(--key); }
.lx-cross__circle { border-color: var(--y700); color: var(--key); background: #fff; }
.lx-cross:hover .lx-cross__circle { background: var(--y100); color: var(--key); }

/* 最後の相談の帯：濃い黄色 → 淡い黄色 */
.lx-band--sun { background: var(--sun-pale); box-shadow: 0 0 0 100vmax var(--sun-pale); }

/* 特徴・メリット：数字 → 淡い線画アイコン（1つずつ別の色） */
.lx-col__ic { display: block; width: 52px; height: 52px; margin-bottom: 20px; color: var(--c, #d4b04f); }
.lx-col__ic svg { display: block; width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.lx-cols > .lx-col:nth-child(4n+1) { --c: #d4b04f; }
.lx-cols > .lx-col:nth-child(4n+2) { --c: #e39a6a; }
.lx-cols > .lx-col:nth-child(4n+3) { --c: #5fb3aa; }
.lx-cols > .lx-col:nth-child(4n+4) { --c: #7aa8d8; }

/* 手順の番号：黒い丸 → 淡い黄色の丸＋濃い文字 */
.lx-stepnav__num { border-color: var(--y700); color: var(--g900); }
.lx-stepnav::after { border-top-color: var(--y700); }
.lx-stepnav.is-in > li:not(.is-self) .lx-stepnav__num, html:not(.lx-js) .lx-stepnav > li:not(.is-self) .lx-stepnav__num { background: var(--y100); color: var(--g900); }
@media (prefers-reduced-motion: reduce) {
	.lx-stepnav > li:not(.is-self) .lx-stepnav__num { background: var(--y100) !important; color: var(--g900) !important; }
}
.lx-pages button[aria-current="true"] { background: var(--y100); border-color: var(--y700); color: var(--g900); }


@media screen and (max-width: 640px) {
	.lx-band--ink { padding: 32px 0; }
	.lx-band--ink .lx-spot { margin: 0 16px; }
	.lx-band--ink .lx-spot, #main .lx .lx-band--ink .lx-cross { padding: 28px 20px; }
	.lx-col__ic { width: 44px; height: 44px; margin-bottom: 12px; }
}

/* =====================================================================
   2026/11/12 追加：4ページをさらに白っぽく・淡く（参考ページ tax-startup.com/service 寄せ）
   ===================================================================== */
.lx-body { --g420: #d9d1bf; --y50: #fcfaf4; }
/* 冒頭の右上の黄色いぼかしを控えめに */
.lx-hero::before { background: radial-gradient(closest-side, #fff6d6 0, rgba(255, 246, 214, 0) 100%); opacity: .8; }
/* 「お困りではありませんか？」の番号 → 淡い緑のチェック */
.lx-quotes li { align-items: start; }
.lx-quotes__no { font-size: 0; width: 26px; height: 26px; margin-top: 2px; color: #84bf8f; background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M7.5 12.5l3 3 6-6.5'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M7.5 12.5l3 3 6-6.5'/%3E%3C/svg%3E") center / contain no-repeat; }
/* ステージの大きな黄色い数字 → 淡い線画アイコン */
.lx-stage__num--ic { width: 76px; height: 76px; color: var(--c); }
.lx-stage__num--ic svg { display: block; width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
/* 小さな札（知事・一般／特定 など）をやわらかく */
.lx-pill { color: var(--g700); border-color: #e3d9bf; background: #fffdf6; }
/* お知らせの囲み：太いグレー線 → 細い淡い線 */
.lx-banner { border-width: 1px; border-color: #e3d9bf; background: #fffdf6; }
.lx-banner--info { color: #c9a54a; }
/* 矢印や枠の濃い茶色をやわらかく */
.lx-match__line { background: var(--y700); }
.lx-match__line::after { border-left-color: var(--y700); }
#main .lx .lx-match__a { border-color: #e3d3a0; background: #fffdf6; }
/* 料金グラフの濃い茶色 → 淡めの金色 */
.lx-chart__seg--fee, .lx-chart__legend li::before { background: #d4b04f; }
@media screen and (max-width: 640px) {
	.lx-stage__num--ic { width: 56px; height: 56px; }
	.lx-quotes__no { width: 22px; height: 22px; }
}

/* ===== B案のトンマナに統一（2026/11/16 さおりさん決定。TOP・下層ページと同じ） =====
   ・見出し：細字・中央・両側に淡い細線（番号は出さない）
   ・ベージュの全幅帯 → 白地の上に淡い色の角丸ブロック */
#main .lx .lx-h { display: block; margin: 0 0 48px; text-align: center; }
#main .lx .lx-h .lx-h__txt { display: flex; align-items: center; gap: 28px; font-size: 27px; font-weight: 300; letter-spacing: .12em; color: var(--g900); }
#main .lx .lx-h .lx-h__txt::before, #main .lx .lx-h .lx-h__txt::after { content: ""; flex: 1 1 0; min-width: 24px; height: 1px; background: var(--tone-line); }
#main .lx .lx-h .lx-h__sub { display: block; margin-top: 12px; font-size: 15px; letter-spacing: .04em; }

.lx-body .lx-band--paper { background: none; box-shadow: none; clip-path: none; }
.lx-body .lx-band--paper > .lx-wrap { padding-top: 56px; padding-bottom: 48px; border-radius: 24px; background: var(--tone-pale); }
.lx-body .lx-band--paper + .lx-sec, .lx-body .lx-sec + .lx-band--paper { padding-top: 24px; }

@media (max-width: 640px) {
  #main .lx .lx-h { margin-bottom: 32px; }
  #main .lx .lx-h .lx-h__txt { display: block; font-size: 21px; letter-spacing: .06em; }
  #main .lx .lx-h .lx-h__txt::before { display: none; }
  #main .lx .lx-h .lx-h__txt::after { display: block; width: 40px; min-width: 0; margin: 14px auto 0; }
  .lx-body .lx-band--paper > .lx-wrap { margin: 0 12px; padding: 36px 16px 28px; border-radius: 16px; }
}

/* ===== TOPのトンマナ 第2弾（2026/11/16）：ヒーロー・強調・最後の相談帯 ===== */
/* ヒーロー：TOPと同じ細い文字に。黄色のぼかし円とマーカー線はやめ、色だけで強調 */
.lx-body .lx-hero::before { display: none; }
#main .lx .lx-title { font-size: 34px; font-weight: 300; line-height: 1.65; letter-spacing: .1em; }
.lx-body .lx-title em { background: none; color: var(--tone-deep); font-weight: 400; }
/* 本文中の黄色マーカー線 → 淡い色の文字に */
.lx-body .lx-foot-msg span, .lx-body .lx-merit-lead .hl, .lx-body .lx-rule .hl, .lx-body .lx-sim__res strong { background: none; color: var(--tone-deep); }
/* 太字は少しだけ軽く（TOPと同じ600） */
#main .lx strong, #main .lx b, #main .lx h4, #main .lx-final__ttl { font-weight: 600; }

/* 最後の相談帯：全幅のベージュ → 白地＋淡い角丸ブロック。見出しは細字＋両側の細線（TOPの見出しと同じ） */
.lx-body .lx-band--sun { background: none; box-shadow: none; clip-path: none; }
.lx-body .lx-final { padding-top: 24px; }
.lx-body .lx-final > .lx-wrap { padding-top: 56px; padding-bottom: 48px; border-radius: 24px; background: var(--tone-pale); }
#main .lx .lx-final__ttl { font-size: 26px; font-weight: 300; letter-spacing: .1em; }
#main .lx .lx-final__ttl::before, #main .lx .lx-final__ttl::after { content: ""; display: inline-block; vertical-align: middle; width: 48px; height: 1px; margin: 0 24px; background: var(--tone-line); }

@media (max-width: 640px) {
  #main .lx .lx-title { font-size: 23px; letter-spacing: .04em; }
  .lx-body .lx-final > .lx-wrap { margin: 0 12px; padding: 36px 16px 28px; border-radius: 16px; }
  #main .lx .lx-final__ttl { font-size: 20px; letter-spacing: .04em; }
  #main .lx .lx-final__ttl::before { display: none; }
  #main .lx .lx-final__ttl::after { display: block; width: 40px; margin: 14px auto 0; }
}

/* ===== パステル・やわらかトーン 第3弾（2026/11/16 カズキさん指示：TOPのFBに合わせて統一） =====
   さおりさんのFB：分類ごとにやわらかい色／淡く明るい色で統一／太字を使いすぎない／強調は淡い背景色で
   ページごとの色はTOPの業務アイコンと同じ：建設業＝あんず、産廃＝青緑、ビザ＝空色（body の lx-tone--○○）
   黄色系の変数（--y○○）を置きかえるので、番号・アイコン・グラフ・ボタンの色がまとめて切りかわる。
   文字に使う濃い色（--y1100 など）は白地で 4.5:1 以上を確保。 */
.lx-body { --tone-deep: #8f7020; --tone-pale: #fdf8e9; --tone-line: #e6dcc0; }
.lx-body.lx-tone--apricot {
	--y50: #fdf3ec; --y100: #fbe3d3; --y200: #f6cdb2; --y300: #eeb08a; --y700: #d0804f; --y1000: #a95f30; --y1100: #9a4f22; --y1200: #7f3f19;
	--key: #9a4f22; --key-hover: #7f3f19; --key-active: #66310f; --sun: #f6cdb2;
	--tone-deep: #9a4f22; --tone-pale: #fdf3ec; --tone-line: #f2d9c8;
}
.lx-body.lx-tone--mint {
	--y50: #eef7f5; --y100: #d6eeea; --y200: #b5e0d9; --y300: #8ccdc3; --y700: #4f9e95; --y1000: #337f77; --y1100: #2b6f68; --y1200: #215a54;
	--key: #2b6f68; --key-hover: #215a54; --key-active: #184642; --sun: #b5e0d9;
	--tone-deep: #2b6f68; --tone-pale: #eef7f5; --tone-line: #cfe6e2;
}
.lx-body.lx-tone--sky {
	--y50: #eff4fb; --y100: #dbe7f6; --y200: #c0d6f0; --y300: #9dbfe6; --y700: #5f8dc2; --y1000: #41709f; --y1100: #345f8f; --y1200: #2a4e77;
	--key: #345f8f; --key-hover: #2a4e77; --key-active: #203d5e; --sun: #c0d6f0;
	--tone-deep: #345f8f; --tone-pale: #eff4fb; --tone-line: #d5e2f2;
}
/* 太字を控えめに：見出し・ラベル・番号は 500、大きなタイトルは細字 */
#main .lx :is(.lx-col__ttl, .lx-rows__name, .lx-stage__ttl, .lx-stage__label, .lx-acc__q, .lx-acc__a, .lx-index__t, .lx-index__n, .lx-stepnav__ttl, .lx-stepnav__num,
	.lx-banner__ttl, .lx-mid-cta__ttl, .lx-cross__ttl, .lx-cross__badge, .lx-cross__go, .lx-chart__ttl, .lx-match__q, .lx-quotes__no, .lx-kicker, .lx-tl__tag, .lx-h__no,
	.lx-pill, .lx-tab, th, h3, h4, small, .r-self, .r-us) { font-weight: 500; }
#main .lx .lx-title, #main .lx .lx-title .lx-ch { font-weight: 300; }
#main .lx .lx-title em, #main .lx .lx-title em .lx-ch { color: var(--tone-deep); font-weight: 400; }
/* 強調：太字ではなく淡い色の背景に */
#main .lx :is(p, li, dd, td) :is(strong, b) { font-weight: 500; background: var(--y100); padding: .05em .3em; border-radius: 4px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.lx-body .lx-foot-msg span, .lx-body .lx-merit-lead .hl, .lx-body .lx-rule .hl, .lx-body .lx-sim__res strong { color: var(--tone-deep); }
#main .lx :is(.lx-spot__ttl, .lx-merit-lead, .lx-final__ttl) :is(.lx-ch, .hl, span), #main .lx :is(.lx-spot__ttl, .lx-merit-lead) { font-weight: 400; }
#main .lx .lx-quotes p, #main .lx .lx-foot-msg span, #main .lx .lx-tab b { font-weight: 500; }
/* 残りの太字（ラベル・小見出し・番号・診断の結果など）も 500 にそろえる */
#main .lx :is(b, strong, label, [class*="__ttl"], [class*="__label"], [class*="__lab"], [class*="__mark"], [class*="__a"], .lx-strong-line, .hl, .w-start) { font-weight: 500; }
#main .lx .lx-final__ttl { font-weight: 300; }
#main .lx .lx-spot__ttl, #main .lx .lx-spot__ttl .lx-ch { font-weight: 400; }

/* ---------- 建設業許可：冒頭を「見出しと説明 → 手続きの流れ → 相談窓口」の縦の順に（2026/11/17 さおりさんFB）
   PCでも左右に分けず、スマホと同じく上から下へ読めるようにする ---------- */
.lx-hero--stack { grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: start; max-width: 960px; margin-inline: auto; }
.lx-hero--stack .lx-index { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 16px; border-top: 0; }
.lx-hero--stack .lx-index li { border-top: 1px solid var(--g420); }
.lx-hero--stack .lx-index--2col { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 767px) {
	.lx-hero--stack { gap: 32px; }
	.lx-hero--stack .lx-index { grid-template-columns: minmax(0, 1fr); border-top: 1px solid var(--g420); }
	.lx-hero--stack .lx-index li { border-top: 0; }
}

/* ご相談窓口：LINE・電話・メールをひとつにまとめる。LINEが主ボタン、電話番号と受付時間・メールはそのすぐ下 */
.lx-desk { display: grid; gap: 16px; padding: 28px 32px; border-radius: 16px; background: var(--tone-pale, #fdf8e9); text-align: left; }
#main .lx .lx-desk__ttl { display: flex; align-items: center; gap: 12px; margin: 0; font-size: 17px; font-weight: 500; letter-spacing: .06em; color: var(--g900); }
#main .lx .lx-desk__ttl span { padding: 2px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--tone-line, #e6dcc0); font-size: 14px; color: var(--tone-deep, #8f7020); letter-spacing: .04em; }
#main .lx .lx-desk__main { width: 100%; max-width: 420px; font-size: 17px; }
.lx-desk__sub { display: flex; flex-wrap: wrap; gap: 8px 32px; }
#main .lx .lx-desk__sub a { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; color: var(--g900); text-decoration: none; }
#main .lx .lx-desk__sub a:hover span { text-decoration: underline; text-underline-offset: 3px; }
.lx-desk__sub svg { width: 22px; height: 22px; flex: 0 0 auto; fill: none; stroke: var(--tone-deep, #8f7020); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.lx-desk__sub span { display: flex; flex-direction: column; line-height: 1.4; font-size: 15px; }
#main .lx .lx-desk__tel b { font-size: 22px; font-weight: 500; letter-spacing: .04em; }
.lx-desk__sub small { font-size: 14px; color: var(--g700); }
.lx-mid-cta .lx-desk { padding: 0; background: none; }
.lx-desk--final { max-width: 560px; margin: 32px auto 0; background: #fff; }
@media (max-width: 767px) {
	.lx-desk { padding: 24px 20px; }
	#main .lx .lx-desk__main { max-width: none; }
	.lx-desk__sub { flex-direction: column; gap: 4px; }
	.lx-desk--final { margin-top: 24px; }
}

/* ご相談窓口 v2（2026/11/17 カズキさん指示：PCで左寄せ・右が空いて崩れて見えるのを直す）
   枠は幅を絞って中央に。上から「見出し → LINE（主）→ 電話｜メール（同じ大きさで左右に並べる）」 */
.lx-desk { width: 100%; max-width: 720px; margin-inline: auto; padding: 32px 40px 36px; gap: 18px; text-align: center; }
#main .lx .lx-desk__ttl { justify-content: center; }
#main .lx .lx-desk__main { max-width: none; min-height: 60px; }
.lx-desk__sub { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
#main .lx .lx-desk__sub a { justify-content: center; min-height: 76px; padding: 12px 16px; background: #fff; border: 1px solid var(--tone-line, #e6dcc0); border-radius: 12px; text-align: left; transition: border-color .2s, box-shadow .2s; }
#main .lx .lx-desk__sub a:hover { border-color: var(--tone-deep, #8f7020); box-shadow: 0 2px 10px rgba(0,0,0,.05); }
#main .lx .lx-desk__tel b { font-size: 21px; }
#main .lx .lx-desk__mail span { font-size: 15px; }
.lx-mid-cta { text-align: center; }
.lx-mid-cta .lx-desk { padding: 4px 0 0; }
#main .lx .lx-mid-cta .lx-desk__sub a { background: var(--tone-pale, #fdf8e9); }
.lx-desk--final { max-width: 720px; }
#main .lx .lx-desk--final .lx-desk__sub a { background: var(--tone-pale, #fdf8e9); }
@media (max-width: 767px) {
	.lx-desk { padding: 24px 16px 20px; }
	.lx-desk__sub { grid-template-columns: minmax(0, 1fr); gap: 8px; }
	#main .lx .lx-desk__sub a { justify-content: flex-start; min-height: 64px; }
}

/* 料金グラフ：見出しが2行になっても金額の高さをそろえる（2026/11/18） */
.lx-chart__legend li { grid-template-rows: auto 1fr; }
.lx-chart__legend b { align-self: end; }

/* 建設業許可の見出し：1行目「建設業許可から経審・入札まで、」をパソコン・スマホとも1行に（2026/11/18）
   スマホは15文字が画面幅に収まる大きさへ自動で調整（上限は他の見出しと同じ23px） */
.lx-title__line { white-space: nowrap; }
.lx-title__line wbr { display: none; } /* add_wbr.py を再実行しても、ここで改行させない */
@media (max-width: 767px) { #main .lx .lx-title__line { font-size: min(23px, calc((100vw - 64px) / 16)); } }
/* パソコンだけ／スマホだけの改行（2026/11/18） */
#main .lx .lx-hero--stack .lx-lead { max-width: 44em; }
@media (max-width: 767px) {
	.lx-lead br.lx-pc { display: none; }
}
/* 建設業許可の冒頭：指定の2行をパソコンでは必ず1行に（2026/11/18） */
@media (min-width: 768px) {
	#main .lx .lx-hero--stack .lx-lead { max-width: none; }
	.lx-nw { white-space: nowrap; }
}
.lx-nw { display: inline; }

/* 建設業許可：スマホだけの改行位置と、料金表の「お見積りします」を1行に（2026/11/18） */
br.lx-br-sp { display: none; }
.lx-ptable td.is-nw { white-space: nowrap; }
.lx-nb { white-space: nowrap; }
@media (max-width: 767px) {
	br.lx-br-sp { display: inline; }
	/* 指定の位置以外で折れないよう、幅の狭いスマホでは文字を少しだけ小さくする（上限は元の大きさ） */
	#main .lx .lx-title.lx-fit { font-size: min(23px, calc((100vw - 64px) / 13.9)); }
	#main .lx .lx-h .lx-h__txt.lx-fit { font-size: min(21px, calc((100vw - 64px) / 13)); }
	#main .lx .lx-foot-msg.lx-fit { font-size: min(17px, calc((100vw - 64px) / 18.7)); }
	#main .lx .lx-final__ttl.lx-fit { font-size: min(20px, calc((100vw - 88px) / 14.9)); }
	#main .lx .lx-final__sub.lx-fit { font-size: min(16px, calc((100vw - 88px) / 16.8)); }
}

/* 建設業許可：「ご相談は無料です。」を上の見出しにそろえて中央に（2026/11/18） */
#main .lx .lx-merit-lead { text-align: center; }

/* 建設業の解説「どんなときに許可が必要？」のグラフ：茶色→黄色（2026/11/18） */
.lx-scale__need, .lx-scale__legend li.need::before { background: #f5c93f; }
.lx-scale__need span { color: #4a3a00; }
.lx-scale__mark b::before { background: #e0ac00; }

/* ビザ：手続きごとの内容を開閉式に（2026/11/18） */
.lx-acc--proc summary { padding-top: 16px; padding-bottom: 16px; }
.lx-acc--proc .lx-acc__icon { top: 16px; }
.lx-acc__hint { display: block; font-size: 15px; font-weight: 400; line-height: 1.6; color: var(--g700); }
.lx-acc--proc .lx-acc__body { padding-top: 4px; }
.lx-proc-meta { margin-top: 16px; display: grid; gap: 8px; }
.lx-proc-meta > div { display: grid; grid-template-columns: 8em minmax(0, 1fr); gap: 0 16px; font-size: 16px; line-height: 1.7; }
.lx-proc-meta dt { color: var(--g700); font-weight: 500; }
.lx-proc-meta dd { margin: 0; color: var(--g800); }
.lx-acc--proc + .lx-banner { margin-top: 32px; }
@media (max-width: 767px) {
	.lx-acc--proc summary { padding-top: 12px; padding-bottom: 12px; }
	.lx-acc--proc .lx-acc__icon { top: 12px; }
	.lx-proc-meta > div { grid-template-columns: minmax(0, 1fr); }
}

/* 産廃の見出し：スマホでは1行目と2行目を同じ大きさに（2026/11/18） */
@media (max-width: 767px) { #main .lx .lx-title.lx-fit .lx-title__line { font-size: inherit; } }

/* 料金は金額の途中で改行しない（2026/11/18） */
#main .lx .lx-ptable td:not(.is-text) { white-space: nowrap; overflow-wrap: normal; }
.lx-word { white-space: nowrap; }

/* スマホだけで改行する位置（2026/11/18 産廃ページの費用の注記） */
br.lx-sp-br { display: none; }
@media (max-width: 767px) { br.lx-sp-br { display: inline; } }

/* 費用表の見出しを列の中央にそろえる（産廃ページ） */
.lx-ptable--chead thead th, .lx-ptable--chead thead th:last-child { text-align: center; }

/* 産廃：許可が必要な県の図解（2026/11/18 作り直し）。丸いアイコンを道でつなぎ、トラックが走る形 */
.lx-map { --ic: 60px; display: flex; align-items: flex-start; margin: 32px 0 8px; padding: 24px 16px 20px; background: #fff; border: 1px solid #f0e8cf; border-radius: 16px; box-shadow: 0 6px 20px rgba(122, 101, 53, .07); }
.lx-ex .lx-map { margin: 0; }
.lx-sim .lx-map { padding: 0; background: none; border: 0; border-radius: 0; box-shadow: none; }
.lx-node { flex: 1 1 0; min-width: 0; position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.lx-node--same { flex: 0 1 240px; margin-inline: auto; }
.lx-node:not(:first-child)::before, .lx-node:not(:last-child)::after { content: ""; position: absolute; top: calc(var(--ic) / 2 - 1px); height: 2px; background: repeating-linear-gradient(90deg, #dcc98a 0 6px, transparent 6px 11px); }
.lx-node:not(:first-child)::before { left: 0; right: calc(50% + var(--ic) / 2 + 12px); }
.lx-node:not(:last-child)::after { left: calc(50% + var(--ic) / 2 + 6px); right: 0; }
.lx-node__ic { position: relative; flex: none; width: var(--ic); height: var(--ic); margin-bottom: 10px; border-radius: 50%; background: #fdf1c4; color: #7a6535; }
.lx-node__ic::after { content: ""; position: absolute; inset: 22%; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 13.5h16V21H4z'/%3E%3Cpath d='M9.5 13.500v3h5v-3'/%3E%3Cpath d='M12 10V3M8.800 6 12 3l3.200 3'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 13.5h16V21H4z'/%3E%3Cpath d='M9.5 13.500v3h5v-3'/%3E%3Cpath d='M12 10V3M8.800 6 12 3l3.200 3'/%3E%3C/svg%3E") center / contain no-repeat; }
.lx-node--drop .lx-node__ic::after { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 13.5h16V21H4z'/%3E%3Cpath d='M9.5 13.500v3h5v-3'/%3E%3Cpath d='M12 3v7M8.800 7l3.200 3 3.200-3'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 13.5h16V21H4z'/%3E%3Cpath d='M9.5 13.500v3h5v-3'/%3E%3Cpath d='M12 3v7M8.800 7l3.200 3 3.200-3'/%3E%3C/svg%3E"); }
.lx-node--same .lx-node__ic::after { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 13.5h16V21H4z'/%3E%3Cpath d='M9.5 13.500v3h5v-3'/%3E%3Cpath d='M8 10V3M5.500 5.500 8 3l2.500 2.500M16 3v7M13.500 7.500 16 10l2.500-2.500'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 13.5h16V21H4z'/%3E%3Cpath d='M9.5 13.500v3h5v-3'/%3E%3Cpath d='M8 10V3M5.500 5.500 8 3l2.500 2.500M16 3v7M13.500 7.500 16 10l2.500-2.500'/%3E%3C/svg%3E"); }
.lx-node--pass .lx-node__ic { background: #f6f5f1; color: #8a877e; }
.lx-node--pass .lx-node__ic::after { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8.500 3 4 21M15.500 3 20 21M12 4v3M12 10.500v3M12 17v3'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8.500 3 4 21M15.500 3 20 21M12 4v3M12 10.500v3M12 17v3'/%3E%3C/svg%3E"); }
.lx-node:not(:first-child) .lx-node__ic::before { content: ""; position: absolute; left: -11px; top: 50%; margin-top: -5px; border: 5px solid transparent; border-left: 7px solid #c9a227; border-right: 0; }
.lx-node small { display: block; font-size: 14px; font-weight: 400; line-height: 1.5; color: var(--g700); }
.lx-node b { display: block; max-width: 100%; margin: 0 0 8px; font-size: 18px; font-weight: 500; line-height: 1.4; color: var(--g900); }
.lx-node__mark { display: inline-block; max-width: 100%; padding: 3px 10px; border-radius: 999px; background: #fff6d6; color: #6e5600; font-size: 14px; font-weight: 500; line-height: 1.4; }
#main .lx .lx-node b { background: none; padding: 0; border-radius: 0; }
.lx-node--pass b { color: var(--g700); }
.lx-node--pass .lx-node__mark { background: #f2f1ed; color: var(--g700); }
.lx-link { flex: 0 0 0; position: relative; width: 0; height: var(--ic); z-index: 1; }
.lx-link::before { content: ""; position: absolute; left: -17px; top: calc(50% - 10px); width: 34px; height: 20px; background: #fff; }
.lx-link::after { content: ""; position: absolute; left: -13px; top: calc(50% - 13px); width: 26px; height: 26px; background: #c9a227; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 6.500h12V17H9.500M4.500 17H2zM14 10h4l4 3.500V17h-1.500M15.500 17H14'/%3E%3Ccircle cx='7' cy='17.500' r='2.300'/%3E%3Ccircle cx='18' cy='17.500' r='2.300'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 6.500h12V17H9.500M4.500 17H2zM14 10h4l4 3.500V17h-1.500M15.500 17H14'/%3E%3Ccircle cx='7' cy='17.500' r='2.300'/%3E%3Ccircle cx='18' cy='17.500' r='2.300'/%3E%3C/svg%3E") center / contain no-repeat; }
.lx-map.is-anim .lx-node { animation: lx-pop .35s var(--ease) both; }
.lx-map.is-anim > :nth-child(3) { animation-delay: .25s; }
.lx-map.is-anim > :nth-child(5) { animation-delay: .5s; }
.lx-map.is-anim .lx-link::after { animation: lx-truck .7s var(--ease) .1s both; }
.lx-map.is-anim > :nth-child(4)::after { animation-delay: .35s; }
@keyframes lx-truck { from { opacity: 0; transform: translateX(-14px); } to { opacity: 1; transform: none; } }
@media (max-width: 767px) {
	.lx-map { --ic: 50px; padding: 18px 8px 16px; }
	.lx-sim .lx-map { padding: 0; }
	.lx-node__ic { margin-bottom: 8px; }
	.lx-node b { font-size: 16px; margin-bottom: 6px; }
	.lx-node--pass b { font-size: 15px; }
	.lx-node__mark { padding: 3px 7px; letter-spacing: 0; white-space: nowrap; }
	.lx-node b, .lx-node--pass b { white-space: nowrap; letter-spacing: 0; }
	.lx-link::after { left: -11px; top: calc(50% - 11px); width: 22px; height: 22px; }
	.lx-link::before { left: -14px; width: 28px; }
}
@media (max-width: 359px) {
	.lx-map { --ic: 44px; padding-inline: 4px; }
	.lx-sim .lx-map { padding-inline: 0; }
	.lx-node:not(:first-child) .lx-node__ic::before { display: none; }
	.lx-node b, .lx-node--pass b { font-size: 14px; letter-spacing: 0; }
	.lx-node small { letter-spacing: 0; }
	.lx-node__mark { padding-inline: 0; background: none !important; letter-spacing: 0; }
	.lx-sim .lx-node b, .lx-sim .lx-node__mark { white-space: normal; }
}

/* 建設業許可の指定の文章：スマホは右端まで文字を入れてから折り返す（2026/11/19） */
@media (max-width: 767px) {
	#main .lx .jw-natural { word-break: normal; line-break: strict; text-align: left; }
	#main .lx .jw-natural strong:not(:has(wbr)) { word-break: keep-all; }
	#main .lx .jw-natural .lx-word { white-space: normal; }
	#main .lx .jw-natural .lx-nb .lx-word { white-space: nowrap; }
}

/* 流れの「（経営事項審査）」：スマホでも必ず2行目に出す（2026/11/19） */
@media (max-width: 767px) {
	.lx-stepnav__ttl small.lx-stepnav__sub { display: block; margin-left: 0; }
}

/* よくある質問：「Q.」を左に置き、質問文が2行になっても「Q.」の下へ回り込ませない（2026/11/19） */
.lx-acc--hang summary { --q: 1.75em; padding-left: calc(var(--icon) + 20px + var(--q)); text-indent: calc(var(--q) * -1); }
.lx-acc--hang .lx-acc__q { display: inline-block; width: var(--q); margin-right: 0; text-indent: 0; }
@media (max-width: 767px) {
	.lx-acc--hang summary { padding-left: calc(var(--icon) + 12px + var(--q)); }
}

/* 経審の有効期間の図：スマホは3本とも全長を見せ、決算ごとの重なりが分かる形にする（2026/11/19） */
.lx-valid__lab, .lx-valid__in, .lx-valid__axis { display: none; }
@media (max-width: 767px) {
	#main .lx .lx-valid__cap, #main .lx .lx-valid__cap span { text-align: left; text-align-last: left; letter-spacing: inherit; }
	#main .lx .lx-valid__cap { margin-bottom: 16px; }
	.lx-valid__rows {
		gap: 10px;
		background:
			linear-gradient(var(--g420), var(--g420)) 0 0 / 1px 100% no-repeat,
			linear-gradient(var(--g420), var(--g420)) 27.9% 0 / 1px 100% no-repeat,
			linear-gradient(var(--g420), var(--g420)) 55.8% 0 / 1px 100% no-repeat;
	}
	.lx-valid__bar { height: auto; padding-bottom: 26px; }
	.lx-valid__lab { display: block; width: max-content; margin-left: calc(var(--sp) * 1%); padding: 0 4px 2px 0; background: #fff; font-size: 13px; line-height: 1.5; color: var(--g700); white-space: nowrap; }
	.lx-valid__bar i { top: auto; height: 26px; left: calc(var(--sp) * 1%); width: 44.2% !important; display: flex; align-items: center; justify-content: center; font-style: normal; border-radius: 6px; }
	.lx-valid__in { display: inline; font-size: 13px; font-weight: 600; line-height: 1; color: var(--g900); white-space: nowrap; }
	.lx-valid__bar:first-child .lx-valid__in { color: #fff; }
	#main .lx .lx-valid__ticks { display: none; }
	.lx-valid__axis { display: block; position: relative; height: 20px; margin-top: 4px; font-size: 13px; line-height: 1.5; color: var(--g700); }
	.lx-valid__axis span { position: absolute; top: 0; white-space: nowrap; }
	#main .lx .lx-valid__note { margin-top: 12px; }
}

/* 右端まで詰める文章の中の改行：とても狭い画面（360px未満）では外して詰める（2026/11/19） */
@media (max-width: 359px) {
	#main .lx .jw-natural br.lx-br-sp { display: none; }
}

/* iPhone Safari: 開き括弧の直後で折り返さない（2026/11/20 シミュレーター確認） */
#main .lx span.note-tentative { white-space: nowrap; }

/* パソコン表示の本文幅：トップと同じD案（1440px幅で左右 約152px）に。さおりさん選択（2026/11/27）。広い画面では余白を約2割減らす（1711px幅で約287→230px、カズキさん指示） */
@media (min-width: 1024px) {
	.lx-body #container { max-width: calc(42.4vw + 637px); }
	.lx-body #main.page.lx-main { max-width: none; }
	.lx-body .lx-wrap { max-width: calc(42.4vw + 589px); }
	.lx-body .lx-hero--stack { max-width: calc(42.4vw + 589px); }
}

/* 最後の相談帯の一文を中央に（2026/11/30 カズキさん「他のページも」・LP 8ページ共通） */
#main .lx .lx-final__sub, html.jw-measure body.jw #main .lx .lx-final__sub { text-align: center; text-align-last: center; }

/* 産廃の費用の※注記：スマホでJWセンターのかっこ書きを1行に収める（2026/12/01 さおりさん指定） */
@media (max-width: 767px) {
	#main .lx .lx-notes--sm li { font-size: 14px; letter-spacing: 0; }
}
@media (max-width: 374px) {
	#main .lx .lx-notes--sm li { font-size: 13px; }
}
