@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&family=Zen+Kaku+Gothic+Antique:wght@400;500;700;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Zen+Kaku+Gothic+New:wght@400;500;700&display=swap');

h1, h2, p, h3, h4, span {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  color: #4c4c4c;
}

.wrapper,
.container {
  height: auto !important;
  overflow: visible !important;
}

.article-frame {
  margin-top: 50px;
}

.article-head .article-info {
    margin-bottom: .5rem;
  }
   
  .article-head .article-info .article-cat {
    display: inline-block;
    vertical-align: middle;
  }
   
  .article-head .article-info .article-cat a {
    font-size: .875rem;
    line-height: 1;
    display: inline-block;
    margin-right: .5rem;
    padding: .375rem .5rem;
    text-decoration: none;
    color: #fff;
    background-color: #03162f;
  }

  .article-img {
    aspect-ratio: 4 / 3;
    max-width: 600px;
    width: 80%;
    overflow: hidden;
  }
  
  .article-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
   
  .article-head .article-info .article-date {
    font-size: 1rem;
    display: inline-block;
    vertical-align: middle;
    color: #888;
  }
   
  .article-head .article-info .article-date i {
    font-size: 1.25rem;
    position: relative;
    top: .25rem;
  }
   
  .article-head h1 {
    font-weight: 700;
    font-size: 26px;
    margin: 0 0 2rem;
    letter-spacing: 1px;
  }
   
  .article-head .article-img {
    margin-bottom: 2rem;
  }
   
  .article-foot .article-tag {
    margin-bottom: 1rem;
    text-align: right;
  }
   
  .article-foot .article-tag ul {
    list-style: none;
  }
   
  .article-foot .article-tag ul li {
    font-size: .9rem;
    display: inline-block;
    margin-right: .5rem;
    vertical-align: middle;
  }
   
  .article-foot .article-tag ul li:last-child {
    margin-right: 0;
  }
   
  .article-foot .article-tag ul li a {
    line-height: 1;
    display: block;
    padding: .25rem .5rem;
    text-decoration: none;
    color: #000;
    border: 1px solid #000;
  }
   
  .article-foot .article-tag ul li a:hover {
    opacity: .6;
  }
   
  .article-foot .article-author {
    font-weight: 500;
    line-height: 1;
    text-align: right;
    vertical-align: middle;
  }
   
  .article-foot .article-author i {
    font-size: 1.25rem;
    position: relative;
    top: .25rem;
  }
   
  @media(max-width: 480px) {
    .article-head h1 {
      font-size: 1.75rem;
    }
  }


  .editor-content p code,
  .editor-content p img,
  .editor-content p iframe,
  .editor-content p object,
  .editor-content figure img,
  .editor-content figure iframe,
  .editor-content figure video,
  .editor-content figure audio,
  .editor-content pre code {
    margin-bottom: 0;
  }
   
  .editor-content th,
  .editor-content td {
    border-color: #ddd;
  }
   
  .editor-content p,
  .editor-content ul,
  .editor-content ol,
  .editor-content table,
  .editor-content dl,
  .editor-content blockquote,
  .editor-content pre,
  .editor-content code,
  .editor-content img,
  .editor-content picture img,
  .editor-content figure,
  .editor-content iframe,
  .editor-content object,
  .editor-content hr,
  .editor-content video,
  .editor-content audio {
    margin-bottom: 2.5em;
    letter-spacing: 1px;
  }
   
  .editor-content b,
  .editor-content strong {
    font-weight: bold;
  }
   
  .editor-content a {
    text-decoration: underline;
  }
   
  .editor-content ul:not([class]) {
    padding-left: 1.25em;
    list-style: disc;
  }
   
  .editor-content ol:not([class]) {
    padding-left: 1.875em;
    list-style: decimal;
  }
   
  .editor-content table {
    width: 100%;
  }
  .editor-content table thead {
    border: none;
  }
  .editor-content table th,
  .editor-content table td {
    box-sizing: border-box;
    padding: .625em;
    text-align: left;
    vertical-align: middle;
    border: 1px solid #ddd;
  }
  .editor-content img,
  .editor-content iframe,
  .editor-content object,
  .editor-content video,
  .editor-content audio {
    line-height: 1;
  }
  .editor-content figure {
    max-width: 100%;
  }
   
  .editor-content iframe,
  .editor-content object {
    width: 100%;
  }
   
  .editor-content blockquote {
    line-height: 1.5;
    position: relative;
    padding: 3.125em 1.875em .625em;
    color: #555;
    background-color: #f1f4f4;
  }
   
  .editor-content blockquote::before {
    font-family: "Material Symbols Outlined";
    font-size: 1.875em;
    font-weight: 900;
    position: absolute;
    top: .3125em;
    left: .9375em;
    content: "\e244";
    color: #ccc;
  }
   
  .editor-content blockquote p,
  .editor-content blockquote cite {
    margin-bottom: 1em;
  }
   
  .editor-content blockquote p cite {
    margin-bottom: 0;
  }
  .editor-content blockquote cite {
    font-size: .6125em;
    display: block;
    text-align: right;
  }
   
  .editor-content h2,
  .editor-content h3,
  .editor-content h4,
  .editor-content h5 {
    margin: 3rem 0 2rem;
    letter-spacing: 1px;
  }

    /*H2見出し*/
  .editor-content h2 {
    position: relative;
    padding: 0.5em;
    background: #a6d3c8;
    color: white;
    font-size: 23px;
}

