/*
Theme Name: wakaba-clinic
Author: wakaba-clinic
Description: wakaba-clinic WordPress Theme
Version: 1.0
Text Domain: tk
*/

/* :rootのCSS変数の宣言 */ 
:root {
/* color */ 
--red: #f03440; 
--orange: #ee7700;
--orange2: #fff2e4;
--orange3: #fffaf5;
--blue4: #005585;
--orange: #ee7800; 
--green: #008000;
--green2: #f3fff3; 



/* style */ 
--main-color: var(--orange); 
--sub-color2: var(--orange2); 
--sub-color3: var(--orange3); 
--sub-color4: var(--blue4); 
--sub-color-green: var(--green);
--sub-color-green2: var(--green2);
--sub-color-ore: var(--orange);
--sub-color-red: var(--red);
}




body {
    font-family: "fot-tsukubrdgothic-std", sans-serif,
  "Helvetica Neue",
    Arial,
    "Hiragino Kaku Gothic ProN",
    "Hiragino Sans",
    Meiryo,
    sans-serif;
font-weight: 400;
font-style: normal;
line-height: 1.6;
letter-spacing: 1.3px;
color: #1a2436 !important;
}

a {
  color: #ee7700;
    text-decoration: none;
    font-weight: 700;
}

a:hover,.pagetop a:hover {
  color: #1a2436;
}

.pagetop a {
  color: #1a0dab !important ;
}
.pagetop a i {
  color: #ee7700 !important ;
  font-weight: 700;
}

a:hover img {
    opacity: 0.7;
}

ul li {
  list-style: none !important;
}

h1,h2,h3,h4,h5 {
    font-feature-settings: "palt";/*文字幅詰め*/
    font-family: "fot-tsukubrdgothic-std", sans-serif;
font-weight: 700;
font-style: normal;
  }

  .tit_h1 {
    padding: 0.5em;/*文字周りの余白*/
    background: #fffaf4;/*背景色*/
    border-left: solid 10px #ee7700;/*左線（実線 太さ 色）*/
  }

  .tit_h2 {
    padding: 0.5em;/*文字周りの余白*/
    border-left: solid 5px #5aba82;/*左線（実線 太さ 色）*/
    background: #f8ffe8;/*背景色*/
    margin-bottom: 1.25rem;
    font-size: 1.5rem;
  }

  .tit_top_h2 {
    font-size: 2.2rem;
    text-shadow: 0 0 15px #ffffff;
  }
  .tit_h3_box {
    color: #3d7c57;
    font-size: 1.25rem;
    font-weight: 700;
    padding-bottom: 5px;
    border-bottom: solid 2px #5aba82;
  }

  .tit_h3_box::before {
    font-size: 1rem;    
    padding-top: 2px;
    content: "\F285"; /* Chevron right */
    font-family: bootstrap-icons;
    font-weight: 700;
  line-height: 1;
  vertical-align: -.125em;
  }

  .tit_h3 {
    position: relative;
    padding: 0.25em 0;
    font-size: 1.4rem;
  }

  .tit_h3:after {
    content: "";
    display: block;
    margin-top: 3px;
    height: 2px;
    background: rgb(74,190,120);
background: linear-gradient(180deg, rgba(74,190,120,1) 0%, rgba(42,180,103,1) 100%);
    /*オレンジ
    background: -webkit-linear-gradient(to right, rgb(255, 186, 115), #ffb2b2);
    background: linear-gradient(to right, rgb(255, 186, 115), #ffb2b2);
    */
  }

  .tit_h3_menu {
    padding: 0.1em 0.3em;/*文字周りの余白*/
    border-left: solid 5px #ee7700;/*左線（実線 太さ 色）*/
    font-size: 1.25rem;
  }

  .txt_ore_st {
    color: #ee7700 !important;
    font-weight: 700;
    font-size: 1.25rem;
  }

  .txt_ore {
  color: #ee7700;
}
.txt_ore::before {
  padding-right: .25rem;
  padding-top: 2px;
  content: "\F4F2";
  /* content: "\F133"; */
  font-family: bootstrap-icons;
  font-weight: 400;
  line-height: 1;
  vertical-align: -.125em;
}
  
 .bk_ore {
    background: rgb(238,83,0);
background: linear-gradient(90deg, rgba(238,83,0,1) 0%, rgba(238,119,0,1) 100%);
}


