@charset "utf-8";

/** ***************************************************************************
 * 一覧ページ
 * ************************************************************************* */

/**
 * カテゴリーナビ
 */

body.page-archive
#category-nav ul.list {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: flex-start;
  gap: 6px;
}

body.page-archive
#category-nav ul.list li {
  min-width: calc(100% / 2 - 3px);
}

body.page-archive
#category-nav ul.list a {
  height: 100%;
  padding: 0.25em 0.5em 0.375em;
  line-height: 1.5;
  font-family: var(--font-maru-sans);
  font-weight: 700;
  text-decoration: none;
  border-radius: 8px;
  border: 1px solid rgb(var(--accentcolor-1));
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    color 0.3s ease-in-out 0.0s,
    background-color 0.3s ease-in-out 0.0s;
  color: rgb(var(--accentcolor-1));
  background-color: transparent;
}

body.page-archive
#category-nav ul.list a:hover {
  color: #fff;
  background-color: rgb(var(--accentcolor-1));
}

body.page-archive
#category-nav ul.list li.current a {
  color: #fff;
  background-color: rgb(var(--accentcolor-1));
}

@media screen and (min-width:768px) {

  body.page-archive
  #category-nav ul.list {
    justify-content: center;
    gap: 10px;
  }

  body.page-archive
  #category-nav ul.list li {
    min-width: calc(100% / 6 - 9px);
  }

  body.page-archive
  #category-nav ul.list a {
    padding: 0.25em 1em 0.375em;
  }

}

/* 重要なお知らせ */

body.page-archive
#category-nav ul.list li.important a {
  color: #f44d74;
  border-color: #f44d74;
}

body.page-archive
#category-nav ul.list li.important a:hover {
  color: #fff;
  background-color: #f44d74;
}

body.page-archive
#category-nav ul.list li.important.current a {
  color: #fff;
  background-color: #f44d74;
}

/**
 * 記事一覧
 */

body.page-archive
#news {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

body.page-archive
#news ul.list li {
  border-top: 1px solid rgba(0, 0, 0, 0.15);
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}

body.page-archive
#news ul.list li:not(:first-child) {
  border-top: none;
}

body.page-archive
#news ul.list a {
  padding: 1em;
  color: rgb(var(--color-basic));
  text-decoration: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 0.625em 1em;
  transition: background-color 0.3s ease-in-out 0.0s;
  background-color: transparent;
}

body.page-archive
#news ul.list a:hover {
  background-color: rgba(var(--accentcolor-1), 0.03);
}

body.page-archive
#news ul.list li.hash-target a {
  background-color: rgba(var(--accentcolor-1), 0.03);
}

@media screen and (min-width:768px) {

  body.page-archive
  #news ul.list a {
    padding: 1.5em 1em;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    gap: 1em;
  }

}

/* 日付 */

body.page-archive
#news ul.list li time {
  align-self: flex-start;
  flex-shrink: 0;
}

/* カテゴリー */

body.page-archive
#news ul.list li div.category {
  min-width: 10em;
  padding: 0.125em 1em 0.25em;
  color: rgb(var(--accentcolor-1));
  line-height: 1.5;
  font-family: var(--font-maru-sans);
  font-size: 0.875em;
  font-weight: 700;
  border-radius: 9999px;
  border: 1px solid rgb(var(--accentcolor-1));
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  flex-shrink: 0;
}

/* 重要なお知らせ */

body.page-archive
#news ul.list li div.category.important {
  color: #f44d74;
  border-color: #f44d74;
}

/* タイトル */

body.page-archive
#news ul.list li div.title {
  width: 100%;
  line-height: 1.5;
}

@media screen and (min-width:768px) {

  body.page-archive
  #news ul.list li div.title {
    width: unset;
  }

}

/** ***************************************************************************
 * 詳細ページ
 * ************************************************************************* */

body.page-single
#main div.body {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 40px;
}

@media screen and (min-width:768px) {

  body.page-single
  #main div.body {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 5%;
  }

}

/** ***************************************************************************
 * 記事内容
 */

@media screen and (min-width:768px) {

  body.page-single
  #news {
    flex-grow: 1;
  }

}

/**
 * 日付 / カテゴリー
 */

body.page-single
#news div.meta {
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 15px;
}

body.page-single
#news div.meta div.category {
  min-width: 10em;
  padding: 0.125em 1em 0.25em;
  color: rgb(var(--accentcolor-1));
  line-height: 1.5;
  font-family: var(--font-maru-sans);
  font-size: 0.875em;
  font-weight: 700;
  border-radius: 9999px;
  border: 1px solid rgb(var(--accentcolor-1));
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  flex-shrink: 0;
}

/* 重要なお知らせ */

body.page-single
#news div.meta div.category.important {
  color: #f44d74;
  border-color: #f44d74;
}

/**
 * 記事内容
 */

body.page-single
#news div.content::after {
  content: '';
  display: table;
  clear: both;
  visibility: hidden;
}

