/* すみいと土地家屋調査士事務所（デモ）
   白地に墨の線。黄は杭の点・線の先・今いるページの印だけ。面は塗らない */
:root {
  --paper: #FFFFFF;
  --ink: #222222;
  --ink-2: #555555;      /* 小さな注記の字 */
  --hair: #E6E6E6;       /* 方位・目盛り・網かけの細い線だけ */
  --pole: #E3B505;       /* 測量の黄 */
  --f-head: "Shippori Antique", "Noto Sans JP", sans-serif;
  --f-body: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  --f-mono: "DM Mono", "Noto Sans JP", monospace;
  --wrap: 1160px;
  --gut: clamp(20px, 5vw, 56px);
  --ease: cubic-bezier(.3, .7, .2, 1);
  --chain: repeating-linear-gradient(90deg, var(--ink) 0 22px, transparent 22px 27px, var(--ink) 27px 30px, transparent 30px 35px);
  --chain-v: repeating-linear-gradient(180deg, var(--ink) 0 22px, transparent 22px 27px, var(--ink) 27px 30px, transparent 30px 35px);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--f-body); font-weight: 400;
  font-size: clamp(15px, 0.9rem + 0.2vw, 17px); line-height: 1.9; letter-spacing: .02em;
  overflow-wrap: anywhere; line-break: strict;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .22em; text-decoration-thickness: 1px; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3 { margin: 0; font-weight: 400; }
.wrap { max-width: calc(var(--wrap) + var(--gut) * 2); margin: 0 auto; padding: 0 var(--gut); }
.num, .mono { font-family: var(--f-mono); font-weight: 500; letter-spacing: .01em; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- ロゴ ---------- */
.logo { width: 228px; height: auto; overflow: visible; }
.logo__k { fill: none; stroke: currentColor; stroke-width: 1.5; }
.logo__c { fill: var(--pole); }
.logo__s { stroke: currentColor; stroke-width: 1; fill: none; }
.logo__n { font-family: var(--f-head); font-size: 21px; fill: currentColor; }
.logo__sub { font-family: var(--f-body); font-weight: 500; font-size: 10px; letter-spacing: .1em; fill: currentColor; }

/* ---------- ヘッダー ---------- */
.head { position: sticky; top: 0; z-index: 20; background: var(--paper); border-bottom: 1px solid var(--ink); }
.head__in { max-width: calc(1280px + var(--gut) * 2); margin: 0 auto; padding: 0 var(--gut); height: 76px; display: flex; align-items: center; gap: 14px; }
.brand { display: block; color: var(--ink); text-decoration: none; }
.demo { font-family: var(--f-mono); font-size: 10px; letter-spacing: .12em; border: 1px solid var(--ink-2); color: var(--ink-2); padding: 1px 5px 0; line-height: 1.5; align-self: center; margin-top: 18px; }
.gnav { margin-left: auto; display: flex; align-items: center; gap: 28px; }
.gnav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 26px; }
.gnav a:not(.btn) { position: relative; text-decoration: none; font-size: 14px; font-weight: 500; letter-spacing: .06em; padding: 6px 0; }
.gnav a:not(.btn):hover { text-decoration: underline; }
.gnav a[aria-current="page"]::before { content: ""; position: absolute; left: -12px; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--pole); }
.head .head__btn { display: none; }
.menu { display: none; }

.btn {
  display: inline-flex; align-items: center; gap: .6em; padding: .62em 1.4em .6em;
  border: 1.5px solid var(--ink); background: transparent; color: var(--ink);
  font: 500 15px/1.4 var(--f-body); letter-spacing: .08em; text-decoration: none; white-space: nowrap;
}
.btn:hover, .btn:focus-visible { background: var(--ink); color: var(--paper); }
.btn--lg { padding: .9em 1.7em .88em; font-size: 16px; }

