/* -------------------------------------------------------------------全体--------------------------------------------------------------------------- */
body {
  color: #fff;
  background-color:rgba(0, 0, 0, 0.897);
  opacity: 0.9;
  font-family: serif;
}

#background {
  background-color:#000;
}

/* --------------------------------------------------------------------header----------------------------------------------------------------------------- */
:root {
  --background-navbar: rgba(55, 55, 55, 0.98);
}

.header {
  position: fixed;
  width: 100%;
  height: 52px;
  z-index: 9003;
  opacity: 0.7;
}

/* Nav items */
.menu {
  list-style: none;
  position: absolute;
  width: 100%;
  height: auto;
  top: 0px;
  margin-top: px;
  padding: 0 0 10px 0;
  clear: both;
  background: var(--background-navbar);
  transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
  transform: scale(1, 0);
  transform-origin: top;
}

/* Hamburger menu button */
.menu-btn:checked ~ .menu {
  transform: scale(1, 1);
  transform-origin: top;
  transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
}

/* Hamburger menbu text */
.menu a {
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 2px;
  font-size: 16px;
  text-transform: capitalize;
  color: #ddd;
  opacity: 0;
  transition: 0.5s;
}

.menu li {
  border-top: 1px solid rgb(75, 75, 75);
  padding: 15px 0;
  margin: 0 54px;
  opacity: 0;
  transition: 0.5s;
}

.menu-btn:checked ~ .menu a,
.menu-btn:checked ~ .menu li {
  opacity: 1;
  transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.2s;
}

.menu-btn {
  display: none;
}

.menu-icon {
  display: inline-block;
  position: relative;
  cursor: pointer;
  padding: 24px 20px;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  z-index: 1000;
}

.navicon {
  background: #ddd;
  display: block;
  height: 3px;
  width: 26px;
  position: relative;
  transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
}

.navicon:before,
.navicon:after {
  content: "";
  display: block;
  height: 100%;
  width: 100%;
  position: absolute;
  background: #ddd;
  transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
}

.navicon:before {
  top: 9px;
}

.navicon:after {
  bottom: 9px;
}

/* Hamburger Menu Animation Start */
.menu-btn:checked ~ .menu-icon .navicon:before {
  transform: rotate(-45deg);
}

.menu-btn:checked ~ .menu-icon .navicon:after {
  transform: rotate(45deg);
}

.menu-btn:checked ~ .menu-icon:not(.steps) .navicon:before {
  top: 0;
}
.menu-btn:checked ~ .menu-icon:not(.steps) .navicon:after {
  bottom: 0;
}

.menu-btn:checked ~ .menu-icon .navicon {
  background: rgba(0, 0, 0, 0);
  transition: 0.2192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
}
/* Hamburger Menu Animation End */

/* Navbar Container */
.navtext-container {
  width: 100%;
  height: 52px;
  position: absolute;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Navbar Text */
.navtext {
  position: absolute;
  text-transform: uppercase;
  color: #ddd;
  letter-spacing: 4px;
  font-size: 20px;
}

header .mobile-gradient {
  display: none;
}

/* ------------------------------------------------------------------------------top----------------------------------------------------------------------------------------- */
#top {
  display: flex;
}

.title h1 {
  margin: 100px auto 0;
  margin-left: 60%;
  writing-mode: vertical-rl;
  font-size: 20px;
}

.video-wrapper {
  width: 96%;
  position: fixed;
  margin-left: 4%;
  z-index: -10;
  
}

.video-wrapper:after {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.1);
}
video {
  width: 100%;
}

.container {
  width: 110%;
  height: 100vh;
  margin-left: -5%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #000;
  animation: slide-out-container 10s;
  animation-fill-mode: forwards;
  z-index: 9002;
}

.text-wrapper {
  color: #fff;
  position: absolute;
}

.text-1 {
  color: #fff;
}