.bk_ore_nav {
  background: rgb(242,143,48);
background: linear-gradient(180deg, rgba(242,143,48,1) 0%, rgba(240,135,26,1) 100%);
/*緑
background: rgb(74,190,120);
background: linear-gradient(180deg, rgba(74,190,120,1) 0%, rgba(42,180,103,1) 100%);
*/
}

.bk_ore2 {
  background: #fff2e4;
}

.bk_green {
  background: #f5fde4;
}

.bk_green2 {
  background-image: linear-gradient(90deg, rgb(51, 151, 93) 0%, rgba(90,186,130,1) 100%);
}

.bk_pink {
  background: #fff3f7;
}

.bk_wh {
  background: #fff;
}

table>thead>tr>th {
  background: #5aba82 !important;
}

.txt_b_ore {
  color: #ee7700;
  font-weight: 700;
  background: linear-gradient(transparent 70%, #ffe4c8 70%);
  font-size: 1.1rem;
}

.txt_b_ore_sm {
  color: #ee4300;
  font-weight: 700;
  font-size: 14px;
}


/*Navigation*/

#about .nav_about, #outpatient .nav_out, #hosp .nav_hosp, #departments .nav_dep, #section .nav_sec, #medical .nav_med {
  border-bottom: 2px solid;
   font-weight:700;
} 
@media (max-width: 767px) {
  #about .nav_about, #outpatient .nav_out, #hosp .nav_hosp, #departments .nav_dep, #section .nav_sec, #medical .nav_med{
    color: #ee7700 !important;
    border-bottom: none;
  }
}

.nav_txt a {
  color: #FFF !important;
  font-weight: 400;
  font-size: 1.2rem;
  position: relative;
}

.nav_txt a::after {
  position: absolute;
  left: 0;
  content: '';
  width: 100%;
  height: 2px;
  background: #ffffff;
  bottom: -2px;
  transform: scale(0, 1);
  transform-origin: center top; /*変形（アンダーラインの伸長）の原点がaタグ（各メニュー）の右端*/
  transition: transform 0.3s;   /*変形の時間*/
  }
  
  .nav_txt a:hover::after {
  transform: scale(1, 1); /*ホバー後、x軸方向に1（相対値）伸長*/
  }


.nav_txt a::before {
  padding-right: .1rem;
  padding-top: 2px;
  content: "\F285"; /* Chevron right*/
  font-family: bootstrap-icons;
  font-weight: 400;
line-height: 1;
vertical-align: -.125em;
font-size: 1rem;
}

@media (max-width: 767px) {
  .nav_txt a:hover {
    color: #ee7700 !important;
  }

.nav_txt a::after {

}

.nav_txt a::before{
  
}


  .bk_ore_nav {
    background: #FFF;
  }
  .nav_txt a {
    color: #1a2436 !important;
    font-weight: 700;
  }
}

.dropdown-hover .dropdown-menu {
  transition: all 0.3s;
  max-height: 0;
  display: block;
  overflow: hidden;
  opacity: 0;
}
.dropdown-hover:hover .dropdown-menu {
  max-height: 500px;
  opacity: 1;
}

.head_link a, .head_link_tel a {
  color: #1a2436 !important;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.2rem;
}

.head_link i {
  padding-right: .25rem;
}

.bt_top {
  background-color: #92e8b6;
  margin-bottom: 4.5rem !important;
}

.bt_top:hover {
  background-color: #62ce8f;
}