@media (max-width: 1080px) {
  .gnav {
    position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--ink); padding: 8px var(--gut) 28px;
    display: none;
  }
  .is-menu .gnav { display: flex; }
  .gnav ul { flex-direction: column; gap: 0; }
  .gnav li { border-bottom: 1px solid var(--hair); }
  .gnav a:not(.btn) { display: block; padding: 16px 0 16px 18px; font-size: 16px; }
  .gnav a[aria-current="page"]::before { left: 0; }
  .gnav__btn { margin-top: 22px; justify-content: center; }
  .head .head__btn { display: inline-flex; margin-left: auto; padding: .5em 1.1em; font-size: 14px; }
  .menu {
    display: inline-flex; flex-direction: column; align-items: center; gap: 5px;
    background: none; border: 0; padding: 6px 0 4px; cursor: pointer; color: var(--ink);
  }
  .menu__bars, .menu__bars::before, .menu__bars::after { display: block; width: 24px; height: 1.5px; background: var(--ink); position: relative; }
  .menu__bars { margin: 6px 0; }
  .menu__bars::before, .menu__bars::after { content: ""; position: absolute; left: 0; }
  .menu__bars::before { top: -7px; } .menu__bars::after { top: 7px; }
  .is-menu .menu__bars { background: transparent; }
  .is-menu .menu__bars::before { top: 0; transform: rotate(45deg); }
  .is-menu .menu__bars::after { top: 0; transform: rotate(-45deg); }
  .menu__label { font-family: var(--f-mono); font-size: 10px; letter-spacing: .14em; }
}
@media (max-width: 520px) {
  .head__in { height: 64px; gap: 10px; }
  .gnav { inset: 64px 0 auto 0; }
  .logo { width: 150px; }
  .demo { margin-top: 12px; font-size: 9px; padding: 0 4px; }
  .head__btn { padding: .45em .8em; font-size: 13px; letter-spacing: .04em; }
  html { scroll-padding-top: 76px; }
}

/* ---------- 区画 ---------- */
.sec { position: relative; padding: clamp(68px, 9vw, 128px) 0; }
.sec + .sec::before, .phead + .sec::before {
  content: ""; position: absolute; top: 0; height: 1px; background: var(--chain);
  left: max(var(--gut), calc((100% - var(--wrap)) / 2)); right: max(var(--gut), calc((100% - var(--wrap)) / 2));
}
.kh { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; }
.kh__k { width: 18px; height: 18px; overflow: visible; }
.kh__id { font-family: var(--f-mono); font-weight: 500; font-size: 13px; letter-spacing: .12em; }
.kh::after { content: ""; width: 44px; height: 1px; background: var(--ink); }
.h2 { font-family: var(--f-head); font-size: clamp(26px, 1.2rem + 1.4vw, 40px); line-height: 1.45; letter-spacing: .04em; font-feature-settings: "palt"; margin-bottom: clamp(28px, 3.4vw, 44px); text-wrap: balance; word-break: auto-phrase; }
.h2--plain { margin-bottom: 32px; }
.body { max-width: 40em; }
.body.narrow, .narrow { max-width: 40em; }
.cols2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px; max-width: none; margin-top: 36px; }
.cols2 > p { margin: 0 0 1em; }
.small { font-size: 13px; line-height: 1.8; color: var(--ink-2); margin-top: 18px; max-width: 48em; }
.sign { margin-top: 1.6em; font-family: var(--f-head); font-size: 17px; letter-spacing: .08em; }
.tlink { margin: 36px 0 0; }
.tlink a { font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--ink); padding-bottom: 4px; display: inline-flex; gap: .5em; }
.tlink a:hover .tlink__a { transform: translateX(4px); }
.tlink__a { display: inline-block; transition: transform .25s var(--ease); }
@media (max-width: 760px) { .cols2 { grid-template-columns: 1fr; } }

/* 杭の印（SVG 共通） */
.stk__o { fill: var(--paper); stroke: var(--ink); stroke-width: 1; }
.stk__x { stroke: var(--ink); stroke-width: 1; }
.stk__c { fill: var(--pole); }
.stk__n { font-size: 13px; fill: var(--ink); }

