body {
  font-family: "Noto Sans JP";
  background: #E0E5EC;
  letter-spacing: 0.01em
}

.homepage {
  width: 960px;
  padding: 40px;
}

a {
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

.light-theme {
  background: #fff;
  color: #333;
}

.dark-theme {
  background: #111;
  color: #ddd;
}

footer {
  background: #E0E5EC;
}

footer .text-muted {
  color: #6c757d !important;
}

footer .content a:hover {
  color: #169f6b;
}

footer .copylight p {
  font-size: 13px;
}

footer .copylight {
  line-height: 5px;
}

footer .copylight p {
  margin-bottom: 8px;
}

/* ヘッダー */
#navbar-main-menu {
  width: 100%;
  z-index: 100;
}

.about-btn {
  color: #169f6b;
  font-size: 22px;
}

#navbar-main-menu a:hover {
  color: #169f6b;
}

.navbar .font-weight-bold {
  font-size: 35px;
}

.navbar a {
  font-family: "Candal", sans-serif;
  font-family: "Paytone One", sans-serif;
}

.navbar {
  color: #000;
}

.navbar .nav-item {
  margin: 0px 5px;
}

#navbar-main-menu .nav-item .nav-link {
  font-size: 20px;
}

/* カード */

.box{
  border-radius:4px;
  width:150px;
  height:150px;
  background-color:#E0E5EC;
  box-shadow: 9px 9px 16px rgb(163,177,198,0.6), -9px -9px 16px    rgba(255,255,255, 0.5);
}

