@charset "utf-8";


/*===============================================
画面の横幅が1280px以上（パソコン用）
===============================================*/
@media print,screen and (min-width: 1280px){

.news_waku {
    width: 900px;
    margin: 0 auto;
    padding: 100px 0;
}

/* リスト全体のスタイル */
#news-list, #all-news-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
/* 各行の枠組み（余白や線の設定を調整） */
.news-item {
  border-bottom: 1px solid #cccccc;
}
/* ★ リンクを li の幅いっぱいに広げて横並びにする */
.news-link {
  display: flex;
  align-items: flex-start; /* 上揃え */
  gap: 15px;           /* 画像とテキストの間隔 */
  padding: 15px;       /* 内側の余白（ここをクリックしても反応します） */
  text-decoration: none; /* リンクの下線を消す */
  color: #333;
  transition: background-color 0.2s ease; /* マウスホバー時のアニメーション */
}
/* ★ 行全体にマウスを乗せたときの視覚効果 */
.news-link:hover {
  background-color: #f0f0f0; /* 背景を薄いグレーにする */
  text-decoration: none;
}
/* 画像エリアの設定 */
.news-img {
  width: 80px;
  flex-shrink: 0;
}
.news-img img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
/* テキストエリアの設定 */
.news-content {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.news-date {
  font-size: 0.85rem;
  color: #333;
}
/* タイトルのスタイル（hover時の下線はお好みで） */
.news-title {
  font-weight: bold;
  line-height: 1.4;
}
.news-link:hover .news-title {
  color: #000000;
}

}


/*===============================================
画面の横幅が1024px以上（タブレット用）
===============================================*/
@media print,screen and (min-width: 1024px) and (max-width: 1279px){

.news_waku {
    width: 80%;
    margin: 0 auto;
    padding: 100px 0;
}

/* リスト全体のスタイル */
#news-list, #all-news-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
/* 各行の枠組み（余白や線の設定を調整） */
.news-item {
  border-bottom: 1px solid #cccccc;
}
/* ★ リンクを li の幅いっぱいに広げて横並びにする */
.news-link {
  display: flex;
  align-items: flex-start; /* 上揃え */
  gap: 15px;           /* 画像とテキストの間隔 */
  padding: 15px;       /* 内側の余白（ここをクリックしても反応します） */
  text-decoration: none; /* リンクの下線を消す */
  color: #333;
  transition: background-color 0.2s ease; /* マウスホバー時のアニメーション */
}
/* ★ 行全体にマウスを乗せたときの視覚効果 */
.news-link:hover {
  background-color: #f0f0f0; /* 背景を薄いグレーにする */
  text-decoration: none;
}
/* 画像エリアの設定 */
.news-img {
  width: 80px;
  flex-shrink: 0;
}
.news-img img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
/* テキストエリアの設定 */
.news-content {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.news-date {
  font-size: 0.85rem;
  color: #333;
}
/* タイトルのスタイル（hover時の下線はお好みで） */
.news-title {
  font-weight: bold;
  line-height: 1.3;
}
.news-link:hover .news-title {
  color: #000000;
}

}

    
/*===============================================
画面の横幅が1023pxまで（スマホ用）
===============================================*/
@media screen and (max-width:1023px){

.news_waku {
    padding: 0 4%;
}

/* リスト全体のスタイル */
#news-list, #all-news-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
/* 各行の枠組み（余白や線の設定を調整） */
.news-item {
  border-bottom: 1px solid #cccccc;
}
/* ★ リンクを li の幅いっぱいに広げて横並びにする */
.news-link {
  display: flex;
  align-items: flex-start; /* 上揃え */
  gap: 15px;           /* 画像とテキストの間隔 */
  padding: 15px;       /* 内側の余白（ここをクリックしても反応します） */
  text-decoration: none; /* リンクの下線を消す */
  color: #333;
  transition: background-color 0.2s ease; /* マウスホバー時のアニメーション */
}
/* ★ 行全体にマウスを乗せたときの視覚効果 */
.news-link:hover {
  background-color: #f0f0f0; /* 背景を薄いグレーにする */
  text-decoration: none;
}
/* 画像エリアの設定 */
.news-img {
  width: 80px;
  flex-shrink: 0;
}
.news-img img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
/* テキストエリアの設定 */
.news-content {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.news-date {
  font-size: 0.85rem;
  color: #333;
}
/* タイトルのスタイル（hover時の下線はお好みで） */
.news-title {
  font-weight: bold;
  line-height: 1.2;
}
.news-link:hover .news-title {
  color: #000000;
}
        
}
    