/* ---------- 図（共通） ---------- */
.fig { width: 100%; height: auto; overflow: visible; }
.fig .ln { fill: none; stroke: var(--ink); stroke-width: 1; }
.fig .ln--bd { stroke-width: 1.5; }
.fig .mk { stroke: #fff; stroke-width: 8; fill: none; }
.chain-line { fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-dasharray: 22 5 3 5; }
.dash-line { fill: none; stroke: var(--ink); stroke-width: 1; stroke-dasharray: 7 5; }
.hatch__l { stroke: #CFCFCF; stroke-width: 1; }
.pen { fill: var(--pole); display: none; }
.pt { fill: var(--pole); }
.ja { font-family: var(--f-body); fill: var(--ink); }
.mono { fill: var(--ink); }
.dim__ln { stroke: var(--ink); stroke-width: .9; fill: none; }
.dim__ex { stroke: var(--ink-2); stroke-width: .6; fill: none; }
.dim__t { font-size: 16px; }
.north path { stroke: var(--ink); stroke-width: 1; fill: none; }
.north text { font-size: 12px; }
.road__t { font-size: 14px; letter-spacing: .4em; }
.lead { stroke: var(--ink); stroke-width: .8; fill: none; }
.lead__p { fill: var(--ink); }
.lbl__t { font-size: 15px; }
.tag { font-size: 13px; fill: var(--ink); letter-spacing: .04em; }
.tag--v { writing-mode: vertical-rl; letter-spacing: .1em; }
.arw, .brk, .rail { stroke: var(--ink); stroke-width: 1; fill: none; }
.box__t { font-size: 17px; }
.box__t--b { font-size: 19px; }
.box__t--s { font-size: 15px; }
.box__s { font-size: 13px; fill: var(--ink-2); }
.mono.box__s { fill: var(--ink-2); }
.c3__h { font-size: 19px; letter-spacing: .1em; }
.c3__t { font-size: 14px; }
.c3__bg { fill: var(--paper); }
.c4__t { font-size: 14px; }
.c4__b { font-size: 13px; }
.c5__k { font-size: 13px; fill: var(--ink-2); }
.c5__t { font-size: 15px; }
.c6__t { font-size: 17px; }
.c6__s { font-size: 12px; fill: var(--ink-2); }
.c7__l { stroke: var(--ink); stroke-width: 1; fill: none; }
.map__t { font-size: 13px; }
.cap { margin-top: 18px; font-size: 14px; letter-spacing: .03em; }
.only-narrow { display: none; }
@media (max-width: 760px) {
  .only-wide { display: none; }
  .only-narrow { display: block; }
}

/* 動き（JS が html に .js を付けたときだけ隠す。動きを減らす設定では .js が付かない） */
.js .dg .stk { opacity: 0; transform: scale(.25); transform-box: fill-box; transform-origin: center; }
.js .dg.is-in .stk { opacity: 1; transform: none; transition: opacity .25s linear var(--d, 0s), transform .32s cubic-bezier(.2, .9, .3, 1.25) var(--d, 0s); }
.js .dg .ln { stroke-dasharray: 1 1; stroke-dashoffset: 1; }
.js .dg.is-in .ln { stroke-dashoffset: 0; transition: stroke-dashoffset var(--t, .7s) linear var(--d, 0s); }
.js .dg .tx, .js .dg .pt { opacity: 0; }
.js .dg.is-in .tx, .js .dg.is-in .pt { opacity: 1; transition: opacity .5s linear var(--d, 0s); }
.js .dg .pen { display: block; opacity: 0; }
.js .dg.is-in .pen { animation: pen var(--t, .7s) linear var(--d, 0s) forwards; }
@keyframes pen {
  0% { opacity: 1; transform: translate(var(--x1), var(--y1)); }
  94% { opacity: 1; transform: translate(var(--x2), var(--y2)); }
  100% { opacity: 0; transform: translate(var(--x2), var(--y2)); }
}
.js .fade { opacity: 0; transform: translateY(14px); }
.js .fade.is-in { opacity: 1; transform: none; transition: opacity .7s var(--ease), transform .7s var(--ease); }
@media (prefers-reduced-motion: reduce) {
  .js .dg .stk, .js .dg .tx, .js .dg .pt, .js .fade { opacity: 1 !important; transform: none !important; }
  .js .dg .ln { stroke-dashoffset: 0 !important; }
  .js .dg .pen { display: none !important; }
}

/* ---------- 最初の画面 ---------- */
.hero { padding: clamp(40px, 6vh, 72px) 0 clamp(48px, 7vh, 88px); }
.hero__in { display: grid; grid-template-columns: 4fr 6fr; gap: clamp(32px, 4vw, 72px); align-items: center; min-height: calc(90vh - 76px); }
.hero__eyebrow { font-size: 12px; letter-spacing: .2em; margin: 0 0 28px; display: flex; align-items: center; gap: 12px; }
.hero__eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--pole); box-shadow: 0 0 0 4px var(--paper), 0 0 0 5px var(--ink); margin: 0 5px; }
.hero__h { font-family: var(--f-head); font-feature-settings: "palt"; letter-spacing: .03em; }
.hero__h1 { display: block; font-size: clamp(36px, 1.4rem + 2.9vw, 64px); line-height: 1.35; }
.hero__h2 { display: block; font-size: clamp(20px, .9rem + 1vw, 28px); line-height: 1.6; margin-top: 18px; }
.hero__p { margin: 30px 0 0; max-width: 26em; word-break: auto-phrase; }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 38px; }
.hero__sub { font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--ink); padding-bottom: 3px; }
.hero__fig { margin: 0; position: relative; }
.hero__note { position: absolute; right: 0; bottom: -6px; font-size: 11px; color: var(--ink-2); letter-spacing: .06em; margin: 0; }
@media (max-width: 900px) {
  .hero__in { grid-template-columns: 1fr; min-height: 0; gap: 36px; }
  .hero__fig { max-width: 620px; margin-inline: auto; width: 100%; }
}
@media (max-width: 520px) {
  .hero { padding-top: 32px; }
  .hero__eyebrow { margin-bottom: 18px; font-size: 11px; letter-spacing: .14em; }
  .hero__h2 { margin-top: 12px; }
  .hero__p { margin-top: 20px; }
  .hero__cta { margin-top: 26px; }
  .hero__note { position: static; text-align: right; margin-top: 8px; }
}
.fig--c0 .stk__n { font-size: 15px; }
@media (max-width: 520px) { .fig--c0 .stk__n { font-size: 22px; } .fig--c0 .dim__t { font-size: 22px; } .fig--c0 .road__t { font-size: 20px; } .fig--c1 .stk__n { font-size: 20px; } }

