/*
Theme Name: SOUDAN v2
Theme URI: https://example.com/
Author: Poquito Inc.
Description: SOUDAN v2デザインをWordPress化したオリジナルテーマ。Contact Form 7対応。
Version: 2.0.0
Text Domain: soudan-v2
*/
:root{
  --bg:#f6f6f3;
  --paper:#ffffff;
  --ink:#111111;
  --muted:#35404d;
  --line:#d9d8d2;
  --accent:#3158ff;
  --max:1180px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Hiragino Sans","Yu Gothic",Meiryo,sans-serif;line-height:1.75;-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
button,input,textarea{font:inherit}
.container{width:min(calc(100% - 48px),var(--max));margin:0 auto}
.site-header{position:sticky;top:0;z-index:50;background:rgba(246,246,243,.94);backdrop-filter:blur(12px);border-bottom:1px solid var(--line)}
.header-inner{height:76px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.brand img{width:146px;height:auto}
.nav{display:flex;align-items:center;gap:30px;font-size:15px;font-weight:600}
.nav a{padding:8px 0}
.nav a:hover,.nav a[aria-current="page"]{color:var(--accent)}
.nav .nav-cta{padding:10px 18px;border:1px solid var(--ink);border-radius:999px}
.nav .nav-cta:hover{background:var(--ink);color:#fff}
.menu-btn{display:none;background:none;border:0;font-size:28px;line-height:1;padding:8px;cursor:pointer}

.hero{padding:96px 0 72px;border-bottom:1px solid var(--line)}
.hero-copy{max-width:920px}
.hero h1{font-size:clamp(48px,7.4vw,108px);line-height:.98;letter-spacing:-.055em;margin:0 0 42px;font-weight:800}
.hero h1 .accent{color:var(--accent)}
.hero-lead{font-size:clamp(20px,2.2vw,30px);line-height:1.6;max-width:760px;margin:0 0 34px;font-weight:500;letter-spacing:-.015em}
.hero-sub{font-size:16px;color:var(--muted);max-width:720px;margin:0}
.hero-actions{display:flex;gap:14px;flex-wrap:wrap;margin-top:36px}
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:0 22px;border-radius:999px;border:1px solid var(--ink);font-size:15px;font-weight:700;transition:.2s ease}
.btn.primary{background:var(--ink);color:#fff}
.btn.primary:hover{background:var(--accent);border-color:var(--accent)}
.btn.secondary:hover{background:#fff}

.intro{padding:72px 0;border-bottom:1px solid var(--line)}
.intro-grid{display:grid;grid-template-columns:1fr 1fr;gap:64px;align-items:start}
.intro h2,.section-title{font-size:clamp(34px,4.5vw,64px);line-height:1.14;letter-spacing:-.04em;margin:0;font-weight:800}
.intro-copy{font-size:18px;line-height:1.9;max-width:560px}
.intro-copy p{margin:0 0 18px}
.intro-copy p:last-child{margin-bottom:0}

.section{padding:96px 0;border-bottom:1px solid var(--line)}
.section-head{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(280px,.8fr);gap:64px;align-items:end;margin-bottom:54px}
.section-head p{font-size:17px;color:var(--muted);margin:0;max-width:480px;justify-self:end}
.section-kicker{font-size:15px;font-weight:700;color:var(--muted);margin-bottom:16px}

.work-list{border-top:1px solid var(--ink)}
.work-item{display:grid;grid-template-columns:160px 1fr 320px;gap:30px;align-items:center;padding:38px 0;border-bottom:1px solid var(--line)}
.work-no{font-size:16px;color:var(--muted)}
.work-main h3{font-size:clamp(26px,3vw,40px);line-height:1.25;letter-spacing:-.03em;margin:0 0 10px}
.work-main p{margin:0;color:var(--muted);font-size:16px;max-width:680px}
.work-media{background:#fff;border:1px solid var(--line);border-radius:14px;overflow:hidden;aspect-ratio:16/10;display:flex;align-items:center;justify-content:center}
.work-media iframe{width:160%;height:160%;border:0;transform:scale(.625);transform-origin:center;pointer-events:none;background:#fff}
.work-media img{width:100%;height:100%;object-fit:cover}
.work-item:hover .work-main h3{color:var(--accent)}

.approach{display:grid;grid-template-columns:1fr 1fr;gap:1px;background:var(--line);border:1px solid var(--line)}
.approach-item{background:var(--paper);padding:42px}
.approach-item h3{font-size:28px;margin:0 0 14px;letter-spacing:-.025em}
.approach-item p{font-size:16px;color:var(--muted);margin:0}
.approach-item strong{display:block;font-size:15px;color:var(--accent);margin-bottom:28px}

.process{display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid var(--ink)}
.process-step{padding:28px 28px 12px 0;border-right:1px solid var(--line);min-height:220px}
.process-step:not(:first-child){padding-left:28px}
.process-step:last-child{border-right:0}
.process-step .num{font-size:14px;color:var(--muted);margin-bottom:46px}
.process-step h3{font-size:24px;margin:0 0 10px}
.process-step p{margin:0;color:var(--muted);font-size:15px}

.quote-section{background:var(--ink);color:#fff;padding:90px 0}
.quote{max-width:940px;font-size:clamp(30px,4.5vw,58px);line-height:1.35;letter-spacing:-.035em;font-weight:700;margin:0}
.quote small{display:block;font-size:16px;line-height:1.8;letter-spacing:0;font-weight:400;color:#c8c8c8;margin-top:28px;max-width:720px}

.cta-section{padding:90px 0}
.cta-panel{display:grid;grid-template-columns:1fr auto;gap:40px;align-items:end;border-top:1px solid var(--ink);padding-top:40px}
.cta-panel h2{font-size:clamp(36px,5.6vw,72px);line-height:1.08;letter-spacing:-.04em;margin:0 0 18px}
.cta-panel p{font-size:17px;color:var(--muted);margin:0}

.page-hero{padding:84px 0 64px;border-bottom:1px solid var(--line)}
.page-hero h1{font-size:clamp(48px,6vw,86px);line-height:1.05;letter-spacing:-.045em;margin:0 0 26px}
.page-hero p{font-size:19px;max-width:760px;margin:0;color:var(--muted)}
.text-grid{display:grid;grid-template-columns:300px 1fr;gap:80px}
.text-grid h2{font-size:30px;margin:0;letter-spacing:-.025em}
.prose{max-width:760px}
.prose h3{font-size:28px;margin:48px 0 12px}
.prose h3:first-child{margin-top:0}
.prose p{font-size:17px;margin:0 0 22px}
.prose ul{font-size:17px;margin:0;padding-left:1.2em}
.prose li{margin-bottom:8px}

.case-list{display:grid;gap:22px}
.case-link-card{display:grid;grid-template-columns:1fr 360px;gap:36px;align-items:center;padding:28px 0;border-top:1px solid var(--line)}
.case-link-card:last-child{border-bottom:1px solid var(--line)}
.case-link-card h2{font-size:34px;line-height:1.25;margin:0 0 10px;letter-spacing:-.03em}
.case-link-card p{margin:0;color:var(--muted);font-size:16px}
.case-link-card:hover h2{color:var(--accent)}

.company-table{border-top:1px solid var(--ink);max-width:860px}
.company-row{display:grid;grid-template-columns:220px 1fr;padding:24px 0;border-bottom:1px solid var(--line);font-size:16px}
.company-row dt{font-weight:700}
.company-row dd{margin:0}

.form{max-width:780px}
.form-row{margin-bottom:24px}
.form-row label{display:block;font-size:15px;font-weight:700;margin-bottom:8px}
.form-row input,.form-row textarea{width:100%;border:1px solid #c9c8c2;background:#fff;padding:14px 15px;border-radius:8px;font-size:16px;outline:none}
.form-row input:focus,.form-row textarea:focus{border-color:var(--accent)}
.form-row textarea{min-height:180px;resize:vertical}
.form-note{font-size:14px;color:var(--muted);margin-top:12px}

.case-detail-visual{margin:44px 0 60px;background:#fff;border:1px solid var(--line);border-radius:18px;overflow:hidden;padding:18px}
.case-detail-visual iframe{display:block;width:100%;height:620px;border:0;border-radius:10px;background:#fff}
.case-detail-visual img{width:100%;height:auto;border-radius:10px}
.fact-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:var(--line);border:1px solid var(--line);margin:32px 0}
.fact{background:#fff;padding:28px}
.fact b{display:block;font-size:20px;margin-bottom:8px}
.fact p{margin:0;color:var(--muted);font-size:15px}

.site-footer{padding:56px 0 34px;border-top:1px solid var(--line);background:#efefeb}
.footer-top{display:grid;grid-template-columns:1fr 1fr;gap:60px;margin-bottom:54px}
.footer-brand img{width:144px;margin-bottom:18px}
.footer-brand p{font-size:14px;color:var(--muted);max-width:420px;margin:0}
.footer-nav{display:flex;gap:44px;justify-content:flex-end;flex-wrap:wrap}
.footer-nav div{display:flex;flex-direction:column;gap:8px}
.footer-nav strong{font-size:13px;color:var(--muted);margin-bottom:4px}
.footer-nav a{font-size:14px}
.footer-copy{display:flex;justify-content:space-between;gap:30px;padding-top:22px;border-top:1px solid var(--line);font-size:12px;color:var(--muted)}

.reveal{opacity:0;transform:translateY(18px);transition:opacity .55s ease,transform .55s ease}
.reveal.show{opacity:1;transform:none}

@media (max-width:900px){
  .container{width:min(calc(100% - 32px),var(--max))}
  .header-inner{height:68px}
  .menu-btn{display:block}
  .nav{display:none;position:absolute;left:0;right:0;top:68px;background:var(--bg);padding:18px 16px 24px;border-bottom:1px solid var(--line);flex-direction:column;align-items:flex-start;gap:8px}
  .nav.open{display:flex}
  .nav .nav-cta{margin-top:6px}
  .hero{padding:64px 0 52px}
  .hero h1{font-size:clamp(50px,15vw,82px);margin-bottom:32px}
  .hero-lead{font-size:21px}
  .intro-grid,.section-head,.text-grid{grid-template-columns:1fr;gap:28px}
  .section-head p{justify-self:start}
  .section{padding:72px 0}
  .work-item{grid-template-columns:64px 1fr;gap:16px 20px}
  .work-media{grid-column:1 / -1}
  .approach{grid-template-columns:1fr}
  .process{grid-template-columns:1fr 1fr}
  .process-step:nth-child(2){border-right:0}
  .process-step{border-bottom:1px solid var(--line)}
  .process-step:nth-last-child(-n+2){border-bottom:0}
  .cta-panel{grid-template-columns:1fr;align-items:start}
  .case-link-card{grid-template-columns:1fr}
  .case-link-card .work-media{max-width:100%}
  .company-row{grid-template-columns:140px 1fr}
  .fact-grid{grid-template-columns:1fr}
  .footer-top{grid-template-columns:1fr;gap:34px}
  .footer-nav{justify-content:flex-start}
  .footer-copy{flex-direction:column}
}
@media (max-width:560px){
  .container{width:calc(100% - 24px)}
  .brand img{width:128px}
  .hero h1{font-size:48px}
  .hero-lead{font-size:19px}
  .hero-sub,.intro-copy,.section-head p{font-size:15px}
  .intro{padding:56px 0}
  .section{padding:60px 0}
  .section-title{font-size:36px}
  .work-item{grid-template-columns:1fr;padding:28px 0}
  .work-no{font-size:13px}
  .work-media{grid-column:auto}
  .approach-item{padding:28px 22px}
  .process{grid-template-columns:1fr}
  .process-step,.process-step:not(:first-child){padding:26px 0;border-right:0;border-bottom:1px solid var(--line);min-height:auto}
  .process-step:last-child{border-bottom:0}
  .process-step .num{margin-bottom:18px}
  .quote-section{padding:64px 0}
  .page-hero{padding:60px 0 48px}
  .page-hero h1{font-size:44px}
  .company-row{grid-template-columns:1fr;gap:6px}
  .case-detail-visual{padding:8px}
  .case-detail-visual iframe{height:520px}
}

/* WordPress / Contact Form 7 */
body.admin-bar .site-header{top:32px}
@media(max-width:782px){body.admin-bar .site-header{top:46px}}
.wpcf7-form{max-width:860px;margin:0 auto}
.wpcf7-form .form-row{margin-bottom:28px}
.wpcf7-form label{display:block;font-weight:700;margin-bottom:10px}
.wpcf7-form input[type="text"],.wpcf7-form input[type="email"],.wpcf7-form input[type="tel"],.wpcf7-form textarea{width:100%;box-sizing:border-box;padding:16px 18px;border:1px solid #d9dee7;border-radius:8px;background:#fff;font:inherit;color:inherit}
.wpcf7-form textarea{min-height:180px;resize:vertical}
.wpcf7-form input:focus,.wpcf7-form textarea:focus{outline:none;border-color:#155298;box-shadow:0 0 0 3px rgba(21,82,152,.10)}
.wpcf7-form .wpcf7-submit{appearance:none;border:0;cursor:pointer}
.wpcf7-form .wpcf7-not-valid-tip{font-size:13px;margin-top:7px}
.wpcf7-form .wpcf7-response-output{margin:24px 0 0!important;padding:14px 16px!important;border-radius:8px}
.cf7-setup-note{max-width:860px;margin:0 auto;padding:18px 20px;border:1px solid #d9dee7;border-radius:10px;background:#f7f9fc;font-size:14px;line-height:1.8}

/* Top page imagery */
.hero{background-image:linear-gradient(90deg,rgba(246,248,252,.98) 0%,rgba(246,248,252,.96) 35%,rgba(246,248,252,.74) 55%,rgba(246,248,252,.04) 83%),var(--hero-image);background-size:cover;background-position:center center;min-height:650px;display:flex;align-items:center}
.hero-copy{max-width:730px}
.intro-image,.approach-image{display:block;width:100%;height:auto;max-height:440px;object-fit:cover;object-position:center;border-radius:16px}
.intro-image{margin-top:42px}
.approach-image{margin-bottom:32px}
.quote-section{background-image:linear-gradient(90deg,rgba(10,24,42,.98) 0%,rgba(10,24,42,.90) 45%,rgba(10,24,42,.52) 78%,rgba(10,24,42,.38) 100%),var(--quote-image);background-position:center;background-size:cover}
.quote{position:relative}
@media(max-width:900px){
  .hero{min-height:600px;background-position:62% center;background-image:linear-gradient(90deg,rgba(246,248,252,.98) 0%,rgba(246,248,252,.90) 60%,rgba(246,248,252,.40) 100%),var(--hero-image)}
}
@media(max-width:560px){
  .hero{min-height:0;background-position:68% center;background-image:linear-gradient(90deg,rgba(246,248,252,.97),rgba(246,248,252,.86)),var(--hero-image)}
  .intro-image,.approach-image{height:230px;object-position:65% center;border-radius:12px}
  .quote-section{background-position:65% center;background-image:linear-gradient(rgba(10,24,42,.90),rgba(10,24,42,.90)),var(--quote-image)}
}

/* Pricing and service eligibility */
.service-eligibility{display:inline-block;margin:24px 0 0;padding:8px 14px;border:1px solid #bdcce1;border-radius:8px;background:rgba(255,255,255,.86);color:#24476c;font-size:14px;font-weight:600;line-height:1.7}
.pricing-section{background:#edf2f8}
.pricing-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.pricing-card{padding:40px;background:#fff;border:1px solid #d4dfe9;border-radius:16px;min-width:0}
.pricing-card h3{font-size:23px;margin:0 0 28px}
.pricing-unit{font-size:16px;color:var(--muted);margin:0 0 6px}
.pricing-value{font-size:clamp(42px,5.4vw,72px);line-height:1.2;font-weight:800;letter-spacing:-.035em;color:var(--accent);margin:0 0 24px;font-variant-numeric:tabular-nums}
.pricing-value span{font-size:24px;margin-left:6px;letter-spacing:0;white-space:nowrap}
.pricing-description{font-size:16px;color:var(--muted);margin:0;line-height:1.8}
.cloud-service-note{margin-top:28px;padding:28px 32px;background:#fff;border-left:4px solid var(--accent);border-radius:0 12px 12px 0}
.cloud-service-note h3{font-size:20px;margin:0 0 12px}
.cloud-service-note p{font-size:16px;color:var(--muted);margin:0;line-height:1.9}
@media(max-width:700px){
  .pricing-grid{grid-template-columns:1fr;gap:16px}
  .pricing-card{padding:28px 22px}
  .pricing-value{font-size:clamp(38px,10vw,62px)}
  .pricing-value span{font-size:22px}
  .cloud-service-note{padding:24px 20px}
  .cloud-service-note p{font-size:15px}
}

/* Three-year cost comparison */
.cost-comparison{margin-top:48px;padding:36px;background:#fff;border:1px solid #d4dfe9;border-radius:16px}
.cost-comparison h3{font-size:clamp(23px,3vw,34px);line-height:1.4;margin:0 0 18px}
.cost-comparison>p{margin:0 0 24px}
.cost-table-scroll{overflow-x:auto;margin:28px 0;max-width:100%}
.cost-table-scroll:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.cost-table{width:100%;min-width:620px;border-collapse:collapse;font-size:16px;font-variant-numeric:tabular-nums}
.cost-table caption{text-align:left;font-size:14px;color:var(--muted);padding-bottom:12px}
.cost-table th,.cost-table td{padding:18px 14px;border-bottom:1px solid var(--line);text-align:right;white-space:nowrap}
.cost-table th:first-child{text-align:left}
.cost-table thead{background:#f3f5f8}
.cost-table .cost-soudan{background:#eaf0ff;color:#2444bc;font-weight:700}
.cost-table .cost-total{font-weight:700;border-top:2px solid #b9c5d4}
.cost-savings{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.cost-savings p{margin:0;padding:24px;background:#edf2ff;border-radius:12px;font-size:15px}
.cost-savings strong{display:block;margin-top:8px;font-size:clamp(22px,2.6vw,32px);line-height:1.5;color:#2444bc}
.cost-comparison .cost-note{margin:24px 0 0;font-size:13px;color:var(--muted);line-height:1.8}
@media(max-width:700px){.cost-comparison{padding:26px 18px;margin-top:32px}.cost-savings{grid-template-columns:1fr;gap:12px}.cost-savings p{padding:20px}}

/* Vertical cost comparison with reduction arrows */
.cost-vertical-chart{margin:32px 0;padding:0}
.cost-vertical-chart figcaption{font-size:22px;font-weight:700;margin-bottom:8px}
.cost-chart-unit{font-size:13px;color:var(--muted);margin:0 0 24px}
.cost-chart-pairs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.cost-chart-pair{padding:24px 18px;background:#f7f9fc;border:1px solid #e2e7ef;border-radius:14px;min-width:0}
.cost-chart-pair h4{margin:0 0 52px;font-size:17px;text-align:center}
.cost-vertical-plot{position:relative;height:270px;border-bottom:2px solid #bac4d2;margin:0 8px;background:linear-gradient(to top,transparent calc(50% - 1px),#e6eaf0 50%,transparent calc(50% + 1px))}
.cost-column{position:absolute;bottom:0;width:27%;border-radius:6px 6px 0 0;z-index:1}
.cost-column-other{left:0;background:#9ba9bc}
.cost-column-soudan{right:0;background:#3158ff}
.cost-column b{position:absolute;bottom:100%;left:50%;transform:translateX(-50%);padding-bottom:10px;font-size:16px;white-space:nowrap;font-variant-numeric:tabular-nums}
.cost-column-soudan b{color:#2444bc}
.cost-drop-arrow{position:absolute;left:50%;width:0;border-left:4px solid #3158ff;z-index:2}
.cost-drop-arrow:before{content:"";position:absolute;top:0;left:-12px;width:20px;border-top:4px solid #3158ff}
.cost-drop-arrow:after{content:"";position:absolute;bottom:-1px;left:-10px;width:12px;height:12px;border-right:4px solid #3158ff;border-bottom:4px solid #3158ff;transform:rotate(45deg)}
.cost-drop-arrow>span{position:absolute;top:45%;left:-2px;transform:translate(-50%,-50%);width:90px;padding:8px 2px;text-align:center;background:#f7f9fc;color:#2444bc;font-size:14px;font-weight:700;line-height:1.2}
.cost-drop-arrow strong{display:block;font-size:38px;letter-spacing:-.05em;margin:2px 0}
.cost-drop-arrow small{font-size:19px;letter-spacing:0}
.cost-reference-line{position:absolute;left:0;right:0;bottom:11.886111%;border-top:1px dashed #8ba0f3}
.cost-column-labels{display:flex;justify-content:space-between;text-align:center;gap:50px;margin-top:14px}
.cost-column-labels>div{width:38%;font-size:15px}
.cost-column-labels>div:last-child>strong{color:#2444bc}
.cost-column-labels span{display:block;font-size:12px;color:var(--muted);margin-top:6px;line-height:1.6}
.cost-breakdown{border-top:1px solid var(--line);padding-top:18px}
.cost-breakdown summary{cursor:pointer;font-size:15px;font-weight:600}
@media(max-width:900px){.cost-chart-pairs{grid-template-columns:1fr}.cost-chart-pair{padding:24px}.cost-vertical-plot{max-width:420px;margin-left:auto;margin-right:auto}.cost-column-labels{max-width:440px;margin-left:auto;margin-right:auto}}
@media(max-width:380px){.cost-chart-pair{padding:22px 10px}.cost-column b{font-size:13px}.cost-drop-arrow>span{width:76px}.cost-drop-arrow strong{font-size:32px}}

/* Readability and heading rhythm */
body{font-size:18px;font-weight:500;line-height:1.9;color:#17212e}
p{line-break:strict;overflow-wrap:break-word}
h1,h2,h3,h4{color:inherit;line-break:strict;letter-spacing:-.025em}
.title-line{display:block}
.title-phrase{display:inline-block}
.hero-copy{max-width:780px}
.hero h1{font-size:clamp(54px,6.6vw,88px);line-height:1.22;letter-spacing:-.04em;margin-bottom:32px}
.hero-lead{font-size:24px;font-weight:600;line-height:1.8;margin-bottom:24px}
.hero-sub,.intro-copy,.section-head p,.work-main p,.approach-item p,.process-step p,.cta-panel p,.pricing-description,.cloud-service-note p,.case-link-card p,.fact p,.prose p,.prose ul{font-size:18px;line-height:1.9;font-weight:500;color:var(--muted)}
.section-head{grid-template-columns:1fr;gap:24px;align-items:start;margin-bottom:44px}
.section-head p{max-width:820px;justify-self:start}
.intro-grid{grid-template-columns:1fr;gap:28px}
.intro-copy{max-width:860px}
.intro h2,.section-title{font-size:48px;line-height:1.45;letter-spacing:-.025em}
.work-item{grid-template-columns:50px minmax(0,1fr) 300px;gap:28px}
.work-main h3{font-size:32px;line-height:1.5;margin-bottom:16px}
.approach-item h3{font-size:26px;line-height:1.5}
.process-step h3{font-size:24px;line-height:1.5}
.section-kicker,.work-no,.approach-item strong,.process-step .num,.service-eligibility,.pricing-unit{font-size:17px;font-weight:700}
.btn,.nav{font-size:17px}
.quote{font-size:44px;line-height:1.5}
.quote small{font-size:18px;color:#fff;line-height:1.9;font-weight:500;max-width:820px}
.cta-panel h2{font-size:48px;line-height:1.4}
.page-hero h1{line-height:1.3}
.form-note,.footer-brand p,.footer-nav a,.footer-nav strong,.footer-copy,.cost-chart-unit,.cost-column-labels span,.cost-table caption,.cost-comparison .cost-note{font-size:15px;font-weight:500;color:var(--muted);line-height:1.8}
.cost-comparison h3{font-size:32px;line-height:1.5}
.cost-chart-pair h4{font-size:20px;font-weight:700}
.cost-column-labels>div{font-size:18px}
.cost-column b{font-size:18px}
.cost-breakdown summary{font-size:18px}
.cost-table{font-size:17px}
.cost-drop-arrow>span{font-size:17px;font-weight:800}
.cost-drop-arrow strong{font-size:42px}
.cost-chart-pair{padding:28px 24px}
.cost-vertical-plot{margin-left:14px;margin-right:14px}
@media(max-width:1000px){.work-item{grid-template-columns:40px minmax(0,1fr);gap:20px}.work-media{grid-column:2}.cost-chart-pairs{grid-template-columns:1fr}.cost-vertical-plot,.cost-column-labels{max-width:440px;margin-left:auto;margin-right:auto}.cost-chart-pair{padding:28px}}
@media(max-width:700px){
 body{font-size:17px}
 .container{width:calc(100% - 36px)}
 .hero{padding:52px 0}
 .hero h1{font-size:clamp(40px,10vw,64px);line-height:1.25}
 .hero-lead{font-size:21px}
 .hero-lead br{display:none}
 .hero-sub,.intro-copy,.section-head p,.work-main p,.approach-item p,.process-step p,.cta-panel p,.pricing-description,.cloud-service-note p,.case-link-card p,.fact p,.prose p,.prose ul{font-size:17px;line-height:1.9}
 .intro h2,.section-title,.cta-panel h2{font-size:clamp(27px,6.6vw,38px);line-height:1.5;letter-spacing:-.035em}
 .section-head{gap:20px;margin-bottom:32px}
 .work-main h3{font-size:27px}
 .work-item{grid-template-columns:1fr;gap:12px}
 .work-media{grid-column:1}
 .quote{font-size:clamp(27px,6.6vw,36px);line-height:1.55}
 .quote small{font-size:17px}
 .cost-comparison{padding:24px 16px}
 .cost-comparison h3{font-size:27px}
 .cost-chart-pair{padding:24px 16px}
 .cost-column b{font-size:15px}
 .cost-column-labels{gap:28px}
 .cost-column-labels>div{width:44%;font-size:17px}
 .cost-column-labels span{font-size:14px}
 .cost-chart-unit{font-size:15px}
 .cost-drop-arrow>span{width:76px;font-size:16px}
 .cost-drop-arrow strong{font-size:36px}
 .pricing-card{padding:28px 22px}
}

/* Service content and per-project pricing */
.work-main .work-price{margin-top:18px;color:#2444bc;font-weight:700;font-size:18px}
.work-price strong{font-size:24px;white-space:nowrap}
.service-lead{max-width:880px}
.service-lead p{font-size:19px;line-height:1.9;margin:0 0 20px}
.service-price-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.service-price-card{padding:30px 24px;background:#fff;border:1px solid var(--line);border-radius:14px;min-width:0}
.service-price-card h3{font-size:24px;line-height:1.5;margin:0 0 18px}
.service-price-card .service-price{font-size:clamp(28px,3vw,38px);font-weight:800;color:#2444bc;margin:0 0 16px;white-space:nowrap}
.service-price-card p{font-size:17px;margin:0;line-height:1.9;color:var(--muted)}
.service-maintenance{margin-top:28px;font-size:20px;font-weight:700}
.service-subnote{font-size:16px;color:var(--muted)}
@media(max-width:900px){.service-price-grid{grid-template-columns:1fr}.service-lead p{font-size:18px}}

/* Footer paragraph wrapping and clinical collaboration */
.footer-brand p{max-width:38em;line-height:1.85;letter-spacing:0;text-wrap:balance;line-break:strict;word-break:normal;overflow-wrap:break-word}
.footer-top{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:48px}
.clinic-partnership{background:#fff}
.clinic-partnership-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:32px}
.clinic-installation,.medical-advisor{padding:36px;border:1px solid #d4dfe9;border-radius:16px;background:#f8fafc;min-width:0}
.clinic-logo{display:block;width:100%;aspect-ratio:3.2 / 1;overflow:hidden;background:#fff;margin:12px 0 28px;border-radius:8px}
.clinic-logo img{width:100%;height:100%;object-fit:cover;object-position:center}
.clinic-installation h3{font-size:24px;line-height:1.6;margin:0 0 18px}
.medical-advisor h3{font-size:32px;line-height:1.5;margin:0 0 16px}
.medical-advisor h3 span{font-size:18px;display:inline-block}
.clinic-installation p,.medical-advisor p{font-size:17px;line-height:1.9;color:var(--muted)}
.medical-advisor .advisor-position{font-weight:700;color:#17212e}
.clinic-text-link{display:inline-block;margin-top:12px;font-size:16px;font-weight:700;color:#2444bc;text-decoration:underline;text-underline-offset:5px}
@media(max-width:900px){.footer-top,.clinic-partnership-grid{grid-template-columns:1fr}.footer-brand p{max-width:38em}}
@media(max-width:560px){.clinic-installation,.medical-advisor{padding:26px 20px}.clinic-installation h3{font-size:22px}.medical-advisor h3{font-size:28px}.footer-brand p{font-size:16px;max-width:100%}}
