/* ポージング集（/posing/・2026-11-04）
   .p-posing にスコープ。単位は em・メディアクエリは max-width:769px のみ（CLAUDE.md の規約）。
   ヘッダー（header.site）は本文に重なる position:absolute。PC はスクロールで fixed になるので、絞り込みの帯はその下（3.75em）に止める。 */
.p-posing {
  --posing-ink: #1a1a1a;
  --posing-accent: #ff5a5f;
  --posing-tint: #f5f5f5;
  display: block;
  padding: 5.5em 0 7.5em;
  color: var(--posing-ink);
  font-family: 'Google Sans', 'Noto Sans JP', sans-serif;
  line-height: 1.6;
}
.p-posing a { color: inherit; }
.p-posing button { font-family: inherit; color: inherit; cursor: pointer; }
.p-posing__container { width: min(92%, 80em); margin: 0 auto; }
.p-posing__crumb { font-size: 0.75em; }
.p-posing__crumb a { text-decoration: none; }
.p-posing__head { margin: 2.5em 0 1.5em; max-width: 50em; }
.p-posing__en { margin: 0; font-size: 0.8125em; font-weight: 700; letter-spacing: 0.2em; }
.p-posing__title { margin: 0.125em 0 0.5em; font-size: 2.25em; line-height: 1.3; }
.p-posing__lead { margin: 0; font-size: 0.9375em; }

