:root {
  --main: #477b52;
  --blue:#3b5a9c;
}

img{
    width: 100%;
    max-width: 100vw;
}
html{
  counter-reset: h2;
}
h2 {
  counter-increment: h2;
  counter-reset: h3;
}
h2:before {
  content: counter(h2) ". ";
}
h3 {
  counter-increment: h3;
}
h3:before {
  content: counter(h2) "." counter(h3) ". ";
}

.toc_list li{
    line-height: 2;
}
.toc_list span{
    color: #ff9c1f;
}
#toc_container {
    margin: 2em auto;
}
div#toc_container p.toc_title a, div#toc_container ul.toc_list a {
    color: var(--main);
    font-weight: 600;
}
#toc_container p.toc_title+ul.toc_list {
    margin-top: 1em;
    background: #fff;
    border-radius: 15px;
    padding: 15px;
}
div#toc_container p.toc_title {
    color: #fff;
}
div#toc_container {
    background: var(--main);
    border: none;
    width: 100%;
    border-radius: 15px;
}
ul.toc_list ul>li>a {
    font-size: 12px;
}
ul.toc_list li {
    line-height: 1.5;
}
ul.toc_list>li:not(:first-child) {
    margin-top: 1rem !important;
}
.mokuji{
    text-align: center;
    margin: auto;
    display: block;
    padding-right: 2.3rem;
    color: #3fafff;
    font-size: 14px;
    font-weight: 600;
}
.finalDate {
    font-size: 12px;
}
.blogIntro p {
    font-size: 13px;
    letter-spacing: 0.8px;
}
.header-logo-img_pc {
  width: 100px !important;
}



.bgyellow {
    /*background: yellow;*/
}

h2{
    font-size: 16px;
    margin-bottom:10px;
    color: #ff9c1f;
}
h2>span {
    color: var(--main);
    font-size: 1.2em;
}
h2:after {
    content: '';
    display: block;
    width: 100%;
    height: 7px;
    background: var(--main);
    margin-top: 5px;
}

.ulSpace {
    font-size: 14px;
    line-height: 1.8;
    letter-spacing: 0.4px;
    margin-bottom: 15px;
}

h3{
    font-size: 16px;
    margin-bottom:10px;
}


main#site-content {
    max-width: 700px;
    margin: auto;
}
.blogLink{
  position: relative;
  padding: 5px 10px 5px 5px;
  background: #37a2f1;
  font-size: 14px;
  font-weight: 600;
  color: white;
  z-index:-1;
  text-align: center;
  display: block;
  margin: 20px auto;
  text-decoration: none;
  letter-spacing: 4px;
}

.blogLink:before {
  position: absolute;
  content: '';
  right: -2px;
  bottom: -2px;
  border: none;
  border-right: solid 40px white;
  border-bottom: solid 79px transparent;
  z-index:-2;
}


.flexboxBlog {
    display:-webkit-box;
    display: -webkit-flex;
    display:-ms-flexbox;
    display: flex;
    -webkit-flex-wrap:wrap;
    -ms-flex-wrap:wrap;
    flex-wrap:wrap;
}
.blogRelated {
    margin: 15px;
    font-size: 16px;
    font-weight: 500;
}
.titleSection{
    margin: 15px 15px 0;
    width: 100%;
}
.imgSection{
    max-height: 300px;
    object-fit: contain;
}
.blogSP{
    display: block;
}
.blogPC{
    display: none;
}
.lkc-external-wrap, .lkc-internal-wrap, .lkc-this-wrap{
    box-shadow: 0 1px 1px rgb(0 0 0 / 5%);
    letter-spacing: 0.3px;
}
.lkc-thumbnail {
    margin: 0 5px 0 0 !important;
    padding: 0 !important;
}
.lkc-title {
    margin-top: 4px;
}
.lkc-excerpt {
    font-weight: 500;
}
/** embed **/
.wp-embedded-content {
    max-width: 100%;
    width: 100%;
    /*max-height: 120px;*/
}
.instagram-media {
    max-width: 340px !important;
    min-width: 100px !important;
    width: 100% !important;
}
.lazyFade {
    margin-bottom: 10px;
}

