@charset "UTF-8";
*, *::before, *::after {
  box-sizing: border-box;
}

div, header, footer, main, article, aside, nav, section {
  display: block;
  margin: 0;
  padding: 0;
}

img {
  border: 0;
}

p {
  margin: 1em 0 0 0;
  padding: 0;
}

body {
  font-family: "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  margin: 0;
  padding: 0;
  line-height: 1.75;
  overflow-y: scroll;
  color: #333;
}

a {
  color: #e70;
}
a:hover {
  color: #fb4;
}

.memo-article > a {
  color: #333;
}
.memo-article > a:hover {
  color: #fb4;
}

.center {
  text-align: center;
  margin: 1em 0;
}

.right {
  text-align: right;
  margin: 1em 0;
}

ul {
  list-style-type: disc;
  margin: 2em 0;
  padding: 0 0 0 2.5em;
}
@media screen and (max-width: 600px) {
  ul {
    padding-left: 1.5em;
  }
}

li > p {
  margin: 0;
}

.widelist {
  margin: 2em 0;
}
.widelist > ul > li {
  margin: 1.5em 0;
}

.bg-wallpaper {
  background: #f90 url("../common/bg.png");
  padding: 0 16px;
}

.bg-content {
  background-color: white;
  max-width: 1140px;
  min-height: 100vh;
  margin: 0 auto;
  padding: 0;
  border-top: solid 16px #444;
}

.content-frame {
  padding: 0 16px;
}

.single-frame {
  max-width: 900px;
  margin: 0 auto;
}

.column2-frame {
  display: flex;
}

.column2-main {
  min-width: 0;
  flex: 7 1 760px;
  align-self: flex-start;
}

.column2-margin {
  flex: 3 0 16px;
}

.column2-sidemenu {
  flex: 0 0 200px;
  align-self: flex-start;
}

.header-frame {
  padding: 8px 16px;
  display: flex;
  line-height: 1.2;
}

.header-title {
  flex: 1 1 auto;
  color: #aaa;
  font-size: 75%;
}

.img-title {
  max-width: 100%;
  height: auto;
}

.header-menu {
  flex: 0 0 auto;
  padding: 0 0 0 8px;
}

.footer-frame {
  text-align: center;
  margin: 0.5em 0;
}

.footer-menu {
  list-style-type: none;
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
  margin: 0;
  padding: 0 0;
  font-size: 85%;
  line-height: 1;
}
.footer-menu > li {
  margin: 0.5em 0;
  padding: 0 0.7em;
  border: solid #333;
  border-width: 0 1px;
}
.footer-menu > li + li {
  border-left-width: 0;
}
.footer-menu > li > a {
  color: #333;
  text-decoration: none;
}
.footer-menu > li > a:hover {
  color: #fb4;
}

.footer-copyright {
  margin: 0;
  padding: 1em;
  font-size: 60%;
  line-height: 1.4em;
  color: #aaa;
}

.categories-lev1 {
  list-style-type: none;
  padding: 0;
  margin: 0;
}
.categories-lev1 > .memo-category {
  margin: 0;
  padding: 0 0 16px 0;
}
.categories-lev1 > .memo-category > a {
  display: block;
  padding: 0.5em;
  border-radius: 8px;
  background-color: #444;
  line-height: 1;
  text-decoration: none;
  color: #fff;
  margin: 0;
  font-size: 120%;
}
.categories-lev1 > .memo-category > a:hover {
  background-color: #888;
}

.categories-lev2 {
  list-style-type: none;
  padding: 0;
  margin: 0;
}
.categories-lev2 > .memo-category {
  margin: 0;
  padding: 0;
}
.categories-lev2 > .memo-category > a {
  display: block;
  padding: 0.5em;
  border-radius: 8px;
  border: solid #888 1px;
  line-height: 1;
  text-decoration: none;
  color: #333;
  margin: 8px 8px 0 8px;
  font-size: 90%;
}
.categories-lev2 > .memo-category > a:hover {
  color: #fb4;
  border-color: #fb4;
}

.icon-list {
  list-style-type: none;
  display: flex;
  margin: 0;
  padding: 0;
}
.icon-list > li {
  margin: 0;
  padding: 0;
}