/* ---------- こんなとき ---------- */
.case { display: grid; grid-template-columns: 1fr 1fr; position: relative; }
.case::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 1px; background: var(--chain-v); }
.case__col { padding: 0 clamp(24px, 4vw, 64px) 0 0; }
.case__col + .case__col { padding: 0 0 0 clamp(24px, 4vw, 64px); }
.case__h { font-family: var(--f-head); font-size: 22px; letter-spacing: .08em; margin-bottom: 18px; }
.pins { list-style: none; margin: 0; padding: 0; }
.pins li { position: relative; padding: 14px 0 14px 30px; border-bottom: 1px solid var(--hair); }
.pins li::before {
  content: ""; position: absolute; left: 2px; top: 1.32em; width: 11px; height: 11px; border-radius: 50%;
  border: 1px solid var(--ink);
  background: radial-gradient(circle, var(--pole) 0 1.8px, transparent 2.2px), linear-gradient(var(--ink), var(--ink)) center / 1px 100% no-repeat, linear-gradient(var(--ink), var(--ink)) center / 100% 1px no-repeat;
}
.pins--1 { max-width: 40em; margin-bottom: 28px; }
.case__after { margin-top: 40px; max-width: 46em; }
@media (max-width: 760px) {
  .case { grid-template-columns: 1fr; }
  .case::before { display: none; }
  .case__col, .case__col + .case__col { padding: 0; }
  .case__col + .case__col { margin-top: 30px; padding-top: 30px; background: var(--chain) top / 100% 1px no-repeat; }
}

