@charset "utf-8";
.div_post-wrap{
  padding:0 2.5%;
  max-width:var(--max-width-1200);
  margin: 0 auto 60px auto;
  width: 95%;
}
/**chatgpt生成コード**/
/* サイドバー全体 */
.sidebar_con {
  width: 100%;
  max-width: 320px;
  box-sizing: border-box;
}

/* 見出し */
.sidebar_con .headline {
  font-size:var(--body-font-size-18);
  font-weight: bold;
  color:var(--text-color);
  margin: 0px 0 20px 10px;
  border-bottom: solid 1px #F7E8E5;
  padding: 0 10px 10px;
}

/* リスト */
.sidebar_con ul {
  margin: 0 0 20px 10px;
}

/* リストアイテム */
.sidebar_con ul li {
  margin-bottom: 10px;
}

/* リンクスタイル */
.sidebar_con ul li a {
  color: #555;
  display: block;
  padding: 8px 12px;
  border-radius: 6px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.sidebar_con ul li a:hover {
  background-color: #f4f4f4;
  color: #A6947F;
}
/* レスポンシブ対応：画面幅が780px以下なら中央寄せでフル幅 */
@media screen and (max-width: 768px){
  .sidebar_con {
    max-width: 100%;
    margin: 0 auto;
  }
  .sidebar_con ul li a {
    font-size: 14px;
    padding: 6px 10px;
  }
}
/**chatgpt生成コード**/
/******sigle.php********/
.sec_postcon,.sec_post-list-con{
    max-width:var(--max-width-1200);
    margin: 0 auto 60px auto;
    width:100%;

}
.sec_postcon .div_postcon{
    border: solid 1px #F7E8E5;
    margin-bottom: 15px;
}


.sec_postcon article,.sec_post-list-con article{
  max-width: 100%;
  width: 100%;
  padding: 0;
}
.sec_postcon .div_h2{
  margin-bottom: 30px;
}
.sec_postcon h2{
  border-bottom: solid 1px #F7E8E5;
  padding: 0 10px 5px;
  margin-bottom: 3px;
  font-size: var(--h2-font-size);
  letter-spacing: 0.1em;
  font-family:"Shippori Mincho","Yu Mincho","游 明朝","ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "ＭＳ Ｐ明朝", "MS PMincho", serif;  
  font-weight: 500;
}
.sec_postcon .div_h2 .p_span_cta{
  font-size: var(--body-font-size-12);
  color:var(--light-grey);
  text-align: right;
  margin:10px  10px 0;
}
.sec_postcon .div_h2 .date-time{
  margin:0 10px 15px;
}
.sec_postcon .div_h2 .h2_option{
  text-align: right;
  font-size:var(--body-font-size-18);
  font-family:"Shippori Mincho","Yu Mincho","游 明朝","ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "ＭＳ Ｐ明朝", "MS PMincho", serif;  
  font-weight: 500;

}
.sec_postcon h3{
  border: solid 1px #F7E8E5;
  padding:10px 10px;
  font-family:"Shippori Mincho","Yu Mincho","游 明朝","ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "ＭＳ Ｐ明朝", "MS PMincho", serif;  
  font-weight: 500;
  font-size: var(--h3-font-size);
  margin-bottom: 30px;
  background:linear-gradient(55deg,rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 40%, rgba(250, 242, 232, 1) 100%);
}

@media screen and (min-width: 768px) {
.sec_postcon .div_postcon{
  padding: 2.5%;
}
  .div_post-wrap{
      display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 8px;
}
  .sidebar_con{
    grid-row: span 3 / span 3;
    grid-column-start: 3;
}
  .sec_postcon,.sec_post-list-con{
    grid-column: span 2 / span 2;
    grid-row: span 2 / span 2;

}
  }
@media screen and (max-width: 768px){
.sec_postcon .div_postcon{
  padding: 5%;
}
.sec_postcon .div_h2 .h2_option{
    text-align: left;
  }
}
/******page-news.php********/


/* --- ニュース一覧 --- */
.sec_post-list-con{
  margin-bottom: 0;
}
.sec_post-list-con h2{
  margin-left: 0;
}
.page-title {
  font-size: 24px;
  margin-bottom: 24px;
  border-bottom: 2px solid #A6947F;
  padding-bottom: 10px;
  color: #A6947F;
}
.news-item {
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid #F7E8E5;
}

.news-item .date {
  font-size: 14px;
  display: block;
  margin-bottom: 5px;
}

.news-item .news-title {
  font-size:var(--body-font-size-18);
  margin-bottom: 8px;
  font-family:"Shippori Mincho","Yu Mincho","游 明朝","ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "ＭＳ Ｐ明朝", "MS PMincho", serif;  

}
.pagination {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 40px 0;
  font-family: 'Noto Sans JP', sans-serif;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s ease-out forwards;
}

/* フェードインアニメーション */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.pagination .page-numbers {
  color: #A6947F;
  border: 1px solid #A6947F;
  padding: 8px 14px;
  text-decoration: none;
  border-radius: 6px;
  font-size: 16px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.pagination .page-numbers:hover {
  background-color: #f3f0ed;
  color:var(--text-color);
}

.pagination .current {
  background-color:var(--text-color);
  color: #fff;
  font-weight: bold;
  border-color:var(--text-color);
  cursor: default;
}

@media screen and (max-width: 480px) {
  .pagination a {
    padding: 6px 10px;
    font-size: 14px;
  }
}
