@charset "UTF-8";

/* ------------------------------------------------------------
 独自リセット・共通スタイル
------------------------------------------------------------ */

html {
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
}
/*for SP*/
@media screen and (max-width:750px) {
  .font-size-S {
      font-size: 14px;
  }
  .font-size-M {
      font-size: 16px;
  }
  .font-size-M2 {
    font-size: 18px;
  }
  .font-size-L {
      font-size: 24px;
  }
}

/*for PC*/
@media screen and (min-width:750px) {
  .font-size-S {
      font-size: 18px;
  }
  .font-size-M {
      font-size: 20px;
  }
  .font-size-M2 {
    font-size: 24px;
  }
  .font-size-L {
      font-size: 32px;
  }
}

body {
  font-family: "ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","メイリオ",Meiryo,"ＭＳ Ｐゴシック",sans-serif;
  color: #333;
}
a {
  text-decoration: none;
  transition-duration: 0.2s;
}
p {
  line-height: 1.6em;
}
.bold {
  font-weight: bold;
}
ul, ol {
  list-style-type: none;
  margin: 0;
  padding: 0;
}
section img {
  display: inline-block;
  vertical-align: bottom;
  width: 100%;
  max-width: 750px;
  height: auto;
}
*:focus {
  outline: none;
}
/*PCでは無効（改行しない）*/
.br-sp{
  display: none;
}
/*スマートフォンでは有効（改行する）*/
@media screen and (max-width:768px) {
  .br-sp{
      display: block;
  }
}

.star5_rating{
  position: relative;
  z-index: 0;
  display: inline-block;
  white-space: nowrap;
  color: #CCCCCC; /* グレーカラー 自由に設定化 */
  /*font-size: 30px; フォントサイズ 自由に設定化 */
}
.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: #f15a24; /* イエローカラー 自由に設定化 */
}
.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 */

small {
  font-size: 0.8em;
}

.balloon {
  position: relative;
  display: inline-block;
  padding: 3px 10px;
  min-width: 200px;
  max-width: 100%;
  color: #fff;
  background: #ff8a00;
  border-radius: 30px;
  font-weight: bold;
}
.balloon:before {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border: 5px solid transparent;
  border-top: 5px solid #ff8a00;
}
.basic_h2 {
  text-align: center;
}
.basic_h2 h2 {
  margin: 10px auto;
  border-bottom: #2eb6aa 2px solid;
  width: 80%;
}
.basic_h2 h2 span {
  font-size: 1.3em;
}
/* ------------------------------------------------------------
  body-wrapper
------------------------------------------------------------ */
.body-wrapper {
  position: relative;
  overflow: visible;
  background: #fff;
  max-width: 600px;
  margin: auto;
  box-shadow: 0 0 15px rgba(62, 35, 48, 0.2);
}
/* ------------------------------------------------------------
  header
------------------------------------------------------------ */
header {
  position: fixed;
  top: 0;
  left: 50%;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  transform: translateX(-50%);
  margin: 0 auto;
  background-color: #fff;
  color: #fff;
  padding: 5px 10px;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.05);
}
.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  gap: 5px;
}

.logo img {
  width: auto;
  height: 40px;
}


/* ハンバーガーメニューのスタイル */
.hamburger-overlay {
  position: relative;
  z-index: 10000;
  width: 48px;
  height: 48px;
  border: none;
  background: transparent;
  cursor: pointer;
}
.hamburger-overlay__line {
  position: absolute;
  left: 11px;
  width: 26px;
  height: 2px;
  background-color: #ff8a00;
  transition: all .6s;
}
.hamburger-overlay__line:nth-of-type(1) { top: 14px; }
.hamburger-overlay__line:nth-of-type(2) { top: 23px; }
.hamburger-overlay__line:nth-of-type(3) { top: 32px; }

.hamburger-overlay.active .hamburger-overlay__line {
  background-color: #2eb6aa;
}
.hamburger-overlay.active .hamburger-overlay__line:nth-of-type(1) {
  transform: translateY(9px) rotate(-45deg);
}
.hamburger-overlay.active .hamburger-overlay__line:nth-of-type(2) {
  opacity: 0;
}
.hamburger-overlay.active .hamburger-overlay__line:nth-of-type(3) {
  transform: translateY(-9px) rotate(45deg);
}

.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: #fffdea;
  visibility: hidden;
  opacity: 0;
  transition: all .6s;
  z-index: 900;
}
.nav-overlay.active {
  visibility: visible;
  opacity: 1;
}
.nav-overlay__content {
  position: absolute;
  top: 35%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  text-align: center;
  padding: 0 5%;
}
.nav-overlay__list {
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: left;
}
.nav-overlay__item {
  opacity: 0;
  transform: translateY(20px);
  transition: all .6s;
  position: relative;
  padding-left: 24px;
  margin-bottom: 8px;
  border-bottom: #3f3f3f 1.5px solid;
}
.nav-overlay__item::before {
  content: "●";
  position: absolute;
  top: 50%;
  left: 0%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
  color: #ff8a00;
  font-size: 32px;
  line-height: 1;
}
.nav-overlay.active .nav-overlay__item {
  opacity: 1;
  transform: translateY(0);
}
.nav-overlay.active .nav-overlay__item:nth-child(1) { transition-delay: 0.1s; }
.nav-overlay.active .nav-overlay__item:nth-child(2) { transition-delay: 0.2s; }
.nav-overlay.active .nav-overlay__item:nth-child(3) { transition-delay: 0.3s; }
.nav-overlay.active .nav-overlay__item:nth-child(4) { transition-delay: 0.4s; }

.nav-overlay__link {
  display: inline-block;
  padding: 20px;
  font-size: 18px;
  text-decoration: none;
  transition: color .1s;
  font-weight: bold;
  color: #0d300f;
}
/* ------------------------------------------------------------
  fv
------------------------------------------------------------ */
.fv {
  position: relative;
  margin-top: 58px;
}

.time-display {
  position: absolute;
  right: 10.5%;
  bottom: 8%;
  font-size: 40px;
  color: #ffeb00;
  /* text-shadow: 0 0 6px rgba(0,0,0,0.6); */
  font-weight: bold;
}

@media screen and ( max-width:600px) {
  .time-display {
    right: 10.5%;
    bottom: 8%;
    font-size: 7vw;
  }

}

/* ------------------------------------------------------------
  ギフトバナーアニメーション
------------------------------------------------------------ */
.gift-banner {
  padding: 10px 0;
  text-align: center;
  overflow: hidden;
  background-color: #ffeb00;
}

