@charset "utf-8";

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

body {
    position: relative;
    background-color: #f5f5f5;
    font-family: "Hiragino Kaku Gothic ProN", sans-serif;
    line-height: 1.5;
    letter-spacing: 0.02em;
}

section {
    padding-top: 2vw;
    padding-bottom: 4vw;
    padding-left: 6vw;
    padding-right: 6vw;
    z-index: 1;
}

header {
    padding-top: 1vw;
    padding-bottom: 4vw;
    padding-left: 6vw;
    padding-right: 6vw;
    background-color: #DEAF64;
    color: #ffffff;
    padding-bottom: 1vw;
    width: 100%;
    margin-bottom: 48px;
}

.top_logo,
.main_contents,
.other_contents {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
}

.other_contents a {
    color: #000;
}

h1 {
    font-size: 72px;
}

h1 a {
    color: #ffffff;
}

h2 {
    font-size: 30px;
    border-bottom: solid 2px #707070;
}

h3 {
    font-size: 24px;
}

h4 {
    font-size: 20px;
    margin-bottom: 0.4vw;
}

p {
    font-size: 16px;
}

ul {
    padding-left: 0;
}

li {
    font-size: 20px;
    list-style: none;
}

li a {
    color: #ffffff;
}

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

.zoom_img {
    width: 100%;
    height: auto;
    overflow: hidden;
    transition: transform .6s ease;
    border-radius: 30px;
    margin-bottom: 0.6vw;
}

.zoom_img img {
    height: auto;
    transition: transform .6s ease;
}

.zoom_img:hover img {
    transform: scale(1.1);
}

a {
    text-decoration: none;
    color: #ffffff;
}

footer a,
.pager a,
.article_item p {
    color: #000;
}

.content_h2 {
    font-size: 40px;
    margin-bottom: 2vw;
}

.page_current {
    margin: -1.5vw 0 1.5vw;
    font-size: 20px;
    font-weight: bold;
    color: #707070;
}

p.date_main_tag {
    color: #707070;
}

.article_item h4 {
    color: #000;
    margin-bottom: 0;
    width: fit-content;
    padding: 0.2vw;
    font-size: 22px;
}

.section_sp {
    display: none !important;
}

.br_sp {
    display: none;
}

.pager span {
    color: #000;
}

.date_main_tag {
    font-weight: bold;
}

/*ハンバーガーメニュー*/

.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: 120px;
    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;
    border-radius: 8px;
}

/* 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.92);
    padding: 16px;
}

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

.menu li {
    position: relative;
    margin-bottom: 16px;
    opacity: 0;
    transition: 0.5s;
    width: fit-content;
    margin-left: auto;
    border-radius: 50vh;
}

.menu li:hover {
    scale: 102%;
}

.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: #ffffff;
    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;
}

.navicon:before {
    top: 9px;
    border-radius: 2px;
    background-color: #ffffff;
}

.navicon:after {
    bottom: 9px;
    border-radius: 2px;
    background-color: #ffffff;
}

/* 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;
}

/* header */

header h4 {
    font-family: fot-tsukuardgothic-std, sans-serif;
    width: 90%;
    margin-top: 0.2vw;
    margin-bottom: 0;
    font-weight: 300;
    color: white;
}

.header_inner {
    width: 100%;
    position: relative;
}

header .logo {
    width: 320px;
}

/* sidebar */

.about_text {
    text-align: left;
    font-family: fot-tsukuardgothic-std, sans-serif;
    width: 100%;
}

.about_text h3 {
    margin-bottom: 8px;
}

.mogic_info {
    text-align: center;
    margin-bottom: 16px;
    border-bottom: dashed 2px #d8d8d8;
}

.mogic_info .btn {
    border-radius: 4px;
    padding: 8px;
    color: white;
    background-color: #DEAF64;
    display: block;
    font-weight: bold;
    margin-bottom: 24px;
}

.mogic_info .logo {
    width: 40%;
    margin: 12px 0;
}

.mogic_info p,
.mogic_info h3 {
    text-align: start;
}

/*メインコンテンツ*/
.main_contents {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
}

.main_contents_left {
    width: 100%;
    max-width: 70%;
    margin-right: 4vw;
}

/*記事一覧*/
.article_contents {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    column-gap: 5vw;
}

