/* =========================================================
   配色・文字・動きの設定（ここを変えるとサイト全体が変わります）
   ハチワレ猫の白黒をベースに、オレンジは数字や要所だけに使います。
   ========================================================= */
:root {
  --c-ink: #212121;        /* 黒（ハチワレの黒） */
  --c-paper: #F9F9F7;      /* オフホワイト（背景） */
  --c-white: #FFFFFF;      /* カードの白 */
  --c-muted: #666666;      /* 補足の文字（オフホワイト地で 5.5:1） */
  --c-line: #D6D6D2;       /* 区切り線 */
  --c-accent: #ED9E0D;     /* 差し色：オレンジ。黒地の上の文字か、飾りにだけ使う */
  --c-accent-text: #8F5500;/* 白地にオレンジ系の文字を置くときの濃い色（5.6:1） */
  --c-on-dark-muted: #BDBDBA;

  --font-body: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Yu Gothic", "Meiryo", sans-serif;
  --font-head: "Kosugi Maru", "Hiragino Maru Gothic ProN", "Hiragino Sans", var(--font-body);

  --radius: 6px;
  --radius-card: 16px;
  --dur: 180ms;
  --ease: cubic-bezier(.2, .7, .3, 1);
  --ticker-h: 44px;
  --header-h: 64px;
  --wrap: 1080px;
}