.gift-banner span{
  font-weight: bold;
  color: #333;
}

.banner-line {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  margin: 0 0 10px;
  color: #333;
}

.banner-line::before,
.banner-line::after {
  content: "";
  flex: 1;
  height: 2px;
  background: #2eb6aa;
  margin: 0 10px;
}

.bottom-line {
  margin: 10px;
  height: 2px;
  background: #2eb6aa;
}

/* Slick部分の調整 */
.gift-slider img {
  width: 90%;
  height: auto;
  display: inline-block;
  margin: 0 auto;
}

/* ------------------------------------------------------------
  ピックアップ
------------------------------------------------------------ */

.pickup-wrap {
  margin: 0 auto;
  background: url('../img/pickup-bg.webp') center/cover no-repeat;
  padding: 1em;
}

.pickup-head {
  text-align: center;
}

.pickup-head h2 {
  display: inline-block;
  padding: 1em 0;
}

.pickup-box {
  background: #fff;
  border-radius: 16px;
  padding: 1.5em 1em;
  border:2px solid #3f3f3f;
  text-align: center;
}

/* オレンジ帯 */
.pickup-label {
  background: #ff8a00;
  color: #fff;
  font-size: 26px;
  font-weight: bold;
  text-align: center;
  padding: 10px 0;
  margin-bottom: 20px;
}

/* バナー */
.pickup-banner img {
  width: 100%;
  margin-bottom: 25px;
}

/* 現在の買取率 */
.current-rate {
  display: inline-block;
  position: relative;
  font-size: 22px;
  font-weight: bold;
  padding: 0 6px;
  z-index: 1;
}

.current-rate::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 20px;
  width: 100%;
  height: 15%;
  background: #ffff66;
  z-index: -1;
}

.current-rate strong {
  font-size: 80px;
  color: #ff007f;
  font-weight: 900;
  margin-left: 10px;
}

.current-rate em {
  font-size: 40px;
  font-style: normal;
}

.simulation {
  margin-top: 20px;
}

.sim-title {
  background: #444;
  color: #fff;
  font-size: 22px;
  padding: 10px;
  text-align: center;
  margin-bottom: 20px;
}

.sim-label {
  text-align: center;
  font-weight: bold;
  font-size: 20px;
}

.sim-amount {
  text-align: center;
  font-weight: 900;
  border: 3px solid #3f3f3f;
  border-radius: 9999px;
  padding: 5px 0;
  margin: 15px 0 25px;
  font-size: 24px;
}

#amountDisplay{
  font-size: 64px;
  color: #ff8a00;
}

.slider-wrap {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
}

.slider-wrap input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 14px;
  border-radius: 20px;
  outline: none;
  background: linear-gradient(90deg, #b9e45b 0%, #ff8a00 100%);
}

/* Chrome / Safari */
.slider-wrap input[type="range"]::-webkit-slider-runnable-track {
  height: 14px;
  border-radius: 20px;
  background: linear-gradient(90deg, #b9e45b 0%, #ff8a00 100%);
}

/* つまみ */
.slider-wrap input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #9e9e9e;   /* ← グレー */
  border: 5px solid #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  margin-top: -8px;
  cursor: pointer;
  transition: 0.2s ease;
}

.slider-wrap input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.1);
}

/* Firefox */
.slider-wrap input[type="range"]::-moz-range-track {
  height: 14px;
  border-radius: 20px;
  background: linear-gradient(90deg, #b9e45b 0%, #ff8a00 100%);
}

.slider-wrap input[type="range"]::-moz-range-thumb {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #9e9e9e;
  border: 5px solid #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  cursor: pointer;
}
.minus,
.plus {
  appearance: none;
  -webkit-appearance: none;
  border: none;
  background: none;
  padding: 0;
  margin: 0;
  outline: none;
}

.minus img,
.plus img {
  pointer-events: none;
}

/* 結果 */
.sim-result {
  text-align: center;
  font-size: 26px;
  display: inline-block;
  position: relative;
  z-index: 1;
  font-weight: bold;
}

.sim-result strong {
  font-size: 72px;
  color: #ff8a00;
  font-weight: 900;
  margin-left: 10px;
}

.sim-result::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 20px;
  width: 100%;
  height: 15%;
  background: #ffff66;
  z-index: -1;
}

@media (max-width: 600px) {

  .pickup-wrap {
    padding: 4vw;
  }

  .pickup-box {
    border-radius: 3vw;
    padding: 5vw 4vw;
  }

  /* オレンジ帯 */
  .pickup-label {
    font-size: 4.5vw;
    padding: 2.5vw 0;
    margin-bottom: 4vw;
  }

  /* 現在の買取率 */
  .current-rate {
    font-size: 4vw;
  }

  .current-rate strong {
    font-size: 14vw;
  }

  .current-rate em {
    font-size: 7vw;
  }

  .current-rate::after {
    bottom: 3vw;
  }

  /* シミュレーション */
  .sim-title {
    font-size: 4vw;
    padding: 2.5vw;
    margin-bottom: 4vw;
  }

  .sim-label {
    font-size: 3.8vw;
  }

  .sim-amount {
    font-size: 4vw;
    border-radius: 50vw;
    padding: 2vw 0;
    margin: 4vw 0 6vw;
  }

  #amountDisplay {
    font-size: 10vw;
  }

  /* シーカー */
  .slider-wrap {
    gap: 3vw;
    margin-bottom: 6vw;
  }

  .slider-wrap input[type="range"] {
    height: 3vw;
  }

  .slider-wrap input[type="range"]::-webkit-slider-thumb {
    width: 7vw;
    height: 7vw;
    border-width: 1.2vw;
    margin-top: -2vw;
  }

  .slider-wrap input[type="range"]::-moz-range-thumb {
    width: 7vw;
    height: 7vw;
    border-width: 1.2vw;
  }

  .minus,
  .plus {
    width: 10vw;
    font-size: 5vw;
    border-radius: 50%;
  }

  /* 結果 */
  .sim-result {
    font-size: 4vw;
  }

  .sim-result strong {
    font-size: 12vw;
  }

  .sim-result::after {
    bottom: 3vw;
  }
}