.topArticleTitle{
  width: 900px;
}
.topArticleTitle:hover{
  text-decoration: none;
}

.lkc-thumbnail,.lkc-thumbnail-img {
    max-width: inherit !important;
}
.lkc-content{
    margin:0 !important;
}

.AmazonWrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    color: #febd69;
    padding: 1rem;
    border-radius: 10px;
    filter: drop-shadow(2px 4px 6px #ddd);
    text-decoration: none;
    width: 100%;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.AmazonWrap img {
    width: auto;
    height: 100px;
    max-width: 40%;
    object-fit: scale-down;
}

.AmazonWrap div{
    margin: 0 10px;
}
.AmazonWrap .amazonTitle {
    margin: 0;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
        line-height: 1;
    padding-bottom: 0.5rem;
}
.AmazonWrap span {
    font-size: 12px;
    display: block;
    line-height: 1.5;
        padding-top: 0.5rem;
}
.amazonButton {
    background: #FFD814;
    border-radius: 10px;
    line-height: 1;
    padding: 10px;
    filter: drop-shadow(0 4px 0px #f3a846);
    font-weight: 600;
    display: block;
    width: 100%;
    text-align: center;
    margin-top: 10px;
    font-size: 12px;
    text-decoration: none;
    color: #3a3a3a;
}
.rakutenButton {
    background: #a02121;
    border-radius: 10px;
    line-height: 1;
    padding: 10px;
    filter: drop-shadow(0 4px 0px #721d1d);
    font-weight: 600;
    display: block;
    width: 100%;
    text-align: center;
    margin-top: 7px !important;
    font-size: 12px;
    text-decoration: none;
    color: #fff;
}
.amazonButton:hover {
    filter: drop-shadow(0 2px 0px #f3a846);
    margin-top: 2px;
}
.amazonButton:hover + .rakutenButton {
    margin-top: 4px !important;
}
.rakutenButton:hover{
    filter: drop-shadow(0 2px 0px #721d1d);
    margin-top: 9px !important;
}
.AmazonInner {
    display: flex;
    align-items: center;
}

.affiBtnWrap br{
    margin: 0;
}
.affiBtnWrap{
    width: 100%;
}
.affiBtnWrap br{
    display: none;
}
.lkc-title-text{
    font-size: 16px;
}
.lkc-excerpt {
    margin: 1rem 0 0;
    color: inherit;
    line-height: 1.5;
}
.lkc-external-wrap, .lkc-internal-wrap, .lkc-this-wrap {
    box-shadow: none;
    letter-spacing: 0.3px;
    border: none;
    filter: drop-shadow(2px 4px 6px #ddd);
    padding: 10px;
    border-radius: 10px;
}
@media ( min-width: 499px ) {
    .imgSection{
        max-height: 500px;
        object-fit: scale-down;
        -webkit-box-ordinal-group:-1;
        -ms-flex-order:-1;
        -webkit-order:-1;
        order:-1;
    }
    .blogSP{
        display: none;
    }
    .blogPC{
        display: block;
    }
    .wp-embedded-content {
        max-height: 150px;
    }

    .lkc-excerpt {
        padding-right: 15px !important;
        font-size: 12px !important;
    }
    .lkc-title {
        margin-top: 10px !important;
    }
    .lkc-thumbnail {
        max-width: inherit !important;
        max-height: 100px !important !important;
        margin: 0 15px 0 0 !important;
    }
    .lkc-thumbnail-img {
        width: inherit !important;
        max-height: 105px !important;
    }
    .blog2ImgWrap {
        display: flex;
    }
    .blog2ImgWrap img {
        height: 100%;
        object-fit: cover;
        width: 99%;
        max-height: 450px;
    }

    .AmazonWrap {
        /*width: 90%;*/
        flex-wrap: nowrap;

    }
    .amazonButton{
        width: auto;
        margin-top: 0;
    }
    a.AmazonWrap img {
        max-width: 100px;
    }
    .affiBtnWrap{
        max-width: 100px;
    }
    .affiBtnWrap br{
        display: block;
    }
}
