/* MT8: isolated Zancon 2026 page styles. Generated from zancon-draft/styles.css. */
/* Keep original shared header/footer untouched; all product rules are .zancon-v2 scoped. */
.conte_2col .contents_inner { max-width: 100%; margin: 0; }
.zancon-v2 { width: 100%; min-width: 0; }
.zancon-v2 {

  --brown: #502903;
  --blue: #1a73e8;
  --blue-dark: #115cbf;
  --ink: #111111;
  --body: #222222;
  --muted: #555555;
  --line: #dedede;
  --paper: #f6f7f8;

}

.zancon-v2, .zancon-v2 * {

  box-sizing: border-box;

}

html {

  scroll-behavior: smooth;
  scroll-padding-top: 24px;

}

.zancon-v2 {

  margin: 0;
  color: var(--body);
  background: #ffffff;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.85;

}

.zancon-v2 a {

  color: inherit;
  text-decoration: none;

}

.zancon-v2 a:hover {

  text-decoration: underline;
  text-underline-offset: 4px;

}

.zancon-v2 button {

  font: inherit;

}

.zancon-v2 img {

  display: block;
  max-width: 100%;
  height: auto;

}

.zancon-v2 figure,
.zancon-v2 p,
.zancon-v2 h1,
.zancon-v2 h2,
.zancon-v2 h3,
.zancon-v2 ul,
.zancon-v2 ol {

  margin: 0;

}

.zancon-v2 p + p {

  margin-top: 16px;

}

.zancon-v2 sup {

  font-size: 0.55em;
  vertical-align: super;
  font-weight: 700;

}

.zancon-v2 .wrap {

  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;

}

.zancon-v2 a:focus-visible,
.zancon-v2 button:focus-visible {

  outline: 3px solid var(--blue);
  outline-offset: 4px;

}

.zancon-v2 .skip {

  position: fixed;
  left: 12px;
  top: -100px;
  background: #fff;
  padding: 10px 14px;
  z-index: 100;
  border: 2px solid var(--blue);

}

.zancon-v2 .skip:focus {

  top: 10px;

}

.zancon-v2 .top-bar {

  background: var(--brown);
  color: #fff;
  font-size: 12px;
  padding: 4px 16px;
  text-align: center;
  letter-spacing: 0.04em;

}

.zancon-v2 .header-inner {

  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 108px;
  gap: 24px;

}

.zancon-v2 .logo {

  width: 440px;
  max-width: 65%;

}

.zancon-v2 .header-contact {

  border: 2px solid #000;
  border-radius: 8px;
  padding: 10px 36px;
  color: #000;
  font-weight: 700;
  font-size: 16px;
  background: #fff;

}

.zancon-v2 .header-contact:hover {

  background: var(--brown);
  border-color: var(--brown);
  color: #fff;
  text-decoration: none;

}

.zancon-v2 .site-nav {

  background: var(--brown);
  color: #fff;

}

.zancon-v2 .nav-inner {

  display: grid;
  grid-template-columns: 0.7fr 1fr 1.3fr 1fr 1fr 1.3fr;

}

.zancon-v2 .nav-inner a {

  min-height: 68px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  line-height: 1.45;
  border-left: 1px solid #ffffff30;
  padding: 10px 8px;
  text-align: center;
  font-size: 15px;

}

.zancon-v2 .nav-inner a:last-child {

  border-right: 1px solid #ffffff30;

}

.zancon-v2 .nav-inner a span {

  font-size: 11px;
  font-weight: 400;
  opacity: 0.9;

}

.zancon-v2 .nav-inner a[aria-current="page"],
.zancon-v2 .nav-inner a.current,
.zancon-v2 .nav-inner a:hover {

  background: #ffffff22;
  text-decoration: none;

}

.zancon-v2 .menu-toggle {

  display: none;

}

.zancon-v2 .breadcrumb {

  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--muted);
  padding-block: 16px;

}

.zancon-v2 .hero-bg {

  background-color: #1c1f22;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;

}

.zancon-v2 .hero-overlay {

  background: linear-gradient(90deg, rgba(15, 18, 22, 0.86) 0%, rgba(15, 18, 22, 0.70) 60%, rgba(15, 18, 22, 0.50) 100%);
  padding-block: 76px;

}

