/* ─────────────────────────────────────────
   PAGE REQUEST METHOD — 検査の依頼方法
───────────────────────────────────────── */

/* Hero / Header Banner */
.sn-req-header-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}
.sn-req-header {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 0 16px 0;
  gap: 17px;
}
.sn-req-title {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 10px 24px;
  gap: 10px;
  width: fit-content;
  max-width: 100%;
  min-height: 64px;
  background: rgba(0, 143, 141, 0.7);
  backdrop-filter: blur(6px);
  color: #FFFFFF;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 36px;
  line-height: 44px;
  letter-spacing: -0.02em;
  margin: 0;
}

/* Breadcrumb override */
.sn-req-breadcrumb-wrap {
  margin-bottom: 0;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}
.sn-req-breadcrumb-wrap .sn-breadcrumb {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
}
.sn-req-breadcrumb-wrap .sn-breadcrumb a {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 150%; /* 21px — matches Figma Body 02 */
  color: #6A778B;
  text-decoration: none;
}
.sn-req-breadcrumb-wrap .sn-breadcrumb a:hover {
  text-decoration: underline;
}
.sn-req-breadcrumb-wrap .sn-breadcrumb-current {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: 14px;
  /* Body 02 per Figma — same size/weight/line-height as .sn-breadcrumb a,
   * only color differs (Text #111112 vs Gray 600 #6A778B). */
  line-height: 150%;
  color: #111112;
}

/* Body layout: sidebar + main */
.sn-req-body-layout {
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 40px 54px;
  display: flex;
  align-items: flex-start;
  gap: 40px;
}
.sn-req-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* Placeholder H2 + paragraph inside con-body starter templates — force the
 * same typography on frontend and editor iframe. `>` combinator targets only
 * DIRECT children of .sn-req-main (core/heading + core/paragraph from the
 * starter template) so nested h2s like .sn-es-section-title inside eservice /
 * mail-magazine <section> blocks are not affected. */
.sn-req-main > h2,
.sn-req-main > .wp-block-heading,
.editor-styles-wrapper .sn-con-editor-main > h2,
.editor-styles-wrapper .sn-con-editor-main > .wp-block-heading {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.5;
  color: #111112;
  margin: 0;
  padding: 0;
}
.sn-req-main > p,
.editor-styles-wrapper .sn-con-editor-main > p {
  font-size: 16px;
  line-height: 1.75;
  color: #111112;
  margin: 0;
  padding: 0;
}

