@charset "UTF-8";
@media (min-width: 750px) and (max-height: 700px) {
  .inner.news_top_wrap .p-breadcrumb {
    max-width: 1200px;
  }
}

.inner {
  padding-left: 16px;
  padding-right: 16px;
}
@media (min-width: 750px) and (max-height: 700px) {
  .inner {
    max-width: 800px;
    margin: 46px auto !important;
  }
}
@media screen and (min-width: 750px) {
  .inner {
    margin: 46px 40px 0;
  }
}
@media screen and (min-width: 1280px) {
  .inner {
    max-width: 800px;
    width: 100%;
    padding: 0;
    margin: 46px auto 0;
  }
}
@media screen and (max-width: 749px) {
  .inner {
    display: flex;
    flex-direction: column;
  }
}

.inner_wide {
  padding-left: 16px;
  padding-right: 16px;
}
@media screen and (min-width: 750px) {
  .inner_wide {
    width: 90%;
    padding: 0;
    margin: 0 auto;
  }
}

a {
  color: inherit;
  text-decoration: none;
}

time {
  font-weight: bold;
}

.l-primary {
  margin-bottom: 120px;
}
@media screen and (max-width: 749px) {
  .l-primary {
    margin-bottom: 16px;
  }
}

.p-breadcrumb {
  margin: 0 !important;
}
@media screen and (max-width: 749px) {
  .p-breadcrumb {
    order: 2;
  }
}
.p-breadcrumb li:nth-of-type(3) {
  width: 70%;
}
.p-breadcrumb li:nth-of-type(3) span {
  overflow: hidden;
  text-overflow: ellipsis;
}

.page_ttl {
  line-height: normal;
}

.news_content {
  margin: 40px 0;
}
@media screen and (min-width: 750px) {
  .news_content {
    margin: 80px 0;
  }
}

.news_head {
  color: rgba(34, 34, 34, 0.5);
  font-family: "brandon-grotesque", sans-serif;
  display: flex;
}
@media screen and (min-width: 750px) {
  .news_head {
    font-size: 16px;
    gap: 24px;
  }
}
.news_head .news_date {
  font-weight: bold;
}
.news_head .news_tag {
  margin-left: 16px;
}
@media screen and (min-width: 750px) {
  .news_head .news_tag {
    margin-left: 24px;
  }
}

.news_body {
  margin-top: 24px;
}
.news_body h1 {
  font-size: 18px;
}
@media screen and (min-width: 750px) {
  .news_body h1 {
    font-size: 3.2rem;
  }
}
.news_body .news_img {
  margin-top: 24px;
}
@media screen and (min-width: 750px) {
  .news_body .news_img {
    margin-top: 40px;
  }
}
.news_body .news_img img {
  width: 100%;
}
.news_body .news_txt {
  margin-top: 48px;
}
@media screen and (min-width: 750px) {
  .news_body .news_txt {
    margin-top: 60px;
    padding: 0 40px;
  }
}
.news_body .news_txt:first-of-type {
  margin-top: 24px;
}
@media screen and (min-width: 750px) {
  .news_body .news_txt:first-of-type {
    margin-top: 60px;
  }
}
.news_body .news_txt h2 {
  padding-left: 24px;
  border-left: 4px solid #222;
  font-size: 18px;
  font-weight: bold;
  line-height: 1.5;
  font-family: "YuGothic", "游ゴシック", YuGothic, "游ゴシック体", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", "メイリオ", sans-serif;
  margin-top: 48px;
}
@media screen and (min-width: 750px) {
  .news_body .news_txt h2 {
    font-size: 2.8rem;
    margin-top: 60px;
  }
}
.news_body .news_txt p {
  margin-top: 24px;
  line-height: 2;
  overflow: hidden;
  display: -webkit-box;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  letter-spacing: 1px;
}
@media screen and (min-width: 750px) {
  .news_body .news_txt p {
    margin-top: 60px;
    font-size: 18px;
  }
}
.news_body .news_txt .news_txt_img {
  margin-top: 24px;
}
@media screen and (min-width: 750px) {
  .news_body .news_txt .news_txt_img {
    margin-top: 60px;
  }
}

