/*
Theme Name: MafiaGoods
Author: K
Description: オリジナルテーマです
Version: 1.0
*/


@font-face {
    font-family: 'NotoSans';
    src: url(font/NotoSansCJKjp/NotoSansCJKjp-Regular.otf);
}
@font-face {
    font-family: 'NotoSans';
    font-weight: 600;
    src: url(font/NotoSansCJKjp/NotoSansCJKjp-Bold.otf);
}
@font-face {
    font-family: 'NotoSans';
    font-weight: 800;
    src: url(font/NotoSansCJKjp/NotoSansCJKjp-Black.otf);
}
html {
    font-size: 1.8333333333vw;
  }
  
  body {
    color: #000;
    font-size: 1.6rem;
    line-height: 1.8em;
    font-family: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", sans-serif;
    position: relative;
    background: #fff;
    width: 100%;
    margin: 0;
}
a {
    text-decoration:underline;
    color: #"#1111cc;
}
h1 {
    margin: 0;
}
img {
    max-width: 100%;
    height: auto;
}
.header {
    font-size: 1.8rem;
    position: sticky;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 999;
    flex-wrap: wrap;
    top: 0;
    background: #fff;

}
.header__logo {
    padding: 0 10px;
    display: flex;
    justify-content: space-between;
}
.header__logo-image {
    max-width: 135px;
}
.sub-menu {
    flex-basis: 100%;
    background: #555;
    width: calc(100% + 80px);
    padding: 1rem;
    color: #fff;
    text-align: center;

}
.sub-menu a {
    color: #fff;
    margin: 0 10px;
}

a.twitter {
    background: #00aced;
    color: #fff;
    display: inline-block;
    text-decoration: none;
    font-size: 1.4rem;
    margin: 0 10px;
    width: auto !important;
    padding: 10px;
    margin-bottom: 20px;
}
a.twitter:after {
    display: none !important;
}
.fa-twitter {
    font-size: 14px;
}

.hmbgr {
    height: 25px;
    padding: 0 10px;
    display: block;
}

.hmbgr-btn {
    display: inline-block;
    height: 25px;
}
.hmbgr-btn span {
    position: relative;
    border-bottom: solid 2px #000;
    width: 25px;
    height: 12px;
    display: inline-block;
}
.hmbgr-btn span:after {
    content: "";
    border-top: solid 2px #000;
    width: 25px;
    display: inline-block;
    position: absolute;
    top:20px;
    left:0;
}
.hmbgr-btn span:before {
    content: "";
    border-top: solid 2px #000;
    width: 25px;
    display: inline-block;
    position: absolute;
    top:5px;
    left:0;
}
.menu {
    height: 0;
    overflow: hidden;
    transition: all 300ms 0s ease;
    position: absolute;top: 69px;left: 0;width: 100%;background: rgba(0, 0, 0, .8);color: #fff;
}
#hmbgr:checked + .menu {
    height: 80vh;
    display: block;
} 
.g-navi {
    padding: 10px 0;
}
.g-navi a {
    position: relative;
    color: #fff;
    text-decoration: none;
    display: inline-block;
    width: 100%;
}
.g-navi a:after {
    content: "";
    display: inline-block;
    width: 5px;
    height: 5px;
    border-top: 1px #fff solid;
    border-right: 1px #fff solid;
    transform: rotate(45deg) translateY(-50%);
    position: absolute;
    top: 50%;
    right: 0;
}
.g-navi li {
    padding: 15px;
    border-bottom: #525252 solid 1px;
}
.g-navi__title {
    padding: 10px;
    font-size: 14px;
    margin-bottom: 5px;
    font-weight: bold;
}
.g-navi__lists {
    display: grid;
    grid-template-columns: 50% 50%;
    padding-bottom: 20px;
}
.g-navi__item--1row .g-navi__lists{
    display: block;

}


/***/


.articles {
    display: grid;
    flex-wrap: wrap;
    grid-template-columns: calc(50% - 10px) calc(50% - 10px);
    grid-gap: 10px;
    justify-content: center;
    margin: 10px auto;
    max-width: calc(100% - 10px);
}
.article {
    flex: 0 0 calc(50% - 10px);
    margin: 0 auto;
    font-size: 12px;
    color: #525252;
    text-decoration: none;
}
.top .article:nth-child(1) {
    display: none;
}

.article__category {
    background: #8a1f1f;
    color: #fff;
    display: inline-block;
    padding: 5px;
    margin: 5px 0;
    font-size: 1rem;
    line-height: 1;
}
.article__title {
    font-weight: 600;
    margin-bottom: 10px;
}

.main-article {
    position: relative;
    display: block;
    margin-bottom: 20px;
}
.main-article img {
    height: 200px;
    width: 100%;
    object-fit: cover;
}
.main-article__category {
    margin-left: 10px;
    margin-bottom: 0;
}
.main-article__caption {
    color: #555;
    padding: 5px 10px;
    font-size: 14px;
    line-height: 1.6;
    font-weight: 600;
}
h2 {
    font-size: 22px;
    margin: 20px 0;
}
h3 {
    padding: 13px;
    font-size: 16px;
}

.wp-post-image {
    width: 100%;
    height: 100px;
    object-fit: cover;
}

.footer {
    background-color:#222;padding:40px 10px 80px; text-align:center;margin-top: 40px;
    color: #fff;
    font-size: 35px;
    
}
.copyright {
    display: block;
    margin-top: 10px;
}

.categories {
    display: grid;
    grid-template-columns: 50% 50%;
    list-style: none;
}
.categories > li{
    padding: 10px;
    border-bottom: 1px #ddd solid;
}
.categories a{
    color: #8a1f1f;
}


