/* ----------------------------------------
   ポイ活サイト ベースデザイン "Sunny Points"
---------------------------------------- */

/* 基本設定 */
html {
  touch-action: manipulation;
}

body {
  color: #333;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  font-size: 14px;
  line-height: 1.8;
  margin: 0;
  padding: 0;
}

/* レイアウト */
.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 1.5rem;
}

/* タイトル系 */
h1,
h2,
h3,
h4,
h5 {
  font-weight: 700;
  color: #222;
  margin-top: 0;
  margin-bottom: 0.75rem;
}

h1 {
  margin: 0;
  padding: 0;
  border-radius: 4px;
  font-size: 24px;
  line-height: 1.2;
  text-align: center;
}

h2 {
  margin: 10px 0;
  padding: 7px 10px 7px;
  color: #000;
  background: #fff6c7;
  border-bottom: 3px solid #ffd53d;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
}

h2.big_title {
 color:#FFFFFF;
 background:#3457DA;
 box-shadow:4px 4px 0 #223A91;
}

h3 {
  margin: 15px 0 10px 0;
  padding: 5px 0 5px 10px;
  color: #38434b;
  border-left: 8px solid #ff9b00;
  border-bottom: 1px solid #d2d7dc;
  font-size: 15px;
}

h4 {
  font-size: 1.1rem;
  color: #555;
}

h5 {
  font-size: 1rem;
  color: #777;
  font-weight: 500;
}

/* ボタン・リンク */
.btn {
  display: inline-block;
  background: #ffd53d;
  color: #333;
  font-weight: bold;
  padding: 0.7rem 1.2rem;
  border-radius: 30px;
  text-decoration: none;
  transition: 0.3s ease;
  box-shadow: 0 3px 0 #ff9b00;
}
.btn:hover {
  background: #ff9b00;
  color: #fff;
  transform: translateY(1px);
}

a {
  color: #333;
  text-decoration: underline;
}

/* サブボタン（グレー） */
.btn-sub {
  background: #eee;
  color: #555;
  box-shadow: 0 3px 0 #ccc;
}
.btn-sub:hover {
  background: #ddd;
  color: #222;
}

/* テーブル */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 10px 0;
  background: #fff;
  overflow: hidden;
}

th,
td {
  padding: 4px 8px;
  border: solid 1px #2222;
  text-align: left;

  .h_table {
    margin: 3px 0;
    border-bottom: 1px dotted #ffd53d;
    font-weight: bold;
  }

  p {
    margin-top: 0;
    margin-bottom: 10px;
  }
}

th {
  background: #fff6c7;
  color: #333;
  border-bottom: 2px solid #ffd53d;
}

td:nth-child(odd) {
  min-width: 80px;
  text-align: center;
  background: #fffbea;
}

tr:hover td {
  background: #fff4c1;
}

/* カード */
.card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
  padding: 1.2rem;
  margin-bottom: 1.5rem;
  transition: 0.3s ease;
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.1);
}

/* 強調テキスト */
.highlight {
  background: linear-gradient(transparent 60%, #fff6c7 60%);
  font-weight: bold;
}

/* ラベル */
.label {
  display: inline-block;
  margin-right: 10px;
  padding: 0.3rem 1.5rem;
  background: #ff5d00;
  color: #fff;
  font-size: 1.5em;
  font-weight: bold;
  line-height: 1;
  border-radius: 5px;
}

/* フッター */
footer {
  text-align: center;
  font-size: 0.85rem;
  color: #777;
  padding: 2rem 0;
  border-top: 1px solid #eee;
  background: #fffbea;
}

/* ----------------------------------------
   ポイ活サイト 個別デザイン
---------------------------------------- */

/* 汎用設定 */
#container {
  max-width: 600px;
  margin: auto;
  padding: 10px;
}

.flex {
  display: flex;
}

/* ランキング選定基準 */
.box_criteria {
  position: relative;
  max-width: 400px;
  margin: 2.5em auto;
  padding: 40px 10px 20px;
  box-shadow: 0 2px 3px rgb(0 0 0 / 20%);
  border: solid 1px #2222;
  color: #333333;
  background-color: #ffffff;

  p {
    margin: 0;
  }

  i {
    margin-right: 4px;
    color: #ff9b00;
  }

  span {
    font-weight: 700;
  }
}

.box_criteria .title_label {
  position: absolute;
  top: -15px;
  transform: translateX(-0.3em) rotate(-3deg);
  padding: 0.5em 2em;
  border-right: 2px dotted rgb(0 0 0 / 10%);
  border-left: 2px dotted rgb(0 0 0 / 10%);
  box-shadow: 0 0 5px rgb(0 0 0 / 20%);
  background-color: #ffd53d;
  font-weight: 600;
}

.box_criteria li {
  margin: 0;
}

/* ランキングテーブル 記事上部 */
.table_rank_header {
  font-size: 12px;
  line-height: 1.6em;
}