.main_article h2 {
    width: 100%;
}

.article_item {
    position: relative;
    max-width: 500px;
    width: calc(54% - 5vw);
    margin-bottom: 2vw;
}

.article_item img {
    max-width: 500px;
    width: 100%;
    border-radius: unset;
    object-fit: cover;
    aspect-ratio: 5/3;
}

.article_item .eyecatch__cat {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 0;
    border-radius: 0 30px 0 0;
}

/*カテゴリーのタグのカラー*/
.bgc-green {
    background-color: #A8D092;
    z-index: 2;
}

.bgc-pink {
    background-color: #D09294;
    z-index: 2;
}

.bgc-yellow {
    background-color: #E5D272;
    z-index: 2;
}

.bgc-orange {
    background-color: #DBAE65;
    z-index: 2;
}

.bgc-purple {
    background-color: #B58CB9;
    z-index: 2;
}

.bgc-blue {
    background-color: #88B9DB;
    z-index: 2;
}

.bgc-brown {
    background-color: #D0BF92;
    z-index: 2;
}

.article_item .eyecatch__cat {
    padding: 20px 50px;
    color: #ffffff;
    font-weight: bold;
    z-index: 2;
}

/*ページネーション*/
.pager {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    column-gap: 1vw;
    margin-top: 2vw;
    padding-bottom: 4vw;
}

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

.prev {
    margin-right: 2vw;
}

.next {
    margin-left: 2vw;
}

.pagination_icon {
    width: 18px;
    height: auto;
}

/*カテゴリー検索*/
.category_contents {
    max-width: 500px;
    background-color: #ffffff;
    padding: 1.6vw 2vw;
    border-radius: 20px;
    margin-bottom: 2vw;
}

.category_contents h3 {
    font-family: fot-tsukuardgothic-std, sans-serif;
}

.category {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: start;
}

.category li {
    margin-left: 0;
    border-radius: 40px;
    transition: transform .2s ease;
}

.category li:hover {
    transform: translateY(2px);
}

.category__item {
    display: block;
    padding: 12px 16px;
    font-weight: bold;
    color: #ffffff;
    font-size: 18px;
}


/*メディア*/
.main_content_right {
    flex-basis: 30%;
}

.media_h3 {
    margin-bottom: 1vw;
}

.media_contents {
    max-width: 500px;
    background-color: #ffffff;
    padding: 2vw;
    border-radius: 20px;
}

.media_contents:not(:last-of-type) {
    margin-bottom: 2vw;
}

.media_hp .zoom_img:last-of-type {
    margin-bottom: 0;
}

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

.media_item h4 {
    font-weight: normal;
    margin-bottom: 0.6vw;
}

.media_item .zoom_img {
    border-radius: unset;
}

.media_item .zoom_img img {
    max-width: 500px;
    width: 100%;
}

/*関連記事 記事直下*/
.related_contents {
    width: 100%;
    padding: 16px;
    padding-top: 56px;
    box-sizing: content-box;
    border-radius: 8px;
    background-color: white;
    display: flex;
    gap: 16px;
    position: relative;
    overflow: hidden;
}

.related_contents:after {
    position: absolute;
    content: "関連記事";
    width: 100%;
    height: 40px;
    line-height: 40px;
    background-color: #3c3c3c;
    color: white;
    font-weight: bold;
    text-align: center;
    top: 0;
    left: 0;
}

.related_item {
    width: calc((100% - 32px) / 3);
    padding: 12px;
}

.related_item .zoom_img {
    border-radius: unset;
}

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

/*ランキング*/
.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;
    border-radius: 30px 0 0 0;
    z-index: 5;
    background: #808080;
}

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

.swiper {
    padding-left: 10vw;
    padding-right: 0;
    width: 100%;
    overflow: hidden;
}

.swiper-slide {
    max-width: 500px;
    width: 100%;
    margin-right: 2vw;
}

.swiper .zoom_img {
    max-width: 500px;
}

.swiper-slide img {
    max-width: 500px;
    width: 100%;
    object-fit: cover;
    aspect-ratio: 5/3;
}

.swiper-button-next::after {
    display: block;
    color: #000;
}

.swiper-button-prev::after {
    display: block;
    color: #000;
}

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

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

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

