/* 一般社団法人 社会福祉普及推進協会（SWPA）
   方向：「日だまり」。法人のマークの4つの四角を「窓」に見立て、その窓から差す光が床に落ちる日だまりを、最初の画面の1か所だけでゆっくり動かす。
   色：法人の4色（元のサイトの値）＝ 橙 #F9970B・青 #10AFE0・緑 #8EC606・桃 #EA73B4。文字に使うときは明るさの差 4.5 以上の濃い色（-ink）に置き換える。
   字体：端末の字体だけ（外から読み込まない）。見出しは丸ゴシック、本文は UD（読みやすさを優先した）ゴシック。 */

:root {
  --ink: #3E3A3B;
  --ink-2: #6B6466;
  --paper: #FFFBF0;
  --sunlit: #FCF9E0;
  --white: #FFFFFF;
  --line: #EADFC6;
  --dusk: #3E3A3B;

  --org: #F9970B; --blu: #10AFE0; --grn: #8EC606; --pnk: #EA73B4;
  --org-ink: #9A5600; --blu-ink: #00739A; --grn-ink: #4D6B00; --pnk-ink: #A8336F;
  --org-tint: #FEF0DA; --blu-tint: #E3F5FB; --grn-tint: #EEF7D9; --pnk-tint: #FCE8F2;

  --c: var(--grn); --c-ink: var(--grn-ink); --c-tint: var(--grn-tint);

  --font-round: "Hiragino Maru Gothic ProN", "Hiragino Maru Gothic Pro", "BIZ UDPGothic", "Yu Gothic", "YuGothic", "Meiryo", sans-serif;
  --font-body: "BIZ UDPGothic", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", "Meiryo", "Noto Sans JP", sans-serif;

  --gutter: max(20px, env(safe-area-inset-left));
  --radius-l: 28px;
  --radius-m: 18px;
  --radius-s: 8px;
}

/* 事業所ごとの色（色＝どの事業所かを表す） */
.t-corp  { --c: var(--grn); --c-ink: var(--grn-ink); --c-tint: var(--grn-tint); }
.t-labo  { --c: var(--blu); --c-ink: var(--blu-ink); --c-tint: var(--blu-tint); }
.t-care  { --c: var(--pnk); --c-ink: var(--pnk-ink); --c-tint: var(--pnk-tint); }
.t-house { --c: var(--org); --c-ink: var(--org-ink); --c-tint: var(--org-tint); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: .02em;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: .2em; }
p, ul, ol, dl, dd, h1, h2, h3, figure { margin: 0; }
ul, ol { padding: 0; }
b, strong { font-weight: 700; }

:focus-visible { outline: 3px solid #1A1718; outline-offset: 3px; border-radius: 6px; }
.site-foot :focus-visible, .dock :focus-visible { outline-color: #FFD66B; }

.skip {
  position: absolute; left: 12px; top: -80px; z-index: 100;
  background: var(--white); color: var(--ink); padding: 10px 16px; border-radius: var(--radius-s);
  min-height: 44px; display: inline-flex; align-items: center;
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding-left: var(--gutter); padding-right: max(20px, env(safe-area-inset-right)); }
.measure { max-width: 40em; }

/* 上の4色の帯（法人案内の冊子と同じ並び） */
.stripe { height: 6px; background: linear-gradient(90deg, var(--org) 0 25%, var(--blu) 25% 50%, var(--grn) 50% 75%, var(--pnk) 75% 100%); }

/* ---------- ヘッダー ---------- */
.site-head { position: relative; z-index: 20; background: transparent; }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; min-height: 44px; }
.brand img { width: 44px; height: 44px; }
.brand span { display: flex; flex-direction: column; line-height: 1.3; font-family: var(--font-round); }
.brand small { font-size: 12px; color: var(--ink-2); letter-spacing: .08em; }
.brand strong { font-weight: 400; font-size: 17px; letter-spacing: .06em; white-space: nowrap; }

.gnav { display: flex; align-items: center; gap: 4px; }
.gnav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px;
  text-decoration: none; font-size: 15px; border-radius: 999px;
}
.gnav a:hover { background: rgba(249, 151, 11, .12); }
.gnav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .45em; }
.gnav .gnav-contact { border: 2px solid var(--ink); margin-left: 6px; padding: 0 18px; }
.gnav .gnav-contact:hover { background: var(--ink); color: var(--white); }

