/*
  Theme Name:   Bootstrap Basic4 Child
  Template:     bootstrap-basic4
*/

.block {
  margin-bottom: 8em;
}
.line {
  padding-bottom: .5rem;
  border-bottom: solid 2px #dddfd7;
  position: relative;
  color: var(--main);
 }
.line::after {
  position: absolute;
  content: '';
  display: block;
  border-bottom: solid 2px  var(--main);
  bottom: -2px;
  width: 200px;
}
.indent::before {
  content: '　';
}
.line-left {
  padding-left: .5rem;
  border-left: 3px solid var(--main);
  color: var(--main);
}
.line-lighter {
  padding-bottom: .5rem;
  border-bottom: solid 1px var(--main);
  color: var(--main);
}
.bg {
  background: #d8dad1;
  padding: 0.5rem;
  border-radius: 2px;
}
.over {
  transition: .15s;
}
.over:hover, .over:active {
  opacity: .8;
}
.w-600 {
  width: 100%;
  max-width: 600px;
}

body {
  padding-bottom: calc(40px + 5px);
}

svg.icon {
  stroke: var(--gray-dark);
  width: 1em;
  height: 1em;
  line-height: 1;
  vertical-align: -15%;
}

#contact_bottom {
  position: fixed;
  z-index: 10;
  bottom: 0;
  display: flex;
  flex-flow: column;
  width: 100%;
}
#contact_bottom_switch_button {
  border: none;
  background: var(--red);
  margin-right: 0;
  margin-left: auto;
  padding-top: 5px;
  font-size: 14px;
  width: 200px;
  height: 40px;
  box-shadow: 3px -3px 3px rgba(0, 0, 0, 0.1);
  z-index: 11;
  color: #fff;
  font-weight: 700;
  border-top-right-radius: 5px;
  border-top-left-radius: 5px;
  cursor: pointer;
}
#contact_bottom_switch_button i {
  transform: rotate(0);
  transition: .5s;
}
.contact_bottom-show #contact_bottom_switch_button i {
  transform: rotate(180deg);
}
#contact_bottom_switch_button:focus {
	outline:0;
}
#contact_bottom_switch + div {
  border-bottom: 5px solid var(--red);
  box-shadow: 0px -3px 3px rgba(0, 0, 0, 0.1);
}
#contact_bottom_wrap {
  display: none;
  background: rgba(243, 243, 243, .9);
  backdrop-filter: blur(2px);
}
#contact_bottom_box {
  padding: calc(1rem - 5px);
}

#contact_menu {
  position: fixed;
  bottom: -200px;
  z-index: 10;
  width: 100%;
  transition: .2s;
}

.breadcrumb {
  display: flex;
  flex-wrap: nowrap;
  padding: .75rem 0;
  margin: 0;
  font-size: 80%;
  list-style: none;
  overflow-x: scroll;
  -ms-overflow-style: none;
  scrollbar-width: none;
  background: #fff;
}
.breadcrumb-item {
  white-space: nowrap;
}

.site-title-heading {
  width: 300px;
  max-width: calc(100% - 69.5px - 1rem);
  margin-bottom: 0;
}

.entry-header {
  margin-bottom: 1.5rem;
}

.entry-title {
  padding: .5rem 1rem;
  background: #d8dad1;
  border-radius: 2px;
}

#top_img {
  position: relative;
}
#top_img .top_img_text {
  position: absolute;
  background: rgba(255,255,255,.7);
  padding: .5em;
  bottom: 1em;
  right: 1em;
  border-radius: 2px;
  font-size: 5vw;
}
#top_img .top_img_text p {
  line-height: 1.2;
}
#top_img .top_img_text p:first-child {
  margin-bottom: .5em;
}
#top_symptoms ul li {
  margin-bottom: 1rem;
}
#top_symptoms ul li:nth-last-of-type(-n+2) {
  margin-bottom: 0;
}

