/* 案B「作業灯」v3 生成器 2026-10-03（土台＝directions/b/style.css） */
: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;
  --deep:#1f4d34;
  --mid:#2f6a49;
}

*{box-sizing:border-box}

.sr-only{
  position:absolute;
  width:1px;height:1px;
  padding:0;margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}

/* 作業灯の文法（ラウンド2）：最初は暗く置き、画面に入ったら白100%へ。3か所だけ使う
   （ヒーローの明かり／頼める仕事の各行／相談直前の一枚）。JSなしは白100%で固定 */
.hk-light-reveal{opacity:1}
html.js .hk-light-reveal{opacity:.38;transition:opacity .5s ease}
html.js .hk-light-reveal.is-lit{opacity:1}
@media (prefers-reduced-motion:reduce){
  .hk-light-reveal{opacity:1 !important}
}

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);
}
.stage.no-photo{
  background:var(--deep);
}
.lamp-photo-img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:50% 50%;
  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}

/* 写真が無い店の別解（ラウンド2）：丸い明かりはやめ、光の帯が上から下へ通って
   仕事の名前を照らす。帯＝colors.mid のベタ（ぼかしなし）、動きは transform(translateY) だけ */
.light-band{
  position:absolute;
  left:0;right:0;top:0;
  height:40%;
  background:var(--mid);
  transform:translateY(-100%);
  will-change:transform;
  z-index:1;
  pointer-events:none;
}
html:not(.js) .light-band{display:none}
@media (prefers-reduced-motion:reduce){.light-band{display:none}}

.job-reveal{
  position:absolute;left:20px;right:20px;top:58%;margin:0;z-index:2;
  display:flex;flex-direction:column;gap:14px;
}
.job-word{
  display:block;
  font-family:"Shippori Mincho B1",serif;font-weight:800;font-size:44px;line-height:1.3;
  color:#fff;letter-spacing:.04em;word-break:keep-all;
  opacity:1;transition:opacity .5s ease;
}
html.js .job-word{opacity:0}
html.js .job-word.lit{opacity:1}
@media (min-width:1024px){.job-reveal{left:64px;top:60%}.job-word{font-size:72px}}
@media (prefers-reduced-motion:reduce){.job-word{opacity:1 !important}}
/* 既定（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:15px;
  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--one{
  font-size:52px;
}
.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;
}
/* 店の一点（point.main）をヒーローに独立した1行で（ラウンド2・徽章や枠は付けない） */
.lamp-point{
  margin:16px 0 0;
  font-family:"Shippori Mincho B1",serif;
  font-size:26px;
  font-weight:700;
  color:var(--white);
  text-shadow:0 1px 2px rgba(0,0,0,.8);
  letter-spacing:.02em;
  line-height:1.4;
}
.lamp .hk-photo-note.tr{z-index:4}

/* 頼める仕事（中盤の幅パターン②＝大きな仕事名は右端まで。標準より右の余白を切る） */
.jobs{
  background:var(--ink);
  padding:64px 12px 64px 24px;
}
.jobs-eyebrow{
  display:block;
  font-family:"Hiragino Sans","Noto Sans JP",sans-serif;
  font-size:15px;
  font-weight:700;
  color:var(--accent);
  letter-spacing:.14em;
  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;
  overflow-wrap:normal;
  word-break:keep-all;
  max-width:100%;
}

.job-name--44{font-size:44px}
.job-name--28{font-size:28px}
.job-name.job-name--long{font-size:30px;line-height:1.35;white-space:normal;display:block}
.job-sub{
  display:inline-block;
  margin-left:12px;
  font-family:"Hiragino Sans","Noto Sans JP",sans-serif;
  font-size:15px;
  font-weight:400;
  color:var(--mute2);
  letter-spacing:0;
}
.job-desc{
  margin:8px 0 0;
  font-size:15px;
  line-height:1.6;
  color:var(--mute2);
  font-family:"Hiragino Sans","Noto Sans JP",sans-serif;
}
/* 中盤の幅パターン③＝事実ブロック（point・officeの表組み）は左80px・幅270前後に indent */
.point{
  margin-top:32px;
  margin-left:56px;
  max-width:270px;
}
.point-main{
  margin:0 0 6px;
  font-family:"Shippori Mincho B1",serif;
  font-size:22px;
  font-weight:700;
  color:var(--white);
  letter-spacing:.02em;
}
.point-sub{
  margin:0;
  font-size:15px;
  color:var(--mute2);
}