.zancon-v2 .hero-inner {

  color: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 32px;

}

.zancon-v2 .hero-main-copy {

  max-width: 840px;

}

.zancon-v2 .hero-kicker {

  display: inline-block;
  background: var(--blue);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 4px;
  letter-spacing: 0.04em;
  margin-bottom: 18px;

}

.zancon-v2 .hero h1 {

  font-size: clamp(36px, 4.5vw, 52px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.04em;

}

.zancon-v2 .hero-lead {

  margin-top: 22px;
  font-size: 18px;
  line-height: 1.9;
  color: #f0f2f5;

}

.zancon-v2 .hero-lead strong {

  color: #ffffff;
  background: rgba(26, 115, 232, 0.45);
  padding: 2px 6px;
  border-radius: 3px;

}

.zancon-v2 .hero-actions {

  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;

}

.zancon-v2 .button {

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: var(--blue);
  color: #fff;
  min-height: 54px;
  padding: 14px 44px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.5;

}

.zancon-v2 .button:hover {

  background: var(--blue-dark);
  text-decoration: none;

}

.zancon-v2 .recent-articles-section {

  margin-block: 28px;

}

.zancon-v2 .recent-articles-box {

  border: 1px solid #cccccc;
  background: #ffffff;
  padding: 24px 30px;
  border-radius: 4px;

}

.zancon-v2 .recent-articles-heading {

  font-size: 18px;
  color: #666666;
  font-weight: 700;
  margin-bottom: 14px;

}

.zancon-v2 .recent-articles-list {

  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;

}

.zancon-v2 .recent-articles-list li {

  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 16px;
  border-bottom: 1px dotted #e2e2e2;
  padding-bottom: 8px;
  font-size: 15px;

}

.zancon-v2 .recent-articles-list .date {

  color: #777777;
  font-weight: 700;
  font-size: 14px;
  min-width: 92px;

}

.zancon-v2 .recent-articles-list a {

  color: #222222;

}

.zancon-v2 .recent-articles-list a:hover {

  color: var(--blue);

}

.zancon-v2 .recent-articles-more {

  margin-top: 12px;
  text-align: right;
  font-size: 14px;
  font-weight: 700;

}

.zancon-v2 .recent-articles-more a {

  color: var(--blue);

}

.zancon-v2 .page-nav {

  border-block: 1px solid var(--line);
  background: #fafafa;

}

.zancon-v2 .page-nav .wrap {

  display: flex;
  justify-content: center;
  flex-wrap: wrap;

}

.zancon-v2 .page-nav a {

  padding: 16px 28px;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;

}

.zancon-v2 .page-nav a:hover {

  color: var(--blue);
  text-decoration: none;

}

.zancon-v2 .section {

  padding-block: 76px;

}

.zancon-v2 .section-header {

  text-align: center;
  max-width: 820px;
  margin-inline: auto;
  margin-bottom: 48px;

}

.zancon-v2 .section-en {

  display: block;
  color: var(--blue);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 8px;

}

.zancon-v2 h2 {

  font-size: clamp(24px, 2.8vw, 32px);
  line-height: 1.5;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.03em;

}

.zancon-v2 .section-lead {

  margin-top: 14px;
  color: #444444;
  font-size: 16px;
  line-height: 1.85;

}

.zancon-v2 .about-layout {

  display: grid;
  grid-template-columns: 0.95fr 1.15fr;
  gap: 52px;
  align-items: center;

}

.zancon-v2 .about-image img {

  width: 100%;
  max-height: 500px;
  border-radius: 8px;
  object-fit: cover;

}

.zancon-v2 .about-title {

  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 18px;

}

.zancon-v2 .about-title .title-main {

  font-size: clamp(36px, 4.2vw, 52px);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.15;

}

.zancon-v2 .about-title .title-sub {

  font-size: 24px;
  font-weight: 700;

}

.zancon-v2 .about-lead {

  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.6;
  margin-bottom: 16px;

}

.zancon-v2 .about-content p {

  line-height: 1.9;
  color: #333;

}

.zancon-v2 .two-types-card {

  margin-top: 24px;
  background: var(--paper);
  border-left: 4px solid var(--brown);
  padding: 18px 22px;
  border-radius: 4px;

}

.zancon-v2 .two-types-card h3 {

  font-size: 16px;
  color: var(--brown);
  margin-bottom: 8px;

}

.zancon-v2 .two-types-card ol {

  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  line-height: 1.7;

}

.zancon-v2 .reasons-section {

  background: var(--paper);
  border-block: 1px solid var(--line);

}

.zancon-v2 .points-list {

  display: flex;
  flex-direction: column;
  gap: 44px;

}

.zancon-v2 .point-item {

  display: grid;
  grid-template-columns: 440px 1fr;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  align-items: stretch;

}

.zancon-v2 .point-item.point-reverse {

  grid-template-columns: 1fr 440px;

}

.zancon-v2 .point-item.point-reverse .point-media {

  order: 2;

}

.zancon-v2 .point-item.point-reverse .point-body {

  order: 1;

}

.zancon-v2 .point-media img {

  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;

}

.zancon-v2 .point-body {

  padding: 36px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;

}

.zancon-v2 .point-label {

  font-size: 14px;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 0.06em;

}

.zancon-v2 .point-body h3 {

  font-size: 25px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--ink);

}

