/*
Theme Name: Sasakawa Leprosy
Theme URI: https://sasakawa.jp
Author: Japr
Author URI: https://sasakawa.jp
Description: Sasakawa theme
Version: 0.0.1
*/

/*
This file is just used to identify the theme in WordPress.
The compiled CSS output can be found in /css/theme.css
The SASS sources for it can be found in /sass/
The dependencies can be found in /src/ after running "gulp copy-assets" terminal command

...and now go out and play!
*/
.single .categories-links,
.single .tags-post-links {
	margin-top: 35px;
}
.categories-links a {
	position: relative;
    display: inline-block;
    color: #007F6E;
    border: 2px solid #007F6E;
    border-radius: 1.5rem;
    text-align: center;
    font-size: 1.4rem;
    padding: 0 1.5rem;
    line-height: 2.5rem;
    background: #fff;
    cursor: pointer;
    margin-right: 1.5rem;
    margin-top: 10px;
}
.categories-links a:hover {
    text-decoration: none !important;
    border-color: #007F6E;
    color: #fff !important;
    background: #007F6E;
}
.tags-post-links a {
	text-decoration: underline;
    color: #000;
    margin-right: 10px;
    font-size: 14px;
}
.single .categories-links a,
.single .tags-post-links a {
	margin-right: 20px;
}
.flex {
	display: flex;
}
.align-center {
	align-items: center;
}
.flex.categories-links a {
	display: block;
}
#category {
    margin-right: 30px;
}
#terms {
    min-width: 200px;
    max-width: 100%;
}
.entry-content h2 {
    background: #905455;
    padding: 5px;
    color: #ffffff;
    margin-bottom: 10px;
    line-height: 2.2;
}
.entry-content h3 {
    font-size: inherit;
    line-height: 2.2;
    padding: 5px;
    margin-bottom: 10px;
    border-top: 3px solid #905455;
    border-bottom: 3px solid #905455;
}
.entry-content h4 {
    font-size: inherit;
    line-height: 2.2;
    padding: 5px;
    margin-bottom: 10px;
    border-left: 3px solid #905455;
}
.container-fluid figure.initiative_img {
    max-width: 100%;
    width: 100%;
    margin: 0;
}
a.anchor_blank {
    font-size: 0px;
}
.page-template-goodwill a {
    color: #BE1921;
}
p.line-height-2-2 {
    line-height: 2.2;
}
.anchor_blank_block a,
.color-red-p a {
    position: relative;
    color: #BE1921;
}
.anchor_blank_block a:after {
    content: '';
    background: url(images/blank.svg.png) no-repeat right center;
    display: inline-block;
    height: 13px;
    width: 13px;
    line-height: 22px;
    vertical-align: middle;
    margin-left: 4px;
}
.resourcesEntryBody .resource-box p.anchor_blank_block,
.aboutHealthContainer p.anchor_blank_block {
    margin-bottom: 0px;
}

