:root{--ihf-bg:#06111f;--ihf-panel:#0b1b30;--ihf-card:#10233e;--ihf-blue:#159cff;--ihf-white:#fff;--ihf-text:#d6e2f1}
html,body{overflow-x:hidden}
body.home .site-main,body.home .ct-container,body.home .ct-container-full,body.home .entry-content,body.home .wp-block-post-content,body.home .wp-block-shortcode{width:100%!important;max-width:none!important;margin:0!important;padding:0!important}
body.home .hero-section,body.home .page-title,body.home .entry-header,body.home .site-footer,body.home footer.ct-footer{display:none!important}
body.home .ct-header,body.home header#header{position:absolute!important;top:0!important;left:0!important;width:100%!important;z-index:9999!important;background:transparent!important;box-shadow:none!important;border:0!important}
body.home .ct-header [data-row],body.home .ct-header .ct-container,body.home header#header [data-row]{background:transparent!important;box-shadow:none!important;border:0!important}
body.home .ct-header a,body.home header#header a{color:#fff!important;-webkit-text-fill-color:#fff!important}
#intech-home-final,#intech-home-final *{box-sizing:border-box}
#intech-home-final{width:100vw;max-width:none;margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw);background:var(--ihf-bg);color:#fff;font-family:"Noto Sans JP","Yu Gothic","Hiragino Kaku Gothic ProN",sans-serif}
#intech-home-final a{text-decoration:none}
#intech-home-final img{display:block;max-width:100%}
.ihf-inner{width:min(1180px,calc(100% - 48px));margin:0 auto}
.ihf-en{margin:0 0 7px;color:var(--ihf-blue)!important;-webkit-text-fill-color:var(--ihf-blue)!important;font-size:12px;font-weight:700;letter-spacing:.18em}
.ihf-line{display:block;width:44px;height:2px;margin:0 0 22px;background:var(--ihf-blue)}
#intech-home-final h1,#intech-home-final h2,#intech-home-final h3{color:#fff!important;-webkit-text-fill-color:#fff!important}
.ihf-btn{display:inline-flex;align-items:center;justify-content:center;gap:18px;min-width:190px;padding:13px 24px;font-size:14px;font-weight:700;color:#fff!important;-webkit-text-fill-color:#fff!important;transition:.25s}
.ihf-btn-outline{border:1px solid rgba(255,255,255,.8);background:transparent}
.ihf-btn-blue{border:1px solid #2e7fe8;background:#0c52b8}
.ihf-btn:hover{transform:translateY(-2px)}
/* hero */
.ihf-hero{min-height:610px;background:linear-gradient(90deg,rgba(2,9,20,.96) 0%,rgba(2,9,20,.84) 30%,rgba(2,9,20,.24) 58%,rgba(2,9,20,.04) 100%),url("https://test.nexus-c.co.jp/wp/wp-content/uploads/2026/07/ChatGPT-Image-2026年7月10日-22_55_44-1.png") center/cover no-repeat}
.ihf-hero-inner{min-height:610px;display:flex;align-items:center}
.ihf-hero-copy{width:min(560px,54%);padding-top:90px}
.ihf-hero h1{margin:0 0 14px;font-size:50px;line-height:1.34;letter-spacing:.055em}
.ihf-hero-sub{margin:0 0 25px;font-size:25px;line-height:1.55;color:#fff}
.ihf-hero-text{margin:0 0 28px;color:#eef4fb;font-size:14px;line-height:1.9}
/* service */
.ihf-service{padding:30px 0 62px;background:#06111f}
.ihf-section-head{text-align:center;margin-bottom:28px}
.ihf-section-head h2{margin:0;font-size:31px;line-height:1.4}
.ihf-section-head>p:last-child{margin:8px 0 0;color:var(--ihf-text);font-size:14px}
.ihf-service-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.ihf-service-card{min-height:330px;padding:36px 20px 28px;display:flex;flex-direction:column;align-items:center;text-align:center;background:linear-gradient(180deg,#10233e 0%,#0a192d 100%);border:1px solid rgba(57,124,202,.34);box-shadow:0 10px 24px rgba(0,0,0,.15);transition:.25s}
.ihf-service-card:hover{transform:translateY(-4px);border-color:rgba(28,153,255,.72);box-shadow:0 14px 30px rgba(0,93,196,.16)}
.ihf-service-card img{width:92px;height:92px;margin:0 0 22px;object-fit:contain;filter:none!important;box-shadow:none!important;background:transparent!important}
.ihf-service-card h3{margin:0 0 14px;font-size:18px;line-height:1.55}
.ihf-service-card p{margin:0;color:#d7e3f2;font-size:13px;line-height:1.9}
.ihf-more{margin-top:auto;padding-top:24px;color:var(--ihf-blue);font-size:14px;font-weight:700}
.ihf-more b{font-size:17px;margin-left:7px}
/* movie */
.ihf-movie{display:grid;grid-template-columns:1.08fr .92fr;background:#071323;border-top:1px solid rgba(70,126,190,.18);border-bottom:1px solid rgba(70,126,190,.18)}
.ihf-movie-media{min-height:430px;overflow:hidden;background:#071323}
.ihf-movie-media img{width:100%;height:100%;object-fit:cover}
.ihf-movie-copy{display:flex;flex-direction:column;justify-content:center;padding:54px 7vw 54px 58px}
.ihf-movie-copy h2{margin:0 0 18px;font-size:38px;line-height:1.42}
.ihf-movie-copy>p:not(.ihf-en){margin:0 0 25px;color:var(--ihf-text);font-size:14px;line-height:1.9}
/* strength */
.ihf-strength{position:relative;padding:36px 0 48px;background:url("https://test.nexus-c.co.jp/wp/wp-content/uploads/2026/07/strength_background_sparkle1_web.png") center/cover no-repeat}
.ihf-strength-overlay{position:absolute;inset:0;background:rgba(3,14,29,.56)}
.ihf-strength-content{position:relative}
.ihf-strength-grid{display:grid;grid-template-columns:repeat(4,1fr);margin-top:28px}
.ihf-strength-item{padding:8px 26px 4px;text-align:center;border-right:1px solid rgba(255,255,255,.5)}
.ihf-strength-item:last-child{border-right:0}
.ihf-strength-item img{width:72px;height:72px;margin:0 auto 13px;object-fit:contain;filter:none!important}
.ihf-strength-item h3{margin:0 0 8px;font-size:18px}
.ihf-strength-value{margin:0 0 7px;color:#fff;font-size:22px;line-height:1.35}
.ihf-strength-value strong{font-size:45px;font-weight:500}
.ihf-strength-item small{color:#ccd8e7;font-size:12px}
/* bottom */
.ihf-bottom{display:grid;grid-template-columns:1fr 1fr 1.05fr;background:#071323;border-top:1px solid rgba(255,255,255,.16)}
.ihf-bottom-box{min-height:280px;padding:38px 34px}
.ihf-bottom-box+.ihf-bottom-box{border-left:1px solid rgba(255,255,255,.22)}
.ihf-bottom-box h3{margin:0 0 15px;font-size:22px}
.ihf-bottom-box>p:not(.ihf-en){margin:0 0 23px;color:#d1deee;font-size:13px;line-height:1.9}
.ihf-contact-image{min-height:280px;background:url("https://test.nexus-c.co.jp/wp/wp-content/uploads/2026/07/ChatGPT-Image-2026年7月12日-14_18_35.png") center/cover no-repeat}
/* footer */
.ihf-footer{padding:22px 0;background:#0c1c31}
.ihf-footer-row{display:flex;align-items:center;justify-content:space-between;gap:20px}
.ihf-footer-logo{width:150px;height:auto;object-fit:contain}
.ihf-footer-nav{display:flex;flex-wrap:wrap;gap:22px}
.ihf-footer-nav a{color:#cdd9e8;font-size:12px}
.ihf-footer small{color:#aebdd0;font-size:11px}
/* tablet */
@media(max-width:980px){.ihf-service-grid,.ihf-strength-grid{grid-template-columns:repeat(2,1fr)}.ihf-movie{grid-template-columns:1fr}.ihf-movie-media{min-height:auto}.ihf-movie-media img{height:auto;object-fit:contain}.ihf-bottom{grid-template-columns:1fr 1fr}.ihf-contact-image{grid-column:1/-1}.ihf-hero-copy{width:68%}.ihf-strength-item:nth-child(2){border-right:0}.ihf-strength-item{margin-bottom:24px}}
/* mobile */
@media(max-width:640px){body.home .ct-header,body.home header#header{position:absolute!important}.ihf-inner{width:calc(100% - 28px)}.ihf-hero,.ihf-hero-inner{min-height:560px}.ihf-hero{background-position:62% center}.ihf-hero-copy{width:100%;padding-top:92px}.ihf-hero h1{font-size:35px;line-height:1.38}.ihf-hero-sub{font-size:20px}.ihf-hero-text{font-size:13px}.ihf-service{padding:28px 0 48px}.ihf-bottom{grid-template-columns:1fr}.ihf-service-card{min-height:310px}.ihf-movie-media{min-height:auto;background:#06111f}.ihf-movie-media img{width:100%;height:auto;object-fit:contain}.ihf-movie-copy{padding:42px 24px}.ihf-movie-copy h2{font-size:29px}.ihf-strength-item{border-right:0;border-bottom:1px solid rgba(255,255,255,.26);padding:22px 0 26px;margin:0}.ihf-strength-item:last-child{border-bottom:0}.ihf-bottom-box+.ihf-bottom-box{border-left:0;border-top:1px solid rgba(255,255,255,.22)}.ihf-bottom-box{min-height:auto;padding:34px 24px}.ihf-contact-image{min-height:240px}.ihf-footer-row{align-items:flex-start;flex-direction:column}.ihf-footer-nav{gap:14px 18px}.ihf-footer-logo{width:140px}}


/* ===== Version 2.0.0 refinements ===== */
/* Header: move the menu + search group slightly left and keep right breathing room */
body.home .ct-header [data-row="middle"] [data-column="end"],
body.home .ct-header [data-row*="middle"] [data-column="end"],
body.home header#header [data-row="middle"] [data-column="end"],
body.home header#header [data-row*="middle"] [data-column="end"]{
  padding-right:clamp(24px,3vw,44px)!important;
}
body.home .ct-header [data-id="menu"] + [data-id="search"],
body.home .ct-header [data-id="menu-1"] + [data-id="search"],
body.home header#header [data-id="menu"] + [data-id="search"],
body.home header#header [data-id="menu-1"] + [data-id="search"]{
  margin-left:clamp(18px,1.8vw,28px)!important;
}
body.home .ct-header [data-id="menu"] > ul,
body.home .ct-header [data-id="menu-1"] > ul,
body.home header#header [data-id="menu"] > ul,
body.home header#header [data-id="menu-1"] > ul{
  column-gap:clamp(18px,2vw,30px)!important;
}

/* Let the main content use more of wide displays while staying comfortably padded */
.ihf-inner{
  width:min(1320px,calc(100% - clamp(28px,5vw,80px)));
}

/* SERVICE: fluid balance across normal view and browser zoom */
.ihf-service{
  padding:clamp(26px,3vw,42px) 0 clamp(48px,5vw,76px);
}
.ihf-section-head{
  margin-bottom:clamp(22px,2.4vw,34px);
}
.ihf-section-head h2{
  font-size:clamp(27px,2.3vw,34px);
}
.ihf-section-head>p:last-child{
  font-size:clamp(12px,1vw,14px);
}
.ihf-service-grid{
  gap:clamp(12px,1.4vw,20px);
}
.ihf-service-card{
  min-height:clamp(300px,24vw,370px);
  padding:clamp(26px,3vw,40px) clamp(16px,2vw,26px) clamp(24px,2.6vw,34px);
}
.ihf-service-card img{
  width:clamp(72px,7vw,98px);
  height:clamp(72px,7vw,98px);
  margin-bottom:clamp(18px,2vw,26px);
}
.ihf-service-card h3{
  font-size:clamp(16px,1.35vw,20px);
}
.ihf-service-card p{
  font-size:clamp(12px,1vw,14px);
}
.ihf-more{
  font-size:clamp(13px,1vw,15px);
}

/* MOVIE: stop the CTA from stretching across the whole text column */
.ihf-movie-copy .ihf-btn{
  align-self:flex-start;
  width:auto;
  max-width:100%;
}

/* STRENGTH: fluid icon, spacing and number sizing */
.ihf-strength{
  padding:clamp(34px,4vw,54px) 0 clamp(42px,4.5vw,62px);
}
.ihf-strength-grid{
  margin-top:clamp(24px,3vw,38px);
}
.ihf-strength-item{
  padding:clamp(16px,2.4vw,34px);
}
.ihf-strength-item img{
  width:clamp(58px,6vw,82px);
  height:clamp(58px,6vw,82px);
  margin-bottom:clamp(10px,1.3vw,16px);
}
.ihf-strength-item h3{
  font-size:clamp(16px,1.35vw,20px);
}
.ihf-strength-value{
  font-size:clamp(19px,2vw,26px);
}
.ihf-strength-value strong{
  font-size:clamp(38px,4.2vw,56px);
}
.ihf-strength-item small{
  font-size:clamp(11px,.85vw,12px);
}

@media(max-width:980px){
  body.home .ct-header [data-row="middle"] [data-column="end"],
  body.home .ct-header [data-row*="middle"] [data-column="end"],
  body.home header#header [data-row="middle"] [data-column="end"],
  body.home header#header [data-row*="middle"] [data-column="end"]{
    padding-right:18px!important;
  }
}

@media(max-width:640px){
  .ihf-inner{width:calc(100% - 28px)}
  .ihf-service-card{min-height:310px}
  .ihf-strength-item{padding:22px 0 26px}
  .ihf-movie-copy .ihf-btn{width:100%;align-self:stretch}
}

@media(max-width:640px){
.ihf-service-grid,.ihf-strength-grid{
 display:grid;
 grid-auto-flow:column;
 grid-auto-columns:78%;
 overflow-x:auto;
 gap:12px;
 -webkit-overflow-scrolling:touch;
 scroll-snap-type:x proximity;
 padding-bottom:8px;
}
.ihf-service-card,.ihf-strength-item{scroll-snap-align:start;}
}

/* ===== Version 2.0.1 mobile STRENGTH horizontal layout ===== */
@media (max-width:640px){
  .ihf-strength-grid{
    display:flex!important;
    flex-wrap:nowrap!important;
    overflow-x:auto!important;
    gap:12px!important;
    margin-top:24px!important;
    padding:0 0 10px!important;
    -webkit-overflow-scrolling:touch!important;
    scroll-snap-type:x proximity!important;
  }

  .ihf-strength-item{
    flex:0 0 78%!important;
    min-width:78%!important;
    margin:0!important;
    padding:24px 18px 26px!important;
    border-right:1px solid rgba(255,255,255,.30)!important;
    border-bottom:0!important;
    scroll-snap-align:start!important;
  }

  .ihf-strength-item:last-child{
    border-right:0!important;
  }

  .ihf-strength-item img{
    width:72px!important;
    height:72px!important;
    margin:0 auto 14px!important;
  }

  .ihf-strength-item h3{
    font-size:18px!important;
    margin:0 0 8px!important;
    white-space:nowrap!important;
  }

  .ihf-strength-value{
    font-size:22px!important;
    white-space:nowrap!important;
  }

  .ihf-strength-value strong{
    font-size:45px!important;
  }
}


/* ===== Version 2.0.2 mobile: SERVICE & STRENGTH fixed four-column layout ===== */
@media (max-width:640px){
  #intech-home-final .ihf-service .ihf-inner,
  #intech-home-final .ihf-strength .ihf-inner{
    width:calc(100% - 12px)!important;
  }

  #intech-home-final .ihf-service-grid,
  #intech-home-final .ihf-strength-grid{
    display:grid!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    grid-auto-flow:row!important;
    grid-auto-columns:auto!important;
    gap:4px!important;
    width:100%!important;
    overflow:visible!important;
    margin-left:0!important;
    margin-right:0!important;
    padding:0!important;
    scroll-snap-type:none!important;
  }

  #intech-home-final .ihf-service-card{
    min-width:0!important;
    min-height:218px!important;
    padding:15px 4px 12px!important;
    margin:0!important;
    scroll-snap-align:none!important;
  }

  #intech-home-final .ihf-service-card img{
    width:44px!important;
    height:44px!important;
    margin:0 auto 10px!important;
  }

  #intech-home-final .ihf-service-card h3{
    min-height:44px!important;
    margin:0 0 7px!important;
    font-size:10px!important;
    line-height:1.4!important;
    letter-spacing:0!important;
    overflow-wrap:anywhere!important;
  }

  #intech-home-final .ihf-service-card p{
    margin:0!important;
    font-size:8px!important;
    line-height:1.55!important;
  }

  #intech-home-final .ihf-service-card .ihf-more{
    padding-top:8px!important;
    font-size:9px!important;
    white-space:nowrap!important;
  }

  #intech-home-final .ihf-service-card .ihf-more b{
    margin-left:2px!important;
    font-size:10px!important;
  }

  #intech-home-final .ihf-strength-grid{
    margin-top:20px!important;
  }

  #intech-home-final .ihf-strength-item{
    min-width:0!important;
    flex:none!important;
    margin:0!important;
    padding:14px 3px 16px!important;
    border-right:1px solid rgba(255,255,255,.28)!important;
    border-bottom:0!important;
    scroll-snap-align:none!important;
  }

  #intech-home-final .ihf-strength-item:last-child{
    border-right:0!important;
  }

  #intech-home-final .ihf-strength-item img{
    width:42px!important;
    height:42px!important;
    margin:0 auto 8px!important;
  }

  #intech-home-final .ihf-strength-item h3{
    margin:0 0 6px!important;
    font-size:10px!important;
    line-height:1.35!important;
    white-space:normal!important;
  }

  #intech-home-final .ihf-strength-value{
    margin:0 0 5px!important;
    font-size:10px!important;
    line-height:1.35!important;
    white-space:normal!important;
  }

  #intech-home-final .ihf-strength-value strong{
    font-size:22px!important;
  }

  #intech-home-final .ihf-strength-item small{
    display:block!important;
    font-size:7px!important;
    line-height:1.4!important;
  }
}
