@media(max-width:750px){
  .pc{
      display: none !important;
  }
}

@media screen and (max-width: 700px) {
  
  .tabs {
    padding-bottom: 0px;
  }

  .ranking-tab {
    border-radius: 10px 10px 0 0;
  }

  .new_top_area {
    max-width: 750px;
    margin: 0 auto;
    background: #fff;
  }
  
  .wrapper{
    overflow: hidden;
    position: relative;
  }

  .loop {
    animation: loop 10s linear infinite;
    width: 100%;
    margin: 0;
    font-size: 4vw;
    padding: 10px 0;
    background-color: #154a7c;
    border-top: 5px solid #fff;
    height: 3em;
    font-weight: bold;
    color: white;
  }

  .loop2{
    position: absolute;
    top: 0; left: 0;
    animation: loop 10s -5s linear infinite;
    margin: 0;
  }
  
  @keyframes loop {
    0%{
      transform: translateX(100%);
    }
    100%{
      transform: translateX(-100%);
    }
  }
  
  .newrankbox-inner {
    margin-bottom: 5%;
  }

  .new-rank_title {
    display: flex;
    align-items: center;
    border-bottom: 3px solid #ffcfc5;
  }
  
  .new-rank_title_img {
    width: 45px;
    margin: 15px;
  }
  
  .new-rank-inner {
    display: block;
  }
  
  .new-rank_title_text {
    font-size: 6vw;
    font-weight: bold;
    text-align: center;
    padding: 5px 0;
  }
  
  .new-rank_text {
    font-size: 4.5vw;
    font-weight: bold;
    margin: 15px 0px;
    text-align: center;
  }

  .cardtype_ul {
    display: flex;
    margin: 0;
  }
  
  .new-rank_btn {
    margin: 30px auto;
    display: block; /* flexを解除して縦に並べる */
  }
  
  .new-rank_cardtype p {
    font-size: 4vw;
  }

  .new-rank_cardtype .cardtype_ul li {
    padding: 0;
    margin: 15px 0px !important;
    background-color: #fff;
    color: #fff;
    font-weight: bold;
  }
  
  .new-rank_dlt {
    display: flex;
    text-align: center;
    font-size: 4.5vw;
    font-weight: bold;
  }
  
  .new-rank_dlt dl {
  width: 35%;
    margin: 2px;
  }
  
  .new-rank_dlt dl dt {
    background-color: #ff3f60;
    color: #fff;
    padding: 5px 0;
  }
  
  .new-rank_dlt dl dd {
    color: #000;
    padding: 5px 1px;
    border: 1px solid #ff3f60;
    line-height: normal !important;
    font-size: 4vw;
  }
  
  .rank_review_scroll_flex {
    display: flex;
    align-items: center;
    margin: 10px;
  }
  
  .rank_review_scroll_img {
    margin-right: 2em;
  }
  
  .rank_review_scroll_titlename {
    text-align: left;
    font-weight: bold;
    color: #000;
  }
  
  .rank_review_scroll_titlename .rank_review_scroll_title span {
    font-size: 1.2em;
  }
  
  .rank_review_scroll_text {
    font-size: 1.1em;
    color: #000;
    text-align: left;
    padding: 10px;
  }
  
  .rank_review_scroll {
    margin: 2em auto;
  }
  
  .slider-container {
      position: relative;
      overflow: hidden;
  }
  
  .slider {
      display: flex;
      transition: transform 0.5s ease; /* アニメーション効果を追加 */
    justify-content: center;
  }
  
  .rank_new_222 .item {
      min-width: 350px;
      border-radius: 25px;
      background-color: #eee;
      padding: 15px !important;
      text-align: center;
    margin: 0 30px;
  }
  

  .new_btn_s {
    text-align: center;
    margin-top: 1em !important;
    font-size: 5vw;
    font-weight: bold;
    flex: 1;
    margin-bottom: 0 !important;
    align-content: center;
  }
  
  .new-rank_box {
    padding: 0 10px;
  }

  .button-rank-cv {
    position: relative;
    margin: 0 5%;
    border: 6px ridge #e55b3b;
    border-radius: 15px;
    background-color: #f1853d;
    font-weight: bold;
    font-size: 5vw;
    text-decoration: none !important;
    color: #fff !important;
    padding: 10px 20%;
    text-align: center;
    align-content: center;
    flex: 1.2;
    animation: poyoyon3 2.5s infinite;
    opacity: 1;
    display: inline-block;
  }

  @keyframes poyoyon3 {
    0%, 40% {
      transform: skew(0deg, 0deg);
    }
    5% {
      transform: skew(5deg, 5deg);
    }
    10% {
      transform: skew(-4deg, -4deg);
    }
    15% {
      transform: skew(3deg, 3deg);
    }
    20% {
      transform: skew(-2deg, -2deg);
    }
    25% {
      transform: skew(1deg, 1deg);
    }
    30% {
      transform: skew(-0.6deg, -0.6deg);
    }
    35% {
      transform: skew(0.3deg, 0.3deg);
    }
  }

  .box1Body p {
    font-size: 4.4vw;
    padding: 1em 0 1em 0.5em;
  }
  
  .boxTitle {
    text-align: center;
    padding-right: 5px;
    margin-bottom: 0;
    padding-left: 2vw;
    max-width: 100%;
    padding-top: 0px;
  }

  .box1title {
    width: 92%;
    margin: 0;
    margin-bottom: 0px;
    margin-left: 0px;
    margin-left: 5%;
  }

  .box1-subtitle {
    width: 85%;
    margin: 1%;
    margin-bottom: 1%;
    margin-left: 1%;
    margin-left: 9%;
  }

  .merit-box {
    margin: 1% 8%;
  }

  .merit-box p {
    text-align: center;
    font-size: 4.4vw;
    margin: 5% auto !important;
    padding: 0 1%;
  }

  .meritbox {
    padding: 3%;
    margin-bottom: 6%;
  }

  .meritbox::before {
    top: 6px;
    left: -10px;
    width: 10px;
  }

  .meritbox::after {
    bottom: -10px;
    right: 5px;
    height: 11px;
  }

  .meritbox-body {
    padding: 3%;
  }

  .merit-titlebox {
    display: block;
  }

  .merit1 {
    font-size: 5.2vw;
  }

  .merit2 {
    font-size: 5.2vw;
  }

  .merit3 {
    font-size: 5.2vw;
  }

  .merit-title {
    font-size: 4.5vw;
  }

  .merit-text {
    margin-top: 1%;
    margin-bottom: 1%;
    margin-left: 2%;
    margin-right: 0;
    font-size: 3.8vw;
  }

  .cyui-box p {
    text-align: center;
    font-size: 4.4vw;
    margin: 5% auto !important;
    padding: 0 1%;
  }

  .cyui-box {
    margin: 1% 9%;
  }

  .cyuibox {
    padding: 3%;
    margin-bottom: 6%;
    transform: skewX(-8deg);
  }

  .cyuibox::before {
    top: 6px;
    left: -10px;
    width: 10px;
  }

  .cyuibox::after {
    bottom: -10px;
    right: 5px;
    height: 11px;
  }

  .cyuibox-body {
    padding: 3%;
  }

  .cyui-titlebox {
    display: block;
  }

  .cyui1 {
    font-size: 5.5vw;
  }
  
  .cyui2 {
    font-size: 5.5vw;
  }

  .cyui-title {
    font-size: 4.5vw;
  }

  .cyui-text {
    margin-top: 1%;
    margin-bottom: 1%;
    margin-right: 0%;
    margin-left: 1%;
    font-size: 3.8vw;
  }

  .box4-innerbox {
    display: block;
  }

  .box4-innerbox-img {
    width: 55%;
    margin: 0% auto;
  }

  .box4img {
    width: 92%;
    margin: 0;
      margin-bottom: 0px;
      margin-left: 0px;
    margin-left: 5%;
  }

  .box4-body {
    margin: 1% 4%;
  }

  .box4-bodytext {
    font-size: 4vw;
  }

  .box4-innerbox-text {
    font-size: 3.6vw;
    text-align: center;
  }

  .box5title {
    width: 92%;
    margin: 2% 0;
    margin-bottom: 2%;
    margin-left: 0px;
    margin-left: 5%;
    margin-bottom: 3% !important;
  }

  .step {
    margin: 1% 3%;
  }

  .step p {
    font-size: 4.4vw;
  }

  .step-inner {
    margin-bottom: 5%;
    padding: 2%;
  }

  .step-inner::before {
    left: 45%;
    top: -19%;
    width: 40px;
    height: 20px;
  }

  .step-inner:last-of-type::before{
    content: '';
    position: absolute;
    left: 45%;
    top: -14%;
    background-color: #f8bf3a;
    width: 40px;
    height: 20px;
    clip-path: polygon(0 0, 100% 0%, 50% 100%);
  }

  .step-innertitle {
    height: 100%;
  }

  .step-innertext {
    font-size: 3.5vw;
    margin-left: 1%;
  }

  .step-innertext span {
    font-size: 4.2vw;
    margin-right: 1.5%;
  }

  .step-innertext .nanamemarker {
    padding-left: 1%;
  }

  .step-text {
    font-size: 3.7vw;
  }

  .q\&a {
    padding-bottom: 5%;
  }

  .container {
    flex-wrap: wrap;
    padding: 0%;
  }

  .accordion {
    margin-bottom: 3%;
  }
}