/* ---------- 基本 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px; line-height: 1.85; letter-spacing: .02em;
  color: var(--c-ink); background: var(--c-paper);
  overflow-wrap: anywhere;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, dl, dd, figure { margin: 0; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
svg { display: block; }

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.pc-only { display: none; }
@media (min-width: 900px) { .pc-only { display: inline; } }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

:focus { outline: none; }
:focus-visible {
  outline: 3px solid var(--c-ink); outline-offset: 3px;
  box-shadow: 0 0 0 6px var(--c-paper); border-radius: 4px;
}
.is-dark :focus-visible, .hero :focus-visible, .section--dark :focus-visible,
.footer :focus-visible, .menu-open .header :focus-visible, .ticker :focus-visible, .slide--dark :focus-visible {
  outline-color: var(--c-accent); box-shadow: none;
}

.skip {
  position: absolute; left: 12px; top: -100px; z-index: 300;
  padding: 10px 16px; background: var(--c-ink); color: var(--c-paper);
  font-weight: 700; text-decoration: none; border-radius: var(--radius);
}
.skip:focus { top: 12px; }
section[id], footer[id], #contact-mail, .service, .svc-case { scroll-margin-top: calc(var(--header-h) + 16px); }

/* ---------- 1. 告知帯 ---------- */
.ticker {
  display: flex; align-items: center; height: var(--ticker-h);
  background: var(--c-paper); color: var(--c-ink);
  border-bottom: 1px solid var(--c-line);
  font-size: 12.5px; font-weight: 700;
}
.ticker__viewport { flex: 1; overflow: hidden; height: 100%; }
.ticker__track { display: flex; width: max-content; height: 100%; animation: ticker var(--ticker-dur, 40s) linear infinite; }
.ticker.is-paused .ticker__track { animation-play-state: paused; }
.ticker__list { display: flex; align-items: center; }
.ticker__item { display: flex; align-items: center; white-space: nowrap; padding-inline: 28px; }
.ticker__item::after { content: ""; width: 5px; height: 5px; margin-left: 56px; border-radius: 50%; background: var(--c-accent); }
@keyframes ticker { to { transform: translateX(-50%); } }
.ticker__toggle {
  flex: none; width: 44px; height: 44px; border: 0; display: grid; place-items: center;
  background: transparent; color: var(--c-ink); border-left: 1px solid var(--c-line);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.ticker__toggle:hover { background: var(--c-ink); color: var(--c-paper); }
.ticker__toggle:focus-visible { outline-color: var(--c-ink); outline-offset: -4px; }
.ticker__toggle svg, .carousel__toggle svg { width: 16px; height: 16px; fill: currentColor; }
.i-play { display: none !important; }
.is-paused .i-pause { display: none !important; }
.is-paused .i-play { display: block !important; }
.ticker.is-static .ticker__viewport { overflow-x: auto; }
.ticker.is-static .ticker__track { animation: none; }
.ticker.is-static .ticker__list[aria-hidden] { display: none; }

/* ---------- 2. ヘッダー ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: var(--c-ink); color: var(--c-paper);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.header.is-stuck { background: var(--c-white); color: var(--c-ink); box-shadow: 0 1px 0 var(--c-line); }
.header.is-stuck :focus-visible { outline-color: var(--c-ink); }
.header__bar {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h); padding-inline: 12px 8px;
}
@media (min-width: 1160px) { .header__bar { padding-inline: calc((100% - var(--wrap)) / 2 - 8px); } }
.logo { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 4px 8px; text-decoration: none; }
.logo__mark {
  flex: none; width: 40px; height: 40px; border-radius: 50%;
  background: var(--c-white); display: grid; place-items: center; overflow: hidden;
  box-shadow: inset 0 0 0 1px var(--c-line);
}
.logo__mark img { width: 88%; height: 88%; object-fit: contain; }
.logo__mark--lg { width: 56px; height: 56px; }
.logo__text { font-family: var(--font-head); font-size: 19px; letter-spacing: .08em; line-height: 1; }

.header__actions { display: flex; align-items: center; gap: 2px; }
.icon-btn {
  width: 48px; height: 48px; display: grid; place-items: center;
  border: 0; background: transparent; border-radius: 50%; color: inherit; text-decoration: none;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.icon-btn svg { width: 24px; height: 24px; }
.icon-btn:hover { background: var(--c-paper); color: var(--c-ink); }
.header.is-stuck .icon-btn:hover { background: var(--c-ink); color: var(--c-paper); }
.icon-btn:active { transform: translateY(1px) scale(.96); }

.menu-btn__bars { position: relative; width: 22px; height: 14px; display: block; }
.menu-btn__bars span {
  position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: currentColor;
  transition: transform 220ms var(--ease), opacity 160ms var(--ease), top 220ms var(--ease);
}
.menu-btn__bars span:nth-child(1) { top: 0; }
.menu-btn__bars span:nth-child(2) { top: 6px; }
.menu-btn__bars span:nth-child(3) { top: 12px; }
.menu-open .menu-btn__bars span:nth-child(1) { top: 6px; transform: rotate(45deg); }
.menu-open .menu-btn__bars span:nth-child(2) { opacity: 0; }
.menu-open .menu-btn__bars span:nth-child(3) { top: 6px; transform: rotate(-45deg); }
.menu-open .header, .menu-open .header.is-stuck { background: var(--c-ink); color: var(--c-paper); box-shadow: none; }
.menu-open .header .icon-btn:hover { background: var(--c-paper); color: var(--c-ink); }

/* ---------- メニュー（全画面） ---------- */
.menu {
  position: fixed; inset: 0; z-index: 1;
  background: var(--c-ink); color: var(--c-paper);
  overflow-y: auto; overscroll-behavior: contain;
  padding: calc(var(--header-h) + var(--ticker-h) + 16px) 0 48px;
  opacity: 0; transition: opacity 200ms var(--ease);
}
.menu-open .menu { opacity: 1; }
.menu__inner { width: min(100% - 40px, 720px); margin-inline: auto; }
.menu__main { border-top: 1px solid rgba(255,255,255,.22); }
.menu__main li { border-bottom: 1px solid rgba(255,255,255,.22); }
.menu__main a {
  display: flex; align-items: center; gap: 16px; min-height: 72px; padding: 12px 4px;
  font-family: var(--font-head); font-size: clamp(21px, 5.6vw, 30px); line-height: 1.3; text-decoration: none;
  transition: color var(--dur) var(--ease), padding var(--dur) var(--ease);
}
.menu__main a::after {
  content: ""; flex: none; width: 10px; height: 10px; margin-left: auto;
  border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg);
}
.menu__main a:hover { padding-left: 10px; }
.menu__main a:hover .menu__no { color: var(--c-paper); }
.menu__no { font-family: var(--font-body); font-size: 13px; font-weight: 700; color: var(--c-accent); letter-spacing: .1em; transition: color var(--dur) var(--ease); }
.menu__sub { display: flex; flex-wrap: wrap; gap: 4px 24px; margin-top: 28px; }
.menu__sub a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; color: var(--c-on-dark-muted); text-underline-offset: 4px; }
.menu__sub a:hover { color: var(--c-paper); }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 10px 26px;
  background: var(--c-white); color: var(--c-ink);
  border: 1px solid var(--c-ink); border-radius: var(--radius);
  font-weight: 700; font-size: 15px; letter-spacing: .06em; text-decoration: none;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.btn:hover { background: var(--c-ink); color: var(--c-paper); transform: translateY(-2px); box-shadow: 0 4px 10px rgba(0,0,0,.12); }
.btn:active { transform: translateY(1px); box-shadow: none; }
.btn--sm { min-height: 44px; padding: 8px 18px; font-size: 14px; }
.btn--arrow::after { content: ""; width: 7px; height: 7px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); }
/* 黒い背景の上で使うボタン */
.btn--ghost { background: transparent; color: var(--c-paper); border-color: var(--c-paper); }
.btn--ghost:hover { background: var(--c-paper); color: var(--c-ink); }
.hero .btn:not(.btn--ghost), .slide--dark .btn, .section--dark .btn { border-color: var(--c-white); }
.hero .btn:not(.btn--ghost):hover, .slide--dark .btn:hover { background: var(--c-paper); color: var(--c-ink); box-shadow: 0 0 0 1px var(--c-paper); }
/* 白い背景の上の黒いボタン */
.btn--dark { background: var(--c-ink); color: var(--c-paper); }
.btn--dark:hover { background: var(--c-white); color: var(--c-ink); }

.pill-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 44px; padding: 6px 18px;
  background: var(--c-white); color: var(--c-ink);
  border: 1px solid var(--c-ink); border-radius: 999px;
  font-size: 14px; font-weight: 700; white-space: nowrap;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.pill-btn:hover { background: var(--c-ink); color: var(--c-paper); transform: translateY(-2px); }
