/*
Theme Name: Snow Monkey
Theme URI: https://snow-monkey.2inc.org
Author: inc2734
Author URI: https://2inc.org
Description:
Version: 29.1.6
License: GPLv2 or later
License URI: license.txt
Tags: editor-style, featured-images
Text Domain: snow-monkey
Requires at least: 6.8
Tested up to: 6.8
Requires PHP: 7.4
*/
#zdc_header_widget {
    text-align: center;
}

img[class*=wp-image-] {
    box-shadow: none;
}

img {
    max-width: 100% !important;
}

.c-page-header {
    max-height: 300px !important;
}

.c-page-header .c-page-header__bgimage img {
    max-width: 100% !important;
    max-height: 300px !important;
}
@media (max-width: 800px) {
.c-page-header {
    max-height: 150px !important;
}

.c-page-header .c-page-header__bgimage img {
    max-height: 150px !important;
}
}

.js-bg-parallax {
    min-height: 130px !important;
}

@media (min-width: 64em) {
    .js-bg-parallax {
        min-height: 300px !important;
    }
}

.c-page-header__content {
    text-shadow: 0 0 7px rgba(0, 0, 0, 3);
}

.c-site-branding .custom-logo,
.wpaw-site-branding .custom-logo {
    height: auto;
    width: 70px !important;
}

@media (min-width: 64em) {
    .c-site-branding .custom-logo,
    .wpaw-site-branding .custom-logo {
        height: auto;
        width: 100px !important;
    }
}

.widget_categories ul li.cat-item:before {
    font-family: 'Font Awesome 5 Free';
    content: '\f138';
    margin-right: 5px;
    font-weight: 900;
    color: #1c459b;
}

.children-expander {
    color: #fff;
    background: #1c459b;
    padding: 0;
    width: 18px;
    height: 18px;
    line-height: 18px;
    text-align: center;
    display: inline-block;
}


ul.zdc_sidebar_widget {
    list-style: none;
    margin: 2em auto;
    overflow: hidden;
}

ul.zdc_sidebar_widget img {
    max-width: 100%;
}

.c-meta__item,
.c-meta__item--author {
    display: none;
}

body.home .c-pagination {
    display: none;
}

.c-entries__item {
    position: relative;
}

.c-entries__item .new_bg {
    position: absolute;
    top: 0;
    left: 0 !important;
    z-index: 2;
}

.c-entries__item .new_bg::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 70px 70px 0 0;
    border-color: #ff69b4 transparent transparent transparent;
    filter: alpha(opacity=80);
    -moz-opacity: 0.8;
    opacity: 0.8;
}

.c-entries__item .new_bg .new {
    position: absolute;
    top: 8px;
    left: 7px;
    z-index: 3;
    color: #fff;
    transform: rotate(-45deg);
}

.c-prev-next-nav {
    display: none;
}

#zdc_header_widget,
#zdc_footer_widget {
    text-align: center;
    margin: 1em auto;
}

#zdc_header_widget img,
#zdc_footer_widget img {
    padding: 0;
    margin: 0;
    max-width: 100%;
}

.cat-item.cat-item-94,
.cat-item.cat-item-94 {
    display: none;
}

.wpaw-ranking__item::before {
    counter-increment: wpaw_ranking;
    content: none !important;
    display: none !important;
    height: 0px;
    width: 0px;
    background-color: none !important;
}

/*
フォトギャラリー固定ページでは、フッターのフォトギャラリーを表示しない。
*/
#foogallery {
    text-align: center;
}
#foogallery .bnr{
    margin-bottom: 2em;
}
.page-id-1434 .l-footer-widget-area{
    display: none;
}

img.aligncenter,
.aligncenter,
figure.aligncenter,
.wp-block-image.aligncenter,
.wp-block-image .aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/*「記事一覧」見出し非表示*/
body.blog .c-entry__header {
    display: none;
}

.wp-block-image figcaption {
 display: block !important;
}