@keyframes blink {
  0% {
    opacity: 0;
  }

  70% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

.text-1 {
  animation: blink 4s;
  opacity: 0;
}

@keyframes slide-out-container {
  0% {
    height: 100vh;
  }
  40% {
    height: 100vh;
  }
  100% {
    height: 0%;
  }
}


@media (min-width: 500px) {
  #top-logo {
    display: none;
  }

  .video-wrappermobile {
    display: none;
  }
}

/* -----------------------------------------------------------------------------------concept------------------------------------------------------------------------------------------ */
#concept {
    width: 100%;
    height: 600px;
    text-align: center;
    overflow-x: hidden;
    margin: 20px 0 60px;
    padding-top: 350px;
}

#concept h2 {
  font-size: 40px;
}

#concept h3 {
  font-size: 25px;
}

#concept p {
  font-size: 20px;
}

.concept-images {
    display: flex;
    height: 450px;
    justify-content: center;
    background: #000;
}

.photo-box1 {
    width: 45%; /* 画像の幅調整 */
  }
   
.circumscribed-photo-box-hidden {
    width: 100%;
    position: relative;
  }
   
  .photo-box1 .circumscribed-photo-box {
    width: 100%;
    height: 0;
    padding-top: 75%; /* 画像の高さ調整 */
    background: url(./img/spring.png) no-repeat center center; /* 画像のURLを指定 */
    background-size: cover;
  }
   
  .photo-box1 .mask {
    position: absolute;
    width: 100%;
    height: 0;
    padding-top: 75%; /* 画像の高さ調整をした場合は、こちらも同じ値に変更 */
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.332);
  }
   
   .mask-text {
    position: absolute;
    width: 100%;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    font-size: 1.1em;
    color: #fff;
    text-align: center;
  }
   
   .mouse-over-mask {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: all 1.0s ease;
  }
   
  .photo-box1:hover .mouse-over-mask {
    opacity: 1;
  }

.photo-box2 {
    width: 45%; /* 画像の幅調整 */
  }
   
  .photo-box2 .circumscribed-photo-box {
    width: 100%;
    height: 0;
    padding-top: 75%; /* 画像の高さ調整 */
    background: url(./img/summer.png) no-repeat center center; /* 画像のURLを指定 */
    background-size: cover;
  }
   
  .photo-box2 .mask {
    position: absolute;
    width: 100%;
    height: 0;
    padding-top: 75%; /* 画像の高さ調整をした場合は、こちらも同じ値に変更 */
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.332);
  }
     
  .photo-box2:hover .mouse-over-mask {
    opacity: 1;
  }

  .photo-box3 {
    width: 45%; /* 画像の幅調整 */
  }
   
  .photo-box3 .circumscribed-photo-box {
    width: 100%;
    height: 0;
    padding-top: 75%; /* 画像の高さ調整 */
    background: url(./img/autumn.png) no-repeat center center; /* 画像のURLを指定 */
    background-size: cover;
  }
   
  .photo-box3 .mask {
    position: absolute;
    width: 100%;
    height: 0;
    padding-top: 75%; /* 画像の高さ調整をした場合は、こちらも同じ値に変更 */
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.332);
  }
   
  .photo-box3:hover .mouse-over-mask {
    opacity: 1;
  }

  .photo-box4 {
    width: 45%; /* 画像の幅調整 */
  }
   
  .photo-box4 .circumscribed-photo-box {
    width: 100%;
    height: 0;
    padding-top: 75%; /* 画像の高さ調整 */
    background: url(./img/winter.png) no-repeat center center; /* 画像のURLを指定 */
    background-size: cover;
  }
   
  .photo-box4 .mask {
    position: absolute;
    width: 100%;
    height: 0;
    padding-top: 75%; /* 画像の高さ調整をした場合は、こちらも同じ値に変更 */
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.332);
  }

  .photo-box4:hover .mouse-over-mask {
    opacity: 1;
  }

/* --------------------------------------------------------------------------------------おすすめメニュー------------------------------------------------------------------------------------------------ */
#recommend {
  width: 100%;
  margin: 0px 0 50px;
  text-align: center;
}