.pill-btn:active { transform: translateY(1px); }
.pill-btn[aria-pressed="true"] { background: var(--c-ink); color: var(--c-paper); }

/* ---------- 3. ファーストビュー ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--c-ink); color: var(--c-paper);
  padding: 40px 0 120px;
}
.hero__inner {
  position: relative; z-index: 2;
  width: min(100% - 40px, var(--wrap)); margin-inline: auto;
  display: grid; gap: 32px;
}
.hero__eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .14em; color: var(--c-on-dark-muted); }
.hero__title {
  margin: 8px 0 18px;
  font-family: var(--font-head); font-weight: 400;
  font-size: clamp(44px, 13vw, 84px); line-height: 1.15; letter-spacing: .06em;
}
.hero__copy {
  font-family: var(--font-head); font-size: clamp(20px, 5.4vw, 28px); line-height: 1.6; letter-spacing: .08em;
  padding-left: 16px; border-left: 3px solid var(--c-accent);
}
.hero__lead { margin: 20px 0 28px; font-size: 15px; color: var(--c-on-dark-muted); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__visual { position: relative; justify-self: center; width: min(58vw, 240px); }
.hero__cat {
  aspect-ratio: 1; border-radius: 50%; background: var(--c-paper);
  display: grid; place-items: center; padding: 14%;
  box-shadow: 0 0 0 10px rgba(249,249,247,.08);
}
.hero__cat img { width: 100%; height: auto; }
.hero__paws { position: absolute; width: 46%; left: -30%; bottom: -6%; color: #4A4A48; }
@media (min-width: 900px) {
  .hero { padding: 72px 0 150px; }
  .hero__inner { grid-template-columns: 1.25fr 1fr; align-items: center; gap: 48px; }
  .hero__visual { width: min(100%, 380px); justify-self: end; }
}
.hero__blaze { position: absolute; left: 0; bottom: -1px; width: 100%; height: clamp(56px, 9vw, 110px); fill: var(--c-paper); z-index: 1; }

/* ---------- 見出し ---------- */
.section { padding: 72px 0 8px; }
.section--last { padding-bottom: 88px; }
.section--dark { background: var(--c-ink); color: var(--c-paper); margin-top: 72px; padding: 72px 0; }
.section__head { margin-bottom: 28px; }
.section__en { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 700; letter-spacing: .2em; color: var(--c-muted); }
.section--dark .section__en { color: var(--c-on-dark-muted); }
.section__en .no { font-size: 13px; color: var(--c-accent-text); }
.section--dark .section__en .no { color: var(--c-accent); }
.section__en::after { content: ""; width: 32px; height: 1px; background: currentColor; }
.section__title { margin-top: 6px; font-family: var(--font-head); font-weight: 400; font-size: clamp(26px, 6.6vw, 36px); line-height: 1.4; letter-spacing: .06em; }
.section__lead { margin-top: 8px; font-weight: 700; }
.section__hint { margin-top: 4px; font-size: 13px; color: var(--c-muted); }
.section--dark .section__lead { color: var(--c-paper); }

