html{
  scroll-behavior: smooth;
}

body{
  color: #333;
  width: 100vw;
  max-width: 600px;
  margin: 0 auto;
  font-family: "Noto Sans JP", sans-serif;
  overflow-x: hidden;
}

img,svg,
video{
  width: 100%;
}

.main__wrapper{
  opacity: 0;
}

.prof__header,
.modal__header{
  display: none;
  position: fixed;
  top: 0;
  z-index: 102;
}

.modal__close{
  display: none;
  font-size: 20px;
}

.header__wrapper{
  max-width: 600px;
  margin: 0 auto;
  width: 100vw;
  align-items: center;
  padding: 3% 0;
  background: #fff;
  position: relative;
  border-bottom: 1px solid #e9e9e9;
}

.pr-top-left:after,
.pr-top-right:after{
  z-index: 101;
  top: 15px;
}

.header__back{
  width: 10%;
  position: absolute;
  left: 3%;
}

.header__back img{
  width: 30%;
}

.header__name{
  font-size: 20px;
  text-align: center;
  color: #FF1493;
  font-weight: bold;
}

.header__option{
  position: absolute;
  width: 15%;
  text-align: center;
  font-size: 10px;
  top: 50%;
  transform: translateY(-50%);
  right: 2%;
  scroll-behavior: smooth;
}


.header__option img{
  width: 45%;
}

.header__option p{
  display: inline-block;
  padding-top: 6%;
}

.header__option span{
  font-weight: bold;
  font-size: 30px;
}

.main__wrapper{
  display: none;
  position: relative;
}

/* サムネイル */
.main-image{
  position: relative;
}

.prof__img-detail{
  position: absolute;
  bottom: 5%;
  left: 3%;
  color: #fff;
  white-space: nowrap;
  z-index: 3;
}

.prof__filter{
  position: absolute;
  bottom: 0;
  opacity: 0.6;
  z-index: 1;
}

.prof__img-detail-bottom{
  padding-top: 2%;
}

.prof__img-detail-bottom i{
  margin-right: 1%;
}

.prof__img-icon{
  position: absolute;
  width: 20%;
  right: 3%;
  bottom: 5%;
  z-index: 3;
}

#main-img{
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.thumbnail-images {
  padding-left: 5%;
  margin-top: 2%;
}

.thumbnail-images img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 50%;
  margin-right: 2%;
  cursor: pointer;
}

/* 自己紹介 */
.prof__detail{
  line-height: 1.5;
  width: 90%;
  margin: 0 auto;
  font-size: 14px;
}


.detail__title{
  font-size: 18px;
  font-weight: bold;
  padding-top:8%;
  padding-bottom: 3%;
  border-bottom: 3px solid #ddd;
}

.detail__text{
  color: #666;
  padding-top: 6%;
}

/* プロフィール */
.profile-container {
  width: 90%;
  margin: 0 auto;
  background-color: white;
  border-radius: 10px;

}

.profile-section {
  margin-bottom: 20px;
}

.profile-header {
  font-size: 18px;
  font-weight: bold;
  border-bottom: 1px solid #ddd;
  padding-bottom: 10px;
  margin-bottom: 10px;
}

.profile-item__wrapper{
  padding-top: 6%;
}

.profile-item {
  display: flex;
  justify-content: space-between;
  padding: 3.5% 0;
  font-size: 14px;
}

.profile-label {
  flex: 1;
  color: #a3a3a3;
}

.profile-value {
  flex: 1.5;
  color: #ff00cc;
}


/* データボタン */
.data__btn{
  border-radius: 5px;
  border: 2px solid #333;
  width: 50%;
  padding: 4% 0;
  margin: 0 auto;
  cursor: pointer;
}

.btn__inner{
  display: flex;
  align-items: center;
  justify-content: center;
}

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


/* modal */
#modal {
  display: none;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;

  transition: transform 0.5s ease-in-out;
  background-color: #f5f5f5;
  margin: 0;
  padding: 0;
  z-index: 100;
}

