@charset "UTF-8";

/* ===================================
   リセットCSS
   =================================== */
ul, ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

li {
    list-style: none;
}

/* ===================================
   基本スタイル
   =================================== */
a {
    text-decoration: none;
    color: #333;
}

a:hover {
    -webkit-transition: .7s;
    -moz-transition: .7s;
    -o-transition: .7s;
    transition: .7s;
}

a img:hover,
a:hover {
    -moz-opacity: .75;
    opacity: .75;
}

img {
    vertical-align: top;
    font-size: 0;
    line-height: 0;
    height: auto;
    max-width: 100%;
}

main img {
    width: 100%; 
    height: auto;
}

/* ===================================
   コンテナ
   =================================== */
#container {
    width: 960px;
    margin: 0 auto;
    text-align: left;
    display: inline-block;
}

/* ===================================
   パンくずリンク
   =================================== */
.pankuzLink {
    width: 100%;
    max-width: 960px;
    margin: 16px auto 16px;
}

#pankuzLink {
    font-size: 12px;
    padding: 5px 0 20px;
    line-height: 1.4;
    text-align: left;
}

#pankuzLink a {
    color: #000;
}

#pankuzLink a:hover {
    color: grey;
}

#pankuzLink li {
    display: inline;
    padding: 0;
    margin: 0;
}

#pankuzLink li+li:before {
    content: ">";
    vertical-align: top;
    position: relative;
    top: -3px;
    padding: 0 10px;
}

/* ===================================
   共通ボックス
   =================================== */
.under_box {
    width: 100%;
    max-width: 960px;
    margin: 16px auto 16px;
}

.date_in {
    font-size: 12px;
}

main .clear {
    clear: both;
}

/* ===================================
   レイアウト構造
   =================================== */
main .TopContentwrap {
    display: flex;
    gap: 30px;
    margin: 0 auto;
    max-width: 960px;
    justify-content: space-between;
}

main .TopContent_main {
    flex: 1;
    min-width: 0;
    line-height: 1.8;
    font-size: 16px;
    overflow-wrap: break-word;
}

main .TopContent_main p {
    margin: 0 0 26px;
}

main .TopContent_side {
    width: 300px;
    flex-shrink: 0;
}

/* ===================================
   バナー表示
   =================================== */
main .bannerbox {
    margin: 16px 0;
}