#recommend h2 {
  font-size: 30px;
}

  *, *:before, *:after {
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
  }
  .cp_cssslider {
    width: 80%;
    padding-top: 10px; /* 画像の高さ */
    position: relative;
    margin: 2em auto;
    text-align: center;
  }
  .cp_cssslider > img {
    width: 100%;
    height: 650px;
    position: absolute;
    left: 0;
    top: 0;
    transition: all 0.5s;
    border-radius: 3px;
    box-shadow:0px 0px 5px 0px rgba(0,0,0,0.3);
  }

  .cp_cssslider input[name='cp_switch'] {
    display: none;
  }
  /* サムネイル */
  .cp_cssslider label {
    margin: 670px 5px 0 5px;
    border: 2px solid #ffffff;
    display: inline-block;
    cursor: pointer;
    transition: all 0.2s ease;
    opacity: 0.6;
    border-radius: 3px;
  }

  .cp_cssslider label:hover {
    opacity: 0.9;
  }

  .cp_cssslider label img {
    display: block;
    width: 100px;
    border-radius: 2px;
  }

  .cp_cssslider input[name='cp_switch']:checked + label {
    border: 2px solid #FF7043;
    opacity: 1;
  }

  .cp_cssslider input[name='cp_switch'] ~ img {
    opacity: 0;
  }

  .cp_cssslider input[name='cp_switch']:checked + label + img {
    opacity: 1;
  }

  @media (min-width: 700px) {
    .cp_cssslidermobile {
      display: none;
    }
  }

/* --------------------------------------------------------------------------------------------arakaruto-------------------------------------------------------------------------------------- */
#arakaruto {
  width: 600px;
  margin: 150px auto
}

a .button-051 {
  display: block;
  justify-content: center;
  position: relative;
  width: 600px;
  margin: 300px auto;
  padding: .9em 2em;
  border: none;
  border-bottom: 2px solid #4b5564;
  background-color: transparent;
  color: #fff;
  font-weight: 600;
  font-size: 2em;
  cursor:pointer
}

a .button-051::after {
  position: absolute;
  bottom: -3px;
  left: 0;
  transform: scaleX(0);
  transform-origin: center left;
  width: 100%;
  height: 2px;
  background-color: #fafdff;
  content: '';
  transition: transform .3s ease;
}

.button-051:hover::after {
  transform: scaleX(1);
}

.button-051 p{
  width: 50%;
  margin: 0 auto;
  text-align: center;
  font-size: 1.3rem;
  border: 1px solid #4b5564;
  background: #fff;
  line-height: 2.3rem;
  color: #000;
}

.button-051 a {
  color: #fff;
}

/* ----------------------------------------------------------------------------------------------course----------------------------------------------------------------------------------------- */
#course {
  width: 100%;
  text-align: center;
  margin: 150px 0;
}

#course h2 {
  font-size: 40px;
  margin-bottom: 20px;
}

#course .btn{
  width: 400px;
  padding: 14px 0 16px 0;
  font-size: 16px;
  position: relative;
  text-align: center;
  text-decoration: none;
  display: block;
  margin: 100px auto;
  color: #fff;
  background: #efd10cd7;
  line-height: 1;
  border-radius: 7px;
  transition: all .2s;
}

#course .btn:hover{
  background-color: #4be41cb8;
}

.course-cell {
  width: 30%;
  min-height: 650px;
  margin-right: 30px;
  background: #fff;
}

* {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}



.flickity-enabled {
  position: relative;
}

.flickity-enabled:focus { outline: none; }

.flickity-viewport {
  overflow: hidden;
  position: relative;
  height: 100%;
}

.flickity-slider {
  position: absolute;
  width: 100%;
  height: 100%;
}

/* draggable */

.flickity-enabled.is-draggable {
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}

.flickity-enabled.is-draggable .flickity-viewport {
  cursor: move;
  cursor: -webkit-grab;
  cursor: grab;
}

.flickity-enabled.is-draggable .flickity-viewport.is-pointer-down {
  cursor: -webkit-grabbing;
  cursor: grabbing;
}

