:root{
  color-scheme:light;
  --paper:#fffdf8;
  --base:#f5f0e8;
  --ink:#22201c;
  --muted:#665f55;
  --subtle:#8a8175;
  --line:#ddd3c3;
  --accent:#0f6b63;
  --accent-dark:#0a4742;
  --accent-blue:#1f6f9d;
  --accent-soft:#e6f3ef;
  --warm:#efe7d9;
  --gold:#b9872b;
  --white:#ffffff;
  --shadow:0 18px 44px rgba(45,38,28,.12);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  background:var(--base);
  color:var(--ink);
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Hiragino Sans","Yu Gothic",Meiryo,sans-serif;
  line-height:1.75;
  letter-spacing:0;
}
body.menu-open{overflow:hidden}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}

.site-header{
  position:sticky;
  top:0;
  z-index:20;
  background:rgba(255,253,248,.94);
  border-bottom:1px solid rgba(221,211,195,.72);
  backdrop-filter:blur(14px);
}
.header-inner{
  width:min(1120px,calc(100% - 40px));
  min-height:72px;
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px;
}
.logo{
  display:inline-flex;
  align-items:center;
  gap:12px;
  min-width:0;
}
.logo img{
  width:146px;
  height:auto;
}
.logo span{
  color:var(--muted);
  font-size:12px;
  font-weight:800;
  white-space:nowrap;
}
.nav{
  display:flex;
  align-items:center;
  gap:22px;
  color:#3b3731;
  font-size:14px;
  font-weight:850;
}
.nav a{
  position:relative;
}
.nav a::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:-7px;
  height:2px;
  background:var(--accent);
  transform:scaleX(0);
  transform-origin:left;
  transition:transform .18s ease;
}
.nav a:hover::after,
.nav a:focus-visible::after{transform:scaleX(1)}
.header-cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:40px;
  padding:0 16px;
  border-radius:8px;
  background:var(--accent);
  color:#fff;
  font-size:14px;
  font-weight:900;
}
.menu-button{
  display:none;
  width:44px;
  height:44px;
  border:1px solid var(--line);
  border-radius:8px;
  background:#fff;
  color:var(--ink);
  font-size:0;
  position:relative;
}
.menu-button span,
.menu-button::before,
.menu-button::after{
  content:"";
  position:absolute;
  left:12px;
  right:12px;
  height:2px;
  background:var(--ink);
  border-radius:10px;
}
.menu-button::before{top:14px}
.menu-button span{top:21px}
.menu-button::after{top:28px}

