/*
Theme Name: telerimo_2023
*/

/* 共通項目 */

html{
	scroll-behavior: smooth;
}
* {
    font-family: 'Noto sans JP';
    font-size: 16px;
    line-height: 28px;
    line-height: normal;
    margin: 0;
    padding: 0;
}
article.top, .f_box{
    color: #333;
}
body{
    background-color: #fff;
    color: #333!important;
}
p{
    font-size: 16px;
}
img {
    width: 100%;
}
.thumbnail img {
    border-radius: 8px;
}

/* 記事一覧 */
.top-breadcrumbs .breadcrumbs{
    width: 95%;
    margin: auto;
}
.top-breadcrumbs{
    margin-bottom: 29px;
}
.article {
    display: flex;
    flex-wrap: wrap;
}
.new-box article{
    width: 30%;
    max-width: 250px;
}
.title-flex > a{    
    position: relative;    
    padding-right: 10px;
    font-weight: 700;
}
.title-flex > a::after{    
    content: url('../../img/arrow-more.png');
    width: 20px;
    height: 20px;
    display: block;
    position: absolute;    
    top: 50%;
    right: 0;   
    transform: translate(15px,-45%);
}
img.attachment-large, .size-large, .wp-post-image {
    width: 100%;
    height: auto;
    border-radius: 15px;
    object-fit: cover;
}
.post-slider{
    position: relative;
}
.post-slider > .article{
    flex-wrap: nowrap;
    overflow-x: hidden;
    position: relative;
    flex-shrink: 0; 
}
.arrow{
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #fff;
    opacity: .8;
    text-align: center;
}
.arrow-left,.sp-arrow-left{
    position: absolute;
    left: 5%;
    top: 30%;
    cursor: pointer;
    display: none;
}
.arrow-right,.sp-arrow-right{
    position: absolute;
    right: 5%;
    top: 30%;
    cursor: pointer;
    display: none;
}
.arrow-left__img,.arrow-right__img{
    width: 11px;
    height: 20px;
    margin-bottom: 2px;
    }
.category-bottom article{
    width: 28%;
    max-width: 250px;
}
.category-bottom article:not(:first-child){
    margin-left: 7.15%;
}

@media screen and (max-width: 840px) {
    .article {
        justify-content: normal;
    }
    section.main{
        width: 95%;
        margin: auto;
    }
    p.author-info, .copyright-text, .post-text p{
        font-size: 16px;
    }
    p.author-info{
        text-align: left;
    }
    .category-bottom article {
        width: 70%;
        max-width: 584px;
    }
    .title-flex > a::after{
        transform: translate(10px,-45%);
    }
    .category-bottom article:not(:first-child){
        margin-left: 0;
    }
    .top-breadcrumbs{
        margin-bottom: 10px;
    }
}
@media (max-width: 670px) {
    .arrow-left,.arrow-right, .sp-arrow-left,.sp-arrow-right{
        display: block;    
    }
    .btn-hidden{
        display: none;
    }
}
/* ヘッダー */
.header{
    position: sticky;
    top: 15px;
    left: 0;
    right: 0;
    z-index: 9999;
}
.header-button{
    display: flex;
    align-items: center
}
.f_box {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.header-content {
    width: 95%;
    margin: auto;
    padding-bottom: 50px;
    padding-top: 10px;
}
.header-title {
    font-size: 36px;
    font-weight: 700;
    -webkit-text-stroke: 2px;
}
.header-button button.contact, 
.header-button button.document,
.cr-report__inner-list .contact {
    border-radius: 50px;
    background-color: #FBC51F;
    padding: 10px 52px;
    border: 4px solid #FBC51F;
    width: auto;
}
.header-button button.document{
    background-color: #fff;
}
.header-button a:first-child{
    margin-right: 20px;
}
.header-global-cat ul li a{
    font-size: 14px;
    font-weight: bold;
}
.header-global-cat ul{
    display: flex;
    flex-wrap: wrap;
    max-width: 400px;
}
.header-global-cat ul li:nth-child(odd){
    width: 38%;
}
.cat-border{
    color: #FBC51F;
}
button.contact{
    width: 100%;
}
article.top{
    width: 95%;
    margin: auto;
    display: flex;
    justify-content: space-between;
    max-width: 1280px;
}
button:hover{
    opacity: 0.7;
}
article.top.page-contents{
    width: 100%;
}
.hamburger-menu{
    display: none;
}
.pc-only{
    display: block;
}
.sp-only{
    display: none;
}
button{
    font-weight: bold;
}
p.s-text{
    font-size: 14px;
    font-weight: bold;
}
p.l-text{
    font-size: 36px;
    font-weight: bold;
}
span.yellow{
    font-size: 36px;
    color: #FBC51F;
    font-weight: bold;
}

@media screen and (max-width: 840px) {
    .header-global-cat{
        display: none;
    }    
    .header-title img{
        width: 70%;
        max-width: 252px;
    }
    article.top{
        width: 100%;
        display: block;
        padding-top: 0;
    }
    .hamburger-menu{
        display: block;
    }
    .pc-only{
        display: none;
    }
    .sp-only{
        display: block;
    }
    #menu-btn {
        position: absolute;
        top: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
      }
       
    #menu-conts {
        display: none;
        background: #F1F1F1;
        position: absolute;
        top: 0px;
        width: 100%;
        z-index: 100;
    }
    .hamburger-menu img{
        z-index: 999;
    }
       
    #menu-conts a {
        display: block;
        text-decoration: none;
        -webkit-transition: all 0.5s ease;
        -moz-transition: all 0.5s ease;
        -o-transition: all 0.5s ease;
        transition: all 0.5s ease;
    }
    .sp-button-box{
        display: flex;
        justify-content: center;
    }
    .sp-button-box a{
        width: 150px;
    }
    .sp-button-box a:first-child{
        margin-right: 35px;
    }
    .post-info-sp{
        display: flex;
        justify-content: space-between;
        padding: 15px 0;
    }
    .post-info-sp .category_btn.single__category_btn{
        margin-top: 0;
    }
    .slide-category .side-content{
        padding-bottom: 0;
    }
    p.l-text,
    span.yellow{
        font-size: 24px;
    }
    .header-content{
        padding-bottom: 15px;
    }
    .header .slide-category{
        width: 95%;
    }
}