.editor-content h2:before {
  position: absolute;
  content: '';
  top: 100%;
  left: 0;
  border: none;
  border-bottom: solid 15px transparent;
  border-right: solid 20px rgb(149, 158, 155);
}

  .editor-content h3 {
    padding: 0.25em 0.5em;/*上下 左右の余白*/
    color: #494949;/*文字色*/
    background: transparent;/*背景透明に*/
    border-left: solid 10px #a6d3c8;/*左線*/
    font-size: 23px;
  }
   
  .editor-content h4 {
    font-size: 1.25rem;
  }
   
  .editor-content h5 {
    font-size: 1.125rem;
  }
   

  .editor-content p {
    font-size: 16px;
    line-height: 30px;
  }

  /*サイドバー*/

/* 親コンテナにflex指定 */
.two-columns {
  display: flex;
  flex-wrap: nowrap;
}

/* メインコンテンツ */
.contents {
  flex: 3; /* 幅の比率 */
  padding-right: 20px;
  padding-left: 20px;
}

/* サイドバー */
#sidebar {
  flex: 1;
  max-width: 300px;
}

  @media (max-width: 480px) {
    .editor-content p,
    .editor-content ul,
    .editor-content ol,
    .editor-content table,
    .editor-content dl,
    .editor-content blockquote,
    .editor-content pre,
    .editor-content code,
    .editor-content img,
    .editor-content picture img,
    .editor-content figure,
    .editor-content iframe,
    .editor-content object,
    .editor-content hr,
    .editor-content video,
    .editor-content audio {
      margin-bottom: 1.5em;
    }
   
    .editor-content th,
    .editor-content td {
      padding: .625em;
    }
   
    .editor-content blockquote {
      padding: 2.5em 1.875em 1.875em;
    }
   
    .editor-content blockquote::before
    .editor-content blockquote::after {
      font-size: 1.25em;
    }
   
    .editor-content blockquote p,
    .editor-content blockquote cite {
      margin-bottom: .625em;
    }
   
    .editor-content h2,
    .editor-content h3,
    .editor-content h4,
    .editor-content h5 {
      margin: 2rem 0;
    }
   
    .editor-content h2 {
      font-size: 1.5rem;
    }
    .editor-content h3 {
      font-size: 1.375rem;
    }
    .editor-content h4 {
      font-size: 1.25rem;
    }
    .editor-content h5 {
      font-size: 1rem;
    }
    .editor-content h6 {
      font-size: .9375rem;
    }
  }
   
   
  @media (max-width: 332px) {
    .editor-content h2 {
      font-size: 1.25rem;
    }
    .editor-content h3 {
      font-size: 1.125rem;
    }
    .editor-content h4 {
      font-size: 1rem;
    }
    .editor-content h5 {
      font-size: .9375rem;
    }
    .editor-content h6 {
      font-size: .875rem;
    }
  }


/*-------------------------------------------
sidebar.phpの設定
-------------------------------------------*/
#sidebar {
  width: 33%;
  padding: 20px;
}

aside, .sidebar {
  flex: 0 0 30%;
  margin-left: 20px;
  margin-right: 20px;
}

#sidebar .side-title {
  font-size: 1.125rem;
  font-weight: bold;
  margin-bottom: 30px;
}
.author {
  text-align: center;
  margin-bottom: 60px;
}
.author img {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  margin-bottom: 30px;
}
.author .profile {
  font-size: 0.875rem;
  text-align: left;
}
.archive {
  text-align: center;
  margin-bottom: 60px;
}
.archive ul {
  border-top: solid  1px #777;
  border-bottom: solid  1px #777;
  list-style: none;
}
.archive li {
  font-size: 0.875rem;
  padding: 20px;
  text-align: left;

}



/* PCレイアウト：デフォルトの並び */
.two-columns {
  display: flex;
  flex-wrap: nowrap;
}

.contents {
  flex: 3;
  order: 1;
}

#sidebar {
  flex: 1;
  max-width: 300px;
  order: 2;
}

/*ポストリンク*/
.post-link {
  width: 300px;
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  list-style: none;
  padding-left: 20px;
  padding-right: 20px;
  margin-top: 50px;
  margin-bottom: 50px;
}
/*-------------------------------------------
SP
-------------------------------------------*/
@media screen and (max-width: 767px) {
  .post-link {
    width: 100%;
  }
}

/*-------------------------------------------
SP
-------------------------------------------*/
@media screen and (max-width: 767px) {
  /*-------------------------------------------
  aside
  -------------------------------------------*/
  #sidebar {
    width: 100%;
    padding: 0;
    margin-top: 100px;
  }

  .two-columns {
    flex-direction: column;
  }

  .contents {
    order: 1;
  }

  #sidebar {
    order: 2;
    max-width: 100% !important;
    padding: 10px;
      margin-left: 0;
    }
}

}
