.page-title{
    text-align: center;
    padding: 30px 0;
    font-size: 32px;
    color:#fff;
    background: #bdbdbd;
    letter-spacing: 4px;
}

/* ----------------------------
   カード全体
---------------------------- */
.detail-card {
  background: #9d9d9d;
  border-radius: 22px;
  margin: 0 18px 40px;
  padding: 18px;
  margin-top: 1.8rem;
}

/* ----------------------------
   上部メタ情報
---------------------------- */
.top-meta {
  display: flex;
  gap: 18px;
  font-size: 13px;
  margin-bottom: 14px;
}

.back-btn {
  justify-content: left;
  text-decoration: none;
  color: #333;
  font-weight: bold;
}
.category-text{
  justify-content: right;
}

/* ----------------------------
   タイトルエリア
---------------------------- */
.title-area {
  display: flex;
  gap: 18px;
  margin-bottom: 22px;
}

/* サムネイル */
.thumb {
  width: 220px;
  height: 160px;
  background: #bfbfbf;
  border: 2px solid #555;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

/* タイトルテキスト */
.title-text h2 {
  margin: 0 0 6px;
  font-size: 20px;
}

.catch {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 700;
}

/* 状態表示 */
.status {
  margin: 6px 0;
  font-size: 14px;
}

.status-badge {
  display: inline-block;
  margin-left: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

/* 状態色 */
.badge-green { background: #0aa14b; } /* 公開 / 運用中 */
.badge-blue  { background: #2f78a3; } /* 保守 */
.badge-red   { background: #ff1d1d; } /* 非公開 / 停止 */
.badge-gray  { background: #9e9e9e; }

/* メタ情報 */
.meta {
  font-size: 13px;
  margin: 4px 0;
}

/* ----------------------------
   ブロック共通
---------------------------- */
.block {
  margin-bottom: 18px;
}

.block h3 {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 700;
}

/* 内容ボックス */
.box {
  background: #7e7e7e;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 14px;
  line-height: 1.7;
}

/* ----------------------------
   2カラム
---------------------------- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

/* ----------------------------
   リンク
---------------------------- */
.box a {
  color: #003cff;
  text-decoration: underline;
}

/* ----------------------------
   レスポンシブ
---------------------------- */
@media (max-width: 768px) {
  .top-meta{
    flex-direction: column;
    gap: 6px;
  }
  .title-area {
    flex-direction: column;
  }

  .thumb {
    width: 100%;
    height: 180px;
  }

  .two-col {
    grid-template-columns: 1fr;
  }
}

.back-area{
  margin: 14px 0 12px;
  display: flex;
  justify-content: flex-start;
}

.back-area.bottom{
  margin-top: 18px;
}


.back-btn:hover{
  opacity: .9;
  transform: translateY(-1px);
}
