/*お知らせ設定*/

#new #news-list {
  padding-left: 20px;
  padding-right: 20px;
  margin-bottom: 20px;
}
#new #news-list dt {
  float: none;
  width: 100%;
  letter-spacing: 0;
  font-size: .8em;
  font-size: clamp(12px, 1vw + 10px, 14px);
  opacity: .75;
}
#new #news-list dt .category {
  background: #dfd8d8;
  padding: 2px 8px;
  margin-left: 10px;
  font-size: 0.8em;
  border-radius: 3px;
}
#new #news-list dd {
  padding-left: 0;
  padding-bottom: 10px;
  border-bottom: 1px solid #ccc;
  font-size: clamp(14px, 1.15vw + 11px, 16px);
  line-height: 1.8;
}
#new #news-list dd:not(:last-of-type) {
  margin-bottom: 10px;
}
/*
#news-list dt.is-important,
#news-list dd.is-important,
#news-list dd.is-important a {
font-weight: bold;
}
*/
#new #news-list dt.is-important .category {
  color: #fff;
}
#takanohara #news-list dt.is-important,
#takanohara #news-list dd.is-important,
#takanohara #news-list dd.is-important a {
  color: #cc0000;
}
#takanohara #news-list dt.is-important .category {
  background: #cc0000;
}

#tomigaoka #news-list dt.is-important,
#tomigaoka #news-list dd.is-important,
#tomigaoka #news-list dd.is-important a {
  color: #ff4500;
}
#tomigaoka #news-list dt.is-important .category {
  background: #ff4500;
}

#visit #news-list dt.is-important,
#visit #news-list dd.is-important,
#visit #news-list dd.is-important a {
  color: #6c5f48;
}
#visit #news-list dt.is-important .category {
  background: #6c5f48;
}

/* モーダルの表示・非表示切り替え */
#news-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 9999;
}
#news-modal.is-active {
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-body {
  background: #fff;
  padding: 50px 30px;
  width: 80%;
  max-width: 700px;
  max-height: 80vh;
  overflow-y: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  cursor: pointer;
}
.modal-close {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 40px;
  height: 40px;
  border: none;
  cursor: pointer;
  z-index: 10;
}
.modal-close span,
.modal-close span::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 25px;
  height: 2px;
  background-color: #333;
  transition: transform 0.3s ease;
}
.modal-close span {
  transform: translate(-50%, -50%) rotate(45deg);
}
.modal-close span::before {
  transform: translate(-50%, -50%) rotate(-90deg);
}
.modal-close:hover span {
  transform: translate(-50%, -50%) rotate(135deg);
}

/*ビジュアルエディタ用設定*/
#news-modal p {
  padding: 0!important;
  line-height: inherit;
}
.news_detail a {
  text-decoration: underline;
  display: inline-block;
}
.news_detail a:hover {
  opacity: 0.6;
}
.pager a {
  color: var(--primary);
  font-weight: bold;
}
.pager .page-numbers {
  padding: 5px;
}
.news_detail em {
  font-style: italic;
}
.news_detail strong {
  font-weight: bold;
}
.news_detail hr {
  border: 1px solid var(--primary);
}
.news_detail ol:not([class]),
.news_detail ul:not([class]) {
  box-sizing: border-box;
  margin-left: 25px;
}
.news_detail ul:not([class]) {
  list-style-type: disc;
}
.news_detail ol:not([class]) {
  list-style-type: decimal;
  padding: 0;
}
.news_detail blockquote {
  position: relative;
  border-left: 2px solid var(--primary);
  border-right: 2px solid var(--primary);
  padding: 1.5em;
  background-color: var(--primary_bg01);
}
.news_detail blockquote::before ,
.news_detail blockquote::after {
  position: absolute;
  font-family: 'FontAwesome';
  font-size: 1em;
  color: var(--primary_sub);
}
.news_detail blockquote::before {
  content: '\f10d';
  top: 5px;
  left: 10px;
}
.news_detail blockquote::after {
  content: '\f10e';
  bottom: 5px;
  right: 10px;
}
.news_detail blockquote cite {
  display: block;
  font-size: 0.8em;
  text-align: right;
  color: var(--notes);
  padding-right: 20px;
}
.news_detail img {
  display: block;
  border: 1px solid #eee;
  max-width: 100%;
}
.news_detail .alignleft {
  margin-left: 0;
  margin-right: auto;
}
.news_detail .alignright {
  margin-left: auto;
  margin-right: 0;
}
.news_detail .aligncenter {
  margin-left: auto;
  margin-right: auto;
}
#tomigaoka .news_detail strong {

}
@media (min-width: 769px) {

}
@media (max-width: 768px) {

}
