@charset "UTF-8";
body {
  font-family: "Zen Maru Gothic", serif;
  font-weight: 400;
  font-style: normal;
}

header {
  padding: 10px 0px;
  background-color: #0f85f4;
  position: sticky;
  top: 0;
  z-index: 1000;
}
@media screen and (max-width: 767px) {
  header {
    padding: 10px 0px;
  }
}
header .brand img {
  width: auto;
  height: 80px;
}
@media screen and (max-width: 767px) {
  header .brand img {
    height: 60px;
  }
}
header .badge-contact {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 18em;
  padding: 10px;
  border-radius: 15px;
  background-color: #fff;
}
@media screen and (max-width: 767px) {
  header .badge-contact {
    top: 0px;
    right: 70px;
    width: 10em;
    padding: 4px;
    border-radius: 0px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
  }
}
header .badge-contact p {
  color: #0c4e90;
  font-weight: 900;
  font-size: 30px;
  text-align: center;
  margin: 0;
  padding: 0;
  line-height: 1;
}
@media screen and (max-width: 767px) {
  header .badge-contact p {
    font-size: 18px;
  }
}
header ul {
  border-top: 1px solid silver;
  display: flex;
  margin: 0;
  padding-top: 1rem;
  list-style-type: none;
}
@media screen and (max-width: 767px) {
  header ul {
    background-color: #0f85f4;
    width: 100%;
    display: block;
    position: fixed;
    top: 70px;
    margin: 10px 0 20px;
    padding: 1rem 0px 1rem;
  }
}
header ul li {
  min-width: 10%;
  font-size: 1.2rem;
  color: #fff;
  font-weight: 600;
  padding: 0px 1rem;
  cursor: pointer;
}
@media screen and (max-width: 767px) {
  header ul li {
    margin-left: 10px;
    margin-bottom: 5px;
    border-left: 2px solid #fff;
  }
}
header ul li a {
  color: #fff;
}
header ul li a:link, header ul li a:visited {
  text-decoration: none;
}
header ul li:hover a {
  border-bottom: 1px solid #fff;
}
header ul.collapse:not(.show) {
  display: flex;
}
@media screen and (max-width: 767px) {
  header ul.collapse:not(.show) {
    display: none;
  }
}
header .navbar-toggler {
  display: none;
}

