img{
  width: 100%;
  height: auto;
}

video{
  width: 100%;

}

body{
  font-family: "Helvetica Neue", "Helvetica", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial", "Yu Gothic", "Meiryo", sans-serif;
  color: #333;
  max-width: 500px;
  margin: 0 auto;
}

/* header */

header{
  text-align: center;
  background: #fb78aa;
  position: relative;
}

.header__logo{
  width: 50%;
  margin: 0 auto;
  color: #fff;
  fill: #fff;
  margin: 0 auto;
  padding: 3% 0;
}


.header__subtitle{
  background-color: #37a7f1;
  position: relative;

}

.header__text{
  width: 30%;
  margin: 0 auto;
  padding: 3% 0;
  color: #fff;
}

.header__icon-wrapper{
  display: flex;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 4%;
  justify-content: right;
}

.header__icon{
  width: 6%;
  margin-left:  4%;
}

/* back */
.header__back-title .header__text{
  width: 100%;
  font-size: 18px;
}

.header__back,
.pop_header__back{
  position: absolute;
  left: 2%;
  top: 50%;
  transform: translateY(-50%);
  content: '< 戻る';
  color: #fff;
  align-items: center;
  font-size: 14px;
}

.header__back{
  white-space: nowrap;
}

.header__back span{
  padding-right: 15%;
}

/* thread */
.thread__wrapper{
  margin-bottom: 70px;
}

.thread{
  padding-bottom: 3%;
  border-bottom: 3px solid #efefef;
}

.thread__wrapper{
  padding-left: 5%;
}

.thread__flex{
  display: flex;
  align-items: center;
}

.thread__box{
  align-items: start;
}

.thread__icon{
  width: 20%;
  margin-right: 3%;
  margin-top: 3%;
}

.thread__icon img{
  border-radius: 10px;
}

.thread__info,
.thread__foot{
  font-size: 12px;
}

.thread__info{
  width: 100%;
}

.thread__top{
  width: 100%;
  margin: 3% 0;
}

.thread__purpose{
  display: inline-block;
  white-space: nowrap;
}

.thread__purpose span{
  display: inline-block;
  color: #fff;
  line-height: 1;
  border-radius: 30px;
  padding: 6% 4%;
}

.meet{
  background: #ff7b61;
}

.play{
  background: #ef9a29;
}


.love{
  background: #e64ead;
}

.thread__time{
  margin: 0 2%;
  margin-left: 4%;
}

.thread__eye-img{
  width: 25px;
}

.thread__eye-sum span{
  color: #ffc800;
}

.thread__title{
  font-weight: bold;
  font-size: 20px;
  color: #ff6ca3;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2; /* 任意の行数を指定 */
}

.thread__tag{
  margin: 3% 0;
}

.thread__tag span{
  display: inline-block;
  padding: 1% 3%;
  border: 1px solid #333;
  border-radius: 20px;
}

.thread__writer{
  padding-bottom: 1%;
}

.thread__bottom{
  width: 90%;
  align-items: end;
  justify-content: space-between;
}

.thread__button{
  color: #fff;
  padding: 9% 0;
  position: relative;
  white-space: nowrap;
  background: #37a7f1;
  border-radius: 10px;
  box-shadow: 0 2px 2px rgba(0,0,0,0.2), 0 -4px 5px -2px #6d95ce inset;
  overflow: hidden;
  position: relative;
}

.thread__button::after {
  content: '';
  position: absolute;
  top: -10%;
  left: -20%;
  width: 40px;
  height: 100%;
  transform: scale(2) rotate(20deg);
  background-image: linear-gradient(100deg, rgba(255, 255, 255, 0) 10%, rgba(255, 255, 255, .5) 100%, rgba(255, 255, 255, 0) 0%);
  animation-name: shiny;
  animation-duration: 3s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}

@keyframes shiny {
  0% { left: -20%; }
  10% { left: 120%; }
  100% { left: 120%; }
}

.thread__bottom-right{
  width: 30%;
  text-align: center;
}

.thread__foot{
  margin-top: 3%;
  padding: 2%;
  background: #e5e5e5;
  border-radius: 5px 0 0 5px;
}

.thread__foot-detail{
  align-items: end;
  margin-left: 3%;
}

.foot__icon{
  width: 28px;
}

.foot__junle{
  color: #fff;
  background: #999;
    padding: 1% 2%;
    border-radius: 15px;
}

.foot__number{
  padding: 0 6%;
  font-size: 16px;
}


/* thread__detail */

/* top */
.thread__detail-top{
  display: flex;
  align-items: center;
  padding: 2%;
  border-bottom: 2px solid #e9e9e9;
}

.thread__detail-middle{
  padding: 2%;
}

.thread__detail-prof{
  margin-right: auto;
  width: 25%;
}

.thread__detail-icon{
  width: 15%;
  margin-right: 3%;
}

