@charset "UTF-8";
/*
 *  Theme: frogbase
 *  Author: hoagecko
 *  Responsive: yes
 *  Description:
 *    hoageckoによる個人用のCSSです。
 *  Released under the MIT License.
 */

/* hoageckoによる部分*/

ul>ul:last-of-type,ul>ol:last-of-type,ol>ul:last-of-type,ol>ol:last-of-type{
  margin-bottom:0;
}
hr{
  width:100%;
  border:0.15rem solid;
}
.leave-comment-title{
  padding:0.2rem;
  border:0.15rem solid;
}
.entry-inner > *, #box2-inner >:not(.hatena-module-html), .pager{
  display:table;
  margin-left:auto;
  margin-right:auto;
}
.entry-content>:last-child{
  margin-bottom:0;
}
.entry-content>:not(table){
  max-width:55rem;
  margin-left:auto;
  margin-right:auto;
}
.entry-title{
  font-size:1.3rem;
}
#title{
margin:1rem 0 3rem .5rem;
}
h2,
h3{
  border-bottom: 0.1rem solid;
}
h4,
h5,
h6{
  border-bottom: 0.05rem solid;
}
table{
  margin: 0 auto 20px;
  width:100%;
}
th{
  border:3px solid;
}
tr { line-height: 1.5rem;
}
th,td,table,blockquote{
  border-collapse: collapse;
}
img{
  object-fit: cover;
}
blockquote, td{
  border:2px solid;
}
.archive-entry-header *{
  display:inline;
}
.archive-entries{
  display:flex;
  flex-wrap: wrap;
}
ol{
  padding-left: 30px;
}
ul,.pager-next{
  padding-left: 20px;
}
footer{
  text-align:center;
}
.entry-header{margin-bottom:2rem;}

.archive-entry:first-child:last-child {
  display:table;
  margin:0 auto;
  max-width:55rem;
}
@media screen and (max-width: 27rem) {
  .archive-entry {
    width: 100%;
  }
}
@media screen and (min-width: 27.00001rem) and (max-width: 40rem) {

  .archive-entry {
    width: calc(100% / 2);
  }
}

@media screen and (min-width: 40.00001rem) and (max-width: 60rem) {

  .archive-entry {
    width: calc(100% / 3);
  }
}

@media screen and (min-width: 60.00001rem) and (max-width: 80rem) {

  .archive-entry {
    width: calc(100% / 4);
  }
}

@media screen and (min-width: 80.00001rem) and (max-width: 100rem) {

  .archive-entry {
    width: calc(100% / 5);
  }
}
body {
  color: #000;
  border-color: #000;
  background-color: #fff;
}
a[href] {
  color: #00f;
}
a[href]:visited {
  color: #507;
}
td{
  border-color: #666 ;
}

/* Box sizing rules */
*{
  box-sizing: border-box;
}

/* Prevent font size inflation */
html {
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
}

/* Remove default margin in favour of better control in authored CSS */
body, p,
figure, h1, h2, h3, h4, ul, ol{
  margin: 0 0 1rem 0;
}
blockquote{
  margin: 1rem ;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role='list'],
ol[role='list'] {
  list-style: none;
}

/* Set core body defaults */
body {
  margin:0;
  line-height: 1.5;
  cursor:default;
  word-wrap:break-word;
  overflow-wrap:break-word;
  font-family:dcsymbols,Helvetica Neue,Helvetica,Arial,ヒラギノ角ゴ Pr6N,Hiragino Kaku Gothic Pr6N,ヒラギノ角ゴ ProN,Hiragino Kaku Gothic ProN,ヒラギノ角ゴ StdN,Hiragino Kaku Gothic StdN,Segoe UI,Verdana,メイリオ,Meiryo,sans-serif;
  text-rendering:optimizeLegibility;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  -webkit-hyphens:auto;
  hyphens:auto
}

/* Set shorter line heights on headings and interactive elements */
h1, h2, h3, h4{
  line-height: 1.1;
}

/* Balance text wrapping on headings */
h1, h2,
h3, h4 {
  text-wrap: balance;
}

/* Make images easier to work with */
img{
  max-width: 100%;
  display: block;
}

/* Anything that has been anchored to should have extra scroll margin */
:target {
  scroll-margin-block: 5ex;
}
table {
  border-collapse:collapse;
  border-spacing:0
}
a,
a:focus {
  cursor:pointer
}
a:focus {
  outline:none
}
a:focus-visible {
  outline:thin dotted;
  outline-offset:-1px
}
   .entry-content table {
        border-collapse: collapse;
        border-spacing: 0;
        border-bottom: 1em;
        margin-bottom: 1em;
        width: 100%;
        overflow: auto;
        display: block;
        font-size: .8rem;
        @media #{$mq-md} {
            font-size: .9rem;
        }
    }
   .entry-content table th,
    .entry-contenttable td {
        border: 1px solid $border;
        padding: 5px 10px;
    }
   .entry-content table th {
        background: $bg-light;
    }
/*はてな側のCSSの最適化*/
.archive-entry-tags-wrapper{
margin:0!important;}

/*個人的修正*/

html[data-page="index"] .entry-header,html[data-page="index"] .entry-footer,html[data-page="index"] #box2{display:none;}
.hatena-urllist{
margin:0!important;}