.hero{
  position:relative;
  min-height:calc(92svh - 72px);
  display:flex;
  align-items:flex-end;
  overflow:hidden;
  background:#153c38;
}
.hero::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg,rgba(9,29,27,.86) 0%,rgba(9,29,27,.66) 44%,rgba(9,29,27,.18) 100%),
    linear-gradient(180deg,rgba(9,29,27,.16) 0%,rgba(9,29,27,.72) 100%),
    url("devision-consultation-hero.png") center/cover no-repeat;
}
.hero-inner{
  position:relative;
  width:min(1120px,calc(100% - 40px));
  margin:0 auto;
  padding:78px 0 58px;
  color:#fff;
}
.eyebrow{
  display:inline-flex;
  align-items:center;
  min-height:32px;
  padding:0 12px;
  border:1px solid rgba(255,255,255,.42);
  border-radius:8px;
  background:rgba(255,255,255,.12);
  color:#f1fbf8;
  font-size:14px;
  font-weight:900;
}
.hero h1{
  margin:20px 0 0;
  max-width:760px;
  font-size:clamp(40px,5.6vw,68px);
  line-height:1.08;
  letter-spacing:0;
  font-weight:950;
}
.hero h1 span{display:block}
.hero-copy{
  max-width:650px;
  margin:22px 0 0;
  color:#edf7f4;
  font-size:clamp(17px,1.7vw,20px);
  line-height:1.85;
  font-weight:700;
}
.site-hero-inner{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(360px,430px);
  gap:54px;
  align-items:center;
}
.hero-message{min-width:0}
.hero-showcase{
  position:relative;
  min-height:430px;
}
.browser-mock,
.phone-mock,
.support-chip{
  position:absolute;
  box-shadow:0 24px 70px rgba(0,0,0,.32);
}
.browser-mock{
  top:8px;
  right:0;
  width:390px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.42);
  border-radius:8px;
  background:#fffdf8;
  color:var(--ink);
  animation:float-soft 7s ease-in-out infinite;
}
.browser-bar{
  min-height:38px;
  display:flex;
  align-items:center;
  gap:7px;
  padding:0 12px;
  border-bottom:1px solid var(--line);
  background:#f6efe4;
}
.browser-bar span{
  width:9px;
  height:9px;
  border-radius:50%;
  background:#d8c7ae;
}
.browser-bar div{
  margin-left:8px;
  min-height:20px;
  flex:1;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:6px;
  background:#fff;
  color:#81786c;
  font-size:11px;
  font-weight:850;
}
.mock-hero{
  min-height:160px;
  display:flex;
  align-items:flex-end;
  padding:20px;
  background:
    linear-gradient(180deg,rgba(15,107,99,.08),rgba(15,107,99,.55)),
    linear-gradient(135deg,#f4dac4 0%,#e7f0eb 54%,#b6d1cb 100%);
}
.mock-hero small{
  display:block;
  color:#f8fffd;
  font-size:12px;
  font-weight:950;
}
.mock-hero strong{
  display:block;
  max-width:260px;
  color:#fff;
  font-size:24px;
  line-height:1.25;
  font-weight:950;
}
.mock-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:10px;
  padding:14px 18px 10px;
}
.mock-grid div{
  min-height:54px;
  border-radius:7px;
  background:#ece4d8;
}
.mock-lines{
  display:grid;
  gap:8px;
  padding:0 18px 20px;
}
.mock-lines span{
  height:8px;
  border-radius:20px;
  background:#d9d0c3;
}
.mock-lines span:nth-child(2){width:82%}
.mock-lines span:nth-child(3){width:58%}
.phone-mock{
  right:298px;
  bottom:16px;
  width:132px;
  border:1px solid rgba(255,255,255,.48);
  border-radius:24px;
  background:#171512;
  padding:10px;
  animation:float-soft 8s ease-in-out infinite reverse;
}
.phone-top{
  width:34px;
  height:4px;
  margin:0 auto 8px;
  border-radius:8px;
  background:#433d36;
}
.phone-screen{
  min-height:210px;
  border-radius:16px;
  padding:16px 12px;
  background:#fffdf8;
  color:var(--ink);
}
.phone-screen strong{
  display:block;
  color:var(--accent-dark);
  font-size:16px;
  font-weight:950;
}
.phone-screen span{
  display:block;
  height:9px;
  margin-top:11px;
  border-radius:20px;
  background:#d8d0c4;
}
.phone-screen span:nth-of-type(2){width:74%}
.phone-screen span:nth-of-type(3){width:52%}
.phone-screen button{
  width:100%;
  min-height:34px;
  margin-top:22px;
  border:0;
  border-radius:8px;
  background:var(--accent);
  color:#fff;
  font:inherit;
  font-size:12px;
  font-weight:950;
}
.support-chip{
  right:12px;
  bottom:88px;
  display:inline-flex;
  align-items:center;
  min-height:42px;
  padding:0 16px;
  border:1px solid rgba(255,255,255,.52);
  border-radius:8px;
  background:rgba(255,253,248,.92);
  color:var(--accent-dark);
  font-size:14px;
  font-weight:950;
  animation:chip-pulse 4.6s ease-in-out infinite;
}
@keyframes float-soft{
  0%,100%{transform:translateY(0)}
  50%{transform:translateY(-12px)}
}
@keyframes chip-pulse{
  0%,100%{transform:translateY(0);box-shadow:0 18px 44px rgba(0,0,0,.22)}
  50%{transform:translateY(-5px);box-shadow:0 22px 54px rgba(0,0,0,.28)}
}
.hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:32px;
}
.button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  padding:0 20px;
  border:1px solid transparent;
  border-radius:8px;
  font-weight:950;
  font-size:15px;
}
.button.primary{
  background:#fff;
  color:#133f3b;
}
.button.secondary{
  border-color:rgba(255,255,255,.46);
  color:#fff;
  background:rgba(255,255,255,.08);
}
.button.dark{
  background:var(--accent);
  color:#fff;
}
.button.light{
  background:#fff;
  color:var(--accent-dark);
  border-color:rgba(15,107,99,.2);
}
.hero-points{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:1px;
  width:min(1120px,calc(100% - 40px));
  margin:-34px auto 0;
  position:relative;
  z-index:2;
  border:1px solid rgba(221,211,195,.8);
  border-radius:8px;
  overflow:hidden;
  box-shadow:var(--shadow);
}
.hero-point{
  background:var(--paper);
  padding:20px 22px;
  min-height:96px;
}
.hero-point strong{
  display:block;
  color:var(--accent-dark);
  font-size:16px;
  font-weight:950;
}
.hero-point span{
  display:block;
  margin-top:6px;
  color:var(--muted);
  font-size:14px;
  font-weight:700;
  line-height:1.55;
}

