:root {
  --ink: #4f4f4f;
  --strong: #272727;
  --muted: #838383;
  --orange: #da521d;
  --orange-light: #ec7c37;
  --orange-panel: #c85b30;
  --paper: #fff;
  --ground: #f1f1f1;
  --line: #e9e9e9;
  --focus: #175b9a;
  --content-width: 1170px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: "Open Sans", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif; font-size: 14px; line-height: 1.7; }
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
[hidden] { display: none !important; }
.container { width: min(calc(100% - 44px), var(--content-width)); margin-inline: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; z-index: 30; top: -60px; left: 15px; padding: 10px 14px; color: white; background: var(--focus); }
.skip-link:focus { top: 10px; }

.site-header { position: relative; z-index: 10; background: white; }
.header-top { height: 53px; background: var(--orange); color: white; }
.header-top-inner { position: relative; display: flex; align-items: center; height: 53px; }
.brand { position: absolute; z-index: 2; top: 0; left: 15px; display: flex; flex-direction: column; justify-content: center; width: 213px; height: 136px; padding: 16px 20px; background: var(--orange-light); color: white; line-height: 1.3; }
.brand img { display: block; width: 100%; height: auto; }
.brand-kicker { font-size: 11px; font-weight: 700; }
.brand strong { display: block; font-size: 20px; font-weight: 800; letter-spacing: -.045em; white-space: nowrap; }
.brand-en { margin-left: 253px; font-size: 12px; color: white; }
.menu-toggle { display: none; }
.nav-row { height: 83px; background: white; }
.main-nav { display: flex; align-items: stretch; height: 83px; padding-left: 228px; }
.main-nav a { display: flex; align-items: center; padding-inline: 15px; border-right: 1px solid #f0f0f0; color: #222; font-size: 13px; font-weight: 700; white-space: nowrap; }
.main-nav a:first-child { border-left: 1px solid #f0f0f0; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--orange); }
.main-nav a:hover { background: #f8f8f8; }

.home-feature { padding: 30px 0 0; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 2.07fr) minmax(0, 1fr); gap: 30px; padding-inline: 15px; align-items: start; }
.hero-visual img { display: block; width: 100%; }
.hero-recent { background: var(--orange-panel); color: white; }
.hero-recent-title { position: relative; margin-top: 18px; margin-left: -5px; padding: 13px 16px 12px; background: #232323; }
.hero-recent-title h2 { margin: 0; font-size: 17px; line-height: 1.2; }
.hero-recent-title span { display: block; font-size: 11px; line-height: 1.3; }
.hero-recent ol { margin: 0; padding: 0; list-style: none; }
.hero-recent li { border-bottom: 1px solid rgba(255,255,255,.17); }
.hero-recent li a { display: grid; grid-template-columns: minmax(64px, 33%) minmax(0, 1fr); gap: 15px; min-height: 116px; padding: 15px; }
.hero-recent li a:hover { background: rgba(0,0,0,.12); }
.hero-recent li img { width: 100%; height: 88px; object-fit: cover; }
.recent-no-image { display: block; }
.hero-recent li strong { display: block; font-size: 14px; line-height: 1.4; }
.hero-recent li small { display: block; margin-top: 12px; font-size: 11px; color: #fff5ef; }
.home-activities { display: grid; grid-template-columns: 235px minmax(0,1fr); gap: 5px; margin-top: 40px; padding-inline: 15px; align-items: stretch; }
.home-section-label { min-height: 98px; padding: 21px; background: var(--orange-light); color: white; border-left: 5px solid #232323; }
.home-section-label h2 { margin: 0; font-size: 18px; }
.home-section-label span { font-size: 11px; }
.home-activity-strip { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 5px; }
.home-activity-strip .activity-card { position: relative; min-width: 0; height: 98px; overflow: hidden; background: #444; color: white; }
.home-activity-strip .card-image, .home-activity-strip .card-image img, .home-activity-strip .card-no-image { display: block; width: 100%; height: 100%; }
.home-activity-strip .card-image img { object-fit: cover; }
.home-activity-strip .card-no-image { background: #444; }
.home-activity-strip .activity-card::after { content: ""; position: absolute; inset: 30% 0 0; background: linear-gradient(transparent, rgba(0,0,0,.78)); pointer-events: none; }
.home-activity-strip .card-body { position: absolute; z-index: 1; inset: auto 10px 8px; pointer-events: none; }
.home-activity-strip .card-year, .home-activity-strip .card-link { display: none; }
.home-activity-strip .card-body h3 { margin: 0; font-size: 13px; line-height: 1.35; }
.home-activity-strip .card-body h3 a { pointer-events: auto; }
.home-all-link { grid-column: 1 / -1; justify-self: end; padding: 9px 4px; color: var(--orange); font-size: 12px; font-weight: 700; }
.home-all-link:hover { text-decoration: underline; }
body:has(.home-feature) .site-footer { margin-top: 125px; }

.inner-page { min-height: 690px; padding: 27px 0 90px; }
.site-breadcrumbs { display: flex; align-items: center; gap: 10px; min-height: 28px; margin: 0 15px 18px; color: #aaa; font-size: 12px; }
.site-breadcrumbs a:hover { color: var(--orange); }
.page-columns { display: grid; grid-template-columns: minmax(0, 2.05fr) minmax(245px, 1fr); gap: 30px; padding-inline: 15px; align-items: start; }
.main-column { min-width: 0; }
.paper { padding: 22px 20px 32px; background: white; }
.paper > h1 { margin: 0 0 19px; color: var(--strong); font-size: 23px; line-height: 1.4; font-weight: 700; }
.page-sidebar { min-width: 0; padding: 20px; background: #f5f5f5; }
.page-sidebar h2 { margin: 0 0 18px; padding-bottom: 18px; border-bottom: 1px solid #e6e6e6; color: var(--strong); font-size: 14px; }
.sidebar-photo { display: block; overflow: hidden; background: #ddd; }
.sidebar-photo img { display: block; width: 100%; height: 355px; object-fit: cover; }
.page-sidebar ol { margin: 0; padding: 4px 0 0; list-style: none; }
.page-sidebar li { border-bottom: 1px solid #e4e4e4; }
.page-sidebar li a { display: block; padding: 12px 0; font-size: 13px; font-weight: 700; }
.page-sidebar li a:hover { color: var(--orange); }
.page-sidebar li small { display: block; margin-top: 3px; color: #999; font-size: 11px; font-weight: 400; }

.filter-bar { display: flex; gap: 12px; align-items: end; margin: 0 0 20px; padding: 14px 18px; background: white; }
.filter-bar label { display: flex; flex: 1; flex-direction: column; gap: 4px; font-size: 12px; }
.filter-bar label:nth-child(2) { flex: 0 0 145px; }
.filter-bar input, .filter-bar select { width: 100%; height: 38px; padding: 7px 10px; border: 1px solid #dedede; border-radius: 0; background: white; color: var(--ink); }
.filter-bar p { margin: 0 0 10px; color: #999; font-size: 11px; }
.archive-entry { margin-bottom: 30px; background: white; }
.archive-entry h2 { margin: 0; padding: 18px 20px; color: var(--strong); font-size: 19px; }
.archive-entry h2 a:hover { color: var(--orange); }
.archive-image { display: block; aspect-ratio: 770 / 220; overflow: hidden; }
.archive-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.archive-meta { padding: 12px 20px; border-bottom: 1px solid var(--line); color: var(--orange); font-size: 12px; }
.archive-entry p { margin: 0; padding: 19px 20px 5px; font-size: 13px; }
.read-more { display: inline-block; margin: 2px 20px 20px; color: var(--orange); font-size: 12px; font-weight: 700; }
.read-more:hover { text-decoration: underline; }
.empty-state { padding: 25px; background: white; }

.article-paper { padding-top: 22px; }
.article-meta { margin-bottom: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--line); color: #888; font-size: 12px; }
.article-pagination { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-top: 1px; background: #ddd; }
.article-pagination a { display: block; padding: 14px 18px; background: white; }
.article-pagination a:hover { color: var(--orange); }
.article-pagination span { display: block; color: #aaa; font-size: 11px; }
.article-pagination strong { font-size: 13px; }
.prose { overflow-wrap: anywhere; font-size: 14px; line-height: 1.9; }
.prose > :first-child { margin-top: 0; }
.prose h1, .prose h2, .prose h3, .prose h4 { color: var(--strong); line-height: 1.5; }
.prose h1 { font-size: 23px; }
.prose h2 { margin: 1.5em 0 .6em; font-size: 19px; }
.prose h3 { margin: 1.4em 0 .5em; font-size: 16px; }
.prose p { margin: 0 0 1.2em; }
.prose a, .sitemap a { color: var(--orange); text-decoration: underline; text-underline-offset: 2px; }
.prose img { max-width: 100%; height: auto; }
.prose figure { margin: 20px 0; }
.prose figure img { display: block; }
.prose figcaption, .prose .wp-caption-text { color: #999; font-size: 12px; }
.prose table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; font-size: 12px; }
.prose th, .prose td { padding: 7px 9px; border: 1px solid #ddd; vertical-align: top; }
.prose ul, .prose ol { padding-left: 1.5em; }
.prose .alignleft { float: left; margin: 0 18px 12px 0; }
.prose .alignright { float: right; margin: 0 0 12px 18px; }
.prose .aligncenter { display: block; margin: 16px auto; }
.prose .wp-caption { max-width: 100%; }
.prose .row { display: flex; flex-wrap: wrap; gap: 18px; }
.prose .vc_span12 { width: 100%; }
.prose .vc_span6 { flex: 1 1 250px; min-width: 0; }
.prose .vc_span8 { flex: 2 1 430px; }
.prose .vc_span4 { flex: 1 1 210px; }
.prose .section { padding: 0; }
.prose .divider { height: 20px; }
.static-content { min-height: 340px; }
.missing-image { display: inline-block; padding: 10px 14px; background: #f7eeee; color: #71392e; font-size: 12px; }
.contact-paper > p { margin: 0 0 21px; }
.contact-form { position: relative; border-top: 1px solid var(--line); padding-top: 20px; }
.contact-form-row { display: grid; grid-template-columns: 165px minmax(0, 1fr); gap: 15px; align-items: start; margin-bottom: 18px; }
.contact-form-row label { padding-top: 10px; color: var(--strong); font-weight: 700; }
.contact-form-row input, .contact-form-row textarea { display: block; width: 100%; border: 1px solid #d7d7d7; border-radius: 0; padding: 10px 12px; background: #fff; color: var(--strong); font: inherit; }
.contact-form-row textarea { min-height: 150px; resize: vertical; }
.contact-form-row input:focus, .contact-form-row textarea:focus { border-color: var(--orange-light); }
.contact-form-row .required { margin-left: 5px; color: var(--orange); font-size: 11px; font-weight: 700; }
.contact-honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.contact-privacy { margin: 16px 0 10px; color: #777; font-size: 12px; }
.contact-submit { border: 0; cursor: pointer; }
.contact-submit:disabled { opacity: .55; cursor: not-allowed; }
.contact-status { min-height: 1.7em; margin: 10px 0 0; color: var(--ink); }
.contact-status.is-error { color: #a43a23; }
.contact-status.is-success { color: #306b42; }
.contact-fax { margin: 26px 0 0 !important; padding-top: 18px; border-top: 1px solid var(--line); }
.button { display: inline-block; padding: 10px 18px; background: var(--orange-light); color: white; font-weight: 700; }
.button:hover { background: var(--orange); }
.sitemap h2 { margin: 30px 0 10px; border-bottom: 1px solid #e6e6e6; padding-bottom: 7px; }
.sitemap h2:first-of-type { margin-top: 0; }
.sitemap ul { padding-left: 21px; }

.site-footer { margin-top: 0; padding: 62px 0 37px; background: #222; color: #9a9a9a; }
.footer-inner { border-top: 1px solid #292929; padding-top: 13px; font-size: 12px; }
.footer-inner a:hover { color: white; }

@media (max-width: 900px) {
  .container { width: min(calc(100% - 28px), var(--content-width)); }
  .header-top, .header-top-inner { height: 70px; }
  .brand { left: 0; width: auto; height: 70px; padding: 11px 13px; }
  .brand strong { font-size: 16px; }
  .brand-en { display: none; }
  .menu-toggle { display: flex; position: absolute; right: 0; top: 12px; width: 46px; height: 46px; border: 0; background: transparent; flex-direction: column; justify-content: center; gap: 5px; padding: 12px; }
  .menu-toggle span { height: 2px; background: white; }
  .nav-row { height: auto; }
  .main-nav { display: none; height: auto; padding: 0; }
  .main-nav.is-open { display: flex; flex-direction: column; }
  .main-nav a, .main-nav a:first-child { min-height: 47px; padding-inline: 14px; border: 0; border-bottom: 1px solid #eee; }
  .hero-grid { grid-template-columns: 1fr; gap: 0; padding-inline: 0; }
  .home-feature { padding-top: 16px; }
  .hero-recent-title { margin-top: 0; margin-left: 0; }
  .hero-recent ol { display: grid; grid-template-columns: repeat(3, 1fr); }
  .hero-recent li + li { border-left: 1px solid rgba(255,255,255,.18); }
  .hero-recent li a { display: block; min-height: 145px; }
  .hero-recent li img { height: 65px; margin-bottom: 7px; }
  .hero-recent li small { display: none; }
  .home-activities { grid-template-columns: 1fr; padding-inline: 0; }
  .home-section-label { min-height: 0; }
  .home-activity-strip { height: 98px; }
  .inner-page { padding-top: 15px; }
  .site-breadcrumbs { margin: 0 0 13px; }
  .page-columns { grid-template-columns: 1fr; padding: 0; }
  .page-sidebar { display: none; }
}
@media (max-width: 520px) {
  .hero-recent ol { display: block; }
  .hero-recent li + li { border-left: 0; }
  .hero-recent li a { display: grid; grid-template-columns: 95px 1fr; min-height: 0; }
  .hero-recent li img { height: 65px; margin: 0; }
  .home-activity-strip { grid-template-columns: repeat(2, 1fr); }
  .home-activity-strip .activity-card:nth-child(3) { display: none; }
  .filter-bar { flex-wrap: wrap; }
  .filter-bar label:nth-child(2) { flex: 1 1 140px; }
  .filter-bar p { margin: 0; }
  .paper { padding: 18px 16px 24px; }
  .contact-form-row { grid-template-columns: 1fr; gap: 5px; }
  .contact-form-row label { padding-top: 0; }
  .article-pagination { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