.single-article {}
.single-article h2 {
    font-size: 20px;
}
.single-article__date {
    margin-bottom: 10px;
    display: inline-block;
    color: #525252;
    font-size: 10px;
}
.single-article__content p{
    line-height: 1.6;
    padding-bottom: 10px;
}
.single-article__content {
    padding: 0 10px;
    margin-top: 20px;
    margin-bottom: 40px;
}
.single-article__content {
    line-height: 1.6;
}
.single-article__visual {
    margin: auto;
    text-align: center;
}
.single-article__visual img{
    width: 100%;
    object-fit: cover;
    max-height: 60vh;
}

.sns-share {
    display: flex;
    justify-content: space-between;
    margin: 10px auto;
}

.sns-share a{

    flex-basis: 32%;
    text-align: center;
    border-radius: 2px;
    font-size: 18px;
}
.sns-share-btn--twitter{
    background: #00aced;
    color: #fff;
}
.sns-share-btn--facebook{
    color:#fff;
    background-color: #4267B2;
}
.sns-share-btn--line{
    color: #fff;
    background: #3ACD01;
}


/**next-prev*/
.next-prev {
    display: flex;
}
.next-prev > * {
    flex-basis: 50%;
    color: #8a1f1f;
}
.prev-title,.next-title {
    margin: 5px 10px;
}
.recommend {
    margin-bottom: 40px;
}

.yarpp-related {
    margin-top: 40px;

}
.yarpp-related a {
    color: #8a1f1f;
}


/****/

.topics {
    color: #8a1f1f;
}

.single-page {
    padding: 0 10px;
    margin-bottom: 40px;
}
.single-page p {
    line-height: 1.6;
    padding-bottom: 10px;
}
.single-page ul li {
    list-style-type: disc;
    margin-bottom: 10px;
    margin-left: 20px;
}
.single-page h3{
    padding-left: 0;
    padding-right: 0;
    line-height: 1.6;
}
.wp-block-image figcaption {
    margin-top: .5em;
    margin-bottom: 1em;
    text-align: center;
    font-size: 10px;
    color: #989898;
}
/****/

.wpcf7 {
    margin: auto;
    margin-top: 20px;
}
input.wpcf7-form-control,textarea.wpcf7-form-control {
    padding: 10px;
    background: #f1f1f1;
    border: none;
}
.wpcf7-form-control.wpcf7-submit {
    background-color: #8a1f1f;
    color: #fff;
    padding: 10px 40px;
}
#twitter {
    height: 40vh;
    overflow: scroll;
}
#insta {
    height: 40vh;
    overflow: scroll;
}
.article__memo {
    line-height: 1.6;
    margin-bottom: 30px;
}
.other-section {
    margin: 0 2rem 8rem;
}
h2 {
    margin-bottom: 1.5rem;
}
.catgory-section h2 {
    margin: 0 2rem;
}
.sub-section  {
    margin-bottom: 6rem;
}

@media (min-width: 751px) {
    html {
        font-size: 62.5%;
    }
      
    body {
        color: #000;
        font-size: 1.6rem;
        line-height: 1.8em;
        font-family: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", sans-serif;
        position: relative;
        background: #fff;
        width: 100%;
        margin: 0;
    }
    header {
        position: relative !important;
        border-bottom: 1px solid #ddd;
    }
    .header__logo{
        display: block;
        margin: auto;
    }
    section,.other-section {
        width: 1000px;
        margin: auto;
    }
    
    main > section {
        display: block;
        margin: auto;
    }
    .main-article img {
        height: 400px;
    }
    .wp-post-image {
        height: auto;
    }
    .articles {
        display: flex;

    }
    .article {
        display: flex;
        align-items: flex-start;
        flex: 0 0 100%;
        /* flex-wrap: wrap; */
        margin-bottom: 20px;
    }
    .article img{
        max-width: 200px;
        margin-right: 20px;
    }
    .articles .wp-post-image {
    }
    .main-article__caption {
        font-size: 18px;
    }
    .article__title {
        font-size: 16px;
    }
    #twitter {
        max-width: 500px;
        margin-right: auto;
        margin-left:0;
    }
    .main-article {
        display: none;
    }
    .top .article:nth-child(1) {
        display: flex;
    }
    .sub-menu {
        display: none;
    }
    .menu {
        height: 100%;
        position: relative;
        top: 0;
    }
    .g-navi__item:nth-child(1),.g-navi__item:nth-child(3) {
        display: none;
    }
    .g-navi__title {
        display: none;
    }
    .g-navi__lists {
        display: flex;
        justify-content: space-evenly;
        padding: 0;
        font-size: 14px;
    }
    .g-navi a:after {
        display: none;
    }
    .g-navi {
        padding: 0;
        margin: auto;
        max-width: 1000px;
    }
    .g-navi li {
        padding: 10px;
    }
    .hmbgr {
        display: none;
    }

    .single-article {
        max-width: 1000px;
        margin: auto;
    }
    .sns-share {
        max-width: 250px;
        margin-left: 0;
    }
    .single-article h2 {
        font-size: 28px;
        margin-bottom: 0;
    }
    .wp-block-image figcaption {
        text-align: left;
    }
    .article__info {
        font-size: 1.4rem
    }
    .sns-section {
        display: flex;
    }
    #twitter {
        flex: 0 0 50%;
    }
    #insta {
        flex: 0 0 50%;
    }
    .single-article__visual img {
        max-height: 100%;
        height: auto;
    }
}
/* 記事の文字サイズ */
p{font-size:16px}