.head_link a:hover {
  color: #ee7700;
  text-decoration: underline;
}

  .head_link_tel {
    border: #1a2436 1px solid;
  }



/* ============ メガメニュー設定 ============ */
.navbar .megamenu{ padding: 1rem; }

/* ============ desktop view ============ */
@media all and (min-width: 992px) {

  .navbar .has-megamenu{position:static!important;}
  .navbar .megamenu{left:0; right:0; width:100%; margin-top:0;  }

}	
/* ============ desktop view .end// ============ */

/* ============ mobile view ============ */
@media(max-width: 991px){
  .navbar.fixed-top .navbar-collapse, .navbar.sticky-top .navbar-collapse{
    overflow-y: auto;
      max-height: 90vh;
      margin-top:10px;
  }
}
/* ============ メガメニュー設定 ============ */

/* ============ TOP MV ============ */
.top_mv {
  height: 650px;
  padding: 200px 0;
}

.main_mv2 {
	height:650px;
  overflow:hidden;
  margin:0 auto; 
  position: relative;
}

.swiper-slide-active .slide-img,
.swiper-slide-duplicate-active .slide-img,
.swiper-slide-prev .slide-img{
  animation: zoomUp 12s linear 0s 1 normal both; 
}

@keyframes zoomUp {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.2);
  }
}


.mv_txt {
  position: absolute;
  vertical-align: middle;
  width: 50%;
  z-index: 10;
  padding: 200px 0;
  margin: 0 auto;
  right: 0;
  left: 0;
}

.mv01 {
  background-image: url('/wp/wp-content/themes/wakabamachi/assets/img/top_mv01.jpg'); background-size: cover;
}

.mv02 {
  background-image: url('/wp/wp-content/themes/wakabamachi/assets/img/top_mv02.jpg'); background-size: cover;
}

.mv03 {
  background-image: url('/wp/wp-content/themes/wakabamachi/assets/img/top_mv04.jpg'); background-size: cover;
}



@media(max-width: 767px){
.top_mv {
  height: 400px;
  padding: 100px 0;
}
.main_mv2 {
  height: 400px;
}
.mv_txt {
  padding: 100px 0;
  width: 90%;
}

.mv01 {
  background-image: url('/wp/wp-content/themes/wakabamachi/assets/img/top_mv01_sp.jpg'); background-size: cover;
}

.mv02 {
  background-image: url('/wp/wp-content/themes/wakabamachi/assets/img/top_mv02_sp.jpg'); background-size: cover;
}

.mv03 {
  background-image: url('/wp/wp-content/themes/wakabamachi/assets/img/top_mv04_sp.jpg'); background-size: cover;
}

}

.bt_green {
    display: flex;
    background: #FFF;
    align-items: center;
    justify-content: center;
    line-height: 1;
    text-decoration: none;
    color: #1a2436;
    border-radius: 20px;
    height: 40px;
    font-weight: bold;
    border: 2px solid #5aba82;
    transition: 0.3s;
    box-shadow: 0px 6px 0px -2px rgb(90, 186, 130);
  }
  
  .bt_green:hover {
    box-shadow: 0 0 #fff;
    color: #fff;
    /*transform: translateY(1px);*/
    background-image: linear-gradient(90deg, rgb(51, 151, 93) 0%, rgba(90,186,130,1) 100%);
    z-index: 0;
  }