.zancon-v2 .point-sub {

  font-size: 16px;
  font-weight: 700;
  color: #444;

}

.zancon-v2 .point-highlight {

  font-size: 19px;
  font-weight: 700;
  line-height: 1.55;
  color: var(--ink);
  background: #f0f6ff;
  border-left: 4px solid var(--blue);
  padding: 12px 16px;
  margin-block: 4px;

}

.zancon-v2 .point-desc {

  font-size: 15px;
  color: #444;
  line-height: 1.9;

}

.zancon-v2 .section-drawing {

  margin-top: 8px;
  border: 1px solid #d5d2cc;
  border-radius: 4px;
  overflow: hidden;

}

.zancon-v2 .concrete {

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 76px;
  background: #d6d8d9;
  background-image: radial-gradient(#a6aaac 1px, transparent 1px);
  background-size: 13px 17px;
  padding: 14px 20px;
  border-bottom: 3px solid #969a9c;
  font-weight: 700;

}

.zancon-v2 .concrete > span {

  background: #d6d8d9;
  padding: 2px 8px;
  font-size: 14px;

}

.zancon-v2 .concrete strong {

  font-size: 26px;
  line-height: 1;
  background: #d6d8d9;
  padding: 4px 8px;

}

.zancon-v2 .concrete strong span {

  font-size: 16px;
  margin-left: 2px;

}

.zancon-v2 .soil {

  padding: 14px;
  background: #e7ded1;
  color: #5b4c39;
  text-align: center;
  font-weight: 700;
  font-size: 14px;

}

.zancon-v2 .chart-box {

  margin-top: 8px;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  padding: 14px;
  background: #fff;

}

.zancon-v2 .chart-box figcaption {

  font-size: 12px;
  color: var(--muted);
  margin-top: 6px;

}

.zancon-v2 .price-layout {

  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 52px;
  align-items: center;

}

.zancon-v2 .price-content h2 {

  font-size: 32px;
  margin-bottom: 20px;

}

.zancon-v2 .price-banner {

  background: #f0f6ff;
  border: 2px solid var(--blue);
  border-radius: 8px;
  padding: 20px 24px;
  margin-bottom: 22px;

}

.zancon-v2 .price-banner-label {

  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 4px;

}

.zancon-v2 .price-banner-num {

  font-size: clamp(30px, 3.5vw, 40px);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;

}

.zancon-v2 .price-banner-num span {

  font-size: 0.55em;
  margin-inline: 2px;

}

.zancon-v2 .price-note {

  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;

}

.zancon-v2 .price-cta {

  margin-top: 28px;

}

.zancon-v2 .price-image {

  max-width: 480px;
  justify-self: end;

}

.zancon-v2 .price-image img {

  width: 100%;
  max-width: 480px;
  border-radius: 12px;
  object-fit: cover;

}

.zancon-v2 .case-section {

  background: var(--paper);
  border-top: 1px solid var(--line);

}

.zancon-v2 .case-cards-grid {

  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;

}

.zancon-v2 .case-card {

  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;

}

.zancon-v2 .case-card-img img {

  width: 100%;
  height: 240px;
  object-fit: cover;

}

.zancon-v2 .case-card-body {

  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;

}

.zancon-v2 .case-category {

  font-size: 13px;
  font-weight: 700;
  color: var(--blue);

}

.zancon-v2 .case-card-body h3 {

  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.45;

}

.zancon-v2 .case-card-body p {

  font-size: 15px;
  line-height: 1.85;
  color: #333;

}

.zancon-v2 .case-voice {

  margin-top: auto;
  padding-top: 8px;
  font-size: 14px;
  color: var(--muted);
  font-weight: 700;

}

.zancon-v2 .case-voice a {

  color: var(--blue);

}

.zancon-v2 .contact-section {

  background: #edf4fc;
  padding-block: 64px;

}

.zancon-v2 .contact-inner {

  text-align: center;
  max-width: 820px;

}

.zancon-v2 .contact-inner h2 {

  font-size: 28px;

}

.zancon-v2 .contact-inner > p {

  margin-top: 16px;
  color: #333;

}

.zancon-v2 .contact-actions {

  display: flex;
  justify-content: center;
  align-items: center;
  gap: 44px;
  margin-top: 28px;
  flex-wrap: wrap;

}

.zancon-v2 .contact-actions .button {

  min-width: 260px;

}

.zancon-v2 .phone {

  font-size: 28px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.02em;

}

.zancon-v2 .phone span {

  display: block;
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);

}

