@charset "UTF-8";
/* =========================================================================
   utilities.css — 単機能ユーティリティ
   ========================================================================= */

/* 視覚的に隠すがスクリーンリーダーには読ませる（WP コアと同名クラスを踏襲） */
.screen-reader-text,
.u-visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.screen-reader-text:focus,
.u-visually-hidden:focus-visible {
  position: fixed !important;
  width: auto;
  height: auto;
  margin: 0;
  padding: var(--sp-3) var(--sp-5);
  clip: auto;
  clip-path: none;
  background-color: var(--c-ink);
  color: var(--c-white);
  z-index: var(--z-skiplink);
}

.u-hidden { display: none !important; }

@media (min-width: 768px) { .u-hidden\@md { display: none !important; } }
@media (max-width: 767px) { .u-hidden\@sm { display: none !important; } }

.u-text-center { text-align: center; }
.u-text-right { text-align: right; }
.u-text-muted { color: var(--c-ink-muted); }
.u-text-sm { font-size: var(--fs-sm); }
.u-text-xs { font-size: var(--fs-xs); }

.u-mt-0 { margin-block-start: 0 !important; }
.u-mt-4 { margin-block-start: var(--sp-4) !important; }
.u-mt-8 { margin-block-start: var(--sp-8) !important; }
.u-mt-12 { margin-block-start: var(--sp-12) !important; }
.u-mt-16 { margin-block-start: var(--sp-16) !important; }

.u-flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 画像の遅延読み込み時のちらつき防止 */
.u-img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* WordPress コア互換クラス */
.alignwide, .alignfull { }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: var(--fs-xs); color: var(--c-ink-muted); text-align: center; }
.sticky { }
.gallery-caption { }
.bypostauthor { }