/* ------------------------------------------------------------
  ランキング
------------------------------------------------------------ */
.ranking {
  background-color: #eeffd4;
  padding: 5% 0;
}
.rank_content {
  width: 95%;
  margin: 5% auto 0;
  background-color: #fff;
  padding: 2% 1% 3%;
  border-radius: 10px;
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .14), 0 3px 1px -2px rgba(0, 0, 0, .12), 0 1px 5px 0 rgba(0, 0, 0, .2);
  border: 2px solid #3f3f3f;
}
/* === 基本共通スタイル === */
.ranking-list h3::before {
  content: "";
  display: inline-block;
  vertical-align: middle;
  width: 35px;
  height: 35px;
  background-size: contain;
  background-repeat: no-repeat;
}

/* === rank1〜3は画像 === */
.ranking-list .rank_content:nth-child(1) h3::before {
  background-image: url(../img/rank1.webp);
  width: 40px;
  height: 40px;
}
.ranking-list .rank_content:nth-child(2) h3::before {
  background-image: url(../img/rank2.webp);
  width: 40px;
  height: 40px;
}
.ranking-list .rank_content:nth-child(3) h3::before {
  background-image: url(../img/rank3.webp);
  width: 40px;
  height: 40px;
}

@media (max-width: 420px) {
  .ranking-list .rank_content:nth-child(1) h3::before {
    background-image: url(../img/rank1.webp);
    width: 30px;
    height: 30px;
  }

  .ranking-list .rank_content:nth-child(2) h3::before {
    background-image: url(../img/rank2.webp);
    width: 30px;
    height: 30px;
  }
  .ranking-list .rank_content:nth-child(3) h3::before {
    background-image: url(../img/rank3.webp);
    width: 30px;
    height: 30px;
  }

}

/* === rank4〜10はCSS丸数字 === */
.ranking-list .rank_content:nth-child(n+4):nth-child(-n+11) h3::before {
  background: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: #2eb6aa;
  color: #fff;
  font-weight: bold;
  font-size: 16px;
  width: 30px;
  height: 30px;
  margin-right: 8px;
  vertical-align: middle;
}

/* === 各順位の数字を手動指定 === */
.ranking-list .rank_content:nth-child(4) h3::before { content: "4"; }
.ranking-list .rank_content:nth-child(5) h3::before { content: "5"; }
.ranking-list .rank_content:nth-child(6) h3::before { content: "6"; }
.ranking-list .rank_content:nth-child(7) h3::before { content: "7"; }
.ranking-list .rank_content:nth-child(8) h3::before { content: "8"; }
.ranking-list .rank_content:nth-child(9) h3::before { content: "9"; }
.ranking-list .rank_content:nth-child(10) h3::before { content: "10"; }
.ranking-list .rank_content:nth-child(11) h3::before { content: "11"; }

/* 10は少し狭いので調整 */
.ranking-list .rank_content:nth-child(11) h3::before {
  font-size: 14px;
}

.hidden-view .rank_content h3::before {
  content: none;
  display: none;
}
.rank_content h3{
  /* border-bottom: #2eb6aa 3px dashed; */
}
.rank_content h3 a {
  color: #1a73e8;
  text-decoration: underline;
}
.hidden-view .rank_content h3 {
  margin-left: 10px;
}
.evaluation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  /* margin-top: 3%; */
  font-weight: bold;
}
.evaluation .star {
  background-color: #f15a24;
  color: #fff;
  font-weight: bold;
  font-size: 14px;
  border-radius: 5px;
  padding: 0 5px;
}
@media (max-width: 420px) {
  .evaluation span{
    font-size: 2.5vw;
  }
}
.rank_inner {
  display: grid;
  /* grid-template-columns: repeat(2, 1fr); */
  gap: 5px;
  margin: 3% 0;
}
.rank_inner table {
  border-collapse: collapse;
}
/* .rank_inner table tr::before {
	content: "";
	vertical-align: middle;
	display: inline-block;
} */
.rank_inner table th {
  border: #3f3f3f 1.5px solid;
  padding: 3px 0;
  font-size: 13px;
  text-align: center;
  border-right: 1.5px solid #fff;
}

.rank_inner table th:nth-of-type(2) {
  border-right: none;
}

.rank_inner table td {
  border: #cccccc 1.5px solid;
  padding: 3px 0;
  font-size: 13px;
  text-align: center;
}

.rank_inner table th {
  color: #fff;
}
.rank_inner table td span {
  color: #fa4141;
  font-weight: bold;
}

.gift_list {
  margin: 10px 0;
}
.gift_list h4 {
  border-bottom: #2eb6aa 2px solid;
  width: 40%;
  text-align: center;
}
.gift_list_inner {
  border: #333 1px solid;
  background-color: #ebf6e8;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 5px;
  padding: 5px;
  margin-top: 5px;
}

.recommend_list {
  /* border: #2eb6aa 2px solid; */
  margin-bottom: 5%;
  position: relative;
  margin-top: 5%;
}

.recommend_list ul {
  padding: 10px;
  padding-top: 20px;
  border: #3f3f3f 2px solid;
  border-radius: 10px;
}
.recommend_list h4 {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  border: #3f3f3f 2px solid;
  border-radius: 9999px;
  background: #c1fd61;
  color: #3f3f3f;
  padding: 3px 15px;
  font-weight: bold;
  z-index: 2;
  font-size: 14px;
}
.recommend_list ul li {
  margin-bottom: 8px;
}
.recommend_list ul li:last-child {
  margin-bottom: 0;
}
.recommend_list ul li span {
  color: #fa4141;
  text-decoration: underline;
  font-weight: bold;
}
.recommend_list ul li::before {
  content: "";
  display: inline-block;
  vertical-align: middle;
  margin-right: 5px;
  margin-top: -2px;
  width: 25px;
  height: 25px;
  background-image: url(../img/check-mark.webp);
  background-size: contain; /* 画像を要素に合わせて調整 */
  background-repeat: no-repeat;
}
.microcopy {
  text-align: center;
}

/* 1. 既存のCSSを活かしつつ、アニメーション用の設定を統合 */
.form_btn {
  display: flex;
  justify-content: center;
  text-align: center;
  width: 300px;
  margin: 0 auto 5%;
  background: #ff0090;
  color: #fff;
  box-shadow: 0 5px 0 #9b0459; /* 立体的な厚み */
  border-radius: 9999px;
  padding: 15px 0;
  font-weight: bold;
  text-decoration: none; /* リンクの下線を消す */

  /* === 以下、アニメーションのために追加する必須プロパティ === */
  position: relative; /* 光沢(::after)の位置の基準とする */
  overflow: hidden;   /* 角丸（border-radius: 9999px）からはみ出た光沢を隠す */
  transition: all 0.2s ease-in-out; /* 位置と影の変化を滑らかにする */
}

