/*
Theme Name: yabuki
Theme URI: 
Author: 
Author URI: 
Description: 2024/08/19
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 5.7
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: yabuki
Tags: 

/* .wp-block-post-title a {
  text-decoration: none !important;
}
.eyecatch {
  margin-bottom: 50px;
}
.eyecatch img {
  border: 1px solid #ddd;
}
.wp-block-post-terms__prefix { color: var(--wp--preset--color--theme-blue1) !important; } */

/* .wp-block-post-title a {
  text-decoration: none !important;
}
.eyecatch {
  margin-bottom: 50px;
}
.eyecatch img {
  border: 1px solid #ddd;
}
.wp-block-post-terms__prefix { color: var(--wp--preset--color--theme-blue1) !important; } */

.clearfix:after {
  content: "";
  display: block;
  clear: both;
}

/* site-header */
.site-header{
	background: #fff url(https://www.yabuki.clinic/images/bg_title_sub_page.jpg) center center no-repeat;
	background-size: cover;
	font-family: Verdana, MyYuGothicM, YuGothic, -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  max-width: 100%;
  width: 100% !important;
}
@media screen and (min-width: 769px) {
	.site-header {
		margin-top: -8px;
	}
}
.header-main{
  max-width: 1140px;
  margin: 0 auto;
	padding: 0;
	position: relative;
}
@media screen and (min-width: 769px) {
	.header-main {
		height: 176px;
	}
}
.header-main .level2-heading_sub-page {
  font-weight: bold;
	margin-top: 0;
	padding-bottom: 1em;
}
@media screen and (min-width: 769px) {
	.header-main .level2-heading_sub-page {
		margin-top: 0;
		padding-bottom: 2em;
	}
}

/* main-content */
.main-content {
  padding: 10px 10px 0;
}
@media screen and (min-width: 769px) {
  .main-content {
    padding: 15px 15px 0;
  }
}
@media screen and (min-width: 1280px) {
  .main-content {
    width: 1160px;
    padding: 20px 0 0;
  }
}
.main-content a {
	color: #333;
}
.main-content a:hover {
	color: #056491 !important;
}
.main-content .wp-block-query-pagination {
  margin: 48px 0;
}
.main-content .wp-block-query-pagination a {
  text-decoration: underline;
}

/* search-blog */
.main-content .sec-search-blog {
  margin-bottom: 50px;
}
@media screen and (min-width: 769px) {
  .main-content .sec-search-blog {
    margin: 0 0 30px auto;
    width: 240px;
  }
}
@media screen and (min-width: 1280px) {
  .main-content .sec-search-blog {
    width: 300px;
  }
}

/* content-area */
@media screen and (min-width: 769px) {
  .content-area {
    display: flex;
    justify-content: space-between;
  }
  .site-content {
    margin: 0 !important;
    width: calc(70% - 30px);
  }
  .content-sidebar {
    width: 30%;
  }
}
@media screen and (min-width: 1280px) {
  .site-content {
    width: 800px;
  }
  .content-sidebar {
    width: 300px;
  }
}

/* taxonomy-category */
.post .taxonomy-category {
  font-size: smaller;
  margin-bottom: 5px !important;
}
.post .taxonomy-category a {
  text-decoration: underline;
}
.post .taxonomy-category strong {
  color: #056491;
}

/* post */
.recent-posts .post-inner {
  border-bottom: 1px solid #eee;
  margin-bottom: 25px;
}
.post .entry-title {
  color: #056491;
  font-size: 1.6rem;
  font-weight: bold;
  margin-bottom: 8px !important;
}
.post .entry-title a {
  color: #056491;
}
.post .entry-title a:hover {
  text-decoration: underline;
}
.post .wp-block-post-title a {
  text-decoration: none;
}
.post .wp-block-post-date {
  font-size: smaller;
  margin-bottom: 20px;
}
.post .wp-block-post-date a {
  text-decoration: none;
}
.wp-block-post-date::before {
  display: inline-block;
  font-family: "Font Awesome 5 Free"; font-weight: 400; content: "\f017";
  font-style: normal;
  margin-right: 5px;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
}
.post .article-img-wrap {
  padding-bottom: 20px;
}
.post figure.post-thumbnail {
  float: right;
}
.post figure.post-thumbnail img {
  border: 1px solid #ddd;;
  margin-left: 10px;
  height: calc(100% - 10px) !important;
  width: calc(100% - 10px) !important;
}
.post figure.post-thumbnail a:hover img {
  opacity: 0.8;
}
@media screen and (min-width: 1280px) {
  .post figure.post-thumbnail img {
    margin-left: 20px;
    height: calc(100% - 20px) !important;
    width: calc(100% - 20px) !important;
  }
}
.post .wp-block-post-excerpt__more-link {
  background: url(images/icon_arrow.png) no-repeat center right;
  background-size: 25px auto;
  font-size: smaller;
  line-height: 2;
  margin-top: 20px;
  padding-right: 30px;
  text-decoration: underline;
}