.is-root-container:has(> .wp-block[data-type^="sunatec/con-"]),
.is-root-container:has(> .wp-block[data-type^="sunatec/inq-"]),
.is-root-container:has(> .wp-block[data-type^="sunatec/est-"]),
.is-root-container:has(> .wp-block[data-type^="sunatec/tel-"]),
.is-root-container:has(> .wp-block[data-type^="sunatec/es-"]),
.is-root-container:has(> .wp-block[data-type^="sunatec/esa-"]),
.is-root-container.block-editor-block-list__layout:has(> .wp-block[data-type^="sunatec/con-"]),
.is-root-container.block-editor-block-list__layout:has(> .wp-block[data-type^="sunatec/inq-"]),
.is-root-container.block-editor-block-list__layout:has(> .wp-block[data-type^="sunatec/est-"]),
.is-root-container.block-editor-block-list__layout:has(> .wp-block[data-type^="sunatec/tel-"]),
.is-root-container.block-editor-block-list__layout:has(> .wp-block[data-type^="sunatec/es-"]),
.is-root-container.block-editor-block-list__layout:has(> .wp-block[data-type^="sunatec/esa-"]),
.wp-block-post-content:has(.wp-block[data-type^="sunatec/con-"]),
.wp-block-post-content:has(.wp-block[data-type^="sunatec/inq-"]),
.wp-block-post-content:has(.wp-block[data-type^="sunatec/est-"]),
.wp-block-post-content:has(.wp-block[data-type^="sunatec/tel-"]),
.wp-block-post-content:has(.wp-block[data-type^="sunatec/es-"]),
.wp-block-post-content:has(.wp-block[data-type^="sunatec/esa-"]),
.editor-styles-wrapper .is-root-container:has(> .wp-block[data-type^="sunatec/con-"]),
.editor-styles-wrapper .is-root-container:has(> .wp-block[data-type^="sunatec/inq-"]),
.editor-styles-wrapper .is-root-container:has(> .wp-block[data-type^="sunatec/est-"]),
.editor-styles-wrapper .is-root-container:has(> .wp-block[data-type^="sunatec/tel-"]),
.editor-styles-wrapper .is-root-container:has(> .wp-block[data-type^="sunatec/es-"]),
.editor-styles-wrapper .is-root-container.block-editor-block-list__layout:has(> .wp-block[data-type^="sunatec/con-"]),
.editor-styles-wrapper .is-root-container.block-editor-block-list__layout:has(> .wp-block[data-type^="sunatec/inq-"]),
.editor-styles-wrapper .is-root-container.block-editor-block-list__layout:has(> .wp-block[data-type^="sunatec/est-"]),
.editor-styles-wrapper .is-root-container.block-editor-block-list__layout:has(> .wp-block[data-type^="sunatec/tel-"]),
.editor-styles-wrapper .is-root-container.block-editor-block-list__layout:has(> .wp-block[data-type^="sunatec/es-"]),
.editor-styles-wrapper .is-root-container:has(> .wp-block[data-type^="sunatec/esa-"]),
.editor-styles-wrapper .is-root-container.block-editor-block-list__layout:has(> .wp-block[data-type^="sunatec/esa-"]),
.editor-styles-wrapper .wp-block-post-content:has(.wp-block[data-type^="sunatec/con-"]),
.editor-styles-wrapper .wp-block-post-content:has(.wp-block[data-type^="sunatec/inq-"]),
.editor-styles-wrapper .wp-block-post-content:has(.wp-block[data-type^="sunatec/est-"]),
.editor-styles-wrapper .wp-block-post-content:has(.wp-block[data-type^="sunatec/tel-"]),
.editor-styles-wrapper .wp-block-post-content:has(.wp-block[data-type^="sunatec/es-"]),
.editor-styles-wrapper .wp-block-post-content:has(.wp-block[data-type^="sunatec/esa-"]) {
  max-width: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.is-root-container > .wp-block[data-type^="sunatec/con-"],
.is-root-container > .wp-block[data-type^="sunatec/inq-"],
.is-root-container > .wp-block[data-type^="sunatec/est-"],
.is-root-container > .wp-block[data-type^="sunatec/tel-"],
.is-root-container > .wp-block[data-type^="sunatec/es-"],
.is-root-container:has(> .wp-block[data-type^="sunatec/con-"]) > .wp-block[data-type="sunatec/footer"],
.is-root-container:has(> .wp-block[data-type^="sunatec/inq-"]) > .wp-block[data-type="sunatec/footer"],
.is-root-container:has(> .wp-block[data-type^="sunatec/est-"]) > .wp-block[data-type="sunatec/footer"],
.is-root-container:has(> .wp-block[data-type^="sunatec/tel-"]) > .wp-block[data-type="sunatec/footer"],
.is-root-container:has(> .wp-block[data-type^="sunatec/es-"]) > .wp-block[data-type="sunatec/footer"],
.editor-styles-wrapper .is-root-container > .wp-block[data-type^="sunatec/con-"],
.editor-styles-wrapper .is-root-container > .wp-block[data-type^="sunatec/inq-"],
.editor-styles-wrapper .is-root-container > .wp-block[data-type^="sunatec/est-"],
.editor-styles-wrapper .is-root-container > .wp-block[data-type^="sunatec/tel-"],
.editor-styles-wrapper .is-root-container > .wp-block[data-type^="sunatec/es-"],
.editor-styles-wrapper .is-root-container:has(> .wp-block[data-type^="sunatec/con-"]) > .wp-block[data-type="sunatec/footer"],
.editor-styles-wrapper .is-root-container:has(> .wp-block[data-type^="sunatec/inq-"]) > .wp-block[data-type="sunatec/footer"],
.editor-styles-wrapper .is-root-container:has(> .wp-block[data-type^="sunatec/est-"]) > .wp-block[data-type="sunatec/footer"],
.editor-styles-wrapper .is-root-container:has(> .wp-block[data-type^="sunatec/tel-"]) > .wp-block[data-type="sunatec/footer"],
.editor-styles-wrapper .is-root-container:has(> .wp-block[data-type^="sunatec/es-"]) > .wp-block[data-type="sunatec/footer"] {
  max-width: none !important;
  width: auto !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}
.wp-block[data-type="sunatec/con-body"] > *,
.wp-block[data-type="sunatec/est-body"] > *,
.wp-block[data-type="sunatec/est-cf-body"] > *,
.wp-block[data-type="sunatec/est-dn-body"] > *,
.wp-block[data-type="sunatec/inq-body"] > *,
.wp-block[data-type="sunatec/inq-cf-body"] > *,
.wp-block[data-type="sunatec/inq-dn-body"] > *,
.wp-block[data-type="sunatec/esa-body"] > *,
.wp-block[data-type="sunatec/esa-cf-body"] > *,
.wp-block[data-type="sunatec/esa-dn-body"] > *,
.wp-block[data-type="sunatec/tel-body"] > *,
.wp-block[data-type="sunatec/inq-form"] > *,
.editor-styles-wrapper .wp-block[data-type="sunatec/con-body"] > *,
.editor-styles-wrapper .wp-block[data-type="sunatec/est-body"] > *,
.editor-styles-wrapper .wp-block[data-type="sunatec/est-cf-body"] > *,
.editor-styles-wrapper .wp-block[data-type="sunatec/est-dn-body"] > *,
.editor-styles-wrapper .wp-block[data-type="sunatec/inq-body"] > *,
.editor-styles-wrapper .wp-block[data-type="sunatec/inq-cf-body"] > *,
.editor-styles-wrapper .wp-block[data-type="sunatec/inq-dn-body"] > *,
.editor-styles-wrapper .wp-block[data-type="sunatec/esa-body"] > *,
.editor-styles-wrapper .wp-block[data-type="sunatec/esa-cf-body"] > *,
.editor-styles-wrapper .wp-block[data-type="sunatec/esa-dn-body"] > *,
.editor-styles-wrapper .wp-block[data-type="sunatec/tel-body"] > * {
  width: 100%;
}
.wp-block[data-type="sunatec/con-body"],
.wp-block[data-type="sunatec/est-body"],
.wp-block[data-type="sunatec/est-cf-body"],
.wp-block[data-type="sunatec/est-dn-body"],
.wp-block[data-type="sunatec/inq-body"],
.wp-block[data-type="sunatec/inq-cf-body"],
.wp-block[data-type="sunatec/inq-dn-body"],
.wp-block[data-type="sunatec/esa-body"],
.wp-block[data-type="sunatec/esa-cf-body"],
.wp-block[data-type="sunatec/esa-dn-body"],
.wp-block[data-type="sunatec/tel-body"],
.wp-block[data-type="sunatec/inq-form"],
.editor-styles-wrapper .wp-block[data-type="sunatec/con-body"],
.editor-styles-wrapper .wp-block[data-type="sunatec/est-body"],
.editor-styles-wrapper .wp-block[data-type="sunatec/est-cf-body"],
.editor-styles-wrapper .wp-block[data-type="sunatec/est-dn-body"],
.editor-styles-wrapper .wp-block[data-type="sunatec/inq-body"],
.editor-styles-wrapper .wp-block[data-type="sunatec/inq-cf-body"],
.editor-styles-wrapper .wp-block[data-type="sunatec/inq-dn-body"],
.editor-styles-wrapper .wp-block[data-type="sunatec/esa-body"],
.editor-styles-wrapper .wp-block[data-type="sunatec/esa-cf-body"],
.editor-styles-wrapper .wp-block[data-type="sunatec/esa-dn-body"],
.editor-styles-wrapper .wp-block[data-type="sunatec/tel-body"] {
  display: block;
}
.wp-block[data-type="sunatec/con-body"]::before,
.wp-block[data-type="sunatec/con-body"]::after,
.wp-block[data-type="sunatec/est-body"]::before,
.wp-block[data-type="sunatec/est-body"]::after,
.wp-block[data-type="sunatec/est-cf-body"]::before,
.wp-block[data-type="sunatec/est-cf-body"]::after,
.wp-block[data-type="sunatec/est-dn-body"]::before,
.wp-block[data-type="sunatec/est-dn-body"]::after,
.wp-block[data-type="sunatec/inq-body"]::before,
.wp-block[data-type="sunatec/inq-body"]::after,
.wp-block[data-type="sunatec/inq-cf-body"]::before,
.wp-block[data-type="sunatec/inq-cf-body"]::after,
.wp-block[data-type="sunatec/inq-dn-body"]::before,
.wp-block[data-type="sunatec/inq-dn-body"]::after,
.wp-block[data-type="sunatec/esa-body"]::before,
.wp-block[data-type="sunatec/esa-body"]::after,
.wp-block[data-type="sunatec/esa-cf-body"]::before,
.wp-block[data-type="sunatec/esa-cf-body"]::after,
.wp-block[data-type="sunatec/esa-dn-body"]::before,
.wp-block[data-type="sunatec/esa-dn-body"]::after,
.wp-block[data-type="sunatec/tel-body"]::before,
.wp-block[data-type="sunatec/tel-body"]::after,
.editor-styles-wrapper .wp-block[data-type="sunatec/con-body"]::before,
.editor-styles-wrapper .wp-block[data-type="sunatec/con-body"]::after,
.editor-styles-wrapper .wp-block[data-type="sunatec/est-body"]::before,
.editor-styles-wrapper .wp-block[data-type="sunatec/est-body"]::after,
.editor-styles-wrapper .wp-block[data-type="sunatec/est-cf-body"]::before,
.editor-styles-wrapper .wp-block[data-type="sunatec/est-cf-body"]::after,
.editor-styles-wrapper .wp-block[data-type="sunatec/est-dn-body"]::before,
.editor-styles-wrapper .wp-block[data-type="sunatec/est-dn-body"]::after,
.editor-styles-wrapper .wp-block[data-type="sunatec/inq-body"]::before,
.editor-styles-wrapper .wp-block[data-type="sunatec/inq-body"]::after,
.editor-styles-wrapper .wp-block[data-type="sunatec/inq-cf-body"]::before,
.editor-styles-wrapper .wp-block[data-type="sunatec/inq-cf-body"]::after,
.editor-styles-wrapper .wp-block[data-type="sunatec/inq-dn-body"]::before,
.editor-styles-wrapper .wp-block[data-type="sunatec/inq-dn-body"]::after,
.editor-styles-wrapper .wp-block[data-type="sunatec/esa-body"]::before,
.editor-styles-wrapper .wp-block[data-type="sunatec/esa-body"]::after,
.editor-styles-wrapper .wp-block[data-type="sunatec/esa-cf-body"]::before,
.editor-styles-wrapper .wp-block[data-type="sunatec/esa-cf-body"]::after,
.editor-styles-wrapper .wp-block[data-type="sunatec/esa-dn-body"]::before,
.editor-styles-wrapper .wp-block[data-type="sunatec/esa-dn-body"]::after,
.editor-styles-wrapper .wp-block[data-type="sunatec/tel-body"]::before,
.editor-styles-wrapper .wp-block[data-type="sunatec/tel-body"]::after {
  display: none !important;
}
.sn-con-editor-layout {
  width: 100%;
  box-sizing: border-box;
}
.sn-inq-editor-layout {
  width: 100%;
  box-sizing: border-box;
  margin: 0;
}
.sn-inq-editor-layout > .sn-req-main-form {
  flex: 1;
  min-width: 0;
}
.sn-con-editor-sidebar-preview {
  width: 270px;
  flex: none;
  min-width: 0;
  position: relative;
  border-radius: 0;
  overflow: visible;
}
.sn-editor-sidebar-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: #008F8D;
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 600;
  line-height: 14px;
  border-radius: 4px 4px 0 0;
  margin-bottom: -1px;
}
.sn-editor-sidebar-label .dashicons {
  font-size: 14px;
  width: 14px;
  height: 14px;
  line-height: 14px;
}
.sn-editor-sidebar-preview-wrap {
  border: 1px dashed #008F8D;
  border-radius: 0 4px 4px 4px;
  overflow: hidden;
  box-sizing: border-box;
}
.sn-editor-sidebar-preview-wrap .sn-req-sidebar,
.sn-editor-sidebar-preview-wrap .sn-mm-sidebar-nav {
  width: 100%;
  max-width: none;
  box-sizing: border-box;
}
.wp-block[data-type="sunatec/con-body"].is-selected .sn-con-editor-sidebar-preview,
.wp-block[data-type="sunatec/est-body"].is-selected .sn-con-editor-sidebar-preview,
.wp-block[data-type="sunatec/est-cf-body"].is-selected .sn-con-editor-sidebar-preview,
.wp-block[data-type="sunatec/est-dn-body"].is-selected .sn-con-editor-sidebar-preview,
.wp-block[data-type="sunatec/inq-body"].is-selected .sn-con-editor-sidebar-preview,
.wp-block[data-type="sunatec/inq-cf-body"].is-selected .sn-con-editor-sidebar-preview,
.wp-block[data-type="sunatec/inq-dn-body"].is-selected .sn-con-editor-sidebar-preview,
.wp-block[data-type="sunatec/esa-body"].is-selected .sn-con-editor-sidebar-preview,
.wp-block[data-type="sunatec/esa-cf-body"].is-selected .sn-con-editor-sidebar-preview,
.wp-block[data-type="sunatec/esa-dn-body"].is-selected .sn-con-editor-sidebar-preview,
.wp-block[data-type="sunatec/tel-body"].is-selected .sn-con-editor-sidebar-preview {
  outline: none;
  box-shadow: 0 0 0 2px var(--wp-admin-theme-color, #007cba);
  z-index: 2;
}

.sn-con-editor-sidebar-empty {
  padding: 16px;
  border: 1px dashed #008F8D;
  border-radius: 8px;
  color: #42526B;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 12px;
  text-align: center;
}
.sn-con-editor-main > .block-editor-inner-blocks {
  min-width: 0;
}
.sn-con-editor-main > .block-editor-inner-blocks > .block-editor-block-list__layout {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.sn-con-editor-main .wp-block[data-type="sunatec/con-eservice"],
.sn-con-editor-main .wp-block[data-type="sunatec/con-notes"],
.sn-con-editor-main .wp-block[data-type="sunatec/con-downloads"] {
  max-width: none !important;
  width: 100% !important;
  margin: 0 !important;
}

/* Contact body editor — keep the selected layout aligned with the frontend. */
.editor-styles-wrapper .wp-block[data-type="sunatec/con-body"] > .sn-req-body-layout,
.editor-styles-wrapper .wp-block[data-type="sunatec/inq-body"] > .sn-req-body-layout,
.editor-styles-wrapper .wp-block[data-type="sunatec/inq-cf-body"] > .sn-req-body-layout,
.editor-styles-wrapper .wp-block[data-type="sunatec/inq-dn-body"] > .sn-req-body-layout,
.editor-styles-wrapper .wp-block[data-type="sunatec/est-body"] > .sn-req-body-layout,
.editor-styles-wrapper .wp-block[data-type="sunatec/est-cf-body"] > .sn-req-body-layout,
.editor-styles-wrapper .wp-block[data-type="sunatec/est-dn-body"] > .sn-req-body-layout,
.editor-styles-wrapper .wp-block[data-type="sunatec/esa-body"] > .sn-req-body-layout,
.editor-styles-wrapper .wp-block[data-type="sunatec/esa-cf-body"] > .sn-req-body-layout,
.editor-styles-wrapper .wp-block[data-type="sunatec/esa-dn-body"] > .sn-req-body-layout,
.editor-styles-wrapper .wp-block[data-type="sunatec/tel-body"] > .sn-req-body-layout {
  max-width: 1280px !important;
  width: 100% !important;
  margin: 0 auto !important;
  padding: 40px 40px 54px !important;
  box-sizing: border-box !important;
  gap: 40px !important;
  align-items: flex-start !important;
}
.editor-styles-wrapper .wp-block[data-type="sunatec/con-body"] .sn-con-editor-sidebar-preview,
.editor-styles-wrapper .wp-block[data-type="sunatec/inq-body"] .sn-con-editor-sidebar-preview,
.editor-styles-wrapper .wp-block[data-type="sunatec/inq-cf-body"] .sn-con-editor-sidebar-preview,
.editor-styles-wrapper .wp-block[data-type="sunatec/inq-dn-body"] .sn-con-editor-sidebar-preview,
.editor-styles-wrapper .wp-block[data-type="sunatec/est-body"] .sn-con-editor-sidebar-preview,
.editor-styles-wrapper .wp-block[data-type="sunatec/est-cf-body"] .sn-con-editor-sidebar-preview,
.editor-styles-wrapper .wp-block[data-type="sunatec/est-dn-body"] .sn-con-editor-sidebar-preview,
.editor-styles-wrapper .wp-block[data-type="sunatec/esa-body"] .sn-con-editor-sidebar-preview,
.editor-styles-wrapper .wp-block[data-type="sunatec/esa-cf-body"] .sn-con-editor-sidebar-preview,
.editor-styles-wrapper .wp-block[data-type="sunatec/esa-dn-body"] .sn-con-editor-sidebar-preview,
.editor-styles-wrapper .wp-block[data-type="sunatec/tel-body"] .sn-con-editor-sidebar-preview {
  width: 270px !important;
  flex: 0 0 270px !important;
}
.editor-styles-wrapper .wp-block[data-type="sunatec/con-body"] .sn-con-editor-main,
.editor-styles-wrapper .wp-block[data-type="sunatec/inq-body"] .sn-con-editor-main,
.editor-styles-wrapper .wp-block[data-type="sunatec/inq-cf-body"] .sn-con-editor-main,
.editor-styles-wrapper .wp-block[data-type="sunatec/inq-dn-body"] .sn-con-editor-main,
.editor-styles-wrapper .wp-block[data-type="sunatec/est-body"] .sn-con-editor-main,
.editor-styles-wrapper .wp-block[data-type="sunatec/est-cf-body"] .sn-con-editor-main,
.editor-styles-wrapper .wp-block[data-type="sunatec/est-dn-body"] .sn-con-editor-main,
.editor-styles-wrapper .wp-block[data-type="sunatec/esa-body"] .sn-con-editor-main,
.editor-styles-wrapper .wp-block[data-type="sunatec/esa-cf-body"] .sn-con-editor-main,
.editor-styles-wrapper .wp-block[data-type="sunatec/esa-dn-body"] .sn-con-editor-main,
.editor-styles-wrapper .wp-block[data-type="sunatec/tel-body"] .sn-con-editor-main {
  flex: 1 1 0% !important;
  min-width: 0 !important;
  width: auto !important;
}
/* est-body's main-wrap holds the est-form InnerBlocks; est-form itself emits
 * <main class="sn-req-main sn-req-main-form"> inside its block wrapper so the
 * selection outline covers the full form area (padding included). */
.sn-est-editor-main-wrap {
  flex: 1;
  min-width: 0;
}
.sn-est-editor-main-wrap,
.sn-est-editor-main-wrap > .block-editor-inner-blocks,
.sn-est-editor-main-wrap > .block-editor-inner-blocks > .block-editor-block-list__layout,
.sn-est-editor-main-wrap .wp-block[data-type="sunatec/est-form"] {
  max-width: none !important;
  width: 100% !important;
  margin: 0 !important;
}
.sn-est-editor-main-wrap .wp-block[data-type="sunatec/est-form"] > main {
  max-width: none;
  width: 100%;
}
/* est-cf-body — same pattern as est-body: thin main-wrap flex:1, est-cf-content
 * (which emits its own <main>) fills it. */
.sn-est-cf-editor-main-wrap {
  flex: 1;
  min-width: 0;
}
.sn-est-cf-editor-main-wrap,
.sn-est-cf-editor-main-wrap > .block-editor-inner-blocks,
.sn-est-cf-editor-main-wrap > .block-editor-inner-blocks > .block-editor-block-list__layout,
.sn-est-cf-editor-main-wrap .wp-block[data-type="sunatec/est-cf-content"] {
  max-width: none !important;
  width: 100% !important;
  margin: 0 !important;
}
.sn-est-cf-editor-main-wrap .wp-block[data-type="sunatec/est-cf-content"] > main {
  max-width: none;
  width: 100%;
}
/* est-dn-body — same pattern as est-cf-body: thin main-wrap flex:1, est-dn-content
 * (which emits its own <main>) fills it. */
.sn-est-dn-editor-main-wrap {
  flex: 1;
  min-width: 0;
}
.sn-est-dn-editor-main-wrap,
.sn-est-dn-editor-main-wrap > .block-editor-inner-blocks,
.sn-est-dn-editor-main-wrap > .block-editor-inner-blocks > .block-editor-block-list__layout,
.sn-est-dn-editor-main-wrap .wp-block[data-type="sunatec/est-dn-content"] {
  max-width: none !important;
  width: 100% !important;
  margin: 0 !important;
}
.sn-est-dn-editor-main-wrap .wp-block[data-type="sunatec/est-dn-content"] > main {
  max-width: none;
  width: 100%;
}
/* inq-body — same pattern as est-body: thin main-wrap flex:1, inq-form fills it. */
.sn-inq-editor-main-wrap {
  flex: 1;
  min-width: 0;
}
.sn-inq-editor-main-wrap,
.sn-inq-editor-main-wrap > .block-editor-inner-blocks,
.sn-inq-editor-main-wrap > .block-editor-inner-blocks > .block-editor-block-list__layout,
.sn-inq-editor-main-wrap .wp-block[data-type="sunatec/inq-form"] {
  max-width: none !important;
  width: 100% !important;
  margin: 0 !important;
}
.sn-inq-editor-main-wrap .wp-block[data-type="sunatec/inq-form"] > main {
  max-width: none;
  width: 100%;
}
/* inq-cf-body — same pattern as est-cf-body: thin main-wrap flex:1, inq-cf-content
 * (which emits its own <main>) fills it. */
.sn-inq-cf-editor-main-wrap {
  flex: 1;
  min-width: 0;
}
.sn-inq-cf-editor-main-wrap,
.sn-inq-cf-editor-main-wrap > .block-editor-inner-blocks,
.sn-inq-cf-editor-main-wrap > .block-editor-inner-blocks > .block-editor-block-list__layout,
.sn-inq-cf-editor-main-wrap .wp-block[data-type="sunatec/inq-cf-content"] {
  max-width: none !important;
  width: 100% !important;
  margin: 0 !important;
}
.sn-inq-cf-editor-main-wrap .wp-block[data-type="sunatec/inq-cf-content"] > main {
  max-width: none;
  width: 100%;
}
/* inq-dn-body — same pattern as est-dn-body: thin main-wrap flex:1, inq-dn-content
 * (which emits its own <main>) fills it. */
.sn-inq-dn-editor-main-wrap {
  flex: 1;
  min-width: 0;
}
.sn-inq-dn-editor-main-wrap,
.sn-inq-dn-editor-main-wrap > .block-editor-inner-blocks,
.sn-inq-dn-editor-main-wrap > .block-editor-inner-blocks > .block-editor-block-list__layout,
.sn-inq-dn-editor-main-wrap .wp-block[data-type="sunatec/inq-dn-content"] {
  max-width: none !important;
  width: 100% !important;
  margin: 0 !important;
}
.sn-inq-dn-editor-main-wrap .wp-block[data-type="sunatec/inq-dn-content"] > main {
  max-width: none;
  width: 100%;
}
/* esa-body — same pattern as est-body: thin main-wrap flex:1, esa-form
 * (which emits its own <main>) fills it. */
.sn-esa-editor-main-wrap {
  flex: 1;
  min-width: 0;
}
.sn-esa-editor-main-wrap,
.sn-esa-editor-main-wrap > .block-editor-inner-blocks,
.sn-esa-editor-main-wrap > .block-editor-inner-blocks > .block-editor-block-list__layout,
.sn-esa-editor-main-wrap .wp-block[data-type="sunatec/esa-form"] {
  max-width: none !important;
  width: 100% !important;
  margin: 0 !important;
}
.sn-esa-editor-main-wrap .wp-block[data-type="sunatec/esa-form"] > main {
  max-width: none;
  width: 100%;
}
/* esa-cf-body — same pattern as est-cf-body. */
.sn-esa-cf-editor-main-wrap {
  flex: 1;
  min-width: 0;
}
.sn-esa-cf-editor-main-wrap,
.sn-esa-cf-editor-main-wrap > .block-editor-inner-blocks,
.sn-esa-cf-editor-main-wrap > .block-editor-inner-blocks > .block-editor-block-list__layout,
.sn-esa-cf-editor-main-wrap .wp-block[data-type="sunatec/esa-cf-content"] {
  max-width: none !important;
  width: 100% !important;
  margin: 0 !important;
}
.sn-esa-cf-editor-main-wrap .wp-block[data-type="sunatec/esa-cf-content"] > main {
  max-width: none;
  width: 100%;
}
/* esa-dn-body — same pattern as est-dn-body. */
.sn-esa-dn-editor-main-wrap {
  flex: 1;
  min-width: 0;
}
.sn-esa-dn-editor-main-wrap,
.sn-esa-dn-editor-main-wrap > .block-editor-inner-blocks,
.sn-esa-dn-editor-main-wrap > .block-editor-inner-blocks > .block-editor-block-list__layout,
.sn-esa-dn-editor-main-wrap .wp-block[data-type="sunatec/esa-dn-content"] {
  max-width: none !important;
  width: 100% !important;
  margin: 0 !important;
}
.sn-esa-dn-editor-main-wrap .wp-block[data-type="sunatec/esa-dn-content"] > main {
  max-width: none;
  width: 100%;
}
/* tel-body — same pattern as est-body / inq-body: thin main-wrap flex:1, tel-content fills it. */
.sn-tel-editor-main-wrap {
  flex: 1;
  min-width: 0;
}
.sn-tel-editor-main-wrap,
.sn-tel-editor-main-wrap > .block-editor-inner-blocks,
.sn-tel-editor-main-wrap > .block-editor-inner-blocks > .block-editor-block-list__layout,
.sn-tel-editor-main-wrap .wp-block[data-type="sunatec/tel-content"] {
  max-width: none !important;
  width: 100% !important;
  margin: 0 !important;
}
.sn-tel-editor-main-wrap .wp-block[data-type="sunatec/tel-content"] > main {
  max-width: none;
  width: 100%;
}
.sn-con-editor-layout .wp-block-sunatec-con-sidebar,
.sn-con-editor-layout [data-type="sunatec/con-sidebar"],
.sn-con-editor-layout .wp-block-sunatec-est-sidebar,
.sn-con-editor-layout [data-type="sunatec/est-sidebar"],
.sn-con-editor-layout .wp-block-sunatec-inq-sidebar,
.sn-con-editor-layout [data-type="sunatec/inq-sidebar"],
.sn-con-editor-layout .wp-block-sunatec-tel-sidebar,
.sn-con-editor-layout [data-type="sunatec/tel-sidebar"],
/* est-cf-body reuses sn-con-editor-layout — hide any standalone est-sidebar/
 * est-cf-content markers if they exist at the layout root. */
.sn-con-editor-layout .wp-block-sunatec-est-cf-content ~ .wp-block-sunatec-est-sidebar {
  display: none;
}
/* Dead code — the old flat sibling grid layout (inq-sidebar next to inq-form
 * at root level) was replaced by the inq-body wrapper (mirror of con-body).
 * The extra .is-selected box-shadow on inq-form doubled up with Gutenberg's
 * default outline, making the selection border look thicker than /contact/ or
 * /estimate/. Leaf blocks now use Gutenberg's default outline only. */

/* Sidebar */
.sn-req-sidebar {
  width: 270px;
  flex: none;
  position: sticky;
  /* Offset the sticky sn-req-sidebar below .site-header-wrap (position:sticky,
   * top:0) which occupies the top 105px of the viewport. 105 + 24 gap = 129. */
  top: 129px;
}
.sn-req-sidebar .sn-mm-sidebar-nav {
  width: 100%;
  max-width: none;
  box-sizing: border-box;
  align-items: stretch;
}
.sn-req-sidebar .sn-mm-sidebar-title,
.sn-req-sidebar .sn-mm-sidebar-link {
  width: 100%;
  box-sizing: border-box;
}
.sn-req-sidebar-menu {
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  overflow: hidden;
}
.sn-req-sidebar-title {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 68.1px;
  box-sizing: border-box;
  background: #008E8C;
  color: #E9ECEE;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700; 
  font-size: 18px; 
  line-height: 22px;
  border-bottom: 1px solid #FFFFFF;
}
.sn-req-sidebar-link {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 68.1px;
  box-sizing: border-box;
  background: #E9ECEE;
  color: #008E8C;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700; 
  font-size: 18px; 
  line-height: 22px;
  border-bottom: 1px solid #FFFFFF;
  text-decoration: none;
  transition: background .15s ease, color .15s ease;
}
.sn-req-sidebar-link:last-child {
  border-bottom: none;
}
.sn-req-sidebar-link.is-active,
.sn-req-sidebar-link:hover {
  background: #008E8C;
  color: #FFFFFF;
}

/* Section Title */
.sn-req-section-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 16px;
}
.sn-req-section-title-wrap.no-border {
  margin-bottom: 16px;
}
.sn-req-section-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 32px;
  color: #061C3D;
  letter-spacing: -0.02em;
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.sn-req-section-line {
  width: 100%;
  height: 3px;
  background: #008E8C;
}
.sn-req-title-large {
  font-size: 32px;
  line-height: 40px;
  color: #061C3D;
  letter-spacing: -0.02em;
}

/* Main Content Typography */
.sn-req-top-content-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}
.sn-req-subtitle {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 32px;
  color: #00C48A;
  letter-spacing: -0.02em;
  margin: 0;
}
.sn-req-heading-medium {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 32px;
  color: #061C3D;
  letter-spacing: -0.02em;
  margin: 0;
}
.sn-req-text {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #42526B;
  margin: 0;
}