.thread__login{
  font-size: 12px;
  display: inline-block;
  padding: 3% 8%;
  line-height: 1;
  white-space: nowrap;
  border: 1px solid #47f137;
  border-radius: 15px;
  color: #fff;
  background: #47f137;
}

.thread__detail-arrow{
  color: #999;
  margin-right: 3%;
}

.thread__detail-top .thread__place{
  padding: 9% 0;
}

.thread__detail-top .thread__writer{
  color: #ff6ca3;
}


/* middle */
.thread__detail-middle{
  border-bottom: 2px solid #e9e9e9;
}

.thread__detail-middle .thread__title{
  font-weight: normal;
}

.thread__detail-middle .thread__time:before{
  content: '';
  display: block;
  background-image: url(../img/time.svgz);
  width: 16px;
  height: 16px;
  background-size: contain;
  margin-right: 2%;
}

.thread__detail-middle .thread__time{
  margin: 0;
  font-size: 14px;
  margin-top: 3%;
}

.thread__detail-bottom{
  margin-bottom: 90px;
}

/* botttom */
.thread__detail-text{
  padding: 2%;
  line-height: 2;
}


/* popup */
.popup__wrapper{
  width: 100vw;
  height: 750px;
  position: relative;
  max-width: 500px;
  overflow: hidden;
}

.popup__layer{
  display: block;
  max-width: 500px;
  position: absolute;
  content: '';
  width: 100vw;
  height: 750px;
  background: #000;
  opacity: 0.5;
}

.popup__text-wrapper{
  position: absolute;
  width: 100%;
  z-index: 10;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  color: #fff;
  line-height: 1.5;
  text-align: center;
  max-width: 500px;
  font-size: 20px;
}

.marker{
  font-weight: bold;
  color: #cc4444;
  background-color: rgba(255, 255, 58);
  padding: 1% 0% 1% 1.5%;
  border-radius: 5px;
}

.popup__bg{
  overflow: hidden;
}

.popup__bg video{
  width:auto;
  height: 900px;
}

.c__black{
  color: #333;
}

.popup__text{
  margin-bottom:5%;
}

.popup__img{
  width: 80%;
  max-width: 300px;
  margin: 0 auto 5%;
}

.button__caution{
  padding-top: 2%;
  font-size: 10px;
}

/* footer */
footer{
  position: fixed;
  max-width: 500px;
  background: #ffffff8d;
  width: 100%;
  bottom: 0;
  z-index: 3;
  padding: 2% 0;
}

.footer__icon-wrapper{
  display: flex;
  justify-content: space-around;
  text-align: center;
}

.footer__icon-box{
  width: 25%;
  font-size: 10px;

}

.footer__icon-box img{
  width: auto;
  height: 35px;
}

.footer__icon-box p{
  padding-top: 6%;
}

.c_blue{
  color: #66aeec;
}

.footer__button-wrapper{
  padding-top: 4%;
  margin-bottom: 2%;
  border-top: 1px solid #e5e5e5;
}

.footer__button{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80%;
  margin: 0 auto;
  background: #fb78aa;
  color: #fff;
  font-size: 24px;
  border-radius: 20px;
  padding: 3% 0;
  box-shadow: 0 2px 2px rgba(0,0,0,0.2), 0 -4px 5px -2px #6d95ce inset;
  font-weight: bold;
}

.footer__button span{
  font-size: 12px;
}

.footer__button-icon{
  width: 10%;
  margin-right: 3%;
}

.popup__footer{
  text-align: center;
  font-size: 10px;
  line-height: 1.2;
  padding: 5% 0 2%;
}

.close {
  display: none;
}

.open {
  display: block;
}

/* 年齢確認 */
.under__adult{
  background: #000000dd;
  width: 100%;
  max-width: 500px;
  height: 100vh;
  position: fixed;
  max-width: 500px;
  text-align: center;
}

.under__adult-inner{
  position: fixed;
  text-align: center;
  width: 100%;
  left: 50%;
  top: 45%;
  max-width: 700px;
  transform: translate(-50%,-50%);
  z-index: 3;
}

.under__icon{
  width: 30%;
  margin: 0 auto;
}

.under__text{
  padding-top: 3%;
  font-size: 18px;
  font-weight: bold;
  margin: 0 auto;
  line-height: 2;
  color: #fff;
}

.under__text span{
  font-size: 12px;
  color:#C84630;
}

a{
  text-decoration: none;
}

.under__check-wrapper{
  display: flex;
  width: 75%;
  max-width: 500px;
  margin: 6% auto 0;
  justify-content: space-around;
}

.under__checkBtn{
  background: #A20021;
  color: #fff;
  width: 100%;
  padding: 5% 8%;
  margin: 0 2%;
  border-radius: 30px;
}

.under__checkBtn a{
  font-size: 16px;
  font-weight: bold;
  color: #fff;
}