/* 案B「作業灯」 2026-10-03 */
:root{
  --ink:#141414;
  --white:#fff;
  --body:rgba(255,255,255,.88);
  --mute:rgba(255,255,255,.6);
  --mute2:rgba(255,255,255,.72);
  --line:rgba(255,255,255,.22);
  --accent:#d9e5dd;
}

*{box-sizing:border-box}

body{
  margin:0;
  background:var(--ink);
  color:var(--body);
  font-family:"Hiragino Sans","Noto Sans JP",sans-serif;
  font-size:17px;
  line-height:1.9;
  -webkit-text-size-adjust:100%;
}

h1,h2,h3{
  font-family:"Shippori Mincho B1","Hiragino Mincho ProN",serif;
  font-weight:800;
  letter-spacing:.04em;
  line-height:1.25;
  margin:0;
  color:var(--white);
  word-break:keep-all;
}


/* ヘッダー */
.site-header{
  background:var(--ink);
  height:52px;
  display:flex;
  align-items:center;
  padding:0 20px;
  border-bottom:1px solid var(--line);
}
.site-header-name{
  margin:0;
  font-size:15px;
  font-weight:700;
  color:var(--white);
  letter-spacing:.02em;
}

/* 作業灯の節 */
.lamp{
  position:relative;
  height:220svh;
  background:var(--ink);
}
.stage.hk-photo{
  position:sticky;
  top:0;
  height:100svh;
  overflow:hidden;
  margin:0;
  background:var(--ink);
}
.lamp-photo-img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:42% 60%;
  display:block;
}
.shade{
  display:none;
  position:absolute;
  left:50%;
  top:50%;
  width:180px;
  height:180px;
  border-radius:50%;
  transform:translate(-50%,-50%) scale(1);
  border:3000px solid rgba(20,20,20,.88);
  box-sizing:content-box;
  pointer-events:none;
  will-change:transform;
  z-index:2;
}
html.js .shade{display:block}
/* 既定（JS無し・reduced-motion）：stage内の、初期画面で見えている範囲に絶対配置。stageと一緒に自然にスクロールして消える */
.lamp-head{
  position:absolute;
  left:20px;
  right:20px;
  top:52px;
  z-index:3;
  will-change:opacity;
  pointer-events:none;
}
/* JS有り・通常モーション：viewportの下端に固定し、スクロールの進みに応じてJSがopacityを0へ */
html.js .lamp-head{
  position:absolute;
  top:52px;
}
@media (prefers-reduced-motion:reduce){
  html.js .lamp-head{
    position:absolute;
    top:52px;
  }
}
.lamp-sub{
  margin:0 0 4px;
  font-family:"Shippori Mincho B1",serif;
  font-size:14px;
  font-weight:800;
  color:var(--white);
  text-shadow:0 1px 2px rgba(0,0,0,.8);
  letter-spacing:.04em;
}
.lamp-title{
  display:block;
  margin:0;
  font-size:48px;
}
.lamp-title span{
  display:inline-block;
  color:var(--white);
  text-shadow:0 1px 2px rgba(0,0,0,.8);
}
.lamp-title span:first-child{display:block}
.lamp-title span:last-child{display:block}
.lamp-tag{
  white-space:nowrap;
  margin:10px 0 0;
  font-size:17px;
  font-weight:400;
  color:var(--white);
  text-shadow:0 1px 2px rgba(0,0,0,.8);
  font-family:"Hiragino Sans","Noto Sans JP",sans-serif;
  letter-spacing:0;
}
.lamp .hk-photo-note.tr{z-index:4}

/* 頼める仕事 */
.jobs{
  background:var(--ink);
  padding:64px 20px;
}
.jobs-eyebrow{
  display:inline-block;
  font-family:"Hiragino Sans","Noto Sans JP",sans-serif;
  font-size:15px;
  font-weight:700;
  color:var(--accent);
  border:2px solid var(--accent);
  border-radius:0;
  padding:5px 12px;
  letter-spacing:.06em;
  margin-bottom:28px;
}
.job-row{
  border-bottom:1px solid var(--line);
  padding:20px 0;
}
.job-row:first-of-type{border-top:1px solid var(--line)}
.job-name{
  font-size:48px;
  display:flex;
  align-items:baseline;
  flex-wrap:wrap;
  gap:12px;
}
.job-sub{
  font-family:"Hiragino Sans","Noto Sans JP",sans-serif;
  font-size:15px;
  font-weight:400;
  color:var(--mute2);
  letter-spacing:0;
}
.cert{
  margin-top:32px;
}
.cert-num{
  margin:0 0 6px;
  font-family:"Shippori Mincho B1",serif;
  font-size:22px;
  font-weight:700;
  color:var(--white);
  letter-spacing:.02em;
}
.cert-assoc{
  margin:0;
  font-size:15px;
  color:var(--mute2);
}