.trim_h {
  padding-top: 75%;
  padding-left: 100%;
  overflow: hidden;
  position: relative;
}
.trim_h img {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  width: 100%;
  height: auto;
}
#fotter-cta {
  background: #d7dad0;
  border-bottom: 3px solid #fff;
}
#fotter-cta figure {
  position: relative;
}
#fotter-cta img {
  position: absolute;
  bottom: -1rem;
  left: .5rem;
  width: calc(100% - 1rem);
}
#fotter-wrapper {
  border-top: 3px solid #d7dad0;
}
.site-logo-footer {
  width: 300px;
  max-width: calc(100% - 69.5px - 1rem);
}

.case {
  margin-bottom: 3rem;
  padding: 1rem;
  background: var(--light);
}
.case > dl {
}

.flow li::after {
  font-family: "Font Awesome 5 Free";
  content: '\f063';
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  font-weight: 900;
  text-rendering: auto;
  line-height: 1;
  color: var(--gray);
  margin-bottom: .75rem;
}
.flow li:last-child::after {
  content: none;
}
.flow li .alert {
  margin-bottom: .75rem;
}
.flow li:last-child .alert {
  margin-bottom: 0;
}

.counseling dt[data-toggle="collapse"] {
  cursor: pointer;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.counseling dt[data-toggle="collapse"] i {
  margin-left: .5rem;
  transition: .5s;
}
.counseling dt[data-toggle="collapse"][aria-expanded="false"] i {
  transform: rotateZ(0);
}
.counseling dt[data-toggle="collapse"][aria-expanded="true"] i {
  transform: rotateZ(180deg);
}
.counseling dt[data-toggle="collapse"]:hover i,
.counseling dt[data-toggle="collapse"][aria-expanded="true"] i {
  color: #9da38b;
}

/* 小デバイス（横向きモバイル, 576px 以上） */
@media (min-width: 576px) {
}

/* 中デバイス（タブレット, 768px 以上） */
@media (min-width: 768px) {
  html {
    font-size: 20px;
  }
  #footer-cta {
    margin-top: 4.5vw;
  }
}

/* 大デバイス（デスクトップ, 992px 以上） */
@media (min-width: 992px) {
  .trim_h {
    padding-top: 100%;
  }
  #top_symptoms ul li:nth-last-child(3) {
    margin-bottom: 0;
  }
  #fotter-cta img {
    left: 1rem;
  }
}

/* 特大デバイス（ワイド・デスクトップ, 1200px 以上） */
@media (min-width: 1200px) {
  body {
    padding-bottom: 5px;
  }
  #top_img .top_img_text {
    font-size: 60px;
  }
  #contact_bottom_switch_button {
    margin-right: 1rem;
  }
}