.flex-right {
  flex: 1 0;
  text-align: right;
}

.img-icon-button:hover {
  cursor: pointer;
  opacity: 0.6;
}

.main-frame {
  border: solid 4px #f90;
  border-radius: 32px;
}

.sidemenu-frame {
  word-break: break-all;
}

#mobilemenu-switch {
  display: none;
}

#mobilemenu-open {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  z-index: 1000;
}

#mobilemenu-switch:checked ~ #mobilemenu-open {
  display: block;
}

.mobilemenu-mask {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5019607843);
}

.mobilemenu {
  position: fixed;
  top: 0;
  right: 0;
  width: 232px;
  height: 100%;
  overflow-y: auto;
  overscroll-behavior-y: none;
}
.mobilemenu > nav {
  list-style-type: none;
  margin: 0;
  padding: 16px 16px 4px 12px;
  background-color: white;
  border: solid #f90;
  border-width: 0 0 4px 4px;
  border-bottom-left-radius: 32px;
}
.mobilemenu > nav > .icon-list {
  padding-bottom: 8px;
}

.for-sidemenu {
  display: block;
}

.for-mobilemenu {
  display: none;
}

@media screen and (max-width: 1000px) {
  body {
    font-size: 90%;
    line-height: 1.85;
  }
  .column2-sidemenu {
    flex: 0 0 165px;
  }
}
@media screen and (max-width: 850px) {
  .for-sidemenu {
    display: none;
  }
  .for-mobilemenu {
    display: block;
  }
}
@media screen and (max-width: 600px) {
  .content-frame {
    padding: 0 6px;
  }
  .bg-wallpaper {
    padding: 0 4px;
  }
  .header-frame {
    padding: 8px 0;
  }
  .main-frame {
    border-width: 4px 0;
    border-radius: 0;
    padding: 0;
  }
  .footer-menu {
    flex-flow: column wrap;
  }
  .footer-menu > li {
    border: none;
    margin: 0.8em 0;
  }
  .categories-lev1 > .memo-category > a,
  .categories-lev2 > .memo-category > a {
    padding-top: 0.65em;
    padding-bottom: 0.65em;
  }
}
h1 {
  clear: both;
  position: relative;
  margin: 0.3em 0 0.3em 1.3em;
  border-bottom: solid 4px #444;
  line-height: 1.1;
  font-size: 2.2em;
  font-weight: normal;
}
h1:before {
  content: "";
  position: absolute;
  top: 0;
  left: -1.3em;
  width: 1.2em;
  height: 1.2em;
  border-radius: 0.65em;
  background-color: #444;
}

h2 {
  margin: 4em 0 1.5em 0;
  border-bottom: solid 4px #444;
  line-height: 1.4;
  font-size: 130%;
  font-weight: bold;
}

.topic-list {
  margin: 3em 0 3em 1.5em;
}
.topic-list > h3 {
  margin: 3em 0 1em -1.5em;
  padding: 0.1em 0 0 0.4em;
  border-left: solid #f90 0.7em;
  line-height: 1.1;
  font-size: 100%;
  font-weight: bold;
}
.topic-list > p {
  margin: 0.5em 0 0 0;
}

em {
  background-color: #f0f0f8;
  border: solid 1px #ccd;
  padding: 0 0.5em;
  margin: 0;
  border-radius: 0.2em;
  font-style: normal;
}

strong {
  font-weight: bold;
  font-style: normal;
  color: #e44;
}

.shout {
  margin: 1em 0;
  text-align: center;
  font-weight: bold;
  font-size: 160%;
  ling-height: 1.1;
  color: #e44;
}

ol {
  margin: 2em 0;
  padding: 0 0 0 1em;
  list-style: none;
  counter-reset: count;
}
ol > li {
  position: relative;
  margin: 1em 0 0 0;
  padding: 0 0 0 2em;
}
ol > li:before {
  counter-increment: count;
  content: counter(count) ".";
  position: absolute;
  left: 0;
  top: -0.1em;
  font-size: 110%;
  font-weight: bold;
  color: #f90;
}

