:root{--ink:#15202b;--sub:#5f6b76;--blue:#0789e8;--blue-dark:#036db9;--pale:#f4f7fa;--line:#dce4ea;--white:#fff}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans JP","Hiragino Kaku Gothic ProN","Yu Gothic",sans-serif;color:var(--ink);background:#fff;line-height:1.75}
a{color:inherit}
.site-header{height:78px;display:flex;align-items:center;justify-content:space-between;padding:0 5vw;background:#111c25;color:#fff;position:sticky;top:0;z-index:20;border-bottom:1px solid rgba(255,255,255,.08)}
.brand{display:flex;align-items:center;gap:12px;text-decoration:none}
.brand-mark{width:45px;height:45px;border:2px solid currentColor;border-radius:50%;display:grid;place-items:center;font-weight:800;letter-spacing:-2px}
.brand-mark.small{width:38px;height:38px;font-size:14px}
.brand-text{display:flex;flex-direction:column;line-height:1.15}
.brand-text strong{font-size:18px;color:#fff}.brand-text small{font-size:11px;color:rgba(255,255,255,.68);letter-spacing:.08em;margin-top:4px}
.nav{display:flex;gap:28px}.nav a{text-decoration:none;font-weight:600;font-size:14px;color:#fff}
.hero{min-height:650px;display:flex;align-items:center;position:relative;overflow:hidden;background:linear-gradient(135deg,#0f2538 0%,#234b68 45%,#1c6d9d 100%)}
.hero:before{content:"";position:absolute;inset:0;background-image:linear-gradient(rgba(255,255,255,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.045) 1px,transparent 1px);background-size:36px 36px;transform:perspective(600px) rotateX(58deg) scale(1.5);opacity:.45}
.hero-overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(3,15,26,.72),rgba(3,15,26,.14))}
.hero-content{position:relative;z-index:2;max-width:920px;padding:90px 7vw;color:#fff}
.eyebrow,.section-kicker{font-size:12px;font-weight:800;letter-spacing:.18em;color:var(--blue);margin:0 0 16px}
.hero h1{font-size:clamp(34px,5vw,64px);line-height:1.25;margin:0 0 22px;letter-spacing:.02em}
.hero-copy{font-size:18px;max-width:650px;color:rgba(255,255,255,.88)}
.hero-actions,.contact-buttons{display:flex;gap:14px;flex-wrap:wrap;margin-top:34px}
.button{display:inline-flex;align-items:center;justify-content:center;min-height:50px;padding:0 22px;border-radius:8px;text-decoration:none;font-weight:700}
.button.primary{background:var(--blue);color:#fff}.button.primary:hover{background:var(--blue-dark)}
.button.ghost{border:1px solid rgba(255,255,255,.65);color:#fff;background:rgba(255,255,255,.05)}
.section{padding:90px 6vw}.section-inner{max-width:1180px;margin:0 auto}.section-inner.narrow{max-width:860px}
.section h2,.contact-section h2{font-size:clamp(28px,4vw,44px);line-height:1.35;margin:0 0 24px}
.intro p:last-child{font-size:17px;color:var(--sub)}.muted{background:var(--pale)}
.service-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-top:40px}
.service-card{background:#fff;border:1px solid var(--line);padding:28px 24px;min-height:210px;border-radius:10px}
.service-card span{display:inline-block;font-size:12px;font-weight:800;color:var(--blue);margin-bottom:18px}.service-card h3{font-size:20px;margin:0 0 12px}.service-card p{font-size:14px;color:var(--sub);margin:0}
.company-card{border-top:2px solid var(--ink);margin-top:34px}.company-card dl{margin:0}
.company-card dl div{display:grid;grid-template-columns:180px 1fr;gap:24px;padding:22px 8px;border-bottom:1px solid var(--line)}
.company-card dt{font-weight:700}.company-card dd{margin:0}.company-card a{color:var(--blue-dark);text-decoration:none}
.contact-section{padding:90px 6vw;background:linear-gradient(135deg,#087fca,#04588f);color:#fff}
.contact-inner{max-width:1000px}.section-kicker.light{color:#bde6ff}
.button.white{background:#fff;color:#065f99}.button.outline-white{border:1px solid rgba(255,255,255,.8);color:#fff}
.site-footer{padding:34px 6vw;display:flex;align-items:center;justify-content:space-between;gap:24px;background:#111c25;color:#fff}
.footer-brand{display:flex;align-items:center;gap:14px}.footer-brand p,.copyright{margin:3px 0 0;color:rgba(255,255,255,.65);font-size:13px}
@media(max-width:900px){.service-grid{grid-template-columns:repeat(2,1fr)}.nav{display:none}.hero{min-height:560px}.company-card dl div{grid-template-columns:130px 1fr}}
@media(max-width:600px){.site-header{height:68px;padding:0 18px}.brand-mark{width:40px;height:40px}.brand-text strong{font-size:15px}.hero-content{padding:70px 22px}.hero h1{font-size:34px}.hero-copy{font-size:16px}.section{padding:68px 22px}.service-grid{grid-template-columns:1fr}.company-card dl div{grid-template-columns:1fr;gap:4px;padding:18px 4px}.contact-section{padding:68px 22px}.site-footer{padding:28px 22px;align-items:flex-start;flex-direction:column}.button{width:100%}}


/* Desktop hero headline: force exactly two lines */
@media(min-width:901px){
  .hero-content{max-width:1180px;}
  .hero-title-two{
    font-size:clamp(42px,4.15vw,58px) !important;
    line-height:1.22 !important;
    letter-spacing:.005em !important;
  }
  .hero-title-two span{white-space:nowrap;}
}

/* Smartphone hero headline: keep the same exact two-line composition as desktop */
@media(max-width:600px){
  .hero-content{
    padding-left:22px;
    padding-right:22px;
    max-width:100%;
  }
  .hero-title-two{
    font-size:clamp(17px,4.8vw,19px) !important;
    line-height:1.32 !important;
    letter-spacing:-.045em !important;
    margin-bottom:22px !important;
  }
  .hero-title-two span{
    white-space:nowrap !important;
  }
}


/* cache-fix v2: make mobile two-line hero deterministic */
@media(max-width:600px){
  .hero-content{padding-left:14px !important;padding-right:14px !important;}
  .hero-title-two{font-size:clamp(17px,4.8vw,19px) !important;line-height:1.34 !important;letter-spacing:-.04em !important;}
  .hero-title-two span{white-space:nowrap !important;display:inline-block !important;}
}


/* v3: smartphone ABOUT US heading stays on one line; desktop unchanged */
@media(max-width:600px){
  .about-title-mobile-one{
    font-size:clamp(20px,5.7vw,23px) !important;
    line-height:1.25 !important;
    letter-spacing:-.045em !important;
    white-space:nowrap !important;
    word-break:keep-all !important;
    overflow-wrap:normal !important;
  }
}


/* Goro design: remove oversized hero contact buttons and use service cards as the visual anchor */
.hero-service-strip{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
  margin-top:38px;
  max-width:900px;
}
.hero-service-item{
  min-height:118px;
  padding:20px 18px;
  border:1px solid rgba(255,255,255,.24);
  background:rgba(255,255,255,.075);
  backdrop-filter:blur(8px);
  display:flex;
  gap:14px;
  align-items:flex-start;
}
.hero-service-item>span{
  font-size:11px;
  line-height:1;
  letter-spacing:.14em;
  color:#48b8ff;
  font-weight:800;
  padding-top:5px;
}
.hero-service-item div{display:flex;flex-direction:column;gap:5px;min-width:0}
.hero-service-item strong{
  font-size:18px;
  line-height:1.35;
  color:#fff;
}
.hero-service-item small{
  color:rgba(255,255,255,.68);
  font-size:11px;
  line-height:1.55;
}
@media(max-width:900px){
  .hero-service-strip{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:30px}
  .hero-service-item{padding:16px 12px;min-height:104px;gap:9px}
  .hero-service-item strong{font-size:15px}
  .hero-service-item small{font-size:10px}
}
@media(max-width:600px){
  .hero{min-height:640px}
  .hero-service-strip{
    grid-template-columns:1fr;
    gap:8px;
    margin-top:28px;
  }
  .hero-service-item{
    min-height:0;
    padding:13px 14px;
    align-items:center;
  }
  .hero-service-item>span{padding-top:0;min-width:22px}
  .hero-service-item div{display:grid;grid-template-columns:130px 1fr;align-items:center;gap:10px;width:100%}
  .hero-service-item strong{font-size:14px;white-space:nowrap}
  .hero-service-item small{font-size:10px}
}


/* Access map section */
.map-section{background:#f7f8fa}
.map-address{margin:0 0 18px;color:#5f6b78;font-size:15px}
.map-frame{width:100%;height:420px;border-radius:18px;overflow:hidden;box-shadow:0 14px 36px rgba(20,40,70,.12);background:#e8edf2}
.map-frame iframe{display:block;width:100%;height:100%;border:0}
.map-actions{margin-top:18px}
.map-button{display:inline-flex;background:#0f4fa3;color:#fff;border:0}
@media(max-width:700px){
  .map-frame{height:320px;border-radius:14px}
  .map-address{font-size:14px}
  .map-button{width:100%;justify-content:center}
}

/* header/footer color unification */
.site-header .brand{color:#fff}
.site-header .brand-mark{color:#fff}
.site-footer .footer-brand{min-height:38px}


/* v-next: softer evenly-spaced hero service cards + logo-free footer */
.hero-service-strip{
  grid-template-columns:repeat(3, minmax(0, 1fr)) !important;
  gap:16px !important;
  max-width:none !important;
  width:100% !important;
}
.hero-service-item{
  border-radius:18px !important;
  border:1px solid rgba(255,255,255,.20) !important;
  background:rgba(255,255,255,.09) !important;
  box-shadow:0 10px 30px rgba(0,0,0,.10) !important;
  padding:22px 20px !important;
  min-height:116px !important;
}
.site-footer{
  justify-content:center !important;
  text-align:center !important;
}
.site-footer .copyright{
  margin:0 !important;
}

@media(max-width:900px){
  .hero-service-strip{
    grid-template-columns:repeat(3, minmax(0, 1fr)) !important;
    gap:10px !important;
  }
  .hero-service-item{
    border-radius:16px !important;
    padding:16px 14px !important;
  }
}

@media(max-width:600px){
  .hero-service-strip{
    grid-template-columns:1fr !important;
    gap:10px !important;
  }
  .hero-service-item{
    border-radius:16px !important;
    padding:14px 15px !important;
  }
}


/* v4: equal desktop thirds + compact portrait-phone service cards */

/* Desktop / large screens: full-width, exact equal thirds */
@media (min-width:901px){
  .hero-service-strip{
    display:grid !important;
    grid-template-columns:repeat(3, minmax(0, 1fr)) !important;
    width:100% !important;
    max-width:none !important;
    gap:18px !important;
  }
  .hero-service-item{
    width:100% !important;
    min-width:0 !important;
    min-height:116px !important;
  }
}

/* Portrait phones only: about half the previous card height */
@media (max-width:600px) and (orientation:portrait){
  .hero-service-strip{
    grid-template-columns:1fr !important;
    gap:7px !important;
    margin-top:20px !important;
  }
  .hero-service-item{
    min-height:54px !important;
    padding:7px 12px !important;
    gap:7px !important;
    border-radius:14px !important;
    align-items:center !important;
  }
  .hero-service-item>span{
    min-width:20px !important;
    font-size:9px !important;
    padding-top:0 !important;
  }
  .hero-service-item div{
    display:grid !important;
    grid-template-columns:110px minmax(0,1fr) !important;
    gap:8px !important;
    align-items:center !important;
  }
  .hero-service-item strong{
    font-size:12px !important;
    line-height:1.2 !important;
  }
  .hero-service-item small{
    font-size:8.5px !important;
    line-height:1.25 !important;
  }
}


/* v5: desktop hero cards span the full content width in exact thirds.
   Mobile/tablet portrait layouts remain unchanged. */
@media (min-width:901px){
  .hero-content{
    width:100% !important;
    max-width:none !important;
    padding-left:7vw !important;
    padding-right:7vw !important;
  }

  .hero-title-two,
  .hero-copy,
  .hero-content > .eyebrow{
    max-width:1180px;
  }

  .hero-service-strip{
    width:100% !important;
    max-width:none !important;
    display:grid !important;
    grid-template-columns:repeat(3, minmax(0,1fr)) !important;
    gap:18px !important;
    margin-left:0 !important;
    margin-right:0 !important;
  }

  .hero-service-item{
    width:100% !important;
    min-width:0 !important;
    margin:0 !important;
  }
}


/* v6: desktop ABOUT US block returns to left alignment.
   Hero cards remain full-width equal thirds; mobile remains unchanged. */
@media (min-width:901px){
  .intro .section-inner.narrow{
    max-width:1180px !important;
    width:100% !important;
    margin-left:0 !important;
    margin-right:auto !important;
  }
}


/* Popup contact form */
.contact-modal{position:fixed;inset:0;z-index:9999;display:none;align-items:center;justify-content:center;padding:20px}
.contact-modal.is-open{display:flex}
.contact-modal-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.72);backdrop-filter:blur(5px)}
.contact-modal-panel{position:relative;z-index:1;width:min(620px,100%);max-height:90vh;overflow:auto;background:#fff;color:#17212b;border-radius:20px;padding:32px;box-shadow:0 24px 70px rgba(0,0,0,.35)}
.contact-modal-close{position:absolute;right:16px;top:12px;border:0;background:transparent;font-size:32px;line-height:1;color:#52606d;cursor:pointer}
.contact-modal-kicker{margin:0 0 8px;font-size:11px;font-weight:800;letter-spacing:.16em;color:#148be0}
.contact-modal-panel h2{margin:0 0 22px;font-size:30px;line-height:1.25}
.contact-form{display:grid;gap:16px}
.contact-form label{display:grid;gap:7px}
.contact-form label>span{font-size:13px;font-weight:700}
.contact-form input,.contact-form select,.contact-form textarea{width:100%;border:1px solid #cfd6dd;border-radius:10px;background:#fff;color:#17212b;padding:12px 13px;font:inherit;outline:none}
.contact-form input:focus,.contact-form select:focus,.contact-form textarea:focus{border-color:#148be0;box-shadow:0 0 0 3px rgba(20,139,224,.12)}
.contact-form textarea{min-height:190px;resize:vertical;line-height:1.65}
.contact-submit{min-height:50px;border:0;border-radius:10px;background:#128fe8;color:#fff;font:inherit;font-weight:800;cursor:pointer}
.contact-form-note{margin:0;color:#6f7b86;font-size:12px;line-height:1.6}
body.contact-modal-open{overflow:hidden}
.contact-open-button{cursor:pointer}
@media(max-width:600px){
  .contact-modal{padding:12px}
  .contact-modal-panel{padding:26px 18px 20px;border-radius:16px}
  .contact-modal-panel h2{font-size:24px}
  .contact-form textarea{min-height:220px}
}

.contact-open-button{border:0}
