header, footer{
  border: none;
}

.hero{
  width: 100%;
}

.hero-media{ position:relative; }

/* .sound-btn{
  position:absolute;
  right:16px;
  bottom:16px;
  padding:10px 14px;
  border:1px solid rgba(255,255,255,.6);
  background:rgba(0,0,0,.35);
  color:#fff;
  border-radius:999px;
  font-size:12px;
  letter-spacing:.08em;
  cursor:pointer;
  backdrop-filter: blur(6px);
} */

.hero-media video{
  width: 100%;
  height: auto;
  display: block;
}
main{
    margin: 0 auto;
}
#mainWrap{
    color: #4E4E4E;
    text-align: center;
}

.logo{
    padding: 70px;
}

.concept-line {
  position: relative;
  text-align: center;
  padding: 180px 0;
}

.concept-line::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  background-color: #707070;
}

.logo,
.mayla-text,
.concept {
  position: relative;
  background: #fff; 
  z-index: 1;
}

.mayla-text {
  display: inline-block;
  padding: 24px 0;
  font-size: 2.4rem;
  line-height: 2em;
  margin: 80px auto;
}

.mayla-text span{
    font-size: 2.4rem;    
}

.concept {
  margin-top: 120px;
}

.concept h2 {
  font-size: 2rem;
}

.lead{
    font-size: 2.4rem;
    padding: 60px;
}

.desc{
    font-size: 1.8rem;
    line-height: 2.5em;
}

@media (max-width: 587px){

  .hero{
    width: 100%;
    overflow: hidden;
  }

  .hero-media{
    width: 100%;
  }

  .hero-media video{
    width: 100%;
    height: 60vh; 
    object-fit: cover; 
    display: block;
  }

  /* .sound-btn{
  position:absolute;
  right:30px;
  bottom:20px;
  padding:8px 10px;
  border:1px solid rgba(255,255,255,.6);
  background:rgba(0,0,0,.35);
  color:#fff;
  border-radius:999px;
  font-size:8px;
  letter-spacing:.08em;
  cursor:pointer;
  backdrop-filter: blur(6px);
} */

  .logo{
    padding: 40px;
  }

  .logo > img{
    width: 50%;
  }

  .concept-line {
    position: relative;
    text-align: center;
    padding: 80px 0;
  }

  .mayla-text {
    padding: 18px 0px;
    font-size: 2rem;
    line-height: 2em;
    margin: 80px auto;
  }

  .mayla-text span{
      font-size: 1.8rem;    
  }

  .concept {
    margin-top: 80px;
  }

  .concept h2 {
    font-size: 1.8rem;
  }

  .lead{
      font-size: 2rem;
      padding: 40px;
  }

  .desc{
      font-size: 1.6rem;
      line-height: 2em;
  }
}


/* ------------------------------Footer-------------------------------- */

/* 一旦footer背景画像にしてサイズ固定化してます！ */
footer{
  /* background-image: url(/maylaclassique/images/others/mainFootterVisual.jpg); */
  background-size: cover;  
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;      
  /* margin: 100px 0 0; */
}

#footer_nav{
  position: relative;
  z-index: 1;

  max-width: 890px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 90px;
}

.doorsWrap{
    margin: 200px auto 0;
}

.doorsWrap h3{
    text-align: center;
    font-size: 2rem;
    margin-bottom: 30px;
}

.doors{
    width: 350px;
    height: 520px;
    /* background: #ffffff; */
    color: #222;
    border-radius: 999px 999px 28px 28px; 
    text-align: center;
    /* box-shadow: 0 24px 48px rgba(0,0,0,0.25); */
}
  
.doors > div{
    height: 340px;
    padding-top: 50px;
    display: flex;
    flex-flow: column;
    justify-content: space-between;
    align-items: center;
}

.doors > div > div{
    width: 200px;
    height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;    
}


.doors div > a{
  margin: 0 auto;
  width: 194px;
  padding: 15px 0;

  position: relative;
  display: inline-block;

  font-size: 1.7rem;
  color: #1b2c42;
  text-decoration: none;
  text-align: center;

  transition: color 0.2s ease;
  z-index: 0;

  background: #ececec;

  clip-path: polygon(
    8% 0%,
    92% 0%,
    100% 20%,
    100% 80%,
    92% 100%,
    8% 100%,
    0% 80%,
    0% 20%
  );
}


/* footer navigation */
footer nav{
  color: #4E4E4E;
  display: flex;
  flex-flow: column;
  /* justify-content: space-between; */

  width: 100%;
  margin: 80px auto 60px;
  line-height: 100px;
}

footer nav ul{
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 32px;
}

footer nav li{
  position: relative;
  list-style: none;
}
footer nav li + li::before{
  /* content: "";
  position: absolute;
  left: -16px;       
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 14px;
  background: rgba(255,255,255,0.4); */
}

footer nav a{
  color: inherit;
  text-decoration: none;
  font-size: 1.6rem;
}
footer nav p{
  text-align: center;
}

@media (max-width: 587px){

  footer{
    margin: 100px auto 0;
  }

  #footer_nav{
    grid-template-columns: repeat(2, minmax(0, 1fr)); 
    gap: 15px; 
    padding: 0 16px; 
    max-width: 100%;
  }

  .doorsWrap{
    margin: 40px 0 0;     
  }

  .doorsWrap > h3{
    font-size: 1.4rem;
  }
  .doors{
    width: 100%;            
    max-width: none;
    height: 260px;
  }

  .doors > div{
    height: 190px;
    padding-top: 20px;
  }

.doors > div > div{
    width: 130px;
    height: 130px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;

    margin: 0 auto;    
}

.doors_img1{
  width: 50%;
}

.doors_img2{
  width: 80%;
}


.doors div > a{
  margin: 0 auto;
  width: auto;
  padding: 12px 20px;

  position: relative;
  display: inline-block;

  font-size: 1.2rem;
  color: #1b2c42;
  text-decoration: none;
  text-align: center;

  transition: color 0.2s ease;
  z-index: 0;

  /* background: #ececec; */

  clip-path: polygon(
    8% 0%,
    92% 0%,
    100% 20%,
    100% 80%,
    92% 100%,
    8% 100%,
    0% 80%,
    0% 20%
  );
}


  footer nav{
    width: 100%;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    margin: 80px auto 0;
    line-height: 50px;
  }
  
  footer nav ul{
    flex-wrap: wrap;
    gap: 16px;
    padding: 0;
    margin: 0;
    justify-content: center;
  }
   footer nav > p{
    font-size: 1rem;
   }
  
  footer nav ul > li > a{
    font-size: 1.2rem;

  }
  footer nav li + li::before{
    content: none;
  }

}

