@charset "utf-8";

/* =========================

  base

=========================*/
.subpage {
  position: relative;
  padding: 20px 0 0;
}
.subpage::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 430px;
  top: -5vw;
  background: linear-gradient(#EAF4FA, #FAFAFA);
  z-index: -1;
}
.subpage .section__contents a {
  color: #0099FF;
  border-bottom: 1px solid #0099FF;
  padding-bottom: 2px;
}
.subpage .section__contents a:hover {
  opacity: 0.6;
}
.subpage .section__contents .btn a {
  color: #FFFFFF;
  padding: 15px 56px;
}
.subpage .section__contents .btn a:hover {
  color: #0099FF;
}
.subpage strong {
  font-weight: 700;
}
@media screen and (max-width:750px) {
  .subpage {
    padding: 0;
  }
}

/* ------------------------
  kv
------------------------*/
.sub__kv {
  width: 96%;
  text-align: center;
  aspect-ratio: 1800 / 470;
  background-size: cover;
  position: relative;
  border-radius: 2rem;
  z-index: 1;
  margin: auto;
}
.sub__kv::before {
  content: "";
  width: 100%;
  aspect-ratio: 1800 / 470;
  border-radius: 2rem;
  background: rgba(37, 109, 139, .45);
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
}
.subkv01 {
  background-image: url(../images/subkv01.jpg);
  background-position: center -100%;
}
.subpage__kv__ttl {
  color: #FFFFFF;
  width: 1500px;
  height: fit-content;
  font-family: "M PLUS Rounded 1c", serif,
              "Yu Gothic UI", "Yu Gothic", "Meiryo",
              "Hiragino Maru Gothic ProN", "Hiragino Maru Gothic Pro",
              "Arial Rounded MT Bold", "Helvetica Rounded", sans-serif;
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
  margin: auto;
  z-index: 3;
}
.subpage__kv__ttl h1 {
  font-size: 3em;
  line-height: 1.4em;
}
.subpage__kv__ttl .subttl {
  font-size: 1.5em;
  display: block;
}
@media screen and (max-width:1500px) {
  .subpage__kv__ttl {
    width: calc(100% - 50px);
    padding: 0 25px;
  }
}
@media screen and (max-width:750px) {
  .sub__kv {
    width: 100%;
  }
  .subpage .sub__kv,
  .subpage .sub__kv::before {
    width: 100%;
    height: 180px;
    border-radius: 0;
  }
  .subkv01 {
    background-position: center;
  }
  .subpage .sub__kv__inner {
    padding: 12px 12px 12px 24px;
  }
  .subpage__kv__ttl h1 {
    font-size: 2em;
  }
  .subpage__kv__ttl .subttl {
    font-size: 1em;
  }
}

/* ------------------------
  contents
------------------------*/
.subpage .section__contents:first-child {
  margin-top: 114px;
}
iframe.movie {
  display: block;
  border-radius: 5px;
}
@media screen and (max-width:950px) {
  iframe.movie {
    width: 100%;
  }
}
@media screen and (max-width:750px) {
  iframe.movie {
    height: 182.8125px;
  }
}

/* ------------------------
  ttl
------------------------*/
.subpage h2 {
  margin: 100px 0 50px;
  display: block;
}
.subpage h2:first-child {
  margin-top: 0;
}
.subpage h2 strong,
.subpage h3 strong {
  font-weight: 500;
}
.subpage h3 {
  font-family: "M PLUS Rounded 1c", serif,"Yu Gothic UI", "Yu Gothic", "Meiryo", /* Windows */
  "Hiragino Maru Gothic ProN", "Hiragino Maru Gothic Pro", /* macOS */
  "Arial Rounded MT Bold", "Helvetica Rounded", sans-serif;;
  width: 100%;
  font-weight: bold;
  line-height: 1.4em;
  padding: 0 0 12px;
  margin: 100px 0 40px;
  border-bottom: 2px solid #C0DFF4;
  position: relative;
}
.subpage h3::before {
  content: "";
  position: absolute;
  width: 70px;
  height: 2px;
  background: #0099FF;
  left: 0;
  bottom: -2px;
}
.subpage h4 {
  margin: 50px 0 25px;
  font-size: 1.3em;
}
@media screen and (max-width:1099px) {
  .subpage h3 {
    font-size: 24px;
  }
}
@media screen and (max-width:750px) {
  .subpage h2 {
    margin: 60px 0 30px;
  }
  .subpage h3, .subpage h4 {
    margin: 40px 0 20px;
  }
  .subpage h2:first-child {
    margin-top: 0;
  }
  .subpage h3 {
    line-height: 1.4em;
  }
}

