/************************************************

@PC - style.css v5.0.0

(c) ULM Co.,Ltd. - https://www.ulm-design.com
************************************************/
/*-------------------------------

#main

-------------------------------*/
#wrapper {
  background: #74b87a url(../img/bg_pc.jpg) center center repeat fixed;
  background-size: cover;
}

#wrapper:before {
  content: "";
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 0;
  width: 100%;
  height: 100vh;
  background:  #74b87a url(../img/bg_sp.jpg) center center no-repeat;
  background-size: cover;
}

@media screen and (min-width: 960px) {
  #wrapper:before {
    display: none;
  }
}

.heading {
  width: 90%;
  max-width: 500px;
  margin: 0 auto 30px;
}

.top-message {
  text-align: center;
  font-size: 1.2em;
  color: #fff;
  margin: 10px auto;
}

.top-message span {
  display: block;
  font-size: x-small;
  padding: 10px 0 0 0;
}

.section-instruction {
  text-align: center;
  font-size: 0.9em;
  color: #fff;
  margin-bottom: 10px;
}


.share-container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 0;
  position: relative;
}

.share-section {
  margin-bottom: 60px;
}

.share-title {
  color: #004425;
  text-align: center;
  font-size: 1.4em;
  font-weight: bold;
  padding: 10px 0;
  background: #facf01;
  border-radius: 50px;
  width: 90%;
  max-width: 500px;
  margin: 0 auto 20px;
}

.share-grid {
  /* display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); */
  gap: 20px;
  /* margin-bottom: 30px; */
  justify-content: center; 
  display: flex;
  flex-wrap: wrap;
}

.pose {
  display: block !important;
}

.pose-share-item {
  width: 100%;
  margin: 0 auto;
}

@media screen and (min-width: 961px) {
  .pose {
    display: flex !important;
  }

  .pose-share-item {
    width: 32%;
  }
}

.share-item {
  width: 45%;
  padding: 10px;
  border-radius: 8px;
}

.share-item img {
  width: 100%;
  max-width: 280px;
  height: auto;
  display: block;
}

/* 予告動画セクション */
.trailer-container {
  width: 90%;
  margin: 0 auto 20px;
}

.video-wrapper {
    position: relative;
    width: 100%;
    margin: 0 auto 20px;
    aspect-ratio: 16 / 9;
    /* border: 1px solid #fff; */
    border-radius: 5px;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  border-radius: 5px;
}

.trailer-actions {
  width: 100%;
}

.action-buttons {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 400px;
  margin: 0 auto;
}

.action-button {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 24px;
  margin: 10px auto;
  border-radius: 50px;
  border: none;
  font-size: 0.9em;
  font-weight: bold;
  cursor: pointer;
  transition: opacity 0.3s;
}

.action-button:hover {
  opacity: 0.8;
}

.copy-link {
  font-weight: bold;
  background: #f59a1f;
  color: #fff;
  /* border: 2px solid #000; */
}

.tweet-button {
  background: #1DA1F2;
  color: #fff;
  text-decoration: none;
}

/* PC表示用のスタイル */
@media screen and (min-width: 961px) {

  .share-item {
    width: auto;
  }

  .trailer-container {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1280px;
    margin: 0 auto;
  }

  .video-wrapper {
    width: 50%;
  }

  .trailer-actions {
    width: 50%;
    padding: 50px;
  }

  .action-buttons {
    margin: 0; /* PC表示時は中央寄せを解除 */
  }
}

/* モバイル表示用のスタイル */
@media screen and (max-width: 960px) {
  .video-wrapper,
  .trailer-actions {
    width: 100%;
  }
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
  .share-container {
    width: 95%;
    padding: 20px 0;
  }

  .share-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
    justify-content: center; 
  }

  .action-button {
    width: 100%;
    justify-content: center;
  }
}

.back-link {
  display: block;
   width: 100%;
   position: relative;
   display: inline-block;
   padding: 1rem 4.4rem;
   border-radius: 50px;
   color: #000;
   font-size: .8em;
   text-align: center;
   text-decoration: none;
   font-weight: bold;
   transition: 0.3s;
   background: #fff;
 }

 .back-link:hover {
  opacity: .8;

 }

 .top-btn-container {
   text-align: center;
   padding: 20px 0;
   width: 300px;
   margin: 0 auto;
 }

 .top-btn-container a:hover{
  opacity: 0.6;
 }

.billing {
   width: 90%;
   margin: 0 auto;
   padding: 30px 0 50px;
   text-align: center;
   font-size: x-small;
   line-height: 1.5;
   color: #fff;
  }