.container {
  padding-bottom: 10px;
}
.container h1 {
  background-color: #0f85f4;
  color: #fff;
  font-size: 1.8rem;
  font-weight: 700;
  margin-top: 1.5rem;
  padding: 0.1rem 1rem 0.2rem 2rem;
  border-top-left-radius: 0.35em;
  border-bottom-left-radius: 0.35em;
}
.container .header-topics {
  border-radius: 0.5em;
  background-color: #fff;
  color: #0f85f4;
  border: 2px solid #0f85f4;
  font-size: 1.2rem;
  width: 50%;
}
.container h2 {
  color: #0f85f4;
  font-size: 1.4rem;
  font-weight: 700;
  padding: 0.1rem 1rem 0.2rem 2rem;
  border-bottom: 1px solid #0f85f4;
  margin-top: 3rem;
  margin-bottom: 2rem;
}
.container h3 {
  color: #0f85f4;
  font-size: 1.15rem;
  font-weight: 700;
  padding: 0.1rem 1rem 0.2rem 1rem;
  margin-top: 1rem;
  margin-bottom: 2rem;
  border-left: 3px solid #0f85f4;
}
.container h4 {
  color: #fff;
  background-color: #5d99d6;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.1rem 1rem 0.2rem 1rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
  border-radius: 0.2em;
}
.container img {
  max-width: 100%;
  max-height: 400px;
  width: auto;
  height: auto;
}
.container p {
  font-size: 14pt;
  line-height: 1.8;
}
.container iframe {
  width: 100%;
}
.container .linkedlist {
  margin: 1rem;
}
.container dl dt {
  clear: left;
  float: left;
  width: 7rem;
  text-align: right;
}
@media screen and (max-width: 767px) {
  .container dl dt {
    float: none;
    padding-left: 1rem;
    width: 100%;
    text-align: left;
  }
}
.container dl dd {
  margin-left: 8rem;
}
@media screen and (max-width: 767px) {
  .container dl dd {
    margin-left: 2rem;
  }
}
.container ol li {
  line-height: 1.8;
}
.container ol li::marker {
  font-size: 1.5rem;
  font-weight: 800;
}
.container .table {
  width: 80%;
  margin-left: 10%;
}
@media screen and (max-width: 767px) {
  .container .table {
    width: 100%;
    margin-left: 0;
  }
}
.container .table-schedule th, .container .table-schedule td {
  font-size: 1.8rem;
}
@media screen and (max-width: 767px) {
  .container .table-schedule th, .container .table-schedule td {
    font-size: 1.1rem;
  }
}
.container .table-schedule .bg-schedule-caution th {
  background-color: #9ac9f4;
  color: #111;
}
@media screen and (max-width: 767px) {
  .container .table-schedule .bg-schedule-caution th {
    background-color: #0f85f4;
    color: #fff;
  }
}
.container .table-schedule .bg-schedule-caution td {
  background-color: #9ac9f4;
}
@media screen and (max-width: 767px) {
  .container .table-schedule .bg-schedule-caution td {
    background-color: #0f85f4;
  }
}
.container .schedule-caption {
  width: 80%;
  margin-left: 10%;
  text-align: right;
}
.container .schedule-caption p {
  font-size: 1.6rem;
}
@media screen and (max-width: 767px) {
  .container .schedule-caption p {
    font-size: 1.2rem;
  }
}
.container .table-wapper {
  overflow-x: scroll;
  width: 100%;
}
@media screen and (max-width: 767px) {
  .container .table-data {
    min-width: 800px;
  }
}
.container .table-data td {
  vertical-align: middle;
  padding: 0.2rem 1rem;
}
.container .sitemap-0 {
  margin: 1rem 0rem 2rem;
  padding-left: 3rem;
}
.container .sitemap-0::before {
  content: "・";
}
.container .sitemap-1 {
  margin: 1rem 0rem 2rem;
  padding-left: 4rem;
}
.container .sitemap-1::before {
  content: "・";
}
.container .links-bottom {
  display: inline-block;
  padding: 1rem;
  margin: 1rem;
  margin-bottom: 2rem;
}
@media screen and (max-width: 767px) {
  .container .links-bottom a {
    display: block;
    margin: 1rem 1rem;
    padding: 1rem 1rem;
    text-align: center;
    border: 1px solid silver;
    border-radius: 4px;
  }
}
.container em {
  color: #1058c1;
  font-weight: 800;
}
.container .container-facility {
  display: flex;
  flex-wrap: wrap;
}
.container .container-facility p {
  width: 40%;
  text-align: right;
  margin-right: 2rem;
}
.container .container-facility p:nth-child(odd) {
  font-size: 2rem;
}
@media screen and (max-width: 767px) {
  .container .container-facility p:nth-child(odd) {
    font-size: 1.2rem;
  }
}
.container .container-facility img {
  display: block;
}
.container .medical-caution {
  background-color: #f2e265;
  font-weight: 700;
  border-radius: 0.1rem;
  padding: 0.1rem 0.2rem;
}
.container .list-facilities dt {
  text-align: left;
  width: 100%;
  float: none;
  clear: both;
  font-size: 1.5rem;
  border-bottom: 1px dashed silver;
  margin-bottom: 1rem;
}
.container .list-facilities dd {
  clear: right;
  margin-left: 10px;
  font-size: 1rem;
}
.container .list-facilities dd img {
  display: block;
  float: right;
}
@media screen and (max-width: 767px) {
  .container .list-facilities dd img {
    float: none;
    margin: 10px auto;
  }
}
.container .endoscopic-panel {
  background: #fff7d5;
  font-size: 0.9rem;
  padding: 10px;
}

.container-greetings {
  display: flex;
  gap: 20px;
}
.container-greetings img {
  display: block;
  width: 100%;
}
@media screen and (max-width: 767px) {
  .container-greetings {
    display: block;
  }
}

.container-topics {
  margin: 10px 0px;
  padding: 1rem;
  border-bottom: 1px dashed #0f85f4;
}
.container-topics .badge {
  font-size: 1rem;
}
.container-topics li p {
  line-height: 1.1;
  padding: 0.2rem 1rem;
}
.container-topics li .title {
  font-size: 1.2rem;
  font-weight: 700;
}
.container-topics li .body {
  font-size: 0.8rem;
}

.container-home-visit dl {
  padding: 1rem 0rem;
  font-size: 1rem;
  background-color: #bfd8fc;
  border-radius: 10px;
}

.container-sub {
  scroll-margin-top: 150px;
  margin-top: 20px;
}

#badge-line {
  text-align: center;
  width: 20vw;
  height: calc(4.5rem + 100px);
  position: absolute;
  top: 47vh;
  right: 10px;
  border-radius: 4px;
  background-color: rgba(254, 254, 254, 0.8);
  color: #20c043;
  font-weight: 800;
}
#badge-line img {
  display: block;
  margin: 10px auto;
  max-width: 80%;
  max-height: 100px;
  width: auto;
  height: auto;
}
@media screen and (max-width: 767px) {
  #badge-line {
    width: 50vw;
    height: calc(4.5rem + 100px);
    top: 40vh;
    right: 0;
  }
}