/* スライド */
ul.slick-dots{
    display: none!important;
}
.slider .slick-slide{
    margin-right: 0px!important;
    margin-left: 0px!important;
    height:auto!important;
}
.slick-current{
    width: 12%;
}
.pickup-link-button{
    width: 115px!important;
    display: block;
    background-color: #FBC51F;
    color: #333;
    border-radius: 15px;
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    line-height: 35px;
    }
@media screen and (max-width: 840px) {
    .slick-initialized .slick-slide{
        display: block!important;
    }
    .slick-initialized .slick-slide{
        justify-content: space-between;
    }
    .pickup-link-button{
        font-size: 16px;
        line-height: 30px;
    }
}
@media (min-width: 2000px) {
    .slick-initialized .slick-slide{
        justify-content: center;
    }
}
.slider{
    display: flex;
    flex-wrap: nowrap; /* 投稿が横に並ぶようにワイドスクリーンにフィット */
    overflow-x: auto; /* スライダー内で横スクロール可能にする */
    -webkit-overflow-scrolling: touch; /* iOSデバイス用にスムーズなスクロールを有効にする */
    width:100%;
    margin:0 auto;
}
.slider img{
    width: 492px;
}
.slider .slick-arrow{
    z-index:2!important;
}
.slider .slick-next{
    right: 23%!important;
    padding-right: 0%;
}
.slider .slick-prev{
    left: 16%!important;
    padding-left: 0%;
}
.slick-slide.slick-cloned.slick-center{
    display: flex;
}
.slick-prev:before, .slick-next:before{
    font-size: 50px!important;
    color: #767676!important;
    font-family: none!important;
}
.slick-next:before {
    content: '>'!important;
    font-weight: 100;
}
    .slick-prev:before {
    content: '<'!important;
    font-weight: 100;
}
.slick-slide.slick-cloned.slick-center {
    display: flex;
}
.slick-initialized .slick-slide{
    display: flex!important;
    width: 849px;
    margin: 0 10%;
}
/* .slide 要素のスタイル */
.slide {
    width: auto; /* 幅を自動調整するか、適切な幅を指定 */
    margin-right: 10px; /* 投稿同士の間隔を設定 */
}

/* .slick-slide 要素のスタイル */
.slick-slide {
    display: inline-block; /* インラインブロック要素として表示 */
    vertical-align: top; /* 上揃えにする */
    width: auto; /* 幅を自動調整するか、適切な幅を指定 */
    margin-right: 10px; /* 投稿同士の間隔を設定 */
}
.slick-dotted.slick-slider{
    margin-bottom: 30px;
}