/* ------------------------
  breadcrumbs
------------------------*/
.breadcrumbs {
  width: 1600px;
  font-size: 16px;
  margin: 20px auto auto;
}
.breadcrumbs a {
  color: #0099FF;
}
.breadcrumbs a:hover {
  opacity: 0.5;
}
@media screen and (max-width:1600px) {
  .breadcrumbs {
    width: 90%;
    padding: 0;
    margin-bottom: 0;
  }
}
@media screen and (max-width:750px) {
  .breadcrumbs {
    font-size: 15px;
  }
}

/* ------------------------
  list
------------------------*/
ul.wp-block-list {
  width: fit-content;
  margin: 0 0 50px;
  padding: 30px 40px;
  background-color: #EAF4FA;
  display: list-item;
}
ul.wp-block-list li {
  text-indent: -20px;
  padding-left: 25px;
  margin-bottom: 10px;
}
ul.wp-block-list li:before {
  content: "●";
  color: #3A72CB;
  font-size: 14px;
  margin-right: 8px;
  vertical-align: bottom;
}
ul.wp-block-list li strong {
  font-weight: 600;
}
ul.wp-block-list li > ul {
  padding: 5px;
  margin: 0;
}
ul.wp-block-list li > ul li::before {
  content: "○";
}
ol.wp-block-list {
  list-style-type: decimal;
  padding-left: 24px;
}
ol.wp-block-list li {
  margin-bottom: 16px;
}
ol.wp-block-list li::marker {
  color: #0099FF;
  font-size: 1.2em;
  font-weight: 600;
}
ol.wp-block-list li > ul {
  margin-top: 0;
}
ol.wp-block-list li > ul li {
  margin-bottom: 0px;
}
@media screen and (max-width:750px) {
  ul.wp-block-list {
    padding: 20px;
    margin: 0 0 30px;
  }
  ul.wp-block-list li {
    margin-bottom: 8px;
  }
}

/* ------------------------
  anchor
------------------------*/
.wp-block-list:has(.anchor){
  border: 1px solid #000000;
  margin: 0 auto 100px;
  padding: 20px 50px;
  background-color: transparent;
}
.wp-block-list li.anchor {
  font-weight: bold;
  display: inline-block;
  position: relative;
  margin-right: 25px;
}
.wp-block-list li.anchor::before {
  width: 6px;
  height: 6px;
  top: auto;
  left: 0;
  right: 0;
  bottom: auto;
  margin: auto;
}
.wp-block-list li.anchor::before {
  content: "";
  width: 6px;
  height: 6px;
  border-top: solid 1px #CCCCCC;
  border-right: solid 1px #CCCCCC;
  position: absolute;
  top: 0;
  bottom: 0;
  transform: rotate(135deg);
  display: inline-block;
  right: -13px;
  left: auto;
}
.wp-block-list li.anchor a {
  width: 100%;
  display: block;
}
.anchor li {
  width: 24.2%;
  margin: 0 12px 12px 0;
  display: table;
}
.anchor li:nth-child(4n), .anchor li:last-child {
  margin-right: 0;
}
.anchor li a {
  width: 200px;
  height: 42px;
  font-size: 15px;
  line-height: 1.4em;
  text-align: left;
  display: table-cell;
  vertical-align: middle;
  padding: 20px 30px 20px 20px;
  position: relative;
}
.anchor li a:hover {
  background-color: #F5F5F5;
}
.anchor li a:after {
  content: "";
  width: 8px;
  height: 8px;
  border-top: solid 1px #CCCCCC;
  border-right: solid 1px #CCCCCC;
  position: absolute;
  right: 20px;
  top: 0;
  bottom: 0;
  margin: auto;
  transform: rotate(135deg);
}
@media screen and (max-width:1200px) {
  .anchor {
    width: calc(100% - 50px);
    padding: 0 25px;
  }
  .anchor li {
    width: 23.9%;
  }
  .anchor li a {
    width: 15vw;
    font-size: 14px;
    padding: 15px 26px 15px 15px;
  }
}
@media screen and (max-width:950px) {
  .wp-block-list:has(.anchor) {
    margin: 0 0 60px;
    padding: 10px;
  }
  .wp-block-list li.anchor {
    width: calc(100% - 25px);
    padding: 0 0 5px;
    text-indent: 0;
  }
  .anchor li:nth-child(2n) {
    margin-right: 0;
  }
  .section__content__innerblock .anchor {
    display: block;
    width: 100%;
    padding: 0;
  }
  .section__content__innerblock .anchor li {
    margin: 0 2% 2% 0;
    display: table;
    width: 100%;
  }
}

