/******************************************************/
/* プロジェクト一覧（横並びデザイン・最終版）      */
/******************************************************/

/* 全体のラッパー */
.project-region-wrapper {
	
  /*min-height: 540px;*/

  /*max-height: 540px; *//* ここに高さを指定（移動） */
  /*overflow-y: scroll;*/ /* ここでスクロールさせる */
	
  display: flex;
  flex-direction: column;
  gap: 20px;
  /* カード背景の後ろの領域 */
  background: rgba(255,255,255,0.8);  /*  */
  padding: 10px;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

/* ============================= */
/* 1件のみ表示の場合（自動高さ） */
/* ============================= */
.topscroll-auto {
  height: auto !important;
  max-height: none !important;
  overflow-y: visible !important;
  padding-right: 0;
}


/* ======== 横並びのカードデザイン ======== */
.project-card {
  display: flex;
  align-items: flex-start;
  gap: 30px;

  /* ★ カード全体の背景（白の透過）*/
  background: rgba(255,255,255,0.85);

  padding: 25px;
  /*border-radius: 10px;*/
  box-shadow: 0 3px 8px rgba(0,0,0,0.05);
  overflow: hidden;
}

/* サムネイル（左側） */
.project-thumb {
  border: 1px solid #ccc;
  line-height: 0;
  background: #fff;
}

.project-thumb img {
  display: block;
  width: 260px;
  height: 200px;
  object-fit: cover;
  border: none;
}

/* テキストエリア（右側） */
.project-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

/* タイトル */
.project-title {
  font-weight: bold;
  margin-bottom: 4px !important;
}

.project-title a {
  color: inherit;
  text-decoration: none;
}

.project-title a:hover {
  text-decoration: underline;
}

/* 抜粋 */
.project-excerpt {
  font-size: 18px;
  color: #444;
  line-height: 1.7;
  margin-bottom: 20px;
}

/* 外部ページリンク */
.project-link {
  text-align: right;
  margin-top: auto;
}

.project-link a {
  color: #000 !important;
  text-decoration: none !important;
  font-weight: bold;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid #333;
}

.project-link a:hover {
  cursor: pointer;
}

/* アイコン */
.external-icon {
  width: 14px;
  height: 14px;
  vertical-align: middle;
}

/* スマホ表示 */
@media screen and (max-width: 768px) {
  .project-card {
    flex-direction: column;
    gap: 15px;
  }
  .project-thumb img {
    width: 100%;
    height: auto;
  }
}

/*************************/
/* TOPページ スクロール枠 */
/*************************/

/* TOPページのプロジェクト一覧スクロール枠 （観光）*/
.top-sclh-pc{
  height: 540px;      /* 必要に応じて高さ調整 */	
}
.top-sclh-sp{
  height: 1100px;      /* 必要に応じて高さ調整 */	
}

.topscroll-001 {
  overflow-y: scroll;
  padding-right: 10px;
	background-color: rgba(255,255,255,0.5);
  scrollbar-width: auto;
  scrollbar-color: #d4936c #fff;
}

/* Chrome / Edge */
.topscroll-001::-webkit-scrollbar {
  width: 15px !important;
}

.topscroll-001::-webkit-scrollbar-thumb {
  background: #d4936c;  /* 色 */
  border-radius: 10px;
}

.topscroll-001::-webkit-scrollbar-track {
  background: #fff; /* 台の色 */
  border-radius: 10px;
}

/* TOPページのプロジェクト一覧スクロール枠 （地域）*/
.topscroll-002 {
  overflow-y: scroll;
  padding-right: 10px;
	background-color: rgba(255,255,255,0.5);
  scrollbar-width: auto;
  scrollbar-color: #93bb9e #fff;
}

/* Chrome / Edge */
.topscroll-002::-webkit-scrollbar {
  width: 15px !important;
}

.topscroll-002::-webkit-scrollbar-thumb {
  background: #93bb9e;  /* 色 */
  border-radius: 10px;
}

.topscroll-002::-webkit-scrollbar-track {
  background: #fff; /* 台の色 */
  border-radius: 10px;
}

/* TOPページのプロジェクト一覧スクロール枠 （BIP）*/
.topscroll-003 {
  overflow-y: scroll;
  padding-right: 10px;
	background-color: rgba(255,255,255,0.5);
  scrollbar-width: auto;
  scrollbar-color: #9dbfd8 #fff;
}

/* Chrome / Edge */
.topscroll-003::-webkit-scrollbar {
  width: 15px !important;
}

.topscroll-003::-webkit-scrollbar-thumb {
  background: #9dbfd8;  /* 色 */
  border-radius: 10px;
}

.topscroll-003::-webkit-scrollbar-track {
  background: #fff; /* 台の色 */
  border-radius: 10px;
}

/* タイトル下ライン */
.project-line {
  width: 50px;
  height: 3px;
  background: #000;
  margin: 12px 0 15px 0;
}

/* 本文がない投稿で外部リンクを下げる */
.project-empty-gap {
  height: 3em; /* 調整可能：2em / 40px / 60px にも変更OK */
}