/* ---------- 図の置き方 ---------- */
.fig-c1 { margin: 0; }
.fig-c1 .only-wide { max-width: 900px; }
.fig-c1--s .only-wide { max-width: 560px; }
.fig-c1 .cap { max-width: 900px; }
.legend { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 6px; font-size: 14px; }
.legend li { display: flex; align-items: center; gap: 12px; }
.legend svg { width: 40px; flex: none; }
.fig-c2 { margin: 0; max-width: 980px; }
.fig-c2 .only-narrow { max-width: 360px; }
.split { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(36px, 6vw, 96px); align-items: center; }
.split--rev { grid-template-columns: 7fr 5fr; align-items: start; }
.split__fig { margin: 0; }
.split__text .tlink { margin-top: 32px; }
.split--ito { grid-template-columns: 4fr 8fr; align-items: start; }
.split__ito { margin: 0; padding-top: 72px; }
@media (max-width: 860px) {
  .split, .split--rev, .split--ito { grid-template-columns: 1fr; }
  .split--rev .split__fig { order: 2; }
  .s-toukibo .split__fig { max-width: 420px; }
  .split__ito { padding-top: 0; max-width: 360px; }
}

/* 不動産会社の方へ・左に見出し右に本文の区画 */
.agent { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(28px, 6vw, 96px); align-items: start; }
.agent__head .h2 { margin-bottom: 0; }
.agent__body.body, .agent__body .body { max-width: 40em; }
.rows { list-style: none; margin: 0; padding: 0; }
.rows li { padding: 22px 0; background: var(--chain) bottom / 100% 1px no-repeat; }
.rows li:first-child { padding-top: 4px; }
@media (max-width: 860px) { .agent { grid-template-columns: 1fr; } .agent__head .h2 { margin-bottom: 8px; } }

/* 表 */
.fee { width: 100%; max-width: 900px; border-collapse: collapse; margin-bottom: 32px; }
.fee th, .fee td { text-align: left; padding: 18px 16px 18px 0; border-bottom: 1px solid var(--ink); vertical-align: top; font-weight: 400; }
.fee thead th { font-size: 13px; font-weight: 500; color: var(--ink-2); padding-top: 0; padding-bottom: 10px; letter-spacing: .1em; }
.fee tbody tr:first-child th, .fee tbody tr:first-child td { border-top: 1.5px solid var(--ink); }
.fee .r { text-align: right; padding-right: 0; white-space: nowrap; }
.fee td.num { font-size: 17px; }
.fee--3 td:nth-child(2) { color: var(--ink-2); font-size: 14px; }
.fee--3 { min-width: 640px; }
.tscroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.cmp { width: 100%; max-width: 960px; border-collapse: collapse; margin-bottom: 32px; }
.cmp th, .cmp td { border: 1px solid var(--ink); padding: 16px 18px; text-align: left; vertical-align: top; font-weight: 400; }
.cmp thead th { font-family: var(--f-head); font-size: 18px; letter-spacing: .06em; }
.cmp tbody th { width: 22%; font-weight: 500; font-size: 14px; }
.cmp thead th:first-child { border-top-color: transparent; border-left-color: transparent; }
.cmp { min-width: 560px; }
.cmp--docs { min-width: 0; }
.cmp--docs tbody th { width: 9em; }
.mini { border-collapse: collapse; margin-top: 30px; font-size: 14px; }
.mini th, .mini td { padding: 10px 28px 10px 0; text-align: left; border-bottom: 1px solid var(--ink); font-weight: 400; }
.mini thead th { font-size: 12px; color: var(--ink-2); font-weight: 500; letter-spacing: .1em; border-bottom-width: 1.5px; }
.mini td.num { font-size: 15px; white-space: nowrap; padding-right: 0; }
.mini--steps { margin-top: 40px; }
@media (max-width: 520px) {
  .fee th, .fee td { padding: 14px 10px 14px 0; font-size: 14px; }
  .fee td.num { font-size: 14px; }
  .cmp--docs tbody th { width: 6.5em; }
  .cmp th, .cmp td { padding: 12px; font-size: 14px; }
}