#modal.show {
  display: block;
  transform: translateY(0);
}

.activity-data {
  max-width: 600px;
  margin: 0 auto;
  background-color: white;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  opacity: 0;
}

.modal__title {
  background-color: #f1f1f1;
  padding: 15px;
  font-size: 20px;
  text-align: center;
  font-weight: bold;
}

.row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding:4% 5%;
  border-bottom: 1px solid #ddd;
}

.label {
  flex: 1;
  text-align: left;
  font-size: 14px;
  font-weight: bold;
}

.value {
  flex: 1;
  display: flex;
  justify-content: right;
  font-weight: bold;
  font-size: 16px;
}

.recive .label{
  flex: 0.4;
}

.recive .value{
  justify-content: right;
  flex: 0.6;
}

.recive .value .percentage{
  width: 25%;
}

.subtext {
  display: inline-block;
  font-size: 10px;
  color: #909090;
  font-weight: normal;
  margin-top: 3%;
}

.chart .modal__title{
  background: #fff;
  padding-left: 0;
}

.chart .subtext{
  margin-top: 1%;
  margin-bottom: 3%;
}

.new-badge {
  display: inline-block;
  background-color: #ff0000;
  color: white;
  padding: 2px 5px;
  border-radius: 5px;
  font-size: 12px;
  margin-right: 5px;
  margin-bottom: 2%;
}

.new {
  position: relative;
}

.progress-bar {
  background-color: #f1f1f1;
  overflow: hidden;
  width: 60%;
  display: inline-block;
  vertical-align: middle;
  height: 20px;
  margin-right: 5%;
}

.progress {
  background-color: #ffc107;
  height: 100%;
}


.chart {
  width: 100%;
  margin: 0 auto;
}

.bar {
  display: flex;
  align-items: center;
  margin: 3% 0;
}

.time {
  width: 100px;
  margin-right: 10px;
  display: flex;
  white-space: nowrap;
  justify-content: space-between;
  font-weight: bold;
  font-size: 16px;
}

.time span{
  display: block;
  width: 60%;
  text-align: center;
  padding: 3% 0;
  border-radius: 10px;
  background: #c8c8c8;
  font-size: 10px;
  font-weight: normal;
  letter-spacing: 0;
}

.bar-container {
  flex: 1;
  background-color: #f1f1f1;
  overflow: hidden;
}

.bar-inner {
  height: 20px;
  background-color: #5accd9;
}

.percentage {
  width: 15%;
  text-align: right;
  display: inline-block;
  white-space: nowrap;
  font-weight: bold;
  font-size: 12px;
}

.fsz_large{
  font-size: 20px;
}

.rating .value {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.stars {
  text-align: center;
  font-size: 20px;
  color: #ffcc00;
  margin-right: 10px;
}

.score {
  font-size: 20px;
  font-weight: bold;
  color: #333;
}

.rating .label {
  flex: none;
  width: 43%;
}

.rating .value {
  width: 57%;
  justify-content: space-between;
  flex: none;
  padding-left: 6%;
}

.rating .percentage {
  width: auto;
  text-align: left;
  white-space: nowrap;
  font-size: 14px;
}


/* btn */
.footer__btn{
  display: none;
  position: fixed;
  max-width: 700px;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 92%;
  z-index: 10000;
  margin: 0 auto;
  padding-bottom: 3%;
}

#btn01,
#btn02{
  position: relative;
  overflow: hidden;
}

#btn01::after ,
#btn02::after {
	animation: 4s 0s shine linear infinite;
	background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,.4) 100%);
	content: '';
	height: 100%;
	left: -100%;
	position: absolute;
	top: 0;
	transform: skewX(-25deg);
	width: 50%;
}

@keyframes shine {
	20% {
		left: 150%;
	}
	100% {
		left: 150%;
	}
}

#btn02{
  display: none;
}