/* ---- flickity-button ---- */

.flickity-button {
  position: absolute;
  background: hsla(0, 0%, 100%, 0.75);
  border: none;
  color: #333;
}

.flickity-button:hover {
  background: white;
  cursor: pointer;
}

.flickity-button:focus {
  outline: none;
  box-shadow: 0 0 0 5px #19F;
}

.flickity-button:active {
  opacity: 0.6;
}

.flickity-button:disabled {
  opacity: 0.3;
  cursor: auto;
  /* prevent disabled button from capturing pointer up event. #716 */
  pointer-events: none;
}

.flickity-button-icon {
  fill: currentColor;
}

/* ---- previous/next buttons ---- */

.flickity-prev-next-button {
  top: 50%;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  /* vertically center */
  transform: translateY(-50%);
}

.flickity-prev-next-button.previous { left: 10px; }
.flickity-prev-next-button.next { right: 10px; }
/* right to left */
.flickity-rtl .flickity-prev-next-button.previous {
  left: auto;
  right: 10px;
}
.flickity-rtl .flickity-prev-next-button.next {
  right: auto;
  left: 10px;
}

.flickity-prev-next-button .flickity-button-icon {
  position: absolute;
  left: 20%;
  top: 20%;
  width: 60%;
  height: 60%;
}

/* ---- page dots ---- */

.flickity-page-dots {
  position: absolute;
  width: 100%;
  bottom: -25px;
  padding: 0;
  margin: 0;
  list-style: none;
  text-align: center;
  line-height: 1;
}

.flickity-rtl .flickity-page-dots { direction: rtl; }

.flickity-page-dots .dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin: 0 8px;
  background: #333;
  border-radius: 50%;
  opacity: 0.25;
  cursor: pointer;
}

.flickity-page-dots .dot.is-selected {
  opacity: 1;
}

.button-054 {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 550px;
  height: 100px;
  margin: 0 auto;
  padding: .9em 3em .9em 2em;
  border: 1px solid #2589d0;
  border-radius: 5px;
  background-color: #fff;
  color: #2589d0;
  font-size: 1.3em;
  margin-top: 100px;
}

.button-054::after {
  position: absolute;
  right: 4em;
  transform: translateY(-50%);
  transform-origin: left;
  width: 3em;
  height: .8em;
  background-color: #696a6c;
  clip-path: polygon(0 100%, 100% 100%, 70% 40%, 70% 90%, 0% 90%);
  content: '';
  transition: transform .3s;
}

.button-054:hover::after {
  transform: translateY(-50%) scaleX(1.4);
}

.button-054 a {
  width: 100%;
}

/* ------------------------------------------------------------------------------------------------pairing------------------------------------------------------------------------------------------------------- */
.sub-title {
  text-align: center;
  margin: 120px 0 50px;
}

.sub-title h2 {
  font-size: 30px;
}

#pairing {
  display: flex;
  justify-content: center;
}

.fix-images {
  width: 100%;
  height: 350px;
  margin: 70px 0 150px;
  position: relative;
  background: URL(./img/fiximages.png);
  background-size: cover;
  background-attachment: fixed;
  writing-mode: vertical-rl;
  text-align: center;
}

.fix-images p {
  position: absolute;
  top: 30%;
  left: 50%;
  font-size: 20px;
}

.step img {
  width: 300px;
  margin-left: 70%;
}

.step-imagespc {
  height: 500px;
  margin: 40px 0 300px 20px;
}

.pairing-text {
  margin: 40px;
}

.pairing-text h3 {
  font-size: 28px;
}

.pairing-text p {
  font-size: 21px;
}

@media (min-width: 700px) {
  .step-images {
    display: none;
  }
}

/* -----------------------------------------------------------------------------------------entrance-------------------------------------------------------------------------------------------------- */
#entrance {
  display: block;
  justify-content: space-around;
}

/* ------------------------------------------------------------------------------------------scene------------------------------------------------------------------------------------------------------------- */
#scene {
  width: 100%;
  display: flex;
  justify-content: center;
  flex-direction: row-reverse;
}