.page-title,
.archive-title {
  font-size: 24px;
  font-weight: bold;
  color: #333333;
  border-bottom: 1px solid #056491;
  padding-bottom: 5px;
  margin-bottom: 40px !important;
}

.archive-header {
  margin-bottom: 30px;
}
.archive-header .archive-select {
  font-size: 16px;
}
.archive-header .archive-select select {
  border-style: revert;
  appearance: auto;
  -webkit-appearance: auto;
}
.archive-title .ttl {
  font-size: inherit;
  font-weight: bold;
}
 
.page-title span,
.archive-title span{
  color: #056491;
  font-size: 18px;
  font-family: "Arial";
}

/* past-posts */
.past-posts .post-inner {
  border-bottom: none;
}
@media screen and (min-width: 1280px) {
  .past-posts-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  .past-posts-list li {
    width: 375px;
  }
}
.past-posts-list .taxonomy-category {
  background-color: #eee;
  border-radius: 5px;
  margin-bottom: 15px;
  padding: 5px 10px;
}

/* single-post */
.single-post .entry-header {
  margin-bottom: 40px;
}
.single-post .entry-content p {
  margin-bottom: 20px;
}
.single-post .entry-content img {
  margin: 15px 0;
}

.wp-block-post-navigation-link a {
  text-decoration: underline;
}

.sns-share {
	background: #f5f5f5;
	/* padding: 40px 25px 20px 25px; */
  padding: 20px 20px 10px 20px;
	margin-bottom: 30px !important;
	border-radius: 5px;
}

.sns-share ul {
  display: flex;
	list-style: none;
	padding:0;
	margin: 0;
}
.sns-share li {
	/* display: inline-block;*display: inline;*zoom: 1; */
	padding:0;
	margin: 0;
	/* vertical-align: top; */
}
.sns-share li.twitter {
	width: 100px;
}
.sns-share li.facebook {
	/* margin-top: -4px; */
	/* margin-right: 10px; */
	width: 100px;
}

.fb-comments{
	width: 100% !important;
	
}
.fb-comments, 
.fb-comments iframe,
.fb-comments iframe[style],
.fb-comments span,
.fb-comments span[style] {
    width:100% !important; 
}



/* content-sidebar */
.content-sidebar {
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  padding: 48px 0 0;
}
@media screen and (min-width: 769px) {
  .content-sidebar {
    margin: 0 !important;
    padding: 0 !important;
  }
}
.content-sidebar .sec-about {
  border: 1px solid #056491;
  border-radius: 7px;
  padding-top: 20px;
  margin-bottom: 40px !important;
}
.content-sidebar .sec-about-head {
  justify-content: space-between;
  margin-bottom: 10px;
  width: calc(100% - 20px);
}
.content-sidebar .about-title {
  color: #fff;
  font-family: "Arial";
  font-size: 18px;
  padding: 4px 25px 4px 20px;
}
.wp-block-post-author-biography {
  padding: 0 20px 20px 20px;
  line-height: 2;
}
.content-sidebar .aside-title {
  border-bottom: 1px solid #056491;
  color: #2b2b2b;
  font-family: "Arial";
  font-size: 14px;
  font-weight: 900;
  margin: 0 0 18px;
  padding: 7px 0 4px 20px;
}
.content-sidebar .sec-categories {
  margin-bottom: 40px;
}
.content-sidebar .wp-block-categories-list {
  display: flex;
  flex-wrap: wrap;
  list-style-type: none;
  margin-left: 24px !important;
}
@media screen and (min-width: 769px) {
  .content-sidebar .wp-block-categories-list {
    display: block;
  }
}
.content-sidebar .cat-item {
  margin-right: 10px;
  margin-bottom: 15px;
  text-decoration: underline;
  width: calc(50% - 10px);
}
@media screen and (min-width: 769px) {
  .content-sidebar .cat-item {
    margin-right: 0;
    width: 100%;
  }
}
.content-sidebar .sec-archives {
  margin-bottom: 40px;
}
.content-sidebar .js-archive-list a {
  text-decoration: underline;
}
.content-sidebar .js-archive-list .jaw_symbol {
  color: #056491;
  text-decoration: none;
}
.content-sidebar .js-archive-list li {
  margin-bottom: 10px;
}
.content-sidebar .js-archive-list .jaw_months {
  margin-top: 10px;
  margin-left: 20px;
}
/* .content-sidebar .wp-block-archives-list {
  display: flex;
  flex-wrap: wrap;
  font-size: smaller;
  list-style-type: none;
  margin: 0 0 24px 20px !important;
}
@media screen and (min-width: 769px) {
  .content-sidebar .wp-block-archives-list {
    display: block;
  }
}
.content-sidebar .wp-block-archives-list li {
  margin-right: 10px;
  margin-bottom: 15px;
  width: calc(50% - 10px);
}
@media screen and (min-width: 769px) {
  .content-sidebar .wp-block-archives-list li {
    margin-right: 0;
    width: 100%;
  }
} */
.content-sidebar .sec-search-blog {
  margin-bottom: 40px;
}
.content-sidebar .sec-banner {
  margin-bottom: 40px;
}
.content-sidebar .sec-widget {
  margin-bottom: 40px;
}

