
:root {
    --primary: #71bdeb;
    --secondary: #8D9297;
    --light: #F8F9FA;
    --dark: #182333;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-outline-primary:hover {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}


/*** Navbar ***/
.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

.navbar .navbar-nav .nav-link {
    margin-left: 30px;
    padding: 25px 0;
    color: var(--secondary);
    font-weight: 500;
    text-transform: uppercase;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: #006eb0;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

@media (max-width: 768px) {
  .navbar-brand h3 {
    font-size: 17px; /* 任意の小さなサイズに変更 */
  }
.navbar-brand img {
    width: 40px; /* 幅を40pxに変更 */
    height: 40px; /* 高さも40pxに変更 */
  }
}


@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link  {
        margin-left: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        margin-top: 25px;
        border-top: 1px solid #EEEEEE;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        right: 0;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    text-align: start;
    background: rgba(0, 0, 0, .65);
    z-index: 1;



}

.carousel-caption h1 {
    font-size: 6rem; /* 任意の小さなサイズに変更 */
  }


.carousel-caption .breadcrumb-item+.breadcrumb-item::before {
    content: "\f111";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--primary);
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }
    
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 3rem;
        height: 3rem;
        border-width: 12px;
    }
}

@media (max-width: 768px) {

.carousel-caption h1 {
max-width: 100%; /* 親要素の幅内に収まるように */
    font-size: 50px; /* 任意の小さなサイズに変更 */
  }


  .carousel-caption h4 {
    font-size: 14px; /* 任意の小さなサイズに変更 */
  }
}

.page-header {
    background: linear-gradient(rgba(0, 0, 0, .65), rgba(0, 0, 0, .65)), url(../img/k1.jpg) center center no-repeat;
    background-size: cover;
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: #999999;
}


/*** Facts ***/
.facts-overlay {
    position: absolute;
    padding: 20px;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: rgba(0, 0, 0, .65);
}

.facts-overlay h1 {
    font-size: 100px;
    color: transparent;
    -webkit-text-stroke: 2px var(--primary);
}

.facts-overlay a:hover {
    color: facts;
}

.facts-overlay h2 {
    font-size: 1.5rem; /* 小さな画面サイズ用のh1のテキストサイズ */
  }


@media (max-width: 576px) {
  .facts-overlay h1 {
    font-size: 3rem; /* 小さな画面サイズ用のh1のテキストサイズ */
  }
  

.facts-overlay h2 {
    font-size: 1.2rem; /* 小さな画面サイズ用のh1のテキストサイズ */
  }

  .facts-overlay p {
    font-size: 1rem; /* 小さな画面サイズ用のpのテキストサイズ */
  }
}









/*** Service ***/
.service-text::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    background: var(--primary);
    opacity: 0;
    transition: .5s;
}

.service-item:hover .service-text::before {
    height: 100%;
    opacity: 1;
}

.service-text * {
    position: relative;
    transition: .5s;
    z-index: 1;
}

.service-item:hover .service-text * {
    color: #FFFFFF !important;
}






@media (max-width: 576px) {
  
  


  .service-text p {
    font-size: 0.8rem; /* 小さな画面サイズ用のpのテキストサイズ */
  }
}













/*** Appointment ***/
.appointment {
    background: linear-gradient(rgba(0, 0, 0, .65), rgba(0, 0, 0, .65)), url(../img/carousel-2.jpg) center center no-repeat;
    background-size: cover;
}


/*** Team ***/
.team-text {
    position: absolute;
    width: 75%;
    bottom: 30px;
    left: 0;
    transition: .5s;
}

.team-item:hover .team-text {
    width: 100%;
}

.team-text * {
    transition: .5s;
}

.team-item:hover .team-text * {
    letter-spacing: 2px;
}


/*** Testimonial ***/
.testimonial-carousel .owl-item img {
    width: 100px;
    height: 100px;
}

.testimonial-carousel .owl-nav {
    margin-top: 30px;
    display: flex;
    justify-content: start;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin-right: 15px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    border: 2px solid var(--primary);
    border-radius: 50px;
    font-size: 18px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: #FFFFFF;
    background: var(--primary);
}


/*** Footer ***/
.footer {
    color: #999999;
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #999999;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #999999;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--light);
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}

.footer .copyright a:hover {
    color: var(--primary);
}





.video-section {
height: 100vh; 
  padding: 0;
  background-color: #f0f0f0;
  position: relative;
  overflow: hidden;
 text-align: center;
}