@media screen and (max-width: 840px) {
    .slider img{
        width: -webkit-fill-available;
    }
    .slick-initialized .slick-slide{
        display: block!important;
    }
    .slider .slick-slide{
        margin-right: 1vw!important;
        margin-left: 1vw!important;
    }
    .slick-dotted.slick-slider{
        margin-bottom: 30px;
    }
    .slider .slick-next{
        right:0!important;
        padding-right: 0;
        margin-right: calc((125VW / 2) - 260px);
    }
    .slider .slick-prev{
        left:0!important;
        /* padding-left: 15%; */
        padding-left: 0;
        margin-left: calc((125VW / 2) - 260px);
    }
    .slick-dotted.slick-slider{
        margin-bottom: 0px!important;
    }
    .slick-prev:before, .slick-next:before{
        font-size: 40px!important;
    }
    .slick-prev, .slick-next{
        top: 35%!important;
    }
    .slide.slick-slide{
        width: 260px;
    }
    .slider .slick-center{
        margin-right: 10vw!important;
        margin-left: 10vw!important;
    }
}
@media (max-width: 600px) {
    .slider .slick-next{
        right:0!important;
        padding-right: 0;
        margin-right: calc((125VW / 2) - 260px);
    }
    .slider .slick-prev{
        left:0!important;
        padding-left: 0;
        margin-left: calc((125VW / 2) - 260px);
    }
}
@media (max-width: 540px) {
    .slider .slick-next{
        right:0!important;
        padding-right: 0;
        margin-right: calc((135VW / 2) - 260px);
    }
    .slider .slick-prev{
        left:0!important;
        padding-left: 0;
        margin-left: calc((135VW / 2) - 260px);
    }
}
@media (max-width: 450px) {
    .slider .slick-next{
        right:0!important;
        padding-right: 0;
        margin-right: calc((145VW / 2) - 260px);
    }
    .slider .slick-prev{
        left:0!important;
        padding-left: 0;
        margin-left: calc((145VW / 2) - 260px);
    }
}
@media (max-width: 385px) {
    .slider .slick-next{
        right:0!important;
        padding-right: 0;
        margin-right: calc((158VW / 2) - 260px);
    }
    .slider .slick-prev{
        left:0!important;
        padding-left: 0;
        margin-left: calc((158VW / 2) - 260px);
    }
}
@media (max-width: 500px) {
    .slick-prev, .slick-next{
        top: 25%!important;
    }
}

/*SafariだけのCSS*/
::-webkit-full-page-media, :future, :root .slick-prev,
::-webkit-full-page-media, :future, :root .slick-next {
	width: 25px;
    height: 50px;
}

