@charset "UTF-8";
/* ベース */
#visual {
  width: 100%;
  height: 30vh; /* 高さはお好みで調整（例：50%画面） */
  background-image: url("../../img/top/kv.jpg");
  background-size: cover;
  background-position: center;
  position: relative;
}

/* テキスト配置 */
#visual .visual-inner {
  width: 100%;
  height: 100%;
  position: relative;
}

#visual .visual-text {
  position: absolute;
 top: 2.3rem;
  left: 4rem;
  color: #696969;
  font-size: 2rem;
  font-weight: bold;
  /* text-shadow: 1px 1px 4px rgba(0,0,0,0.6); */
  background-color: #fff;
  padding: 0.5em 1em;
  line-height: 1.2;
  border-radius: 10px;
}

#visual .visual-text span {
  font-size: 1.3rem;
  font-weight: normal;
  display: block;
  /* opacity: 0.8; */
  color: #037Fb9;
  padding: 0;
}

/* スマホ対応 */
@media screen and (max-width: 768px) {
  #visual {
    height: 40vh;
  }

  #visual .visual-text {
    font-size: 1.4rem;

    left: 1rem;
  }

  #visual .visual-text span {
    font-size: 0.9rem;
  }
}




#news{
}


/* ニュースリスト全体 */
#news .news-list {
padding: 2em 0 0 0;
  margin: 0;
  width: 100%;
}


#news .news-list h3 {
    border-left: 4px solid #037Fb9;
    padding: 0 0 0 1em;
    margin: 0 0 2em 0;
}

/* 各ニュースアイテムを縦に並べる */
#news .news-item {
  display: block; /* アイテムを縦並びに */
  margin-bottom: 1em; /* アイテム間のスペース */
  border-bottom: 1px solid #ddd; /* 下に区切り線（任意） */
  padding-bottom: 1em; /* 区切り線の下に余白 */
}

/* 日付と内容を横並びにする */
#news .news-item span {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
}

/* 日付のスタイル */
#news .news-date {
  color: #007ACC;
  font-weight: bold;
  margin-right: 1em; /* 日付と内容の間隔 */
  width: 15%;
}

/* 内容のスタイル */
#news .news-content {
  color: #333;
}


@media screen and (max-width: 768px) {
#news {
flex-direction: column;　
    display: flex;
}

#news .news-date {
  width: auto;
}

#news .heading {
display: contents;
}

#news h2{
 order: 2;
}
#news h2.title {
 order: 1;
}


#news .news-list {
 order: 3;
         padding: 1.5em 0;
}

#news .corners_blue_btn{
 order: 4;
}

#news .news-item span {
  display: block;
}


}
