@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.2
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/
/*----------------------------------*/
/* 投稿日付を非表示                 */
/*----------------------------------*/
.post-date {
    display:none;
}

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
}


/* 佐野市スポーツ協会 新着情報 */

.sano-news {
  width: 100%;
  margin: 15px 0 25px;
  border-top: 2px solid #174b85;
}

.sano-news-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 17px 16px;
  border-bottom: 1px solid #e5eaf0;
  background: #fff;
  transition: background 0.25s ease;
}

.sano-news-item:hover {
  background: #f0f6ff;
}

.sano-news-date {
  flex-shrink: 0;
  color: #8491a2;
  font-size: 13px;
  font-weight: 500;
}

.sano-news-new {
  flex-shrink: 0;
  padding: 3px 8px;
  border-radius: 4px;
  background: #f26b38;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}

.sano-news-item a {
  color: #174b85;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.7;
  text-decoration: none;
  transition: color 0.2s;
}

.sano-news-item a:hover {
  color: #2585d8;
}

/* スマートフォン対応 */
@media screen and (max-width: 767px) {
  .sano-news-item {
    flex-wrap: wrap;
    gap: 6px 10px;
    padding: 14px 12px;
  }

  .sano-news-item a {
    flex-basis: 100%;
    font-size: 14px;
  }
}



/* 新着情報の文字を大きくする */
.sano-news-item a {
  font-size: 17px;
  line-height: 1.8;
}

.sano-news-date {
  font-size: 14px;
}

@media screen and (max-width: 767px) {
  .sano-news-item a {
    font-size: 16px;
  }
}

/* 新着情報 スタイリッシュデザイン */

.sano-news-category {
  flex-shrink: 0;
  display: inline-block;
  padding: 5px 12px;
  background: #eaf2fb;
  color: #174b85;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.sano-news-item a {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  font-size: 17px;
  line-height: 1.8;
}

.sano-news-arrow {
  flex-shrink: 0;
  color: #2b77c0;
  font-size: 22px;
  font-weight: 400;
  transition: transform 0.25s ease;
}

.sano-news-item:hover .sano-news-arrow {
  transform: translateX(5px);
}

/* スマートフォン対応 */
@media screen and (max-width: 767px) {
  .sano-news-category {
    font-size: 12px;
    padding: 4px 9px;
  }

  .sano-news-item a {
    flex-basis: 100%;
    font-size: 16px;
  }
}
