@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,400;0,700;1,400;1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@200;300;400;500;600;700;900&display=swap');

:root {
  --navbar-bg-color: rgba(224, 224, 224, 0.9);
  --navbar-transparent:  rgba(255, 255, 255, 0);
  --link-hover-color: rgb(139, 117, 132);
  --nav-text-hover-color: rgb(177, 177, 177);
  --nav-text-active-color: rgb(255, 208, 137);
}

@keyframes fadein-navbar {
  from {background-color: var(--navbar-transparent);}
  to {background-color: var(--navbar-bg-color);}
}

@keyframes fadeout-navbar {
  from {background-color: var(--navbar-bg-color);}
  to {background-color: var(--navbar-transparent);}
}

html {
  scroll-behavior: smooth;
}

/* width */
::-webkit-scrollbar {
  width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px rgb(31, 31, 31); 
  background: #424242;
  border-radius: 0px;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #131313;
  border-radius: 10px;
  cursor: default;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #5a5a5a; 
  cursor: default;
}

body {
  position: relative !important;
  font-family: 'Noto Sans', sans-serif !important;
  font-size: 15px;
}

.nodrag {
  /* user-drag: none;  */
  user-select: none;
  -moz-user-select: none;
  -webkit-user-drag: none;
  -webkit-user-select: none;
  -ms-user-select: none;
}

textarea { 
  resize: none !important;
} 

video {
  min-width: 100%;
  min-height: 100%;
  position: absolute;
  top: -9999px;
  bottom: -9999px;
  left: -9999px;
  right: -9999px;
  margin: auto;
  z-index: -20;
}

.scrollbar {
  background-color: #F5F5F5;
  float: left;
  height: 300px;
  margin-bottom: 25px;
  margin-left: 22px;
  margin-top: 40px;
  width: 65px;
  overflow-y: scroll;
}

a, a:visited {
  color: #000;
  text-decoration: none;
  font-weight: normal;
}

a:hover {
  color: var(--link-hover-color);
  text-decoration: none;
  font-weight: normal;
}

.form-control {
  color: #bdbdbd !important;
  background-color: #252525 !important;
}

.form-control:focus {
  color: #bdbdbd !important;
}

.carousel-item {
  height: 100vh;
}

.carousel-item:after {
  content:"";
  background: rgba(0, 0, 0, 0.0);
  position:absolute;
  top:0;
  bottom:0;
  left:0;
  right:0;
  z-index: -1;
}

map {
  height: 400px;
}

.whitebox {
  padding-top: 5px;
  padding-bottom: 5px;
  padding-left: 8px;
  padding-right: 8px;
  background-color: rgba(5, 5, 5, 0.625);
}

.bg-darkgrey {
  background-color: #252525 !important;
}

.bg-footer {
  background-color: rgb(14, 14, 14) !important;
}

.divider {
  border-color: #3d3d3d !important;
}

.divider2 {
  border-color: #c4c4c4 !important;
}

.navbar-semitransparent {
  background-color:rgba(0, 0, 0, 0.9) !important;
}

.text-regular {
  font-weight: normal;
}

h1, h2, h3, h4, h5, .noto-serif {
  font-family: 'Noto Serif JP', serif !important;
}

.font-underline {
  text-decoration: underline !important;
  text-decoration-thickness: 2px;
}

.noto-sans {
  font-family: 'Noto Sans', sans-serif !important;
  font-size: 16px;
}

.font-strong {
  font-weight: bold !important;
}

.desc-txt {
  font-size: 20px;
}

.font-header {
  font-size: 18px !important;
  width: 150px !important;
  text-align: center;
}

.navbar {
  height: 44px !important; 
}

.navbar .navbar-brand {
  padding-top: 5px;
}

.header-txt-desktop {
  font-size: 30px;
}

.header-txt-mobile {
  font-size: 24px;
}

.bg-position-center{
  background-position: center center !important;
}

.lang-container {
  width: 300px;
} 

.header-mine {
  position: absolute;
  width: 100%;
  bottom: 5%;
  left: 50%;
  transform: translate(-50%, 0%); 
  z-index: 15;
  animation-name: fadeout-navbar;
  animation-duration: 0.5s;
  animation-fill-mode: forwards;
}

