/* くすのき金物店（架空のお店・Web制作サンプル）共通CSS
   改行の土台（word-break / overflow-wrap / text-wrap / .nb）は、各HTMLの <style> に入れてあります。
   方向：生成り・深緑・赤錆色。ものさしの目盛りと角ばった枠で、道具屋らしく実直に。 */

*,*::before,*::after{box-sizing:border-box}

:root{
  --green:#1f4a3a;
  --green-deep:#143328;
  --green-soft:#e1e8dc;
  --rust:#9c3f1f;
  --rust-light:#e9a583;
  --cream:#f6f1e4;
  --cream-soft:#fbf8f0;
  --sand:#e6dcc4;
  --ink:#2a2a24;
  --muted:#575446;
  --line:#d3c9b0;
  --white:#fff;
  --sans:"Noto Sans JP","Yu Gothic","Hiragino Sans","BIZ UDPGothic",Meiryo,sans-serif;
}

html{-webkit-text-size-adjust:100%;scroll-behavior:smooth;scroll-padding-top:16px}
body{
  margin:0;
  background:var(--cream-soft);
  color:var(--ink);
  font-family:var(--sans);
  font-size:16px;
  line-height:1.9;
  letter-spacing:.03em;
  font-feature-settings:"palt" 1;
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3,p,dl,dd,ol,ul,figure,address{margin:0}
ol,ul{padding:0;list-style:none}
address{font-style:normal}
a{color:inherit}
img{display:block;max-width:100%;height:auto}
small{font-size:inherit}
::selection{background:var(--sand)}

:focus-visible{outline:3px solid var(--rust);outline-offset:3px;border-radius:2px}

.wrap{width:min(1080px,calc(100% - 40px));margin-inline:auto}

.skip{
  position:absolute;left:12px;top:-80px;z-index:100;
  padding:10px 18px;background:var(--green-deep);color:#fff;border-radius:0 0 6px 6px;
}
.skip:focus{top:0}

.vh{
  position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;
  clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0;
}

/* ものさしの目盛り（飾り） */
.ruler{
  height:12px;
  background:
    repeating-linear-gradient(90deg,var(--green) 0 2px,transparent 2px 10px) bottom/100% 7px no-repeat,
    repeating-linear-gradient(90deg,var(--green) 0 2px,transparent 2px 50px) bottom/100% 12px no-repeat;
  opacity:.55;
}

/* ---------- 見出しと小見出し ---------- */
h1,h2,h3{font-weight:700;letter-spacing:.04em}
h2{font-size:clamp(25px,4.6vw,34px);line-height:1.5;font-weight:900;color:var(--green)}
h3{font-size:clamp(18px,3.2vw,21px);line-height:1.6;color:var(--green)}

.eyebrow{
  display:flex;align-items:center;gap:10px;
  font-size:13px;font-weight:700;letter-spacing:.2em;line-height:1.7;
  color:var(--rust);margin-bottom:8px;
}
.eyebrow::before{content:"";flex:none;width:22px;height:4px;background:var(--rust)}

/* ---------- ボタン ---------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;
  min-height:52px;padding:0 28px;border-radius:3px;
  background:var(--rust);color:#fff;
  font-family:var(--sans);font-size:17px;font-weight:700;letter-spacing:.1em;text-decoration:none;
  border:2px solid var(--rust);box-shadow:0 4px 0 var(--green-deep);
  transition:background-color .2s,transform .15s,box-shadow .15s;
}
.btn:hover{background:#82331a;border-color:#82331a}
.btn:active{transform:translateY(3px);box-shadow:0 1px 0 var(--green-deep)}
.btn-note{display:block;font-size:12px;line-height:1.6;color:var(--muted);letter-spacing:.02em}

/* ---------- ヘッダー ---------- */
.site-header{background:var(--cream);border-bottom:4px solid var(--green)}
.sample-band{
  background:var(--green-deep);color:#fff;text-align:center;
  font-size:12px;line-height:1.7;letter-spacing:.02em;padding:8px 16px;
}
.header-inner{
  width:min(1080px,calc(100% - 40px));margin-inline:auto;
  display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:6px 28px;padding:14px 0;
}
.brand{display:inline-flex;align-items:center;gap:10px;min-height:48px;text-decoration:none;color:var(--green);justify-self:start}
.brand svg{width:38px;height:38px;flex:none}
.brand-text{display:flex;flex-direction:column;line-height:1.25}
.brand-ja{font-size:23px;font-weight:900;letter-spacing:.08em}
.brand-en{font-size:11px;font-weight:700;letter-spacing:.12em;color:var(--rust)}

.nav{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:0 4px}
.nav a{
  display:inline-flex;align-items:center;min-height:44px;padding:0 14px;
  font-size:15px;font-weight:500;text-decoration:none;box-shadow:inset 0 -4px 0 transparent;
  transition:color .2s,box-shadow .2s,background-color .2s;
}
.nav a:hover{background:var(--sand);color:var(--green)}
.nav a[aria-current="page"]{font-weight:900;color:var(--green);box-shadow:inset 0 -4px 0 var(--rust)}

.header-cta{display:flex;flex-direction:column;align-items:flex-end;gap:4px}
.header-cta .btn{min-height:48px;padding:0 22px;font-size:16px}

@media (max-width:899px){
  .header-inner{
    display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;
    gap:0 12px;padding:8px 0 0;
  }
  .brand{order:1}
  .header-cta{display:contents}
  .header-cta .btn{order:2;min-height:44px;padding:0 16px;font-size:15px;letter-spacing:.05em}
  .header-cta .btn-note{order:3;flex:1 0 100%;text-align:right;padding-top:4px}
  .nav{order:4;flex:1 0 100%;justify-content:space-between;margin-top:6px;border-top:1px solid var(--line)}
  .nav a{padding:0 8px}
}
@media (max-width:389px){
  .header-cta .btn{flex:1 0 100%;margin-top:4px}
  .header-cta .btn-note{text-align:center}
  .nav a{font-size:14px;padding:0 6px}
}

/* ---------- 共通のまとまり ---------- */
.section{padding:76px 0}
.section--sand{background:var(--cream)}
.section--green{background:var(--green);color:#fff}
.section--green h2,.section--green h3{color:#fff}
.section--green .eyebrow{color:var(--rust-light)}
.section--green .eyebrow::before{background:var(--rust-light)}
.section--green :focus-visible{outline-color:#fff}
.sec-head{margin-bottom:38px}
.sec-lead{margin-top:12px;max-width:36em;color:var(--muted)}

@media (max-width:599px){
  .section{padding:54px 0}
  .sec-head{margin-bottom:28px}
}

/* ---------- 写真の枠（画像は使わない） ---------- */
.photo-slot{
  position:relative;display:grid;place-content:center;justify-items:center;gap:4px;
  width:100%;aspect-ratio:4/3;padding:16px;overflow:hidden;text-align:center;
  background:
    repeating-linear-gradient(135deg,rgba(31,74,58,.08) 0 10px,transparent 10px 20px),
    linear-gradient(160deg,#e9dfc6 0%,#d3dcc8 100%);
  border:2px solid var(--green);border-radius:4px;color:#2f3d33;
}
.photo-slot.ratio-32{aspect-ratio:3/2}
.photo-slot .ps-tag{
  padding:2px 12px;border:1px solid #2f3d33;border-radius:2px;
  font-size:12px;font-weight:700;letter-spacing:.3em;line-height:1.7;
}
.photo-slot .ps-text{font-size:14px;font-weight:500;line-height:1.7;letter-spacing:.04em}
.section--green .photo-slot{border-color:#fff}

/* ---------- トップの最初の画面 ---------- */
.hero{padding:28px 0 0;background:var(--cream)}
.hero-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:34px;align-items:center;padding-bottom:56px}
.hero-media{position:relative;order:-1}
.hero-media::before{
  content:"";position:absolute;inset:12px -10px -12px 10px;
  background:var(--sand);border-radius:4px;
}
.hero-media .photo-slot{position:relative;z-index:1}

.hero-title{display:block;margin-bottom:8px;color:var(--green)}
.hero-ja{display:block;font-size:clamp(52px,14.5vw,84px);font-weight:900;letter-spacing:.06em;line-height:1.15;font-feature-settings:normal}
.hero-en{display:block;font-size:clamp(20px,5.4vw,30px);font-weight:700;letter-spacing:.16em;color:var(--rust);margin-top:2px}
.hero-lead{font-size:clamp(18px,3.8vw,23px);font-weight:700;letter-spacing:.04em;line-height:1.7;margin:16px 0 8px;color:var(--ink)}
.hero-sub{color:var(--muted);max-width:30em;margin-bottom:22px}

.facts{border-top:3px solid var(--green);margin-bottom:26px;max-width:32em}
.facts>div{display:grid;grid-template-columns:5.8em minmax(0,1fr);gap:12px;align-items:center;padding:10px 0;border-bottom:1px solid var(--line)}
.facts dt{font-size:13px;font-weight:700;letter-spacing:.1em;color:var(--rust)}
.facts dd{margin:0;font-size:clamp(17px,4.4vw,20px);font-weight:900;color:var(--green);line-height:1.5}
.facts dd small{display:block;font-size:13px;font-weight:500;color:var(--muted);line-height:1.6}

.cta{display:flex;flex-direction:column;align-items:flex-start;gap:10px}

@media (min-width:900px){
  .hero{padding-top:44px}
  .hero-grid{grid-template-columns:minmax(0,6fr) minmax(0,6fr);gap:56px;padding-bottom:80px}
  .hero-media{order:0}
}

/* ---------- 扱うもの（トップ） ---------- */
.kinds{display:grid;grid-template-columns:minmax(0,1fr);gap:16px}
.kind{background:var(--white);border:2px solid var(--green);border-top-width:8px;border-radius:4px;padding:20px 22px 22px}
.kind-no{font-size:13px;font-weight:900;letter-spacing:.22em;color:var(--rust);line-height:1.7}
.kind h3{font-size:clamp(20px,3.6vw,24px);font-weight:900;margin:2px 0 8px}
.kind p{color:var(--muted);font-size:15px;line-height:1.85}
@media (min-width:760px){
  .kinds{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
}

/* ---------- 研ぎの料金の目安 ---------- */
.spots{display:grid;grid-template-columns:minmax(0,1fr);gap:14px}
.spot{background:var(--white);border:2px solid var(--green);border-radius:4px;overflow:hidden}
.spot-name{
  background:var(--green);color:#fff;padding:10px 16px;
  font-size:clamp(17px,3.4vw,19px);font-weight:900;line-height:1.5;
}
.spot-body{padding:14px 16px 16px}
.spot-price{font-size:clamp(30px,6vw,36px);font-weight:900;letter-spacing:.02em;line-height:1.3;color:var(--rust)}
.spot-price small{font-size:12px;font-weight:500;color:var(--muted);letter-spacing:.05em;margin-left:4px}
.spot-time{margin-top:2px;font-size:14px;color:var(--muted);line-height:1.7}
.spot-time strong{font-weight:700;color:var(--ink)}
.spots-note{margin-top:20px;padding:12px 16px;background:var(--cream);border-left:6px solid var(--rust);font-size:15px;color:var(--muted)}
@media (min-width:760px){
  .spots{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
}

/* ---------- はじめての人向けの流れ（トップ） ---------- */
.flow4{display:grid;grid-template-columns:minmax(0,1fr);gap:0}
.flow-item{
  position:relative;display:grid;grid-template-columns:44px minmax(0,1fr);gap:0 16px;padding-bottom:26px;
}
.flow-item::before{content:"";position:absolute;left:21px;top:48px;bottom:4px;width:2px;background:var(--rust)}
.flow-item:last-child{padding-bottom:0}
.flow-item:last-child::before{display:none}
.flow-num{
  grid-row:1/3;width:44px;height:44px;border-radius:3px;
  display:grid;place-items:center;background:var(--green);color:#fff;
  font-size:20px;font-weight:900;line-height:1;
}
.flow-item h3{padding-top:8px}
.flow-item p{color:var(--muted);font-size:15px;line-height:1.85;margin-top:4px}

@media (min-width:900px){
  .flow4{grid-template-columns:repeat(4,minmax(0,1fr));gap:22px}
  .flow-item{display:block;padding-bottom:0}
  .flow-item::before{left:48px;right:-22px;top:21px;bottom:auto;width:auto;height:2px}
  .flow-num{margin-bottom:14px}
  .flow-item h3{padding-top:0}
}

/* ---------- 大切にしていること ---------- */
.values-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:34px;align-items:center}
.values-photo{max-width:560px}
.values{display:grid;grid-template-columns:minmax(0,1fr);gap:26px}
.value{border-top:2px solid var(--rust-light);padding-top:16px}
.value-num{font-size:15px;font-weight:900;letter-spacing:.2em;color:var(--rust-light);line-height:1.7}
.value h3{margin:2px 0 8px;font-size:clamp(19px,3.4vw,22px)}
.value p{color:#e6eee6}

@media (min-width:900px){
  .values-layout{grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:56px}
}

/* ---------- 入口カード ---------- */
.gates{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;margin-bottom:52px}
.gate{
  display:block;text-decoration:none;
  background:var(--white);border:2px solid var(--green);border-radius:4px;padding:26px 24px 16px;
  transition:background-color .2s,box-shadow .2s;
}
.gate:hover{background:var(--cream);box-shadow:6px 6px 0 var(--rust)}
.gate h3{font-size:clamp(21px,3.6vw,25px);font-weight:900;margin-bottom:8px}
.gate p{color:var(--muted)}
.gate-more{
  display:flex;align-items:center;justify-content:flex-end;gap:10px;min-height:44px;margin-top:8px;
  color:var(--rust);font-weight:900;letter-spacing:.08em;
}
.gate-more::after{content:"→";transition:transform .2s}
.gate:hover .gate-more::after{transform:translateX(4px)}

@media (min-width:760px){
  .gates{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
}

/* ---------- 相談の帯 ---------- */
.cta-panel{
  background:var(--green);color:#fff;border-radius:4px;
  padding:40px 22px 36px;text-align:center;border-bottom:8px solid var(--rust);
}
.cta-panel--after{margin-top:52px}
.cta-panel h2{margin-bottom:12px;color:#fff}
.cta-panel p{max-width:34em;margin-inline:auto;color:#e6eee6}
.cta-panel .cta{align-items:center;margin-top:24px}
.cta-panel .btn{background:#fff;color:var(--green);border-color:#fff;box-shadow:0 4px 0 var(--green-deep)}
.cta-panel .btn:hover{background:var(--sand);border-color:var(--sand)}
.cta-panel .btn-note{color:#dbe6dc}
.cta-panel :focus-visible{outline-color:#fff}

/* ---------- 下のページの見出し部分 ---------- */
.page-head{background:var(--cream);padding:48px 0 0;border-bottom:1px solid var(--line)}
.page-head .wrap{padding-bottom:40px}
.page-head h1{
  font-size:clamp(30px,6vw,44px);font-weight:900;line-height:1.45;margin-bottom:12px;color:var(--green);
  padding-left:16px;border-left:8px solid var(--rust);
}
.page-lead{max-width:34em;color:var(--muted)}
@media (max-width:699px){
  .page-head{padding-top:36px}
  .page-head .wrap{padding-bottom:32px}
}

.jump{display:flex;flex-wrap:wrap;gap:10px;margin-top:24px}
.jump a{
  display:inline-flex;align-items:center;min-height:44px;padding:0 18px;
  border:2px solid var(--green);border-radius:3px;background:var(--white);
  color:var(--green);font-weight:700;text-decoration:none;letter-spacing:.06em;
  transition:background-color .2s;
}
.jump a:hover{background:var(--sand)}

/* ---------- 扱う品 ---------- */
.items-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:34px}
.items-aside{display:grid;grid-template-columns:minmax(0,1fr);gap:22px;max-width:460px}
.items-aside figcaption{margin-top:10px;color:var(--muted);font-size:14px;line-height:1.8}
.items-aside figcaption strong{color:var(--green);font-weight:700}
@media (min-width:960px){
  .items-layout{grid-template-columns:minmax(0,7fr) minmax(0,5fr);gap:44px;align-items:start}
  .items-aside{position:sticky;top:24px;max-width:none}
}

.item-card{
  scroll-margin-top:12px;
  background:var(--white);border:2px solid var(--green);border-radius:4px;
  padding:24px 24px 26px;margin-bottom:22px;
}
.item-card:last-child{margin-bottom:0}
.item-card h3{font-size:clamp(21px,3.6vw,25px);font-weight:900;margin-bottom:4px}
.item-card .card-lead{color:var(--muted);font-size:15px;margin-bottom:14px}
.tag-list{display:flex;flex-wrap:wrap;gap:8px}
.tag-list li{
  display:inline-flex;align-items:center;min-height:38px;padding:0 14px;
  background:var(--green-soft);border:1px solid #b7c6b2;border-radius:3px;
  font-size:15px;font-weight:700;color:var(--green);line-height:1.5;
}

/* ---------- 料金表 ---------- */
.price-note{
  background:var(--cream);border-left:6px solid var(--rust);
  padding:12px 16px;margin-bottom:28px;color:var(--muted);font-size:15px;
}
.price-card{
  background:var(--white);border:2px solid var(--green);border-radius:4px;
  padding:14px 24px 12px;
}
.price-table{width:100%;border-collapse:collapse}
.price-table thead th{
  text-align:left;font-size:12px;font-weight:700;letter-spacing:.1em;color:var(--muted);
  padding:8px 8px;border-bottom:2px solid var(--green);
}
.price-table thead th:nth-child(2){text-align:center}
.price-table thead th:last-child{text-align:right}
.price-table tbody th,.price-table tbody td{padding:16px 8px;vertical-align:top;border-bottom:1px solid var(--line)}
.price-table tbody tr:last-child th,.price-table tbody tr:last-child td{border-bottom:0}
.price-table tbody th{text-align:left;font-weight:900;line-height:1.6;color:var(--green)}
.price-table .desc{display:block;font-weight:400;font-size:13px;line-height:1.7;color:var(--muted);margin-top:2px}
.price-table .time{text-align:center;color:var(--ink);font-size:15px;font-weight:500;width:8.2em}
.price-table .price{text-align:right;font-size:26px;font-weight:900;letter-spacing:.01em;line-height:1.4;color:var(--rust);width:150px}
.price-table .price small{display:block;font-size:12px;font-weight:500;color:var(--muted);letter-spacing:.05em}

@media (max-width:599px){
  .price-card{padding:8px 14px 6px}
  .price-table thead{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip-path:inset(50%)}
  .price-table,.price-table tbody{display:block}
  .price-table tbody tr{
    display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 12px;align-items:end;
    padding:14px 0;border-bottom:1px solid var(--line);
  }
  .price-table tbody tr:last-child{border-bottom:0}
  .price-table tbody th,.price-table tbody td{display:block;padding:0;border:0;width:auto}
  .price-table tbody th{grid-column:1/-1}
  .price-table .time{text-align:left;width:auto}
  .price-table .price{text-align:right;width:auto;font-size:25px}
  .price-table .price small{display:inline;margin-left:4px}
}

/* ---------- お願いごと・追加になる場合 ---------- */
.asks{display:grid;grid-template-columns:minmax(0,1fr);gap:14px;counter-reset:ask}
.ask{
  counter-increment:ask;position:relative;
  background:var(--white);border:2px solid var(--line);border-radius:4px;padding:18px 20px 18px 66px;
}
.ask::before{
  content:counter(ask);position:absolute;left:18px;top:18px;width:34px;height:34px;border-radius:3px;
  display:grid;place-items:center;background:var(--green);color:#fff;font-weight:900;font-size:17px;line-height:1;
}
.ask h3{font-size:18px;margin-bottom:2px}
.ask p{color:var(--muted);font-size:15px;line-height:1.85}
@media (min-width:760px){
  .asks{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
}

/* ---------- お店のこと ---------- */
.about-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:30px;align-items:center}
.about-text p+p{margin-top:14px}
.about-text{max-width:34em}
.about-note{margin-top:16px;font-size:13px;color:var(--muted);line-height:1.8}
@media (min-width:900px){
  .about-layout{grid-template-columns:minmax(0,7fr) minmax(0,5fr);gap:56px}
}

/* ---------- 地図 ---------- */
.map-ph{
  display:grid;place-items:center;aspect-ratio:4/3;min-height:220px;padding:20px;
  background:#dcdcd2;border:2px dashed #85887b;border-radius:4px;color:#33362d;text-align:center;
}
.map-ph p{font-weight:700;letter-spacing:.06em}
.map-ph small{display:block;font-size:12px;font-weight:400;margin-top:4px;color:#44473d}
@media (min-width:900px){
  .map-ph{aspect-ratio:16/6;min-height:280px}
}
.route-wrap{display:grid;grid-template-columns:minmax(0,1fr);gap:28px}
.route-text{max-width:36em}
.route-text .asks{margin-top:18px}
@media (min-width:900px){
  .route-wrap{grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:44px;align-items:start}
  .route-text .asks{grid-template-columns:minmax(0,1fr)}
  .route-wrap .map-ph{aspect-ratio:auto;min-height:340px;height:100%}
}

/* ---------- 連絡先の表 ---------- */
.info-card{background:var(--white);border:2px solid var(--green);border-radius:4px;padding:8px 26px;max-width:720px}
.info-table{width:100%;border-collapse:collapse}
.info-table th,.info-table td{padding:16px 0;vertical-align:top;border-bottom:1px solid var(--line);text-align:left}
.info-table tr:last-child th,.info-table tr:last-child td{border-bottom:0}
.info-table th{width:6.6em;padding-right:12px;font-size:14px;font-weight:700;letter-spacing:.08em;color:var(--rust)}
.info-table td{font-weight:500}
.info-table .big{font-size:clamp(22px,5vw,28px);font-weight:900;color:var(--green);line-height:1.5}
@media (max-width:599px){
  .info-card{padding:4px 16px}
  .info-table th{width:5.8em;font-size:13px}
}

/* ---------- よくある質問 ---------- */
.faq details{background:var(--white);border:2px solid var(--line);border-radius:4px;margin-bottom:12px}
.faq details[open]{border-color:var(--green)}
.faq summary{
  display:flex;align-items:center;gap:12px;min-height:60px;padding:12px 18px;
  cursor:pointer;list-style:none;font-weight:700;line-height:1.7;color:var(--green);
}
.faq summary::-webkit-details-marker{display:none}
.faq .q-text{flex:1;min-width:0}
.faq summary::before{
  content:"Q";content:"Q" / "";
  flex:none;display:grid;place-items:center;width:30px;height:30px;border-radius:3px;
  background:var(--green);color:#fff;font-size:16px;font-weight:900;line-height:1;
}
.faq summary::after{
  content:"＋";content:"＋" / "";
  margin-left:auto;flex:none;color:var(--rust);font-weight:900;
}
.faq details[open] summary::after{content:"－";content:"－" / ""}
.faq .answer{padding:0 20px 20px calc(18px + 30px + 12px);color:var(--ink)}
@media (max-width:599px){
  .faq .answer{padding:0 18px 18px 18px}
}

/* ---------- フッター ---------- */
.site-footer{background:var(--green-deep);color:#e6eee6;padding:50px 0 26px}
.footer-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:28px}
.footer-brand{font-size:22px;font-weight:900;letter-spacing:.06em;margin-bottom:10px;line-height:1.5}
.footer-title{font-size:12px;font-weight:700;letter-spacing:.22em;color:var(--rust-light);margin-bottom:6px}
.site-footer address,.site-footer .footer-list{font-size:15px;line-height:1.9}
.footer-small{margin-top:6px;font-size:13px;color:#c9d6ca;line-height:1.8}
.footer-nav a{display:flex;align-items:center;min-height:44px;text-decoration:none;font-size:15px}
.footer-nav a:hover{text-decoration:underline;text-underline-offset:4px}
.site-footer :focus-visible{outline-color:#fff}
.copy{margin-top:34px;padding-top:20px;border-top:1px solid rgba(230,238,230,.25);font-size:12px;line-height:1.8;color:#c9d6ca}
@media (min-width:800px){
  .footer-grid{grid-template-columns:1.3fr 1fr 1fr;gap:48px}
}

/* ---------- 動きを減らす設定 ---------- */
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{transition:none!important}
}

/* サンプル集の入口へ戻るリンク（sample-sitesに置いた版だけ） */
.sample-band a{color:inherit;text-decoration:underline;text-underline-offset:.2em;display:inline-block;padding:.35em .2em;margin-right:.6em}