.section{
  padding:88px 0;
}
.section.compact{padding:64px 0}
.section.alt{background:var(--paper)}
.wrap{
  width:min(1120px,calc(100% - 40px));
  margin:0 auto;
}
.section-head{
  max-width:760px;
  margin-bottom:34px;
}
.section-kicker{
  color:var(--accent);
  font-size:14px;
  font-weight:950;
}
.section h2{
  margin:8px 0 0;
  font-size:clamp(28px,3.6vw,44px);
  line-height:1.26;
  letter-spacing:0;
  font-weight:950;
}
.section-lead{
  margin:14px 0 0;
  color:var(--muted);
  font-size:17px;
  line-height:1.85;
  font-weight:700;
}
.split-section{
  display:grid;
  grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);
  gap:70px;
  align-items:start;
}
.text-stack{
  display:grid;
  gap:18px;
}
.text-stack p,
.support-summary p{
  margin:0;
  color:var(--muted);
  font-size:17px;
  line-height:1.9;
  font-weight:700;
}
.reveal{
  opacity:0;
  transform:translateY(22px);
  transition:opacity .72s ease,transform .72s ease;
}
.reveal.is-visible{
  opacity:1;
  transform:translateY(0);
}
.grid-3{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:20px;
}
.service-card,
.plan-card,
.faq-card,
.contact-method,
.step-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:8px;
}
.service-card{
  padding:28px;
}
.service-card h3,
.plan-card h3,
.faq-card h3,
.contact-method h3,
.step-card h3{
  margin:0;
  font-size:21px;
  line-height:1.45;
  font-weight:950;
}
.service-card p,
.faq-card p,
.contact-method p,
.step-card p{
  margin:12px 0 0;
  color:var(--muted);
  font-size:15px;
  line-height:1.8;
  font-weight:700;
}
.examples{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:12px;
  margin-top:34px;
}
.example{
  min-height:100px;
  display:flex;
  align-items:center;
  padding:18px;
  border-top:4px solid var(--accent);
  background:#fff;
  color:#2c2924;
  font-size:15px;
  font-weight:900;
  line-height:1.55;
}

