/* グリッド：SP 1列 → タブレット 2列 → PC 3列 */
.gz-tool-grid {
  display: grid;
  gap: 3.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .gz-tool-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .gz-tool-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* カード全体のスタイル */
a.gz-tool-card {
  display: block;
  padding: 3.0rem 3.0rem 2rem;
  border-radius: 14px;
  border: 1px solid #e5e7eb;
  background: #fff;
  text-decoration: none;   /* 下線なし */
  color: inherit;          /* 通常テキスト色に合わせる */
  cursor: pointer;
}

/* 下線を完全に消す（base.css の a:hover を上書き） */
a.gz-tool-card:hover,
a.gz-tool-card:focus,
a.gz-tool-card h2,
a.gz-tool-card p {
  text-decoration: none;
}

/* 画像・テキスト */
a.gz-tool-card img {
  width: 100%;
  max-height: 200px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 0.8rem;
}

a.gz-tool-card h2 {
  font-size: 1.5rem;
  margin-bottom: .8rem;
}

a.gz-tool-card p {
  font-size: 0.9rem;
  color: #6b7280;
}

a.gz-tool-card {
  transition: transform .15s ease, box-shadow .15s ease;
}

a.gz-tool-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 14px rgba(0,0,0,0.06);
}

.gz-hero-cta {
    margin-top: 80px;
    margin-bottom: 80px;
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 10px;
    width: fit-content;
    padding: 10px 22px;
    border-radius: 999px;
    text-decoration: none;
    background: #2f6bff;
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .30);
    transition: transform .18s ease, opacity .18s ease;
}
.gz-hero-cta:hover{ opacity: .92; transform: translateY(-1px); }
.gz-hero-cta .arrow{ transition: transform .18s ease; }
.gz-hero-cta:hover .arrow{ transform: translateX(4px); }

.gz-hero-cta:focus-visible{
  outline: 2px solid rgba(255,255,255,.8);
  outline-offset: 4px;
}

@media (max-width:640px){
.gz-hero-cta { 
    margin-top: 40px;
    margin-bottom: 40px;
 }
}