/* E-Service Box */
.sn-req-eservice-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 16px;
}
.sn-req-eservice-header {
  display: flex;
  align-items: center;
  gap: 12px;
}
.sn-req-eservice-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 32px;
  color: #061C3D;
  letter-spacing: -0.02em;
}
.sn-req-eservice-icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
}
.sn-req-eservice-line {
  width: 100%;
  height: 3px;
  background: #008E8C;
}

.sn-req-features {
  display: flex;
  gap: 20px;
  margin-bottom: 31px;
}
.sn-req-feature-card {
  flex: 1;
  background: #FFFFFF;
  border: 2px solid #008F8D;
  border-radius: 8px;
  padding: 32px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
  position: relative;
  margin-top: 24px;
  min-height: 208px;
  box-sizing: border-box;
}
.sn-req-feature-badge {
  position: absolute;
  top: -24px;
  left: 25px;
  width: 64px;
  height: 64px;
  background: #008F8D;
  border-radius: 100px;
  color: #FFFFFF;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 900;
  font-size: 30px;
  line-height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: -0.02em;
}
.sn-req-feature-icon {
  width: 80px;
  height: 80px;
}
.sn-req-feature-text {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  font-size: 18px;
  line-height: 26px;
  color: #061C3D;
}

.sn-req-btn-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}
.sn-req-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #008F8D;
  background-image: url('../../images/Btn_background.png');
  background-size: cover;
  background-position: center;
  color: #FFFFFF;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 32px;
  padding: 10px 16px 10px 24px;
  border: 0;
  border-radius: 8px;
  text-decoration: none;
  gap: 10px;
  min-width: 254px;
  height: 56px;
  box-sizing: border-box;
  letter-spacing: -0.02em;
  cursor: pointer;
  transition: opacity 0.3s;
}
.sn-req-btn:hover {
  opacity: 0.9;
  color: #FFFFFF;
}
.sn-req-btn-icon {
  width: 40px;
  height: 40px;
}
/* Blue variant — used by 送信する (confirm) and トップページへ (done). */
.sn-req-btn--blue {
  background-image: url('../../images/btn_background_blue_v3.png');
}

