/* 保存済み本番画面に合わせたページ固有の配置。 */
body.home .site-header { position: absolute; inset: 0 0 auto; z-index: 20; background: transparent; }
.home-hero { min-height: 100vh; }
.home-hero #top_main_txt { padding-top: 0; }
.home-hero #top_main_news2 { position: absolute; bottom: 3%; left: 2.5%; width: 900px; max-width: 95%; }
.home-hero #top_main_news2 .m-button { white-space: nowrap; }
.home-hero #top_main_news2 .m-button::before { content: '›'; margin-right: 12px; font: 26px/1 sans-serif; }
.home-hero #top_main_news2 .hide_test { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hodaikyo-page .p-cate { list-style: none; }
.hodaikyo-page .sp_menu { list-style: none; padding: 0 0 0 24px; }
.hodaikyo-page #news_title { gap: 20px; }
.hodaikyo-page .p315-layout-column-009,
.hodaikyo-page .p528-layout-column-009 { border: 1px solid #333; width: 100%; justify-self: center; }
body.page-id-154 .hodaikyo-page .m-button { align-self: flex-start; }
.hodaikyo-page .template03 input:not([type="submit"]) { min-height: 48px; }
.hodaikyo-page .template03 .form__row { margin-bottom: 28px; }
.hodaikyo-page .template03 .form__label { flex-basis: 36%; }
.hodaikyo-page .template03 .form__body { flex-basis: 64%; }
.hodaikyo-page .wpcf7 form:not(.init) .wpcf7-response-output { display: block; }
body.page-id-790 .hodaikyo-page .wpcf7 .form__row { display: block; }
body.page-id-790 .hodaikyo-page .wpcf7 .form__label,
body.page-id-790 .hodaikyo-page .wpcf7 .form__body { width: 100%; }
body.page-id-790 .hodaikyo-page .wpcf7 .form__label { margin-bottom: 12px; }
.hodaikyo-page .site-ending a { color: inherit; }
.hodaikyo-page .site-ending .access-button,
.hodaikyo-page .site-ending .contact-banner { color: #fff; }
.event-panel summary { background: #333; color: #fff; font-family: var(--serif); font-size: 20px; padding: 12px 25px; }
.event-panel { box-shadow: 0 2px 4px #0002; }
@media(max-width:979px) {
  .home-hero #top_main_news2 { left: 2%; max-width: 96%; }
}
@media(max-width:766px) {
  .home-hero #top_main_txt { font-size: .55em; min-height: 100svh; padding-top: 0; }
  .home-hero #top_main_txt > .m-text { flex-shrink: 0; }
  .home-hero #top_main_txt > .m-layout-div { max-width: 88%; }
  .home-hero #top_main_txt > .m-layout-div .m-text { overflow-wrap: normal; }
  .home-hero #top_main_news2 { bottom: 4%; }
  .home-hero #top_main_news2 > .m-layout-row .m-layout-row > .m-layout-column:first-child .m-text { white-space: nowrap; }
  .home-hero #top_main_news2 > .m-layout-row .m-layout-row > .m-layout-column:first-child { padding-inline: 6px; }
  .hodaikyo-page .page-section-nav { padding-top: 0; }
  .hodaikyo-page #news_title { display: block; }
  .hodaikyo-page #news_title > .m-text + .m-text { margin: 12px 0 0; }
  .hodaikyo-page #title_font { flex-wrap: wrap; gap: 5px; }
  .hodaikyo-page #title_font > .m-text { flex-shrink: 0; }
  .hodaikyo-page .p315-section-001,
  .hodaikyo-page .p528-section-001 { padding-top: 0; }
  .hodaikyo-page .site-ending .office-photo { height: 287px; padding-top: 50px; }
  .hodaikyo-page .site-ending .office-address { margin-left: 36.5%; width: 63.5%; padding-right: 20px; }
  .hodaikyo-page .site-ending .office-address h2 { font-size: 15.6px; letter-spacing: .08em; }
  .hodaikyo-page .site-ending .office-address p,
  .hodaikyo-page .site-ending .access-button,
  .hodaikyo-page .site-ending .footer-office { font-size: 12px; }
  .hodaikyo-page .site-ending .access-button { margin-top: 12px; padding: 8px 30px; }
  .hodaikyo-page .site-ending .contact-banner { margin-top: -50px; padding: 46px 28px; flex-direction: row; align-items: center; gap: 28px; }
  .hodaikyo-page .site-ending .contact-banner span:first-child { font-size: 19.2px; margin-left: 0; white-space: nowrap; }
  .hodaikyo-page .site-ending .contact-banner span:last-child { font-size: 9.6px; align-self: auto; }
  .hodaikyo-page .site-ending .footer-inner { margin-top: 94px; margin-bottom: 90px; padding-block: 60px; }
  .hodaikyo-page .site-ending .footer-office { width: 224px; max-width: 100%; margin: 50px auto 0; }
  .hodaikyo-page .site-ending .footer-office h2 { font-size: 15.6px; letter-spacing: .08em; text-align: center; margin-bottom: 14px; }
  .hodaikyo-page .site-ending .copyright { margin-top: 40px; }
}