.content_pc .ranking_item>div img {
    border-radius: 4px 0 0 4px;
    aspect-ratio: 1/1;
    object-fit: cover;
}

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

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

/*プライバシーポリシー*/
.privacy {
    text-decoration: underline;
}

footer {
    background-color: white;
}

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

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

/*記事ページ*/


/*記事タイトル周り*/
.article_header {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    width: 100%;
    padding-bottom: 1.6vw;
    border-bottom: dashed 2px #d8d8d8;
}

.article_header .header_image {
    max-width: 40%;
}

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

.season_tag {
    width: fit-content;
    color: #ffffff;
    font-weight: bold;
    margin-bottom: 12px;
    border-radius: 50vh;
    transition: .2s all;
}

.season_tag:hover {
    scale: 105%;
}

.season_tag a {
    padding: 10px 40px;
    display: block;
}

.date_tag {
    color: #3c3c3c;
    font-weight: bold;
    margin: 8px 0;
}

.article_header .header_image img {
    width: 100%;
    border-radius: 20px;
    object-fit: cover;
    aspect-ratio: 5/3;
}

.explanation_text {
    padding: 16px;
    background-color: #fff;
    border-radius: 4px;
}

/*記事*/
/*メニュー周り*/
.article_text_contents {
    width: 100%;
    margin-bottom: 2vw;
}

.article_text_contents .content {
    padding: 0;
}

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

.article_text_contents .content img {
    /* width: 100%; */
    max-width: 80%;
}

@media screen and (max-width: 640px) {
    .article_text_contents .content img {
        max-width: 100%;
    }
}

.content .outline__switch+.outline__list {
    margin-left: 0px;
}

.article_text_contents .outline {
    margin: 4vw 0;
    padding: 1.6vw 2vw;
    background-color: #ffffff;
    color: #000;
    border: none;
}

.article_text_contents .outline__title {
    color: #000;
    font-size: 24px;
    font-weight: bold;
}

.article_text_contents li {
    padding-top: 0.8vw;
    border-bottom: solid 1px #707070;
}

.article_text_contents .outline__link {
    color: #000;
    font-size: 20px;
}

.article_text_contents li .outline__number {
    margin-right: 1vw;
    color: #deaf64;
    background-color: #ffffff
}

.content .outline__switch::before {
    font-size: 0.8rem;
}

/*記事の内容*/
.article_text_contents img {
    max-width: 1000px;
}

.article_text_contents .content h2 {
    margin-bottom: 16px;
    font-size: 28px;
}

.content h2:first-letter {
    font-size: 30px;
    padding-bottom: 0;
    border-bottom: none;
    color: #deaf64;
}

.article_text_contents .content pre {
    font-size: 14px;
}

.article_text_contents .content pre span {
    color: #7f7f7f;
}

.boldBox a {
    color: #000;
}

/*記事ページのランキング*/
.ranking_h3 {
    margin-top: 2vw;
}

.section_color_change {
    background-color: #ffffff;
}

/*関連記事*/
.relatedArea .ranking_item::before {
    display: none;
}

/*1920以上の時*/
@media screen and (min-width: 1921px) {

    /*記事一覧 記事の並び方*/
    .article_contents {
        column-gap: 4vw;
    }

    .article_item {
        margin-bottom: 2vw;
    }

    .article_item img {
        width: 100%;
    }
}

/*1355以下の時*/
@media screen and (max-width: 1355px) {
    /*共通*/

    h4 {
        font-size: 18px;
    }

    .content_h2 {
        font-size: 32px;
    }

    /*記事一覧*/
    .article_contents {
        column-gap: 3vw;
    }

    .article_item {
        width: calc(54% - 4vw);
    }

    /*記事ページ*/
    .article_body .top_header div,
    .article_body .main_contents,
    .article_body .other_contents {
        max-width: 1600px;
        width: 100%;
    }
}