.articles {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.article-card:not(:last-child):not(:nth-last-child(2)) {
  margin: 0px 0px 30px 0px;
}

.article-card {
  width: 48%;
  display: flex;
  position: relative;
  justify-content: space-between;
}

.article-card .card-container {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 10;
}

.card-left {
  width: 92px;
  height: 92px;
  margin-right:35px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 20px;
}

_::-webkit-full-page-media, _:future, :root .card-left {
  padding-left: 5px;
}

.card-left figure {
  margin: 0;
  font-size: 10px;
}

.card-left figure.emoji {
  font-size: 35px;
}

.card-right {
  flex: 1;
}

.card-right h4 {
  font-size: 18px;
  margin-bottom: 10px;
}

.card-img-cover {
  width: 75px;
  height: 75px;
  border-radius: 15px;
  object-fit: cover;
}

.card-img-contain {
  width: 75px;
  height: 75px;
  border-radius: 20px;
  object-fit: contain;
}

.profile-img {
  display: flex;
  align-items: center;
}

.profile-img img {
  border-radius: 50%;
  font-size: 10px;
}

.profile-img div {
  line-height: 19px;
  padding: 0px 0px 0px 5px;
  font-size: 16px;
}

.profile-img .date {
  color: #6c757d;
}

.profile-img img {
  width: 35px;
  height: 35px;
  object-fit: cover;
}

.card-profile {
  display: flex;
  align-items: center;
}

.card-profile img {
  border-radius: 50%;
  font-size: 10px;
  width: 30px;
  height: 30px;
}

.card-profile .profile-right {
  line-height: 15px;
  padding: 0px 0px 0px 5px;
  font-size: 16px;
}

.card-profile .profile-right .name {
  font-size: 12.5px;
}

.card-profile .date {
  color: #6c757d;
  font-size: 11.5px;
}

.card-profile img {
  width: 35px;
  height: 35px;
  object-fit: cover;
}

.card-body {
  padding: 20px 0 0 0;
  font-size: 17px;
}

.card-text {
  line-height: 1.8;
  text-decoration: none;
}

/* タグ */
.tags .badge {
  background: rgba(0, 0, 0, 0.05);
  font-weight: 1;
  padding: 8px 15px;
}

.tags {
  font-size: 25px;
}

.tags a.badge {
  color: #000;
}

.tags a.badge .fa-tag {
  margin-right: 3px;
}

.tags a.badge:hover {
  text-decoration: none;
}

/* 詳細ページ */
.content-page a {
  color: #169f6b;
}

.content-page a:hover {
  text-decoration: underline;
}

.content-page h1 {
  padding: 0px 0px 25px 0px;
  margin: 0px 0px 25px 0px;
  border-bottom: solid 1px #eee;
}

.content-page .content {
  word-break: break-all;
}

.content-page .content pre code {
  word-wrap: normal;
  font-family:  'Source Code Pro', monospace;
}

.content-page .content img {
  max-width: 100%;
}

.content-page .top {
  display: flex;
  justify-content: space-between;
}

.content-page .article-content > :not(div.highlight) {
  line-height: 2.1;
}

.content-page .article-content {
  font-size: 17px;
}

.content-page .article-content table td {
  border: solid 1px #dfe2e5;
}

.content-page .article-content tr:nth-child(2n) {
  background: #f6f8fa;
}

.content-page .article-content table th {
  border: solid 1px #dfe2e5;
  background: #f7fbfd;
  color: #000;
}

.content-page .media {
  border: solid 1px rgb(225, 232, 237);
  border-radius: 5px;
  transition: all 0.2s;
  padding: 0.8em 0.6em;
  margin-bottom: 20px;
}

.content-page .media:hover {
  border: solid 1px #ddd;
  background: #f7f7f7;
}

.content-page .media img {
  border-radius: 5px;
  width: 100px;
  object-fit: cover;
}

.content-page .media-body {
  line-height: 18px;
}

.content-page .media-body p {
  margin-top: 10px;
}

.content-page .media a {
  font-size: 15px;
}

.content-page .media p {
  font-size: 11px;
}

.content-page {
  padding-top: 20px;
  padding-bottom: 30px;
  max-width: 750px;
  padding-left: 0;
  padding-right: 0;
}

.content-page .row {
  margin: 0;
}

.content-page .col {
  padding-left: 0;
  padding-right: 0;
}

.content-top {
  background: #f7fbfd;
  padding: 40px 40px 0px 40px;
  border-radius: 20px 20px 0px 0px;
  max-width: 100%;
  flex: 0 0 100%;
}

.content-bottom {
  background: #f7fbfd;
  padding: 0px 40px 40px 40px;
  border-radius: 0px 0px 20px 20px;
  max-width: 100%;flex: 0 0 100%;
}

article {
  box-shadow: -3rem 2rem 8rem rgba(78,134,165,.09), 
  1rem 1rem 4rem rgba(78,134,165,.09), 
  inset 4rem 4rem 10rem rgba(78,134,165,.05)
}

/* 関連記事 */
.related-content {
  padding: 40px 0px 40px 0px;
}

.related-content .title {
  text-align: center;
  color: #169f6b;
  margin-bottom: 30px;
}

.related-content {
  padding: 50px 0px 0px 0px;
}

.related-content .article-card:not(:last-child) {
  margin: 0px 0px 30px 0px;
}

.related-content .article-card {
  width: 100%;
}

/* タグ別記事 */
.list h3 {
  text-align: center;
  font-size: 50px;
  margin: 0;
}

.list h3:after {
  content: "";
  display: block;
  position: relative;
  width: 60px;
  height: 3px;
  margin: 5px 0 24px;
  background: #169f6b;
  margin: 10px auto;
}

.tag-name {
  text-transform: uppercase;
}

/* author */
.author-top {
  background: #232323;
  margin-top: -43px;
}

.author-top img.author-img {
  width: 100px;
}

.author-top a {
  color: #fff;
}

.author-top .accounts a {
  margin: 0px 7px;
  font-size: 30px;
}

.author-top a:hover {
  text-decoration: none;
  color: #169f6b;
}

/* 目次 */
.toc {
  padding: 10px 15px 10px 0px;
  border-radius: 5px;
  background: #F1F3F6;
}

.toc a {
  color: #808286;
  font-size: 15px;
}

.toc a:hover {
  text-decoration: underline;
}

.toc ul {
  list-style: none;
  padding-left: 15px;
  margin: 0;
}

.pattern0 {
  fill: #42afe3;
}

/* シェアボタン */
.lh-30 {
  line-height: 30px;
}

.share .button {
  color: #000;
  transition: all 0.2s;
  display: flex;
  width: 40px;
  height: 40px;
  background: #eee;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  margin-left: 7px;
}

/* レスポンシブ */

@media (min-width: 768px) {
  .articles {
      display: flex!important;
  }
}

@media (max-width: 768px) {
  .article-card {
      width: 100%;
  }
  .homepage {
      width: 100%;
      padding: 25px;
  }
  .article-card:not(:last-child) {
      margin: 0px 0px 30px 0px;
  }
}

@media (max-width: 768px) {
  article {
    box-shadow: none;
  }
  
  figure.highlight {
    margin-left: -20px;
    margin-right: -20px;
  }

  .content-top {
    padding: 40px 20px 0px 20px;
  }

  .content-bottom {
    padding: 0px 20px 40px 20px;
  }

  .related-content {
    padding: 25px;
  }
}