.box30 {
  margin: 2em 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.22);
  border: solid 1px rgba(0, 0, 0, 0.22);
  border-radius: 5px;
}
.box30 .box-title {
  font-size: 1.0rem;
  background: #dde5f2;
  padding: 4px;
  padding-left: 10px;
  text-align: center;
  font-weight: bold;
  letter-spacing: 0.05em;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  border-bottom: solid 1px rgba(0, 0, 0, 0.22);
}
.box30 div {
  padding: 10px 15px;
  margin: 0;
}
.ank {
  font-size: 0.5rem;
  font-weight: 100;
  padding-left: 30px;
}

.star5_rating{
  position: relative;
  z-index: 0;
  display: inline-block;
  white-space: nowrap;
  color: #CCCCCC; /* グレーカラー 自由に設定化 */
  font-size: 1.5rem; /*フォントサイズ 自由に設定化 */
}

.star5_rating:before, .star5_rating:after{
  content: '★★★★★';
}

.star5_rating:after{
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  overflow: hidden;
  white-space: nowrap;
  color: #ffcf32; /* イエローカラー 自由に設定化 */
}

.star5_rating[data-rate="5"]:after{ width: 100%; } /* 星5 */
.star5_rating[data-rate="4.5"]:after{ width: 90%; } /* 星4.5 */
.star5_rating[data-rate="4"]:after{ width: 80%; } /* 星4 */
.star5_rating[data-rate="3.5"]:after{ width: 70%; } /* 星3.5 */
.star5_rating[data-rate="3"]:after{ width: 60%; } /* 星3 */
.star5_rating[data-rate="2.5"]:after{ width: 50%; } /* 星2.5 */
.star5_rating[data-rate="2"]:after{ width: 40%; } /* 星2 */
.star5_rating[data-rate="1.5"]:after{ width: 30%; } /* 星1.5 */
.star5_rating[data-rate="1"]:after{ width: 20%; } /* 星1 */
.star5_rating[data-rate="0.5"]:after{ width: 10%; } /* 星0.5 */
.star5_rating[data-rate="0"]:after{ width: 0%; } /* 星0 */


