/* Generated from app/globals.css; no Node/Tailwind required on WordPress. */

:root {
  --ink: #081d36;
  --navy: #073d82;
  --blue: #087bc1;
  --sky: #43b6e9;
  --teal: #00a390;
  --mist: #eef7fa;
  --line: #d9e5eb;
  --white: #ffffff;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: "Noto Sans JP", "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
h1, h2, h3, strong { font-weight: 700; }
ul, ol { list-style: none; padding: 0; }
img { display: block; max-width: 100%; }
svg { flex-shrink: 0; vertical-align: middle; }
a:focus-visible { outline: 3px solid #0ba99d; outline-offset: 5px; }
.paper-grid {
  background-color: #f8fafb;
  background-image: linear-gradient(rgba(20,72,101,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(20,72,101,.07) 1px, transparent 1px), linear-gradient(rgba(20,72,101,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(20,72,101,.035) 1px, transparent 1px);
  background-size: 50px 50px, 50px 50px, 10px 10px, 10px 10px;
}

/* Original CAD-style schematic: complete faint underlay, then seven drawn layers. */
.hero-copy, .services, .estimate { position: relative; isolation: isolate; overflow: hidden; }
.hero-copy > :not(.blueprint-drawing), .services > :not(.blueprint-drawing), .estimate > :not(.blueprint-drawing) { position: relative; z-index: 1; }
.blueprint-drawing { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; user-select: none; color: #366d8a; }
.blueprint-art { position: absolute; display: block; width: 1440px; height: auto; max-width: none; stroke: currentColor; stroke-width: 1; stroke-linecap: square; stroke-linejoin: miter; }
.blueprint-art path { vector-effect: non-scaling-stroke; }
.blueprint-underlay { opacity: .2; }
.blueprint-trace { opacity: .8; }
.blueprint-trace path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.blueprint-layer--axes { stroke-width: .65; }
.blueprint-layer--road { stroke-width: 1.3; }
.blueprint-layer--structure { stroke-width: .85; }
.blueprint-layer--dimensions, .blueprint-layer--details { stroke-width: .7; }
.blueprint-layer--route { color: #008e86; stroke-width: 1.55; }
.blueprint-notes { fill: currentColor; stroke: none; opacity: .65; font: 9px monospace; letter-spacing: 1px; }
.blueprint-drawing--hero { opacity: .42; mask-image: linear-gradient(105deg, rgba(0,0,0,.16), rgba(0,0,0,.35) 53%, #000 100%); }
.blueprint-drawing--hero .blueprint-art { width: 1180px; right: -340px; top: -60px; transform: rotate(-11deg); }
.blueprint-drawing--services { opacity: .28; mask-image: linear-gradient(#000, rgba(0,0,0,.5) 74%, transparent); }
.blueprint-drawing--services .blueprint-art { width: max(1440px, 110%); right: -110px; top: -170px; }
.blueprint-drawing--estimate { opacity: .29; mask-image: linear-gradient(100deg, #000, rgba(0,0,0,.35)); }
.blueprint-drawing--estimate .blueprint-art { width: max(1480px, 115%); left: -145px; bottom: -125px; }
.blueprint-drawing.is-complete .blueprint-trace path { stroke-dashoffset: 0; }

@media (prefers-reduced-motion: no-preference) {
  .blueprint-drawing.is-drawing .blueprint-trace path { animation: blueprint-draw 1.6s ease-in-out both; }
  .blueprint-drawing.is-drawing .blueprint-layer--frame path { animation-delay: .08s; animation-duration: .85s; }
  .blueprint-drawing.is-drawing .blueprint-layer--axes path { animation-delay: .3s; animation-duration: 1.1s; }
  .blueprint-drawing.is-drawing .blueprint-layer--road path { animation-delay: .55s; }
  .blueprint-drawing.is-drawing .blueprint-layer--structure path { animation-delay: 1.1s; animation-duration: 1.75s; }
  .blueprint-drawing.is-drawing .blueprint-layer--dimensions path { animation-delay: 1.9s; animation-duration: 1.5s; }
  .blueprint-drawing.is-drawing .blueprint-layer--details path { animation-delay: 2.35s; animation-duration: 1.65s; }
  .blueprint-drawing.is-drawing .blueprint-layer--route path { animation-delay: 2.95s; animation-duration: 1.65s; }
  @keyframes blueprint-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
}

@media (max-width: 760px) {
  .blueprint-drawing--hero { opacity: .3; }
  .blueprint-drawing--hero .blueprint-art { width: 940px; right: -430px; top: -35px; }
  .blueprint-drawing--services .blueprint-art { width: 1120px; right: -520px; top: -100px; }
  .blueprint-drawing--estimate .blueprint-art { width: 1060px; left: -180px; bottom: -5px; }
  .blueprint-layer--details, .blueprint-notes { display: none; }
}

@media (prefers-reduced-motion: reduce), print {
  .blueprint-trace path { animation: none !important; stroke-dashoffset: 0; }
}

.site-header {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 92px;
  padding: 0 clamp(24px, 5vw, 80px);
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid rgba(7,61,130,.1);
}
.brand { display: flex; align-items: center; gap: 13px; }
.brand .brand-mark, .footer-brand .brand-mark { position: relative; display: block; flex: 0 0 52px; width: 52px; height: 52px; overflow: hidden; background: #fff; }
.brand .brand-mark img, .footer-brand .brand-mark img { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; max-width: none; transform: translate(-46%, -48%); object-fit: contain; }
.brand > span:not(.brand-mark) { display: flex; flex-direction: column; }
.brand strong { font-size: 16px; letter-spacing: .08em; }
.brand small { margin-top: 3px; color: #658096; font-size: 8px; font-weight: 700; letter-spacing: .13em; }
.desktop-nav { display: flex; align-items: center; gap: 34px; font-size: 14px; font-weight: 700; }
.desktop-nav > a:first-child { transition: color .2s; }
.desktop-nav > a:first-child:hover { color: var(--blue); }
.header-contact { display: inline-flex; align-items: center; gap: 15px; padding: 15px 20px; color: white; background: var(--navy); }

.hero {
  min-height: 710px;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  overflow: hidden;
}
.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 74px clamp(26px, 4.2vw, 80px);
  background: #fff;
}
.eyebrow { display: flex; align-items: center; gap: 11px; margin: 0 0 28px; color: var(--blue); font-size: 12px; font-weight: 800; letter-spacing: .18em; }
.eyebrow span { width: 32px; height: 2px; background: var(--teal); }
.hero h1 { margin: 0; font-size: clamp(34px, 3.85vw, 72px); line-height: 1.42; letter-spacing: -.045em; font-weight: 750; }
.hero h1 > span { display: block; }
.hero h1 em { color: var(--blue); font-style: normal; }
.hero-lead { max-width: 630px; margin: 32px 0 0; color: #4d667b; font-size: 16px; line-height: 2; }
.hero-actions { display: flex; align-items: center; gap: 30px; margin-top: 38px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 30px; min-height: 58px; padding: 0 27px; font-size: 14px; font-weight: 800; }
.button-primary { color: white; background: linear-gradient(100deg, var(--navy), var(--blue)); box-shadow: 0 14px 34px rgba(7,61,130,.18); }
.text-link { display: inline-flex; align-items: center; gap: 9px; padding-bottom: 5px; border-bottom: 1px solid #a9bcc8; font-size: 13px; font-weight: 700; }
.trust-row { display: flex; gap: 24px; margin-top: 40px; padding-top: 25px; border-top: 1px solid var(--line); color: #59758a; font-size: 12px; font-weight: 700; }
.trust-row span { display: flex; align-items: center; gap: 6px; }
.trust-row svg { color: var(--teal); }

.hero-visual { position: relative; min-height: 680px; overflow: hidden; background: #d6e1e5; }
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 49% center; }
.hero-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4,25,42,.25) 0%, transparent 32%, rgba(4,25,42,.04) 55%, rgba(4,25,42,.82) 100%); }
.photo-kicker { position: absolute; z-index: 2; left: 38px; top: 36px; color: white; font-family: monospace; font-size: 10px; letter-spacing: .13em; }
.visual-caption { position: absolute; z-index: 3; left: 44px; right: 32px; bottom: 48px; display: flex; align-items: stretch; gap: 22px; color: white; }
.caption-rule { flex: 0 0 3px; background: #5fd1bd; }
.visual-caption small { display: block; margin-bottom: 15px; color: #a8d5dc; font-family: monospace; font-size: 10px; letter-spacing: .12em; }
.visual-caption strong { display: block; font-size: clamp(24px, 2vw, 34px); line-height: 1.6; letter-spacing: .04em; }

.concerns { display: grid; grid-template-columns: .72fr 1.55fr; align-items: center; gap: 64px; padding: 64px clamp(24px, 6vw, 96px); color: white; background: var(--ink); }
.concern-heading .eyebrow { margin-bottom: 18px; font-size: 12px; }
.concern-heading h2 { font-size: clamp(27px, 2.3vw, 38px); line-height: 1.55; letter-spacing: -.01em; }
.concern-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 36px; }
.concern-list li { display: flex; gap: 18px; align-items: flex-start; padding: 25px 0; border-bottom: 1px solid rgba(255,255,255,.2); }
.concern-list li:nth-child(-n+2) { border-top: 1px solid rgba(255,255,255,.2); }
.concern-list li p { font-size: clamp(17px, 1.25vw, 22px); line-height: 1.75; font-weight: 650; }
.concern-list li > span { padding-top: 6px; color: #5dcac2; font-family: monospace; font-size: 12px; }

.section { padding: 130px clamp(24px, 7vw, 110px); }
.section-heading { display: grid; grid-template-columns: 1fr .8fr; align-items: end; gap: 80px; max-width: 1300px; margin: 0 auto 60px; }
.section-heading h2 { margin: 0; font-size: clamp(36px, 4vw, 58px); line-height: 1.35; letter-spacing: -.035em; }
.section-heading > p { margin: 0 0 7px; color: #587084; font-size: 15px; line-height: 2; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 1300px; margin: 0 auto; }
.service-card { position: relative; background: white; border: 1px solid var(--line); overflow: hidden; }
.service-photo { position: relative; height: auto; aspect-ratio: 1.55; overflow: hidden; background: #dae5e9; }
.service-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 60%, rgba(4,25,42,.45)); }
.service-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.service-photo > span { position: absolute; z-index: 1; bottom: 16px; left: 25px; font-family: monospace; font-size: 9px; letter-spacing: .12em; color: white; }
.service-body { position: relative; padding: 32px; }
.service-card.featured { color: white; background: linear-gradient(145deg, #073b7c, #075ca0); border-color: transparent; }
.service-card.featured p, .service-card.featured li { color: rgba(255,255,255,.78); }
.service-icon { display: grid; place-items: center; width: 48px; height: 48px; color: var(--blue); background: var(--mist); }
.featured .service-icon { color: #68ead6; background: rgba(255,255,255,.11); }
.service-number { position: absolute; top: 41px; right: 35px; color: #9ab0be; font-family: monospace; font-size: 12px; }
.featured .service-number { color: rgba(255,255,255,.5); }
.service-card h3 { margin: 25px 0 18px; font-size: 23px; line-height: 1.6; }
.service-card p { margin: 0; color: #526b7e; font-size: 15px; line-height: 1.9; }
.service-card ul { margin: 26px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line); list-style: none; }
.featured ul { border-color: rgba(255,255,255,.18); }
.service-card li { position: relative; margin: 8px 0; padding-left: 16px; color: #405a6e; font-size: 14px; line-height: 1.7; }
.service-card li::before { content:""; position:absolute; left:0; top:.7em; width:5px; height:5px; background:var(--teal); }

.strengths { display: grid; grid-template-columns: minmax(0, 1fr) minmax(430px, .82fr); gap: clamp(55px, 8vw, 130px); align-items: center; max-width: 1600px; margin: auto; background: white; }
.strength-image { position: relative; align-self: stretch; min-height: 700px; overflow: hidden; background: var(--ink); }
.strength-image::after { content:""; position:absolute; inset:0; background:linear-gradient(180deg, transparent 45%, rgba(6,29,54,.82) 100%); }
.strength-image img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:45% center; }
.image-label { position:absolute; z-index:2; left:45px; bottom:42px; color:white; }
.image-label span { color:#7ce4d7; font-family:monospace; font-size:10px; letter-spacing:.17em; }
.image-label strong { display:block; margin-top:12px; font-size:25px; line-height:1.55; }
.strength-copy { padding-right: clamp(0px, 3vw, 42px); }
.strength-copy h2 { margin:0; font-size:clamp(38px, 4vw, 58px); line-height:1.4; letter-spacing:-.035em; }
.strength-lead { margin:30px 0 40px; color:#587084; font-size:14px; line-height:2.1; }
.strength-list { border-top:1px solid var(--line); }
.strength-list article { display:grid; grid-template-columns:42px 1fr; gap:20px; padding:25px 0; border-bottom:1px solid var(--line); }
.strength-list article > span { padding-top:5px; color:var(--teal); font-family:monospace; font-size:11px; }
.strength-list h3 { margin:0 0 8px; font-size:17px; }
.strength-list p { margin:0; color:#647b8d; font-size:13px; line-height:1.8; }

.results { color:white; background:linear-gradient(135deg, #061c35 0%, #073d77 100%); }
.results-intro { display:grid; grid-template-columns:1fr .7fr; gap:80px; align-items:end; max-width:1300px; margin:0 auto 65px; }
.eyebrow.light { color:#78e0d3; }
.eyebrow.light span { background:#78e0d3; }
.results-intro h2 { margin:0; font-size:clamp(38px, 4vw, 58px); line-height:1.4; letter-spacing:-.035em; }
.results-intro > p { margin:0 0 8px; color:rgba(255,255,255,.7); font-size:14px; line-height:2; }
.result-groups { display:grid; grid-template-columns:repeat(4,1fr); max-width:1300px; margin:auto; border-top:1px solid rgba(255,255,255,.22); border-bottom:1px solid rgba(255,255,255,.22); }
.result-groups article { min-height:330px; padding:32px 28px 38px; border-left:1px solid rgba(255,255,255,.16); }
.result-groups article:first-child { border-left:0; }
.result-index { color:#5cdbcc; font-family:monospace; font-size:10px; }
.result-groups h3 { margin:55px 0 9px; color:#75bfe6; font-size:13px; letter-spacing:.06em; }
.result-groups strong { display:block; font-size:21px; line-height:1.55; }
.result-groups p { margin:20px 0 0; color:rgba(255,255,255,.63); font-size:12px; line-height:1.9; }
/* 納品実績：既存CSSの末尾に追記 */

.results {
  padding-block: clamp(72px, 7vw, 104px);
}

/* 見出しと実績一覧の距離を調整 */
.results .results-intro {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
  margin-bottom: 36px;
}

.results .results-intro .eyebrow {
  margin-bottom: 18px;
}

.results .results-intro h2 {
  font-size: clamp(32px, 3.5vw, 48px);
  line-height: 1.45;
}

.results .results-intro > p {
  margin: 0;
  color: #d7e9f5;
  font-size: 16px;
  line-height: 2;
}

/* 濃紺背景は維持し、実績を白いパネルで強調 */
.results .result-groups {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  border: 0;
}

.results .result-groups article {
  position: relative;
  min-width: 0;
  min-height: 0;
  padding: 30px clamp(24px, 2.4vw, 38px);
  color: var(--ink, #081d36);
  background: #fff;
  border: 0;
}

.results .result-groups article::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, #087bc1, #00a390);
}

/* 番号は右上へ移動し、不要な空白を解消 */
.results .result-index {
  position: absolute;
  top: 32px;
  right: clamp(24px, 2.4vw, 38px);
  color: #5a7486;
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: .1em;
}

/* 発注機関の分類 */
.results .result-groups h3 {
  margin: 0 0 12px;
  padding-right: 44px;
  color: #0864a0;
  font-size: 14px;
  line-height: 1.6;
  letter-spacing: .06em;
}

/* 納品先名を主役に */
.results .result-groups strong {
  display: block;
  color: var(--ink, #081d36);
  font-size: clamp(26px, 2.6vw, 36px);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: -.02em;
  overflow-wrap: anywhere;
}

/* 詳細も読める大きさ・濃さに */
.results .result-groups p {
  margin: 20px 0 0;
  padding-top: 18px;
  color: #455e73;
  border-top: 1px solid #dce7ed;
  font-size: 15px;
  line-height: 1.95;
  overflow-wrap: anywhere;
}

@media (max-width: 760px) {
  .results .results-intro {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    margin-bottom: 28px;
  }

  .results .results-intro h2 {
    font-size: clamp(28px, 7.2vw, 36px);
  }

  .results .results-intro > p {
    font-size: 15px;
  }

  .results .result-groups {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .results .result-groups article {
    padding: 26px 22px;
  }

  .results .result-index {
    top: 28px;
    right: 22px;
  }

  .results .result-groups strong {
    font-size: clamp(22px, 5.8vw, 30px);
  }
}
.estimate-heading { max-width:1300px; margin:0 auto 48px; }
.estimate-heading h2 { margin:0; font-size:clamp(38px, 4vw, 58px); letter-spacing:-.035em; }
.estimate-heading > p:last-child { margin:20px 0 0; color:#5c7284; font-size:14px; }
.document-columns { display:grid; grid-template-columns:1fr 1fr; gap:20px; max-width:1300px; margin:auto; }
.document-columns article { padding:42px; background:white; border:1px solid var(--line); }
.document-title { display:flex; align-items:center; gap:15px; padding-bottom:24px; border-bottom:2px solid var(--ink); }
.document-title svg { color:var(--teal); }
.document-title span { font-size:17px; font-weight:800; }
.document-columns ol { margin:25px 0 0; padding:0; list-style:none; }
.document-columns li { display:grid; grid-template-columns:42px 1fr; align-items:center; padding:15px 0; border-bottom:1px solid var(--line); font-size:14px; font-weight:700; }
.document-columns li:last-child { border-bottom:0; }
.document-columns li span { color:#6e8a9e; font-family:monospace; font-size:10px; }
.estimate-note { display:flex; align-items:center; justify-content:center; gap:9px; max-width:1300px; margin:22px auto 0; padding:18px 20px; color:#36586f; background:#e7f2f4; font-size:12px; font-weight:700; text-align:center; }
.estimate-note svg { flex:none; color:var(--teal); }

.contact-section { display:grid; grid-template-columns:1fr 1fr; gap:90px; align-items:center; padding:100px clamp(24px, 7vw, 110px); color:white; background:linear-gradient(120deg, #06203d, #07558c); }
.contact-copy h2 { margin:0; font-size:clamp(35px, 3.7vw, 54px); line-height:1.45; letter-spacing:-.035em; }
.contact-copy > p:last-child { margin:25px 0 0; color:rgba(255,255,255,.67); font-size:14px; }
.contact-actions { display:grid; gap:12px; }
.contact-button { position:relative; display:flex; flex-direction:column; justify-content:center; min-height:116px; padding:24px 74px 24px 28px; color:white; border:1px solid rgba(255,255,255,.25); transition:background .2s,border-color .2s; }
.contact-button:hover { background:rgba(255,255,255,.08); border-color:rgba(255,255,255,.5); }
.contact-button > span { display:flex; align-items:center; gap:9px; margin-bottom:8px; color:#86e5d9; font-size:11px; font-weight:700; }
.contact-button > span svg { width:16px; }
.contact-button > strong { font-family:Arial,sans-serif; font-size:25px; font-weight:600; letter-spacing:.01em; }
.contact-button > small { margin-top:5px; color:rgba(255,255,255,.58); font-size:10px; }
.contact-button > svg { position:absolute; right:28px; top:50%; transform:translateY(-50%); }
.mail-button { color:var(--ink); background:white; border-color:white; }
.mail-button:hover { background:#f0faf9; }
.mail-button > span { color:var(--teal); }

.company { display:grid; grid-template-columns:.45fr 1fr; gap:80px; max-width:1300px; margin:auto; }
.company h2 { margin:0; font-size:clamp(36px, 4vw, 54px); }
.company dl { margin:0; border-top:1px solid var(--line); }
.company dl > div { display:grid; grid-template-columns:145px 1fr; gap:25px; padding:21px 4px; border-bottom:1px solid var(--line); }
.company dt { color:#658095; font-size:12px; font-weight:700; }
.company dd { margin:0; font-size:14px; line-height:1.8; }
.company dd a { color:var(--blue); text-decoration:underline; text-underline-offset:3px; }

footer { display:grid; grid-template-columns:1fr auto; align-items:end; gap:38px; padding:60px clamp(24px, 6vw, 90px) 35px; background:#f1f6f8; border-top:1px solid var(--line); }
.footer-brand { display:flex; align-items:center; gap:16px; }
.footer-brand > span:not(.brand-mark) { display:flex; flex-direction:column; }
.footer-brand strong { font-size:16px; letter-spacing:.06em; }
.footer-brand small { margin-top:4px; color:#748b9c; font-size:8px; letter-spacing:.12em; }
.footer-meta { display:flex; gap:25px; font-size:12px; font-weight:700; }
footer > p { grid-column:1/-1; margin:25px 0 0; padding-top:22px; color:#91a2ae; border-top:1px solid var(--line); font-family:monospace; font-size:9px; letter-spacing:.08em; }

@media (max-width: 1050px) {
  .hero { grid-template-columns: 1.12fr 1fr; min-height: 640px; }
  .hero-copy { padding: 55px 3vw; }
  .hero h1 { font-size: clamp(29px, 3.85vw, 42px); }
  .hero-visual { min-height: 640px; }
  .desktop-nav > a:not(.header-contact) { display:none; }
  .concerns { grid-template-columns: 1fr; gap: 30px; }
  .concern-heading h2 br { display: none; }
  .service-body { padding: 25px; }
  .service-card h3 { font-size: 20px; }
  .strengths { grid-template-columns: 1fr 1fr; gap: 45px; }
  .result-groups { grid-template-columns:repeat(2,1fr); }
  .result-groups article:nth-child(3) { border-left:0; border-top:1px solid rgba(255,255,255,.16); }
  .result-groups article:nth-child(4) { border-top:1px solid rgba(255,255,255,.16); }
  .contact-section { gap:50px; }
}

@media (max-width: 760px) {
  .site-header { height: 72px; padding: 0 18px; }
  .brand .brand-mark { flex-basis: 39px; width: 39px; height: 39px; }
  .brand .brand-mark img { width: 58px; height: 58px; }
  .brand strong { font-size: 14px; }
  .brand small { display: none; }
  .desktop-nav > a:first-child { display: none; }
  .header-contact { padding: 11px 14px; font-size: 11px; gap: 7px; }
  .hero { min-height: auto; display: flex; flex-direction: column; }
  .hero-copy { padding: 68px 22px 56px; }
  .hero h1 { font-size: clamp(24px, 7.65vw, 52px); line-height: 1.5; }
  .hero-lead { margin-top: 25px; font-size: 14px; line-height: 1.9; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 18px; }
  .button { justify-content: space-between; }
  .text-link { align-self: flex-start; }
  .trust-row { gap: 12px; flex-wrap: wrap; }
  .hero-visual { min-height: 390px; aspect-ratio: 1.15; }
  .hero-photo { object-position: 48% center; }
  .visual-caption { left: 24px; bottom: 30px; gap: 16px; }
  .visual-caption strong { font-size: 24px; }
  .visual-caption small { font-size: 8px; }
  .photo-kicker { left: 24px; top: 24px; font-size: 8px; }
  .concerns { padding: 55px 22px; }
  .concern-heading h2 { font-size: 30px; }
  .concern-heading h2 br { display: block; }
  .concern-list { grid-template-columns: 1fr; }
  .concern-list li { padding: 22px 0; }
  .concern-list li:nth-child(2) { border-top: 0; }
  .concern-list li p { font-size: 18px; }
  .section { padding: 88px 22px; }
  .section-heading { grid-template-columns: 1fr; gap: 26px; margin-bottom: 40px; }
  .section-heading h2 { font-size: 36px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 0; }
  .service-photo { aspect-ratio: 1.65; }
  .service-body { padding: 30px; }
  .strengths { grid-template-columns:1fr; gap:55px; padding-left:0; padding-right:0; }
  .strength-image { min-height:450px; }
  .strength-copy { padding:0 22px; }
  .strength-copy h2 { font-size:36px; }
  .image-label { left:24px; bottom:24px; }
  .results-intro { grid-template-columns:1fr; gap:25px; }
  .results-intro h2 { font-size:36px; }
  .result-groups { grid-template-columns:1fr; }
  .result-groups article, .result-groups article:first-child, .result-groups article:nth-child(3) { min-height:0; border-left:0; border-top:1px solid rgba(255,255,255,.16); }
  .result-groups article:first-child { border-top:0; }
  .result-groups h3 { margin-top:34px; }
  .document-columns { grid-template-columns:1fr; }
  .document-columns article { padding:28px 22px; }
  .estimate-heading h2 { font-size:36px; }
  .estimate-note { align-items:flex-start; text-align:left; }
  .contact-section { grid-template-columns:1fr; gap:45px; padding:78px 22px; }
  .contact-copy h2 { font-size:36px; }
  .contact-button { padding-left:20px; }
  .contact-button > strong { font-size:20px; }
  .company { grid-template-columns:1fr; gap:35px; }
  .company dl > div { grid-template-columns:90px 1fr; gap:15px; }
  footer { grid-template-columns:1fr; align-items:start; }
  .footer-meta { flex-wrap:wrap; gap:15px 22px; }
}

@media (prefers-reduced-motion: no-preference) {
  .service-card:hover .service-photo img { transform: scale(1.04); }
  .hero-copy > :not(.blueprint-drawing) { animation: rise .7s both; }
  .hero-copy > h1 { animation-delay: .07s; }
  .hero-copy > .hero-lead { animation-delay: .14s; }
  .hero-copy > .hero-actions { animation-delay: .21s; }
  @keyframes rise { from { opacity:0; transform:translateY(14px); } to { opacity:1; transform:translateY(0); } }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .service-photo img { transition: none; } }
/* 既存CSSの末尾に追記 */

/* お悩み：淡い水色背景＋濃紺文字に変更 */
.concerns {
  color: var(--ink);
  background: var(--mist);
}

.concerns .eyebrow {
  color: var(--navy);
}

.concerns .eyebrow span {
  background: var(--teal);
}

.concern-list li {
  border-bottom-color: rgba(7, 61, 130, .16);
}

.concern-list li:nth-child(-n+2) {
  border-top-color: rgba(7, 61, 130, .16);
}

.concern-list li > span {
  color: #00756b;
}

/* メイン写真：暗いグラデーションを少し弱める */
.hero-visual::after {
  background: linear-gradient(
    180deg,
    rgba(4, 25, 42, .16) 0%,
    transparent 32%,
    rgba(4, 25, 42, .04) 55%,
    rgba(4, 25, 42, .68) 100%
  );
}

/* 強みの写真：下部の暗さを少し弱める */
.strength-image::after {
  background: linear-gradient(
    180deg,
    transparent 45%,
    rgba(6, 29, 54, .70) 100%
  );
}

/* 写真上の文字の視認性を補助 */
.visual-caption,
.image-label {
  text-shadow: 0 1px 3px rgba(4, 25, 42, .45);
}
/* ファーストビューの相談ボタンのみ非表示 */
.hero .hero-actions .button-primary {
  display: none;
}

.hero .hero-actions {
  gap: 0;
}

/* 青いキーワードの下に細いライン */
.hero .hero-copy > h1 em {
  padding-bottom: .06em;
  background-image: linear-gradient(90deg, #00a390, #087bc1);
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: 100% 3px;
}

@media (prefers-reduced-motion: no-preference) {
  /* 既存の見出しアニメーションとの重複を防止 */
  .hero .hero-copy > h1 {
    animation: none;
  }

  /* 3行を順番に表示 */
  .hero .hero-copy > h1 > span {
    animation: bantwo-title-reveal .82s
      cubic-bezier(.22, 1, .36, 1) both;
  }

  .hero .hero-copy > h1 > span:nth-child(1) {
    animation-delay: .06s;
  }

  .hero .hero-copy > h1 > span:nth-child(2) {
    animation-delay: .19s;
  }

  .hero .hero-copy > h1 > span:nth-child(3) {
    animation-delay: .32s;
  }

  /* キーワードの下へ線を引く */
  .hero .hero-copy > h1 em {
    animation: bantwo-title-underline .55s ease-out .78s both;
  }

  /* 説明文・導線も見出しに続いて表示 */
  .hero .hero-copy > .hero-lead {
    animation-delay: .75s;
  }

  .hero .hero-copy > .hero-actions {
    animation-delay: .88s;
  }

  .hero .hero-copy > .trust-row {
    animation-delay: .98s;
  }

  @keyframes bantwo-title-reveal {
    from {
      opacity: 0;
      transform: translateY(18px);
      clip-path: inset(100% 0 0 0);
    }
    to {
      opacity: 1;
      transform: translateY(0);
      clip-path: inset(0);
    }
  }

  @keyframes bantwo-title-underline {
    from { background-size: 0 3px; }
    to   { background-size: 100% 3px; }
  }
}

/* 動きを減らす設定では最初から静止表示 */
@media (prefers-reduced-motion: reduce) {
  .hero .hero-copy > h1,
  .hero .hero-copy > h1 > span,
  .hero .hero-copy > h1 em {
    animation: none;
    opacity: 1;
    transform: none;
    clip-path: none;
  }

  .hero .hero-copy > h1 em {
    background-size: 100% 3px;
  }
}