/* .main-content {
    flex: 1;
    min-width: 300px;
    margin-right: 45px;
    margin: auto;
} */

/* .main-content a{
    text-decoration: none;
    color: inherit;
    transition: opacity .25s;
}

.main-content a:hover{
    opacity: .5;
} */

.post {
  display: flex;
  margin-bottom: 30px;
}

.post img {
  margin-right: 30px;
  /* width: auto; */
  max-width: 20%;
  height: fit-content;
  max-height: 110px;
  border-radius: 15px;
}

.company__img {
  margin-top: 50px !important;
  margin-bottom: 50px !important;
}

.company__img img {
  border-radius: 30px !important;
  max-height: 450px !important;
}

.company__img::after {
  width: 0 !important;
  height: 0px !important;
}

.post-content {
  padding-right: 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.post-content h2 {
  font-size: 20px;
  font-weight: bold;
}

.media-date {
  color: #757575;
  font-size: 12px;
  margin-top: 0.4rem;
}

p.post-content-p {
  margin: 0.8rem 0;
  font-size: 18px;
}

/* .sidebar-box {
  width: 250px;
  min-width: 200px;
}

.sidebar{
  margin-bottom: 65px;
}

.sidebar:last-child{
  margin-bottom: 0px;
}

.sidebar h3 {
  font-size: 20px;
  font-weight: bold;
  padding: 0 .5em .5em;
  position: relative;
  margin-bottom: 25px;
}

.sidebar h3::before {
  content: "";
  bottom: 0;
  left: 0;
  width: 40%;
  z-index: 1;
  background: #90C2DF;
  box-sizing: inherit;
  display: block;
  height: 2px;
  position: absolute;
  z-index: 0;
}

.sidebar h3::after {
  content: "";
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, .12);
  box-sizing: inherit;
  display: block;
  height: 2px;
  position: absolute;
  z-index: 0;
}

.sidebar ul {
  list-style: none;
  padding: 0;
}

.sidebar ul li {
  display: flex;
  margin-bottom: 10px;
  padding: 0 .5em .5em;
  border-bottom: 1px solid #AFD3E8;
}

.sidebar ul li img{
  width: 16px;
  height: auto;
  margin-bottom: -3px;
}

.sidebar ul li a {
  text-decoration: none;
  color: inherit;
  transition: opacity .25s;
}

.sidebar ul li a:hover {
  opacity: .5;
} */
.post-divider {
  border: none;
  border-bottom: 1px solid #ccc;
  margin: 20px 0;
}

@media screen and (max-width: 820px) {
  .main-content {
    margin-right: 0 !important;
  }
  .container {
    display: block;
    max-width: 800px;
    width: 90%;
  }
  .post {
    flex-direction: column;
    align-items: flex-start;
  }

  .post img {
    margin-right: 0;
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 305px;
  }

  .post-divider {
    margin-bottom: 60px;
  }

  .post-content {
    padding-right: 0;
    margin-top: 10px;
    text-align: left;
    width: 100%;
  }
  /* .post img {
      margin-right: 20px;
      width: 40%;
      max-width: 100%;
  }
  p.post-content-p {
      margin: .8rem 0;
      font-size: 16px;
  } */
}

/* ページネーション全体 */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 30px;
  gap: 8px;
}

/* 各ページ番号のスタイル */
.pagination a,
.pagination span {
  display: inline-block;
  padding: 10px 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  text-decoration: none;
  font-size: 16px;
  color: #333;
  background-color: #fff;
  transition: all 0.3s ease;
}

/* ホバー時のスタイル */
.pagination a:hover {
  background-color: #90c2df;
  color: #fff;
  border-color: #90c2df;
}

/* 現在のページのスタイル */
.pagination .current {
  background-color: #90c2df;
  color: #fff;
  border-color: #90c2df;
  font-weight: bold;
}

/* 「前へ」「次へ」ボタン */
.pagination .prev,
.pagination .next {
  font-weight: bold;
  padding: 10px 20px;
}

/* 「前へ」「次へ」のホバー時 */
.pagination .prev:hover,
.pagination .next:hover {
  background-color: #90c2df;
  color: #fff;
}