.prf {
  display: flex;
  align-items: center;
  gap: 10px;
}
.prf img {
  width: 20%;
}
.prf p {
  line-height: 1.3rem;
  font-weight: bold;
}
.gray {
  font-weight: 100;
  color: gray;
  font-size: 12px;
}

.kuchikomi {
  text-align: left;
}

.line2 {
  border-bottom: solid 1px #eee;
  padding-top: -15px;
  margin-bottom: 20px;
}

.modal-001__wrap input {
    display: none;
}

.modal-001__open-label,
.modal-001__close-label {
  cursor: pointer;
}

.modal-001__open-label {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 250px;
  margin:0 auto;
  padding: .8em 2em;
  border: none;
  border-radius: 5px;
  background-color: #ffedb6;
  color: #000000;
  font-weight: 600;
  font-size: 1em;
  border-bottom: solid 3px #938271;
}

.modal-001__open-label:hover {
  opacity: 0.6;
  outline: 1px solid #dcdddd;
}

.modal-001 {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: none;
}

.modal-001__open-input:checked + label + input + .modal-001 {
  display: block;
  animation: modal-001-animation .6s;
}

.modal-001__content-wrap {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 95%;
  max-width: 650px;
  background-color: #fefefe;
  z-index: 2;
  border-radius: 5px;
}