/* サイドバー */
.side {
  text-align:left;
  margin-left:40px;
  width: 300px;
} 
.contents .main{
    width: 69%;
}
p.side-title{
    margin-bottom: 20px;
    font-weight: bold;
    font-size: 20px;
    border-left: 6px #FBC51F solid;
    padding-left: 15px;
    text-align:justify
}
p.side-title--18{
    font-size: 18px;
}
.side-date{
    font-size: 14px;
    color: #767676;
    text-align: left;
    line-height: normal;
}
.flex > .post-info > .side-date:nth-child(n + 5){
    font-size: 12px;
}
.side-content > .article > article > .flex > .post-info > .side-date:nth-child(-n + 5){
    font-size: 12px;
}
p.category{
    margin-bottom: 10px;
    font-size: 16px;
}
.side-content{
    padding-bottom: 50px;
}
.side-content .article{
    display: block;
}
.side-box{
    border: 4px solid #FBC51F;
    background-color: #FFFBEE;
    border-radius: 8px;
    padding: 20px 18px;
    margin-bottom: 50px;
    text-align: center;
}
p.side-box-title{
    border-left: none;
    font-weight: bold;
    padding-bottom: 15px;
    font-size: 18px;
}
p.side-box-text{
    padding-bottom: 25px;
    padding-left: 0!important;
}
.button-box button:nth-child(2){
    padding-top: 30px;
}
.flex{
    display: flex;
}
/* .side-content section.blog_rank .flex{
    align-items: baseline;
} */
.flex a{
    /* width: 100%; */
    width: 100px;
}
.article article:nth-child(n+5) .flex a{
    width: 60%; /* 4つ目以降の要素に適用 */
}
.blog_rank .article article:nth-child(n+5) .blog-title__side {
    font-size: 14px;
}
.blog_rank .article article:nth-child(n+5) .blog-title__side{
    padding-bottom: 10px;
}
.blog_rank .article article:nth-child(n+5) .side-date{
    font-size: 12px;
}
.blog_rank .article article:nth-child(n+5) .flex > a {
    width: 70px;
}
.side p.side-text{
    padding-left: 20px;
    line-height: 28px;
}
#sidebar .side p.side-text{
    padding-left: 0;
}
#sidebar .category{
    padding-bottom: 0;
}
.side-content article{
    padding-bottom: 20px;
}
.side-content .article article .flex .thumbnail{
    width: 100%;
    height: auto;
}
.side-content .article article .flex .thumbnail {
    width: 100px; /* すべての.thumbnailに対して100pxを設定 */
}
.side-content .article article:nth-child(n+5) .flex .thumbnail {
    width: 70px; /* 5番目以降の.thumbnailに対して70pxを設定 */
}
.button-box img{
    width: 100%;
}
.button-box a{
    display: block;
}
.button-box > a:nth-child(n + 2){
    margin-top: 30px;
}
.pick-date__side{
    font-size: 14px;
    color: #767676;
    margin-top: 10px;
}
.pickup-block__side{
    display: flex;
}
.pickup-block__side .thumbnail{
    width: 100px;
}
.pickup-block__side .thumbnail img{
    width: 100px;
}
.post-info__side{
    margin-left: 15px;
}
.pickup-block__side:not(:last-child){
    margin-bottom: 20px;
}
#sidebar .article article:not(:nth-child(3n+1)){
    margin-left: 0;
}
@media screen and (max-width: 840px) {
    .header-button{
        display: none;
    }
    p.side-title{
        margin-top: 30px;

    }
    .contact p.side-title{
        margin-top: 30px;
        border-left: 3px #FBC51F solid;
        padding-left: 10px;
    }
    .side{
        max-width: none;
        width: 80%;
    }
    header .side{
        margin-left: unset;
        margin: auto;
        width: auto;
    }
    .slide-category,
    .side-content,
    .side-content.side-box{
        width: 300px;
        margin: auto;
    }
    .side-content{
        width: 95%;
    }
    .side-content.f-content-cat{
        padding-bottom: 0;
    }
    .header #menu-conts .side-content.side-box{
        margin-bottom: 50px;
        max-width: 300px;
    }
    #sidebar{
        display: none;
    }
    .side-content:first-child{
        padding-bottom: 0;
    }
    .side-box p.side-box-title{
        font-size: 18px;
        width: 100%;
        margin-bottom: 10px;
    }
    .side-box p.side-box-text{
        font-size: 16px;
    }
}

/* ボタン */
button.full{
    border-radius: 25px;
    background-color: #FBC51F;
    padding: 11px 52px;
}
button.line{
    border-radius: 50px;
    background-color: #fff;
    border: 4px solid #FBC51F;
    width: auto;
    padding: 13px 40px;
}
.flex-box button{
    position: relative;
}
.flex-box button.more::after{
    content: ">";
    color: #FBC51F;
}
button.category_btn{
    margin-top: 10px;
    font-weight: 400;
}
.category_btn a{
    color: #FBC51F;
    font-size: 18px;
    font-weight: bold;
}
@media screen and (max-width: 840px) {
    .sp-only button.full{
        border-radius: 25px;
        background-color: #FBC51F;
        padding: 10px 32px;
        max-width: 200px;
        width: 100%;
        height: 50px;
    }
    .sp-only button.full{
        padding: 0;
        text-align: center;
    }
    .sp-only button.line{
        background-color: #fff;
        border: 3px solid #FBC51F;
    }
   .button-box{
        padding-bottom: 80px;
    }
    button.category_btn{
        margin-top: 10px;
    }
    .category_btn a{
        font-size: 14px;
    }
}