.mnav { display: none; }
.mnav summary {
  list-style: none; cursor: pointer; min-width: 64px; min-height: 48px; padding: 0 14px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 2px solid var(--ink); border-radius: 999px; font-size: 15px; background: var(--white); white-space: nowrap;
}
.mnav summary::-webkit-details-marker { display: none; }
.mnav summary .bars { width: 16px; height: 10px; border-top: 2px solid currentColor; border-bottom: 2px solid currentColor; position: relative; }
.mnav summary .bars::after { content: ""; position: absolute; left: 0; right: 0; top: 2px; border-top: 2px solid currentColor; }
.mnav[open] summary { background: var(--ink); color: var(--white); }
.mnav-panel {
  position: absolute; left: 12px; right: 12px; top: 74px; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius-m); padding: 8px; box-shadow: 0 18px 40px rgba(90, 64, 20, .14);
}
.mnav-panel a { display: flex; align-items: center; min-height: 52px; padding: 0 16px; text-decoration: none; border-radius: 12px; font-size: 17px; }
.mnav-panel a + a { border-top: 1px solid #F3EBDA; }
.mnav-panel a:hover { background: var(--paper); }

@media (max-width: 959px) {
  .gnav { display: none; }
  .mnav { display: block; }
}
@media (max-width: 399px) {
  .brand { gap: 10px; }
  .brand img { width: 38px; height: 38px; }
  .brand strong { font-size: 15px; letter-spacing: .03em; }
  .brand small { font-size: 11px; }
  .mnav summary { padding: 0 12px; font-size: 14px; }
}

/* ---------- 最初の画面：日だまりの窓 ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: linear-gradient(172deg, #FFF3D3 0%, #FFF8E8 48%, var(--paper) 100%);
  margin-top: -76px; padding-top: 76px;
}
.hero-light { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-light::before {
  content: ""; position: absolute; right: -18%; top: -30%; width: 80%; aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(255, 233, 170, .9), rgba(255, 233, 170, 0));
}
.window {
  position: absolute; right: -2%; top: 18%;
  width: min(58vw, 640px); aspect-ratio: 1;
  display: grid; grid-template-columns: 1fr 1fr; gap: 7%;
  transform: perspective(1400px) rotateX(50deg) rotateZ(-32deg) skewX(-8deg) translate3d(0, 0, 0);
  transform-origin: 50% 40%;
  animation: sun 32s ease-in-out infinite alternate;
  will-change: transform;
}
.window i {
  display: block; border-radius: 16%;
  box-shadow: 0 0 70px 22px rgba(255, 228, 165, .55);
}
.window i:nth-child(1) { background: radial-gradient(circle at 34% 30%, rgba(255, 255, 255, .96) 0 18%, rgba(255, 244, 214, .85) 42%, rgba(249, 151, 11, .36) 100%); }
.window i:nth-child(2) { background: radial-gradient(circle at 34% 30%, rgba(255, 255, 255, .96) 0 18%, rgba(255, 244, 214, .85) 42%, rgba(16, 175, 224, .30) 100%); }
.window i:nth-child(3) { background: radial-gradient(circle at 34% 30%, rgba(255, 255, 255, .96) 0 18%, rgba(255, 244, 214, .85) 42%, rgba(142, 198, 6, .32) 100%); }
.window i:nth-child(4) { background: radial-gradient(circle at 34% 30%, rgba(255, 255, 255, .96) 0 18%, rgba(255, 244, 214, .85) 42%, rgba(234, 115, 180, .32) 100%); }
@keyframes sun {
  from { transform: perspective(1400px) rotateX(50deg) rotateZ(-32deg) skewX(-8deg) translate3d(0, 0, 0); opacity: .92; }
  to   { transform: perspective(1400px) rotateX(52deg) rotateZ(-25deg) skewX(-15deg) translate3d(-7%, 5%, 0); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .window { animation: none; }
}

.hero-in { position: relative; padding-top: 56px; padding-bottom: 64px; }
.hero-org { font-family: var(--font-round); font-size: 15px; color: var(--ink); letter-spacing: .08em; }
.hero-title {
  margin-top: 18px; font-family: var(--font-round); font-weight: 400;
  font-size: clamp(34px, 6vw, 64px); line-height: 1.4; letter-spacing: .08em;
}
.hero-title > span { display: block; }
.hero-title > span + span { padding-left: 1.6em; }
.hero-title span span, .hero-org span { display: inline-block; }
.hero-lead { margin-top: 22px; max-width: 30em; font-size: 17px; line-height: 2; }
.hero-lead span { display: inline-block; }

.hero-act { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; }
.btn {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 2px;
  min-height: 56px; padding: 12px 24px; border-radius: var(--radius-m);
  text-decoration: none; line-height: 1.35; color: var(--white);
}
.btn-main { font-size: 23px; font-weight: 700; letter-spacing: .05em; font-variant-numeric: tabular-nums; }
.btn-sub { font-size: 13px; }
.btn-tel { background: var(--org-ink); }
.btn-tel:hover { background: #7A4400; }
.btn-line { background: var(--grn-ink); }
.btn-line:hover { background: #3B5300; }
.btn-plain {
  flex-direction: row; align-items: center; gap: 10px; color: var(--ink); background: var(--white);
  border: 2px solid var(--ink); min-height: 48px; padding: 8px 20px; font-size: 15px; border-radius: 999px;
}
.btn-plain:hover { background: var(--ink); color: var(--white); }
/* 外のページへのボタン（笑ラボの出品リストなど。2026-11-30）：文字を縦に重ね、スマホでは横いっぱい */
.btn-out {
  align-items: flex-start; width: 100%; max-width: 520px; color: var(--blu-ink); background: var(--white);
  border: 2px solid var(--blu-ink); padding: 14px 22px;
}
.btn-out .btn-main { font-size: 19px; }
.btn-out .btn-main::after { content: " ↗" / ""; font-weight: 400; }
.btn-out .btn-sub { color: var(--ink); }
.btn-out:hover { background: var(--blu-ink); color: var(--white); }
.btn-out:hover .btn-sub { color: var(--white); }

.hero-places { margin-top: 40px; list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; max-width: 860px; }
.hero-places a {
  display: grid; grid-template-columns: 14px 1fr; column-gap: 12px; align-items: center;
  min-height: 64px; padding: 10px 14px; text-decoration: none; line-height: 1.4;
  background: rgba(255, 255, 255, .78); border: 1px solid var(--line); border-radius: 14px;
}
.hero-places a:hover { background: var(--white); border-color: var(--c); }
.hero-places a::before { content: ""; grid-row: 1 / span 2; width: 14px; height: 14px; border-radius: 3px; background: var(--c); }
.hero-places small { font-size: 12px; color: var(--ink-2); }
.hero-places span { font-size: 15px; }

@media (max-width: 959px) {
  .hero { margin-top: -76px; }
  .window { width: 120vw; right: -46vw; top: auto; bottom: -6vw; }
  .hero-places { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 599px) {
  .hero-in { padding-top: 28px; padding-bottom: 44px; }
  .hero-title { font-size: max(26px, 7.4vw); }
  .hero-title > span + span { padding-left: .6em; }
  .hero-lead { font-size: 16px; }
  .hero-act .btn { flex: 1 1 100%; }
  .window { width: 112vw; right: -40vw; top: 140px; bottom: auto; }
  .hero-places { grid-template-columns: 1fr; }
  .hero-places a { min-height: 56px; }
}

/* ---------- 区切り（セクション） ---------- */
.sec { padding: 80px 0; }
.sec-sunlit { background: var(--sunlit); }
.sec-white { background: var(--white); }
.h2 {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--font-round); font-weight: 400; font-size: clamp(26px, 3.4vw, 34px); line-height: 1.45; letter-spacing: .08em;
}
.h2 img { width: 26px; height: 26px; flex: none; }
.h2 .sq { width: 22px; height: 22px; border-radius: 5px; background: var(--c); flex: none; }
.sec-lead { margin-top: 14px; color: var(--ink-2); }
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; margin-bottom: 32px; }
.h3 { font-family: var(--font-round); font-weight: 400; font-size: 22px; line-height: 1.5; letter-spacing: .06em; }
.link-more {
  display: inline-flex; align-items: center; min-height: 44px; font-size: 15px;
  text-decoration: underline; text-decoration-thickness: 1px;
}
.link-more:hover { text-decoration-thickness: 2px; }

