@media screen and (min-width: 960px) {
  .p-mainVisual__inner {
    height: auto;
    max-height: 770px;
    max-width: 1200px;
    margin: 0 auto;
  }
}

.l-content {
  margin-bottom: 3em;
}
@media (min-width: 600px) {
  .l-content {
    padding-top: 2em
  }
}

.l-mainContent__inner>.post_content {
  margin: 2em 0;
}

#main_content .p-toc {
  margin: 2em auto 0.5em auto;
}

.top #content {
  padding-top: 1.6em;
}

.l-content {
  margin-bottom: 2em;
}



#footer .widget_media_image {
	text-align: center;
}

.ft_logo {
  height: 50px !important;
  width: auto;
}
@media screen and (min-width: 960px) {
  .ft_logo {
    height: 60px !important;
  }
}

#footer .c-listMenu a {
  border: 0;
}

@media screen and (max-width: 960px) {
  .w-footer__box {
   padding: 0;
  }
}
.w-beforeFooter {
   margin: 0;
}

.post_content h2 {
  margin-top: 3em;
}

.home .top #content {
  padding-top: 0;
}

.home .post_content h2.wp-block-heading {
  background: none !important;
  padding: 0;
	margin-bottom: 1.5em;
  color: #ab9a69;
  text-align: center;
	font-size: 1.3em;
	font-weight: 700;
}

.home .post_content h2.wp-block-heading.index_title_green {
  color: #acbe8d;
	font-size: 1.2em;
	line-height: 1.8;
	margin-top:0;
}

@media screen and (min-width: 600px) {
  .home .post_content h2.wp-block-heading {
    font-size: 24px;
		margin-bottom: 2em;
  }
	.home .post_content h2.wp-block-heading.index_title_green {
    font-size: 22px;
	}
}

.-type-card .p-postList__item {
  margin-bottom: 2em;
}

.home .post_content .index_block_doctor .swell-block-column {
  background: #f1f3e6;
}

.home .post_content .index_block_doctor h3.wp-block-heading {
  font-size: 1.1em;
  line-height: 1.6;
  margin: 0 auto 1.5em auto;
  padding: 15px 0;
  text-align: center;
  background: #bbc791;
  color: #fff;
	border-radius:100px;
  max-width: 500px
}

@media screen and (min-width: 600px) {
  .home .post_content .index_block_doctor_name {
    text-align: left;
  }
}

.home .post_content .index_block_doctor h3.wp-block-heading::before {
  border: 0;
  height: 0;
  width: 0;
  background: none !important;
  position: absolute;
  bottom: -18px;
  left: 0;
  right: 0;
  margin: auto;
  border: solid transparent;
  border-top-color: #bbc791;
  border-width: 10px;
}

.post_content hr {
  border-bottom: 2px solid #bbc791;
  margin: 2em 0;
}

@media screen and (min-width: 600px) {
  .post_content hr {
    margin: 3em 0 4em 0;
  }
}

.index_block_kuchikomi {
  padding-top: 2em !important;
  padding-bottom: 2em !important;
}

@media screen and (min-width: 600px) {
  .index_block_kuchikomi {
    padding-top: 4em !important;
    padding-bottom: 4em !important;
    margin-top:4em;
    margin-bottom:4em !important;
  }
}

.home .post_content .index_block_kuchikomi .swell-block-column {
  border-radius: 10px;
  position: relative;
}

@media screen and (min-width: 600px) {
  .home .post_content .index_block_kuchikomi .swell-block-column {
    background: #fff;
  }
}

.box_kuchikomi {
  border-radius: 10px;
	padding: 2em !important;
}

.box_kuchikomi .kk_illust01 {
  position: absolute;
  bottom: -12px;
  right: -16px;
}

.box_kuchikomi .kk_illust02 {
  position: absolute;
  bottom: -12px;
  left: -16px;
}

.box_kuchikomi_left {
  margin-right: 40px;
	padding-right: 40px !important;
}