.img_icon_table {
  display: block;
  width: 50px;
  height: 50px;
  margin: auto;
}

.marker_underline {
  background: linear-gradient(transparent 60%, #ff6 60%);
}

/* アプリ紹介枠 */
.section_app {
  padding: 8px;
  border: solid 2px #ffd53d;
  border-radius: 5px;

  h2 {
    margin: 0;
    padding: 0;
    font-size: 17px;
    line-height: 1.3;
    background: none;
    border: none;
  }
}

.blcok_title_app {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.img_icon_ranking {
  width: 50px;
  height: auto;
}

.wrap_icon {
  margin-right: 10px;
}

.img_icon_app {
  width: 85px;
  height: 85px;
}

.wrap_star_rating {
  font-size: 14px;

  i {
    color: #ffd53d;
  }

  span {
    font-weight: 700;
  }
}

.block_tag {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;

  span {
    display: inline-block;
    padding: 2px 8px;
    background: #333;
    color: #fff;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
  }

  .pink {
    background: #f472b6;
  }

  .green {
    background: #2dd4bf;
  }

  .orange {
    background: #ff9b00;
  }
}

.wrap_video_promo {
  video {
    width: 100%;
    max-height: 300px;
  }
}

.h_app_catch {
  margin: 10px 0;
  padding: 4px 0;
  background: #fffbea;
  border-bottom: solid 2px #ffd53d;
  text-align: center;
  font-size: 16px;
  font-weight: 700;

  p {
    margin: 0;
  }
}

/** おすすめポイント **/
.block_osusume {
  margin-top: 0.5rem;
  padding: 0.5rem;
  border: solid 1px #ff9b00;
  border-radius: 5px;
  background: #ff9b0020;

  h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    padding: 0 4px 4px 4px;
    border-left: none;
    border-color: #ff5d00;
    text-align: center;
    color: #ff5d00;
    font-size: 16px;
  }

  ul {
    margin: 0;
    padding: 0;
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1.25rem;
    list-style: none;

    li {
      margin-top: 4px;
    }

    i {
      margin-right: 4px;
      color: #ff5d00;
    }
  }
}

/** アプリ概要テキスト **/
.txt_app_overview {
  margin-top: 1rem;
  line-height: 1.7;
}

/** 口コミ **/
.swiper {
  width: 100%;
  max-height: 250px;
}

.swiper .swiper-button-next::after,
.swiper .swiper-button-prev::after {
  font-family: "Font Awesome 7 Free";
  font-weight: 900;
  color: #fff;
  font-size: 1.5rem;
}

.swiper .swiper-button-next::after {
  content: "\f35a"; /* FontAwesomeの右矢印 */
  position: absolute;
  right: 0;
  color: #333;
}

.swiper .swiper-button-prev::after {
  content: "\f359"; /* FontAwesomeの左矢印 */
  position: absolute;
  left: 0;
  color: #333;
}

.swiper .swiper-button-prev,
.swiper-button-next {
  svg {
    display: none;
  }
}

.block_review {
  h3 {
    margin-bottom: 8px;
    padding: 0.5rem;
    color: #ffffff;
    background: #00da84;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
  }

  .row_h_review {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .row_star_review {
    color: #ffd53d;
    font-size: 12px;
    letter-spacing: -2px;
  }

  .h_review {
    margin-bottom: 0;
    font-size: 16px;
  }

  .txt_review {
    margin-top: 8px;
    padding: 0 1em;
    font-size: 14px;
    line-height: 1.25;
  }
}

.wrap_review {
  padding: 1rem;
  background: #00da8410;
  border-radius: 8px;
}

/** アプリDLバナー **/
.h_balloon_dl {
  position: relative;
  display: block;
  min-width: 120px;
  max-width: 100%;
  margin: 1.25em 0;
  padding: 7px 10px;
  border: solid 3px #ff5d00;
  color: #ff5d00;
  background: #fff;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  box-sizing: border-box;
}

.h_balloon_dl:before {
  content: "";
  position: absolute;
  bottom: -24px;
  left: 50%;
  margin-left: -15px;
  border: 12px solid transparent;
  border-top: 12px solid #fff;
  z-index: 2;
}

.h_balloon_dl:after {
  content: "";
  position: absolute;
  bottom: -30px;
  left: 50%;
  margin-left: -17px;
  border: 14px solid transparent;
  border-top: 14px solid #ff5d00;
  z-index: 1;
}

.h_balloon_dl span {
  margin: 0;
  padding: 0;
}

.row_store_banner {
  display: flex;
  justify-content: center;
  column-gap: 10px;
  padding-top: 1rem;

  .a_store_banner {
    width: calc(50% - 10px);

    .img_store_banner {
      width: 100%;
    }
  }
}

.block_dlbanner_bottom {
  .row_store_banner {
    padding-top: 0;
  }
}

/* footer */
.nav_footer {
  display: flex;
  justify-content: center;
  column-gap: 18px;
}