/* よく聞かれること */
.qa { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px; }
.qa__i { padding: 26px 0; border-top: 1px solid var(--ink); }
.qa dt { font-family: var(--f-head); font-size: 19px; line-height: 1.6; letter-spacing: .03em; display: flex; gap: 12px; }
.qa__q { font-size: 14px; padding-top: .3em; flex: none; }
.qa dd { margin: 12px 0 0 32px; }
@media (max-width: 860px) { .qa { grid-template-columns: 1fr; } }

/* 事務所の場所（図面の表題欄に見立てた表） */
.basho { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.tblock { width: 100%; border-collapse: collapse; border: 1.5px solid var(--ink); font-size: 15px; }
.tblock th, .tblock td { border: 1px solid var(--ink); padding: 12px 16px; text-align: left; vertical-align: top; font-weight: 400; }
.tblock th { width: 8.4em; font-size: 13px; font-weight: 500; letter-spacing: .08em; white-space: nowrap; }
.basho__map { margin: 0; }
@media (max-width: 860px) { .basho { grid-template-columns: 1fr; } .basho__map { max-width: 480px; } }
@media (max-width: 520px) { .tblock th { width: 5.6em; white-space: normal; padding: 10px; } .tblock td { padding: 10px 12px; font-size: 14px; } }

/* ---------- 下層ページの頭 ---------- */
.phead { padding: clamp(52px, 8vw, 104px) 0 clamp(48px, 6vw, 80px); }
.phead__in { position: relative; }
.north-s { position: absolute; right: var(--gut); top: 0; width: 24px; height: auto; overflow: visible; }
.north-s path { stroke: var(--ink); stroke-width: 1; fill: none; }
.north-s text { font-size: 12px; }
.phead__h { font-family: var(--f-head); font-size: clamp(34px, 1.4rem + 2.6vw, 58px); line-height: 1.3; letter-spacing: .05em; font-feature-settings: "palt"; }
.dimbar { width: min(100%, 420px); height: 12px; margin: 22px 0 30px; overflow: visible; }
.dimbar path { stroke: var(--ink); stroke-width: 1; vector-effect: non-scaling-stroke; fill: none; }
.phead__lead { max-width: 38em; }
.toc { margin-top: 36px; }
.toc ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 30px; }
.toc a { font-size: 14px; font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--ink); padding-bottom: 2px; }
.toc a::after { content: " ↓"; font-family: var(--f-mono); }

/* 境界の確認の測量 */
.fig-c4 { margin: 40px 0 0; max-width: 1040px; }
.fig-c4 .only-narrow { max-width: 360px; }
.legs { list-style: none; margin: 44px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 40px; counter-reset: none; }
.legs li { padding: 20px 0 22px; border-top: 1px solid var(--ink); }
.legs__p { font-size: 12px; letter-spacing: .1em; }
.legs h3 { font-family: var(--f-head); font-size: 19px; margin: 4px 0 8px; letter-spacing: .04em; }
.legs p { font-size: 15px; margin: 0; }
@media (max-width: 860px) { .legs { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .legs { grid-template-columns: 1fr; } }
.fig--c5 { max-width: 480px; }
.s-hikkai .fig-c1 .only-narrow { max-width: 420px; }

/* ご依頼の流れ */
.fig-c6 { margin: 0; max-width: 1000px; }
.fig-c6 .only-narrow { max-width: 360px; }
.steps4 { margin: 40px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 32px; }
.steps4 > div { border-top: 1px solid var(--ink); padding-top: 16px; }
.steps4 dt { font-family: var(--f-head); font-size: 19px; letter-spacing: .04em; }
.steps4 dd { margin: 8px 0 0; font-size: 15px; }
@media (max-width: 960px) { .steps4 { grid-template-columns: 1fr 1fr; gap: 28px 32px; } }
@media (max-width: 560px) { .steps4 { grid-template-columns: 1fr; gap: 22px; } }
.contact { display: grid; grid-template-columns: 1fr 1fr; position: relative; max-width: 1000px; }
.contact::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: var(--chain-v); }
.contact__col { padding-right: clamp(24px, 4vw, 64px); }
.contact__col + .contact__col { padding: 0 0 0 clamp(24px, 4vw, 64px); }
.contact__h { font-family: var(--f-head); font-size: 22px; letter-spacing: .1em; margin-bottom: 14px; }
.contact__tel { font-size: clamp(26px, 1rem + 1.8vw, 34px); margin-bottom: .4em; }
.contact__tel a { text-decoration: none; }
.contact__note { margin-top: 36px; }
.memo { margin: 24px 0 0; padding: 0; list-style: none; font-size: 14px; color: var(--ink); }
.memo li { padding-left: 22px; position: relative; }
.memo li::before { content: ""; position: absolute; left: 0; top: .9em; width: 12px; height: 1px; background: var(--ink); }
@media (max-width: 760px) {
  .contact { grid-template-columns: 1fr; }
  .contact::before { display: none; }
  .contact__col, .contact__col + .contact__col { padding: 0; }
  .contact__col + .contact__col { margin-top: 30px; padding-top: 30px; background: var(--chain) top / 100% 1px no-repeat; }
}

