/* 基本 */

* {
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
}

body {
  font-family: "メイリオ","Hiragino Kaku Gothic Pro",Meiryo,"ヒラギノ角ゴ Pro W3","MS PGothic","MS UI Gothic",Helvetica,Arial,sans-serif;
}

a:link {
  color: #011ec2;
}

a:visited {
  color: rgb(119, 10, 161);
}

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

.contents {
  background-color: #F6CFD3;
}

.main-body {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}

.block {
  color: #000;
  background: #fff;
  padding: 10px 20px 5px 20px;
  box-sizing: border-box;
  border-radius: 5px;
  margin: 10px 5px 10px 5px;
  border: 2px solid #D65B6C;
  box-shadow: 1px 1px 1px gray;
}

.block-StaticPageTitle{
  color: #000;
  background: #fff;
  padding: 10px 20px 5px 20px;
  box-sizing: border-box;
  border-radius: 5px;
  margin: 10px 5px 10px 5px;
  border: 2px solid #D65B6C;
  box-shadow: 1px 1px 1px gray;
}

.inblock {
  text-align: center;
}

/* ブログカード */
.Blogeny-CardBlock { 
  border: 1px solid #580269;
  background: #fffdfd;
  border-radius: 3px;
  margin: 2px 2px 1em 2px;
  padding: 2px 2px 2px 2px;
}
.amazon-link {
  display: flex;
  max-width: 100%;
}
.amazon-link div.link-img {
  width: 50%;
  text-align: center;
  align-items: center;
  flex-shrink: 0;
}
.amazon-link div.link-name {
  display:flex;
  align-items: center;
  justify-content: center;
  flex-flow: column;
  width: 50%;
  text-align: center;
  vertical-align: middle;
  flex-shrink: 0;
}
.link-name div.pbutton {
  font-size: 110%;
  text-align: center;
  width: 100%;
  vertical-align: middle;
  padding: 1px 1px 1px 1px;
}
.link-name span.link-button {
  font-size: 110%;
  color: rgb(255, 255, 255);
  background-color: #6f06e6;
  border: 1px solid #360141;
  border-radius: 3px;
  font-weight: bold;
  padding: 2px 4px 2px 4px;
  margin: 0.5em 1px 0.5em 1px;
}

.header_contents {
  width: 100%;
  align-items: center;
}

.header_img {
  width: 100%;
  height: auto;
}

.contents-column {
  display: flex;
  max-width: 1000px;
  margin: 0 auto;
}

main {
  flex: 1;
  margin: 0 auto;
  width: 65%;
}
aside {
  width: 35%;
}

.entry-title {
  font-size: 200%;
  padding-top: 0.1em;
}

h1.entry-title {
  font-size: 200%;
  padding-top: 0.1em;
  line-height: 1.3;
}

.entry-date {
  font-size: 100%;
}

.amazon-img {
  align-items: center;
  text-align: center;
  max-width: 100%;
  margin-bottom: 1em;
  box-sizing: border-box;
}

.footer_contents {
  width: 100%;
}

/* 前後記事 */

.Blogeny-NextPrev {
  display: flex;
  max-width: 100%;
}
.Blogeny-NextPrev .Next {
  width: 50%;
  margin: 0px 2px 5px 5px;
  padding: 5px 5px 5px 20px;
}
.Blogeny-NextPrev .Prev {
  width: 50%;
  margin: 0px 5px 5px 2px;
  padding: 5px 20px 5px 5px;
}
.Blogeny-NextPrev .Next h4{
  text-align: center;
}
.Blogeny-NextPrev .Prev h4{
  text-align: center;
}
.Blogeny-NextPrev p{
  font-size: 90%;
}

/* 前後記事ここまで */

/* トップページのエントリー */

.top-entries {
  width: 100%;
}

.top-entry {
  display: flex;
  max-width: 100%;
}
.top-entry div.top-sumb {
  width: 120px;
  height: 120px;
  margin: auto 5px auto 0;
}
.top-entry div.top-content {
  flex: 2;
  margin: 0 auto 0 5px;
}

.abs {
  font-size: 90%;
}

.date-top-page {
  font-size: 100%;
}

.entry-title-top {
  padding: 0;
  font-size: 135%;
}

.link {
  display: inline-block;
  text-decoration: none;
}

section.block {
  color: #000;
  background: #fff;
  margin: 0 auto;
  padding: 10px 10px 10px 10px;
  box-sizing: border-box;
  border-radius: 5px;
  margin: 10px 5px 10px 5px;
  border: 2px solid #D65B6C;
  box-shadow: 1px 1px 1px gray;
}