.header-my {
  animation-name: fadeout-navbar;
  animation-duration: 0.5s;
  animation-fill-mode: forwards;
}


.header-main {
  position: relative;
}

.sticky {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 17;
  animation-name: fadein-navbar;
  animation-duration: 0.5s;
  animation-fill-mode: forwards;
}

.sticky-mine {
  animation-name: fadein-navbar;
  animation-duration: 0.5s;
  animation-fill-mode: forwards;
}

#overlayvid {
  position: absolute; 
  text-align: center;
  width: 100%;
  height: 100%;
  z-index: 16;
}

#headerlogo {
  top: 50%; /* IMPORTANT */
  left: 50%; /* IMPORTANT */
  display: block;
  position: absolute;
  margin: auto;
  background: url("../media/logomood.png") no-repeat center center;
  background-size: contain;
  transform: translate(-50%, -50%);
  width: 75%;
  height: 75%;
  max-width: 500px;
  max-height: 500px;
}

.float {
	position:fixed;
	width:60px;
	height:60px;
	bottom:40px;
	right:40px;
	background-color:rgb(185, 185, 185);
	color:#FFF;
	border-radius:50px;
  text-align:center;
  z-index: -1;
}

.float-mute {
	position:absolute;
	width:auto;
	height:auto;
	bottom: 10px;
	right: 15px;
	color:#FFF;
  text-align:center;
  z-index: 18;
}

.float-menu {
	color: rgba(255, 255, 255, 0.5);
}

.float-menu:hover {
  color:#FFF;
}

.my-float{
	margin-top:22px;
}

.my-mute{
	color: rgba(255, 255, 255, 0.3)
}

.my-mute:hover{
	color: rgba(255, 255, 255, 0.6)
}

#page {
  display: none;
}

#loading {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 2030;
  width: 100vw;
  height: 100vh;
  background-color: rgb(255, 255, 255);
  background-image: url("../media/general/loader.gif");
  background-repeat: no-repeat;
  background-position: center;
}

.hidden-scrolls {
  overflow: hidden;
}

.display-none {
  display: none;
}

.size-small {
  font-size: 14px !important;
}

.bg-header {
  background-color: var(--navbar-bg-color) !important;
}

.inv-spacer {
  height: 50px;
}

.overlay {
  height: 0%;
  width: 100%;
  position: fixed;
  z-index: 25;
  top: 0;
  left: 0;
  background-color: rgba(255, 255, 255, 0.9);
  overflow-y: hidden;
  transition: 0.5s;
}

.overlay-content {
  position: relative;
  top: 50%;
  width: 100%;
  text-align: center;
  margin-top: 30px;
  transform: translate(0%, -50%);
}

.pointer-hand {
  cursor: pointer;
}

.overlay-footer-content {
  position: absolute;
  bottom: 0%;
  width: 100%;
  text-align: center;
  height: 60px;
  /*transform: translate(0%, -50%);*/
}

.pointer-hand:hover {
  color:rgb(114, 114, 114);
}

.overlay a {
  padding: 8px;
  text-decoration: none;
  font-size: 36px;
  color: #0e0e0e;
  display: block;
  transition: 0.3s;
}

.overlay a:hover, .overlay a:focus {
  color: #696969;
}

.overlay .closebtn {
  position: absolute;
  top: 20px;
  right: 45px;
  font-size: 60px;
}

@media screen and (max-height: 450px) {
  .overlay {overflow-y: auto;}
  .overlay a {font-size: 20px}
  .overlay .closebtn {
  font-size: 40px;
  top: 15px;
  right: 35px;
  }
}

.pointer {
  cursor: pointer;
}

#icon-menu {
  color: rgba(0, 0, 0, 0.7);
}

#icon-menu:hover {
  color: rgb(0, 0, 0);
}

.round-icon-container {
  border-radius: 50%;
  background-color: #b1b1b1;
  height: 200px;
  width: 100%;
}

.service-container .footer-card {
  height: 15%;
  width: auto;
  margin-left: auto;
  margin-right: auto;
  background-color: rgb(255, 255, 255);
  color: #000;
}

