@charset "UTF-8";
/**
 * 投稿ページ用スタイル（single,pageのみで読み込み）
 */

.article-container {
  padding: 0 var(--inline-padding-base);
  max-width: 800px;
  margin: 0 auto;
}

.article-header {
  padding-bottom: var(--block-padding-base);
}

.article-header.static-page-header {
  padding-top: var(--block-padding-base);
}

.article-header .featured-image {
  display: flex;
  justify-content: center;
  width: 100%;
  height: auto;
  max-height: 500px;
  background-color: var(--sub-color-op2);
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
  z-index: 0;
  overflow: hidden;
}

.article-header .featured-image::before {
  content: '';
  position: absolute;
  top: -10px;
  bottom: -10px;
  left: -10px;
  right: -10px;
  background: inherit;
  filter: blur(10px);
  z-index: -1;
}

.article-header .featured-image img {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: contain;
  z-index: 2;
}

.article-header .promotion-note {
  padding: 12px 0;
  font-size: 12px;
  line-height: 2;
  color: #888;
}

.article-header .article-title {
  font-size: var(--title-size);
  line-height: 1.4;
  color: var(--title-color);
}

.article-header .article-time {
  padding: 8px 0;
  display: flex;
  gap: 8px;
  font-size: 13px;
  line-height: 2;
  color: #888;
}

.article-body {
  padding-bottom: var(--block-padding-base);
  font-size: 16px;
}

.article-content>h2 {
  line-height: 1.4;
  scroll-margin-top: calc(var(--header-height) + 8px);
  margin-bottom: 1.5em;
}

.article-content>h3 {
  line-height: 1.4;
  scroll-margin-top: calc(var(--header-height) + 8px);
  margin-bottom: 1.5em;
}

.article-content>p {
  margin-bottom: 1.8em;
}

.article-content>p a {
  text-decoration: underline;
}

.article-content>ul,
.article-content>ol {
  margin-bottom: 1.5em;
  padding-left: 1em;
  font-size: 90%;
}

.article-content>div {
  margin-bottom: 1.5em;
  font-size: 90%;
}

.article-content>figure {
  margin-bottom: 1.8em
}

.article-content figcaption {
  font-size: 13px;
  color: #888
}

.article-content table {
  font-size: 85%;
  line-height: 1.4;
}

.article-content iframe {
  width: 100% !important
}

.article-content small {
  display: inline-block;
  line-height: 1.5;
}

.article-footer {
  background: none;
  padding: 0 0 var(--block-padding-base);
}

.article-footer-meta {
  padding: 24px 0;
  border-top: solid 1px var(--shadow-color);
}

.article-footer-meta .article-category {
  margin-bottom: 16px;
}

.article-footer-meta .article-category ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.article-footer-meta .article-category a {
  display: inline-block;
  padding: 2px 12px;
  background: var(--main-color);
  color: #fff;
  font-size: 15px;
  font-weight: bold;
}

.article-footer-meta .article-tag ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.article-footer-meta .article-tag a {
  display: inline-block;
  padding: 2px 12px;
  background: var(--bg-color);
  color: #666;
  font-size: 13px;
}

.article-footer-meta .article-tag a::before {
  content: "#";
}


.article-author {
  padding: 24px 16px;
  background-color: var(--bg-color);
  display: flex;
  gap: 16px;
  margin-top: 24px;
  position: relative;
}

.article-author::before {
  content: 'この記事の執筆者';
  position: absolute;
  top: -12px;
  left: 16px;
  display: inline-block;
  background-color: var(--sub-color);
  color: #fff;
  font-size: 12px;
  font-weight: bold;
  line-height: 24px;
  padding: 0 8px;
}

.article-author .article-author-avatar {
  flex: 0 0 auto;
  width: 80px;
}

.article-author .article-author-avatar a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.article-author .article-author-avatar img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 50%
}

.article-author .article-author-name {
  font-size: 12px;
  font-weight: bold;
  line-height: 1.3;
  text-align: center;
}

.article-author .article-author-profile {
  flex: 1 1 auto;
}

.article-author .article-author-profile p {
  font-size: 14px;
  line-height: 1.5
}

.article-author .article-author-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 16px;
}

.article-author .article-author-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}

.article-author .article-author-link-icon {
  display: block;
  width: 24px;
  height: 24px;
  line-height: 24px;
  background-position: center center;
  background-size: contain;
  background-repeat: no-repeat;
}

.article-author .article-author-link-icon.site::before {
  content: '\e88a';
  font-family: Material Icons;
  font-size: 24px;
  color: var(--main-color);
}

.article-author .article-author-link-icon.twitter {
  background-image: url('../images/icons/x.svg');
}

.article-author .article-author-link-icon.facebook {
  background-image: url('../images/icons/facebook.svg');
}

.article-author .article-author-link-icon.instagram {
  background-image: url('../images/icons/instagram.svg');
}

.article-author .article-author-link-icon.youtube {
  background-image: url('../images/icons/youtube.svg');
}

.article-author .article-author-link-icon.line {
  background-image: url('../images/icons/line.svg');
}


@media screen and (min-width: 768px) {
  .article-author {
    gap: 24px;
  }

  .article-author .article-author-avatar {
    width: 120px
  }

  .article-author .article-author-name {
    font-size: 13px
  }
}

