@font-face {
  font-family: "Noto Sans JP";
  src: url("../fonts/noto-sans-jp.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --navy: #00307d;
  --green: #0b9405;
  --pale: #ebf3ff;
  --gray: #f8f8f8;
  --header-height: 80px;
  --admin-offset: 0px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + var(--admin-offset)); }
body {
  margin: 0;
  padding-top: var(--header-height);
  color: #000;
  background: #fff;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.625;
  -webkit-text-size-adjust: 100%;
}
body.admin-bar { --admin-offset: 32px; }
body.editor-styles-wrapper { padding-top: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
h1, h2, h3, p { margin: 0; }
a:focus-visible, button:focus-visible { outline: 3px solid #d39b00; outline-offset: 4px; }
.home-wrap { width: min(1200px, calc(100% - 48px)); margin-inline: auto; }
.home-copy { width: min(1000px, calc(100% - 48px)); margin-inline: auto; font-size: 18px; line-height: 26px; text-align: left; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link:focus { position: fixed; inset: 8px auto auto 8px; z-index: 10002; width: auto; height: auto; padding: 10px; clip-path: none; background: white; color: var(--navy); }

/* PDF header: 80 high, logo 284 × 70 at (50, 3). */
.site-header { position: fixed; inset: var(--admin-offset) 0 auto; z-index: 1000; height: var(--header-height); background: #fff; box-shadow: 0 2px 5px #0002; }
.site-header__inner { display: flex; align-items: center; width: 100%; height: 100%; padding-left: 50px; }
.site-branding { flex: 0 0 284px; }
.site-logo, .custom-logo-link { display: block; }
.site-logo img, .custom-logo { width: 284px; height: 70px; object-fit: contain; }
.primary-navigation { margin-left: auto; margin-right: 30px; }
.primary-navigation .menu { display: flex; align-items: center; gap: 30px; margin: 0; padding: 0; list-style: none; }
.primary-navigation .menu > li { position: relative; }
.primary-navigation a { display: block; font-size: 18px; font-weight: 700; line-height: 28px; white-space: nowrap; }
.primary-navigation a:hover { color: var(--navy); text-decoration: underline; text-underline-offset: 6px; }
.primary-navigation .sub-menu { display: none; position: absolute; top: 100%; left: 0; min-width: 200px; padding: 12px; margin: 0; list-style: none; background: #fff; box-shadow: 0 4px 8px #0002; }
.primary-navigation li:hover > .sub-menu, .primary-navigation li:focus-within > .sub-menu { display: block; }
.header-actions { display: flex; align-self: stretch; flex: 0 0 auto; }
.header-calendar { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 86px; background: var(--green); color: #fff; font-size: 14px; line-height: 20px; }
.header-calendar img { width: 26px; height: 34px; margin-bottom: 0; }
.header-contact { display: grid; place-items: center; width: 221px; background: var(--navy); color: #fff; font-size: 21px; font-weight: 700; }
.header-phone { display: flex; align-items: center; justify-content: center; width: 223px; color: var(--navy); font-size: 21px; font-weight: 700; white-space: nowrap; gap: 3px; }
.header-phone img { width: 18px; height: 22px; object-fit: contain; }
.header-actions a:hover { opacity: .85; }
.menu-toggle, .mobile-nav-actions { display: none; }

/* PDF at 1920px: hero y80–951, panel x127 y304, 930 × 371. */
.home-hero { position: relative; aspect-ratio: 1920 / 871; }
.home-hero__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.home-hero__panel { position: absolute; left: 6.614583%; top: 25.717566%; width: 48.4375%; height: 42.594719%; padding: 2.916667vw 4.895833vw 0; background: rgb(255 255 255 / .5); }
.home-hero h1 { font-size: 3.020833vw; font-weight: 900; line-height: 4.479167vw; letter-spacing: 0; }
.home-hero__line { display: block; white-space: nowrap; color: var(--navy); }
.home-hero h1 small { font-size: 2.395833vw; font-weight: inherit; line-height: 1; }
.home-hero__red { color: #aa0000; }
.home-hero__green { color: #06aa00; }
.home-hero__buttons { display: flex; justify-content: center; gap: 2.34375vw; margin-top: 1.979167vw; }
.home-button { display: flex; justify-content: center; align-items: center; width: 260px; min-height: 60px; padding: 12px; border: 0; background: var(--navy); color: #fff; font-size: 21px; font-weight: 700; line-height: 30px; text-align: center; }
.home-button:hover { opacity: .85; }
.home-hero__buttons .home-button { flex: 0 0 13.541667vw; width: 13.541667vw; min-height: 3.125vw; height: 3.125vw; padding: 0; font-size: 1.09375vw; line-height: 1.5; }
.home-button--white { background: #fff; color: var(--navy); }
.page-top { position: fixed; z-index: 900; right: 50px; bottom: 70px; display: grid; place-items: center; width: 60px; height: 60px; background: var(--navy); }
.page-top span { width: 27px; height: 27px; margin-top: 14px; border-top: 5px solid #fff; border-left: 5px solid #fff; transform: rotate(45deg); }

/* PDF: news x360, banner x1011; both begin at y1031. */
.home-news-estimate { padding: 80px 0 82px; background: var(--gray); }
.home-news-estimate__grid { display: grid; grid-template-columns: 546px 549px; gap: 105px; align-items: start; }
.home-news h2 { display: flex; align-items: center; height: 54px; padding: 0 10px; background: var(--navy); color: #fff; font-size: 28px; font-weight: 700; line-height: 40px; }
.home-news__list { min-height: 297px; background: #fff; }
.home-news__item { display: flex; flex-direction: column; justify-content: center; gap: 10px; min-height: 99px; padding: 13px 15px; border-bottom: 2px solid #e5e5e5; font-size: 18px; line-height: 26px; }
.home-news__item:last-child { border-bottom: 0; }
.home-news__item time { color: var(--navy); }
.home-news__article-link:hover, .home-news__category:hover { text-decoration: underline; }
.home-news__article-link:focus-visible, .home-news__category:focus-visible { outline:3px solid #d39b00; outline-offset:3px; }
.home-news__empty { padding: 25px 15px; }
.home-news .home-button { margin: 30px auto 0; }
.estimate-banner { overflow: hidden; display: block; border-radius: 5px; box-shadow: 0 2px 6px #0003; }
.estimate-banner img { width: 100%; height: auto; }

/* PDF section boundaries: 1554, 1837, 2451, 3065, 3870, 4238. */
.home-business-intro { padding: 80px 0 49px; }
.home-business-intro h2, .home-recruit h2, .home-contact h2 { color: var(--navy); font-size: 32px; font-weight: 700; line-height: 46px; text-align: center; }
.home-business-intro h2 { margin-bottom: 30px; }
.home-service { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 31.979167vw; }
.home-service__copy { display: flex; align-items: center; justify-content: center; padding: 40px 24px; }
.home-service__content { width: 468px; max-width: 100%; }
.home-service__content h2 { margin-bottom: 22px; color: var(--navy); font-size: 26px; font-weight: 700; line-height: 38px; text-align: center; }
.home-service__content p { font-size: 18px; line-height: 32px; }
.home-service__content .home-button { margin: 44px auto 0; }
.home-service--demolition .home-service__copy { background: var(--navy); color: white; }
.home-service--demolition h2 { color: white; }
.home-service__photo { position: relative; min-width: 0; overflow: hidden; }
.home-service__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.home-recruit { padding: 78px 0 79px; background: var(--gray); }
.home-recruit h2 { margin-bottom: 32px; }
.home-recruit__banners { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; width: min(1446px, calc(100% - 48px)); margin: 48px auto 0; }
.home-recruit__banners a { display: block; overflow: hidden; border-radius: 5px; box-shadow: 0 2px 6px #0003; }
.home-recruit__banners img { width: 100%; height: auto; }
.home-contact { padding: 80px 0; }
.home-contact h2 { margin-bottom: 24px; }
.home-contact .home-copy { width: min(1020px, calc(100% - 48px)); padding-left: 10px; }
.home-contact .home-button { margin: 52px auto 0; }

.site-footer { background: var(--pale); }
.site-footer__inner { display: flex; justify-content: space-between; min-height: 282px; padding: 20px 0 40px; }
.site-footer__logo { display: block; width: 284px; height: 70px; }
.site-footer__address { font-size: 16px; line-height: 30px; }
.site-footer__tel, .site-footer__fax { display: flex; align-items: center; gap: 10px; min-height: 38px; color: var(--navy); font-size: 26px; font-weight: 500; line-height: 38px; }
.site-footer__tel { margin-top: 4px; }
.site-footer__fax { margin-top: 8px; }
.site-footer__tel img { width: 22px; height: 26px; }
.site-footer__fax img { width: 25px; height: 27px; margin-right: -3px; }
.site-footer__nav { display: grid; grid-template-columns: 136px 168px 123px; align-self: start; min-height: 150px; margin-top: 11px; color: var(--navy); }
.site-footer__nav > div { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 10px 0 0 20px; }
.site-footer__nav > div + div { border-left: 1px solid #d1d7df; }
.site-footer__nav a { font-size: 16px; font-weight: 500; line-height: 25px; white-space: nowrap; }
.site-footer__nav .footer-sub-link { margin-left: 8px; font-size: 15px; font-weight: 400; }
.site-footer__nav a:hover { text-decoration: underline; }
.site-footer__copyright { min-height: 31px; padding: 3px 16px 5px; background: var(--navy); color: white; font-size: 14px; line-height: 23px; text-align: center; }

/* Existing inner-page templates remain usable as pages are designed in turn. */
.l-container, .content-area { width: min(1200px, calc(100% - 48px)); margin-inline: auto; }
.content-area { min-height: 50vh; padding-block: 70px; }
.entry-title, .archive-title { color: var(--navy); font-size: 36px; }
.entry-header, .archive-header { margin-bottom: 36px; }
.entry-meta { color: #536376; }
.entry-content > * + * { margin-top: 1.5em; }
.entry-content > * { max-width: 760px; }
.entry-content > .alignwide { max-width: 1200px; }
.entry-content > .alignfull { max-width: none; width: 100%; }
.post-card { display: grid; grid-template-columns: 250px 1fr; gap: 24px; padding-block: 28px; border-bottom: 1px solid #ddd; }
.post-card__image img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.nav-links { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 30px; }

@media (max-width: 1699px) {
  .site-header__inner { padding-left: 24px; }
  .site-branding { flex-basis: 250px; }
  .site-logo img, .custom-logo { width: 250px; }
  .primary-navigation { margin-right: 20px; }
  .primary-navigation .menu { gap: 20px; }
  .primary-navigation a { font-size: 16px; }
  .header-calendar { width: 70px; }
  .header-contact { width: 180px; font-size: 18px; }
  .header-phone { width: 195px; font-size: 18px; }
}
@media (max-width: 1279px) {
  .site-header__inner { padding-inline: 24px; }
  .menu-toggle { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; width: 60px; height: 60px; margin-left: auto; padding: 8px 0; border: 0; background: white; color: var(--navy); cursor: pointer; }
  .menu-toggle__bars { position: relative; width: 26px; height: 18px; border-block: 2px solid; }
  .menu-toggle__bars::after { position: absolute; inset: 6px 0 auto; content: ""; border-top: 2px solid; }
  .menu-toggle__label { font-size: 10px; line-height: 14px; }
  .header-actions { margin-left: 18px; }
  .header-phone { display: none; }
  .primary-navigation { position: absolute; top: 100%; left: 0; right: 0; max-height: calc(100dvh - var(--header-height) - var(--admin-offset)); margin: 0; padding: 16px 24px 24px; overflow-y: auto; background: white; box-shadow: 0 5px 10px #0002; }
  .js .primary-navigation:not(.is-open) { display: none; }
  .primary-navigation .menu { display: block; }
  .primary-navigation .menu a { padding: 12px 0; border-bottom: 1px solid #e6e6e6; }
  .primary-navigation .sub-menu { display: block; position: static; box-shadow: none; }
  .mobile-nav-actions { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 18px; color: var(--navy); }
  .home-news-estimate__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
  .home-service__content { width: 100%; }
}
@media (max-width: 782px) {
  body.admin-bar { --admin-offset: 46px; }
}
@media (max-width: 767px) {
  :root { --header-height: 64px; }
  .site-header__inner { padding-inline: 16px; }
  .site-branding { flex-basis: 220px; }
  .site-logo img, .custom-logo { width: 220px; height: 55px; }
  .header-actions { display: none; }
  .home-wrap, .home-copy { width: calc(100% - 40px); }
  .home-hero { aspect-ratio: auto; height: 560px; }
  .home-hero__image { object-position: 63% center; }
  .home-hero__panel { inset: 140px 20px auto; width: auto; height: auto; padding: 28px 18px; }
  .home-hero h1 { font-size: clamp(21px, 4.6vw, 34px); line-height: 1.65; }
  .home-hero h1 small { font-size: .7931em; }
  .home-hero__buttons { gap: 12px; margin-top: 24px; }
  .home-hero__buttons .home-button { flex: 1 1 0; width: auto; height: 48px; min-height: 48px; font-size: 16px; }
  .home-hero__line { white-space: normal; }
  .home-button { width: 240px; min-height: 54px; font-size: 18px; }
  .home-news-estimate { padding: 40px 0 48px; }
  .home-news-estimate__grid { grid-template-columns: 1fr; gap: 36px; }
  .home-news h2 { height: 48px; font-size: 24px; }
  .home-news__item { font-size: 16px; }
  .home-news .home-button { margin-top: 24px; }
  .home-business-intro, .home-recruit, .home-contact { padding-block: 56px; }
  .home-business-intro h2, .home-recruit h2, .home-contact h2 { font-size: 28px; line-height: 40px; margin-bottom: 24px; }
  .home-copy { font-size: 16px; line-height: 28px; }
  .home-business-intro br { display: none; }
  .home-service { grid-template-columns: 1fr; }
  .home-service__photo { aspect-ratio: 960 / 614; }
  .home-service--demolition .home-service__photo { order: -1; }
  .home-service__copy { padding: 44px 24px; }
  .home-service__content { max-width: 468px; }
  .home-service__content h2 { font-size: 24px; line-height: 36px; margin-bottom: 20px; }
  .home-service__content p { font-size: 16px; line-height: 28px; }
  .home-service__content .home-button { margin-top: 30px; }
  .home-recruit__banners { grid-template-columns: 1fr; gap: 24px; width: calc(100% - 40px); margin-top: 32px; }
  .home-contact .home-copy { width: calc(100% - 40px); padding: 0; }
  .home-contact .home-button { margin-top: 30px; }
  .site-footer__inner { flex-direction: column; gap: 30px; padding-block: 28px; }
  .site-footer__nav { grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; min-height: 0; margin: 0; }
  .site-footer__nav > div { gap: 10px; padding: 0 10px; }
  .site-footer__nav > div:first-child { padding-left: 0; }
  .site-footer__nav a { font-size: 13px; line-height: 1.6; white-space: normal; }
  .site-footer__nav .footer-sub-link { font-size: 12px; margin-left: 0; }
  .site-footer__copyright { font-size: 11px; }
  .page-top { right: 16px; bottom: 20px; width: 44px; height: 44px; }
  .page-top span { width: 20px; height: 20px; margin-top: 10px; border-width: 3px; }
  .post-card { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  /* WordPress normally scrolls its toolbar away at this breakpoint. */
  #wpadminbar { position: fixed; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
.home-news__meta { display:flex; flex-wrap:wrap; align-items:center; gap:6px 12px; }
.home-news__category { display:inline-block; padding:2px 9px; border-radius:3px; background:var(--navy); color:#fff; font-size:12px; line-height:20px; overflow-wrap:anywhere; max-width:100%; }

/* 2026-11-16 追加（イータイム）：フッターのプライバシーポリシーリンク */
@media (min-width: 900px) {
  .site-footer__nav { grid-template-columns: 136px 168px 190px; }
}
@media (min-width: 768px) and (max-width: 899px) {
  .site-footer__nav .footer-policy-link { white-space: normal; }
}
/* 2026-11-16 追加（イータイム）：お問い合わせ・採用フォームの個人情報取り扱い注記 */
.form-privacy-note { margin-top: 36px; font-size: 16px; line-height: 28px; text-align: center; }
.form-privacy-note p { margin: 0; }
.form-privacy-note a { color: #164f98; text-decoration: underline; }
.form-privacy-note + .contact-form-submit, .form-privacy-note + .recruit-form-submit { margin-top: 28px; }
@media (max-width: 767px) {
  .form-privacy-note { margin-top: 24px; font-size: 14px; line-height: 24px; text-align: left; }
  .form-privacy-note + .contact-form-submit, .form-privacy-note + .recruit-form-submit { margin-top: 20px; }
}

/* 2026-11-16 追加（イータイム）：ページトップボタンがフッターの「プライバシーポリシー」に重ならないよう位置を調整 */
@media (min-width: 768px) {
  .page-top { bottom: 45px; }
}
@media (min-width: 768px) and (max-width: 899px) {
  .site-footer__inner { padding-bottom: 70px; }
}