/* 記事　新着 */
.contents h1{
    font-size: 28px;
    font-weight: bold;
}
.new-box .title-flex{
    padding-top: 0;
}
.title-flex{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
    padding-top: 80px;
}
.post-categories a {
    font-size: 18px;
    color: #767676;
}
h2.blog_title{
    font-size: 18px;
    padding: 10px 0 20px;
    font-weight: bold;
}
h2.blog_title.blog-title__side{
    padding-top: 0;
}
.side-content h2.blog_title{
    font-size: 16px;
    font-weight: normal;
    line-height: normal;
}
.post-list h2.blog_title{
    padding: 0;
}
.date{
    color: #767676;
    text-align: right;
}
.fv-date{
    font-size: 18px;
}
.top-date{
    font-size: 14px;
}
.slide .date{
    width: 400px;
    text-align: left;
}
.single-content .post-categories a{
    color: #FBC51F;
}
@media screen and (max-width: 840px) {
    p.title, .contents h1{
        font-size: 20px;
    }
    p{
        font-size: 14px;
    }
    h2.blog_title{
        /* font-size: 16px; */
        padding-bottom: 10px;
    }
    .new-box .title-flex{
        width: 95%;
        margin: auto;
    }
    .date{
        color: #767676;
        text-align: left;
    }
    .title-flex {
        width: 95%;
        margin: auto;
    }
    .title-flex{
       width: 95%;
       margin: auto;
       padding-top: 50px;
       padding-bottom: 10px;
    }
    .fv-date{
        font-size: 14px;
    }
    .post-categories a {
        font-size: 14px;
    }
    .new-box h2.blog_title{
        font-weight: 400;
    }
}
/* 記事　カテゴリ */
.category-post article:first-child .thumbnail{
    width: 100%;
}
.category-post article:first-child .flex-box{
    display: flex;
    width: 100%;
}
.category-post article:first-child .flex-box .post-info{
    padding-left: 15px!important;
}
.category-post article:first-child .flex-box .blog_title,
.category-bottom article:first-child .flex-box .blog_title{
    font-size: 18px;
}
.article .empty_article {
    height: 250px;
    width: 19%;
    padding-bottom: 60px;
}
body.archive .article{
    justify-content: flex-start;
}
.article article:not(:nth-child(3n+1)){
    margin-left: 5%;
}
body.home .article article:not(:nth-child(3n+1)){
    margin-left: 0;
}
.category-post article{
    /* width: 28%; */
    /* max-width: 250px; */
}
/* .category-post article:first-child{
    width: 50%;
    max-width: 378px;
    padding-bottom: 64px;
} */
.category-post article:first-child .flex-box a{
    width: 100%;
    max-width: 378px;
}
.new-box article{
    width: 28%;
}
.new-box .article{
    justify-content: space-between;
}
body.home .post-slider > .article > article:not(:first-child){
    margin-left: 15px;
}
body.home .category-bottom .article article:not(:first-child){
    margin-left: 8%;
}
/* .category-post .article article:nth-child(n + 3){
    margin-top: 60px;
} */
/* body.home .category-post:first-child .article article .flex-box .thumbnail img{
    object-fit: cover;
    width: 100%;
    max-width: 378px;
    max-height: 378px;
} */
@media screen and (max-width: 840px) {
    .category-post article:first-child{
        width: 100%;
        padding-bottom: 0px;
    }
    .category-post article{
        width: 100%;
    }
    .flex-box{
        display: flex;
        width: 100%;
        margin: auto;
    }
    article > .flex-box{
        min-width: 185px;
        }
    .new-box .flex-box{
        display: block;
    }
    .category-bottom article{
        width: 66%;
        max-width: 584px;
        padding-bottom: 30px;
    }
    .category-bottom article:last-child{
        padding-bottom: 0;
    }
    .article article .flex-box:not(:last-child){
        padding-bottom: 0;
    }
    .category-post article .flex-box a{
        width: 60%;
        max-width: 175px;
    }
    .category-post article:first-child .flex-box a{
        width: 40%;
        min-width: 175px;
        max-width: min-content;
    }
    .new-box article{
        width: 50%;
        }
        .slide-active{
        width: 60%;
        max-width: 250px;
        min-width: 250px;
        }
    section.article article{
        width: 100%;
    }
    section.article article .flex-box a{
        min-width: 175px;
        max-width: 175px;
        width: 100%;
    }
    .home .category-post article .flex-box .post-info,
    .home .category-bottom article .flex-box .post-info{
        padding-left: 15px!important;
    }
    .home .category-post article .flex-box .blog_title, 
    .home .category-bottom article .flex-box .blog_title{
        letter-spacing: 0.07em;
    }
    .article article:not(:nth-child(3n+1)){
        margin-left: 0;
    }
    body.home .category-bottom .article article:not(:first-child){
        margin-left: 0%;
    }
}

/* 実態調査 */