/* ---------- 4. お知らせ（スライド） ---------- */
.carousel__track {
  position: relative; display: flex; gap: 14px;
  overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 4px 8vw 8px; scrollbar-width: none;
}
.carousel__track::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 84vw; scroll-snap-align: center; }
@media (min-width: 768px) {
  .slide { flex-basis: min(62vw, 720px); }
  .carousel__track { padding-inline: calc((100vw - min(62vw, 720px)) / 2); }
}
.slide__inner {
  height: 100%; min-height: 240px;
  display: flex; flex-direction: column; align-items: flex-start;
  padding: 26px 24px; border-radius: var(--radius-card);
}
.slide--dark .slide__inner { background: var(--c-ink); color: var(--c-paper); }
.slide--light .slide__inner { background: var(--c-white); border: 1px solid var(--c-line); }
.slide__kicker { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 12px; font-weight: 700; letter-spacing: .12em; }
.slide__date { font-weight: 400; letter-spacing: .06em; opacity: .85; }
.slide--dark .slide__kicker { color: var(--c-accent); }
.slide--light .slide__kicker { color: var(--c-accent-text); }
.slide__title { margin: 8px 0 8px; font-family: var(--font-head); font-weight: 400; font-size: clamp(19px, 5vw, 26px); line-height: 1.5; }
.slide__text { font-size: 14px; margin-bottom: 20px; }
.slide--dark .slide__text { color: var(--c-on-dark-muted); }
.slide--light .slide__text { color: var(--c-muted); }
.slide .btn { margin-top: auto; }
.carousel__controls { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; }
.carousel__dots { display: flex; flex-wrap: wrap; }
.dot { width: 44px; height: 44px; border: 0; background: transparent; display: grid; place-items: center; border-radius: 50%; }
.dot::before {
  content: ""; width: 10px; height: 10px; border-radius: 50%;
  border: 1.5px solid var(--c-ink); background: transparent;
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.dot:hover::before { transform: scale(1.3); }
.dot[aria-current="true"]::before { background: var(--c-ink); }
.dot:active::before { transform: scale(.9); }
.carousel__toggle { padding-inline: 14px; font-size: 13px; }

/* ---------- 5. できること ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 900px) { .service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
.service {
  position: relative; display: flex; flex-direction: column;
  background: var(--c-white); border: 1px solid var(--c-line); border-radius: var(--radius-card);
  padding: 44px 16px 16px; cursor: pointer;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.service:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,.08); border-color: var(--c-ink); }
.service:active { transform: translateY(0); box-shadow: none; }
.service.is-open { border-color: var(--c-ink); box-shadow: 0 0 0 1px var(--c-ink); transform: none; }
/* 開いているカードの下に、事例の箱へつながる小さな三角 */
.service.is-open::after {
  content: ""; position: absolute; left: 50%; bottom: -13px; margin-left: -9px;
  border-left: 9px solid transparent; border-right: 9px solid transparent; border-top: 9px solid var(--c-ink);
}
.service__toggle {
  all: unset; cursor: pointer; font: inherit; color: inherit;
}
.service__toggle::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius-card); }
.service__toggle:focus-visible { outline: none; }
.service:has(.service__toggle:focus-visible) { outline: 3px solid var(--c-ink); outline-offset: 3px; }
.service__foot { margin-top: auto; padding-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.service__foot .status { margin-top: 0; }
.service__more { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; }
.service__more i { width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform var(--dur) var(--ease); }
.service.is-open .service__more i { transform: rotate(-135deg) translateY(-2px); }

/* カードの下に広がる事例の箱 */
.svc-panel {
  grid-column: 1 / -1;
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows 260ms var(--ease), opacity 200ms var(--ease), margin 260ms var(--ease);
  opacity: 0; margin: -6px 0;
}
.svc-panel.is-open { grid-template-rows: 1fr; opacity: 1; margin: 4px 0 8px; }
.svc-panel__inner { min-height: 0; overflow: hidden; display: grid; gap: 16px; }
/* 事例1件ごとの黒い箱 */
.svc-case {
  background: var(--c-ink); color: var(--c-paper); border-radius: var(--radius-card);
  padding: 22px 20px 24px;
}
@media (min-width: 768px) { .svc-case { padding: 30px 36px 32px; } }
.svc-case__head { margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,.2); }
.svc-case__label { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; font-size: 12px; font-weight: 700; letter-spacing: .1em; color: var(--c-accent); }
.svc-case__no { font-size: 14px; }
.svc-case__svc { color: var(--c-on-dark-muted); letter-spacing: .04em; font-weight: 700; }
.svc-case__svc::before { content: "／"; margin-right: 8px; color: rgba(255,255,255,.35); }
.svc-case__title { margin-top: 6px; font-family: var(--font-head); font-weight: 400; font-size: clamp(19px, 4.8vw, 24px); line-height: 1.5; }
.svc-case__cta { margin-top: 22px; display: flex; justify-content: flex-end; }
.svc-panel :focus-visible { outline-color: var(--c-accent); box-shadow: none; }
.svc-panel__empty { color: var(--c-on-dark-muted); font-size: 15px; }
.svc-case .btn { border-color: var(--c-white); }
.svc-case .btn:hover { background: var(--c-paper); color: var(--c-ink); }
.service__icon { width: 44px; height: 44px; color: var(--c-ink); margin-bottom: 12px; }
.service__title { font-family: var(--font-head); font-weight: 400; font-size: 18px; line-height: 1.45; }
.service__text { margin-top: 6px; font-size: 13.5px; line-height: 1.75; color: var(--c-muted); }
.service--full .service__title, .service--soon .service__title { color: var(--c-ink); }

/* 分類バッジ：このサイト独自の「猫耳」の形 */
.badge {
  position: absolute; top: 14px; left: 14px;
  display: inline-flex; align-items: center; min-height: 24px;
  padding: 2px 10px; border-radius: 6px;
  font-size: 11.5px; font-weight: 700; line-height: 1.4; letter-spacing: .04em;
  background: var(--c-ink); color: var(--c-paper);
}
.badge::before, .badge::after {
  content: ""; position: absolute; top: -6px; width: 0; height: 0;
  border-left: 5px solid transparent; border-right: 5px solid transparent; border-bottom: 7px solid var(--c-ink);
}
.badge::before { left: 6px; }
.badge::after { right: 6px; }
/* 状態ラベル（受付中・満員・Coming soon） */
.status { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 12px; font-weight: 700; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c-ink); }
.status--soon { color: var(--c-accent-text); }
.status--soon::before { background: var(--c-accent); }
.status--full { color: var(--c-muted); }
.status--full::before { background: transparent; box-shadow: inset 0 0 0 1.5px var(--c-muted); }

/* 押せないタグ：文字だけで表示 */
.tags { display: flex; flex-wrap: wrap; gap: 0 10px; margin-top: 8px; font-size: 12px; color: var(--c-muted); }
.tags li::before { content: "#"; }