/* * 2. 3Dボタンの超リアルな押し込み表現
 * Why: 既存の box-shadow(5px) を活かし、ホバー/タップ時にボタンを5px下げて影を0にすることで、
 * 「物理的なボタンをカチッと押し込んだ」ような極めて心地よい操作感（UX）を実現します。
 */
.form_btn:hover,
.form_btn:active {
  animation: none !important; /* バウンドを停止 */
  transform: translateY(5px); /* 影の厚みと同じ分だけ下に移動 */
  box-shadow: 0 0 0 #9b0459;  /* 影を消して接地させる */
}

/* ホバー/タップ時は光沢を消して操作に集中させる */
.form_btn:hover::after,
.form_btn:active::after {
  display: none;
}

/* * 3. バウンド＋光沢連携アニメーション
 * Why: .cta-base を使わず、.form_btn 専用に動きを適用。
 * display: flex との競合（レイアウト崩れ）を完全に防ぎます。
 */
.form_btn.anim-bounce-shine {
  animation: cta-bounce-pause 2s infinite;
}

.form_btn.anim-bounce-shine::after {
  content: "";
  position: absolute;
  top: 0; left: -100%; width: 50%; height: 100%;
  background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.6) 50%, rgba(255,255,255,0) 100%);
  transform: skewX(-25deg);
  animation: cta-shine-sync 2s infinite;
}

/* キーフレーム（※すでに他のボタン用に記述済みの場合は追記不要です） */
@keyframes cta-bounce-pause {
  0% { transform: translateY(0); }
  15% { transform: translateY(-12px); }
  30% { transform: translateY(0); }
  42% { transform: translateY(-6px); }
  50%, 100% { transform: translateY(0); }
}

@keyframes cta-shine-sync {
  0%, 50% { left: -100%; }
  85%, 100% { left: 200%; }
}

.review_content {
  margin: 5% 0;
  border-top: #2eb6aa 3px dashed;
  padding-top: 5%;
}
.review_content h4 {
  text-align: center;
  color: #fff; /* テキストの中の色 */
  text-shadow:
    -1px -1px 0 #0d300f,
    1px -1px 0 #0d300f,
    -1px 1px 0 #0d300f,
    1px 1px 0 #0d300f;
}
.review_content h4 span {
  background: linear-gradient(transparent 50%, #9ce7a3 50%);
}

.rank_content .tab-wrap {
  display: flex;
  flex-wrap: wrap;
  margin: 20px 0;
}
.rank_content .tab-label {
  background: #f4f5f3;
  font-weight: bold;
  white-space: nowrap;
  text-align: center;
  padding: 5px;
  order: -1;
  position: relative;
  z-index: 1;
  cursor: pointer;
  border-radius: 5px 5px 0 0;
  flex: 1;
}
.rank_content .tab-label:not(:last-of-type) {
  margin-right: 5px;
}
.rank_content .tab-content {
  width: 100%;
  height: 0;
  overflow: hidden;
  opacity: 0;
}
/* アクティブなタブ */
.rank_content .tab-switch:checked+.tab-label {
  background: #2eb6aa;
  color: #fff;
}
.rank_content .tab-switch:checked+.tab-label+.tab-content {
  height: auto;
  overflow: auto;
  padding: 15px;
  opacity: 1;
  border: #2eb6aa 2px solid;
}
/* ラジオボタン非表示 */
.tab-switch {
  display: none;
}

.review_box {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 10px;
  margin-bottom: 5px;
}
.profile {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap; /* 必要に応じて折り返し */
  gap: 8px;
}
.profile img {
  width: 60px; /* 適切なサイズに固定 */
  height: 60px;
  flex-shrink: 0;
}
.review_box h5 {
  margin: 0 0 5px 3px;
}
.review_box p {
  position: relative;
  display: inline-block;
  padding: 7px 10px;
  background-color: #effffe;
  border-radius: 5px;
}
.review_box p:before {
  content: "";
  position: absolute;
  top: 20%;
  left: -30px;
  margin-top: -15px;
  border: 15px solid transparent;
  border-right: 15px solid #effffe;
}
.more {
  text-align: center;
  background-color: #cccccc;
  font-weight: bold;
  cursor: pointer;
  border-radius: 30px;
  width: 60%;
  margin: 20px auto 0;
  padding: 5px;
}
.modal {
  display: none; /* 初期状態では非表示 */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7); /* 半透明の背景 */
  justify-content: center;
  align-items: center;
  z-index: 1000;
}
.modal-content {
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  max-width: 500px;
  width: 90%;
  height: 70vh;
  position: relative;
  overflow-y: auto;
}
.modal-content .review_box {
  margin-bottom: 5%;
}
.close {
  position: absolute;
  top: -5px;
  right: 5px;
  font-size: 24px;
  cursor: pointer;
}
.modal-content .tab-wrap {
  margin: 0;
}
.modal-content .tab-label {
  color: #fff;
  background: #b3b3b3;
  font-weight: bold;
  white-space: nowrap;
  text-align: center;
  padding: 5px;
  order: -1;
  position: relative;
  z-index: 1;
  cursor: pointer;
  border-radius: 5px;
  flex: 1;
}
.modal-content .tab-switch:checked+.tab-label+.tab-content {
  height: auto;
  overflow: auto;
  padding: 20px 0;
  opacity: 1;
  border: none;
}
.modal-content .review_box {
  border-bottom: #2eb6aa 1px solid;
  padding-bottom: 20px;
}