/* ------------------------
  wp-block-media-text
------------------------*/
.wp-block-media-text {
  margin-bottom: 30px;
}
.wp-block-media-text.has-media-on-the-right>.wp-block-media-text__content {
  padding: 0 8% 0 0 !important;
}
.wp-block-media-text__media img {
/*  aspect-ratio: 16 / 9 !important; 薬剤性大腸炎の画像が切れているのでコメントアウト */
  object-fit: cover;
}
@media screen and (max-width:750px) {
  .wp-block-media-text.has-media-on-the-right>.wp-block-media-text__content {
    width: 100%;
    padding-left: 0 !important;
  }
  .wp-block-media-text.has-media-on-the-right>.wp-block-media-text__content,
  .wp-block-media-text.is-stacked-on-mobile>.wp-block-media-text__content {
    padding: 0 !important;
    margin-top: 15px;
  }
}

/* ------------------------
  flow
------------------------*/
.vk_flow .vk_flow_frame {
  border: none !important;
  padding: 2.5rem !important;
  counter-reset: number 0;   
  background-color: #FFFFFF;
  border-radius: 20px;
}
.vk_flow .vk_flow_frame_text_title {
  color: #0099FF;
  font-size: 1.4em !important;
  line-height: 1.2;
  font-weight: 400;
  border-bottom: 2px dotted #C0DFF4 !important;
  padding-bottom: 20px !important;
  margin-bottom: 30px !important;
  counter-increment: mycounter;
}
.vk_flow .vk_flow_frame_text_title > span.step {
  color: #ED9CB7;
  font-size: 22px;
  font-weight: 200;
  margin-right: 20px;
}
.vk_flow .vk_flow_frame_text_title > .step .num {
  font-size: 1.5em;
  margin-left: 5px;
}
.vk_flow.vk_flow-arrow-on::after {
  background-size: 110px 110px !important;
  height: 62px !important;
  width: 67px !important;
  margin: 10px auto !important;
}
@media screen and (max-width:750px) {
  .vk_flow .vk_flow_frame {
    padding: 1.5rem !important;
  }
  .vk_flow .vk_flow_frame_text_title {
    margin: 0 0 10px !important;
    padding: 0 0 10px !important;
  }
  .vk_flow .vk_flow_frame_text_title > span.step {
    font-size: 20px;
    margin-right: 6px;
    display: block;
    margin-bottom: 8px;
  }
}

/* ------------------------
  FAQ
------------------------*/
.vk_faq {
  border: none !important;
  margin: 2rem auto !important;
}
.vk_faq .vk_faq_content {
  padding: 1.5rem 1.5rem 1.5rem 4rem !important;
  background-color: rgba(231, 243, 248, .7);
}
.vk_faq .vk_faq_title {
  border: none !important;
  padding: 1rem 1rem 1rem 4rem !important;
}
.vk_faq .vk_faq_title:before,
.vk_faq .vk_faq_content:before {
  font-family: 'Noto Sans JP', sans-serif, 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro','メイリオ', 'Meiryo', '游ゴシック', 'Yu Gothic', 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif !important;
  font-size: 1.8em !important;
  font-weight: bold !important;
}
.vk_faq .vk_faq_title:before {
  color: #0099FF !important;
  content: "Q." !important;
  left: 35px !important;
}
.vk_faq .vk_faq_content:before {
  color: #FFC400 !important;
  content: "A." !important;
  top: 1.5rem !important;
  margin: auto;
  left: 35px !important;
}
.vk_faq .vk_faq_title p,
.vk_faq .vk_faq_content p {
  margin-left: 20px;
}
.vk_faq .vk_faq_title p {
  font-size: 1.25rem !important;
}
@media screen and (max-width:750px) {
  .vk_faq {
    margin: 0rem auto !important;
  }
  .vk_faq .vk_faq_title {
    padding: 1rem 1rem 1rem 2rem !important;
  }
  .vk_faq .vk_faq_content {
    padding: 1.5rem 1.5rem 1.5rem 2rem !important;
  }
  .vk_faq .vk_faq_title:before {
    left: 8px !important;
  }
  .vk_faq .vk_faq_content:before {
    left: 10px !important;
  }
}