main .bannerbox .banner_inner {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

main .bannerbox .banner_inner li {
    width: 100%;
}

main .bannerbox .banner_inner.multiple li {
    width: calc(50% - 10px);
}

main .bannerbox img {
    width: 100%;
    height: auto;
}

main .custom-bannerbox.custom-sidebar-box {
    margin: 16px auto 16px;
    padding: 0;
}

main .custom-banner-inner {
    list-style: none;
    padding: 0;
    margin: 0;
}

main .custom-banner-inner.custom-multiple .custom-banner-item {
    margin-bottom: 12px;
}

main .custom-banner-item {
    display: block;
    margin-bottom: 12px;
}

main .custom-banner-item a {
    display: block;
}

main .custom-banner-item picture {
    display: block;
    width: 100%;
}

main .custom-banner-item img {
    width: 100%;
    height: auto;
}

/* ===================================
   タグ・カテゴリー表示セクション
   =================================== */
main .TopContentwrap .tag_sec {
    width: 100%;
}

main .TopContentwrap .tag_sec .favotag {
    margin-bottom: 22px;
    padding-top: 24px;
}

main .column_wide .favotag {
    margin-bottom: 8px;
    padding-top: 4px;
}

main .TopContentwrap .tag_sec .favotag h2 {
    margin-bottom: 26px;
    text-align: center;
}

main .TopContentwrap .tag_sec .favotag h2 .tag_title {
    padding: 2px 0 0 28px;
    display: inline-block;
    font-size: 20px;
    background: url(../image/icon02.png) no-repeat left 8px;
    background-size: auto auto;
}

main .TopContentwrap .tag_sec .tag_list {
    display: inline-block;
}

main .TopContentwrap .tag_sec .tag_list li {
    margin-bottom: 10px;
    margin-right: 3px;
    display: inline-block;
}

main .TopContentwrap .tag_sec .tag_list li a {
    padding: 1px 10px 0;
    display: inline-block;
    font-size: 12px;
    text-align: center;
    text-decoration: none;
    border-radius: 10px;
    background-color: #f2f2f2;
    line-height: 1.5;
}

main .TopContentwrap .tag_sec .tag_count {
    color: #999;
}

/* ===================================
   ランキング・カテゴリータイトル
   =================================== */
main .ranking_list_title {
    margin-bottom: 26px;
    text-align: center;
}


/* ===================================
   記事一覧
   =================================== */
main .post_list {
    line-height: 1.5;
}

main .post_list .archive_list {
    margin-top: -35px;
    margin-bottom: 46px;
    margin-left: -2.3%;
    margin-right: -2.3%;
    display: flex;
    flex-wrap: wrap;
}

main .archive_list li {
    margin-top: 35px;
    width: 28.4%;
    display: block;
    margin-left: 2.3%;
    margin-right: 2.3%;
    border: 1px solid #e5e5e5;
    position: relative;
}

main .archive_list li .post_box {
    position: relative;
    height: 100%;
}

main .archive_list li .post_box a {
    padding-bottom: 16px;
    display: block;
    position: relative;
}

main .archive_list .archive_img {
    margin-bottom: 17px;
    position: relative;
    height: 150px;
    overflow: hidden;
    width: 100%;
}

main .archive_list .archive_img img {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    width: auto;
    max-width: none;
    height: 150px;
    vertical-align: top;
}

main .archive_list .archive_data_box {
    position: relative;
    margin: 0 5%;
}

main .archive_list .cat_box {
    margin-bottom: 2px;
    margin-right: 5px;
    color: #f05579;
    font-size: 12px;
    font-weight: bold;
    display: inline-block;
    color: #f7a01e !important;
}

main .archive_list .post_title {
    margin-bottom: 8px;
    width: 100%;
    display: block;
    font-size: 14px;
    font-weight: bold;
    line-height: 1.6;
}

main .archive_list .date {
    position: absolute;
    top: 2px;
    right: 0;
    font-size: 10px;
    line-height: 15px;
    color: #c6c6c6;
}

/* ===================================
   サイドバー・ランキング
   =================================== */
main #side_bar {
    margin-top: 16px;
}

main .ranking_list {
    margin-bottom: 20px;
}

main .ranking_list_title {
    text-align: center;
    font-size: 20px;
    margin: 32px 0 24px;
}

main .ranking_list_title .rank_tt {
    width: 100%;
    padding-left: 20px;
    margin-bottom: 26px;
    background: url(../image/icon_rank.svg) no-repeat left 0px;
    background-size: 18px;
}

main .ranking_list_title .other_post {
    width: 100%;
    padding-left: 24px;
    margin-bottom: 26px;
    background: url(../image/icon_kiji.svg) no-repeat left 0px;
    background-size: 20px;
}

main .rank_list {
    margin: 0;
    padding: 0;
}

main .rank_list li {
    margin-bottom: 17px;
    position: relative;
    overflow: inherit;
    float: none;
    clear: both;
}

main .rank_list .subBox {
    padding: 0 5px 15px 0;
    border-bottom: 1px solid #000;
    overflow: hidden;
}

main .rank_list .subBox a {
    display: block;
}

main .rank_list .photoBox {
    width: 90px;
    height: 90px;
    position: relative;
    float: left;
    overflow: hidden;
}

main .rank_list .photo img {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    width: auto;
    max-width: none;
    height: 90px;
}

main .rank_list .textBox {
    margin-top: -2px;
    width: 67.2%;
    float: right;
}

main .rank_list .textBox .cat_box {
    margin-bottom: 2px;
    margin-right: 5px;
    color: #f05579;
    font-size: 12px;
    font-weight: bold;
    display: inline-block;
    color: #f7a01e !important;
}

main .rank_list .textBox .text_title {
    margin-bottom: 2px;
    display: block;
    font-size: 13px;
    font-weight: bold;
    line-height: 1.65;
}

main .rank_list .count {
    display: block;
    color: #999;
    font-size: 10px;
}