@media screen and (max-width: 600px) {
  ol {
    padding-left: 0;
  }
  ol > li {
    padding-left: 1.7em;
  }
}
.continue {
  counter-reset: none;
}

.table {
  margin: 2em 1em;
  overflow-x: auto;
}

table {
  margin: 0;
  padding: 0;
  border-collapse: collapse;
  border-spacing: 3px;
  border: none;
  line-height: 1.5;
}

th, td {
  margin: 0;
  padding: 0.4em;
  border: solid 1px #fc8;
  background-color: #fc8;
  text-align: left;
  white-space: nowrap;
  font-size: 90%;
}

td {
  background-color: #fff8ec;
}

code {
  font-family: Consolas, Menlo, Monaco, Courier, "Courier New", monospace;
  font-size: 100%;
}

kbd {
  background-color: #fff8ec;
  border: dashed 1px #fc8;
  border-radius: 4px;
  font-family: Consolas, Menlo, Monaco, Courier, "Courier New", monospace;
  font-size: 100%;
  padding: 0.1em 0.4em;
  margin: 0px 0.2em;
}

.path {
  background-color: #fff8ec;
  border: dashed 1px #fc8;
  border-radius: 4px;
  font-family: Consolas, Menlo, Monaco, Courier, "Courier New", monospace;
  margin: 1em 0;
  padding: 0.5em;
  line-height: 1.2;
  font-size: 95%;
  word-break: break-all;
}
.path > p {
  margin: 0;
}

pre {
  background-color: #fff8ec;
  border: dashed 1px #fc8;
  border-radius: 4px;
  font-family: Consolas, Menlo, Monaco, Courier, "Courier New", monospace;
  margin: 1em 0;
  padding: 0.5em;
}
pre > code {
  display: block;
  width: 100%;
  overflow: auto;
  padding: 0;
  margin: 0;
  line-height: 1.2;
  font-size: 95%;
}

pre[name] {
  padding: 1.7em 0.5em 0.5em 0.5em;
  position: relative;
}
pre[name]:before {
  content: attr(name);
  position: absolute;
  top: 0.2em;
  left: 0.2em;
  min-width: 5em;
  max-width: 99%;
  overflow: hidden;
  padding: 0.1em 0.5em;
  background-color: white;
  border: solid 1px #fc8;
  border-radius: 4px;
  font-size: 80%;
  line-height: 1;
  text-align: center;
  color: #f90;
}

.code-comment {
  color: #9b7;
}

.image {
  margin: 2em 0 2em 0;
  text-align: center;
}
.image img {
  max-width: 480px;
  max-height: 480px;
}

.topic-box {
  padding: 16px;
  border: solid 1px #888;
  border-radius: 16px;
  margin: 2em 0;
}
.topic-box > h3 {
  margin: 0.5em 0;
  line-height: 1.2;
  font-size: 130%;
  font-weight: bold;
  border-bottom: solid 1px #444;
}

.refer {
  position: relative;
  margin: 2em 0 3em 0;
  padding: 1em 0 0 0;
}
.refer:before {
  content: "参考サイト";
  position: absolute;
  top: 0;
  left: 0;
  padding: 0.2em 0.5em;
  background-color: #444;
  border-radius: 4px;
  font-size: 80%;
  line-height: 1;
  color: #fff;
}
.refer > ul {
  font-size: 90%;
  margin: 1em 0;
}

.target {
  position: relative;
  max-width: 640px;
  margin: 2em auto;
  padding: 2.5em 0.5em 1em 0.5em;
  background-color: #fc8;
  border-radius: 24px;
}
.target:before {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  margin: auto;
  padding: 0.3em 2em;
  content: "やりたいこと";
  color: white;
  font-size: 120%;
  font-weight: bold;
  line-height: 2em;
  letter-spacing: 0.5em;
  text-align: center;
}
.target > ul {
  margin: 1em 0;
}
.target > .image {
  margin: 1em 0;
}

.note {
  display: inline-block;
  position: relative;
  margin: 0.2em 0 0 2em;
  padding: 0.3em 1em;
  font-size: 80%;
  line-height: 1.5;
  background-color: #f0f0f0;
  border-radius: 8px;
}
.note:before {
  content: "";
  position: absolute;
  top: -1.2em;
  left: 12px;
  border: 0.6em solid transparent;
  border-bottom: 1em solid #f0f0f0;
}
.note > p {
  margin: 0;
}