.bt_ore {
    display: flex;
    background: #FFF;
    align-items: center;
    justify-content: center;
    line-height: 1;
    text-decoration: none;
    color: #1a2436;
    border-radius: 20px;
    height: 40px;
    font-weight: bold;
    border: 2px solid #ee7700;
    transition: 0.3s;
    box-shadow: 0px 6px 0px -2px rgb(238, 119, 0);
  }
  
  .bt_ore:hover {
    box-shadow: 0 0 #fff;
    color: #fff;
    /*transform: translateY(1px);*/
    background-image: linear-gradient(90deg, rgba(238,83,0,1) 0%, rgba(238,119,0,1) 100%);
    z-index: 0;
  }


  .bt_ore2 {
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    text-decoration: none;
    color: #fff;
    border-radius: 20px;
    height: 40px;
    font-weight: bold;
    border: 1px solid #ee7700;
    transition: 0.3s;
    box-shadow: 0px 6px 0px -2px rgb(255, 211, 168);
    background-image: linear-gradient(90deg, rgba(238,83,0,1) 0%, rgba(238,119,0,1) 100%);
  }

  .bt_ore2::before,.bt_ore::before {
    padding-right: .25rem;
    padding-top: 2px;
    content: "\F4F2"; /* Play circle fill */
    /*content: "\F133";*/ /* Arrow right circle fill */
    font-family: bootstrap-icons;
    font-weight: 400;
  line-height: 1;
  vertical-align: -.125em;
  }
  
  .bt_ore2:hover {
    box-shadow: 0 0 #fff;
    color: #1a2436;
    /*transform: translateY(1px);*/
    background: #fff;
  }

  .bt_green2 {
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    text-decoration: none;
    color: #fff;
    border-radius: 20px;
    height: 40px;
    font-weight: bold;
    border: 1px solid #5aba82;
    transition: 0.3s;
    box-shadow: 0px 6px 0px -2px rgb(90, 186, 130);
    background-image: linear-gradient(90deg, rgb(51, 151, 93) 0%, rgba(90,186,130,1) 100%);
  }

  .bt_green2::before,.bt_green::before {
    padding-right: .25rem;
    padding-top: 2px;
    content: "\F4F2"; /* Play circle fill */
    /*content: "\F133";*/ /* Arrow right circle fill */
    font-family: bootstrap-icons;
    font-weight: 400;
  line-height: 1;
  vertical-align: -.125em;
  }
  
  .bt_green2:hover {
    box-shadow: 0 0 #fff;
    color: #1a2436;
    /*transform: translateY(1px);*/
    background: #fff;
  }

/*BOX影*/
.box_no_b {
  border: none !important;
  box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.35);
}


/*お知らせ*/
.news-list{
  list-style: none outside;
  margin: 0;
  padding: 0;
}
.news-list .item a{
  display: flex;
  flex-wrap: wrap;
  flex-wrap: nowrap;
  text-decoration: none;
  border-bottom: 1px solid #CCC;
  padding: 20px 20px;
  color: #1a2436;
}
.news-list .item:first-child a{
  border-top: 1px solid #CCC;
}
.news-list .item .date{
  margin: 0;
  min-width: 160px;
  font-size: 16px;
  padding: 0 20px 0 0;
}
.news-list .item .category{
  margin: 0;
  min-width: 120px;
  padding: 0 10px 0 0;
}
.news-list .item .category span{
  background: #5aba82;
  color: #FFF;
  text-align: center;
  display: inline-block;
  padding: 5px 20px;
  font-size: 12px;
  line-height: 1;
}
.news-list .item .title{
  margin: 0;
  width: 100%;
}
.news-list .item a:hover {
  color: #5aba82;
  text-decoration: underline;
}

@media screen and (max-width: 767px){
.news-list .item a{
  flex-wrap: wrap;
}
.news-list .item .date{
  min-width: 100px;
}
.news-list .item .title{
  margin-top: 10px;
}
}

