/* =========================================================
   pages.css — 実績・記事・相談メニュー・プロフィール・お問い合わせ・404
   site.css の上に重ねる。色・書体・部品の言葉は site.css と同じ。
   ========================================================= */

/* ---------- 共通の小物 ---------- */
.sec-white { background: #fff; }
.dotrule { position: relative; }
.dotrule::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; pointer-events: none;
  background: radial-gradient(circle, rgba(37, 99, 235, .55) 1.2px, transparent 1.7px) 0 50% / 12px 3px repeat-x;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
}
@media (prefers-reduced-motion: no-preference) {
  .dotrule::before { animation: dotline 6s linear infinite; }
}
@keyframes dotline { to { background-position: 120px 50%; } }
.mh { margin: 0 0 10px; font-size: 12.5px; font-weight: 700; letter-spacing: .12em; color: var(--ink-3); }
.mini-copy {
  margin-left: 10px; padding: 2px 10px; border-radius: 8px; vertical-align: 1px;
  font-size: 12.5px; color: var(--blue-2); background: #fff; border: 1px solid #c9daf8; cursor: pointer;
}
.mini-copy:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.print-only { display: none; }

/* 図の中のラベル（fx.js が位置を決める） */
.fx-label {
  position: absolute; left: 0; top: 0; z-index: 1; margin: 0; pointer-events: none;
  padding: 2px 10px; border-radius: 999px; white-space: nowrap;
  font-size: 12.5px; font-weight: 700; line-height: 1.6; color: var(--blue-ink);
  background: rgba(255, 255, 255, .9); border: 1px solid #cfe0fb;
  box-shadow: 0 8px 18px -12px rgba(11, 22, 48, .45);
  opacity: 0; transition: opacity .4s;
  will-change: transform;
}
.fx-labels-on .fx-label { opacity: 1; }
.fx-label.is-hub { color: #fff; background: var(--ink); border-color: var(--ink); font-family: var(--f-mono); font-weight: 500; }
.fx-label.is-core { font-family: var(--f-num); font-weight: 600; font-size: 15px; color: #fff; background: var(--blue); border-color: var(--blue); }

/* 時系列（都知事杯） */
.tl { position: relative; list-style: none; margin: 16px 0 0; padding: 0 0 0 22px; border-left: 2px solid var(--blue-soft); }
.tl li { position: relative; padding: 2px 0 10px; }
.tl li::before {
  content: ""; position: absolute; left: -29px; top: 9px; width: 12px; height: 12px; border-radius: 50%;
  background: var(--blue); box-shadow: 0 0 0 4px #fff, 0 0 0 5px var(--blue-soft);
}
.tl li.is-next::before { background: #fff; border: 2px solid var(--blue); }
.tl time, .tl .when { display: block; font-family: var(--f-mono); font-size: 13px; color: var(--blue-2); }
.tl p { margin: 0; font-size: 15px; line-height: 1.7; color: var(--ink); }
.tl .tag { margin-left: 8px; padding: 0 8px; border-radius: 999px; font-size: 12px; color: var(--ink-3); border: 1px solid var(--line-2); }

/* 画面の縮図（リンクのサムネイル） */
.thumb { display: block; overflow: hidden; aspect-ratio: 16 / 10; border-radius: 10px; background: #0b1222; border: 1px solid var(--line-2); }
.thumb img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; transition: transform .5s var(--ease); }
.thumb.is-none {
  display: grid; place-items: center;
  background: radial-gradient(circle, rgba(37, 99, 235, .3) 1px, transparent 1.6px) 0 0 / 8px 8px, #f4f8fe;
}
.thumb.is-none span { font-size: 12px; color: var(--ink-3); background: rgba(255, 255, 255, .9); padding: 0 6px; border-radius: 4px; line-height: 1.6; }

/* =========================================================
   実績（外部評価・受賞）
   ========================================================= */
.aw-hero .phero-grid { align-items: stretch; }
.aw-hero .phero-visual { min-height: 540px; }
.aw-seal { position: absolute; inset: 0; min-height: 0; }
.aw-index { margin-top: 30px; max-width: 560px; }
.aw-index-h { display: flex; align-items: baseline; gap: 10px; margin: 0 0 6px; font-size: 12.5px; font-weight: 700; letter-spacing: .12em; color: var(--ink-3); }
.aw-index-h span { font-family: var(--f-mono); font-weight: 500; letter-spacing: 0; color: var(--blue-2); }
.aw-index ol { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-2); }
.aw-index li { border-bottom: 1px solid var(--line); }
.aw-index a {
  display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 10px; align-items: center;
  padding: 9px 6px; text-decoration: none; color: var(--ink); transition: background-color .2s, color .2s;
}
.aw-index a:hover { background: rgba(255, 255, 255, .8); color: var(--blue-2); }
.ai-no { font-family: var(--f-mono); font-size: 12.5px; color: var(--blue); }
.ai-name { font-size: 14.5px; font-weight: 500; line-height: 1.5; }
.ai-k { font-size: 12.5px; font-weight: 700; color: var(--blue-ink); padding: 1px 9px; border-radius: 999px; background: var(--blue-mist); border: 1px solid #d6e3fa; white-space: nowrap; }
.aw-index li:first-child .ai-k { color: var(--ink-3); background: #fff; border-color: var(--line-2); }

.aw-ledger-sec { background: #fff; }
.ledger { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; counter-reset: led; }
.entry {
  position: relative; display: grid; grid-template-columns: 88px minmax(0, 1fr) minmax(0, 330px);
  grid-template-areas: "no main fig" "no tools fig";
  gap: 0 clamp(20px, 3vw, 40px); padding: clamp(22px, 2.6vw, 32px) clamp(20px, 2.6vw, 32px) 18px 0;
  border-radius: 24px; background: linear-gradient(180deg, #fff, #f8fbff); border: 1px solid var(--line);
  scroll-margin-top: calc(var(--header-h) + 20px);
  transition: border-color .3s, box-shadow .35s;
}
.entry:hover { border-color: #bcd0f3; box-shadow: 0 34px 60px -48px rgba(37, 99, 235, .5); }
.entry:target { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(37, 99, 235, .14), 0 34px 60px -48px rgba(37, 99, 235, .5); }
.en-no {
  grid-area: no; margin: 0; padding-top: 2px; text-align: center;
  font-family: var(--f-num); font-weight: 500; font-size: 46px; line-height: 1; color: #b5c9ec;
  font-variant-numeric: lining-nums;
}
.entry:hover .en-no, .entry:target .en-no { color: var(--blue); }
.en-main { grid-area: main; min-width: 0; }
.en-kind {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 12px; padding: 3px 12px; border-radius: 999px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .06em; color: var(--blue-2); background: var(--blue-mist); border: 1px solid #d6e3fa;
}
.en-kind span { font-family: var(--f-mono); font-weight: 500; letter-spacing: 0; color: var(--ink-3); padding-left: 10px; border-left: 1px solid #c9daf8; }
.en-title { margin: 0; font-family: var(--f-head); font-weight: 900; color: var(--ink); font-size: clamp(1.25rem, 1.9vw, 1.6rem); line-height: 1.45; font-feature-settings: "palt"; }
.en-text { margin: 10px 0 0; max-width: 40em; font-size: 15.5px; line-height: 1.85; color: var(--ink-2); }
.en-note { margin: 16px 0 0; padding-top: 12px; border-top: 1px dashed #c8d5ea; font-size: 13px; line-height: 1.7; color: var(--note); max-width: 44em; }
.en-mini { display: grid; gap: 4px; margin: 14px 0 0; font-size: 14px; }
.en-mini div { display: grid; grid-template-columns: 4em minmax(0, 1fr); gap: 10px; }
.en-mini dt { color: var(--ink-3); }
.en-mini dd { margin: 0; color: var(--ink); }
.en-tools { grid-area: tools; align-self: end; padding-top: 14px; }
.en-link {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px;
  font-size: 13px; font-weight: 700; color: var(--ink-3); background: #fff; border: 1px solid var(--line-2); cursor: pointer;
  transition: color .2s, border-color .2s;
}
.en-link .i { width: 14px; height: 14px; }
.en-link:hover { color: var(--blue-2); border-color: var(--blue); }
.en-fig {
  grid-area: fig; align-self: stretch; display: flex; flex-direction: column; align-items: center; justify-content: center;
  margin: 0; padding: 18px; border-radius: 18px; text-align: center;
  background:
    radial-gradient(circle, rgba(37, 99, 235, .14) 1px, transparent 1.6px) 0 0 / 14px 14px,
    linear-gradient(180deg, #f7faff, #eef4fd);
  border: 1px solid #e1e9f6;
}
.en-fig figcaption { margin-top: 10px; font-size: 13px; font-weight: 700; color: var(--ink-3); letter-spacing: .04em; }
.en-big { display: flex; align-items: baseline; gap: 6px; margin: 0; color: var(--blue-ink); }
.en-big b {
  font-family: var(--f-num); font-weight: 600; font-size: clamp(84px, 8vw, 116px); line-height: .9; letter-spacing: -.03em;
  font-variant-numeric: lining-nums;
}
.en-big span { font-family: var(--f-head); font-weight: 900; font-size: 26px; }
.en-word { font-family: var(--f-num); font-weight: 600; font-size: clamp(56px, 5.4vw, 76px); line-height: 1; letter-spacing: -.01em; }
.en-medal { position: relative; display: grid; place-items: center; width: 124px; aspect-ratio: 1; margin: 0; border-radius: 50%;
  background: radial-gradient(circle, #fff 52%, transparent 53%), repeating-conic-gradient(from 0deg, rgba(37, 99, 235, .55) 0 2deg, transparent 2deg 8deg);
  box-shadow: 0 0 0 1px #c9daf8 inset, 0 20px 40px -28px rgba(37, 99, 235, .6);
}
.en-medal span { font-family: var(--f-head); font-weight: 900; font-size: 46px; color: var(--blue-ink); line-height: 1; }
.entry-plain { grid-template-columns: 88px minmax(0, 1fr) minmax(0, 330px); }
.entry-plain .en-facts { grid-area: fig; align-self: start; margin: 0; border-top: 1px solid var(--line-2); }
.en-facts div { display: grid; grid-template-columns: 4em minmax(0, 1fr); gap: 12px; padding: 11px 2px; border-bottom: 1px solid var(--line); }
.en-facts dt { font-size: 13px; color: var(--ink-3); padding-top: 2px; }
.en-facts dd { margin: 0; font-size: 14.5px; line-height: 1.65; color: var(--ink); }
.en-keys { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.en-keys li { padding: 1px 9px; border-radius: 6px; font-size: 13px; color: var(--blue-ink); background: var(--blue-mist); border: 1px solid #d6e3fa; }

.en-fig-select { padding: 14px; justify-content: flex-start; }
.en-select { width: 100%; height: 200px; min-height: 0; border-radius: 12px; cursor: pointer; }
.sel-flow { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 4px 10px; color: var(--blue-ink); }
.sel-flow .from { font-family: var(--f-head); font-weight: 700; font-size: 14px; color: var(--ink-3); }
.sel-flow .from b { font-family: var(--f-num); font-size: 30px; font-weight: 600; color: var(--blue-ink); margin-right: 2px; font-variant-numeric: lining-nums; }
.sel-flow .arrow { align-self: center; width: 34px; height: 10px; position: relative; background: linear-gradient(90deg, var(--blue-xl), var(--blue)) 0 50% / 100% 2px no-repeat; }
.sel-flow .arrow::after { content: ""; position: absolute; right: 0; top: 50%; width: 7px; height: 7px; border: solid var(--blue); border-width: 2px 2px 0 0; transform: translate(-1px, -50%) rotate(45deg); }
.sel-flow .to { font-family: var(--f-head); font-weight: 900; font-size: 18px; }
.sel-flow .to b { font-family: var(--f-num); font-weight: 600; font-size: 52px; line-height: .9; letter-spacing: -.02em; font-variant-numeric: lining-nums; }
.sel-flow .lab { flex-basis: 100%; font-family: var(--f-head); font-weight: 900; font-size: 15px; letter-spacing: .08em; color: var(--blue-2); }
.sel-cap { display: block; margin-top: 6px; font-size: 12.5px; font-weight: 500; line-height: 1.6; color: var(--note); letter-spacing: 0; }

.en-work {
  display: grid; grid-template-columns: 112px minmax(0, 1fr) auto; gap: 14px; align-items: center;
  max-width: 460px; margin-top: 16px; padding: 10px 14px 10px 10px; border-radius: 16px;
  text-decoration: none; color: var(--ink-2); background: #fff; border: 1px solid var(--line);
  transition: border-color .25s, transform .3s var(--ease), box-shadow .3s;
}
.en-work:hover { border-color: #bcd0f3; transform: translateY(-2px); box-shadow: 0 20px 36px -28px rgba(37, 99, 235, .6); }
.en-work:hover .thumb img { transform: scale(1.06); }
.en-work .k { display: block; font-size: 12px; font-weight: 700; letter-spacing: .1em; color: var(--blue-2); }
.en-work b { display: block; font-family: var(--f-head); font-size: 16.5px; color: var(--ink); line-height: 1.4; }
.en-work small { display: block; font-size: 13px; color: var(--ink-3); }
.en-work > .i { color: var(--blue); }
.aw-foot { margin: 22px 4px 0; font-size: 14px; color: var(--ink-3); }
.aw-foot a, .aw-also a { color: var(--blue-2); text-underline-offset: 3px; }

.aw-share { background: var(--paper); }
.share-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.share-tiles li { display: flex; flex-direction: column; align-items: flex-start; padding: 24px 24px 22px; border-radius: 20px; background: #fff; border: 1px solid var(--line); }
.st-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; color: var(--blue); background: var(--blue-mist); border: 1px solid #cfe0fb; }
.st-ic .i { width: 22px; height: 22px; }
.st-k { margin: 16px 0 0; font-size: 12.5px; font-weight: 700; letter-spacing: .1em; color: var(--blue-2); }
.st-t { margin: 4px 0 0; font-family: var(--f-head); font-weight: 900; font-size: 1.2rem; color: var(--ink); }
.st-d { margin: 8px 0 18px; font-size: 14.5px; line-height: 1.8; color: var(--ink-2); }
.share-tiles .btn { margin-top: auto; }
.aw-also { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 22px 4px 0; font-size: 14.5px; color: var(--ink-3); }
.aw-also span { flex-basis: 100%; }

/* =========================================================
   記事
   ========================================================= */
.art-hero .phero-grid { align-items: stretch; }
.art-hero .phero-visual { min-height: 520px; }
.art-graph { position: absolute; inset: 0; min-height: 0; }
.art-hero .phero-title { font-size: clamp(1.95rem, 4vw, 3.45rem); }
.art-stats { display: grid; grid-template-columns: repeat(4, minmax(0, auto)); justify-content: start; gap: 0; margin: 28px 0 0; border: 1px solid var(--line); border-radius: 16px; background: rgba(255, 255, 255, .8); overflow: hidden; }
.art-stats div { padding: 12px 20px; border-left: 1px solid var(--line); }
.art-stats div:first-child { border-left: 0; }
.art-stats dt { font-size: 12.5px; font-weight: 700; letter-spacing: .1em; color: var(--ink-3); }
.art-stats dd { margin: 2px 0 0; font-family: var(--f-head); font-weight: 700; font-size: 15px; color: var(--ink); white-space: nowrap; }
.art-stats dd b { font-family: var(--f-num); font-weight: 600; font-size: 30px; line-height: 1; color: var(--blue-ink); margin-right: 3px; font-variant-numeric: lining-nums; }
.art-stats dd span { color: var(--blue-l); margin: 0 3px; }

.art-picks { background: #fff; }
.picks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.pick { display: flex; flex-direction: column; }
.pick-main {
  position: relative; display: flex; flex-direction: column; flex: 1; padding: 26px; border-radius: 22px;
  color: var(--ink-2); text-decoration: none; background: linear-gradient(180deg, #fff, #f6f9ff); border: 1px solid var(--line);
  transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
}
.pick-main:hover { transform: translateY(-4px); border-color: #bcd0f3; box-shadow: 0 26px 44px -32px rgba(37, 99, 235, .55); }
.pick-top { display: flex; align-items: flex-start; justify-content: space-between; }
.pick-glyph svg { width: 116px; height: 68px; fill: none; stroke: var(--blue); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.pick-glyph .g-arrow { stroke: var(--blue-l); }
.pick-no { font-family: var(--f-num); font-weight: 500; font-size: 44px; line-height: 1; color: #c3d4ef; }
.pick-cat { display: flex; align-items: center; gap: 10px; margin-top: 18px; font-size: 12.5px; font-weight: 700; letter-spacing: .06em; color: var(--blue-2); }
.pick-media { padding: 0 8px; border-radius: 999px; font-weight: 500; color: var(--ink-3); border: 1px solid var(--line-2); }
.pick-title { margin-top: 8px; font-family: var(--f-head); font-weight: 700; font-size: 1.16rem; line-height: 1.6; color: var(--ink); }
.pick-learn { margin-top: auto; padding-top: 18px; font-size: 14.5px; line-height: 1.75; color: var(--ink-2); }
.pick-learn .h { display: block; margin-bottom: 4px; font-size: 12.5px; font-weight: 700; letter-spacing: .08em; color: var(--blue-2); }
.pick-foot { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 12px 6px 0; font-size: 13.5px; }
.pick-foot a { color: var(--blue-2); text-underline-offset: 3px; }

.art-index { background: var(--paper); }
.art-bar { display: grid; gap: 12px; margin-bottom: 18px; }
.art-bar-2 { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.art-search { position: relative; flex: 1 1 260px; max-width: 380px; }
.art-search .i { position: absolute; left: 14px; top: 50%; translate: 0 -50%; color: var(--ink-3); }
.art-search input {
  width: 100%; height: 42px; padding: 0 14px 0 38px; border-radius: 999px;
  font-size: 14.5px; color: var(--ink); background: #fff; border: 1px solid var(--line-2);
  transition: border-color .2s, box-shadow .2s;
}
.art-search input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(37, 99, 235, .15); }
.art-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-2); container: artlist / inline-size; }
.art-row {
  display: grid; grid-template-columns: 200px minmax(0, 1fr) 56px 132px; gap: 8px 22px; align-items: start; /* 媒体の列は幅を固定して、年の位置を全行でそろえる */
  padding: 16px 8px; border-bottom: 1px solid var(--line); transition: background-color .25s;
}
.art-row:hover, .art-row:focus-within { background: rgba(255, 255, 255, .85); }
.ar-cat { display: flex; align-items: baseline; gap: 8px; margin: 2px 0 0; font-size: 13px; font-weight: 700; color: var(--ink-3); line-height: 1.5; }
.ar-cat-no { font-family: var(--f-mono); font-weight: 500; font-size: 12.5px; color: var(--blue); }
.ar-body { min-width: 0; }
.ar-title { margin: 0; font-family: var(--f-head); font-weight: 700; font-size: 16px; line-height: 1.6; }
.ar-title a { color: var(--ink); text-decoration: none; background: linear-gradient(var(--blue), var(--blue)) 0 100% / 0 1.5px no-repeat; transition: background-size .35s var(--ease), color .2s; }
.ar-title a:hover { color: var(--blue-2); background-size: 100% 1.5px; }
.ar-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 8px; }
.ar-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.ar-tags button {
  padding: 1px 9px; border-radius: 6px; cursor: pointer;
  font-family: var(--f-mono); font-size: 12.5px; line-height: 1.7; color: var(--ink-2); background: #fff; border: 1px solid var(--line-2);
  transition: color .2s, border-color .2s, background-color .2s;
}
.ar-tags button:hover { color: var(--blue-2); border-color: var(--blue); background: var(--blue-mist); }
.series { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; color: var(--blue-2); }
.series .dots { display: inline-flex; gap: 3px; }
.series .dots i { width: 14px; height: 4px; border-radius: 2px; background: var(--blue-soft); }
.series .dots i.on { background: var(--blue); }
.ar-rel { margin: 8px 0 0; font-size: 13.5px; color: var(--ink-3); }
.ar-rel a { color: var(--blue-2); font-weight: 700; text-underline-offset: 3px; }
.ar-year { margin: 2px 0 0; font-family: var(--f-mono); font-size: 13.5px; color: var(--ink-3); }
.ar-media { display: flex; gap: 6px; justify-content: flex-end; margin: 0; }
.ar-media a {
  display: inline-flex; align-items: center; padding: 3px 12px; border-radius: 999px; white-space: nowrap;
  font-size: 13px; font-weight: 700; text-decoration: none; transition: background-color .2s, color .2s, border-color .2s;
}
.ar-media .m-q { color: #fff; background: var(--ink); border: 1px solid var(--ink); }
.ar-media .m-z { color: var(--blue-2); background: #fff; border: 1px solid #c9daf8; }
.ar-media a:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.art-empty { margin: 18px 4px 0; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: 14.5px; color: var(--ink-3); }
.art-empty p { margin: 0; }
@container artlist (max-width: 760px) {
  .art-row { grid-template-columns: minmax(0, 1fr) auto; }
  .ar-cat { grid-column: 1 / -1; }
  .ar-body { grid-column: 1 / -1; }
  .ar-year { grid-column: 1; align-self: center; margin: 0; }
  .ar-media { grid-column: 2; }
}
/* スマートフォン: カテゴリ名は各グループの先頭だけ、年・タグ・媒体を1行にまとめて縦に伸ばさない */
@container artlist (max-width: 560px) {
  .art-row {
    grid-template-columns: auto minmax(0, 1fr) auto; gap: 6px 10px; padding: 12px 4px;
    grid-template-areas: "cat cat cat" "title title title" "year meta media" "rel rel rel";
  }
  .art-row:not(.is-first) .ar-cat { display: none; }
  .art-row.is-first { padding-top: 16px; }
  .ar-cat { grid-area: cat; }
  .ar-body { display: contents; }
  .ar-title { grid-area: title; font-size: 15.5px; line-height: 1.55; }
  .ar-meta { grid-area: meta; margin-top: 0; align-self: center; }
  .ar-rel { grid-area: rel; margin: 0; }
  .ar-year { grid-area: year; align-self: center; margin: 0; font-size: 12.5px; }
  .ar-media { grid-area: media; align-self: center; }
  .ar-media a { padding: 2px 10px; }
  .ar-tags button { padding: 0 7px; }
}
/* カテゴリごとに3本まで。残りは「すべて見る」で広げる */
.art-more { border-bottom: 1px solid var(--line); }
.art-more button {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%;
  padding: 11px 8px; border: 0; background: none; cursor: pointer; text-align: left;
  font-family: var(--f-head); font-weight: 700; font-size: 14px; color: var(--blue-2);
  transition: background-color .2s;
}
.art-more button:hover { background: var(--blue-mist); }
.art-more button span { display: inline-flex; align-items: center; gap: 6px; flex: none; font-family: var(--f-jp); font-weight: 500; font-size: 13px; color: var(--ink-3); }
.art-more button b { font-family: var(--f-mono); font-weight: 500; color: var(--ink); }
.art-all { margin: 16px 0 0; }

.art-accounts { background: #fff; }
.acc-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.acc-cards a {
  position: relative; display: grid; gap: 4px; padding: 24px 56px 22px 24px; border-radius: 20px;
  text-decoration: none; color: var(--ink-2); background: var(--paper); border: 1px solid var(--line);
  transition: border-color .25s, transform .3s var(--ease);
}
.acc-cards a:hover { border-color: #bcd0f3; transform: translateY(-2px); }
.acc-cards .i { position: absolute; right: 22px; top: 24px; color: var(--blue); }
.acc-k { font-family: var(--f-num); font-weight: 600; font-size: 30px; line-height: 1.1; color: var(--blue-ink); }
.acc-cards b { font-family: var(--f-mono); font-weight: 500; font-size: 14.5px; color: var(--ink); }
.acc-d { font-size: 14px; color: var(--ink-3); }
.art-next { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.art-next a {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 16px; align-items: center;
  padding: 18px 22px; border-radius: 16px; text-decoration: none; color: var(--ink); background: #fff; border: 1px solid var(--line);
  transition: border-color .25s;
}
.art-next a:hover { border-color: var(--blue); }
.art-next .k { grid-column: 1; font-size: 12.5px; font-weight: 700; letter-spacing: .1em; color: var(--blue-2); }
.art-next b { grid-column: 1; font-family: var(--f-head); font-size: 15.5px; line-height: 1.55; }
.art-next .i { grid-column: 2; grid-row: 1 / span 2; color: var(--blue); }

/* =========================================================
   相談メニュー
   ========================================================= */
.svc-hero { padding-bottom: clamp(36px, 4vw, 60px); }
.svc-hero-top { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px clamp(28px, 5vw, 72px); align-items: end; }
.svc-hero .phero-title { font-size: clamp(2.1rem, 4.3vw, 3.9rem); }
.svc-hero-side .phero-lead { margin-top: 0; }
.svc-fx { margin-top: clamp(28px, 3.5vw, 44px); height: clamp(300px, 30vw, 420px); }
.svc-legend { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.svc-legend a {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2px 12px; align-items: baseline;
  padding: 14px 16px; border-radius: 16px; text-decoration: none; color: var(--ink);
  background: rgba(255, 255, 255, .86); border: 1px solid var(--line); transition: border-color .25s, background-color .25s;
}
.svc-legend a:hover, .svc-legend a:focus-visible { border-color: var(--blue); background: #fff; }
.lg-no { grid-row: span 2; font-family: var(--f-num); font-weight: 500; font-size: 30px; line-height: 1; color: var(--blue); }
.lg-flow { font-size: 12.5px; font-weight: 700; letter-spacing: .1em; color: var(--blue-2); }
.lg-t { font-family: var(--f-head); font-weight: 700; font-size: 15.5px; line-height: 1.45; }

.svc-menus { background: #fff; }
.menu-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.menu {
  display: grid; grid-template-columns: minmax(0, 5.4fr) minmax(0, 6.6fr); gap: clamp(22px, 3vw, 48px);
  padding: clamp(22px, 3vw, 36px); border-radius: 26px; scroll-margin-top: calc(var(--header-h) + 20px);
  background: linear-gradient(180deg, #fff, #f7faff); border: 1px solid var(--line);
  transition: border-color .3s, box-shadow .35s;
}
.menu:hover { border-color: #bcd0f3; }
.menu.is-hit { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(37, 99, 235, .12); }
.menu-flow { display: flex; align-items: baseline; gap: 14px; margin: 0 0 10px; font-size: 13.5px; font-weight: 700; letter-spacing: .12em; color: var(--blue-2); }
.menu-no { font-family: var(--f-num); font-weight: 500; font-size: 48px; line-height: 1; letter-spacing: -.02em; color: var(--blue); }
.menu-title { margin: 0; font-family: var(--f-head); font-weight: 900; color: var(--ink); font-size: clamp(1.5rem, 2.4vw, 2.05rem); line-height: 1.35; font-feature-settings: "palt"; }
.menu-text { margin: 12px 0 0; font-size: 16px; line-height: 1.9; color: var(--ink-2); }
.menu-out { margin-top: 20px; }
.deliv { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.deliv li {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 10px; border-radius: 12px;
  font-family: var(--f-head); font-weight: 700; font-size: 14.5px; color: var(--ink); background: #fff; border: 1px solid var(--line-2);
}
.deliv .i { color: var(--blue); width: 18px; height: 18px; }
.menu-cta { margin-top: 24px; }
.menu-side { min-width: 0; padding-left: clamp(0px, 2vw, 28px); border-left: 1px solid var(--line); }
.rel-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.rel-cards a {
  display: grid; grid-template-columns: 128px minmax(0, 1fr); gap: 16px; align-items: center;
  padding: 10px; border-radius: 16px; text-decoration: none; color: var(--ink-2); background: #fff; border: 1px solid var(--line);
  transition: border-color .25s, transform .3s var(--ease), box-shadow .3s;
}
.rel-cards a:hover { border-color: #bcd0f3; transform: translateY(-2px); box-shadow: 0 20px 36px -28px rgba(37, 99, 235, .55); }
.rel-cards a:hover .thumb img { transform: scale(1.06); }
.rc-t b { display: block; font-family: var(--f-head); font-size: 16px; color: var(--ink); line-height: 1.4; }
.rc-t small { display: block; margin-top: 2px; font-size: 13.5px; line-height: 1.6; color: var(--ink-3); }
.menu-award { margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line-2); }
.menu-award a { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; align-items: start; font-size: 14.5px; line-height: 1.6; color: var(--ink); text-decoration: none; }
.menu-award a:hover span:last-child { color: var(--blue-2); text-decoration: underline; text-underline-offset: 3px; }
.menu-award .notice { margin-top: 8px; }

.svc-triage { background: var(--paper); }
.tri { display: grid; grid-template-columns: minmax(0, 6.6fr) minmax(0, 5.4fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; border: 0; min-width: 0; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px 10px 12px; border-radius: 999px;
  font-size: 15px; line-height: 1.4; color: var(--ink); background: #fff; border: 1px solid var(--line-2);
  transition: background-color .2s, border-color .2s, color .2s;
}
.chip span::before {
  content: ""; flex: none; width: 16px; height: 16px; border-radius: 5px;
  border: 1.5px solid #9fb3d5; background: #fff center / 11px no-repeat; transition: background-color .2s, border-color .2s;
}
.chip:hover span { border-color: var(--blue); }
.chip input:checked + span { background: var(--blue); border-color: var(--blue); color: #fff; }
.chip input:checked + span::before {
  border-color: #fff; background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m3.5 8.3 3 3 6-6.3' fill='none' stroke='%232563eb' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.chip input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.tri-out { padding: 22px; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: 0 40px 70px -56px rgba(11, 22, 48, .55); }
.tri-h { margin: 0 0 10px; font-size: 12.5px; font-weight: 700; letter-spacing: .12em; color: var(--ink-3); }
.tri-menus { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.tri-menus li {
  display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 12px;
  font-family: var(--f-head); font-weight: 700; font-size: 15.5px; color: var(--ink-3); background: var(--paper); border: 1px solid var(--line);
  transition: color .25s, background-color .25s, border-color .25s, box-shadow .25s;
}
.tri-menus li.is-hit { color: var(--ink); background: #fff; border-color: #9cbcf4; box-shadow: inset 4px 0 0 var(--blue); }
.tri-no { font-family: var(--f-mono); font-weight: 500; font-size: 12.5px; color: var(--blue); }
.tri-picked { margin: 14px 0 0; font-size: 14px; line-height: 1.7; color: var(--ink-3); }
.tri-actions { display: grid; gap: 8px; margin-top: 16px; }
.tri-actions .btn { width: 100%; }
.tri:has(.chips input:checked) #triForm { box-shadow: 0 0 0 4px rgba(37, 99, 235, .18), 0 14px 30px -14px rgba(37, 99, 235, .9); }
.tri:has(.chips input:checked) .tri-picked { color: var(--blue-2); }

.svc-process { background: #fff; }
.proc { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.proc::before, .proc::after {
  content: ""; position: absolute; left: 10px; right: 10px; top: 9px; height: 2px; border-radius: 2px; background: var(--blue-soft);
}
.proc::after { background: linear-gradient(90deg, var(--blue-2), var(--blue-l)); transform-origin: 0 50%; }
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .proc::after { animation: grow linear both; animation-timeline: view(); animation-range: entry 20% cover 45%; }
    .path::after { animation: grow linear both; animation-timeline: view(); animation-range: entry 20% cover 45%; }
  }
}
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.proc-step { position: relative; z-index: 1; padding-top: 34px; }
.proc-dot { position: absolute; left: 2px; top: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 2px solid var(--blue); box-shadow: 0 0 0 5px #fff; }
.proc-step:last-child .proc-dot { background: var(--blue); }
.proc-no { margin: 0; font-family: var(--f-num); font-weight: 500; font-size: 34px; line-height: 1; color: #b5c9ec; }
.proc-t { margin: 8px 0 0; font-family: var(--f-head); font-weight: 900; font-size: 1.2rem; color: var(--ink); line-height: 1.4; }
.proc-d { margin: 8px 0 0; font-size: 14.5px; line-height: 1.8; color: var(--ink-2); }
.proc-sub { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 0; padding: 0; }
.proc-sub li { padding: 2px 10px; border-radius: 8px; font-size: 13px; color: var(--blue-ink); background: var(--blue-mist); border: 1px solid #d6e3fa; }

.svc-terms { background: var(--paper); }
.terms-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 16px; }
.terms-card { padding: 26px; border-radius: 22px; background: #fff; border: 1px solid var(--line); }
.engage4 { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.engage4 li { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 16px; background: var(--paper); border: 1px solid var(--line); }
.eg-ic { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 12px; color: var(--blue); background: #fff; border: 1px solid #cfe0fb; }
.eg-ic .i { width: 20px; height: 20px; }
.engage4 b { font-family: var(--f-head); font-size: 1.1rem; color: var(--ink); }
.fee { display: flex; flex-direction: column; background: linear-gradient(160deg, #fff, var(--blue-mist)); }
.fee-main { margin: 0; font-family: var(--f-head); font-weight: 900; font-size: clamp(1.3rem, 2vw, 1.6rem); line-height: 1.55; color: var(--ink); }
.fee-steps { list-style: none; display: flex; align-items: center; flex-wrap: wrap; gap: 8px 28px; margin: auto 0 0; padding: 22px 0 0; }
.fee-steps li { position: relative; padding: 5px 14px; border-radius: 999px; font-size: 14px; font-weight: 700; color: var(--blue-ink); background: #fff; border: 1px solid #cfe0fb; }
.fee-steps li + li::before { content: ""; position: absolute; left: -22px; top: 50%; width: 14px; height: 2px; background: var(--blue-l); }

.svc-basis { background: #fff; }
.basis3 { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.basis3 li { display: flex; flex-direction: column; padding: 26px 24px 22px; border-radius: 20px; background: linear-gradient(180deg, #fff, #f7faff); border: 1px solid var(--line); }
.b-no { margin: 0; font-family: var(--f-num); font-weight: 500; font-size: 40px; line-height: 1; color: var(--blue); }
.b-t { margin: 14px 0 0; font-family: var(--f-head); font-weight: 900; font-size: 1.25rem; color: var(--ink); }
.b-d { margin: 8px 0 16px; font-size: 15px; line-height: 1.85; color: var(--ink-2); }
.basis3 a { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-head); font-weight: 700; font-size: 14.5px; color: var(--blue-2); text-decoration: none; }
.basis3 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.basis-kit { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; margin-top: 18px; padding: 18px 22px; border-radius: 18px; background: var(--paper); border: 1px dashed var(--line-2); }
.basis-kit p { margin: 0; font-size: 14.5px; color: var(--ink-2); }
.basis-kit p b { display: block; font-family: var(--f-head); color: var(--ink); }
.basis-kit-btns { display: flex; flex-wrap: wrap; gap: 8px; }

/* =========================================================
   プロフィール
   ========================================================= */
.ab-hero .phero-grid { align-items: stretch; }
.ab-hero .phero-visual { min-height: 520px; }
.ab-layers { position: absolute; inset: 0; min-height: 0; }
.ab-name { letter-spacing: .06em; }
.ab-name .sub { letter-spacing: .02em; }
.ab-roles { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: 22px 0 0; padding: 0; }
.ab-roles button {
  padding: 7px 15px; border-radius: 999px; cursor: pointer;
  font-family: var(--f-head); font-weight: 700; font-size: 15px; color: var(--ink); background: #fff; border: 1px solid var(--line-2);
  transition: background-color .2s, border-color .2s, color .2s;
}
.ab-roles button:hover { border-color: var(--blue); color: var(--blue-2); }
.ab-roles button[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.ab-roles .x { font-family: var(--f-num); font-size: 22px; color: var(--blue-l); line-height: 1; }

.ab-profile { background: #fff; }
.ab-profile-grid { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.ab-photo { margin: 0; }
.photo-ph {
  display: grid; place-items: end center; overflow: hidden; aspect-ratio: 4 / 5; border-radius: 18px;
  border: 1.5px dashed #a7bcdc; background: repeating-linear-gradient(135deg, #f4f8fe 0 10px, #ecf2fb 10px 20px);
}
.photo-ph svg { width: 72%; fill: #cfdcf1; }
.ab-photo figcaption { margin-top: 8px; text-align: center; font-size: 12.5px; color: var(--ink-3); }
.ab-facts { margin: 28px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; border-top: 1px solid var(--line-2); }
.ab-facts div { display: grid; grid-template-columns: 7em minmax(0, 1fr); gap: 12px; padding: 13px 2px; border-bottom: 1px solid var(--line); }
.ab-facts dt { font-size: 13px; color: var(--ink-3); padding-top: 2px; }
.ab-facts dd { margin: 0; font-size: 15px; color: var(--ink); overflow-wrap: anywhere; }
.ab-facts dd a { color: var(--blue-2); text-underline-offset: 3px; }
.ab-facts .brand { font-family: var(--f-num); font-weight: 600; font-size: 20px; line-height: 1.2; color: var(--blue-ink); }
.ab-facts .brand span { font-style: normal; color: var(--blue); }

.ab-career { background: var(--paper); }
.path { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.path::before, .path::after { content: ""; position: absolute; left: 24px; right: 24px; top: 0; height: 2px; background: var(--blue-soft); }
.path::after { background: linear-gradient(90deg, var(--blue-2), var(--blue-l)); transform-origin: 0 50%; }
.path-node { position: relative; z-index: 1; margin-top: 22px; padding: 24px; border-radius: 20px; background: #fff; border: 1px solid var(--line); }
.path-node::before { content: ""; position: absolute; left: 24px; top: -30px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 2px solid var(--blue); box-shadow: 0 0 0 5px var(--paper); }
.path-node.is-now::before { background: var(--blue); }
.path-k { display: flex; align-items: baseline; gap: 12px; margin: 0; font-family: var(--f-head); font-weight: 900; font-size: 1.25rem; color: var(--ink); }
.path-no { font-family: var(--f-mono); font-weight: 500; font-size: 12.5px; color: var(--blue); }
.path-roles { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 16px 0 0; padding: 0; }
.path-roles li { position: relative; padding: 5px 13px; border-radius: 999px; font-size: 14px; font-weight: 700; color: var(--blue-ink); background: var(--blue-mist); border: 1px solid #d6e3fa; }
.path-roles li + li::before { content: ""; position: absolute; left: -18px; top: 50%; width: 14px; height: 1.5px; background: var(--blue-l); }
.path-text { margin: 14px 0 0; font-size: 15px; line-height: 1.85; color: var(--ink-2); }
.path-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-family: var(--f-head); font-weight: 700; font-size: 14.5px; color: var(--blue-2); text-decoration: none; }
.path-link:hover { text-decoration: underline; text-underline-offset: 4px; }

.ab-quals { background: #fff; }
.ab-quals .sec-lead a { color: var(--blue-2); text-underline-offset: 3px; }
.quals-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.qual { position: relative; overflow: hidden; padding: 26px 26px 24px; border-radius: 20px; background: linear-gradient(180deg, #fff, #f7faff); border: 1px solid var(--line); }
.qual::after { content: ""; position: absolute; inset: 8px; pointer-events: none; border: 1px solid rgba(37, 99, 235, .08); border-radius: 14px; }
.qual-wm { position: absolute; width: 180px; height: 180px; right: -54px; bottom: -54px; opacity: .85; pointer-events: none; }
.qual-y { position: relative; margin: 0; font-family: var(--f-num); font-weight: 600; font-size: 56px; line-height: .95; color: var(--blue-ink); font-variant-numeric: lining-nums; }
.qual-t { position: relative; margin: 16px 0 0; font-family: var(--f-head); font-weight: 900; font-size: 1.2rem; line-height: 1.45; color: var(--ink); }
.qual-o { position: relative; margin: 4px 0 0; font-size: 13.5px; font-weight: 700; color: var(--blue-2); }
.qual-d { position: relative; margin: 10px 0 0; font-size: 14.5px; line-height: 1.8; color: var(--ink-2); }

.ab-skills { background: var(--paper); }
.skills { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(20px, 3vw, 40px); align-items: start; }
.sk-cats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.sk-cat { padding: 20px 22px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.sk-h { margin: 0 0 12px; font-family: var(--f-num); font-weight: 600; font-size: 20px; color: var(--blue-ink); }
.sk-list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.sk {
  display: inline-flex; align-items: center; gap: 8px; padding: 5px 8px 5px 13px; border-radius: 999px;
  font-family: var(--f-mono); font-size: 13.5px; color: var(--ink); background: #fff; border: 1px solid var(--line-2);
}
button.sk { cursor: pointer; transition: background-color .2s, border-color .2s, color .2s; }
button.sk:hover { border-color: var(--blue); color: var(--blue-2); }
button.sk b { display: grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; font-family: var(--f-mono); font-weight: 500; font-size: 12px; color: var(--blue-2); background: var(--blue-mist); }
button.sk[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
button.sk[aria-pressed="true"] b { color: var(--ink); background: #fff; }
.sk.is-plain { padding-right: 13px; color: var(--ink-3); background: transparent; border-style: dashed; }
.sk-panel { position: sticky; top: calc(var(--header-h) + 24px); padding: 24px; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: 0 40px 70px -56px rgba(11, 22, 48, .55); view-transition-name: sk-panel; }
.sk-panel-k { margin: 0; font-size: 12.5px; font-weight: 700; letter-spacing: .12em; color: var(--ink-3); }
.sk-name { margin: 6px 0 14px; font-family: var(--f-mono); font-size: 22px; color: var(--ink); }
.sk-works { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.sk-works a { display: block; padding: 12px 14px; border-radius: 12px; text-decoration: none; color: var(--ink); background: var(--paper); border: 1px solid var(--line); transition: border-color .2s; }
.sk-works a:hover { border-color: var(--blue); }
.sk-works b { display: block; font-family: var(--f-head); font-size: 15.5px; }
.sk-works .ev { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.sk-works .ev span { padding: 0 8px; border-radius: 6px; font-family: var(--f-mono); font-size: 12px; line-height: 1.8; color: var(--blue-ink); background: #fff; border: 1px solid #d6e3fa; }
.sk-note { margin: 14px 0 0; font-size: 13px; line-height: 1.7; color: var(--note); }

.ab-vision {
  background:
    radial-gradient(circle, rgba(37, 99, 235, .12) 1px, transparent 1.6px) 0 0 / 18px 18px,
    linear-gradient(180deg, #fff, var(--blue-mist));
}
.ab-vision-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 72px); align-items: end; }
.vq { position: relative; margin: 0; padding: 0 0 0 clamp(44px, 5vw, 72px); }
.vq::before {
  content: "\201C"; position: absolute; left: -6px; top: -22px;
  font-family: var(--f-num); font-size: clamp(96px, 10vw, 150px); line-height: 1; color: var(--blue-xl);
}
.vq p { margin: 0; font-family: var(--f-head); font-weight: 900; font-size: clamp(1.6rem, 3vw, 2.6rem); line-height: 1.55; letter-spacing: -.01em; color: var(--ink); font-feature-settings: "palt"; }
.v-side { padding-left: clamp(0px, 2vw, 28px); border-left: 2px solid var(--blue-soft); }
.v-catch { margin: 0; font-family: var(--f-head); font-weight: 700; font-size: 1.2rem; line-height: 1.6; color: var(--blue-ink); }
.v-text { margin: 12px 0 0; font-size: 15px; line-height: 1.85; color: var(--ink-2); }

.ab-kit { background: #fff; }
.kit { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 16px; }
.kit-pdf { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 28px; align-items: center; padding: 28px; border-radius: 24px; background: linear-gradient(160deg, var(--paper), #fff); border: 1px solid var(--line); }
.kit-pages { position: relative; height: 220px; }
.kp {
  position: absolute; top: 18px; width: 128px; aspect-ratio: 210 / 297; padding: 14px 12px; border-radius: 6px;
  display: flex; flex-direction: column; gap: 7px; background: #fff; border: 1px solid #d6e1f0;
  box-shadow: 0 18px 30px -20px rgba(11, 22, 48, .5);
}
.kp:nth-child(1) { left: 0; rotate: -7deg; }
.kp:nth-child(2) { left: 44px; top: 6px; rotate: 1deg; z-index: 1; }
.kp:nth-child(3) { left: 88px; top: 22px; rotate: 8deg; z-index: 2; }
.kp i { display: block; height: 5px; border-radius: 3px; background: #e2eaf6; }
.kp i.kp-h { width: 60%; height: 8px; background: var(--blue); }
.kp i.s { width: 70%; }
.kp i.g { height: 34px; background: radial-gradient(circle, rgba(37, 99, 235, .35) 1px, transparent 1.6px) 0 0 / 6px 6px, var(--blue-mist); }
.kp em { margin-top: auto; align-self: flex-end; font-family: var(--f-num); font-size: 16px; color: var(--blue-l); }
@media (prefers-reduced-motion: no-preference) {
  .kit-pdf:hover .kp:nth-child(1) { rotate: -11deg; translate: -6px 0; }
  .kit-pdf:hover .kp:nth-child(3) { rotate: 12deg; translate: 8px 0; }
  .kp { transition: rotate .45s var(--ease), translate .45s var(--ease); }
}
.kit-state { margin: 0; }
.kit-t { margin: 8px 0 0; font-family: var(--f-head); font-weight: 900; font-size: 1.4rem; color: var(--ink); }
.kit-plan { list-style: none; margin: 14px 0 20px; padding: 0; display: grid; gap: 8px; }
.kit-plan li { font-size: 14.5px; line-height: 1.7; color: var(--ink-2); }
.kit-plan b { display: block; font-size: 13px; color: var(--blue-2); }
.kit-body .notice { margin: 12px 0 16px; }
.kit-links { padding: 24px; border-radius: 24px; background: var(--paper); border: 1px solid var(--line); }
.kit-links ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.kit-links li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 10px 10px 10px 14px; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.kit-links a { text-decoration: none; color: var(--ink); min-width: 0; }
.kit-links a:hover b { color: var(--blue-2); text-decoration: underline; text-underline-offset: 3px; }
.kit-links b { display: block; font-family: var(--f-head); font-size: 15px; line-height: 1.45; }
.kit-links small { display: block; font-size: 12.5px; color: var(--ink-3); }
.kit-copy {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 10px; white-space: nowrap;
  font-size: 12.5px; font-weight: 700; color: var(--blue-2); background: var(--blue-mist); border: 1px solid #d6e3fa; cursor: pointer;
}
.kit-copy:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.kit-copy .i { width: 14px; height: 14px; }

.ab-links { background: var(--paper); }
.lk-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.lk-grid a {
  position: relative; display: grid; gap: 2px; height: 100%; padding: 18px 44px 16px 18px; border-radius: 16px;
  text-decoration: none; color: var(--ink); background: #fff; border: 1px solid var(--line); transition: border-color .25s, transform .3s var(--ease);
}
.lk-grid a:hover { border-color: #bcd0f3; transform: translateY(-2px); }
.lk-grid .i { position: absolute; right: 16px; top: 18px; color: var(--blue); }
.lk-k { font-size: 12.5px; font-weight: 700; letter-spacing: .08em; color: var(--blue-2); }
.lk-grid b { font-family: var(--f-mono); font-weight: 500; font-size: 14px; overflow-wrap: anywhere; }
.lk-grid small { font-size: 13px; color: var(--ink-3); }
.lk-grid .is-wide { grid-column: span 2; }
.lk-grid .is-wide b { font-family: var(--f-head); font-weight: 900; font-size: 1.15rem; }
.lk-grid .is-soon a { background: transparent; border-style: dashed; }
.lk-grid .is-soon b { font-family: var(--f-jp); font-size: 13.5px; color: var(--ink-3); }

/* =========================================================
   お問い合わせ
   ========================================================= */
.ct-hero { padding-bottom: clamp(48px, 6vw, 88px); }
.ct-grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-rows: auto 1fr;
  grid-template-areas: "copy form" "aside form"; gap: 0 clamp(28px, 5vw, 72px); align-items: start;
}
.ct-copy { grid-area: copy; }
.ct-form-wrap { grid-area: form; }
.ct-aside { grid-area: aside; }
.ct-hero .phero-title { font-size: clamp(2.1rem, 3.7vw, 3.3rem); }
.ct-points { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line-2); }
.ct-points li { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 0 12px; padding: 13px 2px; border-bottom: 1px solid var(--line); }
.ct-pn { grid-row: span 2; font-family: var(--f-mono); font-size: 12.5px; color: var(--blue); padding-top: 3px; }
.ct-points b { font-family: var(--f-head); font-size: 16px; color: var(--ink); }
.ct-points span:last-child { font-size: 14px; color: var(--ink-3); }
.ct-mail { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-top: 22px; padding: 14px 16px; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.ct-mail-k { font-size: 12.5px; letter-spacing: .1em; color: var(--ink-3); }
.ct-mail-a { font-family: var(--f-mono); font-size: 15.5px; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line-2); }
.ct-mail-a:hover { color: var(--blue-2); border-bottom-color: var(--blue); }
.ct-mail .mini-copy { margin-left: auto; }
.ct-compose { display: inline-flex; align-items: center; gap: 7px; flex-basis: 100%; justify-content: center; margin-top: 4px; padding: 9px 14px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--paper, #f7f9fd); font-family: var(--f-head); font-weight: 700; font-size: 14px; color: var(--blue-2); text-decoration: none; transition: border-color .2s, background .2s; }
.ct-compose:hover { border-color: var(--blue); background: #fff; }
.ct-compose .i { width: 16px; height: 16px; }
.ct-compose-note { flex-basis: 100%; margin: 0; font-size: 12.5px; line-height: 1.7; color: var(--ink-3); }
.ct-after { margin-top: 22px; padding: 18px 18px 16px; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.ct-after-h { margin: 0 0 10px; font-family: var(--f-head); font-size: 16px; font-weight: 700; color: var(--ink); }
.ct-flow { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 0; counter-reset: none; }
.ct-flow li { position: relative; display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 0 10px; padding: 7px 0; }
.ct-flow li:not(:last-child)::after { content: ""; position: absolute; left: 12px; top: 30px; bottom: -6px; width: 1px; background: var(--line-2); }
.ct-flow .n { grid-row: span 2; display: grid; place-items: center; width: 25px; height: 25px; border-radius: 50%; border: 1px solid var(--blue); font-family: var(--f-num); font-weight: 600; font-size: 12.5px; color: var(--blue-2); background: #fff; }
.ct-flow b { font-family: var(--f-head); font-size: 14.5px; color: var(--ink); padding-top: 2px; }
.ct-flow small { font-size: 12.5px; color: var(--ink-3); }

.ct-form-wrap { position: relative; isolation: isolate; }
.ct-seal { position: absolute; z-index: -1; width: 640px; height: 640px; right: -220px; top: -140px; pointer-events: none; }
@media (prefers-reduced-motion: no-preference) {
  .ct-seal { animation: rot 220s linear infinite; }
}
@keyframes rot { to { transform: rotate(360deg); } }
.ct-form {
  --fill: 0;
  position: relative; padding: clamp(22px, 3vw, 36px); border-radius: 28px;
  background: rgba(255, 255, 255, .94); border: 1px solid var(--line);
  box-shadow: 0 60px 100px -70px rgba(11, 22, 48, .6);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.ct-form-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.ct-form-title { margin: 0; font-family: var(--f-head); font-weight: 900; font-size: 1.35rem; color: var(--ink); }
.ct-meter { position: relative; display: grid; place-items: center; width: 54px; height: 54px; margin: 0; }
.ct-meter svg { position: absolute; inset: 0; width: 100%; height: 100%; rotate: -90deg; }
.ct-meter circle { fill: none; stroke-width: 3; }
.ct-meter .track { stroke: var(--blue-soft); }
.ct-meter .bar { stroke: var(--blue); stroke-linecap: round; stroke-dasharray: 100 100; stroke-dashoffset: calc(100 - var(--fill) * 100); transition: stroke-dashoffset .5s var(--ease); }
.ct-meter span { font-family: var(--f-mono); font-size: 12.5px; color: var(--ink-3); }
.ct-meter b { font-weight: 500; color: var(--ink); }
.is-ready .ct-meter .bar { stroke: #16a34a; }
.ct-prefill { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 0 0 16px; padding: 10px 14px; border-radius: 12px; font-size: 14px; color: var(--blue-ink); background: var(--blue-mist); border: 1px solid #cfe0fb; }
.ct-prefill button { padding: 2px 10px; border-radius: 8px; font-size: 13px; color: var(--blue-2); background: #fff; border: 1px solid #c9daf8; cursor: pointer; }
.field { margin-top: 18px; }
.field:first-of-type { margin-top: 0; }
.field label { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; font-family: var(--f-head); font-weight: 700; font-size: 15px; color: var(--ink); }
.req { padding: 0 8px; border-radius: 6px; font-family: var(--f-jp); font-size: 12px; font-weight: 700; line-height: 1.7; color: var(--blue-2); background: var(--blue-mist); border: 1px solid #d6e3fa; }
.field input, .field textarea {
  display: block; width: 100%; padding: 13px 16px; border-radius: 14px;
  font-size: 16px; line-height: 1.7; color: var(--ink); background: #fff; border: 1px solid var(--line-2);
  transition: border-color .2s, box-shadow .2s;
}
.field input { height: 52px; }
.field textarea { min-height: calc(4 * 1.7em + 28px); resize: vertical; field-sizing: content; max-height: 60vh; }
.field input::placeholder { color: #8a97ad; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(37, 99, 235, .15); }
.field input:user-invalid, .field textarea:user-invalid, .field [aria-invalid="true"] { border-color: #c2410c; box-shadow: 0 0 0 3px rgba(194, 65, 12, .12); }
.field input:user-valid, .field textarea:user-valid { border-color: #9cc9a9; }
.err { margin: 8px 0 0; font-size: 13.5px; font-weight: 700; color: #b23b0a; }
.help { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; margin: 8px 0 0; font-size: 12.5px; color: var(--ink-3); }
.help b { font-family: var(--f-mono); font-weight: 500; color: var(--ink-2); }
.hints { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 10px; }
.hints-h { margin-right: 4px; font-size: 12.5px; font-weight: 700; letter-spacing: .08em; color: var(--ink-3); }
.hints button {
  padding: 3px 11px; border-radius: 999px; font-size: 13px; color: var(--blue-2); background: #fff; border: 1px dashed #b7cdf3; cursor: pointer;
  transition: background-color .2s, border-color .2s;
}
.hints button:hover { background: var(--blue-mist); border-style: solid; border-color: var(--blue); }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.ct-submit { width: 100%; margin-top: 24px; }
.ct-submit[aria-busy="true"] { cursor: progress; opacity: .92; }
.ct-submit[aria-busy="true"] .i { animation: pulseX .8s ease-in-out infinite alternate; }
@keyframes pulseX { to { transform: translateX(5px); } }
.is-ready .ct-submit { box-shadow: 0 0 0 4px rgba(37, 99, 235, .18), 0 16px 32px -14px rgba(37, 99, 235, .9); }
.ct-alt { margin: 14px 0 0; font-size: 13.5px; color: var(--ink-3); text-align: center; }
.ct-alt a { color: var(--blue-2); text-underline-offset: 3px; }
.ct-form.is-done > :not(.ct-done) { display: none; }
.ct-done { text-align: center; padding: 8px 4px 4px; outline: none; }
.ct-done-icon { margin: 0; }
/* 送れていないことが伝わるように、完了のチェックではなく「お知らせ（i）」と点線の輪にする */
.ct-done-icon svg { width: 64px; height: 64px; margin: 0 auto; fill: none; stroke: var(--blue); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.ct-done-icon circle { stroke: var(--blue-l); stroke-dasharray: 2.4 4.2; }
.ct-done-icon circle.dot { fill: var(--blue); stroke: none; stroke-dasharray: none; }
@media (prefers-reduced-motion: no-preference) {
  .ct-done-icon path { stroke-dasharray: 13; stroke-dashoffset: 13; animation: draw .5s .15s var(--ease) forwards; }
}
@keyframes draw { to { stroke-dashoffset: 0; } }
.ct-done-h { margin: 12px 0 0; font-family: var(--f-head); font-weight: 900; font-size: 1.5rem; color: var(--ink); }
.ct-done-text { margin: 10px auto 0; max-width: 30em; font-size: 15px; line-height: 1.85; color: var(--ink-2); }
.ct-sum { margin: 20px 0 0; text-align: left; border-top: 1px solid var(--line-2); }
.ct-sum div { display: grid; grid-template-columns: 8em minmax(0, 1fr); gap: 12px; padding: 11px 4px; border-bottom: 1px solid var(--line); }
.ct-sum dt { font-size: 13px; color: var(--ink-3); }
.ct-sum dd { margin: 0; font-size: 14.5px; line-height: 1.7; color: var(--ink); overflow-wrap: anywhere; max-height: 14em; overflow: auto; }
.ct-done-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 20px; }

.ct-before { background: #fff; }
.ct-before-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.faq { border-top: 1px solid var(--line-2); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex; align-items: center; gap: 14px; padding: 18px 44px 18px 4px; position: relative; cursor: pointer; list-style: none;
  font-family: var(--f-head); font-weight: 700; font-size: 16.5px; color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 22px; height: 22px; translate: 0 -50%; border-radius: 50%;
  border: 1px solid var(--line-2); background: #fff center / 12px no-repeat;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 3v10M3 8h10' fill='none' stroke='%232563eb' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  transition: rotate .3s var(--ease);
}
.faq-item[open] summary::after { rotate: 45deg; }
.faq-item summary:hover { color: var(--blue-2); }
.faq-item .q { font-family: var(--f-num); font-weight: 600; font-size: 22px; color: var(--blue); line-height: 1; }
.faq-a { padding: 0 44px 18px 40px; }
.faq-a p { margin: 0; font-size: 15px; line-height: 1.9; color: var(--ink-2); }
.faq-a a { color: var(--blue-2); text-underline-offset: 3px; }
@supports (interpolate-size: allow-keywords) {
  .faq-item { interpolate-size: allow-keywords; }
  .faq-item::details-content { height: 0; overflow: clip; transition: height .35s var(--ease), content-visibility .35s allow-discrete; }
  .faq-item[open]::details-content { height: auto; }
}

.ct-more { background: var(--paper); }
.ct-menus { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.ct-menus a {
  position: relative; display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 20px 20px 18px; border-radius: 18px;
  text-decoration: none; color: var(--ink-2); background: #fff; border: 1px solid var(--line);
  transition: border-color .25s, transform .3s var(--ease), box-shadow .3s;
}
.ct-menus a:hover { border-color: #bcd0f3; transform: translateY(-3px); box-shadow: 0 24px 40px -30px rgba(37, 99, 235, .55); }
.cm-no { font-family: var(--f-num); font-size: 30px; line-height: 1; color: var(--blue); }
.cm-flow { margin-top: 6px; font-size: 12.5px; font-weight: 700; letter-spacing: .1em; color: var(--blue-2); }
.ct-menus b { font-family: var(--f-head); font-size: 17px; color: var(--ink); line-height: 1.45; }
.ct-menus small { margin-top: auto; padding-top: 8px; font-size: 13.5px; color: var(--ink-3); }
.ct-menus .i { position: absolute; right: 18px; top: 22px; color: var(--blue); }
.ct-side-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 14px; }
.ct-side-card { padding: 22px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.ct-side-card > p:not(.mh) { margin: 0; font-size: 14.5px; color: var(--ink-2); }
.ct-side-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.ct-sns { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 10px 0 0; padding: 0; font-size: 14.5px; }
.ct-sns a { color: var(--blue-2); text-underline-offset: 3px; }

/* =========================================================
   404
   ========================================================= */
.nf-hero .phero-grid { align-items: stretch; }
.nf-hero .phero-visual { min-height: 440px; }
.nf-fx { position: absolute; inset: 0; min-height: 0; }
.nf-url { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 18px 0 0; font-size: 13.5px; color: var(--ink-3); }
.nf-url code { padding: 2px 10px; border-radius: 8px; font-family: var(--f-mono); font-size: 13px; color: var(--ink); background: #fff; border: 1px solid var(--line-2); overflow-wrap: anywhere; }
.nf-links { background: #fff; }
.nf-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.nf-grid a {
  position: relative; display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 18px 44px 16px 18px; border-radius: 18px;
  text-decoration: none; color: var(--ink-2); background: var(--paper); border: 1px solid var(--line);
  transition: border-color .25s, transform .3s var(--ease);
}
.nf-grid a:hover { border-color: #bcd0f3; transform: translateY(-2px); }
.nf-grid .k { font-family: var(--f-num); font-weight: 600; font-size: 20px; color: var(--blue-ink); }
.nf-grid b { font-family: var(--f-head); font-size: 16.5px; color: var(--ink); }
.nf-grid small { font-size: 13px; color: var(--ink-3); }
.nf-grid .i { position: absolute; right: 16px; top: 20px; color: var(--blue); }
.nf-grid .is-main a { background: var(--blue); border-color: var(--blue); color: #dbe6fb; }
.nf-grid .is-main .k, .nf-grid .is-main b { color: #fff; }
.nf-grid .is-main small { color: #dbeafe; }
.nf-grid .is-main .i { color: #fff; }
.nf-mail { margin: 18px 4px 0; font-size: 14.5px; color: var(--ink-3); }
.nf-mail a { color: var(--blue-2); font-family: var(--f-mono); }

/* 触れる画面（マウスのない端末）では「重ねると」の案内を出さない */
@media (hover: none) {
  .aw-seal .fx-hint, .art-graph .fx-hint, .svc-fx .fx-hint, .nf-fx .fx-hint { display: none; }
}

/* ---------- 登場の演出（scroll-driven） ---------- */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .entry, .share-tiles li, .pick, .art-row, .menu, .proc-step, .engage4 li, .basis3 li, .path-node,
    .qual, .sk-cat, .kit-pdf, .kit-links, .lk-grid li, .faq-item, .ct-menus li, .nf-grid li, .acc-cards li {
      animation: rise linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 70%;
    }
  }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1180px) {
  .entry { grid-template-columns: 72px minmax(0, 1fr) minmax(0, 280px); }
  .skills { grid-template-columns: minmax(0, 1fr) 320px; }
  .sk-cats { grid-template-columns: minmax(0, 1fr); }
  .lk-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lk-grid .is-wide { grid-column: span 1; }
  .nf-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1023px) {
  .aw-hero .phero-visual, .art-hero .phero-visual, .ab-hero .phero-visual { min-height: 400px; }
  .nf-hero .phero-visual { min-height: 320px; }
  .aw-index { max-width: none; }
  .entry, .entry-plain {
    grid-template-columns: 56px minmax(0, 1fr);
    grid-template-areas: "no main" "no fig" "no tools";
    padding-right: clamp(18px, 3vw, 28px);
  }
  .en-no { font-size: 38px; }
  .en-fig { margin-top: 18px; padding: 16px; }
  .entry-plain .en-facts { margin-top: 16px; }
  .share-tiles, .picks, .basis3, .quals-list, .ct-menus { grid-template-columns: minmax(0, 1fr); }
  .acc-cards, .art-next { grid-template-columns: minmax(0, 1fr); }
  .svc-hero-top { grid-template-columns: minmax(0, 1fr); }
  .svc-legend { grid-template-columns: minmax(0, 1fr); }
  .menu { grid-template-columns: minmax(0, 1fr); }
  .menu-side { padding-left: 0; padding-top: 22px; border-left: 0; border-top: 1px solid var(--line); }
  .tri { grid-template-columns: minmax(0, 1fr); }
  .proc { grid-template-columns: minmax(0, 1fr); gap: 0; padding-left: 34px; }
  .proc::before, .proc::after { left: 9px; right: auto; top: 8px; bottom: 8px; width: 2px; height: auto; }
  .proc::after { transform-origin: 50% 0; }
  .proc-step { padding: 0 0 22px; }
  .proc-dot { left: -33px; top: 6px; }
  .terms-grid, .kit { grid-template-columns: minmax(0, 1fr); }
  .ab-profile-grid { grid-template-columns: 200px minmax(0, 1fr); }
  .ab-facts { grid-template-columns: minmax(0, 1fr); }
  .path { grid-template-columns: minmax(0, 1fr); gap: 0; padding-left: 30px; }
  .path::before, .path::after { left: 6px; right: auto; top: 30px; bottom: 30px; width: 2px; height: auto; }
  .path::after { transform-origin: 50% 0; }
  .path-node { margin: 0 0 14px; }
  .path-node::before { left: -31px; top: 28px; box-shadow: 0 0 0 5px var(--paper); }
  .skills { grid-template-columns: minmax(0, 1fr); }
  .sk-panel { position: static; }
  .ab-vision-grid { grid-template-columns: minmax(0, 1fr); }
  .ct-grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; grid-template-areas: "copy" "form" "aside"; }
  .ct-form-wrap { margin-top: 28px; }
  .ct-aside { margin-top: 8px; }
  .ct-before-grid { grid-template-columns: minmax(0, 1fr); }
  .nf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1023px) and (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .proc::after, .path::after { animation-name: growY; }
  }
}
@keyframes growY { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@media (max-width: 640px) {
  .aw-hero .phero-visual, .art-hero .phero-visual { min-height: 320px; }
  .ab-hero .phero-visual { min-height: 380px; }
  .nf-hero .phero-visual { min-height: 260px; }
  .svc-fx { height: 420px; }
  .svc-fx .fx-hint { display: none; }
  .ai-k { display: none; }
  .entry, .entry-plain { grid-template-columns: minmax(0, 1fr); grid-template-areas: "no" "main" "fig" "tools"; padding: 20px 18px 16px; }
  .en-no { text-align: left; font-size: 32px; margin-bottom: 8px; }
  .en-big b { font-size: 78px; }
  .en-work { grid-template-columns: 88px minmax(0, 1fr); }
  .en-work > .i { display: none; }
  .en-select { height: 170px; }
  .art-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .art-stats div:nth-child(3) { border-left: 0; }
  .art-stats div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .art-search { max-width: none; flex-basis: 100%; }
  .svc-fx { height: 360px; }
  .rel-cards a { grid-template-columns: 96px minmax(0, 1fr); gap: 12px; }
  .chip span { font-size: 14.5px; padding: 9px 14px 9px 11px; }
  .engage4 { grid-template-columns: minmax(0, 1fr); }
  .ab-profile-grid { grid-template-columns: minmax(0, 1fr); }
  .ab-photo { max-width: 200px; }
  .vq { padding-left: 34px; }
  .vq::before { font-size: 84px; top: -14px; }
  .kit-pdf { grid-template-columns: minmax(0, 1fr); padding: 22px; }
  .kit-pages { height: 200px; width: 230px; margin: 0 auto; }
  .lk-grid { grid-template-columns: minmax(0, 1fr); }
  .ct-sum div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .ct-side-row { grid-template-columns: minmax(0, 1fr); }
  .ct-form { border-radius: 22px; }
  .faq-a { padding: 0 8px 18px 40px; }
  .nf-grid { grid-template-columns: minmax(0, 1fr); }
  .fx-label { font-size: 12px; padding: 1px 8px; }
}

/* =========================================================
   印刷（実績の台帳を、稟議に添付できる形に）
   ========================================================= */
@media print {
  @page { margin: 14mm; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .site-header, .mnav, .tech-panel, .toast, .proto-label, .progress, .skip,
  .cta-band, .site-footer, .phero-visual, .phero-actions, .aw-index, .en-tools, .aw-share, .crumbs, .fx { display: none !important; }
  .phero { padding: 0 0 8mm; }
  .phero::before, .phero::after { display: none; }
  .phero-title { font-size: 20pt; }
  .phero-lead { font-size: 10.5pt; }
  .sec { padding: 4mm 0; }
  .sec-head { margin-bottom: 4mm; }
  .sec-title { font-size: 15pt; }
  .wrap { width: 100%; }
  .entry { break-inside: avoid; box-shadow: none !important; border: 1px solid #c8d5e8; border-radius: 6px; padding: 5mm 5mm 4mm 0; grid-template-columns: 18mm minmax(0, 1fr) 52mm; grid-template-areas: "no main fig"; margin-bottom: 3mm; animation: none !important; }
  .en-fig { background: #f6f9fe; }
  .en-big b { font-size: 40pt; }
  .en-word { font-size: 28pt; }
  .en-fig-select .fx, .sel-cap { display: none !important; }
  .en-work .thumb, .en-work > .i { display: none; }
  .en-work { grid-template-columns: minmax(0, 1fr); border: 0; padding: 0; }
  .print-only { display: block; }
  .print-url { margin: 6mm 0 0; font-size: 9pt; color: #333; }
  a { color: #000; text-decoration: none; }
}

.ab-profile-grid { grid-template-columns: minmax(0, 1fr); }