@media (max-width: 599px) {
  .sec { padding: 56px 0; }
}

/* ---------- 事業所の並び ---------- */
.biz-list { display: grid; gap: 22px; }
.biz {
  display: grid; grid-template-columns: minmax(220px, 300px) 1fr; gap: 0;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-l); overflow: hidden;
}
.biz-pane { background: var(--c-tint); display: flex; align-items: center; justify-content: center; padding: 28px; }
.biz-pane img { width: 100%; max-width: 220px; }
.biz-body { padding: 28px 32px; }
.biz-kind { font-size: 14px; color: var(--c-ink); font-weight: 700; letter-spacing: .06em; }
.biz-name { margin-top: 4px; font-family: var(--font-round); font-weight: 400; font-size: 24px; line-height: 1.5; letter-spacing: .06em; }
.biz-catch { margin-top: 10px; }
.biz .facts { margin-top: 18px; }
.biz .link-more { margin-top: 10px; }
@media (max-width: 759px) {
  .biz { grid-template-columns: 1fr; }
  .biz-pane { padding: 22px; }
  .biz-pane img { max-width: 190px; }
  .biz-body { padding: 22px 20px 24px; }
}

.facts { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; font-size: 15px; line-height: 1.75; }
.facts dt { color: var(--ink-2); }
.facts dd a { font-weight: 700; }
.tel-link { display: inline-flex; align-items: center; min-height: 44px; }
@media (max-width: 399px) {
  .facts { grid-template-columns: 1fr; gap: 0; }
  .facts dd + dt { margin-top: 8px; }
}

