/* v74_mobile2.css — モバイル最終確認で出た実務修正のみ（2026-09-10）
   方針: 軸・色・構図には触らない。日本語の読み文字を12px下限に揃える／320pxの崩れ／タップ幅。
   クラスを4回重ねているのは、先行層（v33〜v69）の詳細度に勝つためだけの記法。 */

/* ---- 1) 320pxで会社概要の表が枠外に出る（グリッド項目のmin-content膨張） ---- */
@media screen and (max-width: 52rem) {
  .p-company .company-profile__grid > *,
  .p-company .company-profile__main { min-width: 0; }
  .p-company .corp th,
  .p-company .corp td { overflow-wrap: anywhere; }
}

/* ---- 2) モバイルの日本語本文は12px下限 ---- */
@media screen and (max-width: 40rem) {
  /* 10px台（最優先） */
  .annual-unit.annual-unit.annual-unit.annual-unit,
  .fee-mobile__chapter.fee-mobile__chapter.fee-mobile__chapter.fee-mobile__chapter span,
  .fee-mobile__price--nounit.fee-mobile__price--nounit.fee-mobile__price--nounit.fee-mobile__price--nounit,
  .form__note.form__note.form__note.form__note,
  .phead__crumb.phead__crumb.phead__crumb.phead__crumb,
  .phead__crumb.phead__crumb.phead__crumb.phead__crumb a,
  .phead__crumb.phead__crumb.phead__crumb.phead__crumb span,
  .home-proof__item.home-proof__item.home-proof__item.home-proof__item small,
  .scope.scope.scope.scope li,
  .warnbox--benefit.warnbox--benefit.warnbox--benefit.warnbox--benefit .benefit__copy p,
  .visa-support.visa-support.visa-support.visa-support p,
  .jumpnav.jumpnav.jumpnav.jumpnav a,
  .contact-quickcall__copy.contact-quickcall__copy.contact-quickcall__copy.contact-quickcall__copy small,
  .scope__note.scope__note.scope__note.scope__note,
  .phead__figlabel.phead__figlabel.phead__figlabel.phead__figlabel,
  .price-subnav.price-subnav.price-subnav.price-subnav a,
  .callbar__meta.callbar__meta.callbar__meta.callbar__meta { font-size: 12px; }

  /* 11px台 */
  .site-contact__phone.site-contact__phone.site-contact__phone.site-contact__phone em,
  .footer__meta.footer__meta.footer__meta.footer__meta,
  .setup-docs__groups.setup-docs__groups.setup-docs__groups.setup-docs__groups section p,
  .subhead.subhead.subhead.subhead em,
  .warnbox--benefit.warnbox--benefit.warnbox--benefit.warnbox--benefit small,
  .setup-price-services.setup-price-services.setup-price-services.setup-price-services li span,
  .site-contact__form-head.site-contact__form-head.site-contact__form-head.site-contact__form-head p,
  .form__consent.form__consent.form__consent.form__consent span,
  .form__consent.form__consent.form__consent.form__consent span a,
  .footer__tagline.footer__tagline.footer__tagline.footer__tagline,
  .footer__links.footer__links.footer__links.footer__links a,
  .setup-docs__note.setup-docs__note.setup-docs__note.setup-docs__note,
  .setup-price-package__amount.setup-price-package__amount.setup-price-package__amount.setup-price-package__amount p,
  .visa-concept.visa-concept.visa-concept.visa-concept p,
  .visa-concept.visa-concept.visa-concept.visa-concept ul li,
  .contact-hero__crumb.contact-hero__crumb.contact-hero__crumb.contact-hero__crumb,
  .contact-hero__crumb.contact-hero__crumb.contact-hero__crumb.contact-hero__crumb a,
  .req.req.req.req,
  .opt.opt.opt.opt,
  .site-contact__form-grid.site-contact__form-grid.site-contact__form-grid.site-contact__form-grid label,
  .setup-price-package__lead.setup-price-package__lead.setup-price-package__lead.setup-price-package__lead,
  .dutygrid.dutygrid.dutygrid.dutygrid li p,
  .dutygrid.dutygrid.dutygrid.dutygrid .chip--gold,
  .access-panel__foot.access-panel__foot.access-panel__foot.access-panel__foot small,
  .cmp__note.cmp__note.cmp__note.cmp__note { font-size: 12px; }

  /* コピーライトだけは慣例どおり小さめのまま、ただし10.6→11.5 */
  .footer__copy.footer__copy.footer__copy.footer__copy { font-size: 11.5px; }

  /* ---- 3) タップ幅 ---- */
  .footer__links.footer__links.footer__links.footer__links a.thai { min-width: 44px; justify-content: center; }

  /* 取りこぼし分（11.8px） */
  .setup-docs__groups.setup-docs__groups.setup-docs__groups.setup-docs__groups section ul li,
  .setup-docs__owner.setup-docs__owner.setup-docs__owner.setup-docs__owner,
  .setup-docs__caution.setup-docs__caution.setup-docs__caution.setup-docs__caution,
  .qa.qa.qa.qa dd { font-size: 12px; }
}

/* ---- 4) 320px（iPhone SE 第1世代など最小幅）での折り返し ---- */
@media screen and (max-width: 20.5rem) {
  .footer__links.footer__links.footer__links a { max-width: 100%; text-align: left; }
  .footer__links.footer__links.footer__links { flex-wrap: wrap; max-width: 100%; }
  .home-actions.home-actions.home-actions { grid-template-columns: minmax(0, 1fr); max-width: 100%; }
  .home-actions.home-actions.home-actions .btn { padding-inline: 18px; min-width: 0; max-width: 100%; }
}