/*1240以下の時*/
@media screen and (max-width: 1240px) {

    .related_contents.pc {
        display: none;
    }

    /* ランキングは表示せず関連記事のみ */
    .relatedArea {
        display: block !important;
    }

    /*共通*/
    h2 {
        font-size: 24px;
    }

    h3 {
        font-size: 22px;
    }

    h4 {
        font-size: 20px;
    }

    p {
        font-size: 15px;
    }

    .content_h2 {
        font-size: 30px;
    }

    .zoom_img {
        border-radius: 20px;
    }

    /*ランキング*/
    .ranking_item::before {
        border-radius: 20px 0 0 0;
    }

    /*記事一覧*/
    .article_contents {
        display: block;
    }

    .article_item {
        max-width: 660px;
        width: 100%;
        margin-bottom: 5vw;
    }

    .article_item img {
        max-width: 660px;
        width: 100%;
        border-radius: unset;
    }

    .article_item .eyecatch__cat {
        border-radius: 0 20px 0 0;
    }

    .pager {
        display: flex;
        justify-content: center;
        column-gap: 1vw;
        margin-top: 2vw;
        padding-bottom: 4vw;
    }

    .category__item {
        font-size: 16px;
    }

    .ranking_item h4 {
        color: #000;
        font-size: 18px;
    }

}


/*999以下の時*/
@media screen and (max-width: 999px) {

    /*共通*/
    h2 {
        font-size: 30px;
    }

    h3 {
        font-size: 26px;
    }

    h4 {
        font-size: 22px;
    }

    p {
        font-size: 16px;
    }

    .content_h2 {
        font-size: 30px;
        margin-top: 1vw;
    }

    .page_current {
        margin: -8px 0 12px;
        font-size: 18px;
    }

    .zoom_img {
        border-radius: 20px;
    }

    .article_item h4 {
        margin-top: 0;
        padding: 0.4vw 0.8vw;
        padding-top: 0;
    }

    .content_pc {
        display: none;
    }

    .section_sp {
        display: block !important;
    }

    .section05 {
        display: block;
    }

    header .blog_description {
        font-size: 18px;
    }

    header .logo {
        width: 280px;
    }

    .top_text {
        max-width: 900px;
    }

    /*ランキング*/
    .swiper-button-next::after {
        display: block;
        color: #000;
    }

    .swiper-button-prev::after {
        display: block;
        color: #000;
    }

    .ranking_item::before {
        width: 50px;
        height: 50px;
    }

    /*メインコンテンツ*/
    .main_contents {
        display: block;
    }

    .main_contents_left {
        width: 100%;
        margin-right: 0;
        max-width: unset;
    }

    /*記事一覧*/
    .article_contents {
        display: flex;
        align-items: flex-start;
        flex-wrap: wrap;
        column-gap: 4vw;
        row-gap: 3vw;
    }

    .article_item {
        max-width: 480px;
        width: calc(52% - 4vw);
        margin-bottom: 2vw;
    }

    .article_item img {
        max-width: 480px;
        width: 100%;
        border-radius: unset;
    }

    .article_item .summary {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 4;
        overflow: hidden;
    }

    /*ページネーション*/
    .pager {
        display: flex;
        justify-content: center;
        column-gap: 1vw;
        margin-top: 4vw;
        margin-bottom: 3vw;
        padding-bottom: 5vw;
    }

    .prev {
        margin-right: 4vw;
    }

    .next {
        margin-left: 4vw;
    }

    /*カテゴリータグ*/
    .section_category {
        margin-top: 0;
        padding: 0;
    }

    .section_category .content_h2 {
        width: 90%;
        border: none;
        margin-inline: auto;
    }

    .category_contents {
        max-width: unset;
        width: 90%;
        margin-inline: auto;
        margin-bottom: 4vw;
        padding: 16px;
    }

    .category {
        display: flex !important;
        justify-content: center;
    }

    .category li {
        font-size: 18px;
    }

    .category__item {
        padding: 12px 20px;
    }

    /*メディア*/
    .main_content_right {
        max-width: 900px;
        min-width: auto;
        width: 100%;
    }

    .media_h3 {
        margin-bottom: 1vw;
    }

    .media_contents {
        max-width: 900px;
        padding: 3vw;
        border-radius: 0;
        background: none;
        margin-inline: auto;
    }

    .media_item {
        padding-top: 4vw;
        padding-bottom: 2vw;
    }

    .media_item h4 {
        font-weight: normal;
        margin-bottom: 0.6vw;
    }

    .media_hp {
        display: flex;
        column-gap: 1vw;
        padding-bottom: 1vw;
        margin-bottom: 2vw;
        border-bottom: none;
        width: 100%;
    }

    .media_item .zoom_img {
        max-width: 500px;
        width: 100%;
        margin: 0 auto;
        border-radius: unset;
    }

    .media_item .zoom_img img {
        width: 100%;
    }


    /*Microtechについて*/
    .about_text {
        width: 80%;
        padding-top: 36px;
        margin-inline: auto;
    }

    .about_text h3 {
        margin-bottom: 2vw;
        border-bottom: solid 2px #707070;
    }

    .about_text p {
        margin-bottom: 16px;
        padding-bottom: 24px;
        border-bottom: solid 2px #707070;
    }


    .season_tag {
        text-align: center;
        transition: none;
        pointer-events: none;
    }

    .season_tag:hover {
        scale: 100%;
    }

    /*記事タイトル周り*/
    /*アイキャッチsp*/

    .article_header {
        padding-bottom: 1.6vw;
        flex-direction: column-reverse;
    }

    .article_header .title_contents {
        width: 100%;
        padding-right: 0;
    }

    /*記事ページのメニュー*/
    .article_text_contents .outline {
        margin: 4vw 0;
        padding: 3vw 4vw;
        background-color: #ffffff;
        color: #000;
    }
}