.investigation{
    margin-top: 100px;
    background-color: #FFFBEE;
    border-radius: 5px;
}
.investigation p.investigation-min-title, .investigation p.investigation-title{
    font-size: 16px;
    text-align: center;
    width: 95%;
    margin: auto;
}
.investigation p.investigation-title{
    font-size: 28px;
    font-weight: bold;
    padding: 30px 0 15px;
    width: 95%;
    margin: auto;
    line-height: 39px;
}
.year-data{
    display: flex;
    padding: 30px 0;
}
.new-title{
    display: flex;
    flex-wrap: wrap;
}
p.new-icon{
    padding-right: 10px;
}
p.year-title{
    font-size: 18px;
    font-weight: bold;
    padding-bottom: 15px;
}
p.year-sub-text{
    color: #767676;
    font-size: 14px;
    padding-top: 10px;
}
.year-box{
    width: calc(100% / 3);
    padding: 0 15px;
}
a.button-box{
    text-align: center;
    padding-bottom: 30px;
    display: block;
}
p.new-icon img{
    width: 60px;
}
@media screen and (max-width: 840px) {
    .year-data{
        display: block;
        padding: 0;
        margin-bottom: 30px;
    }
    .year-box{
        width: 95%;
        margin: auto;
    }
    p.year-title, p.new-icon{
        padding-top: 30px;
    }
    .investigation p.investigation-min-title, .investigation p.investigation-title{
        text-align: left;
        padding-right: 15px;
        padding-left: 15px;
        line-height: normal;
    }
    .investigation p.investigation-title{
        font-size: 20px;
        line-height: normal;
        padding-top: 15px;
    }
    .year-box p.year-text{
        font-size: 16px;
        line-height: normal;
    }
    .archive-investigation{
        width: 95%;
        margin: auto;
    }
    p.year-sub-text{
        line-height: normal;
    }    
}

/* フッター */
footer{
    background-color: #000;
    margin-top: 120px;
}
.f-top, .f-bottom{
    width: 90%;
    margin: auto;
    color: #fff;
    padding-top: 60px;
}
.f-content {
    width: 32%;
}
.f-content__inner{
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 5px;
}
.f-top, p.sns-icon, .f-bottom{
    display: flex;
    justify-content: space-between;
}
p.sns-icon{
    justify-content: left;
}
.f-bottom{
    border-top: 1px solid #767676;
}
.logo_lassic {
    display: block;
    width: 60%;
    min-width: 110px;
}
p.sns-icon img{
    width: 30px;
    height: 30px;
    margin: 20px 25px 0 0;
}
p.copyright{
    font-size: 12px;
    text-align: center;
    color: #fff;
    padding: 80px 0 15px;
}
p.side-text{
    padding-bottom: 10px;
}
@media screen and (max-width: 840px) {
    .f-bottom{
        padding-top: 40px;
    }
    .f-top, p.sns-icon, .f-bottom{
        display: block;
    }
    .f-top .logo, .f-bottom .logo, .category, .contact{
        width: 100%;
    }
    .f-top .contact:last-child{
        padding-bottom: 30px;
    }
    footer{
        margin-top: 100px;
    }
    .f-top, .f-bottom{
        width: 94.6%;
        max-width: 500px;
        margin: auto;
    }
    p.sns-icon img{
        margin: 0;
        margin-top: 10px;
    }
    p.sns-icon img:last-child{
        margin-right: 20px;
    }
    p.side-text{
        margin: auto;
        width: 95%;
    }
    p.side-text:not(:last-child){
        padding-bottom: 10px;
    }
}