/* ページネーション */
.pagination{
  display: flex;
  max-width: 100%;
}
.pagination div.head {
  width: 15%;
  margin: auto;
  align-items: center;
  text-align: center;
}
.pagination div.back {
  width: 35%;
  margin: auto;
  align-items: center;
  text-align: center;
}
.pagination div.next {
  width: 35%;
  margin: auto;
  align-items: center;
  text-align: center;
}
.pagination div.tail {
  width: 15%;
  margin: auto;
  align-items: center;
  text-align: center;
}

/* 記事本文 */
.main-contents {
  width: 100%;
}
.main-contents p {
  margin-bottom: 1em;
  line-height: 1.5;
}
.main-contents h2 {
  margin-bottom: 0.5em;
  line-height: 1.2;
  border-bottom: solid 3px #D65B6C;
}
.main-contents h3 {
  margin-bottom: 0.5em;
  line-height: 1.2;
  border-bottom: solid 2px #D65B6C;
}
.main-contents img {
  display:block;
  margin: 0 auto;
  text-align: center;
}
.main-contents img {
  display:block;
  margin: 0 auto;
  text-align: center;
}

/* カテゴリタグ */
.Blogeny-Category { 
  color: rgb(235, 19, 134);
  font-weight: bold;
  padding: 2px 4px 2px 4px;
  margin: 0.25em 1px 0.25em 1px;
  font-size: 90%;
  display: inline-block;
}
.Blogeny-Categories { 
  background-color: rgb(235, 19, 134);
  color: #fff;
  font-weight: bold;
  padding: 2px 4px 2px 4px;
  margin: 0.25em 0 0.25em 0.5em;
  font-size: 90%;
  display: inline-block;
}
.Blogeny-Categories a{
  text-decoration: none;
  color: #fff;
}

/*SVGアイコン*/
.icon {
  display: inline-flex;
  align-self: center;
}
.icon svg, .icon img {
  height: 1.6em;
  width: 1.6em;
}
.icon.baseline svg, .icon img {
  top: 0.25em;
  position: relative;
}

/* トップページ */
.Blogeny-Categories-Top { 
  background-color: rgb(235, 19, 134);
  color: #fff;
  font-weight: bold;
  padding: 1px 3px 1px 3px;
  margin: 0 0 0.25em 0.5em;
  font-size: 70%;
  display: inline-block;
}
.Blogeny-Categories-Top a{
  text-decoration: none;
  color: #fff;
}

/*SVGアイコン*/
.icon-top {
  display: inline-flex;
  align-self: center;
}
.icon-top svg, .icon-top img {
  height: 1.2em;
  width: 1.2em;
}
.icon-top.baseline svg, .icon-top img {
  top: 0.25em;
  position: relative;
}

/* ヘッダやサイドバーでのURL列挙の設定 */
.Blogeny-URL-List li{
  list-style: none;
  border-top: dotted #F6CFD3;
  padding: 0.25em 0.25em 0em 0.25em ;
}
.Blogeny-URL-List a{
  text-decoration: none;
}

/* サイドバーのカテゴリ設定 */
.SideBar-Categories-List p{
  border-top: #000;
}

/* YouTube埋め込み */
.youtube {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  margin-bottom: 2em;
}

.youtube iframe {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
}

/* コードブロック */
pre {
  padding: 1em;
  margin: 10px 10px 10px 10px;
  border: solid 1px #4d4d4d;
  background: #25292f;
  color: #fff;
  white-space: pre-wrap;
}
code {
  font-family: Consolas, Menlo, Monaco, -apple-system, BlinkMacSystemFont, "Segoe UI", Meiryo, monospace;
}
code.single {
  display: inline-block;
  padding: 0em 0.1em 0em 0.1em;
  color: #444;
  background-color: #e7edf3;
  border-radius: 3px;
  border: solid 1px #d6dde4;
}

/* Adsense */

ins {
  max-width: 100% !important;
}

.adsenseOnLeft
{
  float: left;
  width:100% !important;
}