.zancon-v2 .text-link {

  color: var(--blue);
  font-weight: 700;
  font-size: 15px;

}

.zancon-v2 .bottom-links {

  padding-block: 28px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;

}

.zancon-v2 .site-footer {

  border-top: 1px solid var(--line);
  background: #fafafa;

}

.zancon-v2 .footer-inner {

  padding-top: 36px;
  display: flex;
  justify-content: space-between;
  gap: 32px;
  align-items: center;

}

.zancon-v2 .footer-inner img {

  width: 320px;

}

.zancon-v2 .footer-inner p {

  font-size: 14px;
  color: var(--muted);
  margin-top: 10px;

}

.zancon-v2 .footer-links {

  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 14px;

}

.zancon-v2 .copyright {

  text-align: center;
  font-size: 12px;
  color: #666;
  padding: 28px 20px;

}

.zancon-v2 .page-top {

  position: fixed;
  right: 20px;
  bottom: 24px;
  z-index: 50;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--brown);
  color: #fff;
  font-size: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;

}

.zancon-v2 .page-top::before {

  content: "↑";
  font-size: 22px;
  line-height: 48px;
  display: block;
  text-align: center;

}

.zancon-v2 .page-top.is-visible {

  opacity: 1;
  pointer-events: auto;

}

.zancon-v2 .page-top:hover {

  background: #3a1d02;
  text-decoration: none;

}

@media (min-width: 761px) {
.zancon-v2 .site-nav[hidden] {

    display: block;
  
}
}

@media (max-width: 1024px) {
.zancon-v2 .about-layout {

    grid-template-columns: 1fr;
    gap: 32px;
  
}

.zancon-v2 .price-image {

    display: none;
  
}

.zancon-v2 .point-item,
.zancon-v2 .point-item.point-reverse {

    grid-template-columns: 1fr;
  
}

.zancon-v2 .point-item.point-reverse .point-media {

    order: 1;
  
}

.zancon-v2 .point-item.point-reverse .point-body {

    order: 2;
  
}

.zancon-v2 .point-media img {

    max-height: 360px;
  
}
}

