/*Threads of Us
------------------------------------------*/

.bg_nuno {
  position: relative;
}
.bg_nuno #bgVideo {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  background-color: white;
}
.overlay-wh {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg,rgba(255, 255, 255, 1) 0%, rgba(98, 183, 222, 0.2) 18%, rgba(104, 173, 205, 0.2) 82%, rgba(255, 255, 255, 1) 100%);
  pointer-events: none;
  z-index: -1;
}
.contentBox {
    padding: 5rem;
}
.title_big {
  color: #d2e4ef;
  font-size: 7.2rem;
  margin-bottom: 1rem;
}
.parallax-3d-container {
  position: relative;
  height: 85vh;
  /* overflow: hidden; */
  perspective: 1200px;
  transform-style: preserve-3d;
  z-index: 1;
  margin-bottom: 16%;
}
.bg01, .bg02 {
}
.parallax-3d-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 80%;
    height: 100%;
    border-radius: 0 20px 20px 0;
    background: #ffffff80;
    background-position: center;
    z-index: 2;
}
.parallax-3d-midground {
    position: absolute;
    bottom: 5%;
    right: 0;
    width: 46%;
    height: 57%;
    background-image: url("../img/about_ito.jpg");
    background-size: cover;
    background-position: center;
    border-radius: 20px 0 0 20px;
    transform: translateZ(-50px) translateY(0);
    will-change: transform;
    z-index: 3;
}
.parallax-3d-foreground {
    position: absolute;
    bottom: 5%;
    right: 0;
    width: 60%;
    height: 57%;
    background-image: url("../img/about_menka.jpg");
    background-size: cover;
    background-position: center;
    border-radius: 20px 0 0 20px;
    transform: translateZ(0px) translateY(0);
    will-change: transform;
    z-index: 4;
}
.parallax-3d-content {
    position: relative;
    z-index: 5;
    transform: translateZ(50px);
}
.parallax-3d-content p {
    font-size: 1.3rem;
    line-height: 2;
    color: #656565;
}

/*地図
------------------------------------------*/
.mapItem {
  overflow: hidden;
}
.mapItem .mapAdress {
  font-size: 1.3rem;
}
.mapColumn {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 500px;
}
.mapBox {
  margin-top: auto;
  aspect-ratio: 4 / 3;
  position: relative;
}
#map01, #map02, #map03 {
  width: 100%;
  height: 276px;
  border-radius: 1rem;
}
.mapIframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.gm-style .gm-style-mtc div {
  font-size: 12px !important;
}
.gm-style button, 
.gm-style div {
  font-size: 12px !important;
}
.gm-style .gm-style-mtc button,
.gm-style .gm-style-mtc div {
  font-size: 12px !important;
  padding: 2px 6px !important;
  line-height: 1.2 !important;
}
@media screen and (max-width: 768px) {

  .col-start {
    margin: 0;
  }
.title_big {
    color: #d2e4ef;
    font-size: 9vw;
}
  html, body {
    overflow-x: hidden !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    overflow-scrolling: touch !important;
    touch-action: pan-y !important;
    height: auto !important;
  }
  
  .parallax-3d-container,
  .parallax-3d-background,
  .parallax-3d-midground,
  .parallax-3d-foreground,
  .parallax-3d-content {
    transform: none !important;
    will-change: auto !important;
    backface-visibility: visible !important;
    perspective: none !important;
    transform-style: flat !important;
  }
  
  .parallax-3d-container {
    height: auto !important;
    min-height: 80vh;
    overflow: visible !important;
    position: relative !important;
  }
  .parallax-3d-foreground {
    bottom: 3%;
    right: 0;
    width: 75%;
    height: 30%;
  }
  .parallax-3d-midground {
    position: absolute;
    bottom: 3%;
    right: 0;
    width: 75%;
    height: 30%;
  }
  .parallax-3d-content {
    position: relative !important;
    z-index: 10;
    /* background: rgba(255, 255, 255, 0.9); */
    /* backdrop-filter: blur(5px); */
    width: 92%;
    transform: none !important;
    will-change: auto !important;
  }
  #bgVideo {
    display: none;
  }
  .bg_nuno::before {
    content: "";
    position: absolute;
    top: 0; 
    left: 0;
    width: 100%; 
    height: 100%;
    background-image: url('../img/bg_nuno_static.jpg');
    background-size: cover;
    z-index: -2;
  }
  #map01, #map02, #map03 {
    height: 220px;
  }
}

@media screen and (max-width: 480px) {
  .contentBox {
    padding: 3.2rem;
}
.parallax-3d-content p {
    font-size: 1.2rem;
}
.parallax-3d-background {
    width: 90%;
}
  #map01, #map02, #map03 {
    height: 180px;
  }
}