/* カテゴリー一覧 */

a:hover {
    cursor: pointer;
    opacity: 0.9;
}

.all-categories {
    width: 100%;
    margin: 30px 0;
    background-color: #fafafa;
    padding: 10px 7.5%;
}

.categories {
    display: flex;
    justify-content: left;
    flex-wrap: wrap;
}

.category {
    margin: 10px 0;
    width: 100%;
    padding-left: 10px;
    border-left: solid 4px #b70007;
    font-size: 1.5rem;
}

.single-column-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.single-column-info .single-column-category {
    width: 200px;
    height: 30px;
    line-height: 30px;
    background-color: #b70007;
    color: white;
    text-align: center;
    font-weight: 600;
}

.single-column-info time,
.single-column-info {
    margin-bottom: 0 !important;
}


/* sns */

.single-column-sns-links {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin: 10px 0 20px !important;
}

.single-column-sns-link {
    width: 100px;
    height: auto;
    font-size: 1.4rem;
    text-align: center;
    margin-left: 10px;
}

.single-column-sns-link:hover {
    opacity: 0.75;
}

.single-column-sns-link img {
    width: 100%;
    height: auto;
}


/* 記事コンテンツ */

.single-column-contents h2 {
    font-size: 2.4rem;
    padding-left: 20px;
    border-left: solid 8px #b70007;
    line-height: 50px;
    margin: 25px 0;
}

.single-column-contents h3 {
    font-size: 2rem;
    padding-bottom: 7px;
    width: fit-content;
    margin: 25px 0;
}

.single-column-contents h4 {
    font-size: 1.8rem;
    font-weight: bolder;
    margin: 25px 0;
}

.single-column-contents a {
    text-decoration: underline;
    color: gray;
}

.single-column-contents p {
    font-size: 1.6rem!important;
    line-height: 3rem;
    margin: 6px 0;
}

.single-column-contents li {
    font-size: 1.6rem;
}

.single-column-contents img {
    width: 100%;
    height: auto;
}

.single-column-contents {
    border-bottom: solid 1px #d4d4d4;
    padding-bottom: 30px;
    margin-bottom: 10px !important;
}


/* author */

.single-column-author {
    width: 100%;
    border: 2px solid #d4d4d4;
    padding: 20px;
    display: flex;
    justify-content: left;
    align-items: center;
}

.single-column-author-img {
    width: 40%;
}

.single-column-author-infos {
    padding: 0 0 0 20px;
    width: 60%;
}

.single-column-author {
    margin-bottom: 60px;
}

.column-author-sns {
    margin: 20px 0 0 0;
    display: flex;
    align-items: center;
    justify-content: left;
}

.column-author-sns a,
.column-author-sns p {
    font-size: 1.4rem;
}

.column-author-sns a {
    text-decoration: underline;
}

.column-author-sns p {
    margin: 0 5px;
}


/* TOC目次 */

#toc_container {
    width: 100%;
    background-color: #eeeeef;
    padding: 5%;
    margin: 30px 0;
}

.toc_title {
    border-bottom: solid 3px #bfbbbb;
    position: relative;
    padding-bottom: 24px;
    font-family: "A-OTF Midashi Go MB31 Pr6N";
    font-weight: normal;
    font-size: 2rem !important;
    letter-spacing: 0.05em;
    line-height: 30px;
    text-align: left;
    color: #595757;
}

.toc_list li a {
    text-decoration: none;
    color: black;
    font-family: a-otf-gothic-bbb-pr6n, sans-serif;
    font-weight: 400;
    font-size: 17px;
    letter-spacing: 0.05em;
    line-height: 37px;
    text-align: left;
    margin-left: 15px;
}

.toc_list li a:hover {
    opacity: 0.75;
}

.toc_list li {
    list-style: none;
}

.toc_list {
    padding: 0;
}


/* ranking */

.ranking-columns {
    display: flex;
    justify-content: left;
    align-items: baseline;
}

.ranking-column {
    width: 30%;
    margin-left: 5%;
    border: solid 1px #d4d4d4;
}

.ranking-column:nth-child(1) {
    margin-left: 0;
}

.ranking-column-rank {
    display: block;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    background-color: #b70007;
    color: white;
    font-weight: 600;
    font-size: 1.6rem !important;
    margin: 0 0 10px 0;
}

.ranking-column img {
    width: 100%;
    height: auto;
}

.ranking-column-title {
    font-size: 1.4rem;
    font-weight: 600;
}

.ranking-column-contents {
    padding: 10px;
}

.ranking-columns-wrap h2 {
    font-size: 2rem;
}

.single-column-author-img img {
    object-fit: cover;
}


/* ショートコード */

.contact-link {
    width: 65%;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #b70007;
    color: white !important;
    margin: 20px auto;
    text-decoration: none !important;
}

.contact-link:hover {
    opacity: 0.75;
}

.contact-link p {
    font-size: 1.8rem !important;
    font-weight: 600;
}

@media screen and (max-width: 768px) {
    #toc_container {
        background-color: #eeeeef;
        padding: 4vw;
        width: 100%;
        margin: 3vw auto;
    }
    .content {
        width: 90%;
        margin: 0 auto;
    }
    .ranking-columns {
        flex-wrap: wrap;
    }
    .ranking-column {
        width: 100%;
        margin-left: 0;
        margin: 3vw 0;
    }
    .ranking-column a img {
        object-fit: cover;
    }
    .ranking-columns-wrap {
        margin-bottom: 0 !important;
    }
    .single-column-sns-links {
        width: 60%;
    }
    .single-column-sns-link {
        height: 5vw;
    }
    .single-column-sns-link img {
        height: 100%;
        object-fit: cover;
    }
    .single-column-categories a {
        padding: 0 4vw;
    }
    .single-column-sns-link {
        width: 30%;
        margin-left: 3%;
    }
    .single-column-sns-links {
        margin: 1vw 0 3.75vw auto !important;
    }
    .single-column-info .single-column-category {
        width: auto;
        height: 30px;
        line-height: 30px;
        padding: 0 5vw;
        background-color: #b70007;
        color: white;
        text-align: center;
        font-weight: 600;
    }
    .toc_list li a {
        margin-left: 0;
    }
    .single-column-contents h2,
    .single-column-contents h3,
    .single-column-contents h4 {
        margin: 3vw 0;
    }
    .single-column-contents p {
        line-height: 2rem;
        font-size: 1.4rem!important;
        margin: 1vw 0;
    }
    .single-column-contents li {
        font-size: 1.4rem;
    }
}