.service-container:hover .footer-card {
  background-color: rgb(255, 255, 255);
  color: #000;
}

.service-container .round-icon {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  height: 100%;
  width: 100%;
  opacity: 90%;
  transition: all 0.2s ease;
}

.service-container:hover .round-icon {
  transform: scale(1.1);
  opacity: 100%;
}

.contacts-flex {
  display: flex;
  align-items: flex-start;
}

.hero-carousel .carousel-item {
  height: 100vh;
  overflow: hidden;
}
.hero-carousel .carousel-item .carousel-image {
  height: 100vh;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  z-index: -2;
}

/* Ignore this CSS */
#carouselExampleIndicators {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.text-fixed {
  position: fixed;
}

a.anchor {
  display: block;
  position: relative;
  top: -44px;
  visibility: hidden;
}

.mi-container {
  display: inline-block;
  cursor: pointer;
}

.bar1, .bar2, .bar3 {
  width: 25px;
  height: 3px;
  background-color: rgb(255, 255, 255);
  margin: 6px 0;
  transition: 0.4s;
}

.change .bar1, .change .bar2, .change .bar3 {
  background-color: rgb(34, 34, 34);
}

.bar-menu .bar1, .bar-menu .bar2, .bar-menu .bar3 {
  background-color: rgb(34, 34, 34);
}

.change .bar1 {
  -webkit-transform: rotate(-45deg) translate(-7px, 6px);
  transform: rotate(-45deg) translate(-7px, 6px);
}

.change .bar2 {opacity: 0;}

.change .bar3 {
  -webkit-transform: rotate(45deg) translate(-6px, -6px);
  transform: rotate(45deg) translate(-6px, -6px);
}

.services-image {
  width: 100%;
  height: 550px; 
  background-size: cover !important;
  background-position: center;
}

#motto {
  background-color: rgb(14, 14, 14);
  height: 250px;
  font-size: 20px;
}

#services-parallax {
  /* background-image: url('../media/services/serv1.png');
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  z-index: -2; */
  height: 400px;
}

.about-img {
  box-shadow: 10px 10px 18px -5px rgba(0,0,0,0.75);
}

#contacts-c {
  background-color: #242424 !important;
  color: #fff !important;
}

#contacts-c a {
  color: #fff !important;
}

#contacts-c a:hover {
  color: rgb(173, 173, 173) !important;
}

#container-about {
  padding-top: 0px;
  padding-bottom: 0px;
  background-color: #ffffff;
  background-image: url(../media/general/bg-grey.png);
  background-size: 100% 1020px;
  background-repeat: no-repeat;
  /* background-position: center; */
  background-position:  50% calc(50% + 145px);
}

#services-container {
  padding-top: 0px;
  padding-bottom: 0px;
  background-color: #ffffff;
  background-image: url(../media/general/bg-grey.png);
  background-size: 100% 1150px;
  background-repeat: no-repeat;
  /* background-position: center; */
  background-position:  50% calc(50% - 0px);
}

.service-gallery img {
  width: 300px;
  height: 300px;
}

#about-1-highlight, #about-2-highlight {
  font-size: 18px;
  font-family: 'Noto Serif JP', serif !important;
}

.about-highlight {
  padding-top: 50px;
}

#responseBox {
  height: 60px;
  width: 100%;
  padding: 15px 0;
  text-align: center;
  border-radius: 5px;
  background-color:rgb(95, 95, 95);
}

@media (min-width: 576px) {  
  #motto {
    background-color: #242424 !important;
    min-height: 250px;
    font-size: 18px;
  }

  #container-about {
    padding-top: 0px;
    padding-bottom: 0px;
    background-color: #ffffff;
    background-image: url(../media/general/bg-grey.png);
    background-size: 100% 1065px;
    background-repeat: no-repeat;
    /* background-position: center; */
    background-position:  50% calc(50% + 155px);
  }
  
  #services-container {
    padding-top: 0px;
    padding-bottom: 0px;
    background-color: #ffffff;
    background-image: url(../media/general/bg-grey.png);
    background-size: 100% 1150px;
    background-repeat: no-repeat;
    /* background-position: center; */
    background-position:  50% calc(50% - 0px);
  }

  .text-right-about {
    text-align: left;
  }

  #about-1-highlight, #about-2-highlight {
    font-size: 20px;
    font-family: 'Noto Serif JP', serif !important;
  }
}