.plans{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:20px;
  align-items:stretch;
}
.plan-card{
  padding:28px;
  display:flex;
  flex-direction:column;
  min-height:430px;
}
.plan-card.recommended{
  border:2px solid var(--accent);
  background:linear-gradient(180deg,#f1fbf8 0%,#fff 52%);
}
.badge{
  align-self:flex-start;
  min-height:30px;
  display:inline-flex;
  align-items:center;
  padding:0 12px;
  border-radius:8px;
  background:var(--accent);
  color:#fff;
  font-size:13px;
  font-weight:950;
  margin-bottom:14px;
}
.price{
  margin-top:18px;
  font-size:34px;
  line-height:1.1;
  font-weight:950;
}
.price span{
  color:var(--muted);
  font-size:15px;
  font-weight:850;
}
.monthly{
  margin-top:8px;
  color:var(--accent);
  font-size:15px;
  font-weight:950;
}
.plan-card p{
  margin:18px 0 0;
  color:var(--muted);
  font-size:15px;
  line-height:1.75;
  font-weight:700;
}
.plan-limit{
  margin-top:auto;
  padding-top:18px;
  border-top:1px solid var(--line);
  color:#2b2823;
  font-size:15px;
  line-height:1.65;
  font-weight:900;
}
.note{
  margin-top:18px;
  color:var(--muted);
  font-size:14px;
  line-height:1.7;
  font-weight:700;
}
.price-overview{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:20px;
}
.price-panel{
  min-height:300px;
  padding:32px;
  border:1px solid var(--line);
  border-radius:8px;
  background:#fff;
}
.price-panel span{
  color:var(--accent);
  font-size:13px;
  font-weight:950;
}
.price-panel h3{
  margin:8px 0 0;
  font-size:24px;
  line-height:1.4;
  font-weight:950;
}
.price-panel .price{
  margin-top:20px;
  font-size:40px;
}
.price-panel p{
  margin:18px 0 0;
  color:var(--muted);
  font-size:15px;
  line-height:1.78;
  font-weight:700;
}
.inline-link{
  display:inline-flex;
  margin-top:18px;
  color:var(--accent-dark);
  font-weight:950;
  border-bottom:2px solid rgba(15,107,99,.25);
}
.support-summary{
  display:grid;
  gap:24px;
}
.support-list{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
}
.support-list span{
  min-height:54px;
  display:flex;
  align-items:center;
  padding:12px 14px;
  border-left:4px solid var(--accent);
  background:#fff;
  color:#2b2823;
  font-size:14px;
  font-weight:900;
  line-height:1.45;
}

.scope{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:22px;
}
.scope-block{
  padding:30px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:8px;
}
.scope-block h3{
  margin:0 0 18px;
  font-size:22px;
  font-weight:950;
}
.check-list{
  display:grid;
  gap:12px;
  padding:0;
  margin:0;
  list-style:none;
}
.check-list li{
  position:relative;
  padding-left:22px;
  color:#332f29;
  font-size:15px;
  line-height:1.65;
  font-weight:800;
}
.check-list li::before{
  content:"";
  position:absolute;
  left:0;
  top:.72em;
  width:8px;
  height:8px;
  border-radius:50%;
  background:var(--accent);
}
.scope-block.out .check-list li::before{background:var(--gold)}

.steps{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:16px;
}
.step-card{
  padding:24px;
}
.step-number{
  width:36px;
  height:36px;
  display:grid;
  place-items:center;
  border-radius:8px;
  background:var(--accent-soft);
  color:var(--accent-dark);
  font-weight:950;
  margin-bottom:16px;
}
.faq-list{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
}
.faq-card{
  padding:24px;
}

.contact-band{
  background:var(--accent-dark);
  color:#fff;
  padding:72px 0;
}
.contact-band .wrap{
  display:grid;
  grid-template-columns:minmax(0,1fr) 340px;
  gap:36px;
  align-items:center;
}
.contact-band h2{
  margin:0;
  font-size:clamp(30px,4vw,48px);
  line-height:1.22;
  font-weight:950;
}
.contact-band p{
  margin:16px 0 0;
  color:#dcefea;
  font-size:17px;
  line-height:1.85;
  font-weight:700;
}
.contact-panel{
  background:#fff;
  color:var(--ink);
  border-radius:8px;
  padding:26px;
}
.contact-panel a{
  display:block;
  padding:13px 0;
  border-bottom:1px solid var(--line);
  color:var(--accent-dark);
  font-weight:950;
  overflow-wrap:anywhere;
}
.contact-panel a:last-child{border-bottom:0}

.page-hero{
  background:var(--paper);
  border-bottom:1px solid var(--line);
  padding:72px 0 54px;
}
.page-hero h1{
  margin:0;
  font-size:clamp(36px,5vw,62px);
  line-height:1.18;
  font-weight:950;
}
.page-hero p{
  margin:16px 0 0;
  max-width:760px;
  color:var(--muted);
  font-size:18px;
  line-height:1.85;
  font-weight:700;
}
.contact-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:20px;
}
.contact-method{
  padding:30px;
}
.contact-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:46px;
  margin-top:20px;
  padding:0 16px;
  border-radius:8px;
  background:var(--accent);
  color:#fff;
  font-weight:950;
}
.info-panel{
  margin-top:28px;
  padding:26px;
  background:#fff;
  border-left:5px solid var(--gold);
  border-radius:8px;
}
.info-panel h2{
  margin:0;
  font-size:22px;
}
.info-panel p{
  margin:10px 0 0;
  color:var(--muted);
  font-weight:700;
}

