/* news.php topick */
#news .topick_list li {
  background: #ffffff;
  padding: 20px;
  margin-bottom: 30px;
  position: relative;
}
#news .topick_list li::after {
  content: "";
  display: block;
  width: 100%;
  height: 6px;
  background-image: linear-gradient(90deg, var(--main-color) 10%, var(--main-color) 10%);
  position: absolute;
  bottom: 0;
  left: 0;
}
#news .topicks_item {
  display: flex;
  gap: 30px;
}

#news .topick_list .news_ttl {
  position: relative;
  font-size: 1.4em;
  margin: 10px auto 0;
  padding: 5px 15px 5px 1.5em;
}
#news .topick_list .news_ttl::after {
  content: "";
  display: block;
  width: 1.2em;
  height: 1.2em;
  background: url(../images/common/conts_iconbase.png) no-repeat center center;
  background-size: contain;
  position: absolute;
  bottom: 0;
  left: 0;
}
#news .topick_list .topicks_item {
  width: fit-content;
  margin: 5px 0 5px auto;
}
#news .topick_list .topicks_item a {
  color: var(--text-color);
}

#news .topicks_item .thumbNailWrap {
  width: 30vw;
  height: 30vw;
  max-width: 160px;
  max-height: 140px;
  overflow: hidden;
  flex-shrink: 0;
}
#news .topicks_item .thumbNailWrap a:hover {
  opacity: 0.8;
  transition: all 0.3s;
}
#news .topicks_item .thumbNailWrap img {
  object-fit: cover;
  object-position: center center;
  width: 100%;
  height: 100%;
}
#news .topicks_item .comment {
  flex: 1 0 0;
}
#news .topicks_item .readme {
  align-self: flex-end;
}
#news .topicks_item .readme a {
  color: var(--text-color);
}
@media screen and (max-width: 1081px) {
}
@media screen and (max-width: 768px) {
  #news .topicks_item {
    flex-wrap: wrap;
    gap: 10px;
  }
  #news .topicks_item .thumbNailWrap {
    width: 60vw;
    height: 40vw;
    max-width: none;
    max-height: none;
    margin: auto;
  }
  #news .topicks_item .comment {
    flex: 0 0 100%;
  }
}

/* news-detail.php detail */
#news .detail_box {
  padding: 80px 0;
}
#news .detail_box .detail_Wap {
  background: #ffffff;
  padding: 40px 60px;
}
#news .detail_box .pNav {
  border-bottom: 1px dotted var(--text-color);
  padding-bottom: 5px;
}
#news .detail_box .pNav a {
  color: var(--point-color);
}
#news .news_ttl {
  position: relative;
  font-size: 1.4em;
  font-weight: bold;
  padding-bottom: 15px;
  margin-top: 10px;
  margin-bottom: 30px;
}
#news .news_ttl::after {
  content: "";
  display: block;
  width: 100%;
  height: 6px;
  background-image: linear-gradient(90deg, var(--main-color) 10%, var(--main-color) 10%);
  position: absolute;
  bottom: 0;
  left: 0;
}
#news .news_ttl:hover a {
  color: var(--text-color);
  transition: all 0.3s;
}
#news #up_ymd {
  color: var(--text-color);
}
#news #detail {
  margin-bottom: 60px;
}
#news #detail .detail_contents {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
#news #detail .detail_contents .detailText {
  width: fit-content;
  padding-bottom: 10px;
  line-height: 1.8;
}
#news #detail .detail_contents .detailText div {
  padding-bottom: 1.6rem;
}
#news #detail .detail_contents .detailUpfile {
  width: fit-content;
  max-width: 520px;
  padding-bottom: 10px;
  line-height: 1.8;
}
#news #detail .detail_contents img {
  width: 100%;
}
#news #detail .detail_contents .main_btn {
  margin: 60px auto 0;
}
#news #detail .detail_contents strong {
  font-size: 125%;
}
#news #detail .detail_contents small {
  font-size: 80%;
}
#news #detail .detail_contents u {
  text-decoration: none;
  border-bottom: 2px var(--text-color) solid;
}

/* タブレット用のスタイル */
@media screen and (max-width: 1081px) {
  #news #detail .detail_contents .detailUpfile {
    width: auto;
    max-width: 45%;
  }
  #news #detail .detail_contents .detailUpfile img {
    width: 100%;
  }
}
/* スマートフォン用のスタイル */
@media screen and (max-width: 768px) {
  #news .detail_box .detail_Wap {
    padding: 4vw 6vw;
  }
  #news #detail .detail_contents .detailUpfile {
    width: auto;
    max-width: 80%;
  }
  #news #detail .detail_contents img {
    width: auto;
  }
}

#news .main_btn-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
#news .news_btn,
#news .news_btn a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-width: 180px;
  height: 50px;
  padding: 5px 25px 5px 10px;
  background: var(--main-color);
  color: #ffffff;
  vertical-align: middle;
  border-radius: 5px;
  position: relative;
}
#news .news_btn span.news_arrow,
#news .news_btn a span.news_arrow {
  display: block;
  border-top: 3px solid #ffffff;
  border-right: 3px solid;
  width: 15px;
  height: 15px;
  position: absolute;
  right: 10%;
  transition: all 0.3s ease 0s;
  transform: rotate(45deg);
}
#news .news_btn:hover,
#news .news_btn:hover a {
  transition: all 0.3s ease 0s;
  opacity: 0.75;
}
#news .news_btn:hover span.news_arrow,
#news .news_btn:hover a span.news_arrow {
  transition: all 0.3s ease 0s;
  right: 5%;
}
