/*
Theme Name: kawaguchi-hokubu-hp
Author: kawaguchi-hokubu-hp
Description: kawaguchi-hokubu-hp 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);
}


/*set*/


body {
        /*font-family: "fot-tsukubrdgothic-std", sans-serif,
  "Helvetica Neue",
    Arial,
    "Hiragino Kaku Gothic ProN",
    "Hiragino Sans",
    Meiryo,
    sans-serif;*/
    font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
font-weight: 400;
font-style: normal;
line-height: 1.6;
letter-spacing: 1.3px;
color: #1a2436 !important;
}

a {
  color: var(--sub-color-ore);
  text-decoration: none;
  font-weight: 700;
}

a:hover,.pagetop a:hover {
  color: #1a2436;
}

.pagetop a {
  color: #1a0dab !important ;
}
.pagetop a i {
  color: var(--sub-color-ore)!important ;
  font-weight: 700;
}

a:hover img{
  opacity: 0.7;
  filter: alpha(opacity=70);
  -ms-filter: "alpha(opacity=70)";
}

ul li {
  list-style: none !important;
}

h1,h2,h3,h4,h5 {
    font-feature-settings: "palt";/*文字幅詰め*/
    /*font-family: "fot-tsukubrdgothic-std", sans-serif;*/
font-weight: 400;
font-style: normal;
  }

  .tit_h1 {
    padding: 0.5em;/*文字周りの余白*/
    background: #fffaf4;/*背景色*/
    border-left: solid 10px var(--main-color);/*左線（実線 太さ 色）*/
  }

  .tit_h2 {
    padding: 0.5em;/*文字周りの余白*/
    border-left: solid 5px var(--main-color);/*左線（実線 太さ 色）*/
    background: var(--sub-color2);/*背景色*/
    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: var(--main-color);
    font-size: 1.25rem;
    font-weight: 700;
    padding-bottom: 5px;
    border-bottom: solid 2px var(--main-color);
  }

  .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.2rem;
  }

    .tit_h4_line {
    font-size: 1.1rem;
    font-weight: 700;
}

  .tit_h3:after,.tit_h4_line:after {
    content: "";
    display: block;
    margin-top: 3px;
    height: 2px;
    background: var(--main-color);
  }

  .tit_h3_menu {
    padding: 0.1em 0.3em;/*文字周りの余白*/
    border-left: solid 5px var(--main-color);/*左線（実線 太さ 色）*/
    font-size: 1.25rem;
  }

    .tit_h3_name {
   font-size: 1.4rem !important;
    }

  .tit_h4 {
    font-size: 1.1rem;
    font-weight: 700;
}

    .top_section h2,
    .top_section i,
    .top_section .btn-outline-success {
      color: #ee7700 !important;
    }

  .txt_ore_st {
    color: #ee7700 !important;
    font-weight: 700;
    font-size: 1.25rem;
  }
  
 .bk_ore, .bk_ore_nav {
    background: var(--main-color);
}

.bk_ore2 {
  background: var(--sub-color2);
}

.bk_wh {
background-color: rgba(255, 255, 255, 0.562);
}

.fs_s_red {
  font-size: 0.75rem;
  color: var(--sub-color-red);
}


.tac {
  text-align: center !important;
}


table>thead>tr>th {
  background: var(--main-color) !important;
  color: #FFF !important;
}

.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;
}

.txt_ore2 {
  color: #ee7700;
  font-weight: 700;
}


.txt_b_ore {
  color: #ee7700;
  font-weight: 700;
  background: linear-gradient(transparent 70%, #ffe4c8 70%);
  font-size: 1.2rem;
  display: inline;
}

.txt_b_ore_rec {
  color: #ee7700;
  font-weight: 700;
  background: linear-gradient(transparent 70%, #ffe4c8 70%);
  display: inline;
}

.fs14 {
  font-size: 14px !important;
}

.fs20 {
  font-size: 1.25rem !important;
}

.fw700 {
  font-weight: 700 !important;
}

.sp_br {
  display: none;
}
@media screen and (max-width: 768px) {
  .sp_br {
    display: block;
  }
}

.bg_ore {
    --bs-bg-opacity: 1;
    background-color: var(--sub-color3) !important;
}

.bg_green {
    --bs-bg-opacity: 1;
    background-color: var(--sub-color-green2) !important;
}
@media (max-width: 767px) {
.yaji {
transform: rotate(90deg); 
}
}
/*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;
  /*display: block;*/
}

.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;
  }
    .nav_txt_foot a {
      color: #FFF !important;
      font-weight: 400;
    }
}