/*900以下の時*/
@media screen and (max-width: 900px) {

    /*共通*/
    h4 {
        font-size: 24px;
        margin-top: 0.8vw;
        margin-bottom: 1vw;
    }

    section {
        padding-top: 4vw;
        padding-bottom: 4vw;
    }

    /*記事一覧*/
    .article_item {
        margin-bottom: 36px;
    }

    .article_item h4 {
        font-size: 20px;
    }

    .article_item img {
        max-width: 800px;
        width: 100%;
        border-radius: unset;
    }
}


/*680以下の時*/
@media screen and (max-width: 680px) {

    /*共通*/
    h1 {
        line-height: 1.2;
    }

    h2 {
        font-size: 24px;
    }

    h3 {
        font-size: 24px;
    }

    h4 {
        font-size: 22px;
    }

    .content_h2 {
        font-size: 26px;
    }

    header .blog_description {
        font-size: 16px;
    }

    .zoom_img {
        margin-bottom: 8px;
    }

    /*記事一覧*/

    .main_article h2 {
        width: 100%;
    }

    .article_item {
        margin-bottom: 32px;
    }

    .article_item h4 {
        font-size: 18px;
    }

    .article_item img {
        max-width: 800px;
        width: 100%;
        border-radius: unset;
    }

    p.date_main_tag {
        font-size: 14px;
    }

    /*ページネーション*/
    .pager {
        display: flex;
        justify-content: center;
        column-gap: 1vw;
        margin-top: 4vw;
        margin-bottom: 5vw;
        padding-bottom: 5vw;
    }


    .media_h3 {
        font-size: 24px;
    }

    /*記事のメニュー*/
    .article_menu li {
        font-size: 16px;
    }

    /*記事*/
    /*メニュー周り*/
    .article_text_contents .outline__title {
        color: #000;
        font-size: 24px;
        font-weight: bold;
    }

    .article_text_contents .outline__link {
        font-size: 18px;
    }

    /*記事の内容*/
    .article_text_contents .content h2 {
        margin-bottom: 2vw;
        font-size: 24px;
    }

    .content h2:first-letter {
        font-size: 26px;
    }

}



/*610px以下*/
@media screen and (max-width: 610px) {

    /*全体*/
    h1 {
        font-size: 56px;
    }

    h4 {
        font-size: 20px;
    }

    /*トップビュー*/
    header h4 {
        font-size: 16px;
    }

    .menu li {
        font-size: 16px;
        margin-bottom: 12px;
    }

    header .logo {
        width: 240px;
    }

    /*カテゴリータグ*/
    .category li {
        font-size: 14px;
    }

    /*記事の内容*/
    .article_banner p {
        font-size: 18px;
    }

}



/*600px以下*/
@media screen and (max-width: 600px) {
    .main_article h2 {
        width: 100%;
    }

    .article_contents {
        display: block;
    }

    .article_item {
        max-width: 600px;
        width: 100%;
    }

    .article_item h4 {
        font-size: 18px;
    }

    .article_item img {
        width: 100%;
        border-radius: unset;
    }

    /*メディア*/
    .media_hp {
        display: block;
    }

    .media_item .zoom_img img {
        max-width: 360px;
    }

    /*記事の内容*/
    .article_text_item img {
        max-height: 42vw;
        height: 100%;
    }
}

