.mainvisual {
  background-position: 50% 10%;
}
@media only screen and (max-width: 767px) {
  .mainvisual {
    height: 33.8983050847vw;
    background-position: 50% 20%;
  }
}
@media only screen and (min-width: 768px) {
  div .mainvisual {
    min-height: 100px;
  }
}

/* layout */
.article-container {
  display: flex;
}

@media only screen and (max-width: 767px) {
  .article-container {
    flex-direction: column;
    row-gap: 4vw;
    margin: 4vw 1vw;
  }
}

@media only screen and (min-width: 768px) {
  .article-container {
    flex-direction: row;
    column-gap: 1.17vw;
    margin: 1.95vw 0;
    align-items: stretch;
  }
}

@media only screen and (min-width: 1601px) {
  .article-container {
    column-gap: 18.75px;
    margin: 31.25px 0;
  }
}

.article-container article {
  flex-grow: 1;
}

/* sidebar */
.article-sidebar-body ul li a {
  color: #fff;
  transition: color 0.3s;
}

.article-sidebar-body ul li a:hover {
  color: #9d33ff;
}

.article-sidebar-title {
  font-size: 3.5vw;
  margin: 1em 0;
}

.article-sidebar-body ul li {
  font-size: 3.5vw;
  margin: 1em 0 1em 1em;
}

.article-sidebar:first-child:before {
  display: block;
  content: " ";
  background-color: #555555;
  height: 0.1vw;
}

.article-sidebar::after {
  display: block;
  content: " ";
  background-color: #555555;
  height: 0.1vw;
}

.article-sidebar details[open] .collapse-button {
  transform: rotate(180deg);
  transform-origin: center;
}

.article-sidebar details summary {
  list-style: none;
}

.article-sidebar summary::-webkit-details-marker {
	display: none;
}

.collapse-button {
  transition: 0.3s;
  float: right;
  width: 5vw;
  height: 5vw;
}

.collapse-button img {
  filter: invert(100%) sepia(0%) saturate(0%) hue-rotate(65deg) brightness(100%) contrast(103%);
}

.article-sidebar-morelink {
  overflow: hidden;
  border-bottom: 1px solid #9d33ff;
  color: #9d33ff;
  transition: border-bottom 0.3s;
  font-size: 3.5vw;
  margin: 1em 0 1em 1em;
}

.article-sidebar-morelink:hover {
  border-bottom: 1px solid transparent;
}

@media only screen and (max-width: 767px) {
  .article-sidebar-container {
    margin: 0 1em;
  }
}

@media only screen and (min-width: 768px) {
  .article-sidebar-container {
    width: 14.4vw;
    flex-shrink: 0;
  }

  .article-sidebar-title {
    font-size: 1.05vw;
    margin: 0.5em 0;
  }

  .article-sidebar:first-child:before {
    display: none;
  }

  .article-sidebar::after {
    display: none;
  }

  .article-sidebar-sticky {
    position: sticky;
    top: 70px;
  }

  .article-sidebar-body-scroll {
    max-height: calc(100vh - 250px);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #9d33ff transparent;
  }

  .article-sidebar-body ul li {
    font-size: 0.84vw;
  }

  .article-sidebar-morelink {
    font-size: 0.84vw;
  }

  .collapse-button {
    width: 1.5vw;
    height: 1.5vw;
  }
}

@media only screen and (min-width: 1601px) {
  .article-sidebar-container {
    width: 230.4px;
  }

  .article-sidebar-title {
    font-size: 16.8px;
  }

  .article-sidebar-body ul li {
    font-size: 13.44px;
  }

  .article-sidebar-morelink {
    font-size: 13.44px;
  }

  .collapse-button {
    width: 24px;
    height: 24px;
  }
}

/* head navigation */
.head-nav {
  margin: 1em 1em 0 1em;
  font-size: 3.2vw;
}

.head-nav ol {
  display: flex;
  flex-direction: column;
  line-height: 2;
}

.head-nav ol li + li::before {
  content: ">";
  margin: 0 1em 0 0;
}

.head-nav ol li a {
  color: #fff;
  transition: color 0.3s;
}

.head-nav ol li a:hover {
  color: #9d33ff;
}