@media (max-width: 760px) {
.zancon-v2 .wrap {

    width: calc(100% - 32px);
  
}

.zancon-v2 .header-inner {

    min-height: 76px;
    gap: 12px;
  
}

.zancon-v2 .logo {

    width: 280px;
    max-width: calc(100% - 76px);
  
}

.zancon-v2 .header-contact {

    display: none;
  
}

.zancon-v2 .menu-toggle {

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    line-height: 1.3;
    background: none;
    border: 0;
    color: var(--brown);
    padding: 6px 0;
    font-size: 11px;
    cursor: pointer;
  
}

.zancon-v2 .menu-toggle span {

    font-size: 22px;
  
}

.zancon-v2 .site-nav[hidden] {

    display: none;
  
}

.zancon-v2 .nav-inner {

    grid-template-columns: 1fr 1fr;
    width: 100%;
  
}

.zancon-v2 .nav-inner a {

    min-height: 60px;
    border: 1px solid #ffffff25;
    font-size: 14px;
  
}

.zancon-v2 .hero-overlay {

    padding-block: 44px;
  
}

.zancon-v2 .hero-lead {

    font-size: 15px;
  
}

.zancon-v2 .hero-actions .button {

    width: 100%;
  
}

.zancon-v2 .recent-articles-box {

    padding: 18px 16px;
  
}

.zancon-v2 .page-nav .wrap {

    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
  
}

.zancon-v2 .page-nav a {

    text-align: center;
    padding: 12px 8px;
    font-size: 13px;
    border-bottom: 1px solid #e5e5e5;
  
}

.zancon-v2 .page-nav a:nth-child(odd) {

    border-right: 1px solid #e5e5e5;
  
}

.zancon-v2 .section {

    padding-block: 48px;
  
}

.zancon-v2 .desktop-break {

    display: none;
  
}

.zancon-v2 .point-body {

    padding: 24px 20px;
  
}

.zancon-v2 .point-body h3 {

    font-size: 21px;
  
}

.zancon-v2 .point-highlight {

    font-size: 16px;
  
}

.zancon-v2 .case-cards-grid {

    grid-template-columns: 1fr;
  
}

.zancon-v2 .contact-inner h2 {

    font-size: 22px;
  
}

.zancon-v2 .contact-actions {

    flex-direction: column;
    gap: 20px;
  
}

.zancon-v2 .contact-actions .button {

    width: 100%;
  
}

.zancon-v2 .footer-inner {

    flex-direction: column;
    align-items: flex-start;
  
}

.zancon-v2 .page-top {

    right: 12px;
    bottom: 16px;
  
}
}

@media (prefers-reduced-motion: reduce) {
html {

    scroll-behavior: auto;
  
}
}


/* === Layout compatibility patch (2026-11-17): scope to Zancon test page only ===
 * Legacy .conte_2col may narrow the content area; remove the fixed inner width.
 * Legacy Anima .desktop-1 has a fixed height; avoid a huge blank after the SSI.
 * Re-evaluate after checking in a real browser: this is an evidence-based candidate,
 * not a confirmed server-side diagnosis.
 */
body.zancon-2026-page .contents,
body.zancon-2026-page .contents_inner {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.zancon-2026-page .zancon-v2 .zancon-v2-articles .container-center-horizontal {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  display: block !important;
  padding: 0;
  margin: 0;
}
body.zancon-2026-page .zancon-v2 .zancon-v2-articles .desktop-1 {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
}

/* Constrain inherited floating and fixed-width article containers. */
body.zancon-2026-page .zancon-v2 .zancon-v2-articles {
  width: 100%;
  max-width: 1120px;
  min-width: 0;
  margin: 24px auto;
  padding: 0 24px;
}
@media (max-width: 760px) {
  body.zancon-2026-page .zancon-v2 .zancon-v2-articles {
    padding: 0 16px;
  }
}
/* === End compatibility patch === */


/* ===== TEST ONLY: main layout width reset, 2026-11-17 =====
 * Previous fixes touched .contents but not its ancestors.
 * Legacy layouts may constrain #wrapper / #wrapper_inner.
 * The selectors only match test pages with body.zancon-2026-page.
 */
body.zancon-2026-page {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;
}
body.zancon-2026-page #wrapper,
body.zancon-2026-page #wrapper_inner {
  display: block !important;
  float: none !important;
  clear: both !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  box-sizing: border-box !important;
}
body.zancon-2026-page .contents,
body.zancon-2026-page .contents_inner {
  display: block !important;
  float: none !important;
  clear: both !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}
body.zancon-2026-page .zancon-v2 {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;
}
/* ===== End TEST ONLY width reset ===== */


/* ===== Test page: restore full-width main content =====
 * The old shared site CSS styles #main as a 2-column content area.
 * A 660px #main makes our .wrap 612px wide (660 - 48).
 * Reset only the nested main element of this Zancon test page.
 */