/*540px以下*/

@media screen and (max-width: 540px) {

    /*全体*/
    h2 {
        font-size: 20px;
    }

    .section04 {
        font-size: 12px;
    }

    /* メニュー */
    .menu,
    .menu_header .menu {
        padding-top: 60px;
    }

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

    /*カテゴリータグ*/
    .category li {
        font-size: 12px;
    }

    /*記事*/
    /*メニュー周り*/
    .article_text_contents .outline__title {
        font-size: 20px;
    }

    .article_text_contents .outline__link {
        font-size: 16px;
    }

    /*記事の内容*/
    .article_text_contents .content h2 {
        margin-bottom: 2vw;
        font-size: 20px;
    }

    .content h2:first-letter {
        font-size: 22px;
    }

}

/*460px以下*/
@media screen and (max-width: 460px) {

    /*全体*/
    h1 {
        font-size: 40px;
    }

    h2 {
        font-size: 18px;
        border-bottom: solid 1px #707070;
    }

    h3 {
        font-size: 20px;
    }

    h4 {
        font-size: 16px;
    }

    .content_h2 {
        font-size: 24px;
        margin-bottom: 12px;
    }


    /*トップビュー*/
    header .blog_description {
        display: none;
    }

    .top_image img {
        border-radius: 20px;
    }

    header .logo {
        width: 200px;
    }

    .menu {
        top: 60px;
    }

    /*メディア*/
    .media_h3 {
        font-size: 20px;
    }

    /*記事ページタイトル周り*/
    /*記事のメニュー*/
    .article_menu li {
        font-size: 14px;
    }

    /*記事の内容*/
    .content {
        margin: 40px 0;
    }

    .article_banner p {
        font-size: 14px;
    }

}

/*410px以下*/
@media screen and (max-width: 410px) {

    /*全体*/
    h2 {
        font-size: 16px;
    }

    .content_h2 {
        font-size: 20px;
    }

    /*ページネーション*/
    .pager {
        font-size: 14px;
        align-items: flex-start;
    }

    .pagination_icon {
        width: 16px;
        height: auto;
    }

    /*記事*/
    /*メニュー周り*/
    .article_text_contents .outline__link {
        font-size: 14px;
    }

    .category {
        gap: 4px;
    }

}


/*350px以下*/
@media screen and (max-width: 350px) {

    /*全体*/
    h1 {
        font-size: 32px;
        line-height: 1.2;
    }

    /*トップビュー*/
    .top_header {
        display: block;
        position: relative;
    }

    header .logo {
        width: 140px;
    }

    .menu {
        top: 40px;
    }

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

    .navicon:before {
        top: 8px;
    }

    .navicon:after {
        bottom: 8px;
    }


    /*記事一覧*/
    .article_item h4 {
        font-size: 14px;
    }

    .article_item .eyecatch__cat a {
        font-size: 14px;
        padding: 12px 25px;
        color: #ffffff;
        font-weight: bold;
    }

    /*記事の内容*/
    .article_banner p {
        font-size: 10px;
    }
}

@media screen and (1000px <=width <=1240px) {
    .main_content_right {
        flex-basis: 45%;
    }

    .main_contents_left {
        max-width: 57%;
    }

    .article_header {
        flex-direction: column-reverse;
        gap: 12px;
    }

    .season_tag {
        margin-bottom: 8px;
    }

    .relatedArea {
        margin-bottom: 32px;
    }
}

/************************************
 page-top
************************************/
.page-top-link {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: block;
    width: 60px;
    height: 60px;
    line-height: 60px;
    background-color: #fffcf7;
    color: #49423a;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: opacity 0.3s, transform 0.3s;
    z-index: 900;
}


.page-top-link .arrow-line {
    display: block;
    width: 15px;
    height: 15px;
    border-top: 2px solid #49423a;
    border-left: 2px solid #49423a;
    border-color: #49423a;
    transform: rotate(45deg);
    margin-top: 25px;
    margin-left: 22px;
    position: relative;
    z-index: 1000;
}