.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: #ffe4c8;
  margin-bottom: 4.5rem !important;
}

.bt_top:hover {
  background-color: #ee7700;
}

.head_link a:hover {
  color: #ee7700;
  text-decoration: underline;
}

.head_link_tel {
    border: #1a2436 1px solid;
  }

.link_blk a {
  color: #1a2436 !important;
  text-decoration: none;
  font-weight: 700;
}

.link_blk a:hover {
  color: var(--main-color) !important;
  text-decoration: underline !important;
}


/* ============ メガメニュー設定 ============ */
.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;
  }
}
/* ============ メガメニュー設定 ============ */
.dropdown:hover>.dropdown-menu {
  display: block;
}

.dropdown>.dropdown-toggle:active {
  /*Without this, clicking will make it sticky*/
    pointer-events: none;
}

.drop_nav_ori {
  border-radius: 0 !important;
  background-color: #ee7700 !important;
  border: none !important;
  padding: 0 1rem;
  white-space: nowrap;
}

.drop_nav_ori li {
  border-bottom: 1px solid #FFF;
  padding: 0.5rem 0;
}

@media (max-width: 767px) {
  .drop_nav_ori {
  background-color: #FFF !important;
}

 .drop_nav_ori li:last-child {
  padding-bottom: 2rem;
  border: none;
 }

}

/* ============ TOP MV ============ */
.top_mv {
  height: 800px;
  padding: 200px 0;
}

.main_mv2 {
	height:800px;
  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: 100%;
  z-index: 10;
  padding: 200px 0;
}

@media(max-width: 991px){
.top_mv {
  height: 400px;
  padding: 100px 0;
}
.main_mv2 {
  height: 400px;
}
.mv_txt {
  padding: 100px 0;
}

}

.w80 {
  width: 80% !important;
}
.w60 {
  width: 60% !important;
}

.bt_80 {
  width: 80% !important;
}

.bt_30 {
  width: 30% !important;
}

@media (max-width: 767px) {
 .w80,.w60,.bt_80,.bt_30 {
    width: 100% !important;
  }
}

.bt_ore {
     display: flex;
    padding: 10px 20px;
    background: #FFF;
    align-items: center;
    justify-content: center;
    line-height: 1;
    text-decoration: none;
    color: #1a2436;
    border-radius: 25px;
    height: 50px;
    font-weight: bold;
    border: 2px solid var(--main-color);
    transition: 0.3s;
    box-shadow: 0px 6px 0px -2px var(--main-color);
  }
  
  .bt_ore:hover {
    box-shadow: 0 0 #fff;
    color: #fff;
    /*transform: translateY(1px);*/
    background: var(--main-color);
    z-index: 0;
  }


  .bt_ore2 {
    display: flex;
    padding: 10px 20px;
    align-items: center;
    justify-content: center;
    line-height: 1;
    text-decoration: none;
    color: #fff;
    border-radius: 25px;
    height: 50px;
    font-weight: bold;
    border: 1px solid var(--main-color);
    transition: 0.3s;
    box-shadow: 0px 6px 0px -2px var(--sub-color3);
    background: var(--main-color);
  }

  .bt_ore2::before,.bt_ore::before,.link_blk a::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;
  }

/*top section*/
.top_sec01 {
  height: 800px;
  display: flex;
    justify-content: center;
    align-items: center;
  color: #fff;
  font-weight: 700;
  text-shadow: 1px 1px 2px #063248;
}
.top_sec01 h2 {
 font-size: 2.2rem;
font-weight: 700;
}


