@charset "utf-8";

/** ***************************************************************************
 * 一覧ページ
 * ************************************************************************* */

/**
 * 記事一覧
 */

body.page-archive
#article ul.list li {
  padding: 20px 10px;
  border-bottom: 3px dotted rgb(var(--accentcolor-5));
}

body.page-archive
#article ul.list li.hash-target {
  background-color: rgba(var(--accentcolor-1), 0.3);
}

body.page-archive
#article ul.list li:first-child{
  border-top: 3px dotted rgb(var(--accentcolor-5));
}

@media screen and (min-width:768px) {

  body.page-archive
  #article ul.list li {
    padding: 30px 30px 30px 20px;
    border-bottom-width: 5px;
  }

  body.page-archive
  #article ul.list li:first-child{
    border-top-width: 5px;
  }

}

/* 日付 */

body.page-archive
#article ul.list div.time {
  margin-bottom: 5px;
  color: rgb(var(--accentcolor-3));
  font-weight: 500;
}

/* タイトル */

body.page-archive
#article ul.list div.title {
  line-height: 1.5;
  font-size: 1.125em;
  font-weight: 500;
}

/* テキスト */

body.page-archive
#article ul.list div.text {
  margin-top: 10px;
}

@media screen and (min-width:768px) {

  body.page-archive
  #article ul.list div.text {
    font-size: 0.889em;
  }

}

/** ***************************************************************************
 * 詳細ページ
 * ************************************************************************* */

/**
 * 日付
 */

body.page-single
#article div.time {
  margin-bottom: 0.375em;
  color: rgb(var(--accentcolor-3));
  font-weight: 500;
}

/**
 * タイトル
 */

body.page-single
#article .title {
  margin-bottom: 1.25em;
  line-height: 1.5;
  font-size: 1.375em;
  font-weight: 500;
}

@media screen and (min-width:768px) {

  body.page-single
  #article .title {
    margin-bottom: 2em;
    font-size: 1.75em;
  }

}

/**
 * 内容
 */

body.page-single
#article div.content::after {
  content: '';
  width: 100%;
  clear: both;
  display: table;
  visibility: hidden;
}

body.page-single
#article div.content strong {
  font-weight: 600;
}

body.page-single
#article div.content iframe {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  display: block;
}

@media screen and (min-width:768px) {

  body.page-single
  #article div.content iframe {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 20px;
  }

}

/**
 * 一覧に戻る
 */

body.page-single
#article div.button {
  text-align: center;
}

body.page-single
#article div.button a {
  min-width: 300px;
}