.scene-text {
  margin: 40px;
}

.scene-text h3 {
  font-size: 28px;
}

.scene-text p {
  font-size: 22px;
}

.scene-images img {
  width: 700px;
  filter: blur(2px);
}

/* --------------------------------------------------------------------------------------------------gallery------------------------------------------------------------------------------------------------ */
#gallery {
  width: 100%;
  margin: 120px 0 50px;
  text-align: center;
}

.gallery-cell {
  width: 800px;
  height: 500px;
  margin-right: 10px;
  background: #fff;
}

/* -------------------------------------------------------------------------------------Map-------------------------------------------------------------------------------------------- */

#map {
  display: flex;
  height: 700px;
  justify-content: space-evenly;
}

iframe {
  width: 900px;
  aspect-ratio: 16/9;
  -webkit-filter: grayscale(100%);
  -moz-filter: grayscale(100%);
  -ms-filter: grayscale(100%);
  -o-filter: grayscale(100%);
  filter: grayscale(100%);
}

/* -----------------------------------------------------------------------------------footer--------------------------------------------------------------------------------------- */
ul {
  padding: 0;
  list-style: none;
}

a {
  color: #4b5564;
  text-decoration: none;
}

hr {
  height: 1px;
  border: 0;
  border-top: 1px solid #e5e7eb;
}

address {
  font-style: normal;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.footer {
  padding: 2rem;
  font-size: 15px;
  color: #4b5564;
  background: #fff;
}

.footer__navi-heading {
  font-weight: 600;
}

.footer__logo {
  display: inline-block;
  margin-bottom: 1.5rem;
}

.footer__navi li {
  margin-bottom: 0.75rem;
}

.footer__address {
  margin-bottom: 2rem;
}

.footer__address a {
  text-decoration: underline;
}

/* ------------------------------------------------------------------------------------------------mobile-------------------------------------------------------------------------------------------------------- */
@media (max-width: 500px) {
  body {
  overflow-x: hidden;
  font-size: 14px;
}

#background {
  background: none;
}

  .header {
    opacity: 0.85;
  }

  .video-wrapper {
    display: none;
  }

  .video-wrappermobile {
    width: 100%;
    position: relative;
  }
  
  .video-wrappermobile:after {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.1);
  }
  video {
    width: 100%;
  }

  .title {
    display: none;
  }

  #top {
    flex-direction: column-reverse;
  }

  #top-logo {
    height: 350px;
  }

  .container {
    height: 710px;
  }

  .text-1 img {
    margin-top: -40px;
  }

  .top-background {
    height: 120px;
    background: url(./img/mobilelogo.png) no-repeat center;
    background-size: 115px;
    animation: fadein 10s ease-out forwards;
    margin-top: 25px;
  }
  
  @keyframes fadein {
    0% {opacity: 0}
    100% {opacity: 1}
  }

  .btn,
  a.btn,
  button.btn {
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 0.7;
    position: fixed;
    display: block;
    padding: 1rem 2.7rem;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    transform:translateX(25%) ;
    text-align: center;
    text-decoration: none;
    letter-spacing: 0.1em;
    color: #212529;
    border-radius: 0.5rem;
    z-index: 9000;
  }

  a.btn-border {
    width: 65%;
    top: 85%;
    border: 2px solid #000;
    border-radius: 0;
    background: #fff;
  }
  
  a.btn-border:hover {
    color: #fff;
    background: #000;
  }

#concept {
  height: auto;
  padding-top: 0px;
}

#concept h2 {
  font-size: 23px;
}

#concept h3 {
  font-size: 17px;
}

#concept p {
  font-size: 13px;
}

.concept-images {
  height: auto;
  flex-wrap: wrap;
  background:none;
}

  .mask-text {
  font-size: small;
}

#recommend {
  height: 480px;
  margin: 0px 0 50px;
}

#recommend h2 {
  height: 80px;
  margin: 0px 0px;
  padding-top: 40px;
  font-size: 20px;
}

