.main-img img {
  width: 100%;
}
.main-img {
  max-width: 500px;
  margin: 0 auto 30px;
}
.icon-flex img{
  width: 100px;
}
.balloon1-right {
  position: relative;
  display: inline-block;
  margin: 1.5em 15px 1.5em 0;
  padding: 7px 10px;
  min-width: 120px;
  max-width: 100%;
  color: #555;
  font-size: 16px;
  background: #e0edff;
}


.balloon1-right p {
  margin: 0;
  padding: 0;
}


/* ポップアップのスタイル */
.popup {
    display: none; /* 初期状態では非表示 */
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
}

.popup-content {
    margin: 15% auto;
    padding: 20px;
    background-color: white;
    border: 2px solid;
    border-color: rgb(251 207 232 / var(--tw-border-opacity, 1));
    width: 80%;
    border-radius: 1rem;
}

.close {
  display: block;
    background-color: rgba(251,207,232,1);
    font-size: 20px;
    width: 80%;
    border-radius: 999px;
    text-align: center;
    margin: 10px auto 0;
    padding: 10px 0;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
}
.ok-button a{
  display: block;
  border: 2px solid;
  border-color: rgb(251 207 232 / var(--tw-border-opacity, 1));
  width: 80%;
  border-radius: 999px;
  text-align: center;
  margin: 10px auto 20px;
  padding: 5px 0;
}
.pr-img {
  width: 50%;
  margin: 0 auto;
}

/*ranking*/
.self-css .text-xl {
  font-size: 1.2rem;
}
.self-css .text-2xl {
  font-size: 1.2rem;
}
.self-css .ml-4 {
  margin-left: 10px;
}
.self-css .py-12 {
  padding-top: 1.5rem;
}
.self-css  h1 {
  font-family: "Dela Gothic One";
  margin-top: 10px;
}
.self-css .text-4l {
  font-size: 1.75rem;
}
.self-css .animate-bounce {
   animation: bounce 2s infinite;
}
/*main*/
.self-css .pt-16 {
  padding-top: 2rem;
}
/* ---------------------------------------------------------
769px以上
----------------------------------------------------------*/
  @media screen and (max-width:769px) {
  .balloon1-right:after {
    content: "";
    position: absolute;
    top: 100%;
    left: 70%;
    margin-left: -30px;
    border: 15px solid transparent;
    border-width: 20px 0 0 20px;
    border-top-color: #e0edff
  }
  .icon-flex img{
    display: block;
    margin: 0 0 20px auto;
  }

  .self-css .mb-4 {
    margin-bottom: 0;
  }
  /*main*/
  .self-css .pt-16 {
    padding-top: 0;
  }
}
/* ---------------------------------------------------------
769px以上
----------------------------------------------------------*/
@media not screen and (max-width:769px) {
  .popup-content {
    max-width: 700px;
}
  .popup-pc {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
  }
  .popup-p {
    flex: 2;
  }
  .popup-pc p {
    margin-bottom: 15px;
  }
  .pr-img {
    flex: 1;
  }

  .icon-flex {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
  }
  .balloon1-right:before {
    content: "";
    position: absolute;
    top: 50%;
    left: 100%;
    margin-top: -15px;
    border: 15px solid transparent;
    border-left: 15px solid #e0edff;
  }
}