.seo-block {
  width: min(1180px, calc(100% - 40px));
  margin: 36px auto;
  padding: clamp(20px, 4vw, 40px);
  border: 1px solid #d8e6ea;
  border-radius: 20px;
  background: #fff;
  color: #344954;
  line-height: 1.7;
}
.seo-block h2, .seo-block h3 { color: #134a62; line-height: 1.3; margin: 0 0 20px; }
.seo-block h2 { font-size: clamp(24px, 4vw, 34px); }
.seo-block p + p, .seo-block p + ul { margin-top: 18px; }
.seo-block ul { padding-left: 22px; }
.seo-block a, .inquiry-status a { color: #134a62; text-decoration: underline; }
.seo-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 24px; padding: 0; list-style: none; }
.seo-block .seo-links { padding: 0; }
.seo-links a { display: block; padding: 10px 0; overflow-wrap: anywhere; }
.seo-services-menu > summary { cursor: pointer; list-style: none; font-weight: 600; padding: 8px 0; }
.seo-services-menu > summary::-webkit-details-marker { display: none; }
.seo-services-menu > summary::after { content: ' ▾'; }
.seo-services-menu[open] > summary::after { content: ' ▴'; }
.seo-menu-panel {
  position: fixed;
  top: var(--seo-menu-top, 90px);
  left: 50%;
  transform: translateX(-50%);
  width: min(960px, calc(100vw - 32px));
  max-height: calc(100dvh - var(--seo-menu-top, 90px) - 24px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 24px;
  border: 1px solid #d8e6ea;
  border-radius: 16px;
  background: #fff;
  color: #134a62;
  box-shadow: 0 16px 40px #123a6226;
  z-index: 1100;
}
.seo-menu-grid, .seo-footer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.seo-menu-panel h3 { font-size: 16px; margin: 0 0 10px; color: #134a62; }
.seo-menu-panel a { display: block; padding: 7px 0; color: #134a62; font-size: 15px; line-height: 1.4; text-decoration: none; }
.seo-menu-panel a:hover { text-decoration: underline; }
.seo-menu-panel > a { margin-top: 20px; font-weight: 700; }
.seo-footer { grid-column: 1 / -1; width: 100%; padding: 20px 0; }
.seo-footer summary { cursor: pointer; font-size: 16px; font-weight: 600; }
.seo-footer a { display: block; padding: 7px 0; font-size: 15px; line-height: 1.5; }
.seo-table-wrap { overflow-x: auto; margin: 20px 0; }
.seo-price-table { width: 100%; border-collapse: collapse; text-align: left; }
.seo-price-table th, .seo-price-table td { padding: 14px; border-bottom: 1px solid #d8e6ea; }
.seo-price-table th { color: #134a62; background: #eef5f7; }
.seo-faq details { padding: 18px 0; border-bottom: 1px solid #d8e6ea; }
.seo-faq summary { cursor: pointer; font-weight: 600; color: #134a62; }
.seo-faq details p { margin-top: 12px; }
.seo-inquiry { display: grid; gap: 18px; max-width: 660px; }
.seo-inquiry label { display: grid; gap: 6px; }
.seo-inquiry input:not([type=checkbox]), .seo-inquiry textarea { width: 100%; padding: 14px; border: 1px solid #8ca5af; border-radius: 10px; font: inherit; color: #172127; background: #fff; }
.seo-inquiry .seo-consent { display: flex; align-items: flex-start; gap: 12px; }
.seo-consent input { margin-top: 6px; }
.seo-inquiry button { padding: 16px 20px; border: 0; border-radius: 12px; background: #134a62; color: #fff; font: inherit; font-weight: 600; cursor: pointer; }
.inquiry-status { padding: 16px; border-radius: 12px; background: #eef5f7; color: #172127; line-height: 1.6; }
.seo-services-menu summary:focus-visible, .seo-menu-panel a:focus-visible, .seo-inquiry :focus-visible { outline: 3px solid #49a9ad; outline-offset: 4px; }
.seo-article { max-width: 850px; }
.seo-article p + p { margin-top: 18px; }
.seo-legacy-header .header-content { display: flex; flex-direction: row; align-items: center; justify-content: space-between; gap: 20px; min-height: 80px; padding: 14px 0; }
.seo-legacy-header .header-nav { display: flex; flex-direction: row; align-items: center; gap: 24px; }
.seo-legacy-header .logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.seo-legacy-header .logo img { width: auto; height: 46px; }
.seo-legacy-header .logo-text { font-size: 24px; }
.seo-legacy-header .header-phone { display: flex; justify-content: center; align-items: center; width: 44px; height: 44px; flex-shrink: 0; border-radius: 50%; background: #edf5f7; color: #134a62; }
.seo-menu-toggle { display: none; width: 44px; height: 44px; padding: 10px; border: 0; border-radius: 8px; background: transparent; color: #134a62; cursor: pointer; }
.seo-menu-toggle span { display: block; height: 3px; margin: 5px 0; border-radius: 2px; background: currentColor; }
@media (max-width: 920px) {
  .seo-legacy-header .header-content { min-height: 72px; padding: 10px 0; }
  .seo-legacy-header .logo-text { display: none; }
  .seo-menu-toggle { display: block; margin-left: auto; }
  .seo-legacy-header .header-nav { display: none; position: absolute; top: 100%; left: 16px; right: 16px; width: auto; padding: 20px; border: 1px solid #d8e6ea; border-radius: 12px; background: #fff; box-shadow: 0 16px 40px #123a6226; }
  .seo-legacy-header .header-nav.active { display: flex; flex-direction: column; align-items: stretch; gap: 18px; }
  .seo-menu-panel { position: static; transform: none; width: 100%; max-height: none; box-shadow: none; padding: 16px; }
  .seo-menu-grid { grid-template-columns: 1fr; gap: 18px; }
  .seo-services-menu { width: 100%; }
  .case-nav.is-open, .header-nav.active { max-height: calc(100dvh - 100px); overflow-y: auto; overscroll-behavior: contain; }
  .seo-footer-grid, .seo-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .seo-footer-grid, .seo-links { grid-template-columns: 1fr; }
  .seo-block { margin: 24px auto; }
  .seo-price-table th, .seo-price-table td { padding: 10px; }
}