.box_kuchikomi_right {
  margin-left: 40px;
	padding-left: 40px !important;
}

@media screen and (min-width: 600px) {
  .box_kuchikomi_left {
    margin-right: 0;
    padding: 2em 60px 2em 2em !important;
  }
  .box_kuchikomi_right {
    margin-left: 0;
    padding: 2em 60px 2em 2em !important;
  }
  .box_kuchikomi .kk_illust01,
  .box_kuchikomi .kk_illust02 {
    position: absolute;
    bottom: -10px;
    right: -16px;
    left: auto;
  }
}

.box_kuchikomi img {
  height: 130px;
  width: auto;
}

.home .post_content .index_block_kuchikomi h3.wp-block-heading {
  color: #ab9a69;
	margin-bottom:1em;
	padding:0;
}

.home .post_content .index_block_kuchikomi h3.wp-block-heading::before {
  content: none;
}

.index_block_item {

}

.home .post_content .index_block_item .swell-block-column {
  background: #fff;
  border: 2px solid #e9e9e9;
  border-radius: 10px;
}

.box_item {
  border-radius: 10px;
}

.home .post_content .index_block_item h3.wp-block-heading {
  padding: 0;
  margin: 0 0 1em 0;
}

.home .post_content .index_block_item h3.wp-block-heading::before {
  content: none;
}

.index_block_map {
	padding: 20px 0 0 0;
  background: url("//srv/htdocs/wp-content/uploads/2023/12/map.png") center center no-repeat;
  background-size: 100% auto;
}

@media screen and (min-width: 600px) {
  .index_block_map {
    padding:40px 0;
    background-size: 520px auto;
  }
}

.index_block_map .wp-block-group {
  background: rgba( 255,255,255 , .6 );
	padding: 1em;
}

.index_block_map a {
  color: #555;
  text-decoration: none;
}

.p-blogCard__caption {
    background: var(--color_content_bg);
    border-radius: 2px;
    display: inline-block;
    font-size: 11px;
    left: 16px;
    line-height: 2;
    padding: 0 0.5em;
    position: absolute;
    top: -1em;
    z-index: 1;
    background-color: #fff;
}

.p-toc__ttl {
    display: block;
    font-size: 0.8em;
    line-height: 1;
    position: relative;
    text-align: center;
}

.post_content .p-toc__list {
    padding-left: 0;
    font-size: 0.8em;
}

/* Bogoの見た目変更　*/
.widget_bogo_language_switcher .w-header__title {
  display: none;
}

.bogo-language-switcher .bogoflags {
  display: none;
}

.bogo-language-switcher {
  display: flex;
  flex-direction: row-reverse;
}

.bogo-language-switcher a {
  padding: 1em;
  color: var(--color_background);
  font-weight: 600;
}

.bogo-language-switcher .current a {
  color: White;
}

.bogo-language-switcher .en-US {
  position: relative;
}

.bogo-language-switcher .en-US::before {
  content: "";
  width: 1px;
  height: 65%;
  background-color: var(--color_text);
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

/* Bogoの言語切替リンクを白に */
.l-header .bogo-language-switcher a,
.l-header .bogo-language-switcher a:visited {
  color: #ffffff !important;
}
.l-header .bogo-language-switcher a:hover {
  opacity: .8;
}

/* ===============================
   英語ページ（/en/）専用 英語ロゴ表示
   =============================== */
html[lang^="en"] .c-headLogo__link {
  position: relative;
  display: inline-block;
}

html[lang^="en"] .c-headLogo__img {
  opacity: 0;
}

html[lang^="en"] .c-headLogo__link::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("https://picrew.blog/wp-content/uploads/logo-en-1.png") no-repeat center / contain;
  pointer-events: none;
}

/* SWELL 投稿ページ下のカテゴリーバッジを非表示 */
.p-articleMetas__termList,
.c-categoryList {
  display: none !important;
}