.campaign_box {
  background-color: #fff;
  border: 3px solid transparent;
  background: linear-gradient(#fff, #fff) padding-box, linear-gradient(90deg, #ff8a00, #c1fd61) border-box;
  border-radius: 10px;
  text-align: center;
  padding: 3%;
}
.campaign_box h4 {
  display: inline-block;
  position: relative;
  height: 30px;
  line-height: 30px;
  text-align: center;
  padding: 0 20px;
  color: #333;
  box-sizing: border-box;
  max-width: 300px;
}

.campaign_box ul {
  text-align: left;
  margin-top: 10px;
  font-weight: bold;
}
.campaign_box ul li::before {
  content: "";
  display: inline-block;
  vertical-align: middle;
  margin-right: 5px;
  margin-top: -2px;
  width: 25px;
  height: 25px;
  background-image: url(../img/check-mark.webp);
  background-size: contain;
  background-repeat: no-repeat;
}

.ranking .timer_in_box {
  background-color: #c1fd61;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 30px;
  padding: 3px 10px;
  margin-top: 10px;
  border:2px solid #3f3f3f;
}
.ranking .time-p {
  font-size: 12px;
  font-weight: bold;
}
.ranking .timerbox {
  position: static;
  font-size: 16px;
  padding: 8px 5px 5px;
  background-color: #fff;
  border-radius: 30px;
  font-weight: bold;
}
.ranking .timer {
  color: #333333;
  font-size: 10px;
  letter-spacing: normal;
}
.ranking .timer span {
  font-size: 16px;
  color: #ff8a00;
}
.ranking .timer .end {
  font-size: 14px;
  font-weight: bold;
}

.cta {
  width: 90%;
  margin: 5% auto 0;
}

.hidden-view{
  display: none;
  padding-bottom: 3%;
}
.hidden-view.open{
  display: block;
}
.button::before{
  content: "全20位を見る ▼";
}
.button.open::before {
  content: "閉じる ▲";
}
.hidden-view.open ~ .button::before {
  content: "閉じる ▲";
}
.button {
  display: block;
  margin: 5% auto;
  border: rgba(13, 48, 15, .26) 1.5px solid;
  border-radius: 30px;
  width: 80%;
  padding: 5px;
  color: #0d300f;
  box-shadow: 0 1.06667vw 0 rgba(13, 48, 15, .26);
  background-color: #f4f5f3;
}

.under_no9 th {
  padding: 10px 5px;
}

.under_no9 td {
  padding: 10px 0px;
}

.under_no9 tr:first-child {
  background: #dcdddd;
  font-weight: bold;
}

.under_no9 th,td {
  border: solid 1px #b5b5b6;
}

.under_no9 {
  width: 95%;
  background: #fff;
  border-collapse:  collapse;
  text-align: center;
  margin: auto;
}

.small-btn {
  position: relative;
  display: inline-block;
  justify-content: space-around;
  align-items: center;
  margin: 0 auto;
  padding: 5px 5px;
  color: #FFF;
  transition: 0.3s ease-in-out;
  font-weight: 600;
  font-size: 12px;
  background: orange;
  border-radius: 5px;
  line-height: 1.5rem;
}
.small-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px -5px rgb(0 0 0 / 15%), 0 0 5px rgb(0 0 0 / 10%);
}

.return_btn {
  display: flex;
  justify-content: center;
  text-align: center;
  width: 300px;
  margin: 8% auto 0;
  background: #2eb6aa;
  color: #fff;
  box-shadow: 0 1.06667vw 0 #2a7222;
  border-radius: 30px;
  padding: 15px 0;
  font-weight: bold;
}
/* ------------------------------------------------------------
  選ぶポイント
------------------------------------------------------------ */
.point {
  background-color: #fffdea;
  padding: 5% 2%;
}
.gradient-line {
  width: 100%;
  height: 8px; /* 線の高さ */
  background: linear-gradient(to right, #c69c6d 50%, #a67c52 50%);
}

.point_box {
  position: relative;
  width: 100%;
  background-color: #fff;
  border-radius: 20px;
  border: 2px solid #999;
  text-align: center;
  padding: 8% 5% 5%;
  min-height: 260px;
  margin: 3% auto;
}
.point_box h3 {
  background-color: #effffe;
  position: relative;
  padding: 5px 0;
}
.circle_number {
  width: 50px;
  height: 50px;
  padding-top: 8px;
  background-color: #ffeb00;
  color: #333;
  border-radius: 50%;
  text-align: center;
  box-sizing: border-box;
  position: absolute;
  left: -5px;
  top: 50%;
  transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
}
.point_box img {
  width: 30%;
  margin-top: 5%;
}
.point_box p {
  text-align: left;
  margin-top: 5%;
}
.point_box p span {
  color: #f15a24;
  font-weight: bold;
}

/* ------------------------------------------------------------
  利用の流れ
------------------------------------------------------------ */
.flow {
  padding: 5% 0;
}
.flow_design05 {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 95%;
  margin: 8% auto 0;
}

.flow05 {
  padding-left: 0;
}

.flow05 > li {
  list-style-type: none;
  position: relative;
  padding-left: 50px;
}

.flow05 > li:not(:last-child) {
  padding-bottom: 10px;
}

.flow05 > li .icon05 {
  width: 2em;
  height: 2em;
  line-height: 2em;
  text-align: center;
  border-radius: 100vh;
  display: inline-block;
  background: #ffeb00;
  color: #333;
  position: absolute;
  left: 0;
}

.flow05 > li:not(:last-child)::before {
  content: '';
  background: #c3c3c3;
  width: 4px;
  height: 100%;
  position: absolute;
  top: calc(50% - -30px);
  left: 19px;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
}

.flow05 > li dl dt {
  font-size: 1.3em;
  font-weight: 600;
  color: #2eb6aa;
  border-bottom: #0d300f 1.5px solid;
  width: 80%;
}

.flow05 > li dl dd {
  margin: 3% 0;
}
/* ------------------------------------------------------------
  比較表
------------------------------------------------------------ */
.table {
  padding: 5% 0;
}
.table .tab-wrap {
  display: flex;
  flex-wrap: wrap;
  width: 95%;
  max-width: 800px;
  margin: auto;
  margin-top: 20px;
}
.table .tab-wrap:after {
  content: '';
  width: 100%;
  height: 0px;
  background: #f4810e;
  display: block;
  order: -1;
}
.table .tab-label {
  color: White;
  background: #2eb6aa;
  font-size: 1.2rem;
  font-weight: bold;
  text-shadow: 0 -1px 0 rgba(0,0,0,.2);
  white-space: nowrap;
  text-align: center;
  padding: 10px .5em;
  order: -1;
  position: relative;
  z-index: 1;
  cursor: pointer;
  border-radius: 5px 5px 0 0;
  flex: 1;
}
.table .tab-label:not(:last-of-type) {
  margin-right: 5px;
}
.table .tab-content {
  width: 100%;
  height: 0;
  overflow: hidden;
  opacity: 0;
  background: #f4810e;
}
/* アクティブなタブ */
.table .tab-switch:checked+.tab-label {
  background: #fff;
  color: #2eb6aa;
  border: solid 1px #ccc;
  border-bottom: none;
}
.table .tab-switch:checked+.tab-label+.tab-content {
  height: auto;
  overflow: auto;
  padding: 0px;
  opacity: 1;
  transition: .5s opacity;
  box-shadow: 0 0 3px rgba(0,0,0,.2);
}
/* ラジオボタン非表示 */
.tab-switch {
  display: none;
}

.top{
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  border: solid 1px #ccc;
  background: #fff;
  border-top: none;
  table-layout: fixed;
}

.top th{
  text-align: center;
  background: #fff;
  padding: 10px 0;
  border: solid 1px #ccc;
  font-weight: bold;
  font-size: 0.9rem;
  border-top: none;
  border-right: none;
  border-left: none;
}

.top tr:first-child {
  box-shadow: 0px 3px 5px -1px rgba(0,0,0,0.3)
}

.top td{
  text-align: center;
  padding: 10px 2px;
  border: solid 1px #ccc;
  font-size: 1.0rem;
}

.top td:first-child{
  text-align: center;
  padding: 10px 2px;
  border: solid 1px #ccc;
  font-weight: bold;
  min-width: 150px;
}

.circle-img {
  margin-bottom: 10px;
}

.top td:nth-child(2) img {
  width: 30px;
}
.top td:nth-child(3) img {
  width: 30px;
}
.top td:nth-child(4) img {
  width: 30px;
}

.blue p {
  background: #eff6ff;
  padding: 2px 0px;
  border-radius: 5px;
  font-size: 0.8rem;
  color: #333333;
  max-width: 100px;
  font-weight: bold;
  text-align: center;
  margin: auto;
  margin-bottom: 5px;
}

.link {
  color: #1a73e8;
  text-decoration: underline;
  font-size: .8rem;
}

.pink {
  color: #fa4141;
  font-weight: bold;
}

.shiny-btn1 {
  position: relative;
  display: inline-block;
  justify-content: space-around;
  align-items: center;
  margin: 0 auto;
  padding: 8px;
  min-width: 60px;
  color: #FFF;
  transition: 0.3s ease-in-out;
  font-weight: 600;
  font-size: .8rem;
  background: #f21b3f;
  border-radius: 5px;
  line-height: 1.5rem;
  box-shadow: 0 1.06667vw 0 #c50024;
  overflow: hidden;
  margin-top: 10px;
}

@media screen and (min-width: 768px) {
 .shiny-btn1 {
  min-width: 90px;
}
}

.shiny-btn1:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px -5px rgb(0 0 0 / 15%), 0 0 5px rgb(0 0 0 / 10%);
}