/* 作業の様子（中盤の幅パターン①＝標準・左右24px） */
.works{
  background:var(--ink);
  padding:64px 24px;
  border-top:1px solid var(--line);
}
.works h2{font-size:28px;margin-bottom:28px}
.work-grid{
  display:flex;
  flex-direction:column;
  gap:24px;
}
.work-photo{
  margin:0;
  position:relative;
}
.work-img{
  width:100%;
  height:auto;
  display:block;
}
/* 写真は100%幅→82%幅で右寄せ→100%幅、と変える（岩村のような3枚で効く） */
.work-item{width:100%}
.work-item:nth-child(2){width:82%;margin-left:auto}
.work-title{
  margin:10px 0 0;
  font-size:16px;
  font-weight:700;
  color:var(--white);
  font-family:"Hiragino Sans","Noto Sans JP",sans-serif;
}
.works-note{
  margin:24px 0 0;
  font-size:15px;
  line-height:1.8;
  color:var(--mute);
}

/* 対応地域（標準・左右24px） */
.areas{
  background:var(--ink);
  padding:64px 24px;
  border-top:1px solid var(--line);
}
.areas h2{font-size:28px;margin-bottom:20px}
.areas-list{
  margin:0;
  font-size:17px;
  line-height:1.9;
  color:var(--body);
}

/* 紹介（標準・左右24px） */
.about{
  background:var(--ink);
  padding:64px 24px;
  border-top:1px solid var(--line);
}
.about h2{font-size:28px;margin-bottom:20px}
.about-text{
  margin:0;
  font-size:17px;
  line-height:1.9;
  color:var(--body);
}

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

/* 事業所：表組みは事実ブロック（左80px・幅270前後）に indent */
.office-fact{margin-left:56px;max-width:280px}
.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);
}

/* 相談の窓口：見出しの代わりに ask_line を大きく置く（相談直前の一枚・作業灯の文法3） */
.ask-line{
  margin:0 0 28px;
  font-family:"Shippori Mincho B1",serif;
  font-weight:800;
  font-size:36px;
  line-height:1.45;
  color:var(--white);
  letter-spacing:.02em;
}
.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:15px;
  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:15px;
  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:minmax(0,1fr) minmax(0,1fr);gap:0 48px;overflow:hidden}
  .job-row{display:flex;flex-direction:column;min-width:0}
  .job-name{font-size:72px;min-width:0}
  .job-name--28{font-size:36px}
  .job-name--long{font-size:40px}
  .shade{width:260px;height:260px}
  .point{margin-left:96px;max-width:360px}

  .works{padding:96px 64px}
  .works .work-grid{max-width:1100px;margin:0 auto;flex-direction:row;align-items:flex-start}
  .works h2{max-width:1100px;margin-left:auto;margin-right:auto;margin-bottom:28px}
  .work-item{flex:1 1 0;min-width:0;width:auto}
  .work-item:nth-child(2){margin-left:0;margin-top:56px}

  .areas,.about{padding:96px 64px}
  .areas h2,.about h2,.areas-list,.about-text{max-width:1100px;margin-left:auto;margin-right:auto}

  .office .wrap{
    max-width:1100px;
    margin:0 auto;
    display:grid;
    grid-template-columns:280px 1fr;
    gap:0 48px;
  }
  .office-fact{margin-left:0;max-width:420px}
  .contact .wrap{max-width:700px;margin:0}
  .ask-line{font-size:48px;margin-bottom:36px}
  .office,.contact{padding:96px 64px}
  .office h2{margin-bottom:0}

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

/* 屋号が1行の店（1440）：2行の店(88px)より少し大きく */
@media (min-width:1024px){
  .lamp-title--one{font-size:96px}
}
