/* Phone readability (v0.7.28): loaded on the 03B top page and on every page that has the 03B header.
   Only phone widths (650px and narrower) change; PC and tablet stay as they are. */
#ozxlog-float-wrap,.ozx-totop,#pagetop,.p-fixBtnWrap,.c-pagetop,.pagetop,#page-top,.page-top,#back-to-top,.back-to-top{transition:opacity .25s ease,transform .25s ease,visibility .25s}
@media(max-width:650px){
  /* ① The floating 新着 / ranking button and the back-to-top mark step aside while the reader scrolls down,
     and come back when they scroll up (wp-phone.js). The button itself is a little smaller. */
  html.ozx-float-away #ozxlog-float-wrap:not(.open),
  html.ozx-float-away .ozx-totop,
  html.ozx-float-away #pagetop,html.ozx-float-away .p-fixBtnWrap,html.ozx-float-away .c-pagetop,html.ozx-float-away .pagetop,
  html.ozx-float-away #page-top,html.ozx-float-away .page-top,html.ozx-float-away #back-to-top,html.ozx-float-away .back-to-top{opacity:0!important;transform:translateY(24px)!important;pointer-events:none!important}
  #ozxlog-float-wrap #ozxlog-float-btn{padding:8px 14px!important;font-size:14px!important;gap:6px!important;min-height:40px}

  /* ③ Wide tables: a hint above them that they scroll sideways. */
  .ozx-scroll-hint{display:flex;justify-content:flex-end;margin:0 0 4px;font-size:13px;font-weight:700;color:#4e5545;line-height:1.4;transition:opacity .3s}
  .ozx-scroll-hint.is-done{opacity:0}

  /* ⑥ Calendar pages: no 種別 column (its icon goes before the title), larger text, the button on one line. */
  table.ozx-cal-table,table.ozx-cal-table td,table.ozx-cal-table th,table.ozx-cal-table td a{font-size:15px!important;line-height:1.55}
  table.ozx-cal-table .ozx-cal-ty{display:none!important}
  table.ozx-cal-table .ozx-cal-buy{white-space:nowrap;width:1%}
  table.ozx-cal-table .ozx-cal-buy a{white-space:nowrap;display:inline-flex!important;align-items:center;justify-content:center;min-height:40px!important;box-sizing:border-box}
  .ozx-cal-ico{margin-right:4px}

  /* ⑧ Page numbers big enough to tap. */
  .page-numbers{display:inline-flex!important;align-items:center;justify-content:center;min-width:44px!important;min-height:44px!important;box-sizing:border-box}

  /* ⑦⑨ Small notes and sidebar text get a readable floor (classes set by wp-phone.js). */
  .ozx-note-up{font-size:14px!important;line-height:1.6!important}
  .ozx-side-up{font-size:12px!important}
}