/* Completion / form card (見積もりのご依頼 完了 ・ お問い合わせ form) */
.sn-req-main-complete,
.sn-req-main-form {
  box-sizing: border-box;
  padding: 40px 40px 22px;
  background: #FFFFFF;
  border: 1px solid #CDD2D8;
  border-radius: 8px;
}
.sn-req-main-form { gap: 16px; padding-bottom: 40px; }
.sn-req-complete-group {
  display: flex;
  flex-direction: column;
  width: 100%;
}
.sn-req-complete-group .sn-req-section-title-wrap { margin-bottom: 16px; }
.sn-req-complete-group .sn-req-text { margin-bottom: 20px; }
.sn-req-complete-group .sn-req-info-box { margin-bottom: 40px; }
.sn-req-complete-group .sn-req-btn-wrap { margin: 0; }

.sn-req-info-box {
  position: relative;
  overflow: hidden;
  border: 1px solid #CDD2D8;
  border-radius: 8px;
  background: #FFFFFF;
  padding: 34px 48px;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #061C3D;
}
.sn-req-info-box::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 12px;
  background: #CFECE4;
}
/* Standalone FAQ: the block sits as a sibling of .sn-req-body-layout (e.g.
 * /eservice-guide/, /offer/telephone/), so it has to recreate the page gutter itself. */
