@charset "UTF-8";

/* FONT設定 */

html, pre {
    font-family: 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', 'Noto Sans Japanese', 'Noto Sans CJK JP', 'Noto Sans', 'Source Han Sans J', SourceHanSansJP, '游ゴシック UI', 'Yu Gothic UI', 'メイリオ', Meiryo, sans-serif;
    font-size: 62.5%;
}
h1 {
    font-size: 1.8rem;
    font-weight: normal;
    line-height: 1.22;
}
section, p, li, pre {
    font-size: 1.3rem;
    line-height: 1.66;
}
pre {
    white-space: pre-wrap;
}
pre code {
    font-size: 1.4rem;
    line-height: 1.22;
}

a {
    color: #cc0000;
    text-decoration: underline;
}
a:visited {
    color: #aa0000;
}
a:hover {
    text-decoration: none;
}

.title {
    font-size: 4rem;
}
.title span {
    font-size: 1.3rem;
}

.qanda h1 {
    font-size: 1.6rem;
}

footer {
    text-align: center;
}

.hljs {
  display: block;
  overflow-x: auto;
  padding: 0.5em;
  background: #eaeef3;
  -webkit-text-size-adjust: none;
}

.hljs,
.hljs-list .hljs-built_in {
  color: #00193a;
}

.hljs-keyword,
.hljs-title,
.hljs-important,
.hljs-request,
.hljs-header,
.hljs-javadoctag {
  font-weight: bold;
}

.hljs-comment,
.hljs-chunk {
  color: #738191;
}

.hljs-string,
.hljs-title,
.hljs-parent,
.hljs-built_in,
.hljs-literal,
.hljs-filename,
.hljs-value,
.hljs-addition,
.hljs-tag,
.hljs-argument,
.hljs-link_label,
.hljs-blockquote,
.hljs-header,
.hljs-name {
  color: #0048ab;
}

.hljs-decorator,
.hljs-prompt,
.hljs-yardoctag,
.hljs-subst,
.hljs-symbol,
.hljs-doctype,
.hljs-regexp,
.hljs-preprocessor,
.hljs-pragma,
.hljs-pi,
.hljs-attribute,
.hljs-attr_selector,
.hljs-javadoc,
.hljs-xmlDocTag,
.hljs-deletion,
.hljs-shebang,
.hljs-string .hljs-variable,
.hljs-link_url,
.hljs-bullet,
.hljs-sqbracket,
.hljs-phony {
  color: #4c81c9;
}

    

/* レイアウト設定 */

body {
    max-width: 640px;
    margin: 0 auto;
    padding: 25px;
}
body > h1 {
    margin: 0;
}

section, footer {
    padding-top: 30px;
}
section h1 {
    border-bottom: 1px dotted #333;
    padding-bottom: 6px;
}
section p,
section ul,
section ol,
section pre,
section img {
    padding-top: 0.5em;
}
section li {
    margin: 0.66em 0;
}

section img {
    max-width: 100%;
    display: inline-block;
}

.qanda {
    margin: 20px 10px;
    padding: 10px 20px;
    background: #f6f6f6;
    border-radius: 4px;
}