@charset "UTF-8";

.bg_be {
  background-color: #f6f6f1;
}

.breadcrumb {
  margin: 130px auto 30px;
}

/* single column */
/* ヘッダ */
.cl_single {
  max-width: 930px;
  width: 90%;
  margin: 0 auto;
  /* margin-bottom: 3rem; */
  padding-bottom: 4%;
}
.date {
  padding: 2% 0;
  font-size: 0.9375rem;
}
.cl_cat_inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 5px;
  height: auto;
}

/* cat-itemは、archive-column.phpの下のカテゴリー一覧のcl_cat_foot のカテゴリーにかかっているクラス*/
.cat_label,
.cat-item {
  display: inline-block;
  text-align: center;
  min-width: 4rem;
  background-color: #c4a46b;
  color: #f6f6f1;
  font-weight: bold;
  font-size: 0.875rem;
  padding: 0 0.5rem;
  border: 1px solid transparent;
  transition: background-color 1s, border-radius 2s;
  box-sizing:border-box;
  cursor: pointer;
}
.cat_label:hover,
.cat-item:hover {
  font-weight: 700;
  border: 1px solid #c4a46b;
  color: #c4a46b;
  background-color: white;
}
.post_title {
  font-size: 2rem;
}
.mark {
  background: linear-gradient(transparent 50%, #C7EFCF 50%);
  padding: 2px 4px;
}
.post_wrapper {
  margin-bottom: 3rem;
}
/* taxonomy-column_category.phpで該当しているものだけ色を変える */
.current-cat {
  border: 1px solid #c4a46b;
  color: #c4a46b;
  background-color: white;
}


/* ボタン */
.cl_btn {
  position: relative; /* absolute を relative に変更 */
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 220px;
  margin: 30px auto; /* 上下に余白を作りつつ中央寄せ */
  padding: 15px 15px 15px 30px;
  background-color: #519987;
  color: #f6f6f1;
}
.cl_btn:before {
  position: absolute;
  inset: -4px 4px 4px -4px;
  border: 1px solid #eaeaea;
  content: "";
}
.button {
  position: relative;
  margin: 100px;
}
/* 矢印 */
.arrow {
  position: relative;
  display: inline-block;
  text-align: left;
  width: 24px;
  height: 2px;
  padding-left: 10px;
  border-radius: 9999px;
  background-color: #f6f6f1;
}
.arrow::before,
.arrow::after {
  content: "";
  position: absolute;
  top: calc(50% - 1px);
  right: 0;
  width: 10px;
  height: 2px;
  border-radius: 9999px;
  background-color: #f6f6f1;
  transform-origin: calc(100% - 1px) 50%;
}
.arrow::before {
  transform: rotate(45deg);
}
.arrow::after {
  transform: rotate(-45deg);
}


/* column only*/
.cl_list {
  max-width: 922px;
  width: 90%;
  margin: 0 auto;
}

.cl_list_inner {
  display: flex;
  justify-content: space-between;
  padding: 40px 0;
  border-top: 1px solid #c4a46b;
  
}

.cl_img {
  max-width: 450px;
  width: 50%;
  object-fit: cover;
  aspect-ratio: 450 / 303;
}
.cl_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cl_container {
  width: 45%;
  max-width: 384px;
}
.cl_text {
  width: 100%;
  /* line-height: 200%; */
  font-size: 93.75%;
}

.date_con {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cl_title {
  margin: 20px 0;
}
.cl_cat_foot {
  max-width: 930px;
  width: 90%;
  height: auto;
  margin: 0 auto;
  margin-bottom: 80px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 5px;
}

/* pagination */

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin: 8% 0;
}

.pagination ul {
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 0;
  align-items: center;
}

.pagination li {
  margin: 0 4px;
}

.pagination a, .pagination span {
  display: inline-block;
  padding: 0px 11px;
  text-decoration: none;
  width: 30px;
  height: 30px;
  
}

/* 現在のページのデザイン（濃い緑背景） */
.pagination .current {
  background-color: #3E755F; /* 濃い緑 */
  color: white;
  font-weight: bold;
  font-size: 14px;
}

/* 通常のページリンク（薄い緑背景） */
.pagination a {
  background-color: #C3DDD6; /* 薄い緑 */
  color: #fff;
  font-size: 14px;
}

/* ホバー時 */
.pagination a:hover {
  background-color: #3E755F; /* 濃い緑 */
  color: white;
  
}

/* ＜＞ のデザイン */
.pagination .prev, 
.pagination .next {
  background-color: #C3DDD6; /* 薄い緑 */
  font-weight: bold;
  width: 30px;
  height: 30px;
  padding: 0px 8px;
}

/* ≪≫ のデザイン */
.pagination .first,
.pagination .last {
  background-color: #C3DDD6; /* 薄い緑 */
  font-weight: bold;
  width: 30px;
  height: 30px;
  font-size: 14px;
  padding: 0px 7px;
}

/* ...のデザイン */
span.page-numbers.dots {
  color: #3E755F;
  padding: 0px 0px;
  width: 28px;
}

/*記事詳細の写真の設定  */
.eyechatch img {
  object-fit: cover;
  width: auto;
  height: auto;
}

/* 記事の加工 */
.post_wrapper ul, .post_wrapper ul li {
  list-style-type: disc !important;
  margin: 1.5em;
  /* margin-bottom: 1.5em; */
}

@media screen and (max-width: 800px) {
  main {
    margin-top: 5em;
  }

  .cl_list_inner {
    display: block;
    width: 100%;
  }
  .cl_img,
  .cl_container {
    margin: 0 auto;
    width: 100%;
    max-width: 450px;
  }
  .cl_container {
    margin-top: 30px;
  }
  
  /* ボタン */
  .button {
    margin: 30px;
  }
}
@media screen and (max-width: 768px){
  .breadcrumb {
    margin-top: 70px;
  }
}