.sn-req-faq-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}
/* In-column FAQ: on pages that seed the FAQ block INSIDE the body wrapper
 * (e.g. /eservice/ — es-faq nested in es-body, /food-inspection/ in sn-page-main-content),
 * .sn-req-main or .sn-page-main-content/editor wrapper already applies the gutter.
 * Re-applying them here would inset the card a further 40px and break alignment. */
.sn-req-main > .sn-req-faq-wrap,
.sn-page-main-content .sn-req-faq-wrap,
.sn-editor-main-content .sn-req-faq-wrap,
[data-type="sunatec/fi-global-faq"] .sn-req-faq-wrap,
[data-type="sunatec/fid-global-faq"] .sn-req-faq-wrap {
  max-width: none;
  margin: 0;
  padding: 0;
}
@media (max-width: 768px) {
  .sn-req-main-complete,
  .sn-req-main-form { padding: 24px 16px; }
  .sn-req-info-box { padding: 20px 24px; font-size: 14px; line-height: 22px; }
  .sn-req-faq-wrap { padding: 0 16px; }
  .sn-req-main > .sn-req-faq-wrap,
  .sn-page-main-content .sn-req-faq-wrap,
  .sn-editor-main-content .sn-req-faq-wrap,
  [data-type="sunatec/fi-global-faq"] .sn-req-faq-wrap,
  [data-type="sunatec/fid-global-faq"] .sn-req-faq-wrap { padding: 0; }
}