/* ------------------------
  contents margin
------------------------*/
.section__contents {
  margin-top: 100px;
}
.subpage .section__contents:last-child {
  margin-bottom: 215px;
}
.section__content__innerblock {
  margin-bottom: 60px;
}
.section__content__innerblock:last-child {
  margin-bottom: 0;
}
@media screen and (max-width:750px) {
  .section__contents {
    margin-top: 60px;
  }
  .subpage .section__contents:last-child {
    margin-bottom: 90px;
  }
  .section__content__innerblock {
    margin-bottom: 40px;
  }
}


/* =========================

  news

=========================*/
#news_post .post_contents,
#column_post .post_contents {
  padding: 60px 40px;
  background-color: #FFFFFF;
  border-radius: 20px;
}
#news_list .news_item, #column_list .column_item {
  margin-bottom: 20px;
  text-align: left;
}
#news_list .news_item:last-child,
#column_list .column_item:last-child  {
  margin-bottom: 0;
}
#news_list .news_item_inner a, #column_list .column_item_inner a {
  color: #45455A;
  border: none;
  background-color: #FFFFFF;
  border-radius: 10px;
  padding: 20px 30px;
  margin-bottom: 20px;
  display: block;
}
#news_list .news_item_inner a:hover, #column_list .column_item_inner a:hover {
  box-shadow: 0px 0px 16px 0px rgba(0, 153, 255, .24);
}
#news_list .news_item_inner dd, #column_list .column_item_inner dd {
  width: 20%;
}
#news_list .news_item_inner h3, #column_list .column_item_inner h3 {
  width: 80%;
  font-size: 16px;
  font-weight: normal;
  padding-bottom: 0;
  border: none;
  margin: 0;
}
#news_list .news_item_inner .ttl,
#column_list .column_item_inner .ttl {
  font-size: 1.1em;
  font-weight: 600;
}
#news_list .news_item_inner h3::after {
  content: none;
}
#news_list .day_cat,
#column_list .day_cat {
  display: flex;
}
#news_post .post_ttl,
#column_post .post_ttl {
  margin: 0 0 80px;
  padding-bottom: 20px;
  border-bottom: 2px solid #C0DFF4;
}
#news_post .post_ttl h2.ttl,
#column_post .post_ttl h2.ttl {
  width: 100%;
  margin: 0;
  padding: 0;
}
#news_post .post_ttl h2.ttl::before,
#column_post .post_ttl h2.ttl::before {
  content: none;
}
#news_post .post_contents, #news_post h2,
#column_post .post_contents, #column_post h2 {
  text-align: left;
}
#news_post .date, #column_post .date {
  color: #0099FF;
  margin-bottom: 15px;
  display: block;
}
#news_post h2, #column_post h2 {
  width: 100%;
  font-size: 2em;
}

#news_post .news_content_box h1,
#news_post .news_content_box h2,
#news_post .news_content_box h3,
#news_post .news_content_box h4,
#column_post .column_content_box > h1,
#column_post .column_content_box > h2,
#column_post .column_content_box > h3,
#column_post .column_content_box > h4 {
  line-height: 1.4em;
}
#news_post .news_content_box h1,
#column_post .news_content_box > h1,
#column_post .column_content_box > h1 {
  font-size: 50px;
  line-height: 1.0;
}
#news_post .news_content_box h2,
#column_post .news_content_box > h2,
#column_post .column_content_box > h2 {
  width: calc(100% - 50px);
  border: none;
}
#news_post .news_content_box h3,
#column_post .news_content_box > h3,
#column_post .column_content_box > h3 {
  font-size: 1.4em;
}
#news_post .news_content_box h4,
#column_post .news_content_box > h4,
#column_post .column_content_box > h4 {
  font-size: 1.15em;
}
.news_content_box a:hover, .column_content_box a:hover {
  opacity: 0.6;
}
/* ul ol */
.news_content_box ul, .news_content_box ol,
.column_content_box ul, .column_content_box ol,
.search_post_content_box ol {
  margin: 0 0 50px;
  padding: 30px 40px;
  background-color: #EAF4FA;
}
.news_content_box ol, .column_content_box ol, .search_post_content_box ol {
  list-style: decimal;
  width: fit-content;
  padding-left: 3rem !important;
}

/* 画像 */
.news_content_box img, .column_content_box img {
  width: 80%;
  border-radius: 5px;
}
.news_content_box img.alignleft, .column_content_box img.alignleft {
  width: 350px;
  float: left;
}
.news_content_box img.alignright, .column_content_box img.alignright {
  width: 350px;
  float: right;
}