.shiny-btn1::before {
    position: absolute;
    content: '';
    display: inline-block;
    top: -180px;
    left: 0;
    width: 30px;
    height: 100%;
    background-color: #fff;
    transition: 0.2s;
    animation: shiny-btn2 4s ease-in-out infinite;
}
@-webkit-keyframes shiny-btn1 {
    0% { -webkit-transform: scale(0) rotate(45deg); opacity: 0; }
    80% { -webkit-transform: scale(0) rotate(45deg); opacity: 0.5; }
    81% { -webkit-transform: scale(4) rotate(45deg); opacity: 1; }
    100% { -webkit-transform: scale(50) rotate(45deg); opacity: 0; }
}

/* ------------------------------------------------------------
  よくあるご質問
------------------------------------------------------------ */
.qa {
  background-color: #fffdea;
  padding: 8% 0;
  text-align: center;
}

.qa_inner {
  width: 95%;
  margin: 5% auto 0;
}
.accordion-item {
  margin-bottom: 10px;
  border-radius: 5px;
  overflow: hidden;
  border: 2px solid #3f3f3f;
}

.accordion-button {
  width: 100%;
  padding: 15px 30px 15px 10px; /* 左右に余白を追加 */
  text-align: left;
  background-color: #fff;
  border: none;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s;
  position: relative; /* Qマークとトグルアイコンの位置調整用 */
  color: #333333;
}

.accordion-button::after {
  content: "+"; /* 初期状態のアイコン */
  position: absolute;
  right: 15px; /* 右端からの距離 */
  top: 50%;
  transform: translateY(-50%); /* 垂直方向の中央揃え */
  color: #333333; /* アイコンの色 */
  width: 20px; /* アイコンの幅 */
  height: 20px; /* アイコンの高さ */
  border-radius: 50%; /* 円形にする */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: bold;
  transition: background-color 0.3s, content 0.3s; /* 背景色とアイコンの変化を滑らかに */
}

.accordion-button.active::after {
  content: "-"; /* 開いた状態のアイコン */
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  padding: 0 15px;
  background-color: #fff;
  text-align: center;
}

.accordion-content p {
  margin: 15px 0;
  text-align: left;
}
/* ------------------------------------------------------------
  検索
------------------------------------------------------------ */
.search-section {
  max-width: 600px;
  margin: 20px auto;
  padding: 20px;
  font-family: 'Noto Sans JP', sans-serif;
  text-align: center;
  background: #fff;
  border-radius: 12px;
}

.search-section h2 {
  font-size: 1.3rem;
  margin-bottom: 20px;
}

.search-block {
  margin-bottom: 25px;
}

.search-block h3 {
  text-align: left;
  font-size: 1rem;
  margin-bottom: 10px;
  color: #333;
}

.option-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.option-group button {
  flex: 1 1 calc(20% - 10px); /* 5列×2行想定 */
  padding: 10px 0;
  border-radius: 8px;
  border: 2px solid #dbdcdc;
  background: #fff;
  font-weight: bold;
  font-size: 0.9rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
}

/* 検索項目 選択時チェック */
.option-group button.active::before {
  content: "✔";
  position: absolute;
  top: -8px;
  left: -8px;
  background: #ff0090;
  color: #fff;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid #3f3f3f;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

/* 画像サイズ調整 */
.option-group button img {
  width: 70%;
  height: auto;
  transition: transform 0.3s ease;
}

/* ホバー時 */
.option-group button:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

/* 選択時アニメーション */
.option-group button.active {
  background: linear-gradient(90deg, #c1fd61 0%, #ff8a00 100%);
  color: #3f3f3f;
  border-color: #3f3f3f;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

/* 検索ボタン */
.submit-wrap {
  margin-top: 25px;
}

.submit-btn {
  width: 80%;
  padding: 14px;
  border-radius: 50px;
  background: #ff0090;
  color: #fff;
  font-weight: bold;
  font-size: 1rem;
  border: none;
  box-shadow: 0 5px 0 #9b0459;
  cursor: pointer;
  transition: transform 0.2s;
}

.submit-btn:hover {
  transform: translateY(-2px);
}

/* ------------------------------------------------------------
  検索結果ページ
------------------------------------------------------------ */
.result_box {
  background: #fff;
  border: 2px solid #3f3f3f;
  color: #3f3f3f;
  border-radius: 5px;
  width: 95%;
  margin: 3% auto;
  font-size: 0.9rem;
  padding: 10px;
}
.result_box2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  width: 95%;
  margin: auto;
}
.result_box2 a {
  border: #3f3f3f solid 2px;
  padding: 8px;
  text-align: center;
  font-weight: bold;
  color: #3f3f3f;
  background-color: #fff;
}

.bottom-menu {
  position: fixed;
  bottom: -100%;
  left: 50%;
  width: 100%;
  max-width: 600px;
  margin: 0 auto; /* max-width がある場合は中央寄せに有効 */
  transform: translateX(-50%); /* 自身の幅の半分だけ左に移動 */
  background: #ebf6e8;
  border-radius: 16px 16px 0 0;
  transition: bottom 0.3s ease;
  z-index: 1000;
  color: #2eb6aa;
  text-align: center;
}
.bottom-menu h3 {
  margin-bottom: 3%;
}

/* 表示時 */
.bottom-menu.active {
  bottom: 0;
}
.menu-content {
  padding: 20px;
  position: relative;
}
.close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 24px;
  background: none;
  border: none;
  background-color: #f7931e;
  color: #fff;
  font-weight: bold;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  line-height: 30px;
}
.menu-item {
  background-color: transparent;
  border: none;
  cursor: pointer;
  outline: none;
  padding: 0;
  appearance: none;
  display: block;
  width: 100%;
  padding: 12px 0;
  border-bottom: 1px solid #999999;
}
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  z-index: 999;
}

