
/* 一覧カード */
.works-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}
.works-item {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}
.works-item:hover {
  transform: translateY(-4px);
}
.works-item a {
  display: block;
  color: inherit;
  text-decoration: none;
}
.works-thumb img {
  width: 100%;
  height: auto;
  display: block;
}
.works-content {
  padding: 16px;
}
.works-content h2 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  font-weight: bold;
}
.works-point h3 {
  font-size: 1.4rem;
  font-weight: 600;
  color: #0073e6;
  margin: 40px 0 16px;
  border-left: 4px solid #0073e6;
  padding-left: 10px;
}
.works-excerpt {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
}

/* ページネーション */
.pagination {
  margin-top: 40px;
  text-align: center;
}
.pagination .page-numbers {
  display: inline-block;
  margin: 0 5px;
  padding: 8px 14px;
  background: #f8f8f8;
  border: 1px solid #ddd;
  border-radius: 4px;
  color: #333;
  text-decoration: none;
  transition: background 0.3s ease;
}
.pagination .page-numbers:hover {
  background: #0088cc;
  color: #fff;
}
.pagination .current {
  background: #0088cc;
  color: #fff;
  font-weight: bold;
}
/* ベース */
.works-detail {
  max-width: 960px;
  margin: 0 auto;
  padding: 40px 20px;
  font-family: "Hiragino Sans", "Noto Sans JP", sans-serif;
  line-height: 1.8;
  color: #333;
}
/* セクション */
.works-detail section {
  margin-bottom: 60px;
}
.works-detail h2 {
  font-size: 1.6rem;
  margin-bottom: 20px;
  border-left: 5px solid #0088cc;
  padding-left: 12px;
  font-weight: bold;
  color: #222;
}

/* リスト */
.works-detail ul {
  padding-right: 1.2em;
}
.site_url {
  text-decoration: underline;
  font-size: 12px;
}
.site_url::after {
  font-family: "Font Awesome 6 Free"; /* フォント指定 */
  font-weight: 900; /* solid アイコン */
  content: "\f35d"; /* 外部リンクアイコン (fa-arrow-up-right-from-square) */
  margin-left: 0.4em;
  font-size: 0.8em;
}

/* ギャラリー */
.works-gallery .gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.works-gallery .gallery img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}
.works-gallery .gallery img:hover {
  transform: scale(1.03);
}

/* 施設情報（dlリスト） */
.works-info dl {
  display: grid;
  grid-template-columns: 150px 1fr;
  row-gap: 12px;
  column-gap: 20px;
}
.works-info dt {
  font-weight: bold;
  color: #0088cc;
}
.works-info dd {
  margin: 0;
}

.works-detail li {
 list-style: initial;
 margin-left: 20px;
 line-height: 1.8;
}
.works-detail img {
  width: 100% !important;
  height: auto;
}

/* レスポンシブ */
@media screen and (max-width: 768px) {
  .works-title {
    font-size: 1.8rem;
  }
  .works-detail h2 {
    font-size: 1.6rem;
    margin-bottom: 24px;
    padding: 8px 12px;
  }
  .works-point h3 {
    font-size: 1.2rem;
    margin: 32px 0 12px;
    padding-left: 8px;
  }
  .works-info dl {
    grid-template-columns: 1fr;
  }
}

/* 制作事例詳細 */
.works-single {
  font-family: "Hiragino Sans", "Noto Sans JP", sans-serif;
}


.works-title {
  font-size: 2rem;
  font-weight: bold;
}

.works-date {
  font-size: 0.9rem;
  color: #888;
  padding-left: 1.5em; /* アイコン分の余白 */
  position: relative;
}

.works-date::before {
  font-family: "Font Awesome 6 Free"; /* Font Awesome のファミリー名 */
  font-weight: 900; /* Solid アイコンは 900 */
  content: "\f017"; /* 時計アイコンのコード */
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1rem;
  color: #666;
}

.works-thumb {
  margin-bottom: 30px;
}
.works-thumb img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  display: block;
}

.works-content {
  font-size: 1rem;
  line-height: 1.8;
  color: #333;
}
.works-content h2 {
  font-size: 1.8rem;
  font-weight: 700;
  text-align: left;
  margin-bottom: 40px;
  background: #e0f3ff;
  color: #0073e6;
  padding: 10px 14px;
  border-radius: 4px;
}
.works-content p {
  margin-bottom: 20px;
  line-height: 1.8;
}

.works-footer {
  margin-top: 40px;
  border-top: 1px solid #eee;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.works-meta {
  font-size: 0.9rem;
  color: #555;
}
.works-back a {
  font-size: 0.95rem;
  color: #0088cc;
  text-decoration: none;
}
.works-back a:hover {
  text-decoration: underline;
}

/* カテゴリー表示 */
.works-cat {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.works-cat li {
  font-size: 0.8rem;
  font-weight: bold;
  color: #fff;
  padding: 4px 10px;
  border-radius: 4px;
  display: inline-block;
}

/* ▼ カテゴリーごとの色分け（スラッグ名で指定） */
.works-cat .cat-travel {
  background-color: #ff9800; /* オレンジ系：観光・旅行 */
}
.works-cat li:first-child {
  margin-left: 0;
}

/* 今後カテゴリを増やすとき用の例 */
.works-cat .cat-entertainment {
  background-color: #2196f3; /* ブルー系 */
}
.works-cat .cat-it {
  background-color: #4caf50; /* グリーン系 */
}
.works-cat .cat-event {
  background-color: #e91e63; /* ピンク系 */
}