/* 引用 */
.news_content_box blockquote, .column_content_box blockquote {
  position: relative;
  margin-bottom: 40px;
  padding: 38px 15px 15px;
  box-sizing: border-box;
  font-style: italic;
  text-align: left;
  background: #efefef;
  color: #555555;
}
.news_content_box blockquote:before, .column_content_box > blockquote:before {
  display: inline-block;
  position: absolute;
  top: 13px;
  left: 15px;
  content: "\f10d";
  font-family: FontAwesome;
  color: #cfcfcf;
  font-size: 28px;
  line-height: 1;
  font-weight: 900;
}
.news_content_box blockquote p, .column_content_box > blockquote p {
  padding: 0;
  margin-bottom: 5px;
  line-height: 1.7;
}
.news_content_box blockquote cite, .column_content_box > blockquote cite {
  display: block;
  text-align: left;
  color: #888888;
  font-size: 0.9em;
}

/* 前の記事、次の記事 */
.page_back_next {
  margin-top: 115px;
}
.page_back_next li {
  margin-right: 20px;
}
.page_back_next li:last-child {
  margin-right: 0;
}
.back_next a {
  color: #0099FF;
  background-color: transparent;
  padding: 10px 20px !important;
  border-radius: 10px;
  border: 1px solid #0099FF;
  display: block;
}
.back_next a:hover {
  color: #FFFFFF;
  background-color: #0099FF;
}
.page_back_next .btn_wrap {
  margin-top: 0 !important;
}
@media screen and (max-width:750px) {
  #news_list .news_item_inner a,
  #column_list .news_item_inner a {
    display: block;
  }
  #news_post h2, #column_post h2 {
    font-size: 1.6em;
  }
  #news_list .news_item_inner dd,
  #news_list .news_item_inner h3,
  #column_list .news_item_inner dd,
  #column_list .news_item_inner h3 {
    width: 100%;
    font-size: 14px;
  }
  #news_post .post_contents,
  #column_post .post_contents {
    padding: 40px 20px;
  }
  #news_post .post_ttl, #column_post .post_ttl {
    margin-bottom: 40px;
  }
  .news_content_box img, .column_content_box img,
  .news_content_box img.alignleft,
  .news_content_box img.alignright,
  .column_content_box img.alignleft,
  .column_content_box img.alignright {
    width: 100%;
    float: unset;
  }
  .news_content_box ul, .news_content_box ol,
  .column_content_box ul, .column_content_box ol,
  .search_post_content_box ol {
    padding: 20px;
    margin-bottom: 20px;
  }
  .page_back_next {
    margin-top: 60px;
  }
  .back_next a {
    padding: 8px 15px !important;
  }
}

/* =========================

  404

=========================*/
#error404 {
  text-align: center;
  padding-top: 120px;
}
#error404 h2 {
  font-size: 4em;
  line-height: 1.0em;
}
#error404 h3 {
  font-size: 2em;
  line-height: 1.4em;
  margin-bottom: 50px;
}
#error404 .error404_txt {
  margin-bottom: 60px;
}
#error404 .error404_txt p {
  text-align: center;
}
#error404 h2::before {
  vertical-align: baseline;
}

/* =========================

  page navi

=========================*/
.wp-pagenavi {
  text-align: center;
  margin: 60px auto;
}
.wp-pagenavi a, .wp-pagenavi span {
	color: #0099FF;
	background-color: transparent;
	padding: 12px 19px !important;
	margin: 0 5px;
	white-space: nowrap;
	-webkit-transition: 0.2s ease-in-out;
	-moz-transition: 0.2s ease-in-out;
	-o-transition: 0.2s ease-in-out;
	transition: 0.2s ease-in-out;
	text-align: center;
	text-decoration: none;
	border: 1px solid #0099FF;
  border-radius: 5px;
}
.wp-pagenavi a:hover{
	color: #FFFFFF;
	background-color: #0099FF;
}
.wp-pagenavi span.current {
	color: #FFFFFF;
	background-color: #0099FF;
}
.wp-pagenavi span.pages,
.wp-pagenavi a.last, .wp-pagenavi a.first {
  border-radius: 4px;
}
@media screen and (max-width:750px) {
  .wp-pagenavi {
    margin-top: 40px;
  }
  .wp-pagenavi span.pages,.wp-pagenavi a.first,
  .wp-pagenavi a.last {
    display: none;
  }
  .wp-pagenavi a, .wp-pagenavi span {
    display: inline-block;
    margin-bottom: 10px;
    padding: 6px 14px;
  }
}

/* =========================

  Button

=========================*/
.vk_button_link_caption { padding: 15px 35px; }