.news_wrap {
  margin: 40px 0;
  position: relative;
}
@media screen and (min-width: 750px) {
  .news_wrap {
    display: flex;
    gap: 40px;
    margin: 60px 0;
  }
}
.news_wrap .bg_gray {
  display: none;
}
@media screen and (min-width: 750px) {
  .news_wrap .bg_gray {
    display: block;
    background-color: #F8F8F8;
    height: 100%;
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    z-index: -1;
    margin: 0 calc(50% - 50vw);
  }
}
@media screen and (min-width: 1280px) {
  .news_wrap .bg_gray {
    width: 30vw;
  }
}
@media (min-width: 750px) and (max-width: 1279px) {
  .news_wrap .bg_gray {
    width: 20vw;
  }
}

.news_tag_wrap {
  background-color: #F8F8F8;
  padding: 40px 16px;
  margin: 0 calc(50% - 50vw);
  width: 100vw;
  margin-bottom: 40px;
}
@media screen and (min-width: 750px) {
  .news_tag_wrap {
    margin: 0;
    border-radius: 0 16px 0 0;
    width: 30%;
  }
}
.news_tag_wrap .news_tag_lists {
  display: flex;
  gap: 16px 24px;
  flex-wrap: wrap;
}
@media screen and (min-width: 750px) {
  .news_tag_wrap .news_tag_lists {
    display: block;
  }
}
.news_tag_wrap .news_tag_lists .news_tag_list {
  color: rgba(34, 34, 34, 0.5);
  font-family: "brandon-grotesque", sans-serif;
}
@media screen and (min-width: 750px) {
  .news_tag_wrap .news_tag_lists .news_tag_list {
    font-size: 18px;
  }
  .news_tag_wrap .news_tag_lists .news_tag_list:not(:first-of-type) {
    margin-top: 24px;
  }
}

.news_lists_wrap .post-item {
  display: flex !important;
}
.news_lists_wrap .news_lists .news_list {
  width: 100%;
  background-color: #F8F8F8;
}
@media screen and (min-width: 1080px) {
  .news_lists_wrap .news_lists .news_list {
    margin-top: 40px;
    background-color: #fff;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 24px;
  }
}
.news_lists_wrap .news_lists .news_list:not(:first-of-type) {
  margin-top: 24px;
}
.news_lists_wrap .news_lists .news_list .news_list_img img {
  aspect-ratio: 3/2;
  object-fit: cover;
  width: 100%;
  height: 100%;
}
.news_lists_wrap .news_lists .news_list .news_list_txt {
  padding: 12px 12px 24px;
}
@media screen and (min-width: 1080px) {
  .news_lists_wrap .news_lists .news_list .news_list_txt {
    padding: 20px 0 20px 0;
  }
}
.news_lists_wrap .news_lists .news_list .news_list_txt .news_head {
  font-size: 16px;
}
@media screen and (max-width: 749px) {
  .news_lists_wrap .news_lists .news_list .news_list_txt .news_head {
    font-size: 14px !important;
    gap: 14px !important;
  }
}
.news_lists_wrap .news_lists .news_list .news_list_txt .news_body {
  margin-top: 14px;
}
.news_lists_wrap .news_lists .news_list .news_list_txt .news_body .news_txt {
  margin-top: 0;
  padding: 0;
}
.news_lists_wrap .news_lists .news_list .news_list_txt .news_body .news_txt p {
  margin-top: 0;
}

.attachment-full {
  margin-bottom: 60px;
}

.news_detail_wrap {
  margin-top: 60px;
}

.page-subtitle {
  font-size: 16px;
  margin-top: 0;
}

/* レイアウト設定 */
.news-layout {
  display: flex;
  gap: 40px;
}