/* ---------- 6. 進め方 ---------- */
.flow { display: grid; gap: 12px; counter-reset: step; }
@media (min-width: 900px) { .flow { grid-template-columns: repeat(4, 1fr); gap: 16px; } }
.flow li {
  position: relative; display: grid; grid-template-columns: 52px 1fr; gap: 4px 16px; align-items: start;
  padding: 18px; background: var(--c-white); border: 1px solid var(--c-line); border-radius: var(--radius-card);
}
@media (min-width: 900px) { .flow li { grid-template-columns: 1fr; padding: 22px 20px; } }
.flow__no {
  grid-row: span 2; width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center; background: var(--c-ink); color: var(--c-accent);
  font-size: 20px; font-weight: 900;
}
@media (min-width: 900px) { .flow__no { grid-row: auto; margin-bottom: 8px; } }
.flow__title { font-family: var(--font-head); font-size: 19px; line-height: 1.5; }
.flow__text { font-size: 14px; color: var(--c-muted); }
.flow__note { margin-top: 20px; font-size: 14px; color: var(--c-muted); }

/* ---------- 7. 実績・事例 ---------- */
.work { display: grid; gap: 24px; }
@media (min-width: 768px) { .work { grid-template-columns: minmax(0, 360px) 1fr; gap: 40px; align-items: start; } }
.work__media { position: relative; }
.work__img { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; border-radius: var(--radius-card); }
.work__img--photo { aspect-ratio: 4 / 5; }
.work__img--wide { aspect-ratio: 800 / 499; object-fit: cover; border: 1px solid rgba(255,255,255,.2); }
.work__media .badge { background: var(--c-paper); color: var(--c-ink); z-index: 1; }
.work__media .badge::before, .work__media .badge::after { border-bottom-color: var(--c-paper); }
.work__client { font-size: 13px; font-weight: 700; letter-spacing: .06em; color: var(--c-on-dark-muted); }
.work__steps { margin-top: 14px; border-top: 1px solid rgba(255,255,255,.2); }
.work__steps div { display: grid; grid-template-columns: 4.5em 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.2); }
.work__steps dt { font-size: 12px; font-weight: 700; color: var(--c-accent); padding-top: 3px; }
.work__steps dd { font-size: 15px; }
.work__steps .work__answer { font-family: var(--font-head); font-size: 19px; line-height: 1.6; }
.work__text { margin-top: 16px; font-size: 14px; color: var(--c-on-dark-muted); }

/* 写真がまだないときの枠 */
.ph {
  display: grid; place-items: center; text-align: center;
  background: #2E2E2C; color: var(--c-on-dark-muted);
  border: 1px dashed #5A5A58;
  font-size: 13px; font-weight: 700; letter-spacing: .1em; line-height: 1.7;
}

/* ---------- 8. ハチワレ計画について ---------- */
.about { display: grid; gap: 24px; }
@media (min-width: 900px) { .about { grid-template-columns: 1fr 220px; gap: 56px; align-items: end; } }
.about__catch { font-family: var(--font-head); font-size: clamp(22px, 5.6vw, 30px); line-height: 1.6; letter-spacing: .06em; margin-bottom: 18px; }
.about__body > p:not(.about__catch) { margin-bottom: 12px; color: var(--c-ink); }
.profile { margin-top: 20px; border-top: 1px solid var(--c-line); }
.profile div { display: grid; grid-template-columns: 6em 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--c-line); font-size: 15px; }
.profile dt { font-weight: 700; color: var(--c-muted); font-size: 13px; padding-top: 2px; }
.num { font-size: 1.4em; font-weight: 900; color: var(--c-accent-text); margin-right: 2px; }
.about__cat { justify-self: end; width: 150px; }
@media (min-width: 900px) { .about__cat { width: 200px; } }

/* ---------- 9. お問い合わせ ---------- */
.contact { position: relative; display: grid; gap: 24px; max-width: 760px; }
.contact__cat { position: absolute; right: 12px; top: -88px; width: 120px; z-index: 0; pointer-events: none; }
@media (min-width: 900px) { .contact__cat { width: 150px; top: -112px; right: 24px; } }
.form {
  position: relative; z-index: 1;
  background: var(--c-white); border: 1px solid var(--c-line); border-radius: var(--radius-card);
  padding: 24px 18px;
}
@media (min-width: 768px) { .form { padding: 36px 40px; } }
.form__note { font-size: 13px; color: var(--c-muted); padding: 12px 14px; background: var(--c-paper); border-radius: 8px; margin-bottom: 22px; }
.field { margin: 0 0 20px; padding: 0; border: 0; min-width: 0; }
.field label, .field legend { display: flex; align-items: center; gap: 8px; padding: 0; margin-bottom: 8px; font-weight: 700; font-size: 15px; }
.req, .opt { font-size: 11px; font-weight: 700; padding: 1px 8px; border-radius: 4px; letter-spacing: .04em; }
.req { background: var(--c-ink); color: var(--c-paper); }
.opt { border: 1px solid var(--c-muted); color: var(--c-muted); }
.field input, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  background: var(--c-white); border: 1px solid #8A8A86; border-radius: var(--radius);
  font-size: 16px; line-height: 1.6;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.field textarea { resize: vertical; min-height: 150px; }