/* footer */
.footer{
  margin-top: 8%;
  line-height: 1.5;
  text-align: center;
  font-size: 12px;
  padding: 3% 0;
  border-top: 1px solid #bfbfbf;
}

small{
  font-size: 10px;
}

/* ローディングアニメーション全体のスタイル */
.loading {
  position: sticky;
  z-index: 9999;
  top: 40%;
  left: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* スピナーのスタイル */
.spinner {
  border: 10px solid #ffffff;
  border-top: 10px solid #3498db;
  border-radius: 50%;
  width: 90px;
  height: 90px;
  animation: spin 1s linear infinite;
}

/* スピナーのアニメーション */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* 最初のポップアップ要素*/
.data__pop{
  max-width: 600px;
  width: 100%;
  margin: 0 auto;
  background: #fff;
  border-radius: 15px;
  z-index: 100000;
}

.data__pop-layer{
  position: fixed;
  width: 200vw;
  height: 200vh;
  background: #000;
  top: -50%;
  left: -50%;
  opacity: 0.8;
  z-index: 10000;
}

.data__pop-inner{
  width: 100%;
  position: relative;
  height: auto;
}

.data__pop-close{
  position: absolute;
  font-size: 15px;
  top: 15px;
  right: 6%;
  padding: 1%;
  color: #777777;

}

.data__pop-logo{
  margin: 0 auto;
  width: 30%;
  padding: 5% 0;
}

.data__pop-text{
  text-align: center;
  line-height: 2;
  padding: 3% 0 0;
  font-size: 16px;
}

.data__pop-btn{
  width:80%;
  font-weight: 900;
  font-size: 22px;
  text-align: center;
  margin: 3% auto 5%;
  background: #E1BC29;
  padding: 3% 0;
  color: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 1px #c5a526;
  animation: heartBeat 1.5s infinite;
}

@keyframes heartBeat {
  0% {
    transform: scale(1);
  }
  14% {
    transform: scale(1.1);
  }
  28% {
    transform: scale(1);
  }
  42% {
    transform: scale(1.1);
  }
  70% {
    transform: scale(1);
  }
}


.fw__b{
  display: inline-block;
  font-size: 20px;
  font-weight: 900;
}

.fw__m{
  font-size: 18px;
  font-weight: 800;
}

.color__p{
  color: #CF2C88;
}

.marker__y{
  background: linear-gradient(transparent 50%, #e1ff00 50%);
}

/* コメントポップ */
.comment{
  position: relative;
}

.comment__pop{
  position: absolute;
  animation-name:updown1;   /* アニメーション名の指定 */
  animation-delay:0s;   /* アニメーションの開始時間指定 */
  animation-duration: 1.5s;   /* アニメーション動作時間の指定 */
  animation-timing-function: ease-in-out; 
  animation-iteration-count: infinite; 
}

@keyframes updown1 {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
  100% {
    transform: translateY(0);
  }
}

.comment__01{
  display: none;
  width: 95%;
  right: -25%;
  top: -205%;
}

.comment__02{
  width: 50%;
  right: 30%;
  top: 5%;
}

.comment__03{
  width: 50%;
  right: 20%;
  top: -45%;
}

.comment__04{
  display: none;
  width: 50%;
  left: 40%;
  top: 0%;
}


.comment__05{
  display: none;
  width: 95%;
  right: 26%;
  top: -175%;
}


/* question */
.question{
  width: 50%;
  position: absolute;
  right: -5%;
  bottom: 125%;
}

/* step */
.swiper{
  margin: 4% 0;
 overflow: visible;
}

.swiper-slide{
  box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 1px 3px 1px;
  border-radius: 5px;
  height: 100%;
}

.step__title{
  text-align: center;
  font-weight: 900;
  padding: 5% 0;
}

.step__text{
  text-align: center;
  line-height: 2;
  font-size: 12px;
  font-weight: bold;
  padding: 4% 2%;
}