@media screen and (max-width: 600px) {
  h1 {
    margin-left: 0;
    font-size: 2em;
  }
  h1:before {
    content: none;
  }
  .table {
    margin-left: 0;
    margin-right: 0;
  }
  .target,
  .topic-box {
    padding-left: 6px;
    padding-right: 6px;
  }
  .topic-list {
    margin-left: 0.7em;
  }
  .topic-list > h3 {
    margin-left: -0.7em;
  }
  .refer > ul {
    line-height: 1.5;
  }
  .refer > ul > li + li {
    padding-top: 1em;
  }
  .image img {
    max-width: 100%;
    height: auto;
  }
}
.category-list {
  margin: 0;
  padding: 0 0 0 1.5em;
}
.category-list > .memo-category {
  list-style-type: none;
  margin: 2.5em 0 0 0;
}
.category-list > .memo-category:first-child {
  margin: 0.5em 0 0 0;
}
.category-list > .memo-category > a {
  display: inline-block;
  padding: 0.5em;
  border-radius: 8px;
  background-color: #444;
  line-height: 1;
  text-decoration: none;
  color: #fff;
  margin: 0 0 0.5em -1.2em;
  padding: 0.4em 1em;
  min-width: 12em;
}
.category-list > .memo-category > a:hover {
  background-color: #888;
}

@media screen and (max-width: 600px) {
  .category-list {
    padding-left: 1em;
    line-height: 1.5;
  }
  .category-list > .memo-article {
    padding-top: 0.6em;
    padding-bottom: 0.6em;
  }
  .category-list > .memo-category > a {
    padding-top: 0.65em;
    padding-bottom: 0.65em;
  }
}
.newslist {
  list-style-type: none;
  margin: 1em 0;
  padding: 0 0 0 1em;
}
.newslist > .memo-article {
  line-height: 1.5;
  margin: 0.7em 0;
}
.newslist > .memo-article > .date {
  font-size: 0.8em;
}

.memo-new:before {
  content: "New";
  display: inline-block;
  width: 5em;
  margin: 0 0.5em 0 0;
  border-radius: 4px;
  background-color: #f56;
  line-height: 1.1;
  text-align: center;
  font-size: 0.8em;
  color: white;
}

.memo-update:before {
  content: "Update";
  display: inline-block;
  width: 5em;
  margin: 0 0.5em 0 0;
  border-radius: 4px;
  background-color: #888;
  line-height: 1.1;
  text-align: center;
  font-size: 0.8em;
  color: white;
}

.article-main {
  margin: 3em 36px 5em 36px;
}
.article-main > h2 {
  margin: 5em -20px 1.5em -20px;
}

.article-header {
  margin: 16px;
  padding: 0;
}

.category-chain {
  color: #333;
  font-size: 90%;
}
.category-chain a {
  color: #333;
}
.category-chain a:hover {
  color: #fb4;
}

.article-date {
  font-size: 80%;
  line-height: 1.1;
  text-align: right;
}

.article-footer {
  padding: 16px;
  background-color: #f0f0f0;
  border-radius: 16px;
  margin: 16px;
}

.article-tags {
  font-size: 90%;
}
.article-tags a {
  color: #333;
}
.article-tags a:hover {
  color: #fb4;
}

.article-relations > ul {
  position: relative;
  margin: 0.5em 0 0 0;
  padding-top: 1.5em;
}
.article-relations > ul:before {
  content: "関連記事";
  position: absolute;
  top: 0;
  left: 0;
  padding: 0.2em 0.5em;
  background-color: #444;
  border-radius: 4px;
  font-size: 80%;
  line-height: 1;
  color: #fff;
}

@media screen and (max-width: 600px) {
  .article-main,
  .article-header,
  .article-footer {
    margin-left: 6px;
    margin-right: 6px;
  }
  .article-main > h2 {
    margin-left: 0;
    margin-right: 0;
  }
  .article-relations > ul {
    line-height: 1.5;
  }
  .article-relations > ul > li + li {
    padding-top: 1em;
  }
}