@media (min-width: 768px) { 
  #motto {
    background-color: #242424 !important;
    min-height: 250px;
    font-size: 24px;
  }

  #container-about {
    padding-top: 0px;
    padding-bottom: 0px;
    background-color: #ffffff;
    background-image: url(../media/general/bg-grey.png);
    background-size: 100% 1030px;
    background-repeat: no-repeat;
    /* background-position: center; */
    background-position:  50% calc(50% + 140px);
  }
  
  #services-container {
    padding-top: 0px;
    padding-bottom: 0px;
    background-color: #ffffff;
    background-image: url(../media/general/bg-grey.png);
    background-size: 100% 1150px;
    background-repeat: no-repeat;
    /* background-position: center; */
    background-position:  50% calc(50% - 0px);
  }

  .text-right-about {
    text-align: left;
    /* font-family: 'Noto Serif JP', serif !important; */
  }

  #about-1-highlight, #about-2-highlight {
    font-size: 24px;
  }
}

@media (min-width: 992px) { 
  #motto {
    background-color: #242424 !important;
    min-height: 250px;
    font-size: 30px;
  }

  #container-about {
    padding-top: 0px;
    padding-bottom: 0px;
    background-color: #ffffff;
    background-image: url(../media/general/bg-grey.png);
    background-size: 100% 715px;
    background-repeat: no-repeat;
    /* background-position: center; */
    background-position:  50% calc(50% - 90px);
  }
  
  #services-container {
    padding-top: 0px;
    padding-bottom: 0px;
    background-color: #ffffff;
    background-image: url(../media/general/bg-grey.png);
    background-size: 100% 1150px;
    background-repeat: no-repeat;
    /* background-position: center; */
    background-position:  50% calc(50% - 0px);
  }

  #about-1-highlight, #about-2-highlight {
    font-size: 24px;
    font-family: 'Noto Serif JP', serif !important;
  }

  .service-gallery img {
    width: 400px;
    height: 400px;
  }

  .text-right-about {
    text-align: right;
  }

  .row-about {
    padding-top: 50px;
    padding-bottom: 50px;
  }
}

@media (min-width: 1200px) { 
  .container{
      max-width: 970px;
  };

  #motto {
    background-color: #242424 !important;
    min-height: 250px;
    font-size: 30px;
  }

  #container-about {
    padding-top: 0px;
    padding-bottom: 0px;
    background-color: #ffffff;
    background-image: url(../media/general/bg-grey.png);
    background-size: 100% 710px;
    background-repeat: no-repeat;
    /* background-position: center; */
    background-position:  50% calc(50% - 80px);
  }
  
  #services-container {
    padding-top: 0px;
    padding-bottom: 0px;
    background-color: #ffffff;
    background-image: url(../media/general/bg-grey.png);
    background-size: 100% 1150px;
    background-repeat: no-repeat;
    /* background-position: center; */
    background-position:  50% calc(50% - 0px);
  }

  #about-1-highlight, #about-2-highlight {
    font-size: 24px;
    font-family: 'Noto Serif JP', serif !important;
  }
  
  .service-gallery img {
    width: 400px;
    height: 400px;
  }

  .text-right-about {
    text-align: right;
  }

  .row-about {
    padding-top: 50px;
    padding-bottom: 50px;
  }
}

@media (hover: hover) and (pointer: fine) {
  .ser-gal img {
    opacity: 85%;
    transition: all 0.25s ease;
  }

  .ser-gal:hover img {
    transform: scale(1.2);
    opacity: 100%;
  }

  .services-image {
    width: 100%;
    height: 550px;
    background-size: cover;
    background-position: center;
    transition: all 0.5s ease;
  }

  .services-image:hover {
    transform: scale(1.2);
  }

  .no-margin > p {
    margin: 0px;
  }
  
}