.hero-intro {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 80vh;
  background: #f9fafc;
  overflow: hidden; /* はみ出し防止 */
}

.hero-intro::before,
.hero-intro::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
}

.hero-intro::before {
  width: 300px;
  height: 300px;
  background: #a0c4ff;
  top: -50px;
  left: -100px;
}

.hero-intro::after {
  width: 400px;
  height: 400px;
  background: #bdb2ff;
  bottom: -100px;
  right: -50px;
}


/* スキルセクション全体 */
.skills {
  padding: 60px 0;
  background-color: #f8f8f8; /* ヒーローとのコントラスト用 */
}

/* セクションタイトル */
.skills .section-title {
  font-size: 1.8rem;
  text-transform: uppercase;
  margin-bottom: 30px;
  text-align: center;
  letter-spacing: 1px;
}

/* スキルリスト */
.skills-list {
  display: flex;
  justify-content: center;
  gap: 20px; /* 各スキルの間隔 */
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}

.skills-list li {
  background-color: #ffffff;
  padding: 20px 25px;
  border-radius: 12px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
  font-weight: 500;
  min-width: 220px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.skills-list li:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

/* プロフィールリンク */
.more-profile {
  text-align: center;
  margin-top: 20px;
}

.more-profile a {
  display: inline-block;
  padding: 10px 20px;
  background-color: #173daa; /* TOPのアクセント色に合わせる */
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.3s;
}

.more-profile a:hover {
  background-color: #0f2b7a;
}




/* 最近の実績セクション */
.works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

/* カード全体 */
.works-card-link {
  text-decoration: none;
  color: inherit;
}

.works-card {
  background-color: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s, box-shadow 0.3s;
}

.works-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.15);
}

/* カード本文（タイトルとカテゴリ） */
.works-card-body {
  padding: 15px 20px;
}

.works-card-title {
  font-size: 1.1rem;
  margin: 0 0 10px;
}

.works-card-meta {
  font-size: 0.85rem;
  color: #555;
}

.works-card-cat {
  background-color: #173daa;
  color: #fff;
  padding: 3px 10px;
  border-radius: 10px;
  font-size: 0.75rem;
  display: inline-block;
}

/* サムネイル */
.works-card-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.works-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* no-image用 */
.works-card-thumb.no-image {
  background-color: #e0e0e0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.works-card-thumb.no-image img {
  width: 50%;
  height: auto;
  object-fit: contain;
  opacity: 0.5;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* デスクトップは4列 */
  gap: 20px; /* セル間の余白 */
  justify-items: stretch; /* 各セルを均等に伸ばす */
}

/* カードリンクをグリッドセルに完全フィット */
.works-card-link {
  display: block;
  width: 100%;
  box-sizing: border-box; /* パディング込みで幅100% */
}

/* カード本体も100%幅、内側の要素もはみ出さないように */
.works-card {
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 10px; /* 任意の内側余白 */
}

/* カード内の画像も幅100%でセルに合わせる */
.works-card-thumb img {
  display: block;
  width: 100%;
  height: auto; /* 縦横比を保持 */
}

/* タブレット: 2列 */
@media screen and (max-width: 768px) {
  .works-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* スマホ: 1列 */
@media screen and (max-width: 480px) {
  .works-grid {
    grid-template-columns: 1fr;
  }
}
.more-works {
  text-align: center;
}
.more-works a {
  display: inline-block;
  padding: 12px 36px;
  background-color: #173daa; /* 任意で変更可 */
  color: #fff;
  text-decoration: none;
  border-radius: var(--theme-border-radius, 8px);
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.more-works a:hover {
  background-color: #0f2d8a; /* ホバー時の色 */
}




.contact-cta {
  text-align: center; /* セクション内の中央寄せ */
  padding: 60px 20px; /* 上下余白 */
}

.contact-cta .section-title {
  font-size: 2em;
  margin-bottom: 20px;
}

.contact-cta .contact-text {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.contact-cta .contact-btn a.btn {
  display: inline-block;
  padding: 12px 36px;
  background-color: #173daa; /* 任意で変更可 */
  color: #fff;
  text-decoration: none;
  border-radius: var(--theme-border-radius, 8px);
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.contact-cta .contact-btn a.btn:hover {
  background-color: #0f2d8a; /* ホバー時の色 */
}