/* 絞り込み */
.c-posing-filter { position: sticky; top: 3.75em; z-index: 5; padding: 0.75em 0 1em; background: #fff; display: flex; flex-direction: column; gap: 0.75em; }
.c-posing-filter__tabs { display: flex; gap: 0.5em; }
.c-posing-tab { padding: 0.625em 1.5em; border: 0; border-radius: 62.5em; background: var(--posing-tint); font-size: 0.9375em; font-weight: 700; white-space: nowrap; }
.c-posing-tab small { font-size: 0.8125em; font-weight: 400; }
.c-posing-tab[aria-pressed="true"] { background: var(--posing-ink); color: #fff; }
.c-posing-filter__row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5em; }
.c-posing-filter__label { margin-right: 0.25em; font-size: 0.8125em; font-weight: 700; white-space: nowrap; }
.c-posing-filter__label--gap { margin-left: 1em; }
.c-posing-chip { padding: 0.375em 0.875em; border: 0; border-radius: 62.5em; background: var(--posing-tint); font-size: 0.8125em; white-space: nowrap; }
.c-posing-chip .js-n { font-size: 0.875em; }
.c-posing-chip[aria-pressed="true"] { background: var(--posing-ink); color: #fff; }
.c-posing-chip:disabled { opacity: 0.4; cursor: default; }
.c-posing-filter__result { margin: 0; display: flex; align-items: center; gap: 1em; font-size: 0.875em; font-weight: 700; }
.c-posing-filter__reset { padding: 0; border: 0; background: none; font-size: 0.9375em; font-weight: 400; text-decoration: underline; }

/* 一覧 */
.c-posing-grid { margin: 0.5em 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1em; }
.c-pose[hidden] { display: none; }
.c-pose__btn { display: block; width: 100%; padding: 0; border: 0; border-radius: 0.625em; overflow: hidden; background: var(--posing-tint); aspect-ratio: 2 / 3; }
.c-pose__btn img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.c-pose__btn:hover img { transform: scale(1.03); }
/* 横長の写真（寝そべり等）は切らずに全体を見せる。背景は写真と同じ白 */
.c-pose--wide .c-pose__btn { background: #fff; }
.c-pose--wide .c-pose__btn img { object-fit: contain; }
.c-posing-empty { margin: 2em 0; font-size: 0.9375em; }
.c-posing-empty button { padding: 0; border: 0; background: none; text-decoration: underline; }

/* 予約への導線 */
.c-posing-cta { margin-top: 4.5em; padding: 2.25em 2.5em; border-radius: 1em; background: var(--posing-ink); color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 1.5em; }
.c-posing-cta__title { margin: 0; font-size: 1.25em; }
.c-posing-cta__text { margin: 0.375em 0 0; font-size: 0.875em; }
.c-posing-cta__btns { display: flex; gap: 0.625em; flex: none; }
.c-posing-btn { display: block; padding: 0.875em 1.75em; border-radius: 62.5em; background: #fff; color: var(--posing-ink); font-size: 0.9375em; font-weight: 700; text-align: center; text-decoration: none; white-space: nowrap; }
.p-posing .c-posing-btn { color: var(--posing-ink); }
.p-posing .c-posing-btn--primary { background: var(--posing-accent); color: #fff; }
.p-posing .c-posing-btn:hover { opacity: 0.85; }

/* 拡大表示（モーダルの基準：背景は黒の半透明・右上の丸い×・背景クリックと Esc で閉じる） */
.c-posing-modal { width: min(92%, 62.5em); max-height: 92vh; padding: 0; border: 0; border-radius: 1em; background: #fff; box-shadow: 0 0.75em 2.5em rgba(0, 0, 0, 0.25); overflow: hidden; }
.c-posing-modal::backdrop { background: rgba(0, 0, 0, 0.5); }
html.is-posing-modal { overflow: hidden; }
.c-posing-modal__body { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
.c-posing-modal__photo { position: relative; margin: 0; background: #fff; display: flex; align-items: center; justify-content: center; }
.c-posing-modal__photo img { display: block; width: 100%; height: auto; max-height: 92vh; object-fit: contain; }
.c-posing-modal__nav { position: absolute; top: 50%; width: 2.75em; height: 2.75em; margin-top: -1.375em; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.9); font-size: 1.25em; line-height: 1; box-shadow: 0 0.125em 0.5em rgba(0, 0, 0, 0.15); }
.c-posing-modal__nav--prev { left: 0.75em; }
.c-posing-modal__nav--next { right: 0.75em; }
.c-posing-modal__info { padding: 3em 2.5em 2em; display: flex; flex-direction: column; gap: 1em; }
.c-posing-modal__tags { margin: 0; font-size: 1.125em; font-weight: 700; }
.c-posing-modal__pos { margin: 0; font-size: 0.8125em; }
.c-posing-modal__text { margin: 0; font-size: 0.875em; }
.c-posing-modal__btns { margin-top: auto; display: flex; flex-direction: column; gap: 0.625em; }
.c-posing-modal__close { position: absolute; top: 0.75em; right: 0.75em; width: 2.5em; height: 2.5em; border: 0; border-radius: 50%; background: #f0f0f0; font-size: 1.125em; line-height: 1; }

@media (max-width: 769px) {
  .p-posing { padding: 4.5em 0 6em; }
  .p-posing__title { font-size: 1.5em; }
  .p-posing__head { margin: 1.5em 0 1em; }
  .c-posing-filter { top: 0; padding: 0.5em 0 0.75em; gap: 0.5em; }
  .c-posing-filter__tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .c-posing-tab { padding: 0.625em 0; font-size: 1em; }
  /* チップは1行で横にスクロール（縦に積むと一覧が見えなくなるため） */
  .c-posing-filter__row { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .c-posing-filter__row::-webkit-scrollbar { display: none; }
  .c-posing-chip { font-size: 0.875em; }
  .c-posing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.625em; }
  .c-posing-cta { flex-direction: column; align-items: stretch; padding: 1.5em 1.25em; margin-top: 3em; }
  .c-posing-cta__btns { flex-direction: column; }
  .c-posing-modal { width: 100%; max-width: 100%; height: 100%; max-height: 100%; border-radius: 0; }
  .c-posing-modal__body { grid-template-columns: 1fr; height: 100%; overflow-y: auto; }
  .c-posing-modal__photo img { max-height: 70vh; }
  .c-posing-modal__info { padding: 1.25em 1.25em 2em; }
}