.overlay.active {
  opacity: 1;
  pointer-events: all;
}

/* ------------------------------------------------------------
  コラム
------------------------------------------------------------ */
.column{
  padding: 8% 0;
  background: #eeffd4;
}

.column__list {
  width: 95%;
  margin: -6% auto 0;
  background-color: #eeffd4;
  padding: 8% 2% 3%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 7px;
}

.column-item a {
  display: flex;
  border: 1px solid #3f3f3f;
  border-radius: 4px;
  box-shadow: 0 .53333vw 0 #3f3f3f;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 10px 3px;
  background: #fff;
  position: relative;
  min-height: 55px;
  color: #0d300f;
}

.column-item a p {
  font-weight: bold;
  line-height: 1.2
}

@media screen and (max-width: 600px) {
  .column-item a p {
      font-size:13px
  }
}
@media screen and (min-width: 600px) {
  .column-item a {
    min-height: 65px;
  }
}

/* ------------------------------------------------------------
  footer
------------------------------------------------------------ */
.footer {
  padding: 2rem 0 0;
  font-size: 15px;
  color: #fff;
  background: #9e9e9e;
  text-align: center;
}

.footer__navi {
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.footer__navi li {
  display: inline-block;
}
.footer__navi li a {
  color: #fff;
}

.footer__navi li:not(:last-child) {
  margin-right: 16px;
}

.footer__logo {
  display: inline-block;
  margin-bottom: 1rem;
}
.copyright {
  font-size: 12px;
  background-color: #3f3f3f;
  color: #fff;
  padding: 5px 0;
}
/* ------------------------------------------------------------
  column
------------------------------------------------------------ */
.column_page {
  padding: 22% 5% 5%;
}

.column_page h2 {
  padding: 1rem;
  border-left: 5px solid #ff962e;
  background: #f4f4f4;
  font-size: 18px;
}
.column_page p {
  padding: 2%;
  margin-bottom: 5%;
  line-height: 1.5rem;
  font-size: 14px;
}
.column_page h3 {
  padding: 0.5em 0;/*上下の余白*/
  border-top: solid 3px #ff962e;/*上線*/
  border-bottom: solid 3px #ff962e;/*下線*/
  font-size: 16px;
}
.column_page h4 {
  position: relative;
  padding: 0.5rem;
  border-bottom: 2px solid #cccccc;
  text-align: left;
  font-size: 16px;
}
.column_page h4:before {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 10%;
  height: 2px;
  content: '';
  background: #ff962e;
}
.column_page ul {
  padding: 0 5% 5%;
}

@media screen and ( min-width:600px) {
  .column_page p {
    line-height: 1.8rem;
  }
}

/* ------------------------------------------------------------
  以下運営者情報ページ
------------------------------------------------------------ */
.admin {
  max-width: 800px;
  padding-top: 15%;
  text-align: center;
  margin: 10% auto 30px;
}

@media screen and (min-width: 768px) {
  .admin {
  padding-top: 80px;
}
}
.admin_page {
  width: 80%;
  margin: auto;
  text-align: center;
  padding-bottom: 50px;
}

.admin_page h3 {
  padding: 0.5rem 2rem;
  border-left: 5px solid #2eb6aa;
  background: #f4f4f4;
  margin-top: 30px;
  text-align: left;
}

.admin_page p {
  text-align: left;
  margin-top: 10px;
  padding-left: 10px;
  font-size: 16px;
}

.privacy_text {
  margin-top: 20px;
  border: solid 1px gray;
  padding: 10px;
  font-size: 12px;
  text-align: left;
}




.rank_header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 10px;
  margin-bottom: 10px;
  padding-bottom: 5px;
  position: relative;
}


/* グラデーション破線 */
.rank_header::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;

  background: linear-gradient(90deg, #c1fd61 0%, #ff8a00 100%);

  mask: repeating-linear-gradient(
      90deg,
      #000 0 8px,
      transparent 8px 14px
  );
  -webkit-mask: repeating-linear-gradient(
      90deg,
      #000 0 8px,
      transparent 8px 14px
  );
}
.rank_header h3 {
  font-size: 1.2rem;
  margin: 0;
}

.evaluation {
  display: flex;
  align-items: center;
  gap: 6px;
}

.evaluation .star5_rating {
  display: inline-block;
}

.evaluation a.review-link {
  color: #249383;
  text-decoration: underline;
  transition: opacity 0.2s ease;
}

.evaluation a.review-link:hover {
  opacity: 0.7;
}

.rank-flex {
  display: flex;
  gap: 15px;
  align-items: center;
}

.rank-image {
  max-width: 50%;
}

.rank-image img {
  width: 100%;
  height: auto;
  display: block;
}

.rank-info {
  width: 50%;
}

/* ===== テーブルデザイン ===== */
.rank_table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #3f3f3f;
}

.rank_table th,
.rank_table td {
  border: 1px solid #3f3f3f;
  text-align: center;
  padding: 10px 6px;
  font-size: 0.95rem;
}

.rank_table th {
  background: #3f3f3f;
  font-weight: 700;
  width: 50%;
}

.rank_table td {
  background: #fff;
  color: #333;
  width: 50%;
  font-weight: 600;
}