#arakaruto {
  width: 65%;
  margin: 150px auto 100px;
  font-size: 20px;
}

a .button-051 {
  width: 100%;
  margin: 200px auto;
  text-align: center;
  font-size: 1em;
}

.button-051 p{
  width: 85%;
  font-size: 15px;
  line-height: 2rem;
  font-weight: 600;
}

.cp_cssslider {
  display: none;
}

.cp_cssslidermobile  img {
  height: auto;
}

.cp_cssslidermobile {
  width: 100%;
  padding-top: 10px; /* 画像の高さ */
  position: relative;
  margin: 2em auto;
  text-align: center;
}
.cp_cssslidermobile > img {
  width: 100%;
  position: absolute;
  left: 0;
  top: 40px;
  transition: all 0.5s;
  border-radius: 3px;
  box-shadow:0px 0px 5px 0px rgba(0,0,0,0.3);
}

.cp_cssslidermobile input[name='cp_switchmobile'] {
  display: none;
}
/* サムネイル */
.cp_cssslidermobile label {
  margin: -100px 5px 0 5px;
  border: 2px solid #ffffff;
  display: inline-block;
  cursor: pointer;
  transition: all 0.2s ease;
  opacity: 0.6;
  border-radius: 3px;
}

.cp_cssslidermobile label:hover {
  opacity: 0.9;
}

.cp_cssslidermobile label img {
  display: block;
  width: 55px;
  border-radius: 2px;
}

.cp_cssslidermobile input[name='cp_switchmobile']:checked + label {
  border: 2px solid #FF7043;
  opacity: 1;
}

.cp_cssslidermobile input[name='cp_switchmobile'] ~ img {
  opacity: 0;
}

.cp_cssslidermobile input[name='cp_switchmobile']:checked + label + img {
  opacity: 1;
}

#course {
  margin: 30px 0;
}


#course h2 {
  margin: 40px 0px 15px;
  font-size: 25px;
}

.course-cell {
  width: 80%;
  min-height: 550px;
}

.course-cell img {
  height: 550px;
}

.button-054 {
  display: none;
}

#pairing {
  display: block;
  text-align: center; 
}

.pairing-text h3 {
  font-size: 17px;
}

.pairing-text p {
  font-size: 14px;
}

.fix-images {
  margin: 90px 0 20px;
  background:none;
}

.fix-images p {
  left: 45%;
}

#entrance {
  justify-content: space-evenly;
}

.step {
  margin-bottom: 40px;
}

.step img {
  width: 90px;
  margin-left: 65%;
  margin-top: -100px;
}

.step-images {
  width: 65%;
  margin: 30px auto;
}

.step-imagespc {
  display: none;
}

.sub-title {
  margin: 120px 0 20px;
}

.sub-title h2 {
  font-size: 23px;
}

.pairing-text {
  margin: 0 20px;
}

#scene {
  display: block;
}

.scene-text {
  margin: 0 20px;
  text-align: center;
}

.scene-text h3 {
  font-size: 16px;
}

.scene-text p {
  font-size: 14px;
}

#gallery {
  margin: 100px 0 10px;
}

#gallery h2 {
  font-size: 23px;
}

.gallery-cell {
  width: 80%;
  height: 200px;
}

#map {
  height: fit-content;
  flex-direction: column;
}

iframe {
  width: 100%;
  aspect-ratio: 16/9;
  -webkit-filter: grayscale(100%);
  -moz-filter: grayscale(100%);
  -ms-filter: grayscale(100%);
  -o-filter: grayscale(100%);
  filter: grayscale(100%);
}

.map-text {
  order: 2;
  margin: 0 20px;
  color: #fff;
}

.footer {
  height: 700px;
}
}

@media (min-width: 768px) {
  .md-flex {
    display: flex;
  }

  .md-justify-between {
    justify-content: space-between;
  }

  .grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  
  .footer__address a {
    text-decoration: none;
    pointer-events: none;
  }
}

@media (max-width: 380px) {
  a.btn-border {
    top: 88%;
  }
}