@media only screen and (min-width: 768px) {
  .head-nav {
    margin: 1.4em auto 0.46em auto;
    font-size: 0.84vw;
    padding: 0 50px;
  }

  .head-nav ol {
    display: flex;
    flex-direction: row;
    line-height: 1;
  }

  .head-nav ol li + li::before {
    margin: 0 1em;
  }
}

@media only screen and (min-width: 1601px) {
  .head-nav {
    margin: 18.75px auto 6.25px auto;
    width: 1600px;
    font-size: 13.44px;
  }

  .head-nav ol li + li::before {
    margin: 0 1em;
  }
}

/* article-header */
.article-header {
  line-height: 1.5;
}

.article-header .article-title {
  font-size: 6.0vw;
  margin-bottom: 0.7em;
}

.article-header .article-author {
  font-size: 3vw;
  color: #AAAAAA
}

.article-header .article-created-date {
  font-size: 3vw;
  color: #999999;
}

.article-header .article-updated-date {
  font-size: 3vw;
  color: #999999;
}

@media only screen and (min-width: 768px) {
  .article-header .article-title {
    font-size: 2.4vw;
    margin-bottom: 0.7em;
  }

  .article-header .article-author {
    font-size: 0.96vw;
  }

  .article-header .article-created-date {
    font-size: 0.84vw;
  }

  .article-header .article-updated-date {
    margin-left: 0.5em;
    font-size: 0.84vw;
  }
}

@media only screen and (min-width: 1601px) {
  .article-header .article-title {
    font-size: 38.4px;
  }

  .article-header .article-author {
    font-size: 15.36px;
  }

  .article-header .article-created-date {
    font-size: 13.44px;
  }

  .article-header .article-updated-date {
    font-size: 13.44px;
  }
}

/* article text */
.article-text {
  font-size: 3.5vw;
  line-height: 1.5;
  min-width: 0%;
  white-space: pre-wrap;
}

.article-text p {
  margin: 1em 0.25em;
}

.article-text h4 {
  font-size: 3.6vw;
  margin: 1em 0;
}

.article-text h3 {
  font-size: 3.9vw;
  margin: 1em 0;
}

.article-text h2 {
  font-size: 4.2vw;
  margin: 1em 0;
}

.article-text h1 {
  font-size: 4.5vw;
  margin: 1em 0;
}

.article-text .article-image {
  margin: 1em 0;
}

.article-text .article-image .gatsby-image-wrapper picture img {
  background-color: #888888;
}

.article-text table {
  border-collapse: collapse;
  border: solid 1px #ddd;
  max-width: 100%;
  table-layout: fixed;
  word-break: break-all;
  margin: 1em 0;
}

.article-text table td {
  border: solid 1px #ddd;
  padding: 0.3em;
  vertical-align: middle;
}

.article-text blockquote {
  margin-left: 1em;
  padding: 0 1em;
  border-left: 1px solid #ddd;
}

.article-text pre {
  border: solid 1px #ddd;
  background-color: #222222;
  max-width: 100%;
  display: inline-block;
  overflow-x: auto;
  padding: 0.3em;
}

.article-text code {
  font-family: Menlo, Consolas, Monaco, monospace;
}

.article-text .article-text-style-bold {
  font-weight: bold;
}

.article-text .article-text-style-italic {
  font-style: italic;
}

.article-text .article-text-style-strikethrough {
  text-decoration: line-through;
}

@media only screen and (min-width: 768px) {
  .article-text {
    font-size: 1.05vw;
  }

  .article-text h4 {
    font-size: 1.2vw;
  }
  
  .article-text h3 {
    font-size: 1.44vw;
  }
  
  .article-text h2 {
    font-size: 1.68vw;
  }
  
  .article-text h1 {
    font-size: 1.92vw;
  }
}

@media only screen and (min-width: 1601px) {
  .article-text {
    font-size: 16.8px;
  }

  .article-text h4 {
    font-size: 19.2px;
  }
  
  .article-text h3 {
    font-size: 23.04px;
  }
  
  .article-text h2 {
    font-size: 26.88px;
  }
  
  .article-text h1 {
    font-size: 30.72px;
  }
}