/* カテゴリー一覧 */
main .ranking_list_inner .category_menu_list {
    margin: 0;
    padding: 0;
    list-style: none;
}

main .ranking_list_inner .category_menu_item {
    padding: 12px 5px 15px 0;
    border-bottom: 1px solid #000;
    overflow: hidden;
}

main .ranking_list_inner .category_menu_item a {
    display: block;
}

main .ranking_list_inner .category_name {
    font-size: 14px;
    font-weight: 500;
}

main .ranking_list_inner .category_count {
    font-size: 12px;
    color: #999;
}

/* ===================================
   記事詳細ページ
   =================================== */

/* コラム全体のコンテナ */
main .column_wide {
    padding: 0;
}

main .column_wide h2 span,
main .column_wide h2 {
    font-size: 18px !important;
}

main .column_wide h3 span,
main .column_wide h3 {
    font-size: 16px !important;
}

main .column_wide h2 {
    margin-bottom: 12px;
}

/* 記事エントリー */
main .entry-title {
    font-size: 24px;
    line-height: 1.6;
    margin-bottom: 25px;
    background-color: #f5f5f5;
    padding: 16px;
}

main .entry-content {
    margin-top: 16px;
}

main .entry-header {
    margin-bottom: 20px;
}

main .entry-event {
    padding: 20px 0;
}
main  .table_of_contents {
    font-size: 16px;
    line-height: 1.5;
    background: #eee;
    padding: 1em;
    border-radius: 6px;
    margin-bottom: 2em;
  }

main .columnDet_body p {
    line-height: 2;
    margin: 8px 0;
}

/* イベント情報 */
main .eventDetTime__dl {
    display: table;
    border-bottom: solid 1px #9fa0a0;
    width: 100%;
    font-size: 15px;
}

main .eventDetTime__dl dt {
    width: 60px;
    font-weight: 700;
}

main .eventDetTime__dl dt,
main .eventDetTime__dl dd {
    display: table-cell;
    padding: 11px 0;
    line-height: 1.5;
}

main #eventDetTime {
    margin-bottom: 20px;
}

/* 見出しスタイル */
main .eventHeading {
    font-size: 18px;
    margin: 45px auto 15px;
    padding-left: 15px;
    position: relative;
}

main .eventHeading::before {
    background-color: #6782ae;
    content: "";
    display: block;
    height: 1.8em;
    position: absolute;
    left: 0;
    top: -6px;
    width: 3px;
}

/* ===================================
   目次
   =================================== */
main #toc_container {
    padding: 20px;
    background-color: #F9F7F4;
    margin-bottom: 16px;
}

main #toc_container.no_bullets {
    list-style: none;
}

main .toc_title {
    text-align: center;
    font-size: 15px;
    margin-bottom: 20px !important;
    margin: 0 0 28px;
}

main .toc_list {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

main .toc_list li {
    margin-bottom: 6px;
    clear: both;
    line-height: 1.3;
}

main .toc_list li a {
    font-size: 14px;
    text-decoration: underline;
    box-shadow: none;
    color: #4382a9;
    word-wrap: break-word;
    word-break: break-all;
}

/* ===================================
   SNSシェアリンク
   =================================== */
main .sns-link {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    list-style: none;
    margin-bottom: 15px;
}

main .sns-link li {
    flex: 1;
    margin: 3px;
}

main .sns-link li a {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0px;
    text-decoration: none;
    color: #fff;
    text-align: center;
    transition: all 0.3s ease;
}

main .sns-link li a img {
    width: 24px;
    height: 24px;
}

main .sns-link li.fb a {
    border: 2px solid #1877f2;
    background: #1877f2;
}

main .sns-link li.x a {
    border: 2px solid #000000;
    background: #000000;
}

main .sns-link li.ln a {
    border: 2px solid #00b900;
    background: #00b900;
}

/* ===================================
   ページネーション
   =================================== */
.wp-pagenavi {
    margin: 40px auto;
    font-size: 12px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8FC31F;
}

.wp-pagenavi a {
    color: #333;
}

.wp-pagenavi span.current,
.wp-pagenavi a.page,
.wp-pagenavi .extend,
.wp-pagenavi .first,
.wp-pagenavi .last {
    margin: 0 10px 0 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    line-height: 40px;
    text-align: center;
    box-sizing: border-box;
    justify-content: center;
    display: flex;
    align-items: center;
}

.wp-pagenavi span.current {
    border: solid 1px #6782ae;
}

.wp-pagenavi a.page:hover,
.wp-pagenavi .first,
.wp-pagenavi .last {
    background: #6782ae;
    color: #fff;
}

.wp-pagenavi .previouspostslink,
.wp-pagenavi .nextpostslink {
    display: none;
}

/* ===================================
   メディアクエリ（999px以下）
   =================================== */
@media only screen and (max-width: 999px) {
    #container {
        width: 95%;
    }
    
    #pankuzLink.spOnly {
        padding: 20px 15px;
        display: block;
    }
}

