/* ================

================*/

/* メイン・共通 ==================== */

section{
  padding: 3rem 2rem;
}

/* パーツ・エレメント ==================== */
.heading {
  margin-bottom: 2rem;

}

.heading p::before,
.heading p::after{
  content: " = ";
}
.heading h2{
  font-size: 200%;
  font-weight: bold;
}

.el-btn-cta{
  display: block;
  width: 50%;
  margin: auto;
  margin-top: 1rem;
  padding: 2px 0;
  border-radius: 100vmax;
  border: 2px solid var(--color-black);
  background-color: var(--color-black);
  color: var(--color-white);
}

.el-btn-cta:hover{
  background-color: var(--color-white);
  color: var(--color-black);
}

/* 装飾系 ==================== */
.global-container .abso-youtube{
  display: flex;
  justify-content: center;
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 999;
  width: 140px;
}

.global-container .abso-youtube:hover{
  opacity: .7;
}

@media (max-width: 1024px){
  .global-container .abso-youtube{
    right: 0;
    bottom: .5rem;
    width: 120px;
  }
}

@media (max-width: 768px){
  .global-container .abso-youtube{
    width: 100px;
  }
}

@media (max-width: 480px){
  .global-container .abso-youtube{
    width: 90px;
  }
}


/* ========== FV ========== */
.sec-fv{
  height: calc(100vh - 120px);
  position: relative;
}

.fv-contents {
  width: 90%;
  opacity: 0; 
  animation: fadeIn 2s ease-in-out forwards;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1;}
}


.sec-fv .kura-sada{
  display: flex;
  justify-content: center;
  align-items: baseline;
  margin: auto;
  margin-top: 2rem;
}

/* ========== ABOUT US ========== */

.sec-about .img-about-og{
  width: 100%;
  margin: auto;
  margin-top: 1rem;
}

.sec-about .highlighted-comment{
  width: 90%;
  margin: auto;
  padding: .5em 0;
  border-radius: .5rem;
  background-color: var(--color-black);
  color: var(--color-white);
  font-size: 120%;
  font-weight: bold;
}

.sec-about .hashtags{
  display: flex;
  justify-content: center;
  gap: 0 1rem;
  margin-top: .5rem;
}

@media (max-width: 1024px){
  .sec-about .img-about-og,
  .sec-about .highlighted-comment{
    width: 70%;
  }
}

@media (max-width: 768px){
  .sec-about .img-about-og,
  .sec-about .highlighted-comment{
    width: 80%;
  }
}

/* ========== おすすめ動画 ========== */
.sec-recommend{
  padding-bottom: 6rem;
}

.sec-recommend .movie-list-wrapper{
  position: relative;
}

.sec-recommend .comment{
  position: absolute;
  width: calc((100% - 2rem )/2);
}

.sec-recommend .comment:nth-child(1){
  top: 0;
  right: 0;
}

.sec-recommend .comment:nth-child(2){
  bottom: -5rem;
  left: 0;
}

.sec-recommend .movie-list{
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.sec-recommend .movie-list li{
  position: relative;
  width: calc((100% - 2rem )/2);
  padding: 1rem;
  padding-bottom: 4rem;
  border: 2px solid var(--color-black);
  background-color: var(--color-white);
  box-shadow: 2px 4px 0 #00000020;
}
.sec-recommend .movie-list li:nth-child(even) {
  transform: translateY(5rem);
}

.sec-recommend .ttl{
  margin-top: 1rem;
  font-weight: bold;
}

.sec-recommend .desc{
  margin-top: .5rem;
  font-size: 90%;
}

.sec-recommend .el-btn-cta{
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translate(-50%, 0);
  width: 10em;
}

@media (max-width: 768px){
  .sec-recommend .movie-list{
    gap: 2rem 1rem;
  }
}

@media (max-width: 480px){
  .sec-recommend .comment{
    display: none;
  }

  .sec-recommend .movie-list li{
    width: 100%;
  }
  .sec-recommend .movie-list li:nth-child(even) {
    transform: translateY(0);
  }

  .sec-recommend .desc{
    margin-top: .3rem;
    font-size: 100%;
  }
}

/* ========== よくある質問 ========== */
.sec-faq .og-details{
  max-width: 600px;
  margin: auto;
  text-align: left;

}

.og-details summary{
  cursor: pointer;
  display: flex;
  align-items: center;
  position: relative;
  padding: .5em 0;
  padding-right: 30px;
  margin-top: 1.5rem;
  font-size: 120%;
  font-weight: bold;
}

.og-details summary::-webkit-details-marker{
  display: none;
}

.og-details summary::before{
  content: "Q";
  font-family: sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 100vmax;
  width: 2em;
  height: 2em;
  margin-right: .5em;
  background-color: var(--color-black);
  color: var(--color-white);


}
.og-details summary::after {
  position: absolute;
  top: .5em;
  right: 0;
  content: url("../assets/img/ico-plus.png");
  display: flex;
  justify-content: center;
  width: 20px;
  height: 20px;
  margin-right: .5rem;
}

details[open] summary::after {
  content: url("../assets/img/ico-minus.png");
}

.og-details .accordion-contents {
  display: grid;
  grid-template-rows: 0fr;
  transition: .5s all ease;
  background-color: var(--color-white);
  padding: 0 1rem; /* is-openと幅合わせる */
  border-radius: .5rem;
}
  
.og-details .accordion-contents > div{
  overflow: hidden; 

}
  
.og-details.is-open .accordion-contents {
  grid-template-rows: 1fr;
  padding: 1rem; /* 通常時と幅合わせる */
}

.sec-faq a{
  display: block;
  margin-top: 1rem;
  text-decoration: underline;
}

.sec-faq a:hover{
  opacity: .7;
}

.sec-faq a span{
  text-decoration: inherit;
}

@media (max-width: 480px){
  .og-details summary{
    font-size: 100%;
  }
}

/* ========== お問合せ ========== */
.sec-contact .unit-box{
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.sec-contact .deco-kura,
.sec-contact .deco-sada{
  width: 25%;
}

.sec-contact .el-btn-cta{
  display: flex;
  justify-content: center;
  align-items: center;
  width: 48%;
  margin: 0;
  font-size: 120%;

}

@media (max-width: 480px){
  .sec-contact .unit-box{
    gap: 2rem 0;
  }
  .sec-contact .el-btn-cta{
    order: 1;
    width: 80%;
    margin: auto;
    margin-top: 2rem;
  }

  .sec-contact .deco-kura{
    order: 2;
    width: 49%;
  }

  .sec-contact .deco-sada{
    order: 3;
    width: 49%;
  }

}