/* 指示書05：本番の算出スタイルに合わせる。配置・色・余白はここでは変更しない。 */
.desktop-nav a {
  font-family: var(--english);
  font-size: 17.6px;
  font-weight: 600;
  letter-spacing: .05em;
  line-height: 1;
}
.member-login { font-size: 14.4px; line-height: 1; }
.mobile-login { font-size: 12.8px; font-weight: 500; letter-spacing: .1em; line-height: 1; }
.mobile-menu .nav-list { line-height: 1.4; }
.mobile-menu .menu-contact a,
.mobile-menu .menu-login a { font-size: 14.4px; font-weight: 400; letter-spacing: 0; line-height: 1; }
/* 行高を本番値へ直しても、既存の30pxのボタン高は縮めない。 */
@media (max-width: 1099px) {
  .mobile-login { display: flex; align-items: center; justify-content: center; min-height: 30px; }
}
.hodaikyo-page .m-button { line-height: 1; }
.member-tablist button { font-weight: 700; letter-spacing: .15em; line-height: 1; }
.new-badge { font-size: .9em; letter-spacing: .1666667em; line-height: 1; }
.hodaikyo-page .wpcf7 { line-height: 1.8; }
.hodaikyo-page .wpcf7 input { line-height: normal; }
.hodaikyo-page .wpcf7 select { line-height: 1; }
.hodaikyo-page .wpcf7 textarea,
.hodaikyo-page .wpcf7 input[type="submit"] { line-height: 1.3; }
.event-panel summary { font-size: 1.7em; font-weight: 500; line-height: 1.3; }
.page-heading-english { line-height: 1.4; }
.post-summary h2 { letter-spacing: -.035em; line-height: 1.1; }
.news-article h1 { letter-spacing: -.035em; line-height: 1.4; }
.post-summary time, .news-article time {
  font-family: Lato, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: .9em;
  line-height: 1.8;
}
.sidebar h2 { font-size: 11.9px; letter-spacing: .15em; line-height: 1.3; }
.search-form input { line-height: normal; }
.recent-news li { line-height: 1.5; }
.page-numbers { font-family: var(--sans); font-size: 13px; line-height: 32px; }
.empty-brand { font: 700 42px/1 Lato, sans-serif; letter-spacing: -.035em; }
.empty-breadcrumb { line-height: 1.4; }
.empty-header ~ main .page-heading-english { font-size: 2.36em; line-height: 1.1; letter-spacing: -.035em; }
.content-none h2 { font-size: 1.8em; line-height: 1.1; letter-spacing: -.035em; }

/* 通常記事の末尾は16px、ビルダーから移した本文の末尾と404は14pxが基準。 */
.site-ending { --ending-font: 16px; }
.hodaikyo-page .site-ending,
.page-id-516 .site-ending,
.page-id-461 .site-ending,
.site-ending-small { --ending-font: 14px; }
.site-ending .office-address h2,
.site-ending .footer-office h2 {
  font-size: calc(var(--ending-font) * 1.3);
  letter-spacing: .1em;
  line-height: 1.4;
}
.hodaikyo-page .site-ending .office-address h2,
.hodaikyo-page .site-ending .footer-office h2 { letter-spacing: .1em; }
.site-ending .office-address p,
.site-ending .footer-office {
  font-size: var(--ending-font);
  letter-spacing: .05em;
  line-height: 1.7;
}
.site-ending .access-button { font-size: var(--ending-font); line-height: 1; }
.site-ending .contact-banner span:first-child { font-size: calc(var(--ending-font) * 2); line-height: 1.4; }
.site-ending .contact-banner span:last-child { font-size: var(--ending-font); line-height: 1.4; }
.site-ending .footer-brand .nav-list { font-size: var(--ending-font); line-height: 1; }
.site-ending .copyright { letter-spacing: .05em; line-height: 1.7; }

/* Profile Builderの表示値を、自前フォームの同じ役割の文字に引き継ぐ。 */
.hm-layout { line-height: 1.4; }
.hm-title { font-size: 21px; font-weight: 500; line-height: 3; }
.hm-title > span { font: 500 77px/1.4 var(--english); }
.hm-side strong { font-size: 16.8px; line-height: 1.4; }
.hm-side a { font-size: 13.44px; font-weight: 700; line-height: 2.4; }
.hm-notice { font-size: 16.8px; line-height: 1.4; }
.hm-notice > .hm-center { font: 700 18.2px/1.4 var(--serif); }
.hm-welcome { font-size: 1.8em; line-height: 1.4; }
.hm-main > .hm-center a { line-height: 1; }
.hm-form { font-family: var(--sans); font-size: 14px; }
.hm-form .hm-field input:not([type="radio"]):not([type="checkbox"]) { line-height: normal; }
.hm-form .hm-field textarea { line-height: 1.3; }
.hm-field > label, .hm-options { font-size: 1.1em; line-height: 1.8; }
.hm-control small { font-size: .8em; line-height: 1.4; font-style: italic; }
.hm-group { font-size: 1.714em; font-weight: 700; letter-spacing: -.035em; line-height: 1.4; }
.hm-required { font-size: inherit; line-height: inherit; }
.hm-submit button { font-size: 1.2em; line-height: 1.3; }
body.hm-admin-page { font-family: var(--sans); line-height: 1.8; }
.hm-admin-header > p { font-size: 1.3em; letter-spacing: .05em; line-height: 1.4; }
.hm-admin-header nav { font-size: 1.1em; font-weight: 700; letter-spacing: .05em; line-height: 1; }
.hm-admin-main > h1 { font-family: var(--sans); font-size: 1.5em; letter-spacing: .05em; line-height: 1.4; }
.hm-admin-main > h2 { font-family: var(--sans); font-size: 2em; font-weight: 400; line-height: 1.9; }
.hm-admin-page .hm-control small { font-size: 1em; font-style: normal; }

/* ログイン画面の書体はWP標準＋旧LoginPressの指定。Webフォントは追加しない。 */
body.login {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}
.login #nav, .login #backtoblog { font-size: 13px; line-height: 1.5; }
.login .message { font-size: 13px; line-height: 1.5; }
body.login #login .input { font-family: Roboto, sans-serif; font-size: 15px; line-height: normal; }
body.login #login input[type="submit"] { font: 400 15px/20px Roboto, sans-serif; }
body.login #language-switcher input.button { font: 400 15px/normal Roboto, sans-serif; }

@media (max-width: 782px) {
  body.login #login input[type="submit"] { font-size: 14px; }
}

@media (max-width: 767px) {
  .member-tablist button { font-size: 10.8px; }
  .event-panel summary { font-size: 1.36em; }
  .page-heading-english { font-size: 43.2px; }
  .sidebar h2 { font-size: 10.2px; }
  .hodaikyo-page .site-ending,
  .page-id-516 .site-ending,
  .page-id-461 .site-ending,
  .site-ending-small { --ending-font: 12px; }
  .site-ending .contact-banner span:first-child { font-size: calc(var(--ending-font) * 1.6); }
  .site-ending .contact-banner span:last-child { font-size: calc(var(--ending-font) * .8); }
  .hm-layout, .hm-form { font-size: 12px; }
  .hm-title { font-size: 12.6px; }
  .hm-title > span { font-size: 46.2px; }
  .hm-side strong { font-size: 14.4px; }
  .hm-side a { font-size: 12.96px; line-height: 1.4; }
  .hm-notice { font-size: 14.4px; }
  .hm-notice > .hm-center { font-size: 15.6px; }
  body.hm-admin-page { font-size: 12px; }
}