@media (max-width: 768px) {
  /* スマホ */

  a:link {
    color: #011ec2;
  }
  a:visited {
    color: rgb(119, 10, 161);
  }

  .main-body {
    width: 100%;
  }

  .block {
    word-break: break-all;
    border-radius: 4px;
    margin: 10px 10px 10px 10px;
    padding: 10px 20px 5px 20px;
    border: 1px solid #D65B6C;
    box-shadow: 1px 1px 1px gray;
  }
  .block-StaticPageTitle{
    word-break: break-all;
    padding: 10px 20px 10px 20px;
    border-radius: 4px;
    margin: 10px 10px 10px 10px;
    border: 1px solid #D65B6C;
    box-shadow: 1px 1px 1px gray;
  }
  .block-StaticPageTitle h1{
    padding: 0;
    vertical-align: middle;
  }

  .Blogeny-NextPrev {
    display: flex;
    max-width: 100%;
  }
  .Blogeny-NextPrev .Next {
    width: 50%;
    margin: 0px 2px 2.5px 10px;
    padding: 5px 5px 5px 10px;
  }
  .Blogeny-NextPrev .Prev {
    width: 50%;
    margin: 0px 10px 2.5px 2px;
    padding: 5px 10px 5px 5px;
  }
  .Blogeny-NextPrev .Next h4{
    text-align: center;
  }
  .Blogeny-NextPrev .Prev h4{
    text-align: center;
  }
  .Blogeny-NextPrev p{
    font-size: 80%;
  }

  .contents-column {
    display: block;
    max-width: 100%;
    min-width: initial;
    margin: 0;
    padding: 0;
  }

  main {
    margin: 0;
    width: 100%;
  }

  aside {
    width: 100%;
  }

  .entry-title {
    font-size: 150%;
    padding-top: 0.25em;
  }

  h1.entry-title {
    font-size: 150%;
    padding-top: 0.25em;
    line-height: 1.2;
  }

  .category-title {
    padding: 0;
    font-size: 150%;
  }

  .entry-date {
    font-size: 80%;
  }

  .entry-title-top {
    padding: 0;
    font-size: 110%;
    vertical-align: top;
    line-height: 1.3;
  }

  .date-top-page {
    font-size: 90%;
  }

  .top-entry {
    display: flex;
    max-width: 100%;
  }
  .top-entry div.top-sumb {
    width: 90px;
    height: 90px;
    margin: auto 5px auto 0;
  }
  .top-entry div.top-content {
    flex: 2;
    margin: 0 auto 0 5px;
  }
  
  p.abs {
    margin-top: -0.5em;
    font-size: 80%;
  }

  section.block {
    word-break: break-all;
    border-radius: 4px;
    margin: 10px 10px 10px 10px;
    padding: 10px 10px 10px 10px;
    border: 1px solid #D65B6C;
    box-shadow: 1px 1px 1px gray;
  }

  .Blogeny-Categories { 
    background-color: rgb(235, 19, 134);
    color: #fff;
    font-weight: bold;
    padding: 2px 4px 2px 4px;
    margin: 0.25em 0 0.25em 0.5em;
    font-size: 80%;
    display: inline-block;
  }
  .Blogeny-Categories a{
    text-decoration: none;
    color: #fff;
  }  

  /* トップページ */
  .Blogeny-Categories-Top { 
    background-color: rgb(235, 19, 134);
    color: #fff;
    font-weight: bold;
    padding: 0 3px 0.5px 3px;
    margin: 0 0 0.1em 0.5em;
    font-size: 70%;
    display: inline-block;
  }
  .Blogeny-Categories-Top a{
    text-decoration: none;
    color: #fff;
  }

  /*SVGアイコン*/
  .icon-top {
    display: inline-flex;
    align-self: center;
  }
  .icon-top.baseline span{
    margin-top: 0;
    vertical-align: top;
  }
  .icon-top svg, .icon-top img {
    height: 1.35em;
    width: 1.35em;
  }
  .icon-top.baseline svg, .icon-top img {
    top: -0.15em;
    position: relative;
  }
  
  /* ヘッダやサイドバーでのURL列挙の設定 */
  .Blogeny-URL-List li{
    list-style: none;
    border-top: dotted #F6CFD3;
    padding: 0.1em 0.25em 0.1em 0.25em ;
  }
  .Blogeny-URL-List a:link{
    color: #011ec2;
    text-decoration: none;
  }
  .Blogeny-URL-List a:visited{
    color: rgb(119, 10, 161);
    text-decoration: none;
  }

  /* サイドバーのカテゴリ設定 */
  .SideBar-Categories-List p{
    border-top: #000;
  }

  /* ブログカード */
  .Blogeny-CardBlock { 
    border: 1px solid #580269;
    background: #fffdfd;
    border-radius: 3px;
    margin: 2px 2px 1em 2px;
    padding: 2px 2px 2px 2px;
  }
  .amazon-link {
    display: flex;
    max-width: 100%;
  }
  .amazon-link div.link-img {
    width: auto;
    max-width: 50%;
    text-align: center;
    align-items: center;
    flex-shrink: 0;
  }
  .amazon-link div.link-name {
    display:flex;
    align-items: center;
    justify-content: center;
    flex-flow: column;
    flex-grow: 1;
    text-align: center;
    vertical-align: middle;
    /* flex-shrink: 0; */
  }
  .link-name div.pbutton {
    font-size: 90%;
    text-align: center;
    width: 100%;
    vertical-align: middle;
    padding: 1px 1px 1px 1px;
  }
  .link-name span.link-button {
    font-size: 100%;
    color: rgb(255, 255, 255);
    background-color: #6f06e6;
    border: 1px solid #360141;
    border-radius: 3px;
    font-weight: bold;
    padding: 2px 4px 2px 4px;
    margin: 0.5em 1px 0.5em 1px;
  }

  
}