.resourcesEntryBody .resource-box p.margin-3rem {
    margin-bottom: 3rem;
}
.hansensStigmaContainer p.no-margin-bottom,
.visionTacklingContainer p.no-margin-bottom {
    margin-bottom: 0px;
}
.hansensStigmaContainer .box-note .wp-block-group__inner-container>p {
    margin-bottom: 1rem;
}
.anchor_blank_block a[href]:hover,
.color-red-p a[href]:hover {
    color: #BE1921;
    text-decoration: underline;
}
.box-note p:last-child {
    margin-bottom: 0px !important;
}
.zt-readmore.color-red a {
    color: #BE1921;
}
.zt-readmore.color-red:hover a {
    background: #BE1921;
    color: #fff;
}
#zt-top-leprosy {
    background: #e1e0e0;
}
.home #zt-top-resource h3, .home #zt-top-news h3, .home #zt-top-media h3, .home #zt-top-press h3, .home #zt-top-contact h3 {
    color: #2d2d2d;
}
/*#zt-top-contact .zt-readmore.contact-color {
    color: #00be8f;
}*/
.listCard_1__itemPick {
    font-size: 1.4rem;
    font-weight: bold;
    color: #fff;
    position: absolute;
    top: 10px;
    left: -10px;
    z-index: 2;
    background-color: #910015;
    padding-left: 10px;
    padding-right: 10px;
    -webkit-box-shadow: 1px 1px 3px 1px rgb(0 0 0 / 10%);
    box-shadow: 1px 1px 3px 1px rgb(0 0 0 / 10%);
}
.listCard_1__itemPick:before {
    content: "";
    width: 0;
    height: 0;
    position: absolute;
    left: 0;
    bottom: -6px;
    border-style: solid;
    border-width: 0 10px 6px 0;
    border-color: transparent #5f181b transparent transparent;
}
.block-news .card img {
    width: 100%;
}
#zt-slider .swiper-button-prev {
    background-image:  url(images/left.png);
}
#zt-slider .swiper-button-next {
    background-image:  url(images/right.png);
}
@media (max-width:  768px) {
    .block-news .newsSpCard .card-body {
        padding: 10px !important;
    }
}
@media (min-width: 769px) {
     .home #zt-top-news h3 {
        font-size: 4.8rem;
     }
     .navbar #navbarNavDropdown .dropdown-menu .row .col-md-12.latest-updates {
        max-width: 650px;
     }
     .dropdown-menu .latest-updates .sub-menu-list {
        display: flex;
        justify-content: space-between;
        align-items: center;
     }
     .dropdown-menu .latest-updates .sub-menu-list >li:first-child {
        min-width: inherit;
     }
    /*.news_div.col-md-30 {
        background: #fff;
        margin-bottom: 15px;
        padding: 0px;
    }*/
    .block-news .news_div.col-md-30 .card {
        margin-top: 0px;
    }
    .block-news .news_div.col-md-30 .card .card-body {
        padding-left: 15px;
        padding-right: 15px;
    }
    .container-fluid .max100 figure {
        max-width: 100%;
    }
    .block-news .card .card-text {
        min-height: 80px;
    }
}


/* 追加分 */
.entry-content h1 {
  margin-bottom: 10px;
  line-height: 1.75;
  font-size: 4rem;
}

@media only screen and (min-width: 768px) {
  .entry-content h1 {
    font-size: 4.8rem;
  }
}

.entry-content h2 {
  background-color: transparent;
  margin-top: 15px;
  margin-bottom: 3px;
  padding: 0;
  color: inherit;
  font-size: 2.8rem;
  line-height: 1.75;
}

@media only screen and (min-width: 768px) {
  .entry-content h2 {
    font-size: 3.2rem;
  }
}

.entry-content h3,
.entry-content h4,
.entry-content h5 {
  font-family: "Lato", sans-serif;
  font-size: 2.2rem;
  margin-top: 20px;
  margin-bottom: 10px;
}

@media only screen and (min-width: 768px) {
  .entry-content h3,
  .entry-content h4,
  .entry-content h5 {
    font-size: 2.4rem;
  }
}

.entry-content h4 {
  line-height: 1.66;
}

.entry-content h6 {
  font-size: 1.8rem;
  margin-top: 16px;
  margin-bottom: 8px;
}
.has-赤-background-color {
    background-color: #be1921 !important;
}

.has-濃赤-background-color {
    background-color: #910015 !important;
}

.has-緑-01-background-color {
    background-color: #007463 !important;
}

.has-緑-02-background-color {
    background-color: #00be8f !important;
}

.has-グレー-background-color {
    background-color: #e1e0e0 !important;
}

.has-濃いグレー-background-color {
    background-color: #2d2d2d !important;
}

.has-濃い小豆色-background-color {
    background-color: #58171b !important;
}

.has-薄い小豆色-2-background-color {
    background-color: #95464b !important;
}