.modal-001__close-label {
  background-color: #777;
  color: #fff;
  border: 2px solid #fff;
  border-radius: 20px;
  width: 36px;
  height: 36px;
  line-height: 1.6;
  text-align: center;
  display: table-cell;
  position: fixed;
  top: -15px;
  right: -2%;
  z-index: 99999;
  font-size: 1.3em;
}

.modal-001__content {
  max-height: 50vh;
  overflow-y: auto;
  padding: 39px 45px 40px;
}

.modal-001__background {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, .45);
  z-index: 1;
}

@keyframes modal-001-animation {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}


/* ここから10月28日追記分　*/
.new-rank_cardtype .cardtype_ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px; /* 横の余白 */
  padding: 20px 0; /* ← 上下に余白を追加（縦方向） */
  margin: 0 auto;
  list-style: none;
  max-width: 100%;
}

.new-rank_cardtype .cardtype_ul li {
  flex: 0 1 calc(20% - 20px);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 !important;
  padding: 10px 0; /* ← 各ロゴの上下にも少しスペース */
  background: transparent !important;
}

.new-rank_cardtype .cardtype_ul img.cardtype-img {
  width: 100%;
  height: auto;
  max-width: 85px;
}

/* スマホサイズ */
@media screen and (max-width: 700px) {
  .new-rank_cardtype .cardtype_ul {
    gap: 18px;
    padding: 25px 0; /* ← スマホでは少し広め */
  }
  .new-rank_cardtype .cardtype_ul li {
    flex: 0 1 calc(33.333% - 18px);
    padding: 8px 0;
  }
  .new-rank_cardtype .cardtype_ul img.cardtype-img {
    max-width: 75px;
  }
}

/* 小さめスマホ */
@media screen and (max-width: 480px) {
  .new-rank_cardtype .cardtype_ul {
    gap: 16px;
    padding: 30px 0; /* ← さらにゆったり */
  }
  .new-rank_cardtype .cardtype_ul li {
    flex: 0 1 calc(50% - 16px);
    padding: 10px 0;
  }
  .new-rank_cardtype .cardtype_ul img.cardtype-img {
    max-width: 70px;
  }
}

/* ここから10月28日追加② */
/* スマホ時（～700px） */
@media screen and (max-width: 700px) {
  .new-rank_dlt {
    display: flex;
    flex-wrap: wrap;             /* 折り返し許可 */
    justify-content: center;     /* 中央寄せ */
    text-align: center;
    font-size: 4vw;              /* 文字サイズやや小さめに */
    font-weight: bold;
    margin: 0 auto;
    gap: 8px;                    /* 各項目の余白 */
    padding: 10px 0;             /* 全体の上下余白 */
  }

  .new-rank_dlt dl {
    width: 45%;                  /* 2列で並ぶように */
    margin: 0;
    border: 1px solid #ff3f60;
    border-radius: 4px;          /* 角を少し丸く */
    background: #fff;
    box-sizing: border-box;
  }

  .new-rank_dlt dl dt {
    background-color: #ff3f60;
    color: #fff;
    padding: 6px 0;
    font-size: 3.8vw;
    border-bottom: 1px solid #ff3f60;
  }

  .new-rank_dlt dl dd {
    color: #000;
    padding: 10px 5px;
    line-height: 1.4;
    font-size: 3.6vw;
    background-color: #fff;
  }
}

/* さらに小さいスマホ（～480px）では1列に */
@media screen and (max-width: 480px) {
  .new-rank_dlt dl {
    width: 90%;
  }

  .new-rank_dlt dl dt {
    font-size: 4vw;
    padding: 8px 0;
  }

  .new-rank_dlt dl dd {
    font-size: 3.8vw;
    padding: 12px 8px;
  }
}