body.zancon-2026-page .zancon-v2 > main#main {
  display: block !important;
  float: none !important;
  clear: both !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}
/* ===== End: nested main width reset ===== */

/* ===== Zancon v2 test page: shared-header coexistence / mobile layout (2026-11-17) =====
 * The existing MT8 SSI header is not changed. On desktop the wrapper contributes
 * no CSS box. Below 1180px the site-specific header is replaced by a compact
 * mobile navigation; this avoids overflow from the legacy desktop header.
 */
body.zancon-2026-page .zancon-shared-header {
  display: contents;
}
body.zancon-2026-page .zancon-v2 .zancon-mobile-header {
  display: none;
}
@media (max-width: 1179px) {
  body.zancon-2026-page .zancon-shared-header {
    display: none !important;
  }
  body.zancon-2026-page .zancon-v2 .zancon-mobile-header {
    display: block !important;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 0;
    color: #23190f;
    font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
    line-height: 1.4;
    position: relative;
    z-index: 2;
  }
  body.zancon-2026-page .zancon-v2 .zancon-mobile-header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    padding: 10px 12px;
    background: #ffffff;
    border-bottom: 1px solid #e6e2dc;
  }
  body.zancon-2026-page .zancon-v2 .zancon-mobile-brand {
    min-width: 0;
    display: inline-flex;
    flex: 1 1 auto;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
  }
  body.zancon-2026-page .zancon-v2 .zancon-mobile-brand-mark {
    display: inline-flex;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    align-items: center;
    justify-content: center;
    color: #ffb221;
    background: #502903;
    font-size: 11px;
    font-weight: 800;
    border-radius: 6px;
    letter-spacing: -0.03em;
  }
  body.zancon-2026-page .zancon-v2 .zancon-mobile-brand-name {
    font-size: clamp(12px, 3.7vw, 17px);
    font-weight: 800;
    white-space: nowrap;
    min-width: 0;
    letter-spacing: -0.04em;
  }
  body.zancon-2026-page .zancon-v2 .zancon-mobile-contact {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 7px 10px;
    border: 1.5px solid #502903;
    border-radius: 8px;
    background: #ffffff;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
  }
  body.zancon-2026-page .zancon-v2 .zancon-mobile-menu {
    width: 100%;
    max-width: 100%;
    background: #502903;
    color: #ffffff;
    border: 0;
    margin: 0;
  }
  body.zancon-2026-page .zancon-v2 .zancon-mobile-menu > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    padding: 10px 14px;
    list-style: none;
    font-size: 13px;
    font-weight: 700;
  }
  body.zancon-2026-page .zancon-v2 .zancon-mobile-menu > summary::-webkit-details-marker {
    display: none;
  }
  body.zancon-2026-page .zancon-v2 .zancon-mobile-menu[open] > summary {
    background: #643c14;
  }
  body.zancon-2026-page .zancon-v2 .zancon-mobile-menu-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    width: 100%;
    padding: 1px;
    background: #6f4421;
  }
  body.zancon-2026-page .zancon-v2 .zancon-mobile-menu-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    padding: 11px 8px;
    background: #502903;
    color: #ffffff;
    font-size: 12px;
    line-height: 1.45;
    text-align: center;
    overflow-wrap: anywhere;
    text-decoration: none;
  }
  body.zancon-2026-page .zancon-v2 .zancon-mobile-menu-links a:hover,
  body.zancon-2026-page .zancon-v2 .zancon-mobile-menu-links a:focus-visible {
    background: #714b28;
  }
}
/* ===== End header compatibility patch ===== */

/* ===== Desktop: match the former Zancon page's shared header clearance =====
 * The legacy shared #nav_box is position:absolute (top:176px) and does not
 * reserve height in normal layout. On the redesign page, the dark hero begins
 * behind this navigation. Preserve the original shared header and reserve
 * room BEFORE the new page begins; the body's existing concrete texture shows
 * through the gap. Mobile uses the separate header and needs no clearance.
 * Applies only to body.zancon-2026-page, not to other pages.
 */
@media (min-width: 1180px) {
  body.zancon-2026-page .contents {
    padding-top: 120px !important;
  }
}
/* ===== End desktop shared-header clearance ===== */
