
.my-news {
  margin: 0 auto;
  border-radius: 5px;
  width: 100%;
}

.my-news-item {
  border-bottom: solid 1px #ddd;
  padding: 10px 0;
}

.my-news-item:first-child {
  border-top: solid 1px #ddd;
}

.my-news-item > div {
  display: flex;
  text-decoration: none;
}

.my-news-item .my-news-img {
  flex-basis: 60px;
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  background-color: #eee;
  margin-right: 20px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: #aaa;
}

.my-news-item > div > div:last-child {
  flex-basis: 100%;
  flex-shrink: 1;
}

.my-news-title {
  font-size: 16px;
  transition: 0.2s;
}

.my-news-title.has-body {
  cursor: pointer;
  text-decoration: underline;
}

.my-news-title.has-body:hover {
  opacity: 0.6;
}

.my-news-item > div > div:last-child > div:first-child {
  font-size: 12px;
}

/* n+4の場合、4個目から隠す */
.my-news-item:nth-child(n+4) {
  display: none;
}

.my-news-item.my-topics-item {
  display: block;
}

.my-news-more {
  padding-top: 10px;
  font-size: 12px;
  text-align: left;
}

.my-news-more > span {
  cursor: pointer;
}

.my-news-item > .my-news-data {
  display: none;
}

.my-news-dialog {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  overflow-y: scroll;
  z-index: 99999;
  background-color: rgba(0,0,0,0.8);
  padding: 120px 15px;
  display: none;
  box-sizing: border-box;
}

.my-news-dialog-contents {
  margin-left: auto;
  margin-right: auto;
  max-width: 580px;
  padding: 30px;
  background-color: #fff;
  border-radius: 4px;
}


@media (max-width:575px) {

  .my-news-dialog-contents {
    padding: 15px;
  }
  
}

.my-news-dialog-title {
  font-size: 20px;
  margin-bottom: 30px;
  font-weight: var(--bold-font-weight);
}

.my-news-dialog-close {
  cursor: pointer;
  background-color: #eee;
  border-radius: 4px;
  padding: 15px;
  text-align: center;
  margin-top: 60px;
  transition: 0.2s;
}

.my-news-dialog-close:hover {
  opacity: 0.6;
}


.my-news-dialog-eyecatch {
  margin-bottom: 30px;
}

.my-news-dialog iframe {
  width: 100%;
}