.rank_table td .highlight {
  color: #ff8a00;
  font-size: 1.6rem;
  font-weight: bold;
}

/* ===== ブランドリスト ===== */
.brand-list {
  background: #fff;
  text-align: center;
}

.brand-title {
  background: #3f3f3f;
  color: #fff;
  padding: 3px 0;
  font-weight: bold;
  font-size: 0.95rem;
}

.brand-icons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5px;
  padding: 5px;
  border: 1.5px solid #ccc;
}

.brand-icons img {
  width: 42px;
  height: auto;
  border-radius: 4px;
  border: 1px solid #eee;
  transition: transform 0.2s ease;
}

.brand-icons img:hover {
  transform: scale(1.05);
}

/* ===== レスポンシブ対応 ===== */
@media (max-width: 560px) {
  .brand-icons img {
    width: 32px;
  }
}
@media (max-width: 520px) {
  .rank_header h3{
    font-size: 3.5vw;
  }
  .evaluation{
    font-size: 2vw;
  }
  .rank_content h3::before{
    width: 30px;
    height: 30px;
  }
}
@media (max-width: 430px) {
  .brand-icons img {
    width: 25px;
  }
  .rank_content.rank4 h3::before,
.rank_content.rank5 h3::before,
.rank_content.rank6 h3::before,
.rank_content.rank7 h3::before,
.rank_content.rank8 h3::before,
.rank_content.rank9 h3::before,
.rank_content.rank10 h3::before {
  width: 25px;
  height: 25px;
}
}
@media (max-width: 450px) {
  .rank-flex{
    gap: 5px;
  }
  .rank_table td .highlight{
    font-size: 4.5vw;
  }
}

.excellent-point{
  padding: 1em 0;
}

/*pickup-form*/
.pickup-form{
  padding: 1em;
}

.diagnosis-box {
  max-width: 600px;
  margin: auto;
  padding: 30px;
  border-radius: 18px;

  /* グラデーション枠 */
  border: 5px solid transparent;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(90deg, #ff8a00, #c1fd61) border-box;

  /* ドロップシャドウ */
  box-shadow:
    0 10px 25px rgba(0, 0, 0, 0.15),
    0 3px 8px rgba(0, 0, 0, 0.08);

  position: relative;
  text-align: center;
}

.diagnosis-title {
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

.diagnosis-title span {
  color: #ff8a00;
}

.step-indicator {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 10px auto;
  width: 70%;
}

.step-line {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 6px;
  background: #dcdcdc;
  transform: translateY(-50%);
  border-radius: 10px;
  z-index: 0;
  overflow: hidden;
}

/* 進行部分 */
.step-line-active {
  height: 100%;
  width: 0%;
  background: #c1fd61;
  transition: 0.4s ease;
  border-radius: 10px;
}

.step-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #cfcfcf;
  position: relative;
  z-index: 1;
  transition: 0.3s;
}

.step-dot.active {
  background: #c1fd61;
  box-shadow: 0 0 10px rgba(193,253,97,0.6);
}

.step {
  display: none;
  animation: fade 0.3s ease;
}

.step.active {
  display: block;
}

@keyframes fade {
  from {opacity:0; transform:translateX(10px);}
  to {opacity:1; transform:translateX(0);}
}

.btn-group {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
}

.select-btn {
  position: relative;
  padding: 14px 24px;
  border-radius: 10px;
  border: 2px solid #ccc;
  background: #fff;
  cursor: pointer;
  font-weight: bold;
  transition: 0.3s;
}

.select-btn:hover {
  border-color: #3f3f3f;
}

.select-btn.active {
  background: linear-gradient(90deg, #c1fd61, #ff8a00);
  border-color: #3f3f3f;
  color: #000;
}

/* ピンクチェック */
.select-btn.active::before {
  content: "✔";
  position: absolute;
  top: -8px;
  left: -8px;
  background: #ff2f92;
  color: #fff;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border:2px solid #3f3f3f;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.result-lead {
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  margin: 20px 0 10px;
}

.result-arrow {
  margin: 0 auto 20px;
}

/* 業者名帯 */
.result-company-name {
  background: #ff8a00;
  color: #fff;
  font-size: 26px;
  font-weight: bold;
  text-align: center;
  padding: 12px;
  margin: 15px 0;
}

/* バナー */
.result-banner img {
  width: 100%;
  margin-bottom: 20px;
}

/* 下テキスト */
.result-subtext {
  font-size: 24px;
  font-weight: 700;
  text-align: center;
}

.result-subtext span {
  color: #ff8a00;
}

/* CTA */
.result-btn {
  display: block;
  width: 90%;
  margin: 0 auto 30px;
  text-align: center;
  background: #ff0090;
  color: #fff;
  font-size: 22px;
  font-weight: bold;
  padding: 18px;
  border-radius: 40px;
  text-decoration: none;
  box-shadow: 0 5px 0 #a40050;
  transition: 0.2s;
}

.result-btn:active {
  transform: translateY(4px);
  box-shadow: 0 2px 0 #a40050;
}

/* 再診断ボタン */
.restart-btn {
  display: block;
  width: 70%;
  margin: 0 auto;
  text-align: center;
  background: #888;
  color: #fff;
  padding: 14px;
  border-radius: 40px;
  text-decoration: none;
  box-shadow: 0 5px 0 #3f3f3f;
}

@media (max-width: 600px) {

  .diagnosis-box {
    padding: 5vw;
    border-radius: 3vw;
  }

  .diagnosis-title {
    font-size: 4.5vw;
    margin-bottom: 4vw;
  }

  .step-indicator {
    width: 85%;
  }

  .step-dot {
    width: 5vw;
    height: 5vw;
  }

  .step-line {
    height: 1vw;
  }

  .btn-group {
    gap: 3vw;
  }

  .select-btn {
    padding: 3.5vw 5vw;
    font-size: 3.5vw;
    border-radius: 2.5vw;
  }

  .select-btn.active::before {
    width: 4vw;
    height: 4vw;
    font-size: 2.5vw;
    top: -1.5vw;
    left: -1.5vw;
  }

  .result-company-name {
    font-size: 5vw;
    padding: 3vw;
  }

  .result-subtext {
    font-size: 4.5vw;
  }

  .result-btn {
    font-size: 4vw;
    padding: 4vw;
    box-shadow: 0 3px 0 #a40;
  }

  .restart-btn {
    font-size: 3.5vw;
    padding: 3vw;
    box-shadow: 0 3px 0 #3f3f3f;
  }
}