.video-container {
  position: relative;
 overflow: hidden;
  width: 100%;
  height: 100%; /* 高さを100%に変更 */
  padding-top: 56.25%; /* ビデオのアスペクト比を維持 */
  padding-bottom: 0; /* 不要なので削除 */

}

.video-section .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* オーバーレイのスタイルを適用 */
}




 .video-section h1 {
    font-size: 7rem;
    font-weight: 900;
  font-family: sans-serif;
    color: #fff;
white-space: nowrap; /* テキストの改行を防止 */
}
 
    @media (max-width: 991.98px) {
      .video-section h1 {
        font-size: 4rem; } }







.video-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%; /* 高さを100%に設定 */
  object-fit: cover;
  z-index: 0;
filter: grayscale(100%); /* モノクロ効果を適用 */
}

.overlay {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
width: 100%;
  height: 100%;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(circle, rgba(50, 50, 50, 0.89) 1.1px, transparent 1.1px);
  background-size: 3px 3px;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  height: 100%; /* 動画の縦サイズに合わせる */
}


.overlay-content {
  position: absolute;
  top: 50%; /* 位置を調整するために必要に応じて変更 */
  left: 50%; /* 位置を調整するために必要に応じて変更 */
  transform: translate(-50%, -50%);
  z-index: 2; /* オーバーレイよりも上に表示するために z-index を指定 */
}







p {
  color: #000; /* 任意のテキストカラーを指定 */
}





.news-list{
  list-style: none outside;
  margin: 30px 0 0 0;
  padding: 0;
}
.news-list .item a{
  display: flex;
  flex-wrap: wrap;
  flex-wrap: nowrap;
  text-decoration: none;
  color: #333;
  border-bottom: 1px solid #CCC;
  padding: 20px 20px;
}


.news-list .item span{
  display: flex;
  flex-wrap: wrap;
  flex-wrap: nowrap;
  text-decoration: none;
  color: #333;
  border-bottom: 1px solid #CCC;
  padding: 20px 20px;
}






.news-list .item:first-child a{
  border-top: 1px solid #CCC;
}
.news-list .item .date{
  margin: 0;
  min-width: 140px;
  font-size: 16px;
  color: #000;
  padding: 0 20px 0 0;
}
.news-list .item .category{
  margin: 0;
  min-width: 140px;
  padding: 0 20px 0 0;
}
.news-list .item .category span{
  background: #999;
  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 .title{
  color: #00F;
}

@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;
}
}

/* 装飾 */
 
*{
  box-sizing: border-box;
}
a{
  text-decoration: none;
}
body{
  margin: 0px;
}


.e1 {
    padding-bottom: 100px; /* 要素1の下側に20pxの空白を作る */
}



.custom-heading {
  font-size: 1.8rem; /* ここで好きなサイズに変更 */
}



.container-xxl2 {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center; /* 中央寄せ */
}




.center-box {
    width: 300px;
    padding: 20px;
    border: 1px solid #000;
    background-color: #f0f0f0;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.left-text {
    width: 100%;
    text-align: right;
    margin: 0;
}





 .custom-underline {
    display: inline-block;
    position: relative;
 margin-bottom: 20px; /* アンダーラインの下にスペースを追加 */
  }

  .custom-underline::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px; /* アンダーラインの位置を調整 */
    width: 150%;
    height: 4px; /* アンダーラインの太さ */
    background-color: #006eb0; /* アンダーラインの色 */
  }



 .custom-underline2 {
    display: inline-block;
    position: relative;
 margin-bottom: 20px; /* アンダーラインの下にスペースを追加 */
  }

  .custom-underline2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px; /* アンダーラインの位置を調整 */
    width: 150%;
    height: 4px; /* アンダーラインの太さ */
    background-color: #e4007f; /* アンダーラインの色 */
  }



.img-responsive {
  width: 100%;
  height: auto;
  display: block; /* ブロック要素として表示 */
  margin-bottom: 10px; /* 画像間のスペース */
}



 .custom-underline3 {
    display: inline-block;
    position: relative;
 margin-bottom: 20px; /* アンダーラインの下にスペースを追加 */
  }

  .custom-underline3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px; /* アンダーラインの位置を調整 */
    width: 150%;
    height: 4px; /* アンダーラインの太さ */
    background-color: #a50082; /* アンダーラインの色 */
  }



.e1 {
    padding-bottom: 100px; /* 要素1の下側に20pxの空白を作る */
}



body {
    font-family: 'Yu Gothic UI Semibold', sans-serif;

}



