@charset "UTF-8";

/* =========================================================
   ホームページ更新
   会社案内ページのサブページテンプレートを踏襲
   ========================================================= */

.hp-hero{
  position:relative;
  min-height:245px;
  overflow:hidden;
  background:#eef8ff;
}
.hp-hero-bg{
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg,rgba(255,255,255,.96) 0%,rgba(255,255,255,.83) 44%,rgba(255,255,255,.15) 100%),
    url("/images/company-hero.jpg") center/cover no-repeat;
}
.hp-hero-inner{
  position:relative;
  z-index:1;
  min-height:245px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:36px;
}
.hp-hero-copy{
  max-width:660px;
}
.hp-hero-copy h1{
  margin:0 0 10px;
  color:#06458e;
  font-size:clamp(2.5rem,4.6vw,4rem);
  line-height:1.1;
}
.hp-hero-question{
  margin:0 0 7px;
  color:#0754aa;
  font-size:clamp(1.25rem,2vw,1.65rem);
  font-weight:800;
  line-height:1.45;
}
.hp-hero-text{
  margin:0;
  color:#2c5b86;
  font-weight:600;
  line-height:1.7;
}
.hp-catch-image{
  width:min(24%,225px);
  flex:0 0 auto;
}
.hp-catch-image img{
  width:100%;
  height:auto;
}

.breadcrumb{
  border-bottom:1px solid #e5edf5;
  background:#fff;
}
.breadcrumb ol{
  min-height:44px;
  display:flex;
  align-items:center;
  gap:8px;
  color:#56718d;
  font-size:.9rem;
}
.breadcrumb li+li::before{
  content:"›";
  margin-right:8px;
  color:#94a9bb;
}
.breadcrumb a{color:#0759b7}

.hp-section{
  padding:78px 0 82px;
}
.hp-tint{
  background:#f4faff;
}
.hp-heading{
  max-width:900px;
  margin:0 auto 38px;
  text-align:center;
}
.hp-heading.compact{
  margin-bottom:26px;
}
.hp-heading-line{
  display:block;
  width:34px;
  height:4px;
  margin:0 auto 15px;
  background:#0759b7;
}
.hp-heading h2{
  margin:0 0 9px;
  color:#064b9f;
  font-size:clamp(1.75rem,3vw,2.35rem);
  line-height:1.35;
}
.hp-heading p{
  margin:0;
  color:#4f6e8d;
}

.trouble-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
}
.trouble-card{
  min-height:220px;
  padding:18px 16px 22px;
  border-radius:8px;
  background:#eef8ff;
  text-align:center;
}
.trouble-card img{
  width:110px;
  height:100px;
  object-fit:contain;
  margin-bottom:10px;
}
.trouble-card h3{
  margin:0;
  color:#0753a8;
  font-size:1.02rem;
  line-height:1.55;
}

.support-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:14px;
}
.support-card{
  display:flex;
  gap:14px;
  align-items:flex-start;
  padding:22px 18px;
  border:1px solid #d8e7f4;
  border-radius:8px;
  background:#fff;
}
.support-icon{
  flex:0 0 46px;
  width:46px;
  height:46px;
  display:grid;
  place-items:center;
  border-radius:8px;
  background:#e7f3ff;
  color:#2085e8;
  font-size:1.7rem;
  font-weight:800;
}
.support-card h3{
  margin:0 0 7px;
  color:#0752a7;
  font-size:1.05rem;
  line-height:1.45;
}
.support-card p{
  margin:0;
  color:#4e6d8b;
  font-size:.92rem;
}

.price-box{
  padding:34px 28px 24px;
  border:1px solid #bcdcf7;
  border-radius:8px;
  background:#fff;
}
.price-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  border-top:1px solid #cfe2f3;
  border-left:1px solid #cfe2f3;
}
.price-item{
  display:grid;
  grid-template-columns:1.35fr .9fr;
  border-right:1px solid #cfe2f3;
  border-bottom:1px solid #cfe2f3;
}
.price-item span,
.price-item strong{
  padding:13px 16px;
}
.price-item span{
  color:#0753a8;
  font-weight:700;
  background:#fbfdff;
}
.price-item strong{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  color:#5f6b78;
  font-size:.92rem;
  font-weight:600;
  border-left:1px solid #cfe2f3;
  text-align:right;
}
.price-note{
  margin:12px 0 0;
  text-align:center;
  color:#678098;
  font-size:.84rem;
}

.hp-work-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
}
.hp-work-card{
  display:grid;
  grid-template-columns:125px 1fr;
  overflow:hidden;
  border:1px solid #d6e5f4;
  border-radius:8px;
  background:#fff;
}
.hp-work-card>img{
  width:125px;
  height:100%;
  min-height:185px;
  object-fit:cover;
}
.hp-work-body{
  padding:16px 14px;
}
.hp-work-body h3{
  margin:0 0 8px;
  color:#064b9f;
  font-size:1.05rem;
}
.work-label{
  margin:0 0 5px;
  color:#2877c7;
  font-size:.8rem;
  font-weight:800;
}
.hp-work-body ul{
  margin:0;
  padding-left:1.1em;
}
.hp-work-body li{
  list-style:disc;
  color:#315f8a;
  font-size:.86rem;
  line-height:1.6;
}

.hp-related{
  padding:24px 0 28px;
  background:#eaf7ff;
}
.hp-related-inner{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:24px;
}
.hp-related-inner img{
  width:62px;
  height:55px;
  object-fit:contain;
}
.hp-related h2{
  margin:0 0 4px;
  color:#0753a8;
  font-size:1.25rem;
}
.hp-related p{
  margin:0;
  color:#496b8b;
  font-size:.92rem;
}

@media(max-width:1000px){
  .trouble-grid{
    grid-template-columns:repeat(2,1fr);
  }
  .support-grid{
    grid-template-columns:repeat(2,1fr);
  }
  .hp-work-grid{
    grid-template-columns:1fr;
  }
  .hp-work-card{
    max-width:760px;
    width:100%;
    margin-inline:auto;
  }
}

@media(max-width:767px){
  .hp-hero,
  .hp-hero-inner{
    min-height:315px;
  }
  .hp-hero-bg{
    background-position:center;
  }
  .hp-hero-inner{
    justify-content:center;
    text-align:center;
  }
  .hp-hero-copy{
    max-width:620px;
  }
  .hp-hero-copy h1{
    font-size:2.35rem;
  }
  .hp-hero-question{
    font-size:1.2rem;
  }
  .hp-hero-text{
    font-size:.9rem;
  }
  .hp-catch-image{
    display:none;
  }

  .hp-section{
    padding:62px 0 66px;
  }

  .price-grid{
    grid-template-columns:1fr;
  }

  .hp-related-inner{
    align-items:flex-start;
  }
}

@media(max-width:520px){
  .trouble-grid,
  .support-grid{
    grid-template-columns:1fr;
  }

  .trouble-card{
    min-height:auto;
  }

  .price-box{
    padding:26px 14px 20px;
  }

  .price-item{
    grid-template-columns:1fr;
  }

  .price-item strong{
    justify-content:flex-start;
    border-left:0;
    border-top:1px solid #cfe2f3;
  }

  .hp-work-card{
    grid-template-columns:1fr;
  }

  .hp-work-card>img{
    width:100%;
    height:190px;
    min-height:0;
  }
}
