/* type-floor-v1 — Cursor, 2026-09-29。small-labels.json（165 件）と主指揮の底上げ基準に沿い、
   基準未満のラベル・補足だけを上げる。accent-v1.css の後に読む。既存 CSS は触らない。 */

/* ========== 共通ヘッダー：ロゴ下 AKIHABARA JAPAN（名指し） ========== */
body.hs.eh-study.s55 .s13-header a.s13-brand > span:not(.s55-brand-word) {
  font-size: 13px;
  line-height: 1.35;
}

/* ========== 共通フッター（全ページ）— v2：768+ 15px、767− 14px（オーナー指示 2026-09-30） ========== */
body.eh-study.s55 .edition-footer.edition-footer .footer-meta > span {
  line-height: 1.35;
}

@media (min-width: 768px) {
  body.eh-study.s55 .edition-footer.edition-footer .footer-meta > span,
  body.eh-study.s55 .edition-footer.edition-footer .footer-info a,
  body.eh-study.s55 .edition-footer.edition-footer .footer-socials a {
    font-size: 15px;
  }
}

@media (max-width: 767px) {
  body.eh-study.s55 .edition-footer.edition-footer .footer-meta > span,
  body.eh-study.s55 .edition-footer.edition-footer .footer-info a,
  body.eh-study.s55 .edition-footer.edition-footer .footer-socials a {
    font-size: 14px;
  }
}

/* 14px 時代（top 39 / 37.5）から 15px 行高に合わせて約 2px 下げ（実測） */
body.eh-study.s55 .edition-footer.edition-footer .footer-info a[aria-current]::after {
  top: 41px;
}

body.eh-study.s55 .edition-footer.edition-footer.edition-footer .footer-socials.footer-socials a:focus-visible::after {
  top: 39.5px;
}

/* ========== ホーム CONTACT 案内文（名指し：案内文 16/15・行高 1.5） ========== */
body.eh-study.s55 section#contact.edition-contact .edition-contact-heading a.edition-contact-all.edition-contact-all,
body.eh-study.s55 section#contact.edition-contact .edition-contact-heading a.edition-contact-all.edition-contact-all > span {
  font-size: 16px;
  line-height: 1.5;
  white-space: normal;
}

body.eh-study.s55 section#contact.edition-contact .edition-contact-heading a.edition-contact-all.edition-contact-all::after {
  bottom: 2px;
}

@media (max-width: 600px) {
  body.eh-study.s55 section#contact.edition-contact .edition-contact-heading a.edition-contact-all.edition-contact-all,
  body.eh-study.s55 section#contact.edition-contact .edition-contact-heading a.edition-contact-all.edition-contact-all > span {
    font-size: 15px;
  }

  /* 主指揮 2026-09-29：スマホでは案内文が 2 行に折れるので、下線を 1 行目の下（top 指定）ではなく最後の行の 6px 下に置く。
     a の padding-bottom は 25px なので、箱の下端から 25 − 6 = 19px の所 */
  body.eh-study.s55 section#contact.edition-contact .edition-contact-heading a.edition-contact-all.edition-contact-all::after {
    top: auto;
    bottom: 19px;
  }
}

/* ========== ホーム：ヒーロー lead（スマホのみ JSON で 13px） ========== */
@media (max-width: 600px) {
  body.eh-study.s55 .ensemble-stage .ens-stage-inner .copy p.lead {
    font-size: 15px;
    line-height: 1.7;
  }
}

/* ========== ホーム LIVE：見出し横の更新・SR 文言 ========== */
body.s55 #on-air .v8-live-heading > .v8-live-status > :is(.s55-live-sr, .s55-live-shown) {
  font-size: 15px;
  line-height: 1.5;
}

@media (max-width: 600px) {
  body.s55 #on-air .v8-live-heading > .v8-live-status > :is(.s55-live-sr, .s55-live-shown) {
    font-size: 14px;
  }
}

/* ========== ホーム LIVE：アイドル時アーカイブ（lia-） ========== */
body.s55 #on-air:not([data-state="live"]) > #v8-live-content > .v8-live-empty.lia-enhanced .lia-caption {
  font-size: 15px;
}

body.s55 #on-air:not([data-state="live"]) > #v8-live-content > .v8-live-empty.lia-enhanced .lia-duration {
  font-size: 14px;
}

@media (max-width: 767px) {
  body.s55 #on-air:not([data-state="live"]) > #v8-live-content > .v8-live-empty.lia-enhanced .lia-duration {
    font-size: 13px;
  }
}

@media (min-width: 768px) {
  body.s55 #on-air:not([data-state="live"]) > #v8-live-content > .v8-live-empty.lia-enhanced .lia-name {
    font-size: 15px;
  }
}

body.s55 #on-air:not([data-state="live"]) > #v8-live-content > .v8-live-empty.lia-enhanced .lia-title {
  font-size: 15px;
}

body.s55 #on-air:not([data-state="live"]) > #v8-live-content > .v8-live-empty.lia-enhanced .lia-meta {
  font-size: 15px;
}