/* ---------- 空室の帯 ---------- */
.vacancy-band { display: grid; grid-template-columns: 1fr auto; gap: 20px 40px; align-items: center; }
.vacancy-band .h2 .sq { background: var(--pnk); }
@media (max-width: 759px) { .vacancy-band { grid-template-columns: 1fr; } }

/* ---------- お知らせ ---------- */
.news-list { list-style: none; border-top: 1px solid var(--line); }
.news-list li { border-bottom: 1px solid var(--line); }
.news-list a {
  display: grid; grid-template-columns: 7.5em auto 1fr; gap: 6px 18px; align-items: baseline;
  padding: 18px 4px; min-height: 56px; text-decoration: none;
}
.news-list a:hover .news-title { text-decoration: underline; }
.news-list time { font-variant-numeric: tabular-nums; color: var(--ink-2); font-size: 15px; }
.tags { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.tag { display: inline-block; font-size: 13px; line-height: 1.6; padding: 1px 10px; border-radius: 6px; background: var(--c-tint); color: var(--c-ink); white-space: nowrap; }
@media (max-width: 599px) {
  .news-list a { grid-template-columns: auto 1fr; }
  .news-list .news-title { grid-column: 1 / -1; }
}

/* ---------- ごあいさつ ---------- */
.message { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px 56px; align-items: start; }
.message-title { font-family: var(--font-round); font-weight: 400; font-size: clamp(24px, 3vw, 32px); line-height: 1.6; letter-spacing: .06em; }
.message-body p + p { margin-top: 1.2em; }
.sign { margin-top: 24px; font-family: var(--font-round); }
.sign small { display: block; font-size: 13px; color: var(--ink-2); }
.sign span { font-size: 20px; letter-spacing: .14em; }
@media (max-width: 859px) { .message { grid-template-columns: 1fr; } }

/* ---------- 表（法人概要など） ---------- */
.table { border-top: 1px solid var(--line); }
.table > div { display: grid; grid-template-columns: 10em 1fr; gap: 6px 24px; padding: 16px 4px; border-bottom: 1px solid var(--line); }
.table dt { color: var(--ink-2); }
@media (max-width: 599px) { .table > div { grid-template-columns: 1fr; gap: 2px; } }

/* ---------- お問合せの帯 ---------- */
.contact-band { background: var(--sunlit); border-top: 1px solid var(--line); }
.contact-band .wrap { display: grid; grid-template-columns: 1fr auto; gap: 24px 48px; align-items: center; }
.contact-band .acts { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 859px) {
  .contact-band .wrap { grid-template-columns: 1fr; }
  .contact-band .acts .btn { flex: 1 1 240px; }
}

/* ---------- 下の段 ---------- */
.site-foot { background: var(--dusk); color: #F7F1E6; padding: 64px 0 40px; font-size: 15px; }
.site-foot a { color: #F7F1E6; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 40px 56px; }
.foot-brand { display: flex; align-items: center; gap: 14px; }
.foot-brand img { width: 52px; height: 52px; }
.foot-brand p { font-family: var(--font-round); line-height: 1.5; }
.foot-brand small { display: block; font-size: 12px; color: #D8CFC0; }
.foot-addr { margin-top: 18px; line-height: 1.8; }
.foot-sites { list-style: none; display: grid; gap: 10px; }
.foot-sites li { padding-left: 22px; position: relative; line-height: 1.7; }
.foot-sites li::before { content: ""; position: absolute; left: 0; top: 16px; width: 12px; height: 12px; border-radius: 3px; background: var(--c); }
.foot-sites a { display: inline-flex; align-items: center; min-height: 44px; }
.foot-sites small { display: block; color: #D8CFC0; font-size: 13px; margin-top: -6px; }
.foot-links { margin-top: 36px; list-style: none; display: flex; flex-wrap: wrap; gap: 0 4px; }
.foot-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px 0 0; margin-right: 12px; }
.foot-sdgs { margin-top: 20px; color: #D8CFC0; font-size: 13px; }
.copy { margin-top: 12px; color: #D8CFC0; font-size: 12px; }
@media (max-width: 859px) { .foot-grid { grid-template-columns: 1fr; } }

/* スマホの下の固定の2つのボタン（電話・LINE） */
.dock { display: none; }
@media (max-width: 959px) {
  body { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
  .dock {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    padding: 8px max(10px, env(safe-area-inset-right)) calc(8px + env(safe-area-inset-bottom)) max(10px, env(safe-area-inset-left));
    background: rgba(62, 58, 59, .96);
  }
  .dock a {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; min-height: 64px; padding: 6px 6px; border-radius: 14px;
    color: var(--white); text-decoration: none; text-align: center; line-height: 1.25;
  }
  /* お問合せのページのボタンと同じ言い方（上に小さく何の窓口か・大きく番号や LINE。2026-11-30 代表） */
  .dock .d-main { font-size: 17px; font-weight: 700; letter-spacing: .02em; font-variant-numeric: tabular-nums; }
  .dock .d-sub { font-size: 11px; font-weight: 500; opacity: .92; }
  .dock .d-tel { background: var(--org-ink); }
  .dock .d-line { background: var(--grn-ink); }
}

/* ---------- 下のページの見出し ---------- */
.page-head { position: relative; isolation: isolate; overflow: hidden; background: linear-gradient(172deg, #FFF3D3 0%, var(--paper) 100%); margin-top: -76px; padding-top: 76px; }
.page-head::after {
  content: ""; position: absolute; z-index: -1; right: -10%; top: -40%; width: 60%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(closest-side, var(--c-tint), rgba(255, 255, 255, 0));
}
.page-head .wrap { padding-top: 36px; padding-bottom: 52px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0 6px; font-size: 14px; color: var(--ink-2); }
.crumbs li + li::before { content: "／"; margin-right: 6px; color: #A79E91; }
.crumbs a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; }
.page-kind { margin-top: 18px; font-size: 15px; color: var(--c-ink); font-weight: 700; letter-spacing: .06em; }
.page-title { margin-top: 6px; font-family: var(--font-round); font-weight: 400; font-size: clamp(30px, 5vw, 46px); line-height: 1.45; letter-spacing: .08em; }
.page-catch { margin-top: 18px; font-family: var(--font-round); font-size: clamp(19px, 2.4vw, 24px); line-height: 1.7; letter-spacing: .05em; }
.page-logo { margin-top: 22px; width: 200px; }

/* ---------- 文章 ---------- */
.prose p + p { margin-top: 1.1em; }
.prose > * + .h3 { margin-top: 2em; }

/* 特長（並び順に意味は無いので番号は付けない） */
.points { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 12px; }
.points li {
  display: grid; grid-template-columns: 14px 1fr; gap: 14px; align-items: center;
  background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; line-height: 1.6;
}
.points li::before { content: ""; width: 14px; height: 14px; border-radius: 3px; background: var(--c); }
.points small { display: block; color: var(--ink-2); font-size: 13px; }

.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { padding: 6px 16px; border-radius: 999px; background: var(--c-tint); color: var(--ink); line-height: 1.6; }

/* 作業内容（写真は使わず、色の面と文で） */
.works { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 16px; }
.work { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 24px 24px 26px; border-top: 8px solid var(--c); }
.work h3 { font-family: var(--font-round); font-weight: 400; font-size: 20px; line-height: 1.5; letter-spacing: .05em; }
.work p { margin-top: 10px; font-size: 15px; line-height: 1.85; }

/* 工賃と時間 */
.wage { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 28px 48px; align-items: start; }
.wage-box { background: var(--white); border-radius: var(--radius-l); border: 1px solid var(--line); padding: 26px 28px; }
.wage-box dl > div + div { margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--line); }
.wage-box dt { font-size: 14px; color: var(--ink-2); }
.wage-box dd { font-size: 18px; line-height: 1.7; }
@media (max-width: 859px) { .wage { grid-template-columns: 1fr; } }

/* お部屋 */
.room { display: grid; grid-template-columns: minmax(120px, 240px) minmax(0, 1fr); gap: 20px 40px; align-items: start; max-width: 760px; }
.room-map { background: var(--white); border-radius: var(--radius-m); border: 1px solid var(--line); padding: 14px; }
.room .points { grid-template-columns: 1fr; }
.room-photos { margin-top: 28px; list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.room-photos figure { background: var(--white); border-radius: 14px; overflow: hidden; border: 1px solid var(--line); }
.room-photos figcaption { padding: 8px 12px; font-size: 14px; }
@media (max-width: 599px) { .room { grid-template-columns: 112px minmax(0, 1fr); gap: 14px; } .room-map { padding: 8px; } .room .points li { padding: 12px 12px; gap: 10px; font-size: 15px; } }

/* 事業所情報の箱 */
.office { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px 40px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-l); padding: 32px; }
.office .acts { display: grid; gap: 12px; align-content: start; }
.office .acts .btn { width: 100%; }
.office .note { font-size: 14px; color: var(--ink-2); }
@media (max-width: 859px) { .office { grid-template-columns: 1fr; padding: 24px 20px; } }

/* 法人案内 */
.promise { list-style: none; display: grid; gap: 16px; counter-reset: p; }
.promise li { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 22px 24px 24px 76px; position: relative; }
.promise li::before {
  counter-increment: p; content: counter(p, decimal-leading-zero);
  position: absolute; left: 22px; top: 20px; font-family: var(--font-round); font-size: 26px; line-height: 1; color: var(--org-ink);
}
.promise h3 { font-family: var(--font-round); font-weight: 400; font-size: 20px; line-height: 1.5; }
.promise p { margin-top: 8px; font-size: 15px; }
.history { list-style: none; border-left: 3px solid var(--org); margin-left: 6px; }
.history li { position: relative; padding: 0 0 22px 26px; }
.history li::before { content: ""; position: absolute; left: -9px; top: .55em; width: 15px; height: 15px; border-radius: 4px; background: var(--white); border: 3px solid var(--org); }
.history time { display: block; font-variant-numeric: tabular-nums; color: var(--ink-2); font-size: 15px; }
.sdgs { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.sdgs li { padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); font-size: 15px; }

/* お知らせの記事 */
.article { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-l); padding: 40px 44px 44px; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.article-meta time { color: var(--ink-2); font-variant-numeric: tabular-nums; }
.article-body { margin-top: 8px; }
.article-body > * + * { margin-top: 1.1em; }
.article-body h2 { margin-top: 2em; font-family: var(--font-round); font-weight: 400; font-size: 21px; line-height: 1.55; letter-spacing: .04em; }
.article-body ul { padding-left: 1.4em; }
.article-body ul li + li { margin-top: .5em; }
.article-body hr { border: 0; border-top: 1px dashed var(--line); margin: 2em 0; }
.article-body .note { background: var(--paper); border-radius: 14px; padding: 18px 20px; }
.article-body .note p + p { margin-top: .8em; }
.article-figure { margin-top: 24px; max-width: 320px; }
.article-figure img { border-radius: 14px; }
.article-figure figcaption { margin-top: 8px; font-size: 14px; color: var(--ink-2); }
@media (max-width: 599px) { .article { padding: 26px 20px 30px; border-radius: var(--radius-m); } }

/* お問合せ */
.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.contact-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-l); padding: 30px; }
.contact-card .btn { margin-top: 18px; width: 100%; }
.contact-card .facts { margin-top: 18px; }
@media (max-width: 759px) { .contact-grid { grid-template-columns: 1fr; } .contact-card { padding: 24px 20px; } }

/* プライバシーポリシー */
.policy h2 { margin-top: 2em; font-family: var(--font-round); font-weight: 400; font-size: 20px; line-height: 1.55; }
.policy h2:first-child { margin-top: 0; }
.policy p, .policy ul { margin-top: .7em; }
.policy ul { padding-left: 1.3em; }
.policy li + li { margin-top: .4em; }

.ib { display: inline-block; }
.mt-s { margin-top: 16px; }
.mt-m { margin-top: 32px; }
.mt-l { margin-top: 56px; }
.center { text-align: center; }
.page-title.is-small { font-size: clamp(22px, 3vw, 30px); line-height: 1.6; letter-spacing: .04em; max-width: 34em; }
.wrap.measure { max-width: 1120px; }
.wrap.measure > * { max-width: 40em; }

/* ---------- 地図（PLAN2）：国土地理院の地図の絵と出典。押しても開かない（開くのは「地図を開く」のボタンだけ） ---------- */
.map { margin: 0; grid-column: 1 / -1; }
.map img { width: 100%; border-radius: 14px; border: 1px solid var(--line); background: var(--white); }
.map figcaption { margin-top: 6px; font-size: 13px; color: var(--ink-2); line-height: 1.6; }
.map figcaption a { display: inline-flex; align-items: center; min-height: 44px; }
.hq-map { max-width: 720px; }

/* ---------- 笑ケアの住まい ---------- */
.residence + .residence { margin-top: 56px; padding-top: 40px; border-top: 1px dashed var(--line); }
.residence-title { margin-top: 28px; font-family: var(--font-round); font-weight: 400; font-size: 22px; line-height: 1.5; letter-spacing: .05em; }
.residence .points { max-width: 760px; }
.h4 { font-family: var(--font-round); font-weight: 400; font-size: 19px; line-height: 1.5; }
.room-photos.tall figure img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }

/* ---------- SNS ---------- */
.foot-sns { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 12px; margin-top: 8px; }
.foot-sns a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid #8B8382; border-radius: 999px; text-decoration: none; }
.foot-sns a:hover { background: rgba(255, 255, 255, .08); }
.sns-btns { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.sns-btns a { display: inline-flex; align-items: center; min-height: 48px; padding: 0 20px; border: 2px solid var(--ink); border-radius: 999px; text-decoration: none; background: var(--white); }
.sns-btns a:hover { background: var(--ink); color: var(--white); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- コラム（PLAN3・PLAN4） ---------- */
.article-body ol.steps { list-style: none; padding: 0; counter-reset: st; }
.article-body ol.steps li { counter-increment: st; position: relative; padding: 4px 0 14px 46px; }
.article-body ol.steps li + li { border-top: 1px dashed var(--line); padding-top: 14px; }
.article-body ol.steps li::before {
  content: counter(st); position: absolute; left: 0; top: 4px; width: 32px; height: 32px; border-radius: 9px;
  background: var(--grn-tint); color: var(--grn-ink); font-weight: 700; display: flex; align-items: center; justify-content: center;
}
.article-body ol.steps li + li::before { top: 14px; }
.sources { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.sources h2 { font-family: var(--font-round); font-weight: 400; font-size: 18px; }
.sources ol { margin-top: 10px; padding-left: 1.4em; font-size: 14px; line-height: 1.7; }
.sources li + li { margin-top: 10px; }
.sources a { display: inline-flex; align-items: center; min-height: 44px; word-break: break-all; }
.sources small { color: var(--ink-2); }
.promo { margin-top: 36px; background: var(--paper); border-radius: var(--radius-m); padding: 22px 22px 18px; }
.promo-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 14px; }
.promo-acts .btn { min-height: 52px; padding: 8px 18px; }
.promo-acts .btn-main { font-size: 18px; }
.residence-info { max-width: 720px; }

/* 笑ケアの空室情報（ページのいちばん上）と、住まいの2つの見分け（住居 1＝新大阪ぱんだ：桃・住居 2＝上新庄：紫。2026-11-30 代表） */
.res-a { --res: var(--pnk-ink); --res-soft: #FCE8F2; }
.res-b { --res: #5B3F8F; --res-soft: #EEE8F7; }
.vac-box { max-width: 760px; padding: 24px 24px 20px; border-radius: var(--radius-m); background: var(--white); border: 2px solid var(--pnk-ink); }
.vac-lead { font-weight: 700; font-size: 18px; line-height: 1.7; }
.vac-note { font-size: 14px; color: var(--sub, #6B6466); }
.vac-acts { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; }
.vac-acts a { display: flex; flex-direction: column; gap: 2px; padding: 12px 16px; border-radius: 14px; color: var(--white); text-decoration: none; line-height: 1.35; }
.vac-acts li:first-child a { background: var(--org-ink); }
.vac-acts li:last-child a { background: var(--grn-ink); }
.vac-acts span { font-size: 20px; font-weight: 700; letter-spacing: .03em; font-variant-numeric: tabular-nums; }
.vac-acts small { font-size: 12px; }
.res-jump { margin-top: 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; font-size: 14px; }
.res-jump a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 6px 14px 6px 6px; border-radius: 999px; background: var(--res-soft); color: var(--res); font-weight: 700; text-decoration: none; border: 2px solid var(--res); }
.res-no { display: inline-block; padding: 2px 10px; border-radius: 999px; background: var(--res); color: var(--white); font-size: 12px; font-weight: 700; letter-spacing: .04em; }
.residence.res-a, .residence.res-b { margin-top: 32px; padding: 24px 22px 28px; border-radius: var(--radius-m); background: var(--res-soft); border-top: 6px solid var(--res); }
.residence + .residence.res-b { margin-top: 40px; padding-top: 24px; border-top: 6px solid var(--res); }
.res-tag { display: flex; align-items: center; gap: 10px; color: var(--res); font-weight: 700; }
.residence.res-a .residence-title, .residence.res-b .residence-title { margin-top: 10px; color: var(--res); }
@media (max-width: 640px) { .residence.res-a, .residence.res-b { padding: 20px 16px 24px; } .vac-box { padding: 20px 16px 16px; } }
.residence.res-b .points li::before { background: var(--res); }