/* faq */
.single-ufaq .main-content {
  padding-top: 40px;
}
.single-ufaq .content-area {
  justify-content: center;
}
.single-ufaq .taxonomy-ufaq-category a {
  font-size: smaller;
  pointer-events: none;
}
.single-ufaq .taxonomy-ufaq-category .wp-block-post-terms__prefix a {
  pointer-events: inherit;
  text-decoration: underline;
}
.single-ufaq .faq-main {
  background-color: #edf9ff;
  border: 1px solid #aaa;
  border-radius: 20px;
  margin-bottom: 60px;
  padding: 50px 30px;
}
.single-ufaq .faq-main .ewd-ufaq-faq-title-text {
  align-items: center;
  display: flex;
  float: none;
  width: 100%;
}
.single-ufaq .faq-main .ewd-ufaq-faq-title-text::before {
  align-items: center;
  background-color: #056492;
  border-radius: 50%;
  color: #fff;
  content: "Q";
  font-size: larger;
  height: 60px;
  line-height: 60px;
  text-align: center;
  width: 60px;
}
.single-ufaq .faq-main .ewd-ufaq-faq-title-text h4 {
  font-size: larger;
  line-height: 1.5;
  margin: 0 0 0 15px!important;
  width: calc(100% - 75px);
}
.single-ufaq .faq-main .ewd-ufaq-faq-title {
  margin-bottom: 20px;
}
.single-ufaq .faq-main .ewd-ufaq-faq-title a {
  pointer-events: none;
}
.single-ufaq .faq-main .ewd-ufaq-post-margin-symbol {
  display: none;
}
.single-ufaq .faq-main .ewd-ufaq-faq-body {
  padding: 0;
}
.single-ufaq .faq-main .ewd-ufaq-faq-body .wp-block-list {
  margin: 0 0 10px 20px;
}

.single-ufaq .sec-faq-list-wrap {
  margin-bottom: 60px;
}
.single-ufaq .sec-faq-list-wrap .ewd-ufaq-faqs {
  border-top: 2px solid #f5f5f5;
  padding-top: 20px;
}
.single-ufaq .sec-faq-list-wrap .ewd-ufaq-faq-category {
  border-bottom: 2px solid #f5f5f5;
}
.single-ufaq .sec-faq-list-wrap .ewd-ufaq-faq-category-title h3 {
  background-color: #056491;
  border-radius: 5px;
  color: #fff;
  margin-bottom: 30px;
  padding: 10px;
  pointer-events: none;
}
.single-ufaq .sec-faq-list-wrap .ewd-ufaq-faq-title a {
  display: inline;
  text-decoration: underline;
}
.single-ufaq .sec-faq-list-wrap .ewd-ufaq-post-margin-symbol {
  display: none;
}
.single-ufaq .sec-faq-list-wrap .ewd-ufaq-faq-title-text {
  float: none;
  width: 100%;
}
.single-ufaq .sec-faq-list-wrap .ewd-ufaq-faq-title-text h4 {
  font-weight: normal;
  margin: 0 !important;
  text-decoration: underline;
}
.single-ufaq .sec-faq-list-wrap .ewd-ufaq-faq-div {
  margin: 0;
  padding: 0;
}
.single-ufaq .sec-faq-list-wrap .ewd-ufaq-faq-title {
  margin-bottom: 15px;
}
.single-ufaq .sec-faq-list-wrap .ewd-ufaq-faq-title p {
  display: none;
}
.single-ufaq .sec-faq-list-wrap p br {
  display: none;
}


/* footer */
@media screen and (max-width: 768px) {
  .l-footer {
    padding: 30px 0 calc(62px + 30px);
  }
}

/* footer-fixed-nav */
.footer-fixed-nav__item a {
  text-decoration: none;
}
.footer-fixed-nav__item i {
  position: absolute;
  top: calc(1em + (1rem - 1em) * 0.5);
  left: 50%;
  transform: translate(-50%, 0);
}