/*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: #ee7700;
  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: #ee7700;
  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: 400px;
}
.news_scroll::-webkit-scrollbar{
  width: 5px;
}
.news_scroll::-webkit-scrollbar-track{
  background-color: #a8a8a8;
}
.news_scroll::-webkit-scrollbar-thumb{
  background-color: #ee7700;
}




  /*中 メイン*/
  .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 var(--main-color) !important;
    background: #ffffff;
    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 {
  border: 1px solid #ccc;
  padding: 1rem;
  position: relative;

}
.check-list>li {
  padding: 1rem 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: 25px;
}
.check_box02 {
  position: relative;
  padding: 1rem;
}
.check-list02>li {
    padding: 1rem 0;
    padding-bottom: 3px;
}
.check-list02>li::before {
  position: absolute;
  content: "\F26E"; /* Check */
  font-family: bootstrap-icons;
  font-size: 1.5rem;
  font-weight: 700;
  color: #ee7700;
  left: 0px;
}

/*
.table th {
  width: 20% !important;
}
  */

/*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 th {
    width: 100% !important;
  }
  /*.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;
}
*/

.triangle {
  width: 0;
  height: 0;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-top: 20px solid #ee7700;
}



/*タイムライン*/
 .timeline {
  border-left: 1px solid hsl(0, 0%, 90%);
  position: relative;
  list-style: none;
}

.timeline .timeline-item {
  position: relative;
}

.timeline .timeline-item:after {
  position: absolute;
  display: block;
  top: 0;
}

.timeline .timeline-item:after {
  background-color: hsl(0, 0%, 90%);
  left: -38px;
  border-radius: 50%;
  height: 11px;
  width: 11px;
  content: "";
}

/* ====== 上段の大きなカード ====== */
.dept-card {
  position: relative;
  border-radius: .55rem;
  overflow: hidden;
  height: 300px;
}

.dept-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.dept-card:hover img {
  transform: scale(1.05);
}

.dept-overlay {
  position: absolute;
  inset: 0;
  background: rgba(238, 119, 0, 0.8);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
  text-align: center;
  padding: 1rem;
}

.dept-overlay h3 {
  font-weight: 700;
  margin: .5rem 0;
}

.dept-overlay small {
  letter-spacing: .05em;
}

.dept-overlay .btn {
  border-radius: 50px;
  margin-top: .5rem;
  font-weight: 500;
}

/* ====== 下段のアイコン付きカード ====== */
.mini-card {
  border: 1px solid #e5e7eb;
  border-radius: .35rem;
  padding: .75rem 1rem;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all .25s ease;
  text-decoration: none;
  color: inherit;
}

.mini-card:hover {
  background: #fff4e8;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .06);
  transform: translateY(-2px);
  color: #ee7700;
  border: 1px solid #ee7700;
}

.mini-card .icon {
  font-size: 1.5rem;
  margin-right: .5rem;
  color: #ee7700;
}

.mini-card h6 {
  margin: 0;
  font-weight: 600;
}



.clinic-scroll {
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.clinic-card {
  min-width: 200px;
  border: none;
  border-radius: 15px;
  background: #f8fbff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  scroll-snap-align: start;
  transition: transform 0.2s;
}

.clinic-card:hover {
  transform: translateY(-5px);
}

.special-clinic .card {
  border: none;
  border-radius: 15px;
  overflow: hidden;
  transition: transform 0.2s;
}

.special-clinic .card:hover {
  transform: translateY(-5px);
}

.special-clinic .card img {
  height: 150px;
  object-fit: cover;
}

.feature-card {
  background: #f8f9fa;
  border-radius: 12px;
  transition: transform .3s, box-shadow .3s;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.feature-card img {
  max-width: 100px;
  padding-bottom: 15px;
}

/* サムネイル hover エフェクト */
.lightbox-thumb {
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.lightbox-thumb:hover {
  transform: scale(1.01);
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.3);
}