.related-posts {
  padding: var(--block-padding-base) 0;
}

.related-posts-header {
  display: flex;
  flex-direction: column;
  padding-bottom: var(--inline-padding-base);
}

.related-posts-header .related-posts-title {
  font-size: 24px;
  font-weight: bold;
  line-height: 1.4;
}

.related-posts-header .related-posts-subtitle {
  font-size: 15px;
  line-height: 1.4;
}

.related-post-list .post-list-item {
  width: 100%;
}

.related-post-list .post-list-item a article {
  flex-direction: row;
}

.related-post-list .post-list-item-thumbnail {
  width: 152px;
}

.related-post-list .post-list-item-title {
  font-size: 15px;
}

.related-post-list .post-list-item-time {
  display: none;
}

@media screen and (min-width: 768px) {
  .related-post-list .post-list-item {
    width: calc((100% - var(--inline-padding-base) * 2) / 3);
  }

  .related-post-list .post-list-item a article {
    flex-direction: column;
  }

  .related-post-list .post-list-item-thumbnail {
    width: 100%;
  }

}

.sidebar {
  padding-bottom: var(--block-padding-base);
  border-top: solid 1px var(--shadow-color);
  max-width: 100%;
}

.sidebar-section {
  padding: var(--block-padding-base) 0;
}

.sidebar-section-header {
  display: flex;
  flex-direction: column;
  padding-bottom: var(--inline-padding-base);
}

.sidebar-section-header .sidebar-section-content-title {
  font-size: 24px;
  font-weight: bold;
  line-height: 1.4;
}

.sidebar-section-header .sidebar-section-content-subtitle {
  font-size: 15px;
  line-height: 1.4;
}

.sidebar-section-content .post-list-item {
  width: 100%;
}

.sidebar-section-content .post-list-item a article {
  flex-direction: row;
}

.sidebar-section-content .post-list-item-thumbnail {
  width: 152px;
}

.sidebar-section-content .post-list-item-meta {
  position: relative;
}

.sidebar-section-content .post-list-item-title {
  font-size: 15px;
}

.sidebar-section-content .post-list-item-time {
  position: absolute;
  bottom: 0;
  left: 0;
}

@media screen and (min-width: 768px) {
  .sidebar-section-content .post-list-item {
    width: 100%;
  }

  .sidebar-section-content .post-list-item-thumbnail {
    width: 200px;
  }

  .sidebar-section-content .post-list-item-title {
    font-size: 16px;
  }
}

@media screen and (min-width: 960px) {
  .sidebar {
    display: flex;
    flex-wrap: wrap;
    gap: var(--block-padding-base) var(--inline-padding-base);
  }

  .sidebar-section {
    width: calc((100% - var(--inline-padding-base)) / 2);
  }

  .sidebar-section-content .post-list {
    gap: 24px;
  }
}

.google-form form {
  display: flex;
  flex-direction: column;
}

.google-form br {
  display: none;
}

.google-form input,
.google-form textarea {
  margin-bottom: 1em;
  padding: 0 8px;
  font-size: 17px;
  border: solid 1px #ddd;
}

.google-form button {
  border: solid 1px var(--main-color);
  background-color: var(--main-color);
  color: #fff;
  font-size: 18px;
  letter-spacing: 0.05em;
  padding: 8px 0;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.google-form button:hover {
  opacity: 0.8;
}

/* THESONIC override */
#mkj {
  margin-top: 1em;
  border: solid 2px #eee
}

#mkj .mkj-title {
  border-bottom: none;
  text-align: center;
  padding: 16px
}

#mkj .mkj-openclose {
  top: 16px
}

#mkj .mkj-content {
  border-bottom: none
}

#mkj .mkj-content-in {
  background: 0 0;
  padding: 16px
}

#mkj .mkj-list {
  padding: 0
}

#mkj .mkj-list li {
  padding-left: 32px;
  position: relative;
  margin-bottom: 4px
}

#mkj .mkj-list li ol {
  padding-left: 0
}

#mkj .mkj-list li ol li {
  padding-left: 16px
}

#mkj .mkj-list a {
  font-size: 15px;
  font-weight: 700;
  padding: 0;
  color: #666
}

#mkj .mkj-content::after {
  content: none
}

#mkj .mkj-list>li:before {
  content: counter(num);
  background: var(--main-color);
  border-radius: 50%;
  color: #fff;
  position: absolute;
  top: 4px;
  left: 0;
  width: 24px;
  height: 24px;
  text-align: center;
  font-size: 14px;
  font-weight: 700
}

#mkj .mkj-list ol li:before {
  content: '';
  width: 5px;
  height: 5px;
  background: #666;
  top: 10px;
  left: 2px
}

#mkj .mkj-list ol li a {
  font-weight: 400;
  font-size: 13px
}

@media screen and (min-width: 1080px) {
  #mkj .mkj-content-in {
    padding: 24px
  }
}

.updatedate i::before {
  content: '\e5d5';
  font-family: Material Icons;
  vertical-align: bottom
}

.postdate i::before {
  content: '\e8b5';
  font-family: Material Icons;
  vertical-align: bottom
}

.readtime i::before {
  content: '\e54b';
  font-family: Material Icons;
  vertical-align: bottom
}