/* Calendar */
.xo-event-calendar { font-family: "Helvetica Neue", Helvetica, "Hiragino Kaku Gothic ProN", Meiryo, "MS PGothic", sans-serif; }
.xo-event-calendar table { table-layout: fixed; border-collapse: separate; border-spacing: 0; margin: 0; padding: 0; width: 100%; background-color: var(--white); color: #333; }
.xo-event-calendar table tr { display: table-row; }
.xo-event-calendar table td,
.xo-event-calendar table th { display: table-cell; padding: 0; }

.xo-event-calendar { position: relative; }
.xo-event-calendar .xo-month { position: relative; }

.xo-event-calendar table.xo-month { margin: 0 0 8px 0; padding: 0; border: 1px solid #ccc; border-width: 1px 0 1px 1px; }
.xo-event-calendar table.xo-month th,
.xo-event-calendar table.xo-month td { padding: 0; border: 1px solid #ccc; }

.xo-event-calendar table.xo-month > caption { /*background-color: #fff;*/ caption-side: top; text-align: center; }
.xo-event-calendar table.xo-month .month-header { margin: 2px 0 4px; }
.xo-event-calendar table.xo-month .month-header > span { display: inline-block; text-align: center; font-size: 120%; vertical-align: middle; line-height: 28px; }
.xo-event-calendar table.xo-month button { margin: 0; padding: 0; color: #333; background-color: transparent; border: 0; box-shadow: none; text-shadow: none; cursor: pointer; width: 28px; }
.xo-event-calendar table.xo-month button[disabled] { opacity: 0.3; cursor: default; }
.xo-event-calendar table.xo-month button > span { width: 28px; height: 28px; line-height: 28px; font-size: 22px; text-align: center; vertical-align: middle; }
.xo-event-calendar table.xo-month button span.nav-prev { display: inline-block; background: url("../images/nav-prev.svg") no-repeat center center; background-size: 14px 18px; width: 28px; height: 28px; font-size: 0; }
.xo-event-calendar table.xo-month button span.nav-next { display: inline-block; background: url("../images/nav-next.svg") no-repeat center center; background-size: 14px 18px; width: 28px; height: 28px; font-size: 0; }
.xo-event-calendar table.xo-month .month-prev { float: left; }
.xo-event-calendar table.xo-month .month-next { float: right; }

.xo-event-calendar table.xo-month > thead th { border-width: 0 1px 0 0; padding: 1px 0; text-align: center; font-size: 100%; font-weight: bold; }
.xo-event-calendar table.xo-month > thead th.sunday { color: var(--red); }
.xo-event-calendar table.xo-month > thead th.saturday { color: var(--blue); }

.xo-event-calendar table.xo-month .month-week { position: relative; padding: 0; border: 0; width: 100%; overflow: hidden; }
.xo-event-calendar table.xo-month .month-week table { border: 0; margin: 0; padding: 0; }
.xo-event-calendar table.xo-month .month-dayname { position: absolute; top: 0; left: 0; bottom: 0; right: 0; border-width: 1px 0 0 1px; }
.xo-event-calendar table.xo-month .month-dayname td { border-width: 1px 1px 0 0; padding: 0; }
.xo-event-calendar table.xo-month .month-dayname td div { height: 1000px; padding: 4px; border-width: 1px 1px 0 0; text-align: right; font-size: 100%; line-height: 1.2em; }
.xo-event-calendar table.xo-month .month-dayname td div.other-month { opacity: 0.6; }
.xo-event-calendar table.xo-month .month-dayname td div.today { color: var(--blue); font-weight: bold; }
.xo-event-calendar table.xo-month .month-dayname-space { position: relative; top: 0; height: 1.5em; }
.xo-event-calendar table.xo-month .month-event { position: relative; top: 0; background-color: transparent; }
.xo-event-calendar table.xo-month .month-event td { padding: 0 1px 2px 1px; border-width: 0 1px 0 0; }
.xo-event-calendar table.xo-month .month-event-space { height: 1.5em; background-color: transparent; }
.xo-event-calendar table.xo-month .month-event-space td { border-width: 0 1px 0 0; }
.xo-event-calendar table.xo-month .month-event tr,
.xo-event-calendar table.xo-month .month-event-space tr { background-color: transparent; }
.xo-event-calendar table.xo-month .month-event-title { padding: 0 3px; display: block; color: #666; text-align: left; font-size: 0.8em; background-color: #ccc; border-radius: 3px; white-space: nowrap; overflow: hidden; }

.xo-event-calendar p.holiday-title { margin: 0; padding: 2px 0; font-size: 90%; vertical-align: middle; }
.xo-event-calendar p.holiday-title span { margin: 0 6px 0 0; padding: 0 0 0 18px; border: 1px solid #ccc; }

.widget .xo-event-calendar table.xo-month > thead th { font-size: 90%; }

/* Loading animation */
.xo-event-calendar .loading-animation { position: absolute; top: 50%; left: 50%; margin: -20px 0 0 -20px; }
.xoec-loading .xo-months { opacity: 0.5; }

.xoec-loading .loading-animation {
	width: 40px; height: 40px;
	border: 5px rgba(0,0,0,0.2) solid;
	border-top: 5px #4285f4 solid;
	border-radius: 50%;
	-webkit-animation: loadingCircRot .8s infinite linear;
	animation: loadingCircRot .8s infinite linear;
}
@-webkit-keyframes loadingCircRot {
	from { -webkit-transform: rotate(0deg); }
	to { -webkit-transform: rotate(359deg); }
}
@keyframes loadingCircRot {
	from { transform: rotate(0deg); }
	to { transform: rotate(359deg); }
}

/* Event Content */
.xo-event-meta { padding: 3.8461% 0; }
.xo-event-meta span { display: block; }

/* Twenty Nineteen theme */
html[lang="ja"] .xo-event-calendar .dashicons { font-family: dashicons !important; }
