:root {
      --main: #15568A;
      --accent: #E8821E;
      --bg: #F5F8FB;
      --paper: #FFFFFF;
      --deep: #173247;
      --body: #3E5567;
      --note: #6D7D89;
      --line: rgba(21, 86, 138, 0.18);
      --shadow: 0 22px 60px rgba(23, 50, 71, 0.14);
      --max: 1120px;
    }

    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body {
      margin: 0;
      color: var(--body);
      background: var(--paper);
      font-family: "Yu Gothic UI", "Hiragino Kaku Gothic ProN", Meiryo, system-ui, sans-serif;
      line-height: 1.8;
      letter-spacing: 0;
    }
    img { max-width: 100%; display: block; }
    a { color: inherit; text-decoration: none; }
    h1, h2, h3, .lead, .btn, summary {
      word-break: auto-phrase;
      text-wrap: balance;
    }
    h1, h2, h3, p { margin: 0; }
    section { position: relative; padding: 96px 24px; overflow: hidden; }
    .wrap { width: min(var(--max), 100%); margin: 0 auto; position: relative; z-index: 1; }
    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 12px;
      color: var(--main);
      font-weight: 800;
      font-size: 14px;
    }
    .eyebrow::before {
      content: "";
      width: 54px;
      height: 7px;
      background: var(--accent);
      border-radius: 999px;
      transform: rotate(-4deg);
    }
    h1 {
      color: var(--deep);
      font-size: clamp(34px, 5vw, 60px);
      line-height: 1.18;
      font-weight: 900;
    }
    h2 {
      color: var(--deep);
      font-size: 38px;
      line-height: 1.26;
      font-weight: 900;
    }
    h3 {
      color: var(--deep);
      font-size: 23px;
      line-height: 1.35;
      font-weight: 850;
    }
    .lead {
      margin-top: 22px;
      font-size: 18px;
      color: var(--body);
      max-width: 640px;
    }
    .btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 52px;
      padding: 14px 22px;
      border-radius: 6px;
      font-weight: 850;
      line-height: 1.25;
      transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    }
    .btn:hover { transform: translateY(-2px); }
    .btn-main { background: var(--accent); color: #FFFFFF; box-shadow: 0 14px 32px rgba(232, 130, 30, 0.26); }
    .btn-sub { background: var(--main); color: #FFFFFF; }
    .btn-ghost { border: 1px solid var(--line); color: var(--main); background: #FFFFFF; }
    .note { color: var(--note); font-size: 14px; }
    .deco {
      position: absolute;
      pointer-events: none;
      z-index: 0;
      opacity: 0.16;
      mix-blend-mode: multiply;
    }

    .site-header {
      position: sticky;
      top: 0;
      z-index: 20;
      background: rgba(255, 255, 255, 0.92);
      backdrop-filter: blur(14px);
      border-bottom: 1px solid rgba(21, 86, 138, 0.12);
    }
    .header-inner {
      width: min(1200px, calc(100% - 32px));
      min-height: 78px;
      margin: 0 auto;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
    }
    .logo { width: 214px; }
    .nav {
      display: flex;
      align-items: center;
      gap: 22px;
      font-size: 14px;
      color: var(--deep);
      font-weight: 700;
    }
    .header-cta {
      display: flex;
      align-items: center;
      gap: 12px;
    }
    .tel {
      color: var(--note);
      font-size: 13px;
      line-height: 1.4;
      text-align: right;
    }
    .header-cta .btn { min-height: 42px; padding: 10px 16px; font-size: 14px; }

    .hero {
      width: 100%;
      padding: 0 24px;
      min-height: 760px;
      display: flex;
      align-items: center;
      background:
        linear-gradient(105deg, #FFFFFF 0%, #FFFFFF 45%, rgba(245, 248, 251, 0.72) 45%, rgba(245, 248, 251, 0.72) 100%);
    }
    .hero-inner {
      width: min(1360px, 100%);
      margin: 0 auto;
      display: grid;
      grid-template-columns: minmax(0, 0.45fr) minmax(0, 0.55fr);
      gap: 54px;
      align-items: center;
      padding: 98px 0 72px;
      position: relative;
      z-index: 1;
    }
    .hero-copy { padding-left: clamp(0px, 3vw, 40px); }
    .hero-copy .lead { font-size: 19px; }
    .hero-visual {
      position: relative;
      min-height: 520px;
    }
    .hero-photo {
      width: 100%;
      height: 560px;
      object-fit: cover;
      border-radius: 8px;
      box-shadow: var(--shadow);
    }
    /* 10.Eraser ＝ 施工前レイヤーをなぞると、下の施工後（塗り替え後）が現れる */
    .er-wrap { position: relative; width: 100%; height: 560px; border-radius: 8px; overflow: hidden; box-shadow: var(--shadow); cursor: crosshair; }
    .er-layer { position: absolute; inset: 0; background: url("src/fv.jpg") center / cover no-repeat; }
    .er-before { filter: grayscale(.72) sepia(.5) brightness(.76) contrast(.88); }
    .er-after { clip-path: none; will-change: clip-path; }
    .j .er-after { clip-path: circle(150px at 50% 55%); }
    .er-tag { position: absolute; z-index: 2; padding: 6px 14px; font-weight: 800; font-size: 12px; letter-spacing: .12em; color: #fff; }
    .er-tag.b { left: 0; top: 0; background: rgba(23, 50, 71, .86); }
    .er-tag.a { right: 0; bottom: 0; background: var(--accent); }
    .er-hint { position: absolute; z-index: 2; left: 50%; bottom: 14px; transform: translateX(-50%); color: #fff; font-size: 12px; letter-spacing: .06em; background: rgba(23, 50, 71, .62); padding: 6px 16px; border-radius: 999px; white-space: nowrap; }
    @media (prefers-reduced-motion: reduce) { .j .er-after { clip-path: none; } .er-hint { display: none; } }
    .hero-card {
      position: absolute;
      left: -40px;
      bottom: 28px;
      width: min(420px, 80%);
      background: #FFFFFF;
      border-radius: 8px;
      padding: 22px;
      box-shadow: 0 18px 42px rgba(23, 50, 71, 0.18);
      border-left: 8px solid var(--accent);
    }
    .hero-card strong { color: var(--deep); display: block; font-size: 18px; line-height: 1.4; }
    .hero-card span { display: block; margin-top: 6px; color: var(--note); font-size: 14px; }
    .proof-strip {
      width: min(var(--max), calc(100% - 48px));
      margin: -46px auto 0;
      padding: 0;
      position: relative;
      z-index: 4;
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 14px;
    }
    .proof-item {
      background: #FFFFFF;
      border: 1px solid var(--line);
      border-radius: 8px;
      padding: 16px;
      display: grid;
      grid-template-columns: 76px 1fr;
      gap: 14px;
      align-items: center;
      box-shadow: 0 12px 28px rgba(23, 50, 71, 0.08);
    }
    .proof-item img { width: 76px; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 8px; }
    .proof-item b { color: var(--deep); display: block; line-height: 1.35; }
    .proof-item span { color: var(--note); font-size: 13px; }

    .worries { background: var(--bg); }
    .worry-layout {
      display: grid;
      grid-template-columns: 0.38fr 0.62fr;
      gap: 56px;
      align-items: start;
    }
    .large-word {
      margin-top: 20px;
      color: rgba(21, 86, 138, 0.12);
      font-size: clamp(78px, 12vw, 150px);
      font-weight: 900;
      line-height: 1;
    }
    .worry-media {
      margin-top: 28px;
      position: relative;
    }
    .worry-media img {
      width: 100%;
      aspect-ratio: 4 / 3;
      object-fit: cover;
      border-radius: 8px;
      box-shadow: 0 18px 42px rgba(23, 50, 71, 0.14);
    }
    .media-label {
      position: absolute;
      left: 18px;
      bottom: 18px;
      max-width: calc(100% - 36px);
      padding: 12px 14px;
      border-left: 6px solid var(--accent);
      border-radius: 6px;
      background: rgba(255, 255, 255, 0.92);
      color: var(--deep);
      font-weight: 850;
      line-height: 1.45;
    }
    .ruled-list { border-top: 1px solid var(--line); }
    .ruled-row {
      display: grid;
      grid-template-columns: 86px 1fr;
      gap: 26px;
      padding: 28px 0;
      border-bottom: 1px solid var(--line);
    }
    .ruled-row span {
      color: var(--accent);
      font-size: 28px;
      font-weight: 900;
      line-height: 1;
    }

    .promise {
      background: var(--main);
      color: #FFFFFF;
      padding: 80px 24px;
    }
    .promise .wrap {
      display: grid;
      grid-template-columns: 0.36fr 0.64fr;
      gap: 42px;
      align-items: center;
    }
    .promise h2, .promise .eyebrow { color: #FFFFFF; }
    .promise .lead { color: rgba(255, 255, 255, 0.84); }
    .promise-mark {
      min-height: 180px;
      border-left: 12px solid var(--accent);
      display: flex;
      align-items: center;
      padding-left: 28px;
      font-size: 25px;
      line-height: 1.55;
      font-weight: 850;
    }
    .promise-visual {
      display: grid;
      grid-template-columns: 0.92fr 1.08fr;
      gap: 18px;
      align-items: stretch;
    }
    .promise-visual img {
      width: 100%;
      height: 100%;
      min-height: 260px;
      object-fit: cover;
      border-radius: 8px;
      border: 1px solid rgba(255, 255, 255, 0.18);
    }

    .proof { background: #FFFFFF; }
    .proof-grid {
      display: grid;
      grid-template-columns: 0.56fr 0.44fr;
      gap: 48px;
      align-items: center;
      margin-top: 42px;
    }
    .numbers {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 18px;
    }
    .number {
      border-top: 6px solid var(--accent);
      padding-top: 18px;
    }
    .number b {
      color: var(--main);
      font-size: 54px;
      line-height: 1;
      font-weight: 900;
    }
    .number small { display: block; margin-top: 10px; color: var(--note); font-size: 13px; }
    .profile {
      display: grid;
      grid-template-columns: 148px 1fr;
      gap: 22px;
      align-items: center;
      padding: 24px;
      border: 1px solid var(--line);
      border-radius: 8px;
      background: var(--bg);
    }
    .profile img { width: 148px; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 50%; }

    .cases { background: var(--bg); }
    .section-head {
      display: flex;
      align-items: end;
      justify-content: space-between;
      gap: 30px;
      margin-bottom: 42px;
    }
    .section-head .lead { margin-top: 12px; max-width: 560px; }
    .case-grid {
      display: grid;
      grid-template-columns: 1.2fr 0.8fr;
      gap: 22px;
      align-items: stretch;
    }
    .case-main, .case-side {
      position: relative;
      overflow: hidden;
      border-radius: 8px;
      background: #FFFFFF;
    }
    .case-main img { height: 520px; width: 100%; object-fit: cover; }
    .case-side { display: grid; gap: 18px; background: transparent; }
    .case-side img { height: 251px; width: 100%; object-fit: cover; border-radius: 8px; }
    .caption {
      position: absolute;
      left: 22px;
      right: 22px;
      bottom: 22px;
      background: rgba(255, 255, 255, 0.92);
      border-left: 6px solid var(--accent);
      padding: 16px;
      border-radius: 6px;
    }
    .voices {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 18px;
      margin-top: 26px;
    }
    .voice {
      background: #FFFFFF;
      border: 1px solid var(--line);
      border-radius: 8px;
      padding: 20px;
    }
    .voice img {
      width: 86px;
      aspect-ratio: 1 / 1;
      object-fit: cover;
      border-radius: 50%;
      margin-bottom: 16px;
    }
    .voice p { margin-top: 8px; font-size: 15px; }

    .services { background: #FFFFFF; }
    .service-table {
      margin-top: 38px;
      border-top: 1px solid var(--line);
    }
    .service-row {
      display: grid;
      grid-template-columns: 150px 0.24fr 0.44fr 0.18fr;
      gap: 24px;
      padding: 26px 0;
      border-bottom: 1px solid var(--line);
      align-items: center;
    }
    .service-row img {
      width: 150px;
      aspect-ratio: 4 / 3;
      object-fit: cover;
      border-radius: 8px;
    }
    .service-row b { color: var(--deep); font-size: 20px; }
    .tag {
      justify-self: start;
      color: var(--main);
      background: rgba(21, 86, 138, 0.08);
      border-radius: 999px;
      padding: 7px 12px;
      font-size: 13px;
      font-weight: 800;
    }

    .steps { background: var(--main); color: #FFFFFF; }
    .steps h2, .steps .eyebrow { color: #FFFFFF; }
    .steps .lead { color: rgba(255, 255, 255, 0.82); }
    .step-list {
      margin-top: 44px;
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 20px;
    }
    .step {
      min-height: 250px;
      border: 1px solid rgba(255, 255, 255, 0.22);
      border-radius: 8px;
      padding: 14px 14px 24px;
      background: rgba(255, 255, 255, 0.06);
    }
    .step img {
      width: 100%;
      aspect-ratio: 4 / 3;
      object-fit: cover;
      border-radius: 6px;
      margin-bottom: 18px;
      opacity: 0.94;
    }
    .step b {
      display: block;
      color: rgba(255, 255, 255, 0.2);
      font-size: 68px;
      line-height: 1;
      font-weight: 900;
      margin-bottom: 20px;
    }
    .step h3 { color: #FFFFFF; }
    .step p { margin-top: 10px; color: rgba(255, 255, 255, 0.78); font-size: 15px; }

    .faq { background: var(--bg); }
    .faq-layout {
      display: grid;
      grid-template-columns: 0.38fr 0.62fr;
      gap: 46px;
      align-items: start;
    }
    .faq-photo {
      position: sticky;
      top: 110px;
    }
    .faq-photo img {
      width: 100%;
      aspect-ratio: 4 / 5;
      object-fit: cover;
      border-radius: 8px;
      box-shadow: 0 18px 42px rgba(23, 50, 71, 0.12);
    }
    .faq-photo p {
      margin-top: 14px;
      color: var(--note);
      font-size: 14px;
    }
    .qa-list { margin-top: 36px; border-top: 1px solid var(--line); }
    .qa {
      display: grid;
      grid-template-columns: 0.34fr 0.66fr;
      gap: 34px;
      padding: 30px 0;
      border-bottom: 1px solid var(--line);
    }
    .qa h3::before {
      content: "Q";
      color: var(--accent);
      margin-right: 12px;
      font-weight: 900;
    }

    .final-cta {
      padding: 94px 24px;
      background:
        linear-gradient(rgba(21, 86, 138, 0.94), rgba(21, 86, 138, 0.94)),
        url("src/fv.jpg") center / cover;
      color: #FFFFFF;
      text-align: center;
    }
    .final-cta h2 { color: #FFFFFF; }
    .final-cta .lead { color: rgba(255, 255, 255, 0.84); margin-left: auto; margin-right: auto; }
    .final-cta .btns { justify-content: center; }
    .final-cta .btn-ghost { color: #FFFFFF; background: transparent; border-color: rgba(255, 255, 255, 0.38); }

    .site-footer {
      background: #102C43;
      color: rgba(255, 255, 255, 0.78);
      padding: 54px 24px 28px;
    }
    .footer-inner {
      width: min(var(--max), 100%);
      margin: 0 auto;
      display: grid;
      grid-template-columns: 0.4fr 0.6fr;
      gap: 44px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.16);
      padding-bottom: 34px;
    }
    .footer-logo { width: 220px; filter: brightness(0) invert(1); opacity: 0.95; }
    .footer-info {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 16px 28px;
      font-size: 14px;
    }
    .footer-info b { display: block; color: #FFFFFF; margin-bottom: 4px; }
    .copy {
      width: min(var(--max), 100%);
      margin: 24px auto 0;
      color: rgba(255, 255, 255, 0.5);
      font-size: 13px;
    }

    @media (max-width: 960px) {
      .nav { display: none; }
      .hero-inner,
      .worry-layout,
      .promise .wrap,
      .promise-visual,
      .proof-grid,
      .case-grid,
      .faq-layout,
      .footer-inner {
        grid-template-columns: 1fr;
      }
      .proof-strip,
      .voices,
      .step-list {
        grid-template-columns: 1fr 1fr;
      }
      .hero-card { left: 20px; }
      .service-row { grid-template-columns: 120px 1fr; gap: 10px 16px; }
      .service-row img { width: 120px; grid-row: span 3; }
      .qa { grid-template-columns: 1fr; gap: 12px; }
    }

    @media (max-width: 768px) {
      section { padding: 64px 18px; }
      h1 { font-size: 36px; }
      h2 { font-size: 29px; }
      h3 { font-size: 21px; }
      .lead { font-size: 16px; }
      .header-inner { min-height: 66px; width: calc(100% - 24px); }
      .logo { width: 166px; }
      .tel { display: none; }
      .header-cta .btn { font-size: 13px; padding: 9px 12px; }
      .hero {
        min-height: auto;
        padding: 0 18px;
        background: linear-gradient(180deg, #FFFFFF 0%, #FFFFFF 58%, var(--bg) 58%, var(--bg) 100%);
      }
      .hero-inner {
        grid-template-columns: 1fr;
        gap: 26px;
        padding: 34px 0 58px;
      }
      .hero-visual { order: -1; min-height: auto; }
      .hero-photo { height: 310px; }
      .hero-card { position: static; width: 100%; margin-top: 12px; }
      .btns { flex-direction: column; }
      .btn { width: 100%; }
      .proof-strip,
      .voices,
      .step-list,
      .numbers,
      .footer-info {
        grid-template-columns: 1fr;
      }
      .proof-strip { margin-top: 0; width: calc(100% - 36px); }
      .proof-item { grid-template-columns: 62px 1fr; }
      .proof-item img { width: 62px; }
      .ruled-row { grid-template-columns: 1fr; gap: 10px; }
      .promise-mark { min-height: auto; font-size: 21px; }
      .promise-visual img { min-height: 220px; }
      .profile { grid-template-columns: 1fr; text-align: left; }
      .case-main img, .case-side img { height: 260px; }
      .caption { position: static; border-radius: 0; }
      .section-head { display: block; }
      .faq-photo { position: static; }
      .service-row { grid-template-columns: 1fr; }
      .service-row img { width: 100%; grid-row: auto; }
    }
  
/* ZOROYA fixed pages / WordPress migration support */
.zoroya-sub-nav{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.zoroya-sub-nav a,.wp-page-links a{display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--line,rgba(0,0,0,.14));border-radius:999px;padding:.55em 1em;font-weight:700;font-size:13px;background:rgba(255,255,255,.72)}
.zoroya-sub-nav a[aria-current="page"]{background:var(--ink,#222);color:#fff;border-color:var(--ink,#222)}
.wp-page-links{display:flex;flex-wrap:wrap;gap:10px;margin-top:24px}
.page-main{background:var(--bg,#f7f3ed);color:var(--body,#333);min-height:60vh}
.page-hero{padding:clamp(76px,10vw,132px) 0 clamp(44px,7vw,82px);border-bottom:1px solid var(--line,rgba(0,0,0,.12));background:linear-gradient(135deg,rgba(255,255,255,.75),rgba(255,255,255,.28))}
.page-hero .section-inner,.page-section .section-inner,.zoroya-final .section-inner{width:min(1120px,calc(100% - 44px));margin:0 auto}
.page-hero h1{font-size:clamp(32px,5vw,56px);margin:.18em 0 .28em}
.page-hero p{max-width:42em;color:var(--muted,var(--body,#555));font-size:clamp(15px,1.8vw,18px)}
.page-section{padding:clamp(58px,8vw,100px) 0;border-bottom:1px solid var(--line-soft,var(--line,rgba(0,0,0,.08)))}
.page-section h2{font-size:clamp(25px,3.4vw,40px);margin-bottom:24px}
.zoroya-sub-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.zoroya-sub-card{background:var(--paper,#fff);border:1px solid var(--line,rgba(0,0,0,.12));border-radius:12px;padding:24px;box-shadow:0 18px 44px -34px rgba(0,0,0,.34)}
.zoroya-sub-card h3{font-size:clamp(19px,2vw,24px);margin-bottom:10px}
.zoroya-sub-card p,.zoroya-sub-card li{color:var(--muted,var(--body,#555));font-size:15px}
.zoroya-sub-card ul{margin:12px 0 0;padding-left:1.25em}
.zoroya-flow{display:grid;gap:14px;counter-reset:flow}
.zoroya-flow li{list-style:none;display:grid;grid-template-columns:auto 1fr;gap:16px;align-items:start;background:rgba(255,255,255,.58);border:1px solid var(--line,rgba(0,0,0,.12));padding:18px;border-radius:10px}
.zoroya-flow li::before{counter-increment:flow;content:counter(flow,decimal-leading-zero);font-weight:800;color:var(--accent,#9a6a33);font-family:inherit}
.zoroya-info{display:grid;grid-template-columns:180px 1fr;gap:0;border-top:1px solid var(--line,rgba(0,0,0,.12));background:rgba(255,255,255,.5)}
.zoroya-info dt,.zoroya-info dd{margin:0;padding:14px 16px;border-bottom:1px solid var(--line,rgba(0,0,0,.12))}
.zoroya-info dt{font-weight:800;color:var(--ink,#222)}
.zoroya-faq{display:grid;gap:14px}
.zoroya-faq details{background:var(--paper,#fff);border:1px solid var(--line,rgba(0,0,0,.12));border-radius:10px;padding:18px 20px}
.zoroya-faq summary{cursor:pointer;font-weight:800;color:var(--ink,#222)}
.zoroya-faq p{margin-top:12px;color:var(--muted,var(--body,#555))}
.zoroya-form-slot{background:var(--paper,#fff);border:1px dashed var(--accent,#9a6a33);border-radius:12px;padding:26px}
.zoroya-final{padding:clamp(56px,8vw,94px) 0;background:var(--ink,#222);color:#fff}
.zoroya-final h2{color:#fff}
.zoroya-final p{color:rgba(255,255,255,.78);max-width:40em}
.zoroya-actions{display:flex;flex-wrap:wrap;gap:14px;margin-top:24px}
@media (max-width:768px){
  .zoroya-sub-grid,.zoroya-info{grid-template-columns:1fr}
  .zoroya-info dt{padding-bottom:4px;border-bottom:0}
  .zoroya-info dd{padding-top:4px}
  .page-hero .section-inner,.page-section .section-inner,.zoroya-final .section-inner{width:min(100% - 28px,1120px)}
}