/* 事業所／相談 共通の節骨格 */
.office,.contact{
  background:var(--ink);
  padding:64px 20px;
  border-top:1px solid var(--line);
}
.office h2,.contact h2{font-size:28px;margin-bottom:28px}

/* 事業所 */
.office-list{margin:0 0 28px}
.office-list .row{
  display:grid;
  grid-template-columns:96px 1fr;
  gap:4px 16px;
  padding:16px 0;
  border-top:1px solid var(--line);
}
.office-list .row:first-child{border-top:none}
.office-list dt{
  margin:0;
  font-size:15px;
  color:var(--mute);
  font-weight:400;
}
.office-list dd{
  margin:0;
  font-size:17px;
  color:var(--white);
  font-weight:400;
}
.office-list dd .sub{
  display:inline-block;
  margin-top:4px;
  font-size:15px;
  color:var(--mute2);
}

/* 相談の窓口 */
.contact-lead{
  font-size:17px;
  color:var(--body);
  margin:0 0 28px;
}
.contact-buttons{
  display:flex;
  flex-direction:column;
  gap:12px;
}
.contact-note{
  margin:14px 0 0;
  font-size:15px;
  color:var(--mute);
}
.contact-assure{
  margin:16px 0 0;
  font-size:17px;
  color:var(--body);
}

/* ボタン */
.btn-solid{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:56px;
  width:100%;
  background:var(--white);
  color:var(--ink);
  font-size:16px;
  font-weight:700;
  text-decoration:none;
  border:2px solid var(--white);
  border-radius:0;
  letter-spacing:.02em;
  cursor:pointer;
}
.btn-solid:hover{background:#e6e6e6;border-color:#e6e6e6}
.btn-solid:active{transform:translateY(2px)}
.btn-solid:focus-visible{outline:2px solid var(--white);outline-offset:2px}

.btn-outline{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  padding:0 24px;
  background:transparent;
  color:var(--white);
  font-size:16px;
  font-weight:700;
  text-decoration:none;
  border:2px solid var(--white);
  border-radius:0;
  letter-spacing:.02em;
}
.btn-outline:hover{background:rgba(255,255,255,.1)}
.btn-outline:active{transform:translateY(1px)}
.btn-outline:focus-visible{outline:2px solid var(--white);outline-offset:2px}

/* フッター */
.site-footer{
  background:var(--ink);
  border-top:1px solid var(--line);
  padding:28px 20px calc(28px + 16px);
}
.site-footer .ft-note{
  font-size:13px;
  line-height:1.7;
  color:rgba(255,255,255,.7);
}
.site-footer .ft-note p{margin:0 0 8px}
.site-footer .ft-note b{color:rgba(255,255,255,.85);font-weight:700}
.site-footer .credit{
  margin:10px 0 0;
  font-size:12.5px;
  color:rgba(255,255,255,.5);
}

/* 動きを止める（reduced-motion）：完成状態＝覆いなし・屋号は見えたまま */
@media (prefers-reduced-motion:reduce){
  html.js .shade{display:none}
  .lamp-head{opacity:1 !important}
}

/* PC（≥1024） */
@media (min-width:1024px){
  .lamp-head{left:64px;right:64px}
  html.js .lamp-head{top:40px}
  .lamp-title{font-size:88px}
  .lamp-sub{font-size:17px}
  .lamp-tag{font-size:19px}

  .jobs{padding:96px 64px;max-width:1100px;margin:0 auto}
  .job-rows{display:grid;grid-template-columns:1fr 1fr;gap:0 48px}
  .job-row{display:flex;flex-direction:column}
  .job-name{font-size:72px}

  .office .wrap,.contact .wrap{
    max-width:1100px;
    margin:0 auto;
    display:grid;
    grid-template-columns:280px 1fr;
    gap:0 48px;
  }
  .office,.contact{padding:96px 64px}
  .office h2,.contact h2{margin-bottom:0}

  .contact-buttons{flex-direction:row}
  .contact-buttons .btn-solid{width:auto;padding:0 32px}
}

/* 見比べ用の切り替えバー（デモだけ） */
.hk-switch{position:fixed;top:0;left:0;right:0;z-index:9600;height:40px;display:flex;align-items:center;gap:6px;padding:0 10px;background:#111;color:#fff;font:600 13px/1 "Hiragino Sans","Noto Sans JP",sans-serif;letter-spacing:0}
.hk-switch span{color:#aaa;margin-right:4px;white-space:nowrap;font-weight:400}
.hk-switch a{flex:1;text-align:center;color:#fff;text-decoration:none;padding:8px 0;border:1px solid #666}
.hk-switch a.on{background:#fff;color:#111;border-color:#fff}
body{padding-top:40px}
html.js .stage{top:40px !important;height:calc(100svh - 40px) !important}
@media (prefers-reduced-motion:reduce){ html.js .stage{position:static !important;height:auto !important} }