.field input:hover, .field textarea:hover { border-color: var(--c-ink); }
.field input:focus-visible, .field textarea:focus-visible { outline: none; border-color: var(--c-ink); box-shadow: 0 0 0 3px var(--c-ink); border-radius: var(--radius); }
.field [aria-invalid="true"] { border-color: #B3261E; box-shadow: 0 0 0 1px #B3261E; }
.field__hint { margin-top: 6px; font-size: 12.5px; color: var(--c-muted); }
.field__error { margin-top: 6px; font-size: 13px; font-weight: 700; color: #B3261E; }
.field__error:empty { display: none; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 6px 16px;
  border: 1px solid #8A8A86; border-radius: 999px; font-size: 14px; font-weight: 700; cursor: pointer;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.choice span::before { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid currentColor; flex: none; }
.choice span:hover { border-color: var(--c-ink); }
.choice input:checked + span { background: var(--c-ink); color: var(--c-paper); border-color: var(--c-ink); }
.choice input:checked + span::before { background: var(--c-accent); border-color: var(--c-accent); }
.choice input:focus-visible + span { outline: 3px solid var(--c-ink); outline-offset: 3px; }
.form__actions { display: flex; justify-content: flex-end; margin-top: 8px; }
.form__status { margin-top: 14px; font-size: 14px; font-weight: 700; }
.form__status:empty { display: none; }
.contact__mail { font-size: 14px; color: var(--c-muted); }
.contact__address { margin: 4px 0 10px; font-size: 18px; font-weight: 700; color: var(--c-ink); }
.contact__address a { display: inline-flex; align-items: center; min-height: 44px; text-underline-offset: 4px; }
.copy-status { margin-left: 10px; font-size: 13px; font-weight: 700; color: var(--c-ink); }

/* ---------- 猫のイラスト：切り抜きの端をふんわりぼかす ---------- */
.cat-img {
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 7%, #000 93%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 5%, #000 92%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent 0, #000 7%, #000 93%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 5%, #000 92%, transparent 100%);
  mask-composite: intersect;
}

/* ---------- 10. フッター ---------- */
.footer { background: var(--c-ink); color: var(--c-paper); padding: 56px 0 24px; }
.footer__inner { display: grid; gap: 28px; }
.footer__brand { display: flex; align-items: center; gap: 14px; }
.footer__name { font-family: var(--font-head); font-size: 22px; letter-spacing: .08em; line-height: 1.3; }
.footer__copy { font-size: 13px; color: var(--c-on-dark-muted); }
.footer__links { display: grid; }
@media (min-width: 768px) { .footer__links { display: flex; flex-wrap: wrap; gap: 0 28px; } }
.footer__links a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; font-size: 14px; text-decoration: none; }
.footer__links a:hover { color: var(--c-accent); text-decoration: underline; text-underline-offset: 4px; }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.2); }
.footer__bottom small { font-size: 12px; color: var(--c-on-dark-muted); }
.to-top {
  width: 52px; height: 52px; display: grid; place-items: center;
  background: transparent; color: var(--c-paper); border: 1px solid var(--c-paper); border-radius: 50%;
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.to-top svg { width: 22px; height: 22px; }
.to-top:hover { transform: translateY(-3px); background: var(--c-paper); color: var(--c-ink); }
.to-top:active { transform: translateY(1px); }

/* ---------- 動きを減らす設定 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 1ms !important; }
  .btn:hover, .pill-btn:hover, .to-top:hover { transform: none; }
}

.nowrap { white-space: nowrap; }

/* ---------- ついてくるハチワレ猫（cat.js）：元のイラストのポーズを切り替える ---------- */
.hachi-cat {
  position: fixed; left: 0; bottom: 0; z-index: 90;
  width: 120px; height: 86px; pointer-events: none; will-change: transform;
}
.hachi-cat__pose {
  position: absolute; left: 0; bottom: 0; height: auto; max-width: none;
  opacity: 0; transform: scaleX(var(--face, 1)); transform-origin: 50% 100%;
  transition: opacity 160ms ease;
  filter: drop-shadow(0 0 1.5px rgba(249,249,247,.95));
}
.hachi-cat[data-pose="walk"] .hachi-cat__pose--walk,
.hachi-cat[data-pose="sit"] .hachi-cat__pose--sit,
.hachi-cat[data-pose="sleep"] .hachi-cat__pose--sleep { opacity: 1; }
/* 歩く時：ぴょこぴょこ跳ねる */
.hachi-cat[data-pose="walk"] .hachi-cat__pose--walk { animation: hc-hop .42s ease-in-out infinite; }
@keyframes hc-hop {
  0%, 100% { transform: scaleX(var(--face, 1)) translateY(0) rotate(0deg); }
  25% { transform: scaleX(var(--face, 1)) translateY(-5px) rotate(-3deg); }
  50% { transform: scaleX(var(--face, 1)) translateY(0) scaleY(.96); }
  75% { transform: scaleX(var(--face, 1)) translateY(-5px) rotate(3deg); }
}
/* 止まった時：ゆっくり息をする */
.hachi-cat[data-pose="sit"] .hachi-cat__pose--sit { animation: hc-breathe 3s ease-in-out infinite; }
@keyframes hc-breathe { 50% { transform: scaleX(var(--face, 1)) scaleY(1.025); } }
/* 寝ている時：Zz */
.hachi-cat__z { position: absolute; left: 70px; bottom: 48px; font: 700 13px/1 "Kosugi Maru", sans-serif; color: #666; opacity: 0; transition: opacity .3s; }
.hachi-cat__z i { position: absolute; font-style: normal; opacity: 0; animation: hc-z 2.4s ease-in infinite; }
.hachi-cat__z i:nth-child(2) { animation-delay: .8s; font-size: 15px; }
.hachi-cat__z i:nth-child(3) { animation-delay: 1.6s; font-size: 18px; }
.hachi-cat[data-pose="sleep"] .hachi-cat__z { opacity: 1; }
@keyframes hc-z { 0% { opacity: 0; transform: translate(0, 0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translate(14px, -26px); } }
.menu-open .hachi-cat { opacity: 0; }
@media print { .hachi-cat { display: none; } }

/* ---------- 蛍光ペン風の線（黒地の上だけで使う） ---------- */
.marker {
  background: linear-gradient(transparent 62%, rgba(237, 158, 13, .55) 62%, rgba(237, 158, 13, .55) 92%, transparent 92%);
  padding: 0 2px; color: var(--c-paper); font-weight: 700;
}

/* =========================================================
   参考サイトから2割だけ取り入れた部分（確認用）
   ========================================================= */
/* 見出し：フォルダのつまみのような形と、横に伸びる線。
   つまみの上の線は、猫の耳の形に2か所ニョキッと立ち上がる */
.section { overflow-x: clip; }
.section__head { margin-bottom: 22px; }
.section__title {
  position: relative; display: inline-flex; align-items: baseline; flex-wrap: wrap; gap: 2px 14px;
  margin-top: 16px; padding: 12px 52px 10px 2px;
  border-top: 2px solid var(--c-ink); border-right: 2px solid var(--c-ink);
  border-top-right-radius: 26px;
  font-size: clamp(22px, 5.6vw, 28px); line-height: 1.35; letter-spacing: .06em;
}
.section__title::after {
  content: ""; position: absolute; left: 100%; bottom: 0;
  width: 100vw; height: 2px; background: var(--c-ink);
}
.section__title::before {
  content: ""; position: absolute; top: -21px; right: 44px; width: 60px; height: 23px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 50 18'%3E%3Cpath d='M1 17.6 9.5 3.6Q12 .2 14.5 3.6L21 17.6ZM29 17.6 35.5 3.6Q38 .2 40.5 3.6L49 17.6Z' fill='%23F9F9F7'/%3E%3Cpath d='M1 17 9.5 3.6Q12 .2 14.5 3.6L21 17M29 17 35.5 3.6Q38 .2 40.5 3.6L49 17' fill='none' stroke='%23212121' stroke-width='2' stroke-linejoin='round' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
}
.section__title .section__en { font-size: 11px; letter-spacing: .2em; gap: 6px; font-family: var(--font-body); }
.section__title .section__en::after { display: none; }
.section__head .section__lead { margin-top: 14px; }

/* お知らせ：PC は3枚を横に並べ、スマホは次の1枚が少し見える */
.slide { flex-basis: 78vw; }
.slide__inner { min-height: 0; padding: 20px 20px 22px; }
.slide__title { font-size: clamp(17px, 4.6vw, 20px); }
.slide__text { font-size: 13.5px; margin-bottom: 16px; }
@media (min-width: 768px) {
  .slide { flex-basis: calc((min(100vw - 40px, var(--wrap)) - 28px) / 3); }
  .carousel__track { padding-inline: max(20px, calc((100vw - var(--wrap)) / 2)); }
}
@media (min-width: 900px) { .carousel__controls { display: none; } }

/* タグ：丸い枠付き */
.tags { gap: 6px; }
.tags li { padding: 0 10px; border: 1px solid var(--c-ink); border-radius: 999px; color: var(--c-ink); line-height: 1.9; }

/* 横のつまみ：画面の右端に「ご相談はこちら」（PC だけ） */
.side-tab { display: none; }
@media (min-width: 900px) {
  .side-tab {
    display: block; position: fixed; right: 0; top: 50%; z-index: 40;
    transform: translateY(-50%);
    writing-mode: vertical-rl; letter-spacing: .2em;
    padding: 18px 12px; min-width: 44px;
    background: var(--c-ink); color: var(--c-accent);
    border: 2px solid var(--c-paper); border-right: 0; border-radius: 12px 0 0 12px;
    font-family: var(--font-head); font-size: 15px; text-decoration: none;
    transition: padding var(--dur) var(--ease);
  }
  .side-tab:hover { padding-right: 18px; }
  .side-tab:focus-visible { outline-color: var(--c-accent); box-shadow: none; }
  .menu-open .side-tab { display: none; }
}

/* 「現在満員です」は赤っぽく */
.status--full {
  color: #B3261E; padding: 0 10px 0 8px; border-radius: 999px;
  background: #FDECEA; box-shadow: inset 0 0 0 1.5px #B3261E;
  line-height: 1.9;
}
.status--full::before { background: #B3261E; box-shadow: none; }

/* トップ：情報を減らしてすっきり */
.hero__title { white-space: nowrap; font-size: clamp(40px, 11vw, 76px); margin-bottom: 20px; }
.hero__lead { margin: 22px 0 0; }

/* ---------- サイト内検索 ---------- */
.search { position: relative; display: none; }
.search__icon { position: absolute; left: 12px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); pointer-events: none; opacity: .8; }
.search__input {
  width: 100%; height: 44px; padding: 0 14px 0 38px;
  border: 1px solid rgba(255,255,255,.4); border-radius: 999px;
  background: rgba(255,255,255,.08); color: inherit; font-size: 14px;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.search__input::placeholder { color: var(--c-on-dark-muted); }
.search__input:focus-visible { outline: 3px solid var(--c-accent); outline-offset: 2px; box-shadow: none; }
.header.is-stuck .search__input { border-color: var(--c-ink); background: var(--c-white); }
.header.is-stuck .search__input::placeholder { color: var(--c-muted); }
.header.is-stuck .search__input:focus-visible { outline-color: var(--c-ink); }
.search__panel {
  position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 5;
  padding: 14px; border-radius: 14px;
  background: var(--c-white); color: var(--c-ink); border: 2px solid var(--c-ink);
  box-shadow: 0 10px 24px rgba(0,0,0,.18);
}
.search__panel :focus-visible { outline-color: var(--c-ink); }
.search__hint { font-size: 12px; font-weight: 700; color: var(--c-muted); }
.search__words { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.search__word { min-height: 44px; padding: 0 14px; border: 1px solid var(--c-ink); border-radius: 999px; background: var(--c-white); font-size: 13px; }
.search__word:hover { background: var(--c-ink); color: var(--c-paper); }
.search__results:empty { display: none; }
.search__hit { display: flex; flex-direction: column; justify-content: center; min-height: 52px; padding: 6px 10px; border-radius: 8px; text-decoration: none; line-height: 1.5; }
.search__hit:hover { background: var(--c-paper); }
.search__title { font-weight: 700; font-size: 14px; }
.search__sub { font-size: 12px; color: var(--c-muted); }
.search__none { font-size: 13px; padding: 6px 4px; }
.search__none a { font-weight: 700; }
.search-btn:hover { background: var(--c-paper); color: var(--c-ink); }
/* スマホ：虫めがねで、ヘッダーの下に検索欄を出す */
@media (max-width: 767px) {
  .header.search-open .search {
    display: block; position: absolute; left: 0; right: 0; top: 100%;
    padding: 10px 12px 12px; background: inherit; color: inherit;
  }
  .header.search-open .search { background: var(--c-ink); }
  .header.is-stuck.search-open .search { background: var(--c-white); box-shadow: 0 1px 0 var(--c-line); }
}
/* PC：ロゴの横に検索欄を置く */
@media (min-width: 768px) {
  .search { display: block; flex: 0 1 320px; margin-left: auto; margin-right: 12px; }
  .search-btn { display: none; }
}
.menu-open .search { visibility: hidden; }

/* ---------- プライバシーポリシーのページ ---------- */
.policy { padding: 56px 0 88px; }
.policy__inner { width: min(100% - 40px, 760px); margin-inline: auto; }
.policy__date { margin-top: 10px; font-size: 13px; color: var(--c-muted); }
.policy__intro { margin-top: 24px; }
.policy h2 { margin-top: 40px; padding-bottom: 6px; border-bottom: 1px solid var(--c-line); font-family: var(--font-head); font-weight: 400; font-size: 20px; line-height: 1.5; }
.policy p, .policy ul, .policy dl { margin-top: 12px; }
.policy ul { padding-left: 1.4em; list-style: disc; }
.policy li + li { margin-top: 4px; }
.policy dl div { display: grid; grid-template-columns: 7em 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--c-line); }
.policy dt { font-weight: 700; font-size: 14px; }
.policy__back { margin-top: 48px; }
.header--simple .header__bar { justify-content: flex-start; }
.search__words[hidden], .search__hint[hidden], .search__panel[hidden] { display: none; }
@media (max-width: 767px) { .header.search-open .search__icon { left: 24px; top: calc(50% - 1px); } }
.policy { overflow-x: clip; }

/* お知らせの日付：ラベルの前に、はっきり出す */
.slide__kicker { align-items: center; }
.slide__date { font-size: 13px; font-weight: 700; letter-spacing: .08em; opacity: 1; }
.slide--dark .slide__date { color: var(--c-paper); }
.slide--light .slide__date { color: var(--c-ink); }
.slide__date + .slide__label { padding-left: 12px; border-left: 1px solid currentColor; line-height: 1.2; }

.policy .policy__link { margin-top: 16px; }

/* メールアプリが開かないとき用のコピー手順 */
.copy-steps { display: grid; gap: 10px; margin-top: 4px; }
.copy-steps li { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; }
.copy-steps__no {
  flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center;
  background: var(--c-ink); color: var(--c-paper); font-size: 12px; font-weight: 700; line-height: 1;
}
.copy-steps .copy-status { margin-left: 0; }