.article-text a {
  overflow: hidden;
  text-decoration: underline 1px solid #9d33ff;
  text-underline-offset: 0.2em;
  color: #9d33ff;
  transition: text-decoration 0.3s;
}

.article-text a:hover {
  text-decoration: underline 1px solid transparent;
}

.article-text ul {
  margin-left: 1em;
}

.article-text ul li {
  list-style: disc;
  margin: 0.75em;
}

.article-text ul li p {
  margin: 0;
  display: inline;
}

.article-text ol {
  margin-left: 1em;
}

.article-text ol li {
  list-style-type: decimal;
  margin: 0.75em;
}

.article-text ol li p {
  margin: 0;
  display: inline;
}

/* article comments */
.article-comments {
  margin-top: 2em;
}

.article-comments .article-comments-header {
  padding: 2.5em 0;
}

.article-comments .article-comments-header .article-comments-label {
  font-size: 3.9vw;
}

.article-comments .article-comments-header .article-comments-label-no {
  font-size: 3.9vw;
  color: #888888;
}

.article-comments article::before {
  display: block;
  content: " ";
  background-color: #555555;
  height: 0.1vw;
  margin-bottom: 2.5em;
}

@media only screen and (min-width: 768px) {
  .article-comments .article-comments-header .article-comments-label {
    font-size: 1.44vw;
  }

  .article-comments .article-comments-header .article-comments-label-no {
    font-size: 1.44vw;
  }

  .article-comments article::before {
    height: 1px;
  }
}

@media only screen and (min-width: 1601px) {
  .article-comments .article-comments-header .article-comments-label {
    font-size: 23.04px;
  }

  .article-comments .article-comments-header .article-comments-label-no {
    font-size: 23.04px;
  }
}

/* article-list */
@media only screen and (min-width: 768px) {
  .article-list-width {
    max-width: 1000px;
  }
}

.article-list {
  margin: 2.5em 0
}

.article-list ul {
  margin-left: 0;
}

.article-list ul li {
  list-style-type: none;
}

.article-list ul li + li::before {
  display: block;
  content: " ";
  background-color: #555555;
  height: 0.1vw;
  margin-bottom: 1em;
}

@media only screen and (min-width: 768px) {
  .article-list ul li + li::before {
    height: 1px;
  }
}

.article-list-item {
  display: flex;
  flex-direction: row;
}

.article-list-date {
  font-size: 0.8em;
  margin: auto 0.7em;
  width: 10ch;
  flex-shrink: 0;
}

.article-list-pinned {
  display: flex;
  margin: auto 0.25em auto 0;
  justify-content: center;
}

.article-list-pinned img {
  height: 1.5em;
  width: 1.5em;
  filter: invert(25%) sepia(88%) saturate(3903%) hue-rotate(262deg) brightness(102%) contrast(103%);
}

@media only screen and (min-width: 768px) {
  .article-list-pinned img {
    height: 1em;
    width: 1em;
  }
}

.article-list-header {
  display: flex;
  justify-content: space-between;
}

.article-list-language-selector {
  margin: auto 0;
}

.article-list-language-selector span {
  font-size: 0.8em;
}

.article-list-language-selector select {
  appearance: auto;
  border: solid 1px #ddd;
  border-radius: 0.5em;
  min-width: 5ch;
  text-align: center;
  background-color: #222222;
  margin-left: 0.6em;
}

.article-list-language-selector select option {
  background-color: #222222;
}

/* forum-tag-list */
.forum-tag-list {
  margin: 5em auto;
}

.forum-tag-button {
  margin: 2em;
}

/* support-page */

.support-button {
  flex-wrap: wrap;
}

.support-split {
  display: block;
  content: " ";
  background-color: #555555;
  height: 0.1vw;
  margin: 2vw 0;
}

@media only screen and (min-width: 768px) {
  .support-split {
    height: 1px;
  }
}

.support-button a {
  margin: 1em;
}

.community-close-notice {
  line-height: 2;
}

@media only screen and (max-width: 767px) {
  .community-close-notice {
    margin: 0 2vw;
  }
}

.community-close-notice h1 {
  line-height: 2;
}

.community-close-notice h2 {
  line-height: 2;
}

.community-close-notice h3 {
  line-height: 2;
}