/* タグ */
.slide_tags a {
    display: block;
    font-size: 16px;
    background-color: #FAC51F;
    border-radius: 20px;
    color: #333;
    font-weight: normal;
    padding: 2px 10px;
    text-align: center;
    line-height: 23px;
}
.slide_tags{
    width: 90%;
    border-top: 1px dashed #D9D9D9;
    margin-top: 50px;
}
.tag-box{
    display: flex;
    flex-wrap: wrap;
}
.title{
    padding: 15px 0 10px;
}
.slide_tags > .title{
    font-weight: 400;
    color: #767676;
}
.tag-box > .tag{
    margin: 15px;
    margin-left: 0;
    margin-bottom: 0;
}
.main-slide .article article{
    width: 67%;
}
.main-slide .post-categories a{
    color: #FBC51F;
}
.main-slide .post-info, .category-post article:first-child .flex-box .post-info{
    padding-left: 50px;
    width: 50%;
    margin: auto 0;
}
.main-slide .post-info{
    padding-left: auto;
    padding-left: 4%;
}
.side-content .post-info{
    padding-left: 15px;
} 
h2.blog_title {
    word-break: break-all;
}
.thumbnail{
    margin: auto 0;
}
.main-slide .post-info h2{
    font-size: 1.5rem;
    font-weight: bold;
    padding-bottom: 30px;
    /* line-height: 49px; */
    line-height: normal;
    max-width: 70%;
    width: 100%;
}
.slick-slide, .slick-current, .slick-active, .slick-center{
    width: auto;
}
@media screen and (min-width: 840px) and (max-width: 1000px) {
    /* ここにスタイルを指定 */
    .main-slide .post-info h2{
        font-size: 18rem;
        font-weight: bold;
        padding-bottom: 30px;
        line-height: 49px;
        width: 100%;
        max-width: 240px;
        font-size: 1.3rem;
        line-height: 28px;
    }
}
@media screen and (max-width: 840px) {
    .flex-box .thumbnail{
        width: 100%;
    }
    .main-slide .post-info, .category-post article:first-child .flex-box .post-info{
        padding-left: 0;
        width: auto;
    }
    .main-slide .post-info, .category-post article:first-child .flex-box .post-info{
        margin: auto 0;
        width: 50%;
    }
    .main-slide .post-info{
        width: 100%;
    }
    .slide_tags a {
        display: block;
        font-size: 16px;
        background-color: #FAC51F;
        border-radius: 20px;
        color: #333;
        font-weight: normal;
        padding: 3px 15px;
        text-align: center;
    }
    .post-info{
        padding-right: 0px;
    }
    .slick-center .post-info{
        padding-right: 10px;
    }
    .main-slide .post-info h2{
        max-width: 100%;
        font-size: 18px;
        line-height: normal;
        padding-bottom: 5px;
    }
    .slide_tags{
        margin: auto;
        margin-top: 50px;
    }
    .pickup-post-block{
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
}

/* 追従ボタン */
.floating{
    position: fixed;
    bottom: 10px;
    right: 0;
}
.floating img{
    width: 210px;
}
@media screen and (max-width: 840px) {
    .floating img{
        width: 135px;
    }
}
/* おすすめの記事 */
p.title{
    font-size: 28px;
    font-weight: bold;
    padding-bottom: 30px;
}
.recommend article{
    width: calc(100% / 3);
}
.recommend article:nth-child(-n+2){
    margin-right: 13px;
}
.recommend .article{
    flex-wrap: nowrap;
}
.recommend-box .article{
    flex-wrap: nowrap;
    overflow-x: hidden;    
    position: relative;
}
@media screen and (max-width: 840px) {
    p.title{
        width: 100%;
        padding-top: 50px;
        padding-bottom: 15px;
    }
    .recommend-article{        
        min-width: 185px;    
    }
}

/* カテゴリページ */
.fa-folder-open-o:before{
    content: none!important;
}
h1.section_title{
    padding-bottom: 19px;
    font-weight: bold;
    font-size: 28px;
}
article.top .category{
    width: 100%;
    padding-bottom: 50px;
}
.category-description{
    font-size: 16px;
    line-height: 28px;
    font-weight: normal;
}
.post-list article{
    padding-bottom: 60px;
    width: 30%;
    /* max-width: 250px; */
}
@media screen and (max-width: 840px) {
    article.top .category{
        width: 95%;
        margin: auto;
    }
    article.top .investigation{
        width: 94.6%;
        margin: auto;
        margin-top: 70px;
    }
    .post-list h2.blog_title{
        padding: 0!important;
    }
    .post-list article {
        padding-bottom: 0px;
    }
    .archive_title_tag .post-list article{
    width: 50%;
    max-width: 370px;
    }
    .post-list article{
    width: 100%;
    max-width: 100%;
    }
    .new-article .post-info{
        width: 100%;
    }
    .article.recommend.sp-only article{
        margin-top: 0;
    }
}

/* ページネーション */
.pagination ul {
    display: flex !important;
    font-weight: bold;
    justify-content: center;
    margin: 40px 0 50px 0;
}
.page-numbers li {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 20px;
}
.page-numbers li .current {
    background-color: #FBC51F;
    color: #333;
}
.page-numbers li a, .page-numbers li span, .page-numbers li .dots {
    width: 60px;
    height: 60px;
    line-height: 60px;
    text-align: center;
}

.page-numbers li img {
    width: 30px;
    height: 30px;
    vertical-align: sub;
}
.category-post section.article{
    display: grid;
    /* grid-template-columns: repeat(3, 1fr); */
    grid-template-columns: repeat(auto-fit,268px);
    /* grid-template-rows: repeat(2, 1fr); */
    grid-template-rows: auto;
    /* width: 100%; */
    grid-column-gap: 4%;
    grid-row-gap: 64px;
}
.category-bottom section.article{
    grid-template-rows: none;
}
@media(min-width: 1279px){
    .category-post section.article{
        grid-template-columns: repeat(auto-fit,265px);
    }
}
@media(max-width: 1275px){
    .category-post section.article{
        grid-template-columns: repeat(auto-fit,235px);
    }
}
@media(max-width: 1165px){
    .category-post section.article{
        grid-template-columns: repeat(auto-fit,205px);
    }
}
@media(max-width: 1080px){
    .category-post section.article{
        grid-template-columns: repeat(auto-fit,195px);
    }
}
@media(max-width: 1025px){
    .category-post section.article{
        grid-template-columns: repeat(auto-fit,165px);
    }
}
@media(max-width: 930px){
    .category-post section.article{
        grid-template-columns: repeat(auto-fit,142px);
    }
}
@media(max-width: 840px){
    .category-post section.article{
        display: block;
    }
}
.grid-1{
    grid-row: 1 / 2;
    grid-column: 1 / 3;
}
.grid-2{
    grid-row: 1 / 2;
    grid-column: 3 / 4;
}
.grid-3{
    grid-row: 2 / 3;
    grid-column: 1 / 2;
}
.grid-4{
    grid-row: 2 / 3;
    grid-column: 2 / 3;
}
.grid-5{
    grid-row: 2 / 3;
    grid-column: 3 / 4;
}

.category-post section.article article:first-child{
    /* width: 70%; */
    /* max-width: 584px; */
}
.category-post section.article article .thumbnail:first-child{
    width: 100%;
}
.page-numbers li a, .page-numbers li span, .page-numbers li .dots {
    width: 60px;
    height: 60px;
    line-height: 60px;
    text-align: center;
    background-color: #fff;
    border-radius: 50%;
}
.post-info .date {
    white-space: nowrap; /* テキストの折り返しを無効にする */
}
@media screen and (max-width: 840px) {
    section.article{
        width: 95%;
        margin: auto;
    }
    .category-post section.article article{
        width: 100%;
        max-width: 100%;
    }
    .category-post section.article article:first-child{
        width: 100%;
    }
    /* .category-post section.article article:first-child{
        margin-top: 10px;
    } */
    .category-post section.article article:not(:first-child){
        margin-top: 30px;
    }
    section.article article:first-child{
        width: 100%;
        max-width: 100%;

    }
    section.article article{
        width: 100%;

    }
}

a:hover{
    opacity: 0.8 ; 
}
.slider {
    width: 100%;
    margin: 0 auto 80px;
}
.slick-slide img {
    width: 100%;
    height: auto;
    min-width: 200px;
}
.mypattern{
    width: 100%;
}
.mypattern .slick-slide{
    margin: 5px;
}
.slide a{
    width: 80%;
    max-width: 400px;
}
.slick-track{
    width: 100000px!important;     
}
section.blog_rank .post-info{
    width: 50%;
    width: 100%;
}

@media screen and (max-width: 840px) {
    .thumbnail img{
        width: 100%;
    }
    .slideshow{
        display: flex;
        flex-direction: column;
    }
    .slide{
        width: 100%;
        margin: 0 auto;
    }
    .slide a{
        margin-top: 10px;
      }
}
.loop {
    padding-top: 30px;
    padding-bottom: 80px;
    overflow: hidden;
}
.loop__box {
    display: flex;
    width: 100vw;
}
.loop__box p {
    min-width: 140vw;
    font-weight: 700;
}
.loop__box p:first-child {
    animation: loop 50s -25s linear infinite;
}

.loop__box p:last-child {
    animation: loop2 50s linear infinite;
}
@keyframes loop {
    0% {
        transform: translateX(100%);
    }
    to {
        transform: translateX(-100%);
    }
}
@keyframes loop2 {
    0% {
        transform: translateX(0);
    }
    to {
        transform: translateX(-200%);
    }
}

.fa-chevron-right:before, .fa-chevron-left:before{
    content: none!important;
}
.top-article{
    display: none;
    flex-wrap: nowrap;
    overflow-x: hidden;
    position: relative;
}
.title-flex:last-child{
    display: none;
}
.title-flex.sp-only{
    display: none;
}
@media (max-width: 840px) {
    .loop__box {
        font-size: 16px;
    }
    .top-article{
        display: flex;
        width: 95%;
        margin: auto;
    }
    .top-article .post-info{
        padding-left: 0!important;
    }
    .top-article .post-info .blog_title{
        font-weight: 400;
        font-size: 16px;
    }
    .new-box h2.blog_title{
        font-size: 16px;
    }
    .title-flex:last-child{
        display: block;
    } 
    .title-flex.sp-only{
        display: flex;
    } 
    .loop__box p {
        min-width: 260vw;
    }
    .loop {
        padding-top: 14px;
        padding-bottom: 80px;
    }
    .fred{
        width: 95%;
        margin: auto;
    }
}

/*TOP*/
body.home .contents{
    max-width: 880px;
}

/*TOP 新着*/
/* .post-slider .flex-box img{
    max-width: 250px;
    min-width: 250px;
    min-height: 250px;
    object-fit: cover;
} */

/*TOP カテゴリ*/
.post-categories li a{
    font-weight: normal;
    font-size: 14px;
}