body.page-single
#news div.content h2 {
  margin-bottom: 15px;
  line-height: 1.5;
  color: #BC3B4F;
  font-size: 1.5em;
  font-weight: 700;
}

body.page-single
#news div.content h3 {
  margin-bottom: 20px;
  padding-left: 1.125em;
  padding-bottom: 0.25em;
  line-height: 1.5;
  font-family: var(--font-maru-sans);
  font-size: 1.25em;
  font-weight: 700;
  border-bottom: 2px solid rgb(var(--accentcolor-1));
  position: relative;
  z-index: 0;
}

body.page-single
#news div.content h3::before {
  content: '';
  border: 0.375em solid rgb(var(--accentcolor-1));
  border-radius: 9999px;
  position: absolute;
  z-index: 1;
  top: 0.375em;
  left: 0;
}

body.page-single
#news div.content table {
  border: 1px solid #BDBDAE;
}

body.page-single
#news div.content .floatleft {
  float: left;
}

body.page-single
#news div.content .floatright {
  float: right;
}

body.page-single
#news div.content .alignnone {
	clear: both;
	margin-bottom: 45px;
}

body.page-single
#news div.content .alignleft {
  clear: both;
  float: left;
  margin-right: 20px;
  margin-bottom: 20px;
}

body.page-single
#news div.content .alignright {
  clear: both;
  float: right;
  margin-left: 20px;
  margin-bottom: 20px;
}

@media screen and (min-width:768px) {

  body.page-single
  #news div.content h2 {
    font-size: 1.75em;
  }

  body.page-single
  #news div.content h3 {
    margin-bottom: 30px;
    letter-spacing: 1px;
    font-size: 1.375em;
  }

}

/**
 * 一覧ページに戻る
 */

body.page-single
#news div.button {
  margin-top: 40px;
  text-align: center;
}

@media screen and (min-width:768px) {

  body.page-single
  #news div.button {
    margin-top: 60px;
  }

}

/** ***************************************************************************
 * サイドコンテンツ
 */

@media screen and (min-width:768px) {

  body.page-single
  #side {
    width: 200px;
    flex-shrink: 0;
  }

}

/**
 * タイトル
 */

body.page-single
#side .side-title {
  margin-bottom: 15px;
}

/**
 * カテゴリー
 */

body.page-single
#side div.category ul.list {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 6px;
}

body.page-single
#side div.category ul.list a {
  padding: 0.25em 1em 0.375em;
  line-height: 1.5;
  font-family: var(--font-maru-sans);
  font-weight: 700;
  text-decoration: none;
  border-radius: 8px;
  border: 1px solid rgb(var(--accentcolor-1));
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    color 0.3s ease-in-out 0.0s,
    background-color 0.3s ease-in-out 0.0s;
  color: rgb(var(--accentcolor-1));
  background-color: transparent;
}

body.page-single
#side div.category ul.list a:hover {
  color: #fff;
  background-color: rgb(var(--accentcolor-1));
}

body.page-single
#side div.category ul.list li.current a {
  color: #fff;
  background-color: rgb(var(--accentcolor-1));
}

/* 重要なお知らせ */

body.page-single
#side div.category ul.list li.important a {
  color: #f44d74;
  border-color: #f44d74;
}

body.page-single
#side div.category ul.list li.important a:hover {
  color: #fff;
  background-color: #f44d74;
}

body.page-single
#side div.category ul.list li.important.current a {
  color: #fff;
  background-color: #f44d74;
}

/**
 * 過去の記事
 */

body.page-single
#side div.latest .side-title {
  margin-bottom: 0;
}

body.page-single
#side div.latest ul.list {
  font-size: 0.875em;
}

body.page-single
#side div.latest ul.list li {
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}

body.page-single
#side div.latest ul.list a {
  padding: 0.625em 0.5em;
  color: inherit;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0.25em;
  transition: background-color 0.3s ease-in-out 0.0s;
  background-color: transparent;
}

body.page-single
#side div.latest ul.list a:hover {
  background-color: rgba(var(--accentcolor-1), 0.03);
}

/* カテゴリー */

body.page-single
#side div.latest ul.list div.category {
  min-width: 10em;
  padding: 0.125em 1em 0.25em;
  color: rgb(var(--accentcolor-1));
  line-height: 1.5;
  font-family: var(--font-maru-sans);
  font-size: 0.875em;
  font-weight: 700;
  border-radius: 9999px;
  border: 1px solid rgb(var(--accentcolor-1));
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 重要なお知らせ */

body.page-single
#side div.latest ul.list div.category.important {
  color: #f44d74;
  border-color: #f44d74;
}

/**
 * 過去の記事
 */

body.page-single
#side div.archive .side-title {
  margin-bottom: 0;
}

body.page-single
#side div.archive ul.list li {
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}

body.page-single
#side div.archive ul.list a {
  padding: 0.5em;
  color: inherit;
  text-decoration: none;
  display: block;
  transition: background-color 0.3s ease-in-out 0.0s;
  background-color: transparent;
}

body.page-single
#side div.archive ul.list a:hover {
  background-color: rgba(var(--accentcolor-1), 0.03);
}
