@charset "UTF-8";

/*------ NEWS -------*/
.news {
  margin: 50px 0;
}
.news .wrapper {
  position: relative;
}
.news__title {
  border-left: 9px solid var(--main-color-blue);
  padding-left: 3px;
  margin-bottom: .5em;
}
.news__btn {
  display: inline-block;
  position: absolute;
  right: 0;
  top: 0;
}
.news__btn a {
  color: #fff;
  background: var(--main-color-blue);
  padding: 3px 10px;
  box-shadow: 2px 3px #000;
}
.news__items {
  border-top: 1px solid #000;
}
.news__item {
  display: flex;
  gap: 2em;
  padding: 0.7em 2px;
 font-size: 1.0rem;
}
.news__item img{
 width: 100px;
}
.news__item-date {
  color: var(--main-color-blue);
}
@media only screen and (max-width: 736px) {

/*------ NEWS -------*/
#parts .news__title {
  border-left: none;
}
#parts .news__items {
  margin-bottom: 40px;
}
#parts .news__item {
  padding: 1em;
}
.news__box-title  {
  font-size: 2.4rem;
  margin-bottom: 20px;
}
.news__box-date {
  color: var(--main-color-blue);
  margin-bottom: 3px;
}
.news__box-text {
  font-size: 2rem;
  margin-bottom: 10px;
  border-bottom: 1px #000 dotted;
}
.news__box-img {
  width: 100%;
  object-fit: cover;
  object-position: center;
  margin-bottom: 10px;
}

@media screen and (min-width: 768px) {
  .news__box-detail {
    display: block;
    text-align: justify;
  }
}

}

/*レスポンシブサイズ設定*/
/*デフォルト*/
.page_inner {
  padding: 75px 0 0 0;
  line-height: 22px;
  box-sizing: border-box;
}
.page_inner .page_title {
  text-align: center;
  margin: 0 0 50px 0;
}
.page_inner .page_read {
  font-family: "a-otf-ryumin-pr6n";
  text-align: center;
  margin: 0 0 70px 0;
}
@media print, screen and (min-width: 737px) {
  .page_inner .page_read p {
    margin: 15px 0;
    font-size: 1.5rem;
    line-height: 40px;
    letter-spacing: 3.45px;
  }
}
@media only screen and (max-width: 736px) {
  .page_inner .page_read p {
    margin: 15px 0;
    font-size: 1.2rem;
    line-height: 40px;
    letter-spacing: 1px;
  }
}
@media print, screen and (min-width: 737px) {
  .page_inner {
    width: 960px;
    height: auto;
    margin: auto;
  }
}
@media only screen and (max-width: 736px) {
  .page_inner {
    width: 100%;
    height: auto;
  }
}

@media print, screen and (min-width: 737px) {
  .page_information {
    width: 960px;
    height: auto;
  }
}
@media only screen and (max-width: 736px) {
  .page_information {
    width: 100%;
    height: auto;
  }
}
.page_information .page_col_wrap {
  background-color: rgba(255, 255, 255, 0.5);
  font-size: 1rem;
  line-height: 30px;
  padding: 30px;
  margin: 0 0 40px 0;
  border: 1px solid #bebebe;
  box-sizing: border-box;
}
.page_information .post_date {
  text-align: right;
}
.page_information .post_title {
  font-size: 1.2rem;
  font-weight: normal;
  padding: 10px;
  border-bottom: 1px solid #bdbdbd;
  box-sizing: border-box;
}
.page_information .post_contents {
  padding: 10px;
  box-sizing: border-box;
}

/*------ ページ送り（ブログ一覧 .pagenav） -------*/
.pagenav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 40px 0 10px;
}
.pagenav .page-numbers {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid #856D3C;
  border-radius: 50%;
  background: #fff;
  color: #856D3C;
  font-size: 0.8rem;
  line-height: 1;
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s;
}
.pagenav a.page-numbers:hover {
  background: #856D3C;
  color: #fff;
  opacity: 1;
}
.pagenav .page-numbers.current {
  background: #856D3C;
  color: #fff;
  font-weight: bold;
}
/* 数字の上下位置の調整（上の余白の半分だけ下がる。0で中央。矢印・…は除く） */
.pagenav .page-numbers:not(.prev):not(.next):not(.dots) {
  padding-top: 2px;
}
.pagenav .page-numbers.dots {
  width: auto;
  border: none;
  background: none;
}
/* 前へ・次へ（文字なしなので矢印を表示） */
.pagenav .prev::before,
.pagenav .next::before {
  content: "";
  width: 6px;
  height: 6px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
}
.pagenav .prev::before {
  margin-left: 3px;
  transform: rotate(-135deg);
}
.pagenav .next::before {
  margin-right: 3px;
  transform: rotate(45deg);
}
@media only screen and (max-width: 736px) {
  .pagenav {
    gap: 6px;
  }
  .pagenav .page-numbers {
    width: 28px;
    height: 28px;
    font-size: 0.7rem;
  }
}

/*------ 記事ページの前後リンク（.post_nav） -------*/
.post_nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin: 40px 0 10px;
}
.post_nav > div {
  flex: 1;
}
.post_nav__list {
  text-align: center;
}
.post_nav__next {
  text-align: right;
}
.post_nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border: 1px solid #856D3C;
  border-radius: 999px;
  background: #fff;
  color: #856D3C;
  font-size: 0.85rem;
  line-height: 1.4;
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s;
}
.post_nav a:hover {
  background: #856D3C;
  color: #fff;
  opacity: 1;
}
/* 矢印 */
.post_nav__prev a::before,
.post_nav__next a::after {
  content: "";
  width: 6px;
  height: 6px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
}
.post_nav__prev a::before {
  transform: rotate(-135deg);
}
.post_nav__next a::after {
  transform: rotate(45deg);
}
@media only screen and (max-width: 736px) {
  .post_nav {
    gap: 6px;
  }
  .post_nav a {
    gap: 5px;
    padding: 6px 10px;
    font-size: 0.75rem;
  }
}
