:root{
  --green-900:#0B4A38;
  --green-700:#0F6E56;
  --green-600:#149469;
  --green:#16A97C;
  --green-light:#E3F5EC;
  --green-lighter:#F2FAF6;
  --blue:#3E7BEA;
  --blue-light:#E7F0FC;
  --orange:#F0932B;
  --orange-light:#FDF1E1;
  --purple:#8B5FBF;
  --purple-light:#F1ECFA;
  --yellow:#FBC94A;
  --ink:#1B2B26;
  --ink-soft:#4B5D57;
  --ink-mute:#7C8C86;
  --line:#E4EEE9;
  --bg:#FCFEFD;
  --white:#FFFFFF;
  --radius-lg:24px;
  --radius-md:16px;
  --radius-sm:10px;
  --shadow:0 18px 40px -22px rgba(15,60,45,.22);
  --font-head:"Zen Maru Gothic","Noto Sans JP",sans-serif;
  --font-body:"Noto Sans JP",sans-serif;
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
[id]{scroll-margin-top:90px;}
body{
  margin:0;
  font-family:var(--font-body);
  color:var(--ink);
  background:var(--bg);
  line-height:1.75;
  -webkit-font-smoothing:antialiased;
}
img,svg{display:block;max-width:100%;}
a{color:inherit;text-decoration:none;}
ul{list-style:none;margin:0;padding:0;}
h1,h2,h3{font-family:var(--font-head);margin:0;line-height:1.4;}

.skip-link{
  position:absolute;left:-999px;top:0;background:var(--green);color:#fff;
  padding:10px 16px;border-radius:0 0 8px 0;z-index:200;
}
.skip-link:focus{left:0;}

.inner{
  width:100%;
  max-width:1180px;
  margin:0 auto;
  padding:0 24px;
}

.icon{width:18px;height:18px;stroke:currentColor;stroke-width:1.8;fill:none;stroke-linecap:round;stroke-linejoin:round;}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;align-items:center;gap:8px;
  border-radius:999px;font-weight:700;
  white-space:nowrap;transition:transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn-primary{
  background:var(--green);color:#fff;
  padding:12px 22px;font-size:14.5px;
  box-shadow:0 10px 22px -10px rgba(20,148,105,.55);
}
.btn-primary:hover{background:var(--green-700);transform:translateY(-1px);}
.btn-lg{padding:16px 30px;font-size:16px;}

/* ---------- Header ---------- */
.site-header{
  position:sticky;top:0;z-index:100;
  will-change:transform;
  background:rgba(252,254,253,.9);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
}
.header-inner{
  display:flex;align-items:center;justify-content:space-between;
  min-height:76px;gap:20px;padding:12px 0;
}
.logo{display:flex;flex-direction:column;line-height:1.15;}
.logo-en{font-family:var(--font-head);font-weight:700;font-size:21px;color:var(--green-700);letter-spacing:.02em;}
.logo-jp{font-size:11.5px;color:var(--ink-mute);letter-spacing:.03em;}

.global-nav ul{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:16px 26px;}
.global-nav a{font-size:14.5px;font-weight:500;color:var(--ink-soft);position:relative;padding:4px 0;}
.global-nav a:not(.nav-app-link):hover{color:var(--green-700);}
.global-nav a:not(.nav-app-link)::after{
  content:"";position:absolute;left:0;bottom:-4px;width:0;height:2px;background:var(--green);
  transition:width .2s ease;
}
.global-nav a:not(.nav-app-link):hover::after{width:100%;}

/* Direct links to live apps: visually set apart from the section anchors */
.nav-item-app-first{margin-left:6px;padding-left:22px;border-left:1px solid var(--line);}
.global-nav .nav-app-link{
  display:inline-flex;align-items:center;gap:6px;
  padding:7px 14px;border-radius:999px;
  background:var(--green-light);color:var(--green-700);
  font-weight:700;font-size:13.5px;
  transition:background .15s ease, color .15s ease;
}
.global-nav .nav-app-link:hover{background:var(--green-700);color:#fff;}
.global-nav .nav-app-link .icon{width:14px;height:14px;}

.nav-toggle{
  display:none;flex-direction:column;justify-content:center;gap:5px;
  width:38px;height:38px;border:none;background:none;cursor:pointer;padding:0;
}
.nav-toggle span{display:block;width:22px;height:2px;background:var(--ink);border-radius:2px;transition:.25s;}

/* ---------- Section shared ---------- */
section{padding:96px 0;}
.section-head{text-align:center;margin-bottom:52px;}
.eyebrow{
  display:inline-block;font-size:13px;font-weight:700;letter-spacing:.14em;
  color:var(--green-700);margin:0 0 12px;
}
.eyebrow-plain{
  font-size:13.5px;font-weight:500;color:var(--green-700);
  background:var(--green-light);padding:7px 16px;border-radius:999px;margin:0 0 22px;
}
.section-title{font-size:clamp(24px,3vw,32px);font-weight:700;color:var(--ink);}
.section-lead{
  max-width:640px;margin:18px auto 0;font-size:15px;line-height:1.9;color:var(--ink-soft);
}

/* ---------- Hero ---------- */
.hero{
  position:relative;
  overflow:hidden;
  background:linear-gradient(180deg,var(--green-lighter) 0%, var(--bg) 100%);
  padding:64px 0 90px;
}

/* Photo fills the hero section but is capped to the same max-width as
   .inner (header / other sections), centered via the shared .inner rules */
.hero-visual{
  position:absolute;
  inset:0;
  z-index:0;
}
.hero-photo{width:100%;height:100%;object-fit:cover;display:block;}
.hero-overlay{
  position:absolute;inset:0;
  background:linear-gradient(90deg,
    rgba(255,255,255,.94) 0%,
    rgba(255,255,255,.86) 34%,
    rgba(255,255,255,.4) 55%,
    rgba(255,255,255,0) 65%,
    rgba(255,255,255,0) 100%);
}

.hero-inner{
  position:relative;
  z-index:2;
}
.hero-text{max-width:min(480px,46%);}
.hero-title{
  font-size:clamp(34px,4.4vw,50px);font-weight:900;color:var(--ink);letter-spacing:.01em;
}
.accent-text{color:var(--green);}
.hero-desc{
  margin:22px 0 34px;font-size:15.5px;color:var(--ink-soft);line-height:1.85;
}
.hero-features{display:flex;flex-direction:column;gap:18px;}
.hero-features li{display:flex;align-items:center;gap:14px;}
.hero-feature-icon{
  flex:none;width:46px;height:46px;border-radius:14px;
  background:var(--white);border:1px solid var(--line);
  display:flex;align-items:center;justify-content:center;color:var(--green-700);
  box-shadow:var(--shadow);
}
.hero-feature-icon svg{width:22px;height:22px;stroke:currentColor;stroke-width:1.8;fill:none;stroke-linecap:round;stroke-linejoin:round;}
.hero-feature-text{display:flex;flex-direction:column;}
.hero-feature-text strong{font-size:15px;color:var(--ink);}
.hero-feature-text em{font-style:normal;font-size:12.5px;color:var(--ink-mute);}

.hero-badge{
  position:absolute;right:5%;bottom:32px;
  width:150px;height:150px;border-radius:50%;
  background:var(--green);color:#fff;
  display:flex;align-items:center;justify-content:center;text-align:center;
  box-shadow:0 20px 38px -14px rgba(15,90,65,.55);
  border:6px solid var(--bg);
  z-index:3;
}
.hero-badge span{font-size:13px;font-weight:700;line-height:1.5;}

/* ---------- Service ---------- */
.service-grid{
  display:grid;grid-template-columns:repeat(4,1fr);gap:22px;
}
.service-card{
  display:flex;flex-direction:column;
  border-radius:var(--radius-md);
  padding:30px 24px;
  border:1px solid transparent;
  transition:transform .2s ease, box-shadow .2s ease;
}
.service-card:hover{transform:translateY(-4px);box-shadow:var(--shadow);}
.service-card h3{font-size:17px;font-weight:700;margin-bottom:10px;color:var(--ink);}
.service-card p{margin:0;font-size:13.5px;color:var(--ink-soft);}
.service-icon{
  display:flex;align-items:center;justify-content:center;
  width:52px;height:52px;border-radius:14px;margin-bottom:18px;color:#fff;
}
.service-icon svg{width:26px;height:26px;stroke:currentColor;stroke-width:1.7;fill:none;stroke-linecap:round;stroke-linejoin:round;}

/* ---------- Service CTA ---------- */
.service-cta,
.service-cta-group{margin-top:auto;padding-top:16px;}
.service-cta-group{display:flex;flex-wrap:wrap;gap:8px;}
.service-cta{
  display:inline-flex;align-items:center;gap:6px;
  padding:8px 14px;border-radius:999px;
  background:rgba(255,255,255,.72);
  color:var(--ink);font-weight:700;font-size:13px;
  border:1px solid rgba(27,43,38,.08);
  transition:background .15s ease, transform .15s ease, box-shadow .15s ease;
}
.service-cta:hover{background:#fff;transform:translateY(-1px);box-shadow:0 6px 16px -8px rgba(27,43,38,.25);}
.service-cta .icon{width:14px;height:14px;flex-shrink:0;}

.card-teal{background:var(--green-light);}
.card-teal .service-icon{background:var(--green);}
.card-blue{background:var(--blue-light);}
.card-blue .service-icon{background:var(--blue);}
.card-orange{background:var(--orange-light);}
.card-orange .service-icon{background:var(--orange);}
.card-purple{background:var(--purple-light);}
.card-purple .service-icon{background:var(--purple);}

/* ---------- App example ---------- */
.app-example{background:var(--green-lighter);}
.app-panel{
  background:var(--white);border-radius:var(--radius-lg);
  border:1px solid var(--line);box-shadow:var(--shadow);
  padding:12px 8px;
}
.app-item{
  display:grid;grid-template-columns:1.15fr 1fr;gap:40px;align-items:center;
  padding:44px 40px;border-radius:var(--radius-md);
  cursor:pointer;transition:background .2s ease, box-shadow .2s ease;
}
.app-item:hover{background:var(--green-lighter);box-shadow:var(--shadow);}
.app-item-reverse{grid-template-columns:1fr 1.15fr;}
.app-item-reverse .app-copy{order:2;}
.app-item-reverse .app-visual{order:1;}
.app-divider{height:1px;background:var(--line);margin:0 40px;}

.tag{
  display:inline-block;background:var(--green-light);color:var(--green-700);
  font-size:12px;font-weight:700;padding:5px 14px;border-radius:999px;margin-bottom:14px;
}
.app-copy h3{font-size:22px;font-weight:700;margin-bottom:10px;}
.app-copy>p{font-size:14px;color:var(--ink-soft);margin:0 0 18px;}
.app-cta{
  display:inline-flex;align-items:center;gap:6px;margin-top:22px;
  font-size:14px;font-weight:700;color:var(--green-700);
}
.app-cta .icon{width:16px;height:16px;transition:transform .2s ease;}
.app-item:hover .app-cta .icon{transform:translateX(4px);}
.check-list{display:flex;flex-direction:column;gap:10px;}
.check-list li{
  position:relative;padding-left:26px;font-size:14px;color:var(--ink-soft);
}
.check-list li::before{
  content:"";position:absolute;left:0;top:3px;width:16px;height:16px;border-radius:50%;
  background:var(--green);
}
.check-list li::after{
  content:"";position:absolute;left:4.5px;top:7.5px;width:7px;height:4px;
  border-left:2px solid #fff;border-bottom:2px solid #fff;transform:rotate(-45deg);
}

.app-visual{display:flex;justify-content:center;}

.phone-shot{
  width:100%;max-width:220px;height:auto;
  filter:drop-shadow(0 18px 32px rgba(15,60,45,.22));
  transition:transform .25s ease;
}

.laptop-shot{
  width:100%;max-width:360px;height:auto;
  filter:drop-shadow(0 18px 32px rgba(15,60,45,.18));
  transition:transform .25s ease;
}

.app-item:hover .phone-shot,.app-item:hover .laptop-shot{transform:scale(1.03);}

/* ---------- Target ---------- */
.target-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:32px;text-align:center;}
.target-item{padding:0 12px;}
.target-icon{
  display:inline-flex;align-items:center;justify-content:center;
  width:64px;height:64px;border-radius:50%;background:var(--green-light);color:var(--green-700);
  margin-bottom:18px;
}
.target-icon svg{width:30px;height:30px;stroke:currentColor;stroke-width:1.7;fill:none;stroke-linecap:round;stroke-linejoin:round;}
.target-item h3{font-size:16.5px;font-weight:700;margin-bottom:10px;}
.target-item p{margin:0;font-size:13.5px;color:var(--ink-soft);}

/* ---------- CTA banner ---------- */
.cta-banner{background:var(--green-light);}
.cta-inner{
  display:grid;grid-template-columns:auto 1fr auto;gap:44px;align-items:center;
  background:var(--white);border-radius:var(--radius-lg);padding:44px 48px;
  box-shadow:var(--shadow);
}
.cta-illust{width:130px;flex:none;}
.cta-illust img{width:100%;height:auto;display:block;}
.cta-copy h2{font-size:22px;font-weight:700;margin-bottom:10px;}
.cta-copy p{margin:0 0 22px;font-size:14px;color:var(--ink-soft);}
.cta-badge{
  flex:none;width:104px;height:104px;border-radius:50%;background:var(--yellow);
  color:#5C4300;display:flex;flex-direction:column;align-items:center;justify-content:center;
  font-size:12.5px;font-weight:700;line-height:1.6;text-align:center;
}

/* ---------- Why us ---------- */
.why-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:26px;text-align:center;}
.why-item{padding:30px 16px;border-radius:var(--radius-md);background:var(--white);border:1px solid var(--line);}
.why-icon{
  display:inline-flex;align-items:center;justify-content:center;
  width:52px;height:52px;border-radius:14px;background:var(--green-light);color:var(--green-700);
  margin-bottom:16px;
}
.why-icon svg{width:24px;height:24px;stroke:currentColor;stroke-width:1.7;fill:none;stroke-linecap:round;stroke-linejoin:round;}
.why-item p{margin:0;font-size:14px;font-weight:500;color:var(--ink);}

/* ---------- Footer ---------- */
.site-footer{background:var(--green-900);color:#CFE7DC;padding:44px 0;}
.footer-inner{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:20px;}
.footer-brand{display:flex;flex-direction:column;}
.footer-brand .logo-en{color:#fff;}
.footer-brand .logo-jp{color:#9FC6B4;}
.footer-nav{display:flex;gap:22px;flex-wrap:wrap;}
.footer-nav a{font-size:13px;color:#CFE7DC;}
.footer-nav a:hover{color:#fff;}
.footer-copy{width:100%;text-align:center;font-size:12px;color:#7FA995;margin:24px 0 0;}

/* ---------- Responsive ---------- */
@media (max-width:960px){
  .hero{min-height:560px;}
  .hero-text{max-width:none;}
  .hero-overlay{
    background:linear-gradient(180deg,
      rgba(255,255,255,.95) 0%,
      rgba(255,255,255,.9) 55%,
      rgba(255,255,255,.78) 100%);
  }
  .hero-badge{right:4%;bottom:20px;}
  .service-grid{grid-template-columns:repeat(2,1fr);}
  .why-grid{grid-template-columns:repeat(2,1fr);}
  .app-item,.app-item-reverse{grid-template-columns:1fr;padding:32px 24px;}
  .app-item-reverse .app-copy,.app-item-reverse .app-visual{order:initial;}
  .cta-inner{grid-template-columns:1fr;text-align:center;padding:36px 28px;}
  .cta-illust{margin:0 auto;}
  .cta-badge{margin:0 auto;}
}

@media (max-width:760px){
  .global-nav{
    position:fixed;top:76px;left:0;right:0;height:calc(100vh - 76px);
    background:var(--white);
    overflow-y:auto;
    -webkit-overflow-scrolling:touch;
    transform:translateY(-8px);opacity:0;pointer-events:none;
    transition:opacity .2s ease, transform .2s ease;
    padding:28px 24px;border-top:1px solid var(--line);
    z-index:50;
  }
  .global-nav.is-open{opacity:1;transform:translateY(0);pointer-events:auto;}
  .global-nav ul{flex-direction:column;flex-wrap:nowrap;gap:4px;}
  .global-nav li{width:100%;}
  .global-nav a{
    display:block;width:100%;padding:16px 4px;font-size:16px;
    border-bottom:1px solid var(--line);
  }
  .nav-item-app-first{
    margin-left:0;padding-left:0;border-left:none;
    margin-top:10px;padding-top:14px;border-top:1px solid var(--line);
  }
  .global-nav .nav-app-link{
    width:100%;border-radius:12px;padding:14px 12px;
    border-bottom:none;justify-content:flex-start;
  }
  .nav-toggle{display:flex;}
  section{padding:64px 0;}
  .target-grid{grid-template-columns:1fr;gap:36px;}
  .why-grid{grid-template-columns:1fr;}

  .service-cta-group{flex-direction:column;}
  .service-cta{width:100%;justify-content:center;padding:12px 14px;font-size:14px;}

  .hero{min-height:0;padding:0 0 56px;}
  .hero-visual{
    position:relative;inset:auto;
    height:300px;
    z-index:0;
  }
  .hero-photo{object-position:right center;}
  .hero-overlay{display:none;}
  .hero-badge{width:120px;height:120px;font-size:11px;left:16px;bottom:16px;}
  .hero-inner{padding-top:32px;}
}

@media (max-width:560px){
  .hero-visual{height:260px;}
  .service-grid{grid-template-columns:1fr;}
}

@media (prefers-reduced-motion:reduce){
  *{transition:none !important; scroll-behavior:auto !important;}
}