/* ===================================
   メディアクエリ（767px以下）
   =================================== */
@media screen and (max-width: 767px) {
    /* パンくずリンク */
    #pankuzLink.spOnly {
        padding: 20px 15px;
        display: block;
    }
    
    /* レイアウト関連 */
    main .TopContentwrap {
        flex-direction: column;
        gap: 20px;
    }
    
    main .TopContent_side {
        width: 100%;
    }
    
    /* コラム全体 */
    main .column_wide {
        padding: 0 2%;
    }
    
    main .column_wide h3 span,
    main .column_wide h3 {
        font-size: 14px !important;
    }
    
    /* 記事エントリー */
    main .entry-title {
        font-size: 19px;
        line-height: 1.6;
    }
    
    main .TopContent_main p {
        margin-bottom: 20px !important;
    }
    
    /* タグ・カテゴリー */
    main .TopContentwrap .tag_sec .tag_list {
        display: inline;
    }
    
    main .TopContentwrap .tag_sec .tag_list li a {
        padding: 5px 10px;
        display: inline-block;
        font-size: 10px;
        text-align: center;
        text-decoration: none;
        border-radius: 30px;
        background-color: #f2f2f2;
    }
    
    main .TopContentwrap .tag_sec .favotag h2 .tag_title {
        padding-left: 28px;
        display: inline-block;
        font-size: 20px;
        background: url(../image/icon02.png) no-repeat left 8px;
        background-size: 14px;
    }
    
    
    /* 記事一覧 */
    main .post_list .archive_list {
        margin-top: -15px;
        margin-bottom: 30px;
        margin-left: -6px;
        margin-right: -6px;
    }
    
    main .archive_list li {
        margin-top: 15px;
        width: calc((100% - 24px) / 2);
        margin-left: 6px;
        margin-right: 6px;
        display: block;
        box-sizing: border-box;
    }
    
    main .archive_list .archive_img {
        height: 128px;
        margin-bottom: 4px;
        width: auto;
    }
    
    main .archive_list .cat_box {
        margin-bottom: 1px;
        font-size: 10px;
    }
    
    main .archive_list .post_title {
        width: 100%;
        margin-bottom: 0;
        font-size: 13px;
        line-height: 1.5;
    }
    
    /* サイドバー・ランキング */
    main #side_bar {
        margin-top: 0;
    }
    
    main .ranking_list {
        background-color: #f0f0f0;
        padding: 32px 32px 16px 32px;
        margin: 64px 0 32px;
    }
    
    main .ranking_list_title .rank_tt {
        margin-bottom: 23px;
        padding-left: 26px;
        font-size: 20px;
        background: url(../image/icon_rank.svg) no-repeat left 0px;
        background-size: 18px;
    }
    
    main .ranking_list_title .other_post {
        margin-bottom: 23px;
        padding-left: 26px;
        font-size: 20px;
        background: url(../image/icon_kiji.svg) no-repeat left 0px;
        background-size: 18px;
    }
    
    main .rank_list .phptoBox {
        width: 80px;
        height: 80px;
    }
    
    main .rank_list .photo img {
        height: 80px !important;
        margin: 0 auto;
    }
    
    main .rank_list .textBox {
        padding-left: 97px;
        width: auto;
        float: none;
    }
}