footer {
  background-color: #0f85f4;
  padding: 10px;
  padding-top: 20px;
}
footer .footer-info.container {
  color: #fff;
  border-bottom: 3px double #fff;
  margin-bottom: 1rem;
}
footer .footer-info.container h2 {
  color: #0c4e90;
  background-color: #fff;
  display: inline-block;
  margin-top: 0.2rem;
  padding: 0.2rem;
  border-radius: 0.2rem;
}
footer .footer-info.container iframe {
  width: 100%;
  height: 300px;
}
footer .nav-bottom {
  color: #fff;
}
footer .nav-bottom ul {
  position: flex;
  list-style-type: none;
}
footer .nav-bottom ul li {
  font-weight: 600;
  text-align: center;
}
footer .nav-bottom a {
  color: #fff;
}
footer .nav-bottom a:link, footer .nav-bottom a:visited {
  color: #fff;
}
footer a {
  color: #fff;
  text-decoration: none;
}
footer copyright {
  display: block;
  text-align: center;
}

.catch {
  scroll-margin-top: 190px;
  background-image: url(../images/top_002.jpg);
  background-size: cover;
  background-position: center right;
  width: 100%;
  height: 50vh;
  position: relative;
}
.catch .btn-form {
  display: block;
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
  font-size: 2rem;
  font-weight: 600;
  border: 3px;
}
.catch .btn-form:hover {
  opacity: 0.5;
}
@media screen and (max-width: 767px) {
  .catch .btn {
    font-size: 1.4rem;
  }
}

.faded-obj {
  opacity: 0;
  display: block;
  position: relative;
}

.fade-in {
  animation: 1s ease-in 0s fade-in forwards;
}

@keyframes fade-in {
  from {
    opacity: 0;
    top: 10px;
    transform: scale(1.1);
  }
  to {
    opacity: 1;
    top: 0px;
    transform: scale(1);
  }
}
#form-reservation-modal .modal-body label, #form-reservation-confirm-modal .modal-body label {
  padding: 0.2rem 1rem 0.2rem 0.5rem;
}
#form-reservation-modal .modal-body .col-form-label, #form-reservation-confirm-modal .modal-body .col-form-label {
  font-weight: 600;
}
@media screen and (max-width: 767px) {
  #form-reservation-modal .modal-body .col-form-label, #form-reservation-confirm-modal .modal-body .col-form-label {
    font-size: 0.9rem;
  }
}
#form-reservation-modal .modal-body .form-check-label, #form-reservation-confirm-modal .modal-body .form-check-label {
  cursor: pointer;
  opacity: 1 !important;
}
@media screen and (max-width: 767px) {
  #form-reservation-modal .modal-body .form-check-label, #form-reservation-confirm-modal .modal-body .form-check-label {
    font-size: 0.9rem;
  }
}
#form-reservation-modal .modal-body .form-check-label.disabled, #form-reservation-confirm-modal .modal-body .form-check-label.disabled {
  opacity: 0.5 !important;
}
#form-reservation-modal .modal-body .form-check-input, #form-reservation-confirm-modal .modal-body .form-check-input {
  margin-top: 0.5em;
}
#form-reservation-modal .btn-primary-line, #form-reservation-confirm-modal .btn-primary-line {
  color: #fff;
  background-color: #1cba03;
}
#form-reservation-modal .btn-primary-line:hover, #form-reservation-confirm-modal .btn-primary-line:hover {
  background-color: #14a30c;
}
#form-reservation-modal .btn img, #form-reservation-confirm-modal .btn img {
  width: auto;
  height: 1.5em;
}

@media screen and (max-width: 768px) {
  header .navbar-toggler {
    display: block;
    position: absolute;
    top: 20px;
    right: 10px;
    border-radius: 2px;
    outline: 1px solid silver;
    width: 45px;
  }
  header .navbar-toggler span {
    width: 45px;
    height: 15px;
    border-top: 2px solid #fff;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    transform-origin: top center;
  }
  header .navbar-toggler span:nth-child(1) {
    top: 15px;
    transform: rotate(45deg);
  }
  header .navbar-toggler span:nth-child(2) {
    top: 15px;
    opacity: 0;
  }
  header .navbar-toggler span:nth-child(3) {
    top: 15px;
    transform: rotate(-45deg);
  }
  header .navbar-toggler.collapsed span:nth-child(1) {
    top: 0px;
    transform: rotate(0deg);
  }
  header .navbar-toggler.collapsed span:nth-child(2) {
    top: 15px;
    opacity: 1;
  }
  header .navbar-toggler.collapsed span:nth-child(3) {
    top: 30px;
    transform: rotate(0deg);
  }
}