.news_scroll {
  background-color: #fff;
  overflow-y: scroll;
  height: 300px;
}
.news_scroll::-webkit-scrollbar{
  width: 5px;
}
.news_scroll::-webkit-scrollbar-track{
  background-color: #a8a8a8;
}
.news_scroll::-webkit-scrollbar-thumb{
  background-color: #5aba82;
}




  /*中 メイン*/
  .mv_tit {
    padding: 12px 28px;
    text-align: center;
    vertical-align: middle;
    margin: 1.5rem 0;
  }
  .mv_tit h1 {
    color: #fff;
    font-size: 1.8rem !important;
    margin: 0;
  }
  @media (max-width: 767px) { 
    .mv_tit h1 {
      font-size: 1.5rem !important;
    }
  }


  .bi {
    vertical-align: -.125em;
    fill: currentColor;
  }

  .nav-scroller {
    position: relative;
    z-index: 2;
    height: 2.75rem;
    overflow-y: hidden;
  }

  .nav-scroller .nav {
    display: flex;
    flex-wrap: nowrap;
    padding-bottom: 1rem;
    margin-top: -1px;
    overflow-x: auto;
    text-align: center;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
  }

  .box_ore {
    border: 2px solid #ee7700 !important;
    background: #fffbf7;
    counter-reset: #000 !important;
    color: #1a2436 !important;
  }

  .box_ore2 {
    border: 2px solid #ee7700 !important;
    background: #ffffff;
    color: #1a2436;
  }

    .box_green2 {
    border: 2px solid #5aba82 !important;
    background: #fcfff7;
    color: #1a2436;
  }

    .box_green3 {
    border: 2px solid #5aba82 !important;
    background: #fff;
    color: #1a2436;
  }

 
  .bt_foot {
    background: #FFF;
    text-align: center;
    border-top: #ee7700 1px solid !important;
  }
  .bt_foot a {
    color: #1a2436;
    text-decoration: none;
    font-weight: 700;
  }

  .bt_foot a:hover {
    color:#ee7700;
    text-decoration: underline;
  }

/*google map*/
  .gmap {
    height: 0;
    overflow: hidden;
    padding-bottom: 56.25%;
    position: relative;
    }
    .gmap iframe {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    }
    @media (max-width: 767px) { 
      .gmap {
        padding-bottom: 120%;
      }
    }

    /*アコーディオン*/
    .accordion-item .accordion-button:focus {
    background-color: #ffe4c8 !important;
    box-shadow: none !important;
  }

  .accordion-item .accordion-button {
    background-color: #fff !important;
  }

/*チェックリスト*/
.check_box {
  /*padding: 1rem;*/
  position: relative;
}
.check-list>li {
  padding: 0.5rem 0;

}
/*
.check-list>li:not(:last-child) {
  border-bottom: 1px solid #ccc;
}
  */
.check-list>li::before {
  position: absolute;
  content: "\F26E"; /* Check */
  font-family: bootstrap-icons;
  font-size: 1.2rem;
  font-weight: 700;
  color: #ee7700;
  left: 20px;
}


.tb0 th {
  white-space: nowrap;
}

/*table th上部*/
@media (max-width: 767px) {
 .tb0 table{
    width: 100%;
  }

  .tb0 table th,
  .tb0 table td,
  .tb0 table tr{
    display: block;
  }
  .tb0 table th,
  .tb0 table td{
    border-top: none;    
  }
  .tb0 table td{
    border-bottom: none;    
  }
  .tb0 table tr{
    padding-bottom: 15px;
  }
  /*.tb0 table tr:first-child th{
    border-top: 1px solid #dee2e6;
  }
  */
}

/*tab menu*/
.nav-link {

}
.nav-link.active {
  color: #FFF !important;
  font-weight: 700;
  background-color: #ee7700 !important;
  border-bottom: none;
}

.nav-pills .nav-link {
  /* 左上 | 右上 | 右下 | 左下 */
border-radius: 8px 8px 0 0 !important;
background-color: #ffe4c8;
border-bottom: 1px solid #ee7700;
border-left: 1px solid #fff;
color: #1a2436;
font-weight: 700;
}

/*modal foot固定のためz-index変更*/
.modal-backdrop.show {
  z-index: 1 !important;
}
.modal-backdrop .fade .show {
  z-index: 1 !important;
}

/*form 背景色変更*/
input, select, textarea {
background-color: #ecf4f7 !important;
}