:root{--area-bg:#111111;--area-border:rgba(255,255,255,.18);--area-accent:#4d7cf0}

*{box-sizing:border-box}
body{margin:0;background:#fff;color:#111;font-size:15px;line-height:1.8;
  font-family:system-ui,-apple-system,"Hiragino Sans","Noto Sans JP",sans-serif;
  -webkit-font-smoothing:antialiased}
a{color:#111;text-decoration:none}
img{max-width:100%}
.hj-wrap{max-width:1120px;margin:0 auto;padding:0 32px}

/* ---------- ヘッダ ---------- */
.hj-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.94);
  backdrop-filter:blur(8px);border-bottom:1px solid #f0f0f0}
/* ナビは中央に浮かぶ角丸の島。ロゴは左に絶対配置で逃がす */
.hj-headrow{display:flex;align-items:center;justify-content:center;height:64px;
  position:relative}
.hj-logo{position:absolute;left:32px;top:50%;transform:translateY(-50%)}
.hj-logo img{height:30px;width:auto;display:block}
.hj-nav{display:flex;align-items:center}
.hj-navpill{display:flex;align-items:center;gap:2px;background:#fff;
  border:1px solid #e5e7eb;border-radius:999px;padding:6px 6px 6px 8px;
  box-shadow:0 4px 16px -10px rgba(0,0,0,.25)}
.hj-navlink{font-size:14px;color:#5b5b5b;padding:9px 15px;border-radius:999px;
  white-space:nowrap;transition:background .2s,color .2s}
.hj-navlink:hover{background:#f3f3f3;color:#111}
.hj-navlink[aria-current=page]{color:#111;font-weight:700;background:#f3f3f3}
.hj-cta{background:#111;color:#fff;font-size:14px;font-weight:700;padding:10px 18px;
  border-radius:999px;margin-left:6px;white-space:nowrap;transition:background .2s,transform .2s}
.hj-cta:hover{background:#000;transform:translateY(-1px);color:#fff}
.hj-cta .arw{display:inline-block;transition:transform .25s}
.hj-cta:hover .arw{transform:translate(3px,-3px)}
.hj-burger{display:none;margin-left:auto;width:42px;height:42px;border:0;background:none;
  cursor:pointer;padding:10px;flex-direction:column;justify-content:space-between}
.hj-burger span{display:block;height:2px;background:#111;border-radius:2px;
  transition:transform .25s,opacity .2s}

/* ---------- ふわっと出す ----------
   JSが動いたときだけ「隠してから出す」。
   JSが無い環境では armed が付かず、最初から見えたままになる（消えない） */
.hj-armed .hj-fade{opacity:0;transform:translateY(16px)}
.hj-armed .hj-fade.is-in{opacity:1;transform:none;
  transition:opacity .65s cubic-bezier(.2,.7,.3,1),transform .65s cubic-bezier(.2,.7,.3,1)}

/* ---------- ヒーロー（写真スライドショー） ----------
   写真を背景に敷き、文言を上に重ねる。画像は等倍で流し込まず、
   高さを決めて object-fit:cover で切る。そうしないと画像の縦横比に
   ページが引きずられ、文字が写真の下に押し出される */
.hj-hero{position:relative;height:min(78vh,640px);min-height:460px;
  overflow:hidden;background:#0a0a0a;display:flex;align-items:center}
.hj-hero-media{position:absolute;inset:0}
.hj-slide{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;
  object-position:center 46%;opacity:0;transition:opacity 1.4s ease;
  transform:scale(1.04)}
.hj-slide.is-on{opacity:1}
.hj-hero-veil{position:absolute;inset:0;background:linear-gradient(90deg,
  rgba(10,10,10,.92) 0%,rgba(10,10,10,.74) 46%,rgba(10,10,10,.18) 100%)}
.hj-hero-in{position:relative;width:100%;padding-top:0;padding-bottom:0}
.hj-hero h1{font-size:40px;font-weight:700;line-height:1.35;margin:0 0 14px;color:#fff}
.hj-hero p{font-size:15px;line-height:1.9;color:#dcdcdc;margin:0 0 26px;max-width:34em}
.hj-hero-eyebrow{display:flex;align-items:center;gap:8px;font-size:12px;
  letter-spacing:.14em;color:#d4d4d4;margin-bottom:14px}
.hj-hero-eyebrow span{width:6px;height:6px;border-radius:50%;background:var(--area-accent)}
.hj-hero-cap{position:absolute;right:32px;bottom:18px;font-size:11px;
  color:rgba(255,255,255,.72)}
.hj-dots{position:absolute;left:32px;bottom:18px;display:flex;gap:7px}
.hj-dot{width:26px;height:4px;border:0;padding:0;border-radius:99px;cursor:pointer;
  background:rgba(255,255,255,.34);transition:background .3s}
.hj-dot.is-on{background:#fff}
.hj-dot:focus-visible{outline:2px solid var(--area-accent);outline-offset:3px}
.hj-herosearch{display:flex;gap:8px;max-width:540px}
.hj-herosearch input{flex:1;min-width:0;font-size:16px;padding:13px 15px;border:0;
  border-radius:8px;outline:none}
.hj-herosearch button{background:#111;color:#fff;font-weight:700;font-size:15px;
  padding:13px 28px;border:0;border-radius:8px;cursor:pointer;
  transition:background .2s,transform .2s}
.hj-herosearch button:hover{background:#000;transform:translateY(-1px)}

/* ---------- 目的から探す ---------- */
.hj-catgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));
  gap:11px;margin-top:14px}
.hj-cat{display:flex;align-items:center;justify-content:space-between;gap:12px;
  border:1px solid #ececec;border-radius:12px;padding:15px 17px;
  transition:transform .25s,border-color .25s,box-shadow .25s}
.hj-cat:hover{transform:translateY(-3px);border-color:#c9c9c9;
  box-shadow:0 14px 26px -18px rgba(0,0,0,.4)}
.hj-cat-n{font-weight:700;font-size:14.5px;line-height:1.5}
.hj-cat-c{font-size:17px;font-weight:700;font-variant-numeric:tabular-nums;
  white-space:nowrap;color:var(--area-accent)}
.hj-cat-c i{font-style:normal;font-size:11.5px;color:#9ca3af;margin-left:2px;
  font-weight:400}

/* ---------- 地域検索 ---------- */
.hj-area{padding:36px 0}
.hj-area-in{max-width:1120px;margin:0 auto;background:var(--area-bg);color:#fff;
  border-radius:20px;padding:34px 36px}
.hj-area-eyebrow{font-size:11px;letter-spacing:.18em;color:rgba(255,255,255,.66);
  font-weight:700;display:flex;align-items:center;gap:9px}
/* ロゴの「ロ」の中の青丸を、白いリングごと縮めたもの */
.hj-area-mark{width:14px;height:14px;border-radius:50%;background:var(--area-accent);
  box-shadow:0 0 0 3px #fff;flex:0 0 auto;margin-right:2px}
.hj-area-title{font-size:23px;font-weight:700;margin:8px 0 6px}
.hj-area-lead{font-size:13.5px;color:rgba(255,255,255,.72);margin:0 0 20px;line-height:1.8}
.hj-area-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}

/* カード。ホバーで背景写真が奥からせり上がって現れる。
   写真の上に文字を載せるので、暗い覆いを常に挟んで可読性を守る */
.hj-tile{position:relative;overflow:hidden;isolation:isolate;
  display:flex;flex-direction:column;justify-content:flex-end;gap:2px;
  min-height:92px;padding:14px 16px;text-align:left;
  background:rgba(255,255,255,.05);border:1px solid var(--area-border);
  border-radius:12px;cursor:pointer;font-family:inherit;color:#fff;
  transition:border-color .3s,transform .3s cubic-bezier(.2,.7,.3,1)}
.hj-tile-bg{position:absolute;inset:0;z-index:-1;background-size:cover;
  background-position:center;opacity:0;transform:scale(1.14);
  transition:opacity .55s ease,transform .7s cubic-bezier(.2,.7,.3,1)}
/* 覆い。写真が出たときだけ濃くなる */
.hj-tile::after{content:"";position:absolute;inset:0;z-index:-1;
  background:linear-gradient(180deg,rgba(10,10,10,.15),rgba(10,10,10,.72));
  opacity:0;transition:opacity .55s ease}
.hj-tile:hover{border-color:var(--area-accent);transform:translateY(-3px)}
.hj-tile:hover .hj-tile-bg{opacity:1;transform:scale(1)}
.hj-tile:hover::after{opacity:1}
.hj-tile:focus-visible{outline:2px solid var(--area-accent);outline-offset:2px}
.hj-tile-t{font-size:15px;font-weight:700;line-height:1.4}
.hj-tile-s{font-size:11.5px;color:rgba(255,255,255,.6);
  font-variant-numeric:tabular-nums;transition:color .3s}
.hj-tile:hover .hj-tile-s{color:rgba(255,255,255,.85)}
.hj-area-foot{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-top:22px;
  padding-top:18px;border-top:1px solid rgba(255,255,255,.14);
  font-size:12.5px;color:rgba(255,255,255,.66)}
.hj-areachip{background:rgba(255,255,255,.1);border:1px solid var(--area-border);
  color:#fff;font-size:12.5px;font-weight:700;padding:5px 12px;border-radius:999px;
  transition:background .2s}
.hj-areachip:hover{background:rgba(255,255,255,.2);color:#fff}
.hj-areachip i{font-style:normal;opacity:.6;margin-left:5px;font-weight:400}
.hj-area-all{display:inline-block;margin-top:18px;color:var(--area-accent);
  font-weight:700;font-size:14px}
.hj-area-all:hover{color:var(--area-accent);text-decoration:underline}

/* ---------- フッタ ---------- */
.hj-footer{border-top:1px solid #eee;margin-top:44px;padding:28px 0 48px;
  font-size:13px;color:#8a8a8a}
.hj-footlogo{height:26px;width:auto;margin-bottom:12px;opacity:.85}
.hj-footlinks{display:flex;gap:16px;flex-wrap:wrap;margin-bottom:10px}
.hj-footlinks a{color:#5b5b5b}
.hj-footlinks a:hover{text-decoration:underline}

/* ---------- 狭い画面 ---------- */
@media(max-width:860px){
  .hj-wrap{padding:0 18px}
  .hj-headrow{justify-content:flex-start}
  .hj-logo{position:static;transform:none}
  .hj-burger{display:flex}
  .hj-nav{position:fixed;inset:64px 0 auto 0;margin:0;background:#fff;
    border-bottom:1px solid #eee;padding:8px 18px 18px;
    box-shadow:0 18px 30px -22px rgba(0,0,0,.5);display:none}
  .hj-navopen .hj-nav{display:block}
  /* 開いたときは島をやめて、素直な縦並びに戻す */
  .hj-navpill{flex-direction:column;align-items:stretch;gap:0;border:0;
    border-radius:0;padding:0;box-shadow:none;background:none}

  .hj-hero{height:min(72vh,520px);min-height:380px}
  .hj-hero-in{padding-top:0;padding-bottom:0}
  .hj-hero h1{font-size:25px}
  .hj-hero p{font-size:14px;margin-bottom:20px}
  .hj-herosearch{flex-direction:column}
  .hj-hero-cap{display:none}
  .hj-dots{left:18px}
  .hj-catgrid{grid-template-columns:1fr}
  .hj-navlink{padding:14px 6px;border-radius:0;border-bottom:1px solid #f3f3f3;
    font-size:15.5px}
  .hj-cta{margin:14px 0 0;text-align:center;padding:14px}
  .hj-navopen .hj-burger span:nth-child(1){transform:translateY(9px) rotate(45deg)}
  .hj-navopen .hj-burger span:nth-child(2){opacity:0}
  .hj-navopen .hj-burger span:nth-child(3){transform:translateY(-9px) rotate(-45deg)}

  .hj-area{padding:22px 0}
  .hj-area-in{border-radius:16px;padding:24px 20px}
  .hj-area-title{font-size:20px}
  .hj-area-grid{grid-template-columns:repeat(2,1fr);gap:9px}
  .hj-areabtn{min-height:46px;font-size:13.5px}

  /* 詳細ページ：表が主役でも、流入の大半はスマホ。2カラムは縦積みに */
  [style*="grid-template-columns:1fr 300px"]{grid-template-columns:1fr!important;
    gap:24px!important}
  [style*="grid-template-columns:repeat(3,1fr)"]{grid-template-columns:1fr!important}
  [style*="grid-template-columns:150px 1fr"]{grid-template-columns:1fr!important}
  aside{position:static!important}
  h1{font-size:22px!important}
  [style*="padding:26px 32px"]{padding:20px 18px 48px!important}
  [style*="padding:0 32px"]{padding:0 18px!important}
}
@media(prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}

/* ---------- 一覧の行 ---------- */
.hj-list{border-top:1px solid #ececec;margin-top:12px}
.hj-row{display:grid;grid-template-columns:1fr 120px 130px 150px;gap:16px;
  padding:15px 8px;border-bottom:1px solid #f2f2f2;align-items:start;
  transition:background .2s,transform .2s}
.hj-row:hover{background:#fafafa;transform:translateX(3px)}
.hj-row[data-closed]{opacity:.5}
.hj-row-t{font-weight:700;font-size:15px;line-height:1.55}
.hj-row-p,.hj-row-e{font-size:13px;color:#6b7280}
.hj-row-l{font-size:15px;font-weight:700;text-align:right;
  font-variant-numeric:tabular-nums;white-space:nowrap}
.hj-row-l[data-unsure]{color:#b45309;font-size:13px;font-weight:600}
.hj-soon{font-style:normal;display:block;font-size:11.5px;font-weight:700;color:#b91c1c}
.hj-closed{font-style:normal;display:block;font-size:11.5px;color:#9ca3af}

/* ---------- 見出し・統計 ---------- */
.hj-stats{display:flex;gap:34px;flex-wrap:wrap;margin:30px auto 6px}
.hj-stats .n{font-size:28px;font-weight:700;font-variant-numeric:tabular-nums;
  line-height:1.2}
.hj-stats .l{font-size:12px;color:#8a8a8a}
.hj-h1{font-size:27px;font-weight:700;margin:26px 0 6px}
.hj-lead{color:#6b7280;margin:0 0 4px}
.hj-count{font-size:13px;color:#6b7280;margin:14px 0 0}
.hj-count b{color:#111;font-size:16px}
.hj-sec{font-size:18px;margin:38px 0 10px;padding-bottom:7px;border-bottom:1px solid #e8e8e8}

/* ---------- 都道府県カード ----------
   写真は常時ではなくホバーで出す。47枚を並べると写真が主役になってしまい、
   「どこを選ぶか」という本来の役割がぼやける */
.hj-prefgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:12px}
.hj-prefcard{position:relative;overflow:hidden;isolation:isolate;
  display:flex;flex-direction:column;justify-content:flex-end;gap:2px;
  min-height:104px;padding:14px 16px;border:1px solid #ececec;border-radius:12px;
  background:#fafafa;
  transition:transform .3s cubic-bezier(.2,.7,.3,1),box-shadow .3s,border-color .3s,color .35s}
.hj-prefcard .bg{position:absolute;inset:0;z-index:-1;background-size:cover;
  background-position:center;opacity:0;transform:scale(1.14);
  transition:opacity .55s ease,transform .7s cubic-bezier(.2,.7,.3,1)}
.hj-prefcard::after{content:"";position:absolute;inset:0;z-index:-1;
  background:linear-gradient(180deg,rgba(10,10,10,.1),rgba(10,10,10,.7));
  opacity:0;transition:opacity .55s ease}
.hj-prefcard:hover{transform:translateY(-4px);border-color:#c9c9c9;
  box-shadow:0 16px 30px -20px rgba(0,0,0,.45)}
.hj-prefcard[data-img]:hover{color:#fff}
.hj-prefcard[data-img]:hover .bg{opacity:1;transform:scale(1)}
.hj-prefcard[data-img]:hover::after{opacity:1}
.hj-prefcard .n{font-weight:700;font-size:15px}
.hj-prefcard .c{font-size:12.5px;color:#8a8a8a;font-variant-numeric:tabular-nums;
  transition:color .35s}
.hj-prefcard[data-img]:hover .c{color:rgba(255,255,255,.85)}

/* ---------- 更新履歴 ---------- */
.hj-chgday{margin-bottom:26px}
.hj-chgdate{font-size:12.5px;font-weight:700;color:#9ca3af;letter-spacing:.04em;
  padding-bottom:7px;border-bottom:1px solid #e8e8e8}
.hj-chg{display:flex;gap:13px;padding:13px 0;border-bottom:1px solid #f4f4f5;
  align-items:flex-start}
.hj-chg .ic{width:26px;height:26px;border-radius:7px;display:grid;place-items:center;
  font-size:13px;font-weight:700;flex:0 0 auto}
.hj-chg .bd{flex:1;min-width:0}
.hj-chg .tt{font-weight:600;font-size:14.5px}
.hj-chg .dl{font-size:13px;color:#6b7280;margin-top:2px}

/* ---------- 文書ページ・ページャ ---------- */
.hj-doc{max-width:760px}
.hj-doc h2{font-size:18px;margin:32px 0 10px;padding-bottom:6px;border-bottom:1px solid #eee}
.hj-doc p,.hj-doc li{color:#333}
.hj-pager{display:flex;gap:8px;flex-wrap:wrap;margin:26px 0}
.hj-pager a,.hj-pager span{padding:8px 14px;border:1px solid #e5e7eb;border-radius:8px;
  font-size:14px}
.hj-pager .on{background:#111;color:#fff;border-color:#111}

@media(max-width:860px){
  .hj-row{grid-template-columns:1fr auto;gap:4px 12px}
  .hj-row-p{grid-row:2}
  .hj-row-l{grid-row:1;grid-column:2;text-align:right}
  .hj-row-e{grid-row:2;grid-column:2;text-align:right}
  .hj-h1{font-size:22px}
  .hj-stats{gap:22px}
  .hj-prefcard img{height:80px}
}