/* 事務所案内 */
.career { border-collapse: collapse; margin-top: 44px; width: 100%; max-width: 40em; font-size: 15px; }
.career th, .career td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--hair); font-weight: 400; vertical-align: top; }
.career th { width: 8em; font-size: 14px; white-space: nowrap; }
.fig-c7 { margin: 8px 0 36px; }
.name__text { margin-left: auto; margin-right: 0; max-width: 34em; }
@media (min-width: 861px) { .name__text { margin-left: 33%; } }
.dash { list-style: none; margin: 24px 0 0; padding: 0; }
.dash li { position: relative; padding: 12px 0 12px 28px; border-bottom: 1px solid var(--hair); }
.dash li::before { content: ""; position: absolute; left: 0; top: 1.55em; width: 16px; height: 1px; background: var(--ink); }

/* ページの下 */
.next { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 36px; }
.next .tlink { margin: 0; }

/* ---------- フッター ---------- */
.foot { background: var(--ink); color: var(--paper); padding: 64px 0 56px; }
.foot__in { display: grid; grid-template-columns: 5fr 7fr; gap: 40px 64px; }
.foot__logo { color: var(--paper); display: inline-block; }
.foot .stk__o, .foot .logo__k { stroke: var(--paper); }
.foot__addr { margin-top: 22px; font-size: 14px; line-height: 1.9; }
.foot__nav { list-style: none; margin: 0 0 28px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 26px; }
.foot__nav a { font-size: 14px; text-decoration: none; }
.foot__nav a:hover { text-decoration: underline; }
.foot__note { font-size: 12px; line-height: 1.8; color: #D6D6D6; max-width: 40em; margin: 0 0 10px; }
.foot__note a { color: var(--paper); }
.foot a:focus-visible { outline-color: var(--paper); }
@media (max-width: 760px) { .foot__in { grid-template-columns: 1fr; } }
.halo { paint-order: stroke; stroke: var(--paper); stroke-width: 6px; stroke-linejoin: round; }
.c7__i { stroke-width: .8; stroke-dasharray: 2 3; }
.fig-c1--s .only-wide { display: none; }
.fig-c1--s .only-narrow { display: block; }
.pins li, .qa dt, .legs h3, .steps4 dt, .case__after, .small, .cap { word-break: auto-phrase; }
@media (max-width: 520px) {
  .cmp { min-width: 0; }
  .cmp thead th { font-size: 15px; }
  .cmp tbody th { width: auto; font-size: 13px; }
  .fig--c3 .c3__t { font-size: 15px; }
  .fig--c3 .tag { font-size: 16px; }
  .fig--c5 .c5__k { font-size: 17px; }
  .fig--c5 .c5__t { font-size: 19px; }
  .fig--c7s .stk__o { stroke-width: 1.4; }
}
