/*
Theme Name: yanagiclinic
Theme URI: 
Author: 
Author URI: 
Description: yanagiclinicのテーマ
Version: 1.0
*/

/*  共通
------------------------------*/
.main__body h2.h-2 {
  font-weight: bold;
}
.content-id {
  background: left center url("/wp-content/themes/yanagiclinic/assets/img/bg_01.png") !important;
  background-size: cover !important;
}
.red {
  color: #ea0000;
}
em {
  color: #ea0000;
}

.grid .item a,
.section-2 .text a {
  color: #162693 !important;
}

.grid .item a:hover,
.section-2 .text a:hover {
  color: #7bbeda !important;
}

.en th,
.en td {
  font-size: 84% !important;
  padding: 11px 8px !important;
  word-break: keep-all !important;
}

#home-outpatient a .FA-icon {
  color: #7bbeda;

}

#home-outpatient a:hover .FA-icon {
  color: #D1ECF0;
  transition: all .5s;
}

#home-checkup .image::before {
  background-color: rgba(22,38,147,0)!important;
}

.footnote .fp-en {
  padding-top: 20px;
}

.footnote ul li {
  text-indent: 0;
  padding-left: 0;
}
@media only screen and (min-width: 1180px) {
  .footnote ul li {font-size: 76%;}
}
@media only screen and (max-width: 1179px) {
  .footnote ul li {font-size: 100%;}
}
@media only screen and (max-width: 767px) {
  .footnote ul li {font-size: 100%;}
}

.mod-information a:hover {
  color:#0D0EEB;
}

@media only screen and (min-width: 768px) {
    .section-1 {
       padding-top: 0 !important;
    }
    #page-home .section-1,
    #page-error .section-1 {
       padding-top: 80px !important;
    }
    .site-nav .nav-child .FA-icon {
      color: #7bbeda !important;
    }
}

@media only screen and (max-width: 767px) {
    .table-hour th {
       font-size: 75% !important;
    }
    .section-1 {
       padding: 0 15px 40px !important;
    }
    #page-home .section-1 {
       padding: 40px 15px !important;
    }
    #page-error .section-1 {
       padding-top: 40px !important;
    }
    .mod-update__body .date__yyyymmdd {
      font-size: 100% !important;
    }
}


/*  blog top
------------------------------*/
.pager__number {
  border: 1px solid #aadbf0 !important;
  color: #6cc1e5 !important;
}
.pager__number.is-current {
  background-color: #aadbf0 !important;
}


/*  english
------------------------------*/
#page-en .text p {
  word-break: keep-all;
}

#page-en strong {
  font-weight: bold;
}


/*  privacy
------------------------------*/
#page-privacy .section-2 ol {
  list-style-position: inside;
}
#page-privacy .section-2 ol li {
  list-style-type: decimal;
  padding-top: 20px;
}
#page-privacy .section-2 ol li:first-child {
  padding-top: 0;
}


/*  link
------------------------------*/
#page-link .section-2 ul {
  list-style-position: inside;
}
#page-link .section-2 ul li {
  list-style-type: disc;
  padding-top: 20px;
}
#page-link .section-2 ul li a {
  color: #1B70DB;
}
#page-link .section-2 ul li:first-child {
  padding-top: 0;
}


/*  2021-12-18 バナー追加
------------------------------*/
@media only screen and (min-width: 768px) {
  .fix-btn {
    position: fixed;
    bottom: 30px; 
    right: 30px;
    display: block;
    width: 190px;
    height: 60px;
    background: #ffffff;
    opacity: 0.9;
    color: #333;
    border-radius: 30px;
    border: solid 2px #333;
    text-decoration: none;
    text-align: left;
    z-index: 1000;
  }
  .fix-btn.btn2 {
    bottom: 100px !important; 
  }
  .fix-btn > a {
    display: block;
    height:60px;
    font-size: 140%;
    font-weight: bold;
    padding-top: 11px;
    padding-left: 30px;
    line-height: 1.2em;
  }
  .fix-btn > a:before { 
    font-family: 'Font Awesome 5 Free';
    font-size: 1.6rem;
    line-height: 1;
    position: absolute;
    top: calc(50% - .8rem);
    right: 1rem;
    margin: 0;
    padding: 0;
    content: '\f054';
   }
}

