@charset "utf-8";
/* 合同会社いちごや 新デザイン（2026-11-17〜）
   全ページ共通：色・文字・ボタン・ヘッダー・メニュー・フッター・スマホの下のボタン
   トップだけの部品は v2-top.css、下層ページの読み替えは v2-sub.css
   書体は 2026-10-02 のご指示どおり見出しを Zen Maru Gothic（確認用の切り替えで角ゴシックも見られる） */

:root {
  --ink: #2E2622;
  --ink-2: #5B4F49;
  --mute: #74675F;
  --bg: #FFFFFF;
  --soft: #F5F1EE;
  --ghost: #F7F3F0;
  --line: #E6DED8;
  --berry: #D63A57;
  --berry-dk: #B92E49;
  --leaf: #3E6B54;
  --leaf-dk: #335A46;
  --gold: #EBB24A;

  --font-body: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
  --font-maru: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Zen Kaku Gothic New", sans-serif;
  --font-head: var(--font-maru);
  --font-en: "Poppins", "Zen Kaku Gothic New", sans-serif;

  --gut: clamp(20px, 5vw, 64px);
  --ease: cubic-bezier(.215, .61, .355, 1);
  --hd-top: 18px;
  --stick: 104px;
}
html[data-font="kaku"] { --font-head: var(--font-body); }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-weight: 500; font-size: 16px; line-height: 1.9; letter-spacing: .04em;
  overflow-x: clip; -webkit-font-smoothing: antialiased;
}
button { font: inherit; color: inherit; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 8px; text-decoration: none; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.nw { display: inline-block; }

/* 見出しの上の「線＋英単語」 */
.eyebrow {
  display: flex; align-items: center; gap: 14px; margin: 0; color: var(--ink);
  font-family: var(--font-en); font-weight: 600; font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; line-height: 1.2;
}
.eyebrow::before { content: ""; display: block; flex: none; width: 44px; height: 3px; border-radius: 2px; background: var(--eb, var(--berry)); transform: none; }
.eyebrow--gold { --eb: var(--gold); }
.eyebrow--leaf { --eb: var(--leaf); }
.eyebrow--on-dark { color: #fff; }

/* 黒い丸ボタン＋白丸の矢印 */
.arrow { position: relative; display: inline-block; flex: none; width: 36px; height: 36px; border-radius: 50%; background: #fff; color: var(--ink); transition: transform .35s var(--ease), background .35s var(--ease); }
.arrow::before { content: ""; position: absolute; inset: 0; margin: auto; width: 8px; height: 8px; border-top: 2.5px solid currentColor; border-right: 2.5px solid currentColor; transform: translateX(-2px) rotate(45deg); }
.arrow--up::before { transform: translateY(2px) rotate(-45deg); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 22px; min-height: 58px; padding: 10px 11px 10px 28px;
  border: 0; background: var(--ink); color: #fff; border-radius: 999px; cursor: pointer; text-decoration: none;
  font-family: var(--font-head); font-weight: 700; font-size: .95rem; line-height: 1.4; letter-spacing: .06em;
  transition: background .35s var(--ease), color .35s var(--ease), box-shadow .35s var(--ease);
}
.btn:not(:has(.arrow)) { padding: 10px 30px; }
.btn:hover { background: var(--berry); color: #fff; transform: none; }
.btn:hover .arrow { transform: translateX(4px); color: var(--berry); }
.btn--berry { background: var(--berry); color: #fff; }
.btn--berry .arrow { color: var(--berry); }
.btn--berry:hover { background: var(--berry-dk); }
.btn--berry:hover .arrow { color: var(--berry-dk); }
.btn--ghost { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--ghost .arrow { background: var(--ink); color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--berry); box-shadow: inset 0 0 0 1.5px var(--berry); }
.btn--ghost:hover .arrow { background: var(--berry); color: #fff; }

/* ふわっと出る */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ヘッダー・メニュー・フッターの中だけ、余白と箇条書きの形を消す（ページの本文には効かせない） */
.hd ul, .drawer ul, .ft ul { margin: 0; padding: 0; list-style: none; }
.hd p, .drawer p, .ft p, .review p { margin: 0; }
.hd a, .drawer a, .ft a, .mbar a { text-decoration: none; }  /* 色はここで決めない（ボタンの白文字を消さないため） */
.hd img, .ft img, .site-logo img, .drawer__logo img { display: block; max-width: 100%; height: auto; }

/* ---------- header ---------- */
.hd { position: fixed; z-index: 60; top: 0; left: 0; right: 0; display: flex; justify-content: flex-end; align-items: flex-start; gap: 16px; padding: var(--hd-top) var(--gut) 0; pointer-events: none; }
.hd > * { pointer-events: auto; }
/* ロゴ：台なし（背景が透ける）の白抜き。写真や色の帯の上に置き、ページと一緒に流れる（参考サイトと同じ）。
   画面に留めると、白い本文の上で見えなくなるため。 */
.site-logo { position: absolute; z-index: 52; top: calc(var(--hd-top) + 6px); left: var(--gut); display: block; text-decoration: none; }
.site-logo img { width: auto; height: 50px; filter: drop-shadow(0 2px 10px rgba(0, 0, 0, .28)); }
.hd__bar { display: flex; align-items: stretch; border-radius: 12px; overflow: hidden; box-shadow: 0 6px 24px rgba(46, 38, 34, .12); }
.hd__nav { display: flex; align-items: center; background: #fff; padding: 0 22px; }
.hd__nav ul { display: flex; gap: 18px; }
.hd__nav a { position: relative; display: block; padding: 8px 0; color: var(--ink); font-family: var(--font-head); font-weight: 700; font-size: .86rem; letter-spacing: .02em; white-space: nowrap; }
.hd__nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; border-radius: 2px; background: var(--berry); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.hd__nav a:hover::after, .hd__nav a[aria-current="page"]::after { transform: scaleX(1); }
.hd__nav a[aria-current="page"] { color: var(--berry); }
.hd__btn, .hd__tel { display: flex; align-items: center; gap: 10px; min-height: 64px; padding: 0 22px; color: #fff; font-family: var(--font-head); font-weight: 700; font-size: .92rem; white-space: nowrap; transition: background .3s var(--ease); }
.hd__btn { background: var(--berry); }
.hd__btn:hover { background: var(--berry-dk); }
.hd__tel { background: var(--ink); }
.hd__tel:hover { background: #453a35; }
.hd__btn svg, .hd__tel svg { width: 20px; height: 20px; flex: none; }
.hd__tel b { display: block; font-family: var(--font-en); font-weight: 600; font-size: 1.05rem; letter-spacing: .03em; line-height: 1.2; }
.hd__tel small { display: block; font-family: var(--font-body); font-weight: 500; font-size: .75rem; opacity: .85; line-height: 1.35; }
.hd__menu { display: none; align-items: center; justify-content: center; flex-direction: column; gap: 6px; width: 72px; min-height: 64px; padding: 0; border: 0; background: var(--ink); color: #fff; cursor: pointer; border-left: 1px solid rgba(255, 255, 255, .14); }
.hd__menu-lines { position: relative; width: 24px; height: 10px; }
.hd__menu-lines::before, .hd__menu-lines::after { content: ""; position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px; background: currentColor; transition: transform .3s var(--ease), top .3s var(--ease); }
.hd__menu-lines::before { top: 0; }
.hd__menu-lines::after { top: 8px; }
.is-menu .hd__menu-lines::before { top: 4px; transform: rotate(20deg); }
.is-menu .hd__menu-lines::after { top: 4px; transform: rotate(-20deg); }
.hd__menu-label { font-size: .68rem; font-weight: 700; letter-spacing: .02em; line-height: 1; white-space: nowrap; }

/* メニュー（幅が狭いとき） */
.drawer { position: fixed; inset: 0; z-index: 55; background: #fff; color: var(--ink); overflow-y: auto; visibility: hidden; opacity: 0; transition: opacity .35s var(--ease), visibility 0s .35s; }
.is-menu .drawer { visibility: visible; opacity: 1; transition: opacity .35s var(--ease); }
.is-menu body { overflow: hidden; }
.drawer__logo { position: absolute; top: calc(var(--hd-top) + 6px); left: var(--gut); display: block; }
.drawer__logo img { width: auto; height: 50px; }
.drawer__inner { width: min(calc(100% - var(--gut) * 2), 960px); margin: 0 auto; padding: 128px 0 120px; display: grid; gap: 40px; }
.drawer__home a { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; }
.drawer__home a::after { content: ""; width: 8px; height: 8px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); }
.drawer__home a:hover, .drawer__home a[aria-current="page"] { color: var(--berry); }
.drawer__nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.drawer__group { font-family: var(--font-en); font-size: .8rem; font-weight: 600; letter-spacing: .12em; color: var(--mute); padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.drawer__nav ul { margin-top: 12px; display: grid; gap: 4px; }
.drawer__nav a { display: block; padding: 6px 0; font-family: var(--font-head); font-weight: 700; font-size: 1.08rem; }
.drawer__nav a:hover, .drawer__nav a[aria-current="page"] { color: var(--berry); }
.drawer__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 36px; padding-top: 32px; border-top: 1px solid var(--line); }
.drawer__tel { font-family: var(--font-en); font-weight: 700; font-size: 1.9rem; line-height: 1.2; }
.drawer__tel small { display: block; font-family: var(--font-body); font-size: .82rem; font-weight: 500; color: var(--mute); }

/* ---------- footer ---------- */
.ft { padding: 0 12px 12px; }
.ft__box { padding: clamp(44px, 6vw, 84px) clamp(24px, 6vw, 84px) 30px; border-radius: 20px; background: var(--ink); color: #fff; }
.ft__top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr); gap: clamp(40px, 6vw, 96px); }
.ft__logo { display: inline-block; }
.ft__logo img { width: auto; height: 58px; }
.ft__tel { display: block; margin-top: 30px; font-family: var(--font-en); font-weight: 600; font-size: 1.7rem; line-height: 1.2; }
.ft__tel small { margin-right: .4em; font-size: .52em; letter-spacing: .08em; }
.ft__info, .ft__biz { font-size: .88rem; line-height: 1.95; color: rgba(255, 255, 255, .8); }
.ft .ft__info { margin-top: 12px; }
.ft .ft__biz { margin-top: 20px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .84rem; }
.ft__nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.ft__group { padding-bottom: 12px; border-bottom: 1px solid rgba(255, 255, 255, .18); font-family: var(--font-head); font-size: 1rem; font-weight: 700; line-height: 1.5; }
.ft__nav ul { display: grid; gap: 8px; margin-top: 14px; font-size: .88rem; line-height: 1.7; color: rgba(255, 255, 255, .84); }
.ft__nav a:hover, .ft__nav a[aria-current="page"] { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.ft__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 28px; margin-top: 60px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .8rem; color: rgba(255, 255, 255, .74); }
.ft__top-link { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-head); font-weight: 700; color: #fff; }
.ft__top-link .arrow { width: 38px; height: 38px; }

.mbar { display: none; }

/* ---------- 確認用の切り替え（公開時に消す） ---------- */
.review { position: fixed; z-index: 70; left: 16px; bottom: 16px; font-size: .86rem; line-height: 1.6; }
.review__toggle { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border: 0; border-radius: 999px; background: var(--gold); color: var(--ink); font-weight: 700; cursor: pointer; box-shadow: 0 8px 24px rgba(0, 0, 0, .16); }
.review__toggle::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ink); }
.review__body { position: absolute; left: 0; bottom: 54px; width: 290px; padding: 16px 18px 18px; border-radius: 16px; background: #fff; color: var(--ink); box-shadow: 0 16px 48px rgba(0, 0, 0, .2); }
.review__note { font-size: .78rem; color: var(--mute); }
.review__row { margin-top: 12px; }
.review__row > p { font-weight: 700; margin-bottom: 6px; }
.review__opts { display: flex; gap: 6px; }
.review__opts button { flex: 1; padding: 7px 10px; border: 1px solid var(--line); border-radius: 999px; background: #fff; cursor: pointer; font-weight: 700; }
.review__opts button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ---------- 幅に合わせる ---------- */
/* メニューが8つあるので、幅が足りないときは文字と間を詰め、さらに狭いと電話はアイコンだけにする */
@media (max-width: 1600px) {
  .site-logo img { height: 44px; }
  .hd__nav { padding: 0 16px; }
  .hd__nav ul { gap: 13px; }
  .hd__nav a { font-size: .8rem; letter-spacing: .01em; }
  .hd__btn, .hd__tel { padding: 0 16px; }
}
@media (max-width: 1360px) and (min-width: 1281px) {
  .hd__tel { padding: 0 21px; }
  .hd__tel > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (max-width: 1280px) {
  .hd__nav { display: none; }
  .hd__menu { display: flex; }
}
@media (max-width: 999px) {
  .review { top: 84px; bottom: auto; }
  .review__body { top: 44px; bottom: auto; }
  .ft__top { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  :root { --hd-top: 10px; }
  html { scroll-padding-top: 80px; }
  .hd { padding-inline: 10px; }
  .site-logo, .drawer__logo { top: 14px; left: 14px; }
  .site-logo img, .drawer__logo img { height: 36px; }
  .hd__btn, .hd__tel { display: none; }
  .hd__bar { border-radius: 10px; }
  .hd__menu { width: 58px; min-height: 52px; border-left: 0; }
  .drawer__inner { padding-top: 96px; }
  .drawer__nav { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .ft { padding: 0 8px 8px; }
  .ft__box { padding-inline: 18px; padding-bottom: 24px; border-radius: 16px; }
  /* スマホでも、パソコンと同じくサイトマップを3列に並べる（2026-11-24 ユーザー指示）。長いリンクは span.nw で言葉の切れ目で折り返す */
  .ft__nav { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .ft__group { padding-bottom: 8px; font-size: 12px; letter-spacing: 0; }
  .ft__nav ul { gap: 10px; margin-top: 10px; font-size: 11.2px; line-height: 1.55; letter-spacing: 0; }
  .ft__logo img { height: 48px; }
  /* 事業所名の欄：1件を2行（名前／かっこ書き）に収める（2026-11-24 ユーザー指示）。
     いちばん長い行「（外部サービス利用型共同生活援助・2027年3月1日開設予定）」が約27.7文字分なので、
     使える幅（画面の幅−左右の余白52px）÷28 を文字の大きさにする（360pxで約11px、390pxで約12px、上限12.5px） */
  .ft .ft__biz { font-size: clamp(10px, calc((100vw - 52px) / 28), 12.5px); line-height: 1.8; letter-spacing: 0; }
  /* 下の段も横並び：左に ©、右に「ページの先頭へ」、写真の注意書きは次の行 */
  .ft__bottom { gap: 10px 12px; margin-top: 36px; font-size: 11.5px; }
  .ft__bottom p:nth-child(2) { order: 3; flex-basis: 100%; }
  .ft__top-link { gap: 8px; }
  .ft__top-link .arrow { width: 30px; height: 30px; }
  .mbar { position: fixed; z-index: 50; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .95); box-shadow: 0 -6px 24px rgba(0, 0, 0, .08); border: 0; }
  .mbar a { display: flex; align-items: center; justify-content: center; min-height: 50px; border-radius: 999px; font-family: var(--font-head); font-weight: 700; color: #fff; }
  .mbar__tel { background: var(--ink); }
  .mbar__cta { background: var(--berry); }
  body { padding-bottom: 78px; }
  .review { top: 72px; left: 10px; font-size: .78rem; }
  .review__toggle { padding: 6px 12px; }
  .review__body { top: 40px; }
}
@media (min-width: 761px) {
  body { padding-bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
}
@media print {
  .hd, .drawer, .mbar, .review, .ft, .site-logo { display: none !important; }
}

/* ---------- スマホの文字（2026-11-24 ユーザー指示「全体的にPC向けの大きな文字なので、スマホは小さく、まとまりよく」） ----------
   1rem を 15px にして見出し・表・ボタンなどを一段小さくし、本文は画面の幅に合わせて 14〜15px（390pxで約14.8px）にする。
   見出しと章の余白は v2-top.css（トップ）と v2-sub.css（下層）でそれぞれ詰める */
@media (max-width: 760px) {
  html { font-size: 15px; }
  body { font-size: clamp(14px, 3.8vw, 15px); line-height: 1.85; }
  .hd__menu-label { font-size: 11px; }
  .btn { min-height: 52px; gap: 18px; padding: 8px 9px 8px 24px; }
  .btn .arrow { width: 32px; height: 32px; }
  .ft__tel { margin-top: 24px; font-size: 1.45rem; }
}