.site-footer{
  padding:36px 0;
  background:#171512;
  color:#cfc8bc;
}
.footer-inner{
  width:min(1120px,calc(100% - 40px));
  margin:0 auto;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:24px;
  font-size:13px;
  font-weight:750;
}
.footer-inner img{
  width:132px;
}

@media (max-width:920px){
  .header-inner{width:min(100% - 28px,1120px)}
  .menu-button{display:block}
  .nav{
    position:fixed;
    inset:72px 0 auto;
    display:none;
    flex-direction:column;
    align-items:stretch;
    gap:0;
    padding:12px 20px 20px;
    background:var(--paper);
    border-bottom:1px solid var(--line);
    box-shadow:0 24px 40px rgba(45,38,28,.12);
  }
  .nav.is-open{display:flex}
  .nav a{
    padding:14px 0;
    border-bottom:1px solid var(--line);
  }
  .header-cta{margin-top:12px}
  .hero{min-height:720px}
  .hero-inner{padding:82px 0 92px}
  .hero-points,
  .site-hero-inner,
  .grid-3,
  .plans,
  .price-overview,
  .steps,
  .faq-list,
  .scope,
  .split-section,
  .contact-band .wrap,
  .contact-grid{
    grid-template-columns:1fr;
  }
  .site-hero-inner{gap:32px}
  .hero-showcase{
    min-height:330px;
    max-width:480px;
  }
  .browser-mock{
    width:min(100%,360px);
    right:auto;
    left:0;
  }
  .phone-mock{
    right:0;
    bottom:0;
  }
  .support-chip{
    right:0;
    bottom:64px;
  }
  .examples{grid-template-columns:repeat(2,minmax(0,1fr))}
  .contact-band .wrap{gap:24px}
}

@media (max-width:560px){
  .header-inner{min-height:66px}
  .logo img{width:124px}
  .logo span{display:none}
  .nav{inset:66px 0 auto}
  .wrap,
  .hero-inner,
  .hero-points,
  .footer-inner{
    width:calc(100% - 32px);
  }
  .hero{min-height:700px}
  .hero::before{
    background:
      linear-gradient(90deg,rgba(9,29,27,.9) 0%,rgba(9,29,27,.74) 58%,rgba(9,29,27,.36) 100%),
      linear-gradient(180deg,rgba(9,29,27,.24) 0%,rgba(9,29,27,.78) 100%),
      url("devision-consultation-hero.png") center/cover no-repeat;
  }
  .hero h1{font-size:42px}
  .hero-showcase{
    min-height:250px;
  }
  .browser-mock{
    width:292px;
  }
  .mock-hero{min-height:118px}
  .mock-hero strong{font-size:20px}
  .phone-mock{
    width:104px;
    padding:8px;
  }
  .phone-screen{
    min-height:162px;
    padding:14px 10px;
  }
  .support-chip{
    min-height:36px;
    padding:0 12px;
    font-size:12px;
  }
  .hero-actions .button{width:100%}
  .hero-points{margin-top:-26px}
  .hero-point{padding:18px}
  .section{padding:68px 0}
  .section.compact{padding:48px 0}
  .examples{grid-template-columns:1fr}
  .service-card,
  .plan-card,
  .scope-block,
  .faq-card,
  .contact-method,
  .contact-panel,
  .info-panel{
    padding:22px;
  }
  .plan-card{min-height:auto}
  .footer-inner{
    flex-direction:column;
    align-items:flex-start;
  }
}

@media (prefers-reduced-motion:reduce){
  *,
  *::before,
  *::after{
    scroll-behavior:auto!important;
    animation-duration:.001ms!important;
    animation-iteration-count:1!important;
    transition-duration:.001ms!important;
  }
  .reveal{
    opacity:1;
    transform:none;
  }
}
