@charset "utf-8";
/* ==========================================================================

style.css
レイアウトの指定をするシート

========================================================================== */
* {
    padding: 0;
    margin: 0;
    -webkit-box-sizing: border-box;
    /*webkit系*/
    -moz-box-sizing: border-box;
    /*Firefox*/
    box-sizing: border-box;
}

body {
    line-height: 1.5;
    letter-spacing: 0.02em;
}

img {
    height: auto;
    vertical-align: bottom;
}

/* PC/SP コンテンツ出し分け
---------------------------------------------*/
.section_sp {
    display: none !important;
    @media screen and (max-width: 999px) {
        display: block !important;
    }
}

.content_pc {
    display: block;
    @media screen and (max-width: 999px) {
        display: none;
    }
}

.br_sp {
    display: none;
}

/* ヘッダー
---------------------------------------------*/
header {
    padding: 32px 0 24px;
    width: 100%;

    @media screen and (max-width: 999px) {
        padding-block: 24px;
    }
}

header h4 {
    width: 90%;
    margin-bottom: 0;
    font-family: sans-serif;
    font-weight: unset;
    color: #49423a;
    font-size: 18px;
}

.header_inner {
    width: 82%;
    max-width: 1600px;
    position: relative;
    margin-inline: auto;
}

header .logo {
    width: 240px;
    margin-bottom: 4px;
    filter: drop-shadow(3px 3px 0px rgba(0, 0, 0, 0.05));
    @media screen and (max-width: 999px) {
        width: 200px;
    }
    @media screen and (max-width: 600px) {
        width: 160px;
        filter: drop-shadow(1px 1px 0px rgba(0, 0, 0, 0.05));
        margin: 0;
    }
    @media screen and (max-width: 350px) {
        width: 140px;
    }
}

header .blog_description {
    width: 90%;
    margin-bottom: 0;
    font-family: sans-serif;
    font-weight: unset;
    color: #49423a;
    font-size: 18px;
    @media screen and (max-width: 460px) {
        display: none;
    }
}

/* フッター
---------------------------------------------*/
@media screen and (max-width: 680px) {
    footer {
        margin-top: 32px;
    }
}

.privacy {
    text-decoration: underline;
}


.footer_contents {
    text-align: center;
    padding: 36px 0;
}

.footer_contents .logo {
    display: block;
    width: 160px;
    max-width: 40%;
    margin-inline: auto;
    margin-bottom: 8px;
}

/* ==========================================================================
全体レイアウト
========================================================================== */
section {
    padding-top: 48px;
    padding-bottom: 4vw;
    @media screen and (max-width: 900px) {
        padding-top: 4vw;
        padding-bottom: 4vw;
    }
}

main {
    width: 82%;
    max-width: 1400px;
    margin-inline: auto;
}

/* ==========================================================================
メイン_左カラム
========================================================================== */
.main_contents {
    display: flex;
    align-items: flex-start;
    gap: 3%;

    @media (min-width: 1600px) {
        gap: 56px;
    }

    @media (max-width: 999px) {
        display: block;
    }
}

.main_contents_left {
    width: 100%;
}

/* 左カラム：記事一覧
---------------------------------------------*/
.article_contents {
    display: flex;
    flex-wrap: wrap;
    gap: 2%;
    @media screen and (min-width: 1600px) {
        column-gap: 24px;
    }
    @media screen and (max-width: 600px) {
        display: block;
    }
}

.article_item {
    position: relative;
    display: block;
    width: 49%;
    margin-bottom: 2vw;
    overflow: hidden;
    transition: all .4s;
    padding-bottom: 16px;
    align-self: stretch;
    @media screen and (min-width: 1600px) {
        margin-bottom: 2vw;
        width: calc(50% - 13px);
    }
    @media screen and (max-width: 999px) {
        margin-bottom: 36px;
    }
    @media screen and (max-width: 600px) {
        width: 100%;
    }
}

.article_item:hover {
    scale: 103%;
}

.article_item .thumb {
    width: 100%;
    margin-bottom: 8px;
}

.article_item .eyecatch__cat {
    padding: 8px 12px;
    color: #ffffff;
    z-index: 2;
    font-family: sans-serif;
    font-size: 16px;
    font-weight: unset;
    position: absolute;
    left: 0;
}

.date_main_tag {
    color: #707070;
    font-weight: unset;
    width: 120px;
    padding-left: 1px;
    @media screen and (max-width: 680px) {
        font-size: 14px;
    }
}
.poster{
    width: 150px;
    font-size: small;
}
.poster_infomation{
    display: flex;
   justify-content: space-between;
}

/* 左カラム：関連記事一覧
---------------------------------------------*/
.related_contents {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 2%;
}

.related_contents .article_title {
    font-size: 24px;
}

.related_item {
    transition: all .3s;
}

.related_item a {
    padding-bottom: 12px;
    display: block;
}

.related_item:hover {
    scale: 103%;
}

.related_item img {
    width: 100%;
}


/* 左カラム：記事詳細ページ_記事の内容
---------------------------------------------*/
/*記事タイトル*/
.article_header .header_image {
    width: 100%;
    margin-inline: auto;
}

.title_contents {
    margin-bottom: 24px;
    @media screen and (max-width: 999px) {
        width: 100%;
    }
}

.article_header h2 {
    border: none;
    margin-block: 4px;
    line-height: 1.2;
    font-size: 24px;
}

.article_cat {
    width: fit-content;
    transition: .2s all;
    @media screen and (max-width: 999px) {
        text-align: center;
        transition: none;
        pointer-events: none;
    }
}

.article_cat:hover {
    scale: 105%;
    @media screen and (max-width: 999px) {
        scale: 100%;
    }
}

.article_cat a {
    padding: 5px 12px;
    display: block;
    color: #ffffff;
}

.date_tag {
    color: #3c3c3c;
}

.article_header .header_image img {
    width: 100%;
}

/*記事の内容*/
.article_text_contents {
    width: 100%;
    border-bottom:1px solid ;
}

.article_text_contents .content {
    padding: 0;
}

.article_text_contents .content {
    max-width: 100%;
}

/* ページャー
---------------------------------------------*/
.pager {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    column-gap: 1vw;
    margin-top: 2vw;
    padding-bottom: 4vw;
    color: #000;

    @media screen and (max-width: 999px) {
        margin-top: 4vw;
        column-gap: 16px;
        margin-bottom: 3vw;
        padding-bottom: 5vw;
    }

    @media screen and (max-width: 680px) {
        margin-bottom: 5vw;
    }

    @media screen and (max-width: 410px) {
        font-size: 14px;
    }
}

.is-active {
    border-bottom: solid 2px #000;
}


/* ==========================================================================
サイドバー_右カラム
========================================================================== */
.sidebar {
    flex-basis: 35%;
    color: #49423a;
    @media screen and (max-width: 999px) {
        max-width: 320px;
        width: 90%;
        margin: 32px auto;
    }
}

.sidebar_content {
    padding: 16px 20px;
    margin-bottom: 32px;
    @media screen and (max-width: 999px) {
        border: 1px solid #e8e0d1;
    }
}
a .poster_01{
    display: flex;
}
.sidebar_content h3 {
    text-align: start;
    font-size: 20px;
    margin-bottom: 8px;
    @media screen and (max-width: 999px) {
        text-align: center;
    }
}

/* ↓サイドバー_カテゴリ一覧↓ */
.category {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: start;
    @media screen and (max-width: 999px) {
        justify-content: center;
    }
}

.category li {
    margin-left: 0;
    transition: transform .2s ease;
    @media screen and (max-width: 600px) {
        font-size: 14px;
    }
    @media screen and (max-width: 460px) {
        font-size: 12px;
    }
}

.category__item {
    display: block;
    padding: 4px 12px;
    font-size: 16px;
    @media screen and (max-width: 1240px) {
        font-size: 16px;
    }
}

/* ↑サイドバー_カテゴリ一覧↑ */

.sidebar .about img {
    display: block;
    margin-inline: auto;
    width: 45%;
    margin-bottom: 24px;
}

.sidebar_content .btn {
    border-radius: 2px;
    text-align: center;
    padding: 8px 16px;
    color: white;
    background-color: #a09c90;
    display: block;
    font-weight: bold;
    margin: 24px auto 0;
    width: fit-content;
}

.sidebar_content.microtech .logo, .sidebar_content.komado .logo {
    width: 70%;
    margin: 16px auto 0;
    display: block;
}

.sidebar_content.sws {
    text-align: center;
}

.sidebar_content.sws .logo {
    width: 60%;
}

.sidebar_content.sws .illust {
    width: 55%;
}

.sidebar_content .link_lead {
    font-size: 14px;
    text-align: center;
}

.mogic_info .logo {
    width: 55%;
    margin: 24px auto;
    display: block;
}

.onehundred_views {
    margin-bottom: 32px;
}
.onehundred_views img {
    width: 100%;
}

@media screen and (max-width: 999px) {
    .sidebar_content img {
        max-width: 300px;
    }

    .sidebar_content.sws a {
        display: block;
    }

    .sidebar_content.sws img {
        max-width: 240px;
    }
}

/* ==========================================================================
(未処理)右カラム：ランキング
========================================================================== */
.ranking_contents img {
    width: 100%;
}

.ranking_item {
    position: relative;
    z-index: 1;
}

.ranking_item::before {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    color: #ffffff;
    font-weight: bold;
    width: 60px;
    height: 60px;
    z-index: 5;
    background: #808080;
    border-radius: 4px 0 8px 0;
    @media screen and (max-width: 999px) {
        width: 50px;
        height: 50px;
    }
}

.ranking_item:nth-child(1):before {
    content: "1";
    background: #E5D68D;
}

.ranking_item:nth-child(2):before {
    content: "2";
    background: #A9C6D5;
}

.ranking_item:nth-child(3):before {
    content: "3";
    background: #CEAF4A;
}

.ranking_item:nth-child(4):before {
    content: "4";
}
.ranking_item:nth-child(5):before {
    content: "5";
}

.content_pc .ranking_item {
    display: flex;
    padding-right: 12px;
    gap: 8px;
    align-items: center;
    background-color: #eff7f8;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #d9eaec;
    margin-bottom: 16px;
    transition: .4s all;
}

.content_pc .ranking_item:hover {
    scale: 105%;
}

.content_pc .ranking_item>div {
    max-width: 35%;
    margin: 0;
}

.content_pc .ranking_item>div img {
    aspect-ratio: 1/1;
    object-fit: cover;
}

.content_pc .ranking_item h4 {
    font-size: 16px;
    line-height: 1.2;
    color: #49423a;
    background-color: unset;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    height: fit-content;
    padding: 0;
    margin: 0;
    font-family: sans-serif;
}

.content_pc .ranking_item::before {
    top: 0;
    width: 32px;
    height: 32px;
    z-index: 5;
}

.ranking_h3 {
    margin-top: 2vw;
}

@media screen and (max-width: 1240px) {
    .ranking_item h4 {
        color: #49423a;
        font-size: 18px;
        font-family: sans-serif;
    }
}

/* ==========================================================================
スマホ)ヘッダー_ハンバーガーメニュー
========================================================================== */
.menu_header .menu-icon {
    padding-top: 6vw;
}

.menu_header .menu__item {
    color: #ffffff;
}

/* Nav items */
.menu {
    z-index: 5;
    list-style: none;
    width: fit-content;
    position: absolute;
    top: 96px;
    right: 0;
    transition: 0.3s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1s;
    transform: scale(1, 0);
    transform-origin: top right;
}

/* Hamburger menu button */
.menu-btn:checked~.menu {
    transform: scale(1, 1);
    transform-origin: top right;
    transition: 0.3s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1s;
    background: rgba(255, 255, 255, 0.8);
    padding: 16px;
    border-radius: 8px;
}

/* Hamburger menu text */
.menu a {
    text-decoration: none;
    color: #49423a;
    font-size: 18px;
    text-transform: capitalize;
    opacity: 0;
    font-weight: bold;
    transition: 0.5s;
}

.menu li {
    position: relative;
    opacity: 0;
    transition: 0.5s;
    margin-inline: auto;
    width: fit-content;
}

.menu li:not(:last-of-type) {
    margin-bottom: 16px;
}

.menu-btn:checked~.menu a,
.menu-btn:checked~.menu li {
    opacity: 1;
    transition: 0.3s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.2s;
}

.menu-btn {
    display: none;
}

.menu-icon {
    position: absolute;
    cursor: pointer;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    z-index: 6;
    top: calc(50% - 16px);
    right: 0;
    padding: 16px 0;
}

.navicon {
    background-color: #978e86;
    display: block;
    height: 3px;
    width: 26px;
    position: relative;
    transition: 0.3s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1s;
    border-radius: 2px;
}

.navicon:before,
.navicon:after {
    content: "";
    display: block;
    height: 100%;
    width: 100%;
    position: absolute;
    transition: 0.3s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1s;
    background-color: #978e86;
    border-radius: 2px;
}

.navicon:before {
    top: 9px;
}

.navicon:after {
    bottom: 9px;
}

/* Hamburger Menu Animation Start */
.menu-btn:checked~.menu-icon .navicon:before {
    transform: rotate(-45deg);
}

.menu-btn:checked~.menu-icon .navicon:after {
    transform: rotate(45deg);
}

.menu-btn:checked~.menu-icon:not(.steps) .navicon:before {
    top: 0;
}

.menu-btn:checked~.menu-icon:not(.steps) .navicon:after {
    bottom: 0;
}

.menu-btn:checked~.menu-icon .navicon {
    background: rgba(0, 0, 0, 0);
    transition: 0.2192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1s;
}

@media screen and (max-width: 540px) {
    .menu,
    .menu_header .menu {
        padding-top: 60px;
    }

    .menu-btn:checked~.menu a {
        padding: 3vw 3.2vw;
        font-size: 16px;
    }
}

@media screen and (max-width: 460px) {
    .menu {
        top: 60px;
    }
}

@media screen and (max-width: 350px) {
    .menu {
        top: 40px;
    }

    .navicon {
        height: 2px;
        width: 24px;
    }

    .navicon:before {
        top: 8px;
    }

    .navicon:after {
        bottom: 8px;
    }

