/* ============================================================
   caudexbase.com — Font Awesome サブセット（2026-08-12）
   ============================================================
   Cocoon本体が enqueue する font-awesome-style（全アイコン、
   webfont 77KB + CSS 7.46KB、<head>でfetchpriority高めのpreload対象）を
   mu-plugin（clean-soil-urls.php 項目27）で dequeue し、代わりにこの
   ファイルを読み込む。実使用クラスのみに限定した自前サブセット。

   対象20クラス（2026-08-12、TOP・属アーカイブ・種ページ・道具ページ・
   検索結果・404・固定ページ／catalog・items配下・sodatekata配下を
   curlでレンダリング後HTML横断調査し確定。JS動的注入分
   ＝モバイル底部メニューのfa-book/fa-calendar-o/fa-question-circleも含む）：
     fa-search fa-bars fa-home fa-clock-o fa-close fa-history fa-outdent
     fa-pencil fa-arrow-up fa-angle-double-up fa-angle-left fa-angle-right
     fa-book fa-calendar-o fa-chevron-left fa-chevron-right fa-folder
     fa-folder-open fa-question-circle fa-tag

   フォント本体: fonts/fontawesome-subset.woff2（1.9KB、元77KBから約97.5%削減）
   生成方法: fonttools pyftsubset で上記20クラスのUnicode PUAコードポイント
   （\f002等）のみを残したサブセットを作成（コマンドはこのコメント末尾参照）。

   【重要】新規アイコンクラスを使うUI変更を加えた場合、以下3点セットを
   同時に更新すること。1つでも忘れると豆腐（tofu、空白ボックス）表示になる。
     1. このファイルに :before ルールを追記
     2. fonts/fontawesome-subset.woff2 を再生成（対象コードポイントを追加）
     3. mu-plugin側の dequeue/enqueue コード（変更不要、クラス追加のみなら）

   再生成コマンド例（fonttools要）:
   python3 -m fontTools.subset fontawesome-webfont.woff2 \
     --unicodes=U+f002,U+f00d,U+f015,U+f017,U+f02b,U+f02d,U+f03b,U+f040,\
   U+f053,U+f054,U+f059,U+f062,U+f07b,U+f07c,U+f0c9,U+f102,U+f104,U+f105,\
   U+f133,U+f1da \
     --output-file=fontawesome-subset.woff2 --flavor=woff2 \
     --no-layout-closure --layout-features='' --name-IDs='' \
     --notdef-outline --no-hinting
   ============================================================ */

@font-face {
  font-family: 'FontAwesome';
  src: url('fonts/fontawesome-subset.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

.fa {
  display: inline-block;
  font: normal normal normal 14px/1 FontAwesome;
  font-size: inherit;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.fa-search:before{content:"\f002"}
.fa-close:before{content:"\f00d"}
.fa-home:before{content:"\f015"}
.fa-clock-o:before{content:"\f017"}
.fa-tag:before{content:"\f02b"}
.fa-book:before{content:"\f02d"}
.fa-outdent:before{content:"\f03b"}
.fa-pencil:before{content:"\f040"}
.fa-chevron-left:before{content:"\f053"}
.fa-chevron-right:before{content:"\f054"}
.fa-question-circle:before{content:"\f059"}
.fa-arrow-up:before{content:"\f062"}
.fa-folder:before{content:"\f07b"}
.fa-folder-open:before{content:"\f07c"}
.fa-bars:before{content:"\f0c9"}
.fa-angle-double-up:before{content:"\f102"}
.fa-angle-left:before{content:"\f104"}
.fa-angle-right:before{content:"\f105"}
.fa-calendar-o:before{content:"\f133"}
.fa-history:before{content:"\f1da"}
