@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;
    color: #49423a;
}

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

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

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;
    aspect-ratio: 5/3;
    object-fit: cover;
}

.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;
}

p.date_main_tag {
    color: #707070;
    font-weight: unset;
    @media screen and (max-width: 680px) {
        font-size: 14px;
    }
}

/* 左カラム：関連記事一覧
---------------------------------------------*/
.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;
    /* width: 100%; */
}

.related_item:hover {
    scale: 103%;
}

.related_item img {
    width: 100%;
    aspect-ratio: 5/3;
    object-fit: cover;
}


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

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

.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%;
    margin-bottom: 2vw;
}

.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: 480px;
        width: 90%;
        margin: 32px auto;
    }
}

.sidebar_content {
    padding: 16px 20px;
    margin-bottom: 32px;
    @media screen and (max-width: 999px) {
        border: 1px solid #e8e0d1;
    }
}

.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: 100%;
    margin-bottom: 12px;
}

.sidebar .about p:not(:last-of-type) {
    margin-bottom: 12px;
}

.sidebar_content .btn {
    border-radius: 2px;
    text-align: center;
    padding: 8px 16px;
    color: white;
    background-color: #a18d80;
    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.instagram, .sidebar_content.facebook, .sidebar_content.saiyou, .sidebar_content.ranking {
    padding: 0;
    background-color: transparent;
    border: none;
}

.sidebar_content.saiyou img {
    max-width: 100%;
}

.sidebar_content.facebook iframe {
    width: 100% !important;
}

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

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

@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_item {
    position: relative;
    z-index: 1;
    display: flex;
    padding-right: 12px;
    gap: 16px;
    align-items: center;
    background-color: #fbf7f5;
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 16px;
    transition: .4s all;
}

.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: 0 0 4px 0;
    @media screen and (max-width: 999px) {
        width: 50px;
        height: 50px;
    }
}

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

.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";
}

.ranking_item:hover {
    scale: 105%;
}

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

.ranking_item>div img {
    aspect-ratio: 4/3;
    object-fit: cover;
    width: 100%;
    max-width: unset;
    @media screen and (max-width: 999px) {
        aspect-ratio: 5/3;
    }
    @media screen and (max-width: 440px) {
        aspect-ratio: 1/1;
    }
}

.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;
}



/* ==========================================================================
インスタモジュール
========================================================================== */
.instaUserArea {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    align-items: flex-start;
    color: #000;
}

.instaUserArea .userIcon {
    max-width: 64px;
    width: 17%;
    border-radius: 50vh;
}

.instaUserArea .accountName {
    font-size: 20px;
    font-family: 'Zen Maru Gothic', serif;
    font-weight: bold;
    display: inline-flex;
    line-height: 26px;
    margin-bottom: 0;
}

.instaUserArea .accountName+img {
    width: 22px;
}

.instaUserArea .accountDetail {
    margin-top: 8px;
    font-size: 14px;
    line-height: 1.2;
    text-align: justify;
}

#instaPostArea {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 16px;
}

.instaPost {
    width: 31.9%;
    opacity: 100%;
    transition: all .2s;
    position: relative;
}

.instaPost:hover {
    opacity: 85%;
    scale: 101%;
}

.instaPostImage {
    width: 100%;
    object-fit: cover;
    aspect-ratio: 1/1;
    border-radius: 3%;
}

.instaMediaIcon {
    position: absolute;
    width: 16%;
    opacity: 80%;
    top: 8px;
    right: 8px;
    filter: drop-shadow(0 0 6px rgba(0, 0, 0, .2));
}

.instaLink {
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
    font-weight: bold;
    border-radius: 2px;
    position: relative;
    transition: .5s;
    padding: 8px 4px;
    z-index: 1;
}

.instaLink::before, .instaLink::after {
    content: "";
    border-radius: 2px;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    transition: .5s;
}

.instaLink::before {
    background: rgb(131, 58, 180);
    background: linear-gradient(240deg, rgba(131, 58, 180, 1) 0%, rgba(253, 29, 29, 1) 50%, rgba(252, 176, 69, 1) 100%);
}

.instaLink::after {
    background: rgb(82, 82, 82);
}

.instaLink:hover, .instaLink:hover::after, .instaLink:hover::before {
    scale: 101%;
}

.instaLink:hover::after {
    opacity: 0;
}

.instaLink img {
    width: 24px;
}

/* ==========================================================================
スマホ)ヘッダー_ハンバーガーメニュー
========================================================================== */
.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;
    }
}
/************************************
** ブログカード
************************************/
.article-box {
    background: #faf7f5;
    padding: 1.6em;
}
.article-box h3 {
    font-size: 1rem;
    text-align: center;
}
.article-list {
    margin: 1em;
}
.article-list a {
    display: flex;
    gap: 1em;
    border-radius: 1.2em;
    border: 1px solid #ccc;
    max-width: 860px;
    padding: .8em;
    background-color: white;
    margin: 0 auto;
}
.article-list a+a {
    margin-top: 1em;
}
.content .article-list a:hover {
    border: #f0b200 1px solid;
}
.article_text_contents .content .article-list__thumb>img {
    max-width: inherit;
    margin-block: inherit;
    margin-inline: inherit;
    width: 160px;
    height: 90px;
    object-fit: cover;
}
.article-list__text {
    width: calc(100% - 120px);
}
.article-list__text h4 {
    font-size: 1.25rem;
}
.article-list__text:after {
    content: "クリックして読む";
    background: #66c2c3;
    /* 背景色 */
    display: block;
    text-align: center;
    color: #fff;
    font-weight: 600;
    letter-spacing: 1px;
    width: 180px;
    border-radius: 20px;
    font-size: 13px;
    padding: 1px 0;
    margin-top: 6px;
}
@media screen and (max-width: 540px) {
    .article-list a {
        display: block;
    }
    .article_text_contents .content .article-list__thumb>img {
        width: 100%;
        height: 120px;
    }
    .article-list__text {
        width: 100%;
    }
}

strong {
    font-weight: 600;
}
.sub.marker span {
    box-shadow: inset 0 -.4em 0 #fff8a6;
    padding-right: .15em;
    font-family: 'Zen Maru Gothic', serif;
    color: #49423a;
}
.sub.marker {
    font-size: 1.125rem;
    margin: 10px 0 5px;
}
.sub.marker+p {
    margin-top: 0;
}