/* サイドバー */
.sidebar-tags {
  width: 220px;
  flex-shrink: 0;
}

.tag-item {
  margin-bottom: 15px;
}

.filter-link {
  text-decoration: none;
  color: #666;
  font-size: 14px;
  transition: color 0.3s;
  cursor: pointer;
}

.filter-link:hover,
.filter-link.active {
  color: #000;
  font-weight: bold;
}

.all-posts-link {
  font-weight: bold;
}

/* メインコンテンツ */
.main-content {
  flex-grow: 1;
}

/* フィルター情報 */
.filter-info {
  margin-bottom: 20px;
  padding: 15px;
  background-color: #f9f9f9;
  border-radius: 5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#clear-filter {
  padding: 5px 10px;
  background-color: #333;
  color: white;
  border: none;
  border-radius: 3px;
  cursor: pointer;
}

#clear-filter:hover {
  background-color: #555;
}

/* ページネーションコントロール */
.pagination-control {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
  gap: 15px;
}

.pagination-control button {
  padding: 8px 15px;
  background-color: #333;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.pagination-control button:disabled {
  background-color: #cccccc;
  cursor: not-allowed;
}

#page-info {
  font-weight: bold;
}

/* ニュースグリッド */
.news-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

/* ニュースアイテム */
.news-item {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 20px;
}
@media screen and (max-width: 749px) {
  .news-item {
    background: #F8F8F8;
    gap: 14px;
  }
}

.news-image {
  width: 220px;
  height: 160px;
  overflow: hidden;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.news-image img:hover {
  transform: scale(1.05);
}

.placeholder-image {
  width: 100%;
  height: 100%;
  background-color: #f0f0f0;
}

.news-content {
  display: flex;
  flex-direction: column;
}
@media screen and (max-width: 749px) {
  .news-content {
    padding: 0 12px 24px;
  }
}

.news-meta {
  margin-bottom: 10px;
}
@media screen and (max-width: 749px) {
  .news-meta {
    font-size: 14px;
  }
}

.news-date {
  display: inline-block;
  margin-right: 15px;
  color: #666;
  font-size: 14px;
}

.news-categories {
  color: #666;
  font-size: 14px;
}

.news-title {
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: 36px;
  letter-spacing: 1px;
  color: #222;
}
@media screen and (max-width: 749px) {
  .news-title {
    font-size: 14px;
    line-height: 28px;
  }
}

.news-title a {
  color: #222;
  text-decoration: none;
  transition: color 0.3s;
  font-family: "yu-gothic-pr6n", sans-serif !important;
  font-weight: 700;
  font-style: normal;
}

.news-title a:hover {
  color: #666;
}

/* スクロールトップボタン */
#scroll-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  padding: 10px 15px;
  background-color: #333;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  opacity: 0;
  visibility: hidden;
  z-index: 1000;
}

#scroll-to-top:hover {
  background-color: #555;
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .news-layout {
    flex-direction: column;
  }
  .sidebar-tags {
    width: 100%;
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }
  .tag-item {
    margin-bottom: 0;
  }
  .news-item {
    grid-template-columns: 1fr;
  }
  .news-image {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
  }
}
/* 非表示の記事 */
.news-item.hidden {
  display: none;
}

.post-date,
.news-categories {
  font-family: brandon-grotesque, sans-serif;
  font-weight: 500;
  font-style: normal;
  color: rgba(34, 34, 34, 0.5);
}

@media screen and (max-width: 749px) {
  .news_detail_wrap {
    margin-top: 60px;
  }
}
@media screen and (max-width: 749px) {
  .news_detail_wrap h1 {
    font-size: 18px;
    line-height: normal;
    letter-spacing: 1px;
  }
}
@media screen and (max-width: 749px) {
  .news_detail_wrap p {
    font-size: 14px;
    line-height: 2rem;
    letter-spacing: 1px;
  }
}

@media screen and (max-width: 749px) {
  .note_bnr {
    margin-bottom: 80px;
  }
}