body.s55 #on-air:not([data-state="live"]) > #v8-live-content > .v8-live-empty.lia-enhanced .lia-note {
  font-size: 16px;
  line-height: 1.7;
}

@media (max-width: 600px) {
  body.s55 #on-air:not([data-state="live"]) > #v8-live-content > .v8-live-empty.lia-enhanced .lia-caption,
  body.s55 #on-air:not([data-state="live"]) > #v8-live-content > .v8-live-empty.lia-enhanced .lia-title,
  body.s55 #on-air:not([data-state="live"]) > #v8-live-content > .v8-live-empty.lia-enhanced .lia-meta {
    font-size: 14px;
  }

  body.s55 #on-air:not([data-state="live"]) > #v8-live-content > .v8-live-empty.lia-enhanced .lia-note {
    font-size: 15px;
  }
}

/* ========== ホーム PRODUCTS 帯・共通製品 UI（pc- / ts-） ========== */
body.eh-study.s55 :is(#products, .pv-band) .ts-head-cap .ts-kicker,
body.eh-study.s55 :is(#products.pv11, .pv-band) .pc-label,
body.eh-study.s55 :is(#products, .pv-band) .pv-fig-label .pv-ja,
body.eh-study.s55 :is(#products, .pv-band) figure.pv-fig-label .pv-ja {
  font-size: 15px;
  line-height: calc(16 / 15 * 1em);
}

body.eh-study.s55 :is(#products.pv11, .pv-band) .pc-note,
body.eh-study.s55 :is(#products, .pv-band) .pv-note,
body.eh-study.s55 :is(#products, .pv-band) .hb-note,
body.eh-study.s55 :is(#products, .pv-band) .pp-flow-note {
  font-size: 16px;
  line-height: 1.7;
}

@media (max-width: 600px) {
  body.eh-study.s55 :is(#products, .pv-band) .ts-head-cap .ts-kicker,
  body.eh-study.s55 :is(#products.pv11, .pv-band) .pc-label,
  body.eh-study.s55 :is(#products, .pv-band) .pv-fig-label .pv-ja {
    font-size: 14px;
  }

  body.eh-study.s55 :is(#products.pv11, .pv-band) .pc-note,
  body.eh-study.s55 :is(#products, .pv-band) .pv-note,
  body.eh-study.s55 :is(#products, .pv-band) .hb-note,
  body.eh-study.s55 :is(#products, .pv-band) .pp-flow-note {
    font-size: 15px;
  }
}

/* ========== ホーム NEWS 日付（英字札）— v2：768+ 15px、767− 14px ========== */
@media (min-width: 768px) {
  body.eh-study.s55 .edition-news .edition-news-date,
  body.eh-study.s55 .study48 .edition-news .edition-news-grid > .edition-news-item .edition-news-date,
  body.eh-study.s55 time.edition-news-date {
    font-size: 15px;
  }
}

@media (max-width: 767px) {
  body.eh-study.s55 .edition-news .edition-news-date,
  body.eh-study.s55 .study48 .edition-news .edition-news-grid > .edition-news-item .edition-news-date,
  body.eh-study.s55 time.edition-news-date {
    font-size: 14px;
  }
}

/* ========== ホーム WORKS クレジット行 ========== */
body.eh-study.s55 .edition-works .edition-works__author :is(.edition-works__credit-label, .edition-works__author-name),
body.eh-study.s55 .edition-works .edition-works__caption p > span {
  font-size: 15px;
  line-height: 1.5;
}

body.eh-study.s55 .study40 .edition-works .edition-works__caption h3 > button.work-viewer40-title {
  font-size: 15px;
}

@media (max-width: 600px) {
  body.eh-study.s55 .edition-works .edition-works__author :is(.edition-works__credit-label, .edition-works__author-name),
  body.eh-study.s55 .edition-works .edition-works__caption p > span,
  body.eh-study.s55 .study40 .edition-works .edition-works__caption h3 > button.work-viewer40-title {
    font-size: 14px;
  }
}

/* ========== LIVE ページ（body.lp） ========== */
body.lp.lp .lp-duration {
  font-size: 14px;
}

@media (max-width: 767px) {
  body.lp.lp .lp-duration {
    font-size: 13px;
  }
}

@media (min-width: 768px) {
  body.lp.lp .lp-heading-meta,
  body.lp.lp .lp-heading-meta :is(span, time) {
    font-size: 15px;
  }

  body.lp.lp .lp-card-meta,
  body.lp.lp .lp-card-meta span,
  body.lp.lp #lp-archive-count,
  body.lp.lp #lp-archive-checked,
  body.lp.lp .lp-card-name {
    font-size: 15px;
  }
}

@media (max-width: 767px) {
  body.lp.lp .lp-heading-meta,
  body.lp.lp .lp-heading-meta :is(span, time) {
    font-size: 14px;
  }
}

body.lp.lp .lp-card-title {
  font-size: 15px;
}

body.lp.lp .lp-card-meta,
body.lp.lp .lp-card-meta span {
  font-size: 14px;
}

body.lp.lp .lp-more-button {
  font-size: 15px;
  line-height: 1.5;
}

body.lp.lp .lp-more-button::after {
  top: calc(15px * 1.5 + 6px);
}

@media (max-width: 767px) {
  body.lp.lp .lp-card-title {
    font-size: 14px;
  }
}

/* ========== MEMBERS 一覧 ========== */
body.mb-page .mb-live .mb-live-text {
  font-size: 15px;
  line-height: 1.5;
}

body.mb-page .m3-role {
  font-size: max(15px, calc(15px * var(--m3-u, 1)));
  line-height: calc(16px * var(--m3-u, 1));
}

@media (max-width: 767px) {
  body.mb-page .m3-role {
    font-size: max(14px, calc(14px * var(--m3-u, 1)));
  }
}

@media (max-width: 600px) {
  body.mb-page .mb-live .mb-live-text {
    font-size: 14px;
  }
}

/* ========== MEMBER 詳細 ========== */
@media (min-width: 768px) {
  body.mb-page .mb-ch-label,
  body.mb-page .mb-node-name,
  body.mb-page .mb-nb-k {
    font-size: 15px;
  }
}

@media (max-width: 767px) {
  body.mb-page .mb-ch-label,
  body.mb-page .mb-node-name,
  body.mb-page .mb-nb-k {
    font-size: 14px;
  }
}

body.mb-page .mb-ch-state > span {
  font-size: 15px;
  line-height: 1.5;
}

@media (max-width: 600px) {
  body.mb-page .mb-ch-state > span {
    font-size: 14px;
  }
}

/* ========== WORKS 一覧ページ ========== */
body.sp .wk-item-meta {
  font-size: 15px;
  line-height: calc(16 / 15 * 1em);
}

@media (min-width: 768px) {
  body.sp .wk-item-meta .wk-format,
  body.sp a.wk-filter {
    font-size: 15px;
  }
}

@media (max-width: 767px) {
  body.sp .wk-item-meta .wk-format,
  body.sp a.wk-filter {
    font-size: 14px;
  }
}

@media (max-width: 600px) {
  body.sp .wk-item-meta {
    font-size: 14px;
    line-height: 18px;
  }
}

/* ========== PRODUCTS ページ（#products / #hub） ========== */
body.eh-study.s55 #products.pv11 .pv-id > .pv-kicker {
  font-size: 15px;
}

body.eh-study.s55 #products .pv-tpl-row figure.pv-tpl-item > figcaption {
  font-size: 15px;
  line-height: 1.5;
}

body.eh-study.s55 #hub .hb-cap,
body.eh-study.s55 #hub .hb-cap .hb-step,
body.eh-study.s55 #hub .hb-cap b,
body.eh-study.s55 #hub .hb-cap .hb-step > b {
  font-size: 15px;
  line-height: calc(20 / 15 * 1em);
}

body.eh-study.s55 #hub .pp-figcap.pp-flow-cap .pp-legend span {
  font-size: 15px;
  line-height: 1.5;
}

@media (max-width: 600px) {
  body.eh-study.s55 #products.pv11 .pv-id > .pv-kicker,
  body.eh-study.s55 #products .pv-tpl-row figure.pv-tpl-item > figcaption,
  body.eh-study.s55 #hub .hb-cap,
  body.eh-study.s55 #hub .hb-cap .hb-step,
  body.eh-study.s55 #hub .pp-figcap.pp-flow-cap .pp-legend span {
    font-size: 14px;
  }
}

/* ========== プライバシーポリシー：制定日行（和数字＋ラテン混在 → 札） ========== */
body.sp .pv-body article.pv-doc > p.pv-dates {
  font-size: 15px;
  line-height: calc(24 / 15 * 1em);
}

@media (max-width: 600px) {
  body.sp .pv-body article.pv-doc > p.pv-dates {
    font-size: 14px;
  }
}

/* ========== 試作注記（study-note） ========== */
body.eh-study.s55 aside.study-note > p {
  font-size: 16px;
  line-height: 1.7;
}

@media (max-width: 600px) {
  body.eh-study.s55 aside.study-note > p {
    font-size: 15px;
  }
}

/* ---- 主指揮の追記（2026-09-29）＋ v2（2026-09-30） ---- */
@media (min-width: 768px) {
  body .pp-grid .pv-id p.pv-kicker,
  body .pv-tpl-row figure.pv-tpl-item figcaption {
    font-size: 15px;
  }
}

@media (max-width: 767px) {
  body .pp-grid .pv-id p.pv-kicker,
  body .pv-tpl-row figure.pv-tpl-item figcaption {
    font-size: 14px;
  }

  body .edition-works__caption h3 .work-viewer40-title {
    font-size: 14px;
  }
}

@media (min-width: 768px) {
  body.sp .wk-media-label {
    font-size: 14px;
  }
}

@media (max-width: 767px) {
  body.sp .wk-media-label {
    font-size: 13px;
  }
}
