@charset "utf-8";

header.scroll #nav {
    overflow: hidden;
    clear: both;
    text-align: center;
}

.header{
  margin: 0px auto 0px;
  /*ヘッダーの幅*/
  width: 100%;
  /*ヘッダーの高さ*/
  height: 100px;
  /*ヘッダーの色*/
  background-color: #f2dde0;
}
.nav{
  font-family: "Calistoga", serif;
  font-weight: 400;
  font-style: normal;
  /*ナビゲーションの横位置*/
  justify-content: center;
  /*ナビゲーションの縦位置*/
  padding-top: 20px;
  box-sizing: border-box;
}

ul{
  /*横並び*/
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  align-items: center;
}

.rgo{
  width: 108px;
  height: 62px;
}

a{
  /*ナビゲーションの色*/
  color: rgb(139, 73, 29);
  /*ナビゲーションの間隔*/
  margin-right: 60px;
}


body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333;
}

.news {
  background-color: #ffffff;
  padding: 50px 0;
}

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

.sub_ttl {
  font-size: 45px;
  text-align: center;
  margin-bottom: 40px;
  color: #8b5216;
  font-weight: bold;
}

.news-list {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.news-item {
  width: 100%;
  margin-bottom: 40px;
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease;
  padding: 20px;
  box-shadow: 0 3px 4px rgba(0, 0, 0, 0.1);
}

.news-item:hover {
  transform: translateY(-5px);
}

.news-item-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
}

.news-item-date {
  font-size: 18px;
  color: #666;
  margin-bottom: 20px;
  border-bottom: 1px solid #ccc;
  padding-bottom: 10px;
}

@media (max-width: 768px) {
  .news-item {
      width: 90%;
  }
}


.pagination {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.page-link {
  display: inline-block;
  width: 40px;
  height: 40px;
  background-color: #fff;
  color: #333;
  font-weight: bold;
  text-align: center;
  line-height: 40px;
  margin-right: 10px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-link:hover {
  background-color: #ffdfd3;
}

.active-page {
  background-color: #ffdfd3;
}

.disabled-page {
  opacity: 0.5;
  cursor: not-allowed;
}


/* フッダー */
.footer {
  padding: 2rem;
  font-size: 15px;
  color: #4b5564;
  background-color:  #f2dde0; 
}

/* フッターのロゴ部分 */
.footer__logo {
  display: inline-block;
  margin-bottom: 2rem;
}

.hover {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-right: 60px;
}

.hover img {
  width: 50px;
  height: 50px;
  vertical-align: middle;
}

/* ナビゲーションメニュー */
.footer__navi {
  list-style-type: none;
  padding-left: 0;
  font-family: "Calistoga", serif;
  font-weight: 400;
  font-style: normal;
}

.footer__navi2 {
  list-style-type: none;
  padding-left: 0;
}

.footer__navi li {
  margin-bottom: 0.75rem;
}

.footer__navi a {
  color: #8a5216;
  text-decoration: none;
}

/* グリッドレイアウト */
.grid {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

/* メディアクエリ - スマートフォンサイズ */
@media (max-width: 767px) {
  .md-flex {
    flex-direction: column;
  }

  .md-justify-between {
    justify-content: center;
  }

  .grid {
    grid-template-columns: repeat(1, minmax(0, 1fr));
    font-size: 12px;
  }
}

/* テーブルタップデバイスサイズ */
@media (min-width: 768px) and (max-width: 1023px) {
  .md-flex {
    flex-direction: column;
  }

  .md-justify-between {
    justify-content: space-between;
  }

  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    font-size: 14px;
  }
}

/* デスクトップサイズ以上 */
@media (min-width: 1024px) {
  .md-flex {
    flex-direction: row;
  }

  .md-justify-between {
    justify-content: space-between;
  }

  .grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    font-size: 15px;
  }
}