@media only screen and (max-width: 767px) {
  .fix-btn {
    position: fixed;
    bottom: 20px; 
    right: 12px;
    display: block;
    width: 150px;
    height: 60px;
    background: #ffffff;
    opacity: 0.9;
    color: #333;
    border-radius: 30px;
    border: solid 2px #333;
    text-decoration: none;
    text-align: left;
    z-index: 1000;
  }
  .fix-btn.btn2 {
    bottom: 100px !important; 
  }
  .fix-btn > a {
    display: block;
    height:60px;
    font-size: 140%;
    font-weight: bold;
    padding-top: 11px;
    padding-left: 20px;
    line-height: 1.2em;
  }
  .fix-btn > a:before { 
    font-family: 'Font Awesome 5 Free';
    font-size: 1.6rem;
    line-height: 1;
    position: absolute;
    top: calc(50% - .8rem);
    right: 0.75rem;
    margin: 0;
    padding: 0;
    content: '\f054';
   }
}


/*  2025-10-22 診療時間表変更
------------------------------*/
.mod-information__hour .table-hour thead th {
  background-color: #82cdea !important;
}

.mod-information__hour .mk-tb2 .mk-th1b,
.mod-information__hour .mk-tb2 .mk-th3b {
  white-space: nowrap !important;
  color: #333 !important;
}
.mod-information__hour .mk-tb2 .mk-th4 {
  white-space: nowrap !important;
}
.mod-information__hour .mk-tb2 .mk-th2b {
  text-align: left;
  color: #333 !important;
  line-height: 1.4;
}
.mod-information__hour .mk-tb2 .mk-th2,
.mod-information__hour .mk-tb2 .mk-th3,
.mod-information__hour .mk-tb2 .mk-th4 {
  font-weight: 600;
  padding: 15px 6px !important;
  letter-spacing: 0.07em;
}

.mod-information__hour .mk-tb2 td {
  color: #333 !important;
}

@media only screen and (min-width: 1180px) {
  .mod-information__hour .mk-tb2 {
    font-size: 76% !important;
  }
  .mod-information__hour .mk-tb2 th {
    padding: 11px 8px !important;
  }
  .mod-information__hour .mk-tb2 td {
    padding: 11px 4px !important;
  }
}
@media only screen and (max-width: 1179px) {
  .mod-information__hour .mk-tb2 {
    font-size: 90% !important;
  }
  .mod-information__hour .mk-tb2 th {
    padding: 11px 14px !important;
  }
}
@media only screen and (max-width: 767px) {
  .mod-information__hour .mk-tb2 {
    font-size: 90% !important;
  }
  .mod-information__hour .mk-tb2 th {
    padding: 11px 14px !important;
  }
}





/*  2025-10-22 モーダル
------------------------------*/
.mk-modal-container {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  text-align: center;
  background: rgba(0, 0, 0, 0.585);
  overflow: auto;
  opacity: 0;
  visibility: hidden;
  transition: .3s ease-out;
  z-index: 9;
}

.mk-modal-container::before {
  content: "";
  display: inline-block;
  vertical-align: middle;
  height: 100%;
}

.mk-modal-container.active {
  opacity: 1;
  visibility: visible;
}

.mk-modal-body {
  font-weight: normal;
  position: relative;
  display: inline-block;
  vertical-align: middle;
  max-width: 500px;
  width: 90%;
}

.mk-modal-content button::before {
    content: "\2715";
}

.mk-modal-close {
 position: absolute;
  top: 13px;
  right: 13px;
  color: #000;
  cursor: pointer;
  background: transparent;
  border: 0;
}

.mk-modal-content {
  background: #fff;
  border: 2px solid #000;
  text-align: left;
  padding: 30px;
  font-weight: bold;
}

.mk-modal-content h4 {
  text-align: center;
  margin-top: 20px;
  letter-spacing: 0.07em;
}

.mk-modal-content p {
  font-weight: normal;
  font-size: 90%;
  color: #ea0000;
  margin-top: 10px;
  line-height: 1.5em;
  letter-spacing: 0.07em;
}

.mk-modal-content img {
  margin-top: 15px;
}

.mk-modal-content p a {
  color: #0d1bb5;
}

