.container {
  max-width: none;
  width: 100%;
  margin: 0 auto;
  padding: 0;
}
.site-header .container {
  max-width: none;
  width: 100%;
  padding: 0 0 0 20px;
  height: 100%;
}
.site-header {
  position: sticky;
  top: 0;
  height: 100px;
  backdrop-filter: blur(10px);
  background: #F7F7F2;
  color: #2A2A2A;
  border-bottom: 1px solid #dcdcd5;
  z-index: 10;
}
@media (max-width: 1023px) {
  .site-header {
    height: 60px;
  }
}
.header-inner {
  display: flex;
  align-items: center;
  gap: var(--space-6);

}
.header-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: var(--space-4);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #2A2A2A;
}
.brand img {
  height: 52px;
  width: auto;
  display: block;
}
.site-nav { color: #2A2A2A; }
.nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: var(--space-5);
  margin: 0;
  padding: 0;
}
.nav-list a {
  font-size: 0.95rem;
  font-weight: 600;
  color: #2A2A2A;
}
.nav-list a:hover { color: rgba(42, 42, 42, 0.7); }
.nav-list li {
  position: relative;
}
.nav-submenu {
  position: absolute;
  top: 100%;
  left: 0;
  list-style: none;
  margin: 0;
  padding: 10px 0;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid #dcdcd5;
  box-shadow: var(--shadow-soft);
  min-width: 180px;
  z-index: 20;
  opacity: 0;
  visibility: hidden;
  max-height: 0;
  overflow: hidden;
  transform: translateY(8px) scaleY(0.98);
  transform-origin: top;
  transition: max-height 220ms ease, opacity 180ms ease, visibility 180ms ease, transform 200ms ease;
  pointer-events: none;
}
.nav-submenu li {
  padding: 0;
  border-bottom: 1px dotted #dcdcd5;
}
.nav-submenu li:last-child { border-bottom: none; }
.nav-submenu a {
  display: block;
  width: 100%;
  padding: 10px 14px;
  color: #2A2A2A;
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
}
.nav-submenu a:hover { background: #f2f2ed; }
.nav-list .has-submenu:hover > .nav-submenu,
.nav-list .has-submenu:focus-within > .nav-submenu,
.nav-submenu:hover,
.nav-submenu:focus-within {
  opacity: 1;
  visibility: visible;
  max-height: 400px;
  transform: translateY(0) scaleY(1);
  pointer-events: auto;
}

main { padding-bottom: var(--space-16); }
.section {
  padding: var(--space-16) 0;
}
.section-header {
  display: grid;
  gap: var(--space-3);
  text-align: center;
  margin-bottom: var(--space-10);
}
.hero {
  padding: var(--space-16) 0 var(--space-12);
}
.hero-grid {
  display: grid;
  gap: var(--space-10);
  align-items: center;
}
@media (min-width: var(--bp-md)) {
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; }
}
.page-hero {
  --page-hero: url("../images/eyecatch01.png");
  position: relative;
  padding: var(--space-12) 0;
  color: #ffffff;
  background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)), var(--page-hero);
  background-size: cover, cover;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
  background-color: #273043;
  overflow: hidden;
  margin-top: 0;
  min-height: 300px;
  display: flex;
  align-items: center;
}
.page-hero.page-hero-guide { --page-hero: url("../images/eyecatch01.png"); }
.page-hero.page-hero-archive { --page-hero: url("../images/eyecatch02.png"); }
.page-hero.page-hero-categories { --page-hero: url("../images/eyecatch02.png"); }
.page-hero.page-hero-notfound { --page-hero: url("../images/eyecatch03.png"); }
.page-hero.page-hero-single { --page-hero: url("../images/eyecatch01.png"); }
.page-hero-inner {
  position: relative;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  z-index: 1;
}
.page-hero-content {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: var(--space-6);
  border-radius: var(--radius-md);
  display: grid;
  gap: 4px;
}
.page-hero-content h1 {
  margin: 0;
  line-height: 1.2;
}
.page-hero-meta {
  display: inline-flex;
  gap: var(--space-3);
  align-items: center;
  margin-top: 0;
}
.page-hero-meta .feature-card-date {
  color: #ffffff;
}
.feature-grid {
  display: grid;
  gap: var(--space-6);
}
@media (min-width: var(--bp-md)) {
  .feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.highlight-grid {
  display: grid;
  gap: var(--space-6);
}
@media (min-width: var(--bp-md)) {
  .highlight-grid { grid-template-columns: 1.1fr 0.9fr; align-items: stretch; }
}
.cta-box {
  display: grid;
  gap: var(--space-6);
  align-items: center;
  padding: var(--space-10);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.16), rgba(56, 189, 248, 0.16));
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft);
}
@media (min-width: var(--bp-md)) {
  .cta-box { grid-template-columns: 1fr auto; }
}
.site-footer {
  border-top: 1px solid var(--color-border);
  padding: var(--space-10) 40px;
  background: #ffffff;
}
.footer-inner {
  display: grid;
  gap: var(--space-6);
  align-items: flex-start;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.site-footer .container,
.copyright-bar .container {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 0;
}
.footer-heading {
  margin: 0 0 12px 0;
  font-size: 18px;
  font-weight: 700;
  color: #333333;
}
.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.footer-list a {
  color: #333333;
  text-decoration: none;
}
.footer-list a:hover { color: #007864; }
.footer-brand {
  text-align: left;
}
.footer-brand .brand {
  justify-content: flex-start;
}
.footer-note { color: #333333; margin: var(--space-2) 0 0; font-size: 13px; }

.notice-bar {
  height: 60px;
  background: #ffffff;
  color: #2A2A2A;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--gutter) 0 20px;
  border-bottom: 1px solid #dcdcd5;
  text-align: left;
}
.notice-bar p {
  margin: 0;
  font-size: 13px;
}
.breadcrumbs {
  background: #f7f7f2;
  color: #555555;
  font-size: 13px;
  padding: 6px 0 12px;
}
.breadcrumbs .container {
  max-width: 100%;
  width: 100%;
  margin: 0;
  padding: 0 20px;
  display: flex;
  justify-content: flex-start;
}
.breadcrumbs ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.breadcrumbs li {
  display: flex;
  align-items: center;
  gap: 6px;
}
.breadcrumbs li + li::before {
  content: "›";
  color: #999999;
  font-size: 12px;
}
.breadcrumbs a {
  color: #555555;
  text-decoration: none;
}
.breadcrumbs a:hover {
  color: #273043;
}
.notfound-body {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}
.notfound-illust {
  margin: 0 auto var(--space-6);
  width: 100%;
}
.notfound-illust img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}
.notfound-message {
  color: #333333;
}
.notfound-actions {
  display: inline-flex;
  gap: var(--space-3);
  flex-wrap: wrap;
  justify-content: center;
  margin-top: var(--space-4);
}
.notfound-actions .btn {
  border-radius: 0;
}
.archive-grid-wrap,
.categories-grid-wrap {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}
.archive-pagination-wrap {
  max-width: 1280px;
  width: 100%;
  margin: var(--space-8) auto 0;
  padding: 0 20px;
  display: flex;
  justify-content: center;
}
.notice-search {
  display: inline-flex;
  align-items: center;
  position: relative;
}
.notice-search input[type="search"] {
  width: 260px;
  max-width: 42vw;
  height: 44px;
  padding: 0 14px 0 44px;
  border: 1px solid #dcdcd5;
  border-radius: 999px;
  font-size: 14px;
  background: #ffffff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23273043' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='6'/%3E%3Cline x1='16.5' y1='16.5' x2='21' y2='21'/%3E%3C/svg%3E") no-repeat 14px 50%;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.notice-search input[type="search"]:focus {
  outline: none;
  border-color: #273043;
  box-shadow: 0 0 0 3px rgba(39, 48, 67, 0.08);
}

@media (max-width: 1023px) {
  .notice-bar {
    display: none;
  }
}

.copyright-bar {
  background: #273043;
  color: #ffffff;
  padding: 12px 0;
}
.copyright-inner {
  text-align: center;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
}
.footer-ad {
  padding: var(--space-12) 0;
}
.footer-ad-inner {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}
.footer-ad img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 0;
  box-shadow: var(--shadow-soft);
}