/* ── Inquiry form (お問い合わせ) ─────────────────────────────── */
.sn-req-done-title-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
}
.sn-req-done-title {
  margin: 0;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 32px;
  letter-spacing: -1.2px;
  color: #1F1F25;
}
.sn-req-form-title { margin-bottom: 0; }
.sn-est-hint {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: 13px;
  line-height: 20px;
  color: #E7380D;
  margin: 6px 0 0;
}
.sn-req-lead-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}
.sn-req-lead-row .sn-req-text { flex: 1; min-width: 0; }
.sn-req-video-btn {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  flex: none;
  width: 271px;
  height: 56px;
  box-sizing: border-box;
  background: #FE7F00;
  background-image: url('../../images/btn_background_yellow.png');
  background-size: cover;
  background-position: center;
  color: #FFFFFF;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 32px;
  letter-spacing: -0.02em;
  padding: 10px 16px;
  border-radius: 8px;
  text-decoration: none;
  transition: opacity .2s;
}
.sn-req-video-btn:hover {
  opacity: .9;
  color: #FFFFFF;
}
.sn-req-video-play { width: 40px; height: 40px; flex: none; }

.sn-req-notes-list { margin-bottom: 24px; }
.sn-req-note {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #42526B;
  margin: 0;
}
.sn-inq-link { color: #008F8D; text-decoration: none; }
.sn-inq-agree {
  text-align: center;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  color: #42526B;
  margin: 24px 0 0;
}
.sn-inq-agree .sn-inq-link { color: #008F8D; }

.sn-inq-form { margin-top: 8px; }
.sn-inq-field { margin-bottom: 20px; }

/* Horizontal field (お問い合わせ内容: label left, control right) */
.sn-inq-hfield {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
}
.sn-inq-hfield--content { gap: 40px; }
.sn-inq-hfield--source { gap: 90px; }
.sn-inq-hctrl { flex: 1; min-width: 0; }
.sn-inq-label.sn-inq-label--col {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  max-width: 220px;
  margin-bottom: 0;
  font-weight: 700;
  font-size: 16px;
  line-height: 24px;
  color: #061C3D;
}
.sn-inq-label--col .sn-inq-req {
  flex: none;
  align-self: center;
}
.sn-inq-row {
  display: flex;
  gap: 20px;
}
.sn-inq-row .sn-inq-field { flex: 1; min-width: 0; }
.sn-inq-field--pref { flex: 0 0 200px; }

/* Field label (form rows) */
.sn-inq-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 1.4;
  color: #0A0A0A;
  margin-bottom: 8px;
}
/* Sub-section heading (ご住所) */
.sn-inq-subhead {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 32px;
  letter-spacing: -0.02em;
  color: #061C3D;
  margin: 8px 0 12px;
}
.sn-inq-req {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #FB2C36;
  color: #FFFFFF;
  font-size: 10px;
  font-weight: 400;
  line-height: 16px;
  padding: 0 6px;
  border-radius: 4px;
}

.sn-inq-input,
.sn-inq-textarea,
.sn-inq-select {
  width: 100%;
  box-sizing: border-box;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  line-height: 1.4;
  color: #061C3D;
  background: #FFFFFF;
  border: 1px solid #CDD2D8;
  border-radius: 5px;
  padding: 9px 12px;
  transition: border-color .15s ease;
}
.sn-inq-input:focus,
.sn-inq-textarea:focus,
.sn-inq-select:focus {
  outline: none;
  border-color: #008E8C;
}
.sn-inq-input::placeholder,
.sn-inq-textarea::placeholder { color: #999999; }
.sn-inq-textarea { resize: vertical; min-height: 112px; }
.sn-inq-select { appearance: auto; }

.sn-inq-zip {
  display: flex;
  align-items: center;
  gap: 10px;
}
.sn-inq-input--zip { width: 159px; }
.sn-inq-zip-sep { color: #061C3D; }

.sn-inq-radios {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.sn-inq-radio {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  line-height: 20px;
  color: #061C3D;
  cursor: pointer;
}
.sn-inq-radio input {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  flex: none;
  margin: 0;
  box-sizing: border-box;
  border: 1.5px solid #CDD2D8;
  border-radius: 50%;
  background: #FFFFFF;
  position: relative;
  cursor: pointer;
  transition: border-color .15s ease;
}
.sn-inq-radio input:checked { border-color: #008E8C; }
.sn-inq-radio input:checked::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: #008E8C;
}

.sn-inq-file-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: 1px solid #999999;
  border-radius: 50px;
  padding: 0 32px 0 26px;
  height: 40px;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: #6D6B6B;
  cursor: pointer;
  transition: background .15s ease;
}
.sn-inq-file-btn:hover { background: #F2F5F7; }
.sn-inq-file-icon { width: 24px; height: 24px; flex: none; }
.sn-inq-file { display: inline-flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.sn-inq-file-name {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  color: #42526B;
  word-break: break-all;
}

.sn-inq-error {
  background: #FDECEC;
  border: 1px solid #F3B4B0;
  border-radius: 6px;
  padding: 12px 16px;
  margin: 0 0 16px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  color: #C0392B;
}

/* ── Confirmation screen (確認) ─────────────────────────────── */
.sn-inq-confirm {
  margin: 0;
  border-top: 1px solid #E6E8EC;
}
.sn-inq-confirm-row {
  display: flex;
  align-items: center;
  gap: 80px;
  padding: 12px 0;
  border-bottom: 1px solid #E6E8EC;
}
.sn-inq-confirm-row--top { align-items: flex-start; }
.sn-inq-confirm-label {
  flex: 0 0 210px;
  margin: 0;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  color: #42526B;
}
.sn-inq-confirm-value {
  flex: 1;
  min-width: 0;
  margin: 0;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  color: #42526B;
  word-break: break-word;
}
.sn-inq-confirm-note { margin: 0; color: #42526B; }
.sn-inq-confirm-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 64px;
  margin-top: 8px;
}
.sn-inq-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 32px;
  letter-spacing: -0.02em;
  color: #061C3D;
  padding: 8px;
  transition: opacity .2s;
}
.sn-inq-back-btn:hover {
  opacity: .7;
  color: #061C3D;
}
.sn-inq-back-arrow { font-size: 24px; line-height: 1; }

@media (max-width: 768px) {
  .sn-inq-confirm-row { flex-direction: column; align-items: stretch; gap: 4px; }
  .sn-inq-confirm-label {
    flex: 0 0 auto;
    font-size: 14px;
    line-height: 1.55;
  }
  .sn-inq-confirm-value,
  .sn-inq-confirm-note {
    font-size: 14px;
    line-height: 1.65;
  }
  .sn-inq-confirm-actions { gap: 24px; }
  .sn-inq-back-btn {
    font-size: 17px;
    line-height: 1.45;
  }
}

@media (max-width: 768px) {
  .sn-req-lead-row { flex-direction: column; align-items: stretch; }
  .sn-req-video-btn {
    width: auto;
    align-self: center;
    font-size: 20px;
    height: 48px;
    padding: 8px 16px;
  }
  .sn-req-video-play { width: 32px; height: 32px; }
  .sn-inq-row { flex-direction: column; gap: 0; }
  .sn-inq-field--pref { flex: 1; }
  .sn-inq-input--zip { width: 120px; }
  .sn-inq-hfield { flex-direction: column; align-items: stretch; gap: 8px; }
  .sn-inq-label.sn-inq-label--col {
    flex: 0 0 auto;
    max-width: none;
    font-size: 14px;
    line-height: 1.55;
  }
  .sn-inq-label,
  .sn-inq-input,
  .sn-inq-textarea,
  .sn-inq-select,
  .sn-inq-radio,
  .sn-inq-file-btn,
  .sn-inq-file-name,
  .sn-inq-error,
  .sn-req-note,
  .sn-inq-agree {
    font-size: 13px;
    line-height: 1.6;
  }
  .sn-inq-subhead {
    font-size: 17px;
    line-height: 1.45;
  }
  .sn-req-notes-list {
    margin-bottom: 0;
  }
  .sn-est-hint {
    font-size: 12px;
    line-height: 1.55;
  }
}

@media (max-width: 480px) {
  .sn-inq-label,
  .sn-inq-label.sn-inq-label--col,
  .sn-inq-input,
  .sn-inq-textarea,
  .sn-inq-select,
  .sn-inq-radio,
  .sn-inq-file-btn,
  .sn-inq-file-name,
  .sn-inq-error,
  .sn-inq-confirm-label,
  .sn-inq-confirm-value,
  .sn-inq-confirm-note,
  .sn-req-note,
  .sn-inq-agree {
    font-size: 12px;
    line-height: 1.6;
  }
  .sn-inq-subhead {
    font-size: 16px;
    line-height: 1.45;
  }
  .sn-inq-input,
  .sn-inq-textarea,
  .sn-inq-select {
    padding: 8px 10px;
  }
  .sn-inq-file-btn {
    height: auto;
    min-height: 38px;
    padding: 8px 18px;
  }
  .sn-inq-zip {
    flex-wrap: wrap;
  }
  .sn-inq-back-btn {
    font-size: 15px;
  }
}

/* Notes Section */
.sn-req-notes-block {
  margin-bottom: 24px;
}
.sn-req-notes-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 24px;
  color: #42526B;
  margin-bottom: 8px;
}
.sn-req-notes-desc {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #42526B;
  margin-bottom: 16px;
}
.sn-req-notes-desc ul {
  padding-left: 20px;
  margin: 0;
}
.sn-req-notes-desc ul li {
  list-style-type: disc;
  margin-bottom: 4px;
}
.sn-req-pdf-buttons {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 710px;
}
.sn-req-pdf-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0px 20px 0px 16px;
  background: transparent;
  border: 1.5px solid #008F8D;
  border-radius: 100px;
  color: #008F8D;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 14px;
  line-height: 40px;
  height: 40px;
  text-decoration: none;
  box-sizing: border-box;
  text-transform: capitalize;
  white-space: nowrap;
}
.sn-req-pdf-btn:first-child {
  width: 444px;
  max-width: 100%;
}
.sn-req-pdf-btn:last-child {
  width: 256px;
  max-width: 100%;
}
.sn-req-pdf-btn:hover {
  background: #f0fdfd;
  color: #008F8D;
}

/* Downloads Section */
.sn-req-download-list {
  display: flex;
  flex-direction: column;
}
.sn-req-download-row {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  border-top: 1px solid #E6E8EC;
  border-bottom: 1px solid #E6E8EC;
  margin-top: -1px; /* collapse borders */
}
.sn-req-download-cell {
  display: flex;
  align-items: center;
  box-sizing: border-box;
}
.sn-req-download-cell-text {
  width: 537px;
  padding: 10px 12px;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  color: #42526B;
}
.sn-req-download-cell-icon {
  width: 92px;
  padding: 10px 12px;
  justify-content: center;
}
.sn-req-download-cell-icon2 {
  width: 92px;
  padding: 10px 12px 10px 0;
  justify-content: center;
}
.sn-req-download-cell-action {
  width: 169px;
  flex-grow: 1;
  padding: 10px 12px;
  justify-content: center;
}
.sn-req-download-btn {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 0px 20px;
  gap: 8px;
  width: 145px;
  height: 40px;
  background: #008F8D;
  border-radius: 100px;
  font-family: 'Noto Sans JP', sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 14px;
  line-height: 40px;
  text-transform: capitalize;
  color: #FFFFFF;
  text-decoration: none;
  transition: opacity 0.3s;
}
.sn-req-download-btn:hover {
  opacity: 0.9;
  color: #FFFFFF;
}

/* Responsive */
@media (max-width: 991px) {
  .sn-req-body-layout {
    flex-direction: column;
    padding: 32px 20px;
    gap: 32px;
  }
  .sn-req-sidebar {
    width: 100%;
    position: static;
  }
  .sn-req-header-wrap {
    padding: 0 20px;
  }
  .sn-req-breadcrumb-wrap {
    padding: 0 20px;
  }
  .sn-req-sidebar .sn-mm-sidebar-nav {
    max-width: none;
    margin-bottom: 0;
  }
  .sn-req-features {
    flex-direction: column;
    gap: 40px;
    margin-bottom: 40px;
  }
  .sn-req-feature-card {
    min-height: auto;
  }
  .sn-req-pdf-buttons {
    flex-direction: column;
    width: 100%;
  }
  .sn-req-pdf-btn:first-child,
  .sn-req-pdf-btn:last-child {
    width: 100%;
    max-width: none;
  }
  .sn-req-download-row {
    flex-wrap: wrap;
    padding: 12px 0;
  }
  .sn-req-download-cell-text {
    width: 100%;
    flex: 0 0 100%;
    padding: 8px 12px;
  }
  .sn-req-download-cell-icon,
  .sn-req-download-cell-icon2 {
    width: auto;
    padding: 8px 12px;
  }
  .sn-req-download-cell-action {
    width: auto;
    flex: 1;
    padding: 8px 12px;
    justify-content: flex-end;
  }
}

@media (max-width: 768px) {
  .sn-req-sidebar .sn-mm-sidebar-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    border-radius: 12px;
    background: #fff;
  }
  .sn-req-sidebar .sn-mm-sidebar-title {
    grid-column: 1 / -1;
    border-radius: 0;
  }
  .sn-req-sidebar .sn-mm-sidebar-link {
    min-height: 48px;
    border: 0;
    border-radius: 0 !important;
  }
}

@media (max-width: 480px) {
  .sn-req-sidebar .sn-mm-sidebar-title,
  .sn-req-sidebar .sn-mm-sidebar-link {
    padding: 10px 12px;
    font-size: 12px;
    line-height: 1.45;
  }
}

@media (max-width: 991px) {
  .sn-req-title {
    font-size: 28px;
    line-height: 36px;
    padding: 10px 20px;
  }
  .sn-req-title-large {
    font-size: 28px;
    line-height: 36px;
  }
  .sn-req-subtitle,
  .sn-req-heading-medium,
  .sn-req-section-title,
  .sn-req-eservice-title {
    font-size: 22px;
    line-height: 30px;
  }
  .sn-req-feature-text {
    font-size: 16px;
    line-height: 24px;
  }
}

@media (max-width: 768px) {
  .sn-req-title {
    font-size: clamp(20px, 5.8vw, 22px);
    line-height: 1.35;
    height: auto;
    min-height: 52px;
    padding: 10px 16px;
    letter-spacing: -0.01em;
    max-width: 100%;
    word-break: break-word;
    overflow-wrap: anywhere;
  }
  .sn-req-title-large {
    font-size: clamp(22px, 6vw, 26px);
    line-height: 1.35;
  }
  .sn-req-subtitle {
    font-size: clamp(18px, 5vw, 20px);
    line-height: 1.45;
  }
  .sn-req-heading-medium,
  .sn-req-section-title,
  .sn-req-eservice-title {
    font-size: clamp(18px, 5vw, 20px);
    line-height: 1.4;
  }
  .sn-req-main > h2,
  .sn-req-main > .wp-block-heading {
    font-size: clamp(18px, 5vw, 20px);
    line-height: 1.45;
  }
  .sn-req-text,
  .sn-req-main > p,
  .sn-req-notes-desc,
  .sn-req-download-cell-text {
    font-size: 14px;
    line-height: 1.75;
  }
  .sn-req-feature-badge {
    font-size: 24px;
    line-height: 30px;
  }
  .sn-req-feature-text {
    font-size: 15px;
    line-height: 1.55;
  }
  .sn-req-download-cell-action {
    flex: 0 0 100%;
    justify-content: center;
  }
  .sn-req-pdf-btn {
    font-size: 13px;
    white-space: normal;
    height: auto;
    padding: 12px 16px;
    line-height: 1.4;
    text-align: center;
  }
  .sn-req-features {
    gap: 32px;
    margin-bottom: 32px;
  }
  .sn-req-btn {
    font-size: 18px;
    line-height: 1.35;
    height: 48px;
    min-width: auto;
    padding: 8px 16px 8px 20px;
  }
  .sn-req-btn-icon {
    width: 32px;
    height: 32px;
  }
}

@media (max-width: 480px) {
  .sn-req-title {
    font-size: clamp(17px, 5.4vw, 18px);
    line-height: 1.4;
    min-height: 46px;
    padding: 8px 12px;
  }
  .sn-req-title-large {
    font-size: 21px;
    line-height: 1.35;
  }
  .sn-req-subtitle,
  .sn-req-heading-medium,
  .sn-req-section-title,
  .sn-req-eservice-title {
    font-size: 17px;
    line-height: 1.45;
  }
  .sn-req-main > h2,
  .sn-req-main > .wp-block-heading {
    font-size: 17px;
    line-height: 1.45;
  }
  .sn-req-text,
  .sn-req-main > p,
  .sn-req-notes-desc,
  .sn-req-download-cell-text {
    font-size: 13px;
    line-height: 1.75;
  }
  .sn-req-feature-text {
    font-size: 14px;
    line-height: 1.5;
  }
  .sn-req-notes-title {
    font-size: 14px;
    line-height: 1.45;
  }
  .sn-req-download-btn {
    font-size: 12px;
  }
  .sn-req-header-wrap,
  .sn-req-breadcrumb-wrap {
    padding: 0 12px;
  }
}

/* ── 電話でのお問い合わせ (page-tel.php) ─────────────────────────── */

/* Main container override: Frame 1000007950 — white card with border */
.sn-tel-main {
  position: relative;
  min-height: 421px;
  background: #FFFFFF;
  border: 1px solid #CDD2D8;
  border-radius: 28px;
  padding: 31px 40px 40px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* Title block (Frame 1000007855 / 1000007049) */
.sn-tel-title-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
.sn-tel-page-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 32px;
  line-height: 40px;
  letter-spacing: -0.02em;
  color: #061C3D;
  margin: 0;
}
.sn-tel-page-desc {
  font-family: 'Noto Sans JP', sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 24px;
  line-height: 32px;
  letter-spacing: -0.02em;
  color: #061C3D;
  margin: 0;
}

/* Card wrapper — holds both the accent bar and the bordered box */
.sn-tel-card-wrap {
  position: relative;
  width: 100%;
}

/* Green accent bar (Rectangle 81208) */
.sn-tel-card-accent {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 10px;
  background: #CFECE4;
  border-radius: 10px 0 0 8px;
  z-index: 1;
}

/* White bordered box (Rectangle 81023) */
.sn-tel-card-body {
  position: relative;
  margin-left: 5px;
  background: #FFFFFF;
  border: 1px solid #CDD2D8;
  border-radius: 8px;
  padding: 22px 32px 22px 42px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 16px; /* gap between groups */
}

/* Group: label + value lines stacked vertically */
.sn-tel-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* Each line of text */
.sn-tel-line {
  font-family: 'Noto Sans JP', sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #061C3D;
  margin: 0;
}
.sn-tel-line strong {
  font-weight: 700;
  color: #061C3D;
}
.sn-tel-line--bold {
  font-weight: 700;
}
.sn-tel-line--indent {}

/* TEL / FAX links */
.sn-tel-link {
  color: #016FFF;
  text-decoration: none;
  font-weight: 400;
}
.sn-tel-link:hover { text-decoration: underline; }

/* Mail link */
.sn-tel-mail-link {
  color: #016FFF;
  text-decoration: none;
  font-weight: 400;
}
.sn-tel-mail-link:hover { text-decoration: underline; }

/* ── Responsive ── */
@media (max-width: 991px) {
  .sn-tel-main {
    min-height: auto;
    border-radius: 16px;
    padding: 24px 20px 32px;
    gap: 24px;
  }
  .sn-tel-page-title { font-size: 26px; line-height: 34px; }
  .sn-tel-page-desc  { font-size: 18px; line-height: 26px; }
}
@media (max-width: 768px) {
  .sn-tel-main { border-radius: 12px; padding: 20px 16px 28px; gap: 20px; }
  .sn-tel-card-body { padding: 18px 16px 18px 32px; gap: 12px; }
  .sn-tel-page-title { font-size: 22px; line-height: 30px; }
  .sn-tel-page-desc  { font-size: 16px; line-height: 24px; }
  .sn-tel-line { font-size: 14px; line-height: 22px; }
}

/* ── Agreement checkbox label (used by inquiry/eservice-application forms) ── */
.sn-inq-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  margin-bottom: 8px;
}
.sn-inq-terms-link {
  color: #016FFF;
  text-decoration: none;
}
