/* AI よろづや v2 — 白黒・太ゴシック・細い黒罫線（ACES型）／サービスは1画面ずつ（おいかぜ型）／下層は一本道（orphe型） */

:root {
  --bg: #ffffff;
  --bg-2: #f5f5f4;
  --bg-3: #fafafa;
  --ink: #111111;
  --ink-2: #3d3d3d;
  --ink-3: #737373;
  --line: #111111;
  --line-soft: #e4e4e4;
  --tint-1: #e9ebf1;
  --tint-2: #e6f2f7;
  --tint-3: #edf1e8;

  --sans: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  --latin: "Jost", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(20px, 5vw, 80px);
  --sec: clamp(88px, 11vw, 160px);
  --hd: 84px;
  --ease: cubic-bezier(.22, .61, .21, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--hd); }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-size: 16px; line-height: 1.95; letter-spacing: .04em;
  word-break: auto-phrase; line-break: strict;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 16px; }
.skip:focus { left: 8px; }
.wrap { max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.en { font-family: var(--latin); letter-spacing: .08em; }

/* ---------- ヘッダー ---------- */
.hd { position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--hd); background: rgba(255,255,255,.96); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.hd-in { display: flex; align-items: center; justify-content: space-between; height: var(--hd-main, 100%); padding: 0 0 0 clamp(16px, 2.4vw, 32px); }
.logo { display: flex; align-items: center; gap: 12px; min-height: 44px; white-space: nowrap; }
.logo-mark { width: 30px; height: 30px; flex: none; }
.logo-name { font-weight: 900; font-size: 22px; letter-spacing: .06em; line-height: 1.1; }
.logo-name small { display: block; font-weight: 500; font-size: 10px; letter-spacing: .12em; color: var(--ink-3); margin-top: 3px; }
.nav { display: flex; align-items: center; height: 100%; }
.nav a:not(.hd-cta) { position: relative; display: flex; align-items: center; height: 100%; padding: 0 clamp(12px, 1.6vw, 24px); font-weight: 700; font-size: 14px; letter-spacing: .06em; }
.nav a:not(.hd-cta)::after { content: ""; position: absolute; left: 50%; right: 50%; bottom: -1px; height: 3px; background: var(--ink); transition: left .35s var(--ease), right .35s var(--ease); }
.nav a:not(.hd-cta):hover::after, .nav a[aria-current="page"]::after { left: clamp(12px, 1.6vw, 24px); right: clamp(12px, 1.6vw, 24px); }
.hd-cta { display: flex; align-items: center; justify-content: center; gap: 10px; height: calc(100% - 32px); margin: 0 16px 0 clamp(8px, 1.4vw, 20px); padding: 0 24px; background: var(--ink); color: #fff; font-weight: 700; font-size: 14px; letter-spacing: .08em; border-radius: 2px; transition: background .3s; }
.hd-cta:hover { background: #3a3a3a; }
.menu-btn { display: none; }
@media (max-width: 1023px) {
  :root { --hd: 108px; --hd-main: 64px; }
  .menu-btn { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; background: none; border: 0; border-left: 1px solid var(--line); cursor: pointer; }
  .menu-btn i, .menu-btn i::before, .menu-btn i::after { display: block; width: 22px; height: 2px; background: var(--ink); position: relative; transition: transform .3s, background .3s; }
  .menu-btn i::before, .menu-btn i::after { content: ""; position: absolute; left: 0; }
  .menu-btn i::before { top: -7px; } .menu-btn i::after { top: 7px; }
  .hd.is-open .menu-btn i { background: transparent; }
  .hd.is-open .menu-btn i::before { transform: translateY(7px) rotate(45deg); }
  .hd.is-open .menu-btn i::after { transform: translateY(-7px) rotate(-45deg); }
  .nav { position: fixed; inset: var(--hd) 0 0 0; height: auto; flex-direction: column; align-items: stretch; background: #fff; padding: 8px var(--gutter) 40px; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; overflow-y: auto; }
  .nav a:not(.hd-cta) { height: auto; padding: 20px 0; font-size: 18px; border-bottom: 1px solid var(--line-soft); }
  .nav a:not(.hd-cta)::after { display: none; }
  .hd-cta { height: 56px; margin: 28px 0 0; }
  .hd.is-open .nav { opacity: 1; visibility: visible; }
  .logo-name { font-size: 19px; }
  .hd-in { padding-right: 0; }
}

/* ---------- ボタン・リンク ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 16px; min-height: 56px; padding: 0 32px; background: var(--ink); color: #fff; font-weight: 700; font-size: 15px; letter-spacing: .1em; border: 1px solid var(--ink); border-radius: 2px; transition: background .3s, color .3s; }
.btn:hover { background: #3a3a3a; }
.btn-line { background: transparent; color: var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-white { background: #fff; color: var(--ink); border-color: #fff; }
.btn-white:hover { background: transparent; color: #fff; }
.circ { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border: 1px solid currentColor; border-radius: 50%; flex: none; transition: background .3s, color .3s; }
.circ::before { content: ""; width: 6px; height: 6px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: translateX(-1px) rotate(45deg); }

/* 枠線のリンクカード（ACES） */
.lcards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.lcard { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 84px; padding: 18px 22px; border: 1px solid var(--line); background: #fff; transition: background .3s, color .3s; }
.lcard b { display: block; font-size: 16px; letter-spacing: .06em; }
.lcard small { display: block; font-family: var(--latin); font-size: 12px; letter-spacing: .1em; color: var(--ink-3); transition: color .3s; }
.lcard:hover { background: var(--ink); color: #fff; }
.lcard:hover small { color: #bbb; }
.lcard-solid { background: var(--ink); color: #fff; }
.lcard-solid small { color: #bbb; }
.lcard-solid:hover { background: #3a3a3a; }
@media (max-width: 767px) { .lcards { grid-template-columns: 1fr; gap: 14px; } }

/* ---------- セクションの帯（ACES） ---------- */
.bar { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.bar-in { display: flex; align-items: center; gap: 14px; height: 60px; padding: 0 clamp(16px, 2.4vw, 32px); }
.bar-in svg { width: 22px; height: 22px; flex: none; }
.bar-in h2, .bar-in p { font-size: 15px; font-weight: 700; letter-spacing: .08em; }
.bar-in .en { margin-left: 6px; font-size: 12px; font-weight: 500; color: var(--ink-3); }

.sec-body { padding-top: var(--sec); padding-bottom: var(--sec); }
.lead-l { font-weight: 700; font-size: clamp(22px, 2.5vw, 34px); line-height: 1.8; letter-spacing: .05em; }
.lead-m { font-weight: 700; font-size: clamp(20px, 2vw, 26px); line-height: 1.7; letter-spacing: .05em; }
.text { color: var(--ink-2); }
.note { margin-top: 16px; font-size: 13px; color: var(--ink-3); line-height: 1.8; }
.label { font-family: var(--latin); font-weight: 500; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); }

/* ---------- 出現 ---------- */
.rv { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.rv.is-in { opacity: 1; transform: none; }
.rv-d1 { transition-delay: .12s; } .rv-d2 { transition-delay: .24s; } .rv-d3 { transition-delay: .36s; }
.pic { position: relative; overflow: hidden; background: var(--bg-2); aspect-ratio: 3 / 2; }
.pic img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.6s var(--ease); }
.pic.is-in img { transform: scale(1); }
a:hover .pic img { transform: scale(1.03); }

/* ---------- トップ：FV（ACES型＋暖簾） ---------- */
.fv { position: relative; margin-top: var(--hd); min-height: calc(100svh - var(--hd)); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: var(--bg-3); border-bottom: 1px solid var(--line); overflow: hidden; }
.fv-copy { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; padding: 64px 0 64px clamp(20px, 5.6vw, 80px); }
.fv h1 { font-weight: 900; font-size: clamp(36px, 4.7vw, 72px); line-height: 1.38; letter-spacing: .02em; }
.fv h1 .ln { display: block; white-space: nowrap; }
.scramble { display: inline-block; min-width: 6.2em; }
.fv-tabs { display: flex; align-items: center; gap: 16px; margin-top: 36px; font-family: var(--latin); font-weight: 500; font-size: 14px; letter-spacing: .1em; }
.fv-tabs span { color: #b9b9b9; transition: color .5s; }
.fv-tabs span.on { color: var(--ink); }
.fv-tabs i { display: block; width: 40px; height: 1px; background: var(--ink); }
.fv-lead { margin-top: 32px; max-width: 30em; color: var(--ink-2); font-size: clamp(15px, 1.2vw, 16px); }
.fv-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.fv-art { position: relative; z-index: 1; }
.noren { position: absolute; inset: -2% -4% 0 -6%; width: 110%; height: 102%; }
/* 暖簾：竿→布が順に垂れる→紋が書かれる→風で揺れる（JSで波とカーソル） */
.noren .rod { stroke-dasharray: 1; stroke-dashoffset: 1; animation: rod 1s var(--ease) .15s forwards; }
@keyframes rod { to { stroke-dashoffset: 0; } }
.noren .cap { opacity: 0; animation: fadein .4s ease .9s forwards; }
@keyframes fadein { to { opacity: 1; } }
.noren .drop { transform-box: fill-box; transform-origin: 50% 0; transform: scaleY(0); animation: drop 1.25s cubic-bezier(.16, .9, .24, 1.06) calc(.75s + var(--i) * .15s) forwards; }
@keyframes drop { to { transform: scaleY(1); } }
.noren .lean { transform-box: fill-box; transform-origin: 50% 0; will-change: transform; }
.noren .panel { transform-box: fill-box; transform-origin: 50% 0; animation: sway 7s ease-in-out 2.4s infinite; }
.noren .drop:nth-of-type(2) .panel { animation-delay: 2.52s; }
.noren .drop:nth-of-type(3) .panel { animation-delay: 2.64s; }
.noren .drop:nth-of-type(4) .panel { animation-delay: 2.76s; }
@keyframes sway { 0%, 100% { transform: skewX(0deg); } 50% { transform: skewX(-1.4deg); } }

.noren .ring { stroke-dasharray: 1; stroke-dashoffset: 1; animation: rod 1.4s var(--ease) 1.9s forwards; }
.noren .dia { transform-box: fill-box; transform-origin: 50% 50%; opacity: 0; animation: dia .7s cubic-bezier(.3, 1.6, .5, 1) 2.9s forwards; }
@keyframes dia { from { opacity: 0; transform: rotate(45deg) scale(.2); } to { opacity: 1; transform: rotate(45deg) scale(1); } }
.noren .scan { opacity: 0; animation: scan 7s linear 3.4s infinite; }
.noren .sheen { animation: sheen 9s cubic-bezier(.45, 0, .2, 1) 3s infinite; }
@keyframes sheen { 0% { transform: translateX(0); } 60%, 100% { transform: translateX(1300px); } }
@keyframes scan { 0% { transform: translateY(0); opacity: 0; } 8% { opacity: .4; } 92% { opacity: .4; } 100% { transform: translateY(820px); opacity: 0; } }
@keyframes drift { from { transform: translateY(80px); opacity: 0; } 15% { opacity: .9; } 85% { opacity: .9; } to { transform: translateY(-260px); opacity: 0; } }
@media (max-width: 1023px) {
  .fv { grid-template-columns: 1fr; min-height: 0; }
  .fv-copy { padding: 56px var(--gutter) 40px; }
  .fv-art { height: 300px; border-top: 1px solid var(--line); }
  .noren { inset: -6% 0 0 0; width: 100%; height: 112%; }
}
@media (max-width: 480px) { .fv h1 { font-size: 32px; } .fv-art { height: 240px; } }
@media (max-width: 359px) { .fv h1 { font-size: 28px; } }

/* ---------- トップ：わたしたちについて ---------- */
.about { display: grid; gap: 64px; }
.about .lcards { max-width: 820px; }

/* ---------- トップ：サービス（おいかぜ型・1サービス1画面） ---------- */
.svc { padding-top: var(--sec); padding-bottom: var(--sec); border-bottom: 1px solid var(--line-soft); }
.svc:last-child { border-bottom: 0; }
.svc-head { margin-bottom: clamp(32px, 4vw, 56px); }
.svc-head .svc-no { margin-bottom: 8px; }
.svc-no { font-family: var(--latin); font-weight: 500; font-size: 15px; letter-spacing: .14em; color: var(--ink-3); flex: none; }
.wipe { position: relative; display: inline-block; max-width: 100%; font-weight: 900; font-size: clamp(34px, 7.4vw, 104px); line-height: 1.15; letter-spacing: .01em; overflow: hidden; vertical-align: top; }
.wipe-t { display: inline-block; opacity: 0; transition: opacity 0s linear .55s; }
.wipe::after { content: ""; position: absolute; inset: 0; background: var(--ink); transform: scaleX(0); transform-origin: left; }
.wipe.is-in .wipe-t { opacity: 1; }
.wipe.is-in::after { animation: wipe 1.1s cubic-bezier(.77, 0, .18, 1) forwards; }
@keyframes wipe { 0% { transform: scaleX(0); transform-origin: left; } 50% { transform: scaleX(1); transform-origin: left; } 50.1% { transform-origin: right; } 100% { transform: scaleX(0); transform-origin: right; } }
.svc-en { display: block; margin-top: 6px; font-family: var(--latin); font-weight: 500; font-size: 13px; letter-spacing: .24em; color: var(--ink-3); }
.svc-body { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.svc.flip .svc-body { grid-template-columns: 7fr 5fr; }
.svc.flip .svc-text { order: 2; }
.svc-text .lead-m { margin-bottom: 18px; }
.tags { margin-top: 22px; padding: 12px 16px; border: 1px solid var(--line-soft); font-size: 13px; color: var(--ink-2); line-height: 1.9; }
.detail { display: inline-flex; align-items: center; gap: 14px; margin-top: 26px; padding: 10px 0; font-family: var(--latin); font-weight: 500; font-size: 15px; letter-spacing: .14em; }
.detail:hover .circ { background: var(--ink); color: #fff; }
.svc-pic { position: relative; }
.svc-pic::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; background: var(--tint, var(--tint-1)); z-index: -1; }
.svc.flip .svc-pic::before { inset: 18px 18px -18px -18px; }
@media (max-width: 1023px) {
  .svc-body, .svc.flip .svc-body { grid-template-columns: 1fr; }
  .svc.flip .svc-text { order: 0; }
  .svc-pic { margin-right: 18px; }
}

/* ---------- トップ：頼み方（3段） ---------- */
.steps3 { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); }
.steps3 li { position: relative; padding: 36px 32px 34px; }
.steps3 li + li { border-left: 1px solid var(--line); }
.steps3 li + li::before { content: ""; position: absolute; left: -9px; top: 50%; width: 16px; height: 16px; background: #fff; border-top: 1px solid var(--line); border-right: 1px solid var(--line); transform: translateY(-50%) rotate(45deg); }
.steps3 .s-no { font-family: var(--latin); font-weight: 500; font-size: 13px; letter-spacing: .16em; color: var(--ink-3); }
.steps3 h3 { margin-top: 10px; font-size: 21px; letter-spacing: .06em; line-height: 1.5; }
.steps3 p { margin-top: 12px; font-size: 15px; color: var(--ink-2); line-height: 1.85; }
.steps3 a { display: inline-flex; align-items: center; gap: 10px; margin-top: 14px; padding: 8px 0; font-weight: 700; font-size: 14px; }
.steps3 a:hover .circ { background: var(--ink); color: #fff; }
@media (max-width: 767px) {
  .steps3 { grid-template-columns: 1fr; }
  .steps3 li + li { border-left: 0; border-top: 1px solid var(--line); }
  .steps3 li + li::before { left: 50%; top: -9px; transform: translateX(-50%) rotate(135deg); }
}

/* ---------- トップ：作ったもの ---------- */
.works { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.phones { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.phone { margin: 0; }
.phone img { width: 100%; aspect-ratio: 430 / 880; object-fit: cover; object-position: top; border: 1px solid var(--line); border-radius: 14px; }
.phone:nth-child(2) { margin-top: 40px; }
.phone:nth-child(3) { margin-top: 80px; }
.phone figcaption { margin-top: 10px; font-size: 13px; line-height: 1.5; }
.phone figcaption a { display: inline-block; padding: 8px 0 2px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-soft); }
.phone figcaption span { display: block; color: var(--ink-3); font-size: 12px; }
.facts { border-top: 1px solid var(--line); }
.facts li { display: grid; grid-template-columns: 8em 1fr; gap: 24px; align-items: baseline; padding: 26px 0; border-bottom: 1px solid var(--line-soft); }
.facts .num { font-family: var(--latin); font-weight: 500; font-size: clamp(40px, 4vw, 56px); line-height: 1; letter-spacing: 0; }
.facts .num small { font-family: var(--sans); font-weight: 700; font-size: 16px; margin-left: 4px; }
.facts .what { font-size: 15px; color: var(--ink-2); line-height: 1.8; }
.facts .what b { display: block; color: var(--ink); margin-bottom: 4px; }
@media (max-width: 1023px) { .works { grid-template-columns: 1fr; } }
@media (max-width: 767px) {
  .phones { grid-template-columns: repeat(3, 62vw); overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 10px; }
  .phone { scroll-snap-align: start; }
  .phone:nth-child(n) { margin-top: 0; }
  .facts li { grid-template-columns: 1fr; gap: 8px; }
}

/* ---------- AI瓦版（ACESのニュース型） ---------- */
.feed-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 20px; }
.feed-top p { font-size: 13px; color: var(--ink-3); }
.feed-filter { display: flex; flex-wrap: wrap; gap: 8px; }
.feed-filter button { min-height: 40px; padding: 0 14px; font: 500 13px/1 var(--sans); letter-spacing: .04em; background: #fff; color: var(--ink-2); border: 1px solid var(--line-soft); border-radius: 20px; cursor: pointer; transition: all .25s; }
.feed-filter button:hover { border-color: var(--ink); color: var(--ink); }
.feed-filter button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.feed { border-top: 1px solid var(--line); }
.feed li { border-bottom: 1px solid var(--line-soft); }
.feed a { display: grid; grid-template-columns: 7em 9.5em 1fr 28px; gap: 24px; align-items: baseline; padding: 26px 8px; transition: background .3s; }
.feed a:hover { background: var(--bg-2); }
.feed a:hover .circ { background: var(--ink); color: #fff; }
.feed time { font-family: var(--latin); font-size: 14px; letter-spacing: .08em; color: var(--ink-3); }
.feed .tag { justify-self: start; padding: 3px 10px; font-size: 12px; line-height: 1.6; color: var(--ink-2); background: var(--bg-2); border-radius: 2px; }
.feed .body { display: block; }
.feed h3 { font-size: 16px; line-height: 1.7; letter-spacing: .04em; }
.feed .sum { display: block; margin-top: 6px; font-size: 14px; color: var(--ink-2); line-height: 1.8; }
.feed .src { display: block; margin-top: 8px; font-size: 12px; color: var(--ink-3); }
.feed .org { display: none; }
.feed .circ { align-self: center; }
.feed-more { margin-top: 32px; text-align: center; }
.feed-more[hidden] { display: none; }
@media (max-width: 767px) {
  .feed a { grid-template-columns: auto 1fr; gap: 10px 14px; padding: 22px 0; }
  .feed .body { grid-column: 1 / -1; }
  .feed .circ { display: none; }
}

/* ---------- よくある質問 ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line-soft); }
.faq summary { display: grid; grid-template-columns: 2.4em 1fr 24px; gap: 12px; align-items: baseline; padding: 26px 0; cursor: pointer; list-style: none; font-weight: 700; font-size: 17px; line-height: 1.7; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; font-family: var(--latin); font-weight: 500; font-size: 20px; }
.faq summary i { position: relative; width: 14px; height: 14px; align-self: center; justify-self: end; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 0; top: 50%; width: 14px; height: 1.5px; background: var(--ink); transition: transform .35s var(--ease); }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i::after { transform: rotate(0); }
.faq .ans { display: grid; grid-template-columns: 2.4em 1fr; gap: 12px; padding: 0 0 28px; color: var(--ink-2); }
.faq .ans::before { content: "A"; font-family: var(--latin); font-weight: 500; font-size: 20px; color: var(--ink-3); }

/* ---------- ページ末の相談 ---------- */
.end { padding-top: var(--sec); padding-bottom: var(--sec); background: var(--bg-3); border-top: 1px solid var(--line); }
.end h2 { font-weight: 900; font-size: clamp(26px, 3.4vw, 46px); line-height: 1.5; letter-spacing: .04em; }
.end .text { margin-top: 20px; max-width: 36em; }
.end .lcards { margin-top: 48px; }

/* ---------- フッター ---------- */
.ft { background: var(--ink); color: #cfcfcf; font-size: 13px; }
.ft-in { display: grid; grid-template-columns: auto 1fr; gap: 32px 64px; padding-top: 56px; padding-bottom: 40px; }
.ft .logo-name { color: #fff; }
.ft .logo-name small { color: #9a9a9a; }
.ft nav { display: flex; flex-wrap: wrap; gap: 0 32px; justify-self: end; }
.ft nav a { display: inline-block; padding: 10px 0; }
.ft nav a:hover { color: #fff; }
.ft-co { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 4px 28px; padding-top: 24px; border-top: 1px solid #333; font-size: 12px; color: #9a9a9a; }
.ft-co a { display: inline-block; padding: 10px 0; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 767px) { .ft-in { grid-template-columns: 1fr; } .ft nav { justify-self: start; } }

/* スマホの固定ボタン */
.sp-cta { display: none; }
@media (max-width: 1023px) {
  .sp-cta { display: flex; position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 40; justify-content: center; align-items: center; gap: 14px; min-height: 54px; background: var(--ink); color: #fff; font-weight: 700; font-size: 15px; letter-spacing: .1em; border-radius: 2px; box-shadow: 0 8px 24px rgba(0,0,0,.18); transform: translateY(160%); visibility: hidden; transition: transform .45s var(--ease), visibility 0s linear .45s; }
  .sp-cta.is-show { transform: none; visibility: visible; transition: transform .45s var(--ease), visibility 0s; }
  .ft-in { padding-bottom: 104px; }
}

/* =========================================================
   サービスLP（orphe型の一本道・白地）
   ========================================================= */
.s-hero { position: relative; margin-top: var(--hd); min-height: min(86svh, 820px); display: flex; align-items: center; justify-content: center; text-align: center; color: #fff; overflow: hidden; }
.s-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.05); transition: transform 2.4s var(--ease); }
.s-hero.is-in > img { transform: scale(1); }
.s-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,10,.55), rgba(10,10,10,.62)); }
.s-hero-in { position: relative; z-index: 2; padding: 72px var(--gutter); max-width: 960px; }
.s-hero .kicker { font-family: var(--latin); font-weight: 500; font-size: 13px; letter-spacing: .22em; opacity: .85; }
.s-hero .svc-name { margin-top: 8px; font-weight: 700; font-size: 17px; letter-spacing: .14em; }
.s-hero h1 { margin-top: 26px; font-weight: 900; font-size: clamp(30px, 4.6vw, 64px); line-height: 1.45; letter-spacing: .04em; }
.s-hero .lead { margin: 28px auto 0; max-width: 34em; font-size: clamp(15px, 1.3vw, 17px); line-height: 2; opacity: .92; }
.s-hero .btn { margin-top: 40px; }
.s-hero .scroll { position: absolute; left: 50%; bottom: 20px; z-index: 2; transform: translateX(-50%); font-family: var(--latin); font-size: 11px; letter-spacing: .2em; }
.s-hero .scroll::after { content: ""; display: block; width: 1px; height: 40px; margin: 8px auto 0; background: rgba(255,255,255,.7); }
.crumb { display: flex; flex-wrap: wrap; gap: 10px; padding: 18px 0; font-size: 12px; color: var(--ink-3); }
.crumb a { text-decoration: underline; text-underline-offset: 3px; }

.statement { padding-top: var(--sec); padding-bottom: calc(var(--sec) * .6); text-align: center; }
.statement h2 { font-weight: 900; font-size: clamp(24px, 3vw, 40px); line-height: 1.6; letter-spacing: .04em; }
.statement .text { margin: 28px auto 0; max-width: 40em; }

.sec-title { text-align: center; margin-bottom: clamp(40px, 5vw, 64px); }
.sec-title .label { display: block; margin-bottom: 10px; }
.sec-title h2 { font-weight: 900; font-size: clamp(24px, 2.8vw, 36px); line-height: 1.5; letter-spacing: .05em; }

/* こんな会社に */
.fit { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.fit li { padding: 30px 28px; background: var(--bg-2); border-radius: 6px; font-weight: 700; font-size: 17px; line-height: 1.75; }
.fit li span { display: block; margin-bottom: 12px; font-family: var(--latin); font-weight: 500; font-size: 12px; letter-spacing: .16em; color: var(--ink-3); }
@media (max-width: 767px) { .fit { grid-template-columns: 1fr; } }

/* 機能ごとのブロック */
.feats { display: grid; gap: clamp(64px, 8vw, 120px); }
.feat { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.feat:nth-child(even) { grid-template-columns: 5fr 7fr; }
.feat:nth-child(even) .feat-pic { order: 2; }
.feat-no { font-family: var(--latin); font-weight: 500; font-size: 14px; letter-spacing: .16em; color: var(--ink-3); }
.feat h3 { margin-top: 12px; font-weight: 900; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.55; letter-spacing: .04em; }
.feat h3 small { display: block; margin-top: 6px; font-family: var(--latin); font-weight: 500; font-size: 12px; letter-spacing: .22em; color: var(--ink-3); }
.feat .text { margin-top: 18px; }
.dots { margin-top: 16px; }
.dots li { position: relative; padding-left: 1.2em; font-size: 15px; color: var(--ink-2); line-height: 1.9; }
.dots li::before { content: ""; position: absolute; left: 0; top: .82em; width: 6px; height: 6px; background: var(--ink); border-radius: 50%; }
.eg { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line-soft); font-size: 13px; color: var(--ink-3); line-height: 1.8; }
.eg b { color: var(--ink); margin-right: 8px; }
@media (max-width: 1023px) {
  .feat, .feat:nth-child(even) { grid-template-columns: 1fr; }
  .feat:nth-child(even) .feat-pic { order: 0; }
}

/* 導入の流れ（アイコン4段・orphe） */
.process { background: var(--bg-2); border-radius: 10px; overflow: hidden; }
.process ol { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; padding: clamp(32px, 4vw, 56px) clamp(16px, 3vw, 40px); }
.process li { position: relative; text-align: center; padding: 0 12px; }
.process li + li::before { content: ""; position: absolute; left: -10px; top: 44px; width: 18px; height: 18px; border-top: 2px solid var(--ink); border-right: 2px solid var(--ink); transform: rotate(45deg); }
.process svg { width: 88px; height: 88px; margin: 0 auto; stroke: var(--ink); fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.process h3 { margin-top: 14px; font-weight: 900; font-size: 20px; letter-spacing: .04em; }
.process h3 span { font-family: var(--latin); font-weight: 500; margin-right: 6px; }
.process p { margin-top: 8px; font-size: 14px; color: var(--ink-2); line-height: 1.8; text-align: left; }
.process-cap { padding: 22px clamp(20px, 3vw, 40px) 26px; background: var(--ink); color: #fff; }
.process-cap b { display: block; font-size: 17px; letter-spacing: .06em; }
.process-cap p { margin-top: 6px; font-size: 14px; color: #cfcfcf; }
@media (max-width: 767px) {
  .process ol { grid-template-columns: 1fr 1fr; gap: 32px 8px; }
  .process li + li::before { display: none; }
  .process svg { width: 64px; height: 64px; }
}

/* 事例 */
.cases { border-top: 1px solid var(--line); }
.cases li { display: grid; grid-template-columns: 13em 1fr 12em; gap: 12px 36px; padding: 30px 0; border-bottom: 1px solid var(--line-soft); align-items: baseline; }
.cases .who { font-size: 13px; color: var(--ink-3); line-height: 1.7; }
.cases .what { font-weight: 700; font-size: 17px; line-height: 1.75; }
.cases .what span { display: block; margin-top: 6px; font-weight: 400; font-size: 14px; color: var(--ink-2); }
.cases .num { text-align: right; font-family: var(--latin); font-weight: 500; font-size: clamp(28px, 2.6vw, 36px); line-height: 1.2; }
.cases .num small { display: block; margin-top: 6px; font-family: var(--sans); font-weight: 400; font-size: 11px; color: var(--ink-3); line-height: 1.6; }
.cases .num small a { display: inline-block; padding: 10px 0; text-decoration: underline; text-underline-offset: 3px; }
.cases-2 li { grid-template-columns: 13em 1fr; }
@media (max-width: 1023px) {
  .cases li, .cases-2 li { grid-template-columns: 1fr; gap: 6px; }
  .cases .num { text-align: left; }
}

/* 費用 */
.price { padding: clamp(48px, 6vw, 80px) var(--gutter); text-align: center; border: 1px solid var(--line); }
.price h2 { font-weight: 900; font-size: clamp(26px, 3vw, 40px); letter-spacing: .06em; }
.price .text { margin: 20px auto 0; max-width: 38em; }

/* ご相談から開始まで（STEPカード・orphe） */
.flow { display: grid; gap: 16px; max-width: 880px; margin: 0 auto; }
.flow li { padding: 26px 30px; background: var(--bg-2); border-radius: 8px; }
.flow .st { font-family: var(--latin); font-weight: 500; font-size: 14px; letter-spacing: .14em; color: var(--ink-3); }
.flow h3 { margin-top: 4px; font-size: 18px; letter-spacing: .04em; }
.flow p { margin-top: 6px; font-size: 14px; color: var(--ink-2); }

/* ほかの窓口 */
.others { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.other { display: block; border: 1px solid var(--line); background: #fff; transition: background .3s; }
.other .pic { aspect-ratio: 16 / 9; }
.other-cap { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; }
.other-cap b { display: block; font-size: 17px; letter-spacing: .06em; }
.other-cap small { display: block; font-family: var(--latin); font-size: 12px; letter-spacing: .12em; color: var(--ink-3); }
.other:hover .circ { background: var(--ink); color: #fff; }
@media (max-width: 767px) { .others { grid-template-columns: 1fr; } }

/* そのほか（作業） */
.etc { padding: 32px; background: var(--bg-2); border-radius: 8px; text-align: center; }
.etc b { display: block; font-size: 19px; letter-spacing: .06em; }
.etc p { margin-top: 10px; color: var(--ink-2); font-size: 15px; }

/* 個人情報 */
.legal { margin-top: var(--hd); padding-top: 48px; padding-bottom: var(--sec); }
.legal h1 { font-weight: 900; font-size: clamp(26px, 3.4vw, 40px); letter-spacing: .05em; margin: 24px 0 40px; }
.legal h2 { font-size: 19px; letter-spacing: .05em; margin: 44px 0 12px; padding-top: 22px; border-top: 1px solid var(--line-soft); }
.legal p, .legal li { color: var(--ink-2); max-width: 44em; }
.legal ul { margin-top: 8px; }
.legal li { position: relative; padding-left: 1.2em; }
.legal li::before { content: ""; position: absolute; left: 0; top: .82em; width: 6px; height: 6px; background: var(--ink); border-radius: 50%; }
.legal-sign { margin-top: 56px; }

.mt-l { margin-top: clamp(56px, 7vw, 96px); }
.center { text-align: center; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .rv, .pic img, .s-hero > img { opacity: 1 !important; transform: none !important; }
  .wipe-t { opacity: 1 !important; } .wipe::after { display: none; }
}
.works > * { min-width: 0; }

/* ================= 動き（2026-10-04 強化） ================= */
/* 読了の線 */
.progress { position: fixed; top: 0; left: 0; right: 0; z-index: 60; height: 2px; background: var(--ink); transform: scaleX(0); transform-origin: left; pointer-events: none; }

/* 見出しを行ごとに下から */
.fv h1 .ln, .s-hero h1 .ln { display: block; overflow: hidden; padding-bottom: .04em; }
.ln-in { display: inline-block; transform: translateY(110%); transition: transform 1.2s cubic-bezier(.2, .8, .2, 1); }
.fv.is-in .ln-in, .s-hero.is-in .ln-in { transform: none; }
.fv.is-in .ln:nth-child(2) .ln-in, .s-hero.is-in .ln:nth-child(2) .ln-in { transition-delay: .14s; }
.fv-kicker, .fv-tabs, .fv-lead, .fv-cta { opacity: 0; transform: translateY(16px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.fv.is-in .fv-kicker { opacity: 1; transform: none; transition-delay: .05s; }
.fv.is-in .fv-tabs { opacity: 1; transform: none; transition-delay: .5s; }
.fv.is-in .fv-lead { opacity: 1; transform: none; transition-delay: .65s; }
.fv.is-in .fv-cta { opacity: 1; transform: none; transition-delay: .8s; }
.s-hero .kicker, .s-hero .svc-name, .s-hero .lead, .s-hero .btn { opacity: 0; transform: translateY(14px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.s-hero.is-in .kicker { opacity: .85; transform: none; transition-delay: .1s; }
.s-hero.is-in .svc-name { opacity: 1; transform: none; transition-delay: .2s; }
.s-hero.is-in .lead { opacity: .92; transform: none; transition-delay: .55s; }
.s-hero.is-in .btn { opacity: 1; transform: none; transition-delay: .7s; }
.s-hero > img { animation: kb 18s ease-in-out infinite alternate; }
@keyframes kb { from { transform: scale(1.04) translate(0, 0); } to { transform: scale(1.12) translate(-1.5%, -1%); } }

/* 写真は幕が開くように */
.pic { clip-path: inset(0 100% 0 0); transition: clip-path 1.3s cubic-bezier(.7, 0, .2, 1); }
.pic.is-in { clip-path: inset(0 0 0 0); }
.svc-pic::before { transform: scaleX(0); transform-origin: left; transition: transform 1.1s cubic-bezier(.7, 0, .2, 1) .55s; }
.svc.flip .svc-pic::before { transform-origin: right; }
.svc-pic.is-in::before { transform: scaleX(1); }

/* セクションの帯：線を左から引く */
.bar { position: relative; border: 0; }
.bar::before, .bar::after { content: ""; position: absolute; left: 0; right: 0; height: 1px; background: var(--line); transform: scaleX(0); transform-origin: left; transition: transform 1.4s cubic-bezier(.7, 0, .2, 1); }
.bar::before { top: 0; } .bar::after { bottom: 0; transition-delay: .15s; }
.bar.is-in::before, .bar.is-in::after { transform: scaleX(1); }
.bar-in > * { opacity: 0; transform: translateX(-12px); transition: opacity .8s var(--ease) .35s, transform .8s var(--ease) .35s; }
.bar.is-in .bar-in > * { opacity: 1; transform: none; }

/* 進め方のアイコンを線で書く */
.process svg * { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.4s var(--ease); }
.process.is-in svg * { stroke-dashoffset: 0; }
.process.is-in li:nth-child(2) svg * { transition-delay: .25s; }
.process.is-in li:nth-child(3) svg * { transition-delay: .5s; }
.process.is-in li:nth-child(4) svg * { transition-delay: .75s; }

/* ボタン・カードの塗りが左から流れる */
.btn-line, .lcard:not(.lcard-solid) { background-image: linear-gradient(var(--ink), var(--ink)); background-repeat: no-repeat; background-size: 0% 100%; transition: background-size .5s cubic-bezier(.7, 0, .2, 1), color .35s; }
.btn-line:hover, .lcard:not(.lcard-solid):hover { background-color: transparent; background-size: 100% 100%; color: #fff; }
.lcard:not(.lcard-solid):hover { background-color: #fff; }

@media (prefers-reduced-motion: reduce) {
  .noren *, .ln-in, .fv-kicker, .fv-tabs, .fv-lead, .fv-cta, .s-hero *, .bar-in > *, .pic, .process svg * { animation: none !important; transition: none !important; opacity: 1 !important; transform: none !important; stroke-dashoffset: 0 !important; clip-path: none !important; }
  .noren .drop, .noren .lean, .noren .panel { transform: none !important; }
  .noren .dia { transform: rotate(45deg) !important; }
  .bar::before, .bar::after, .svc-pic::before { transform: none !important; }
  .noren .scan, .noren .sheen { display: none; }
}

/* 事例・作例の箱（おいかぜ型：画像＋「社名｜内容」＋タグ） */
.case-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.case-filter button { min-height: 40px; padding: 0 16px; font: 500 13px/1 var(--sans); letter-spacing: .04em; background: #fff; color: var(--ink-2); border: 1px solid var(--line-soft); border-radius: 20px; cursor: pointer; transition: all .25s; }
.case-filter button:hover { border-color: var(--ink); color: var(--ink); }
.case-filter button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 28px; border-top: 1px solid var(--line); padding-top: 36px; }
.case { display: flex; flex-direction: column; }
.case[hidden] { display: none; }
.case-pic { aspect-ratio: 3 / 2; border: 1px solid var(--line-soft); }
.case-ph { display: flex; align-items: center; justify-content: center; background: repeating-linear-gradient(135deg, var(--bg-2) 0 12px, #efefee 12px 24px); }
.case-ph span { font-family: var(--latin); font-size: 12px; letter-spacing: .3em; color: #9a9a9a; }
.case-meta { display: flex; align-items: center; gap: 10px; margin-top: 16px; }
.case-kind { font-size: 11px; font-weight: 700; letter-spacing: .1em; padding: 2px 8px; background: var(--ink); color: #fff; border: 1px solid var(--ink); border-radius: 2px; }
.case[data-kind="作例"] .case-kind { background: #fff; color: var(--ink); }
.case-svc { font-size: 12px; color: var(--ink-3); letter-spacing: .06em; }
.cand { margin-left: auto; font-size: 11px; font-weight: 700; padding: 2px 8px; border: 1px dashed var(--ink-3); color: var(--ink-3); border-radius: 2px; }
.case h3 { margin-top: 10px; font-size: 18px; line-height: 1.6; letter-spacing: .04em; }
.case h3 .sep { margin: 0 .25em; color: var(--ink-3); font-weight: 400; }
.case-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.case-tags li { font-size: 12px; padding: 3px 10px; border: 1px solid var(--line-soft); border-radius: 2px; color: var(--ink-2); }
@media (max-width: 1023px) { .case-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .case-grid { grid-template-columns: 1fr; } }

.ft-co { align-items: center; }
.ft-co span { display: inline-flex; align-items: center; min-height: 44px; }
.empty-cases { text-align: center; color: var(--ink-3); }

/* 研修のかたち（仕様の表） */
.spec { max-width: 920px; margin-left: auto; margin-right: auto; border: 1px solid var(--line); }
.spec-h { padding: 18px 26px; background: var(--ink); color: #fff; font-size: 17px; letter-spacing: .08em; }
.spec dl { margin: 0; }
.spec dl > div { display: grid; grid-template-columns: 8em 1fr; gap: 16px; padding: 18px 26px; border-top: 1px solid var(--line-soft); }
.spec dl > div:first-child { border-top: 0; }
.spec dt { font-weight: 700; font-size: 15px; }
.spec dd { margin: 0; font-size: 15px; color: var(--ink-2); line-height: 1.85; }
@media (max-width: 600px) { .spec dl > div { grid-template-columns: 1fr; gap: 4px; } }

/* トップ：各サービスの下の「対象・事例」カード（おいかぜ型） */
.svc-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 40px; margin-top: clamp(48px, 6vw, 80px); padding-top: 32px; border-top: 1px solid var(--line-soft); }
.mini { display: flex; flex-direction: column; }
.mini h4 { margin-top: 8px; font-size: 16px; line-height: 1.6; letter-spacing: .04em; }
.mini:hover h4 { text-decoration: underline; text-underline-offset: 4px; }
.mini[data-kind="できること"] .case-kind { background: #fff; color: var(--ink); }


/* 対象・事例カード：PCでも2列。画像を左、文字を右に置いて縦に伸ばさない */
.mini { display: grid; grid-template-columns: minmax(0, 44%) minmax(0, 1fr); grid-template-rows: auto auto 1fr; column-gap: 20px; align-items: start; }
.mini .case-pic { grid-row: 1 / 4; margin: 0; }
.mini .case-meta { margin-top: 2px; }
@media (max-width: 767px) { .svc-cards { grid-template-columns: 1fr; gap: 20px; } .mini { grid-template-columns: minmax(0, 40%) minmax(0, 1fr); column-gap: 14px; } .mini h4 { font-size: 15px; } }

/* ヘッダー下のサービス帯（スマホ・タブレット。PCはメニューに常に出ている） */
.hd-sub { display: none; }
@media (max-width: 1023px) {
  .hd-sub { display: grid; grid-template-columns: repeat(3, 1fr); height: calc(var(--hd) - var(--hd-main)); border-top: 1px solid var(--line-soft); background: #fff; }
  .hd-sub a { display: flex; align-items: center; justify-content: center; position: relative; font-size: 13px; font-weight: 700; letter-spacing: .02em; white-space: nowrap; color: var(--ink-3); }
  .hd-sub a + a { border-left: 1px solid var(--line-soft); }
  .hd-sub a[aria-current="page"] { color: var(--ink); }
  .hd-sub a[aria-current="page"]::after { content: ""; position: absolute; left: 18%; right: 18%; bottom: 0; height: 3px; background: var(--ink); }
}
@media (max-width: 374px) { .hd-sub a { font-size: 12px; letter-spacing: 0; } }

/* ヒーロー：座標の札・福井の黒地・流れる帯・SCROLL */
.fv { padding-bottom: 46px; }
.fv-kicker { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 14px; margin-bottom: 28px; font-size: 13px; font-weight: 500; letter-spacing: .14em; }
.fv-kicker .geo { color: var(--ink-3); }
.fv-kicker .dot { width: 9px; height: 9px; background: var(--ink); transform: rotate(45deg); animation: blink 1.6s steps(2, jump-none) infinite; }
@keyframes blink { 50% { opacity: .15; } }
.fv .fk { position: relative; display: inline-block; padding: 0 .12em; margin-right: .06em; z-index: 0; }
.fv .fk::before { content: ""; position: absolute; inset: .14em 0 .06em; background: var(--ink); z-index: -1; transform: scaleX(0); transform-origin: left; transition: transform .9s cubic-bezier(.7, 0, .2, 1) .9s; }
.fv .fk { color: var(--ink); transition: color .01s linear 1.35s; }
.fv.is-in .fk { color: #fff; }
.fv.is-in .fk::before { transform: scaleX(1); }
.fv-ticker { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; height: 46px; overflow: hidden; background: var(--ink); color: #fff; display: flex; align-items: center; }
.fv-ticker .tk { display: flex; align-items: center; flex: none; white-space: nowrap; animation: tick 48s linear infinite; }
.fv-ticker span { font-family: var(--latin), var(--sans); font-size: 14px; font-weight: 500; letter-spacing: .2em; padding: 0 22px; }
.fv-ticker i { width: 7px; height: 7px; background: #fff; transform: rotate(45deg); flex: none; }
@keyframes tick { to { transform: translateX(-50%); } }
.fv-scroll { position: absolute; z-index: 3; left: clamp(20px, 5.6vw, 80px); bottom: 70px; display: flex; align-items: center; gap: 12px; font-size: 11px; letter-spacing: .3em; color: var(--ink-3); }
.fv-scroll i { position: relative; display: block; width: 56px; height: 1px; background: var(--line-soft); overflow: hidden; }
.fv-scroll i::after { content: ""; position: absolute; inset: 0; background: var(--ink); transform: translateX(-100%); animation: scrl 2.2s cubic-bezier(.7, 0, .2, 1) infinite; }
@keyframes scrl { 50% { transform: none; } 100% { transform: translateX(100%); } }
@media (max-width: 1023px) { .fv-scroll { display: none; } .fv-ticker { height: 40px; } .fv { padding-bottom: 40px; } .fv-ticker span { font-size: 12px; padding: 0 16px; } }
@media (prefers-reduced-motion: reduce) { .fv-ticker .tk, .fv-kicker .dot, .fv-scroll i::after { animation: none !important; } .fv .fk { color: #fff !important; } .fv .fk::before { transform: none !important; } }

/* DETAIL：行き先が分かる黒いボタン。矢印は右へ伸びる */
.detail { display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; min-width: min(100%, 360px); margin-top: 30px; padding: 16px 22px 16px 26px; background: var(--ink); color: #fff; border: 1px solid var(--ink); font-family: var(--sans); font-weight: 700; font-size: 16px; letter-spacing: .06em; transition: background .3s, color .3s; }
.detail-t { display: flex; flex-direction: column; line-height: 1.5; }
.detail-t small { font-size: 11px; font-weight: 500; letter-spacing: .24em; opacity: .7; }
.detail .arr { position: relative; width: 34px; height: 1px; background: currentColor; transition: width .4s var(--ease); flex: none; }
.detail .arr::after { content: ""; position: absolute; right: 0; top: -4px; width: 9px; height: 9px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); transform-origin: 100% 0; }
.detail:hover { background: #fff; color: var(--ink); }
.detail:hover .arr { width: 52px; }
.svc-more { margin-top: 28px; text-align: right; }
.svc-more a { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; font-size: 15px; border-bottom: 1px solid var(--ink); padding-bottom: 4px; }
.svc-more a:hover .circ { background: var(--ink); color: #fff; }
@media (max-width: 767px) { .detail { width: 100%; } .svc-more { text-align: left; } .svc-more a { font-size: 14px; } }

/* サービスページの現在地 */
.crumb { position: absolute; z-index: 2; top: 22px; left: var(--gutter); display: flex; gap: 10px; font-size: 13px; letter-spacing: .06em; color: rgba(255,255,255,.85); }
.crumb a { text-decoration: underline; text-underline-offset: 3px; }
.crumb [aria-current] { color: #fff; font-weight: 700; }

/* 担当するAIスタッフ（採用ページの社員紹介の型：縦の惹句・大きな番号・名前・役割・紹介） */
.note { font-size: 13px; color: var(--ink-3); }
.staff-group + .staff-group { margin-top: clamp(64px, 8vw, 104px); }
.staff-gh { display: flex; align-items: baseline; gap: 14px; padding-bottom: 14px; margin-bottom: 36px; border-bottom: 1px solid var(--line); font-size: 20px; letter-spacing: .06em; }
.staff-gh .en { font-size: 13px; color: var(--ink-3); font-weight: 500; }
.staff-grid { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 56px 28px; }
.staff { position: relative; display: flex; flex-direction: column; }
.staff-pic { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: #efeeec; }
.staff-pic img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; transition: transform .8s var(--ease); }
.staff:hover .staff-pic img { transform: scale(1.04); }
.staff-catch { position: absolute; top: 14px; right: 14px; display: flex; flex-direction: row-reverse; align-items: flex-start; gap: 6px; }
.staff-catch span { writing-mode: vertical-rl; background: var(--ink); color: #fff; font-weight: 700; font-size: 15px; line-height: 1; letter-spacing: .12em; padding: 10px 6px; }
.staff-ai { position: absolute; left: 12px; top: 12px; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 12px; letter-spacing: .1em; padding: 5px 10px 5px 8px; background: var(--ink); color: #fff; border-radius: 2px; }
.staff-ai i { width: 7px; height: 7px; background: #fff; transform: rotate(45deg); }
.staff-no { margin-top: -30px; position: relative; z-index: 1; font-size: clamp(44px, 4.6vw, 60px); font-weight: 500; line-height: 1; letter-spacing: .02em; color: var(--ink); -webkit-text-stroke: 0; text-shadow: 0 0 0 #fff; }
.staff-no { background: linear-gradient(to bottom, transparent 0 46%, #fff 46% 100%); align-self: flex-start; padding-right: 10px; }
.staff-roman { margin-top: 10px; font-size: 11px; letter-spacing: .22em; color: var(--ink-3); }
.staff-name { margin-top: 2px; font-size: 24px; letter-spacing: .08em; }
.staff-role { margin-top: 2px; font-size: 13px; color: var(--ink-2); letter-spacing: .06em; }
.staff-text { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line-soft); font-size: 14px; line-height: 1.9; color: var(--ink-2); }
.staff-tools { margin-top: 12px; font-size: 13px; line-height: 1.8; color: var(--ink-2); }
.staff-th { display: inline-block; margin-bottom: 8px; padding: 1px 8px; font-size: 11px; font-weight: 700; letter-spacing: .08em; background: var(--ink); color: #fff; border-radius: 2px; }
.staff-tools dl { margin: 0; border-top: 1px solid var(--line-soft); }
.staff-tools dl > div { display: grid; grid-template-columns: 6.2em 1fr; gap: 10px; padding: 6px 0; border-bottom: 1px solid var(--line-soft); }
.staff-tools dt { font-size: 12px; font-weight: 700; color: var(--ink); letter-spacing: .04em; }
.staff-tools dd { margin: 0; font-size: 12.5px; line-height: 1.7; color: var(--ink-2); }
@media (max-width: 1023px) { .staff-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) and (max-width: 1279px) { .staff-grid[style*="--cols:4"] .staff-catch span { font-size: 13px; padding: 8px 5px; } }
@media (max-width: 560px) { .staff-grid { grid-template-columns: 1fr; gap: 48px; } .staff-catch span { font-size: 14px; } }

/* BWHのトップへ戻る入口（PCはメニューの右端の小さな文字、スマホはメニューの中） */
.nav a.hd-bwh { font-size: 12px; font-weight: 500; color: var(--ink-3); border-left: 1px solid var(--line-soft); }
.nav a.hd-bwh::after { display: none; }
@media (max-width: 1023px) { .nav a.hd-bwh { border-left: 0; font-size: 15px; } }

/* 制作メニューの「使える技術」（種類ごとに複数の道具） */
.tech { margin-top: 18px; }
.tech-h { display: flex; align-items: baseline; gap: 10px; margin-bottom: 8px; font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.tech-h small { font-weight: 400; color: var(--ink-3); font-size: 11px; }
.tech dl { margin: 0; border-top: 1px solid var(--ink); }
.tech dl > div { display: grid; grid-template-columns: 7.5em 1fr; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line-soft); }
.tech dt { font-size: 13px; font-weight: 700; }
.tech dd { margin: 0; font-size: 13px; color: var(--ink-2); line-height: 1.7; }

/* ヘッダー：サービス3つと、AI社員・AI瓦版（読みもの）を分けて見せる */
.nav-grp { display: flex; align-items: center; height: 100%; }
.nav-ext { margin-left: clamp(6px, 1vw, 14px); padding-left: clamp(6px, 1vw, 14px); border-left: 1px solid var(--line-soft); }
.nav .nav-ext a:not(.hd-cta) { font-weight: 500; font-size: 13px; color: var(--ink-2); }
.nav .nav-ext a:not(.hd-cta)::before { content: ""; width: 6px; height: 6px; margin-right: 8px; border: 1px solid currentColor; transform: rotate(45deg); }
@media (min-width: 1024px) {
  .nav-grp { position: relative; }
  .nav-grp::before { content: attr(data-label); position: absolute; top: 9px; left: clamp(12px, 1.6vw, 24px); font-family: var(--latin); font-size: 9px; letter-spacing: .24em; color: var(--ink-3); }
}
@media (max-width: 1023px) {
  .nav-grp { flex-direction: column; align-items: stretch; height: auto; }
  .nav-ext { margin: 18px 0 0; padding: 14px 0 0; border-left: 0; border-top: 1px solid var(--ink); }
  .nav-grp::before { content: attr(data-label); font-family: var(--latin); font-size: 11px; letter-spacing: .24em; color: var(--ink-3); margin-top: 6px; }
}

/* 研修：助成金の札（ヒーロー）と帯 */
.s-badge { display: flex; width: fit-content; max-width: 100%; align-items: center; gap: 12px; margin: 22px auto 0; padding: 10px 18px 10px 10px; background: rgba(255,255,255,.95); color: var(--ink); font-size: 14px; font-weight: 700; line-height: 1.6; text-align: left; border-radius: 2px; }
.s-badge b { flex: none; padding: 3px 10px; background: var(--ink); color: #fff; font-size: 12px; letter-spacing: .1em; }
.s-hero .s-badge { opacity: 0; transform: translateY(14px); transition: opacity .9s var(--ease) .62s, transform .9s var(--ease) .62s; }
.s-hero.is-in .s-badge { opacity: 1; transform: none; }
.subsidy-box { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; max-width: 1040px; margin: clamp(40px, 5vw, 64px) auto 0; padding: 28px 32px; border: 2px solid var(--ink); background: #fff; }
.subsidy-k { writing-mode: vertical-rl; padding: 12px 8px; background: var(--ink); color: #fff; font-weight: 900; font-size: 16px; letter-spacing: .2em; }
.subsidy-h { font-size: clamp(18px, 2vw, 22px); font-weight: 900; line-height: 1.6; }
.subsidy-t { margin-top: 8px; font-size: 14px; color: var(--ink-2); line-height: 1.9; }
@media (max-width: 600px) { .subsidy-box { grid-template-columns: 1fr; gap: 14px; padding: 22px 20px; } .subsidy-k { writing-mode: horizontal-tb; justify-self: start; padding: 4px 12px; } .s-badge { font-size: 13px; } }
@media (prefers-reduced-motion: reduce) { .s-hero .s-badge { opacity: 1 !important; transform: none !important; } }

/* スマホのメニュー：ヘッダーのぼかし（backdrop-filter）の中では fixed の高さがヘッダー基準になるため、高さを明示する */
@media (max-width: 1023px) { .nav { bottom: auto; height: calc(100svh - var(--hd)); } }

/* トップの事例：サービスごとの区分 */
.case-group + .case-group { margin-top: clamp(56px, 7vw, 88px); }
.case-group .case-grid { border-top: 0; padding-top: 0; }
.case-group .staff-gh { position: relative; }
.case-more { margin-left: auto; display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; }
.case-more:hover .circ { background: var(--ink); color: #fff; }
@media (max-width: 600px) { .case-group .staff-gh { flex-wrap: wrap; } .case-more { margin-left: 0; width: 100%; } }

/* 事例・活用例カード：課題・使ったもの・できたこと */
a.case { color: inherit; }
a.case:hover h3 { text-decoration: underline; text-underline-offset: 4px; }
.case[data-kind="活用例"] .case-kind { background: #fff; color: var(--ink); }
.case-pts { margin: 14px 0 0; border-top: 1px solid var(--line-soft); }
.case-pts > div { display: grid; grid-template-columns: 5.6em 1fr; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line-soft); }
.case-pts dt { font-size: 12px; font-weight: 700; letter-spacing: .04em; }
.case-pts dd { margin: 0; font-size: 13px; line-height: 1.75; color: var(--ink-2); }
.case-read { display: inline-flex; align-items: center; gap: 10px; margin-top: 14px; font-size: 13px; font-weight: 700; }
a.case:hover .case-read .circ { background: var(--ink); color: #fff; }

/* 事例の記事ページ */
.article { margin-top: var(--hd); }
.crumb-dark { position: static; color: var(--ink-3); padding-top: 28px; }
.crumb-dark [aria-current] { color: var(--ink); }
.art-head { padding-top: 8px; }
.art-head .case-meta { margin-top: 36px; }
.art-head h1 { margin-top: 14px; font-size: clamp(26px, 3.6vw, 44px); font-weight: 900; line-height: 1.5; letter-spacing: .02em; max-width: 24em; }
.art-head h1 .sep { margin: 0 .25em; color: var(--ink-3); font-weight: 400; }
.art-pic { margin-top: 36px; aspect-ratio: 16 / 7; overflow: hidden; }
.art-pic img { width: 100%; height: 100%; object-fit: cover; }
.art-body { max-width: calc(860px + var(--gutter) * 2); padding-bottom: var(--sec); }
.art-sec { display: grid; grid-template-columns: 64px 1fr; column-gap: 24px; padding: 40px 0; border-bottom: 1px solid var(--line-soft); }
.art-sec > h2, .art-sec > p, .art-sec > ul, .art-sec > ol, .art-sec > .art-table, .art-sec > .art-note { grid-column: 2; }
.art-no { grid-column: 1 !important; grid-row: 1 / 3; font-size: 32px; font-weight: 500; line-height: 1; color: var(--ink-3); }
.art-sec h2 { font-size: 20px; letter-spacing: .06em; }
.art-lead { margin-top: 12px; font-size: clamp(16px, 1.5vw, 18px); line-height: 2; }
.art-result { background: var(--bg-2); padding-left: 24px; padding-right: 24px; border-bottom: 0; margin-top: 8px; }
.art-tools { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.art-tools li { padding: 6px 14px; border: 1px solid var(--ink); font-size: 14px; font-weight: 700; }
.art-steps { margin-top: 14px; counter-reset: st; }
.art-steps li { position: relative; padding: 10px 0 10px 44px; border-bottom: 1px dashed var(--line-soft); font-size: 15px; line-height: 1.8; counter-increment: st; }
.art-steps li::before { content: counter(st); position: absolute; left: 0; top: 10px; width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; background: var(--ink); color: #fff; font-family: var(--latin); font-size: 13px; }
.art-h-sm { grid-column: 1 / -1 !important; font-size: 15px !important; }
.art-staff { grid-column: 1 / -1 !important; display: flex; flex-wrap: wrap; gap: 20px; margin-top: 14px; }
.art-staff li { display: flex; align-items: center; gap: 12px; }
.art-staff img { width: 64px; height: 80px; object-fit: cover; object-position: 50% 15%; background: #efeeec; }
.art-staff b { display: block; font-size: 15px; }
.art-staff small { font-size: 12px; color: var(--ink-3); }
@media (max-width: 600px) { .art-sec { grid-template-columns: 1fr; } .art-no { grid-row: auto; margin-bottom: 8px; font-size: 22px; } .art-sec > * { grid-column: 1 !important; } .art-result { padding-left: 16px; padding-right: 16px; } .art-pic { aspect-ratio: 3 / 2; } }

/* 解説記事 */
.art-card .case-kind { background: #fff; color: var(--ink); border-style: double; border-width: 3px; }
.art-ex { margin-top: 10px; font-size: 13px; line-height: 1.8; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.art-conclusion { margin-top: 40px; padding: 22px 24px; border-left: 4px solid var(--ink); background: var(--bg-2); }
.art-conclusion b { display: block; font-size: 12px; letter-spacing: .2em; margin-bottom: 6px; }
.art-toc { margin-top: 28px; padding: 18px 24px; border: 1px solid var(--line-soft); }
.art-toc p { font-size: 12px; font-weight: 700; letter-spacing: .2em; }
.art-toc ol { margin-top: 8px; padding-left: 0; list-style: none; font-size: 14px; line-height: 2; }
.art-sec-plain { display: block; }
.art-sec-plain h2 { font-size: clamp(19px, 2vw, 22px); line-height: 1.6; padding-left: 14px; border-left: 4px solid var(--ink); }
.art-sec-plain p { margin-top: 14px; font-size: 16px; line-height: 2; }
.art-sec-plain .faq { margin-top: 16px; }
.art-svc { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 48px; padding: 22px 26px; background: var(--ink); color: #fff; }
.art-svc small { display: block; font-size: 12px; opacity: .7; }
.art-svc b { font-size: 20px; }

/* 記事の台帳（確認用の版だけ） */
.admin-t { width: 100%; border-collapse: collapse; font-size: 13px; }
.admin-t th, .admin-t td { padding: 8px 10px; border-bottom: 1px solid var(--line-soft); text-align: left; vertical-align: top; }
.admin-t th { background: var(--ink); color: #fff; font-weight: 700; white-space: nowrap; }
.admin-t .num-r { text-align: right; }
.admin-t code { font-size: 12px; }

.art-ov { margin: 28px 0 8px; border-top: 2px solid var(--ink); }
.art-ov > div { display: grid; grid-template-columns: 7em 1fr; gap: 14px; padding: 10px 4px; border-bottom: 1px solid var(--line-soft); }
.art-ov dt { font-weight: 700; font-size: 14px; }
.art-ov dd { margin: 0; font-size: 14px; color: var(--ink-2); line-height: 1.8; }

/* 解説記事：要点・まとめ・途中の相談枠・図解（2026-10 SEO） */
.art-points { margin-top: 24px; padding: 22px 24px; border: 2px solid var(--ink); }
.art-points > p { font-size: 13px; font-weight: 900; letter-spacing: .16em; margin-bottom: 8px; }
.art-points ul, .art-summary ul { margin: 0; padding-left: 1.3em; line-height: 1.9; }
.art-points li, .art-summary li { margin-bottom: .4em; }
.art-points li::marker, .art-summary li::marker { color: var(--ink); }
.art-summary ul { padding: 20px 24px 20px 2.6em; background: var(--bg-2); }
.art-sec p { line-height: 2; }
.art-sec p b, .art-sec li b { background: linear-gradient(transparent 62%, #fde68a 62%); }
.art-cta { margin: 8px 0 28px; padding: 24px; background: var(--ink); color: #fff; }
.art-cta-lead { font-weight: 700; line-height: 1.8; margin-bottom: 14px; }
.art-cta-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.art-cta-main, .art-cta-sub { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 22px; font-weight: 700; letter-spacing: .04em; text-decoration: none; }
.art-cta-main { background: #fff; color: var(--ink); }
.art-cta-main::after { content: "→"; margin-left: 10px; }
.art-cta-sub { border: 1px solid rgba(255,255,255,.6); color: #fff; }
.art-cta-main:hover { background: #fde68a; }
.art-cta-sub:hover { background: rgba(255,255,255,.12); }
.art-fig { margin: 8px 0 28px; }
.art-fig img { width: 100%; height: auto; display: block; }
.art-fig figcaption { margin-top: 8px; font-size: 13px; color: var(--ink-3); line-height: 1.7; }
.fig-box { padding: 22px 20px; border: 1px solid var(--line-soft); background: #fff; }
.fig-title { font-size: 14px; font-weight: 900; margin-bottom: 14px; }
.fig-bars { display: grid; gap: 10px; }
.fig-bar { display: grid; grid-template-columns: 7.5em 1fr 3.6em; align-items: center; gap: 10px; font-size: 14px; }
.fig-bar .track { height: 18px; background: var(--bg-2); }
.fig-bar .fill { display: block; height: 100%; background: var(--ink-3); }
.fig-bar.is-hl .fill { background: var(--ink); }
.fig-bar.is-hl { font-weight: 900; }
.fig-bar .val { text-align: right; font-family: var(--latin); font-weight: 500; }
.fig-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: st; }
.fig-step { position: relative; padding: 16px 14px 16px 14px; border: 2px solid var(--ink); margin-right: 18px; background: #fff; }
.fig-step:last-child { margin-right: 0; background: var(--ink); color: #fff; }
.fig-step:not(:last-child)::after { content: ""; position: absolute; right: -16px; top: 50%; transform: translateY(-50%); border: 8px solid transparent; border-left: 10px solid var(--ink); }
.fig-step .n { font-family: var(--latin); font-size: 12px; letter-spacing: .12em; }
.fig-step b { display: block; font-size: 17px; margin: 2px 0 6px; }
.fig-step small { display: block; font-size: 12.5px; line-height: 1.6; }
.fig-flow { display: grid; gap: 0; }
.fig-flow-row { display: grid; grid-template-columns: 2.4em 1fr auto; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--line-soft); }
.fig-flow-row .n { width: 2.2em; height: 2.2em; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-family: var(--latin); font-weight: 500; }
.fig-flow-row b { display: block; }
.fig-flow-row small { color: var(--ink-3); font-size: 13px; }
.fig-flow-row .tag { font-size: 12px; font-weight: 700; padding: 4px 10px; border: 1px solid var(--ink); white-space: nowrap; }
.fig-flow-row .tag.is-free { background: #fde68a; border-color: #fde68a; }
@media (max-width: 700px) {
  .fig-steps { grid-template-columns: 1fr; }
  .fig-step { margin: 0 0 18px; }
  .fig-step:not(:last-child)::after { right: auto; left: 50%; top: auto; bottom: -18px; transform: translateX(-50%); border: 8px solid transparent; border-top: 10px solid var(--ink); }
  .fig-bar { grid-template-columns: 6.5em 1fr 3.2em; font-size: 13px; }
  .fig-flow-row { grid-template-columns: 2.4em 1fr; }
  .fig-flow-row .tag { grid-column: 2; justify-self: start; }
  .art-cta-btns > a { width: 100%; }
}
.art-points ul, .art-summary ul, .art-sec > ul { list-style: disc; }
.art-sec > ol { list-style: decimal; }
/* 記事の表と注意書き（解説記事の本文に表・箇条書き・注意を入れるため） */
.art-sec > ul, .art-sec > ol { margin: 0 0 1.2em; padding-left: 1.4em; line-height: 1.9; }
.art-sec > ul li, .art-sec > ol li { margin-bottom: .5em; }
.art-table { overflow-x: auto; margin: 0 0 1.4em; }
.art-table table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.7; }
.art-table th, .art-table td { border: 1px solid var(--line-soft); padding: 10px 12px; text-align: left; vertical-align: top; }
.art-table th { background: #f4f4f2; font-weight: 700; }
.art-note { margin: 0 0 1.4em; padding: 16px 20px; border-left: 4px solid currentColor; background: #f7f7f5; line-height: 1.9; }
.art-note b { display: block; margin-bottom: 4px; }
.art-sources { font-size: 14px; word-break: break-all; }
.fig-box, .fig-box * { word-break: normal; overflow-wrap: anywhere; }
.fig-step em { display: block; margin-top: 8px; font-style: normal; font-size: 12px; font-weight: 700; opacity: .75; }
/* 記事の最後の「AI よろづやについて」 */
.art-about { margin-top: 56px; padding: 32px 28px; border: 2px solid var(--ink); }
.art-about-label { font-family: var(--latin); font-size: 12px; letter-spacing: .2em; color: var(--ink-3); }
.art-about h2 { font-size: 22px; margin: 4px 0 12px; }
.art-about > p { line-height: 2; }
.art-about-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 20px 0; }
.art-about-card { display: block; padding: 16px; border: 1px solid var(--line-soft); text-decoration: none; color: var(--ink); background: #fff; transition: border-color .2s; }
.art-about-card:hover { border-color: var(--ink); }
.art-about-card.is-cur { border: 2px solid var(--ink); }
.art-about-card small { display: block; font-family: var(--latin); font-size: 11px; letter-spacing: .14em; color: var(--ink-3); }
.art-about-card b { display: block; font-size: 17px; margin: 2px 0 6px; }
.art-about-card span { display: block; font-size: 13px; line-height: 1.7; color: var(--ink-2); }
.art-about-cta { padding: 22px 24px; background: var(--ink); color: #fff; }
.art-about-cta p { line-height: 1.9; margin-bottom: 14px; }
.art-about-cta p b { display: block; font-size: 18px; }
@media (max-width: 700px) { .art-about { padding: 24px 18px; } .art-about-cards { grid-template-columns: 1fr; } }
/* ---------- 事例記事（読み応え版）10/5 ---------- */
.art-hook{font-size:1.06rem;line-height:2;margin:0 0 28px;color:var(--ink)}
.art-prof{border:1px solid var(--line-soft);border-radius:6px;padding:20px 22px;margin:0 0 28px;background:var(--bg-2)}
.art-prof-h{font-weight:700;margin:0 0 10px;display:flex;gap:10px;align-items:baseline}
.art-prof-h .en{font-size:.72rem;letter-spacing:.14em;color:var(--ink)}
.art-prof .art-ov{margin:0}
.art-hn{display:inline-block;font-size:.8rem;letter-spacing:.08em;color:var(--ink);margin-right:10px;vertical-align:.15em}
.art-toc a{color:inherit;text-decoration:none;border-bottom:1px dotted currentColor}
.art-fig{margin:24px 0 8px}
.art-fig img{background:#fff;width:100%;height:auto;display:block;border:1px solid var(--line-soft);border-radius:6px;box-shadow:0 10px 28px rgba(20,24,40,.10)}
.art-fig figcaption{font-size:.84rem;color:var(--ink-3);margin-top:10px;line-height:1.7}
.art-list{list-style:none;padding:0;margin:16px 0}
.art-list li{padding:12px 0 12px 16px;border-left:3px solid var(--ink);margin:0 0 10px;background:var(--bg-2);padding-right:14px;line-height:1.85}
.art-flow{list-style:none;counter-reset:none;padding:0;margin:18px 0;display:grid;gap:8px}
.art-flow li{display:grid;grid-template-columns:minmax(150px,34%) 1fr;gap:14px;padding:12px 14px;border:1px solid var(--line-soft);border-radius:6px;line-height:1.7}
.art-flow b{font-weight:700}
@media (max-width:600px){.art-flow li{grid-template-columns:1fr;gap:4px}}
.art-voice{margin:18px 0;padding:18px 20px 16px 52px;position:relative;background:var(--bg-2);border-radius:6px}
.art-voice::before{content:"“";position:absolute;left:16px;top:4px;font-size:2.6rem;line-height:1;color:var(--ink);font-family:serif}
.art-voice p{margin:0;font-weight:700;line-height:1.8}
.art-voice cite{display:block;margin-top:6px;font-style:normal;font-size:.8rem;color:var(--ink-3)}
.art-point{margin:22px 0 6px;padding:16px 18px;border:2px solid var(--ink);border-radius:6px;display:flex;gap:14px;align-items:flex-start}
.art-point b{flex:none;font-size:.72rem;letter-spacing:.14em;background:var(--ink);color:#fff;padding:3px 8px;border-radius:3px;margin-top:3px}
.art-point p{margin:0;line-height:1.85;font-weight:600}
/* AI瓦版：解説記事と速報 */
.kw-h{display:flex;align-items:baseline;gap:12px;font-size:1.25rem;margin:0 0 10px}
.kw-h .en{font-size:.72rem;letter-spacing:.14em;color:var(--ink-3);font-weight:400}
.kw-tag{font-size:.75rem;background:var(--ink);color:#fff;padding:3px 9px;border-radius:3px;font-weight:700}
.kw-arts{margin:0 0 64px}

.art-pic + .art-body .art-hook, .art-body > .art-hook:first-child{margin-top:36px}
/* トップの事例は小さなカードで（課題などは記事ページで読む。静木さん 10/5「縦に幅取りすぎ」） */
.case-grid-compact { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.case-grid-compact .case h3 { font-size: 15px; line-height: 1.6; margin-top: 8px; }
.case-grid-compact .case-read { margin-top: 10px; font-size: 13px; }
.case-grid-compact .case-pic { aspect-ratio: 16 / 10; }
@media (max-width: 700px) { .case-grid-compact { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .case-grid-compact .case h3 { font-size: 13.5px; } .case-grid-compact .case-meta { font-size: 11px; } }
.cases-box .case-group + .case-group { margin-top: 40px; }
.case-grid-compact { grid-template-columns: repeat(4, minmax(0, 1fr)); padding-top: 20px; }
.case-grid-compact .case-pic { aspect-ratio: 16 / 9; }
@media (max-width: 1000px) { .case-grid-compact { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) { .case-grid-compact { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.case-links { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: flex-end; margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line-soft); }
.case-links .case-more { margin-left: 0; }
.fig-steps.is-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 700px) { .fig-steps.is-3 { grid-template-columns: 1fr; } }

/* 小カードの区分名が狭い幅で横にはみ出さないように（10/5） */
.case-grid-compact .case-meta { flex-wrap: wrap; gap: 4px 8px; min-width: 0; }
.case-grid-compact .case-svc { min-width: 0; overflow-wrap: anywhere; }
/* 記事のひな形（そのまま直して使える文案） */
.art-template { margin: 8px 0 28px; padding: 24px 26px; border: 2px dashed var(--ink-3); background: #fff; }
.art-template-title { font-weight: 900; font-size: 17px; margin-bottom: 12px; }
.art-template ol { list-style: decimal; padding-left: 1.4em; line-height: 1.9; }
.art-template li { margin-bottom: .7em; }
.art-template-note { margin-top: 12px; font-size: 13px; color: var(--ink-3); }
@media (max-width: 700px) { .art-template { padding: 18px 16px; } }
