html {
  background: #f3f3f3;
  font-size: 62.5%; /* 16px * 62.5% = 10px */
  width: 100%;
  box-sizing: border-box;
}

body {
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1.6;
  color: #333;
  background: #fff;
  margin: 0 auto;
  max-width: 646px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  font-size: 1.6rem;
}

main {
  padding: 0 20px;
}

.margin-top20 {
  display: block;
  margin-top: 20px;
}

.margin-top10 {
  display: block;
  margin-top: 10px;
}

.margin-top30 {
  display: block;
  margin-top: 30px;
}

.margin-top40 {
  display: block;
  margin-top: 40px;
}

/* ================ 欧文フォントにする ================ */
.font-english {
    font-family: "Inter", sans-serif;
}

/* ================ 上付き文字にする ================ */
.example {
	font-size: 0.8em;
	vertical-align: top;
}

/* ================ テキスト調整 ================ */

.text-bold {
  font-weight: 700;
}

.text-red {
  color: #ED1846;
  font-weight: 700;
}

.text-highlight {
  background: linear-gradient(transparent 60%, #FFEF61 60%);
}

.text-small {
  font-size: 1.2rem;
}

.block-description.align-right {
  text-align: right;
}

.text-link {
  color: #0060C7;
  text-decoration: underline;
}




/* ================ ヘッダー ================ */
.site-header {
  padding: 10px 10px;
  height: 40px;
  display: none;
}

/* ================ タイトル・メインビジュアル ================ */
.mv h1 {
    display: none;
}

.mv-img {
    width: 100%;
    height: auto;
    margin-bottom: 20px; 
}

.mv-img img {
    width: 100%;
    height: auto;
}


/* ===============================
  絞り込み（デザイン寄せ / 完全スコープ）
================================ */
#gsn-filter { padding: 0; margin: 0 0 20px; }

#gsn-filter .gsn-acc{
  background:#fff;
  border-radius:8px;
  overflow:hidden;
  border:2px solid #ececec;
}

#gsn-filter .gsn-acc__summary{
  list-style:none;
  cursor:pointer;
  user-select:none;
  background:#ececec;
  padding:14px 16px;
  display:flex;
  align-items:center;
  justify-content:center;
  position:relative;
  font-weight:700;
  font-size:14px;
  color:#111;
}
#gsn-filter .gsn-acc__summary::-webkit-details-marker{ display:none; }

#gsn-filter .gsn-acc__chev{
  position:absolute;
  right:12px;
  width:0;height:0;
  border-left:6px solid transparent;
  border-right:6px solid transparent;
  border-top:8px solid #666;
  transform: rotate(0deg); /* closed時：下向きに見えるよう */
}
#gsn-filter details[open] .gsn-acc__chev{
  transform: rotate(180deg); /* open時：上向き */
}

#gsn-filter .gsn-acc__body{
  padding:10px 16px 18px;
  background:#fff;
}

#gsn-filter .gsn-acc__hint{
  text-align:center;
  color:#e60023;
  font-weight:700;
  font-size:13px;
  margin:6px 0 14px;
}

/* form rows */
#gsn-filter .gsn-form{ display:grid; gap:12px; }
#gsn-filter .gsn-row{
  display:grid;
  grid-template-columns: 120px 1fr;
  gap:14px;
  align-items:center;
}
#gsn-filter .gsn-row__label{
  font-weight:700;
  font-size:13px;
  color:#111;
}
#gsn-filter .gsn-row__sub{
  font-weight:400;
  font-size:12px;
  color:#555;
}

#gsn-filter .gsn-select{
  width:100%;
  height:44px;
  border:1px solid #d9d9d9;
  border-radius:6px;
  padding:0 12px;
  font-size:14px;
  background:#fff;
}

/* checks */
#gsn-filter .gsn-row--checks{ align-items:start; }
#gsn-filter .gsn-checks{
  display:flex;
  flex-wrap:wrap;
  gap:10px 18px;
  padding-top:4px;
}
#gsn-filter .gsn-chk{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:13px;
  color:#111;
}
#gsn-filter .gsn-chk input{
  width:16px;height:16px;
  accent-color:#1e63d6;
}

/* center triangle separator */
#gsn-filter .gsn-divider{
  width:0;height:0;
  margin:12px auto 10px;
  border-left:22px solid transparent;
  border-right:22px solid transparent;
  border-top:18px solid #9a9a9a;
  opacity:.9;
}

/* result count */
#gsn-filter .gsn-result{
  text-align:center;
  font-weight:700;
  font-size:14px;
  margin:2px 0 10px;
  color:#111;
}
#gsn-filter .gsn-result__n{
  font-size:30px;
  color:#1e63d6;
  margin:0 4px;
  font-weight:800;
  vertical-align:-2px;
}

/* table */
#gsn-filter .gsn-table-wrap{
  border:1px solid #d9d9d9;
  background:#fff;
}
#gsn-filter .gsn-table{
  width:100%;
  border-collapse:collapse;
  table-layout:fixed;
}
#gsn-filter .gsn-table thead th{
  background:#efefef;
  border-right:1px solid #d9d9d9;
  border-bottom:1px solid #d9d9d9;
  padding:10px 8px;
  font-size:13px;
  text-align:center;
  font-weight:700;
}
#gsn-filter .gsn-table thead th:last-child{ border-right:none; }

#gsn-filter .gsn-td{
  border-right:1px solid #d9d9d9;
  border-bottom:1px solid #d9d9d9;
  padding:16px 16px;
  font-size:13px;
  vertical-align:middle;
  text-align: center;
}
#gsn-filter .gsn-table tbody tr:last-child .gsn-td{ 
  border-bottom:none; 
}
#gsn-filter .gsn-td:last-child{ border-right:none; }

#gsn-filter .gsn-td--service{ width:34%; }
#gsn-filter .gsn-td--cta{ width:26%; text-align:center; }

#gsn-filter .gsn-service{
  display:flex;
  flex-direction:column;
  gap:6px;}
#gsn-filter .gsn-service__logo{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}
#gsn-filter .gsn-service__logo img{
  max-width: 100%;
  max-height: 100%;
  width: 100%;
  height: auto;
  object-fit: contain;
}

#gsn-filter .gsn-service__link{
  color:#0060C7;
  text-decoration:underline;
  font-weight:700;
  font-size:13px;
}

/* orange button like screenshot */
#gsn-filter .gsn-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  width:110px;
  height:40px;
  border-radius:8px;
  color:#fff;
  font-weight:800;
  font-size:13px;
  text-decoration:none;
  background: linear-gradient(#ffb22e, #f6a31b);
  border:1px solid rgba(0,0,0,.08);
  box-shadow:0 2px 0 rgba(0,0,0,.08);
}
#gsn-filter .gsn-btn::after{
  content:"";
  width:8px;height:8px;
  border-right:2px solid #fff;
  border-top:2px solid #fff;
  transform: rotate(45deg);
  margin-left:2px;
}
#gsn-filter .gsn-btn:hover{ filter: brightness(.98); }
#gsn-filter .gsn-btn:active{ transform: translateY(1px); }

/* hide rows when filtered */
#gsn-filter .gsn-item[hidden]{ display:none; }

/* responsive */
@media (max-width: 646px){
  #gsn-filter .gsn-row{ grid-template-columns: 1fr; gap:8px; }
  #gsn-filter .gsn-td--service, #gsn-filter .gsn-td--cta{ width:auto; }
  #gsn-filter .gsn-service__logo{ font-size:28px; }
  #gsn-filter .gsn-btn{ width:100%; }
  #gsn-filter .gsn-br-sp{ display:none; }
  #gsn-filter .gsn-row__label{
    display:flex;
    align-items: baseline;
    gap:6px;
    flex-wrap: nowrap;
    white-space: nowrap;
  }
  /* 絞り込み結果テーブル：リンク列を非表示 */
  #gsn-filter .gsn-table thead th:nth-child(3),
  #gsn-filter .gsn-table tbody td:nth-child(3){
    display: none;
  }
}







/* ================ 説明セクション ================ */

.block-description {
    padding: 0 0 10px;
}

.block-description h2 {
    background-color: #E6F8FF;
    border-left: solid 6px #0060C7;
    padding: 10px 16px;
    margin-bottom: 12px;
    font-size: 1.8rem;
    font-weight: 700;
}

.block-description h3 {
    border-bottom: solid 2px #0060C7;
    padding-bottom: 5px;
    margin-bottom: 12px;
    font-size: 1.8rem;
    font-weight: 700;
}

.block-description p {
    margin-bottom: 20px;
}

.block-description__img {
    width: 100%;
    height: auto;
    margin: 0 auto 24px; 
}

.block-description__img img {
    width: 100%;
    height: auto;
}

.block-description p + h3 {
    margin-top: 40px; /* pタグの後にh3が来たときは余白を追加 */
}

/* ================ ランキングセクション ================ */

.block-ranking {
    width: 100%;
    padding: 0 0 40px;
}

.block-ranking__title {
    background: linear-gradient(to right, #0060C7, #002F61);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
}

.block-ranking__title div {
    display: inline-block;
    background: #FFED65;
    color: #01458E;
    padding: 0 16px;
    margin: 0 auto 10px;
    border-radius: 50px;
}

.block-ranking__title  img{
    width: 100%;
    height: auto;
}

/* ── テーブル全体 ─────────────────────────── */
.ranking-scroll {
    width: 100%;
    overflow-x: auto;
}
.ranking-table {
    overflow-x: auto;
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed; 
    font-size: 1.2rem;
    line-height: 1.8rem;
    text-align: center;
    background-color: #fff;
    margin: 10px 0 10px;
}
.ranking-table th {
  width: 201px;
  padding: 10px 10px 0;
  background-clip: padding-box; /* 背景色が境界を侵食しないように */
  border: none;
}
.ranking-table td {
  width: 201px;
  padding:10px;
  background-clip: padding-box; /* 背景色が境界を侵食しないように */
  border: none;
}
.ranking-table h3 {
    background-color: #0060C7;
    color: #fff;
    border-radius: 100px;
    padding: 5px 16px;
    width: fit-content;
    margin: 0 auto 10px;
    line-height: 1.5rem;
}

@media (max-width:646px) {
    .ranking-table {
        font-size: 1.1rem;
        line-height: 1.5rem;
    }
    .ranking-table h3 {
        font-size: 1rem;
        line-height: 1.2rem;
        padding: 4px 10px;
        margin: 0 auto 8px;
    }
    .ranking-table th {
        width: calc((100vw - 42px) / 3);
        padding: 10px 5px 0; 
    }
    .ranking-table td {
        width: calc((100vw - 42px) / 3);
        padding: 10px 5px; 
    }
}

/* ── 交互背景色設定 ─────────────────────────── */

/* 1〜3行目までは常に白 */
.ranking-table tbody tr:nth-child(-n+3) td {
  background: #fff;
}

/* 4行目以降で交互色 */
.ranking-table tbody tr:nth-child(odd):nth-child(n+3) td {
  background: #fff;
}
.ranking-table tbody tr:nth-child(even):nth-child(n+3) td {
  background: #F8F9FA;
}

/* 1位列（1列目）はピンク交互上書き */
.ranking-table tbody tr:nth-child(even):nth-child(n+3) td:first-child {
  background: #FFF4F6;
}


/* ── 枠線設定 ─────────────────────────── */

/* 中段セル：左右の灰色線のみ（上下はなし） */
.ranking-table tbody tr:not(:last-child) td:not(:first-child) {
  border-left: 2px solid #CBCBCB;
  border-right: 2px solid #CBCBCB;
}

/* 最下段セル：上下左右すべて灰色線（上だけ除く） */
.ranking-table tbody tr:last-child td:not(:first-child) {
  border: 2px solid #CBCBCB;
  border-top: none;
}

/* ヘッダー：2位以降だけ上・左右に灰色線 */
.ranking-table thead th:not(:first-child) {
  border-top: 2px solid #CBCBCB;
  border-left: 2px solid #CBCBCB;
  border-right: 2px solid #CBCBCB;
}

/* ヘッダー：上・左右に赤線 */
.ranking-table thead th:first-child {
  border-top: 2px solid #ED1846;
  border-left: 2px solid #ED1846;
  border-right: 2px solid #ED1846;
}

/* 本文：左右の赤線のみ（上下は中間セルでは非表示） */
.ranking-table tbody td:first-child {
  border-left: 2px solid #ED1846;
  border-right: 2px solid #ED1846;
  border-top: none;   /* 中間セルの上線を消す */
  border-bottom: none;/* 中間セルの下線を消す */
}

/* 最下段セル：下線を追加して完全な枠を形成 */
.ranking-table tbody tr:last-child td:first-child {
  border-bottom: 2px solid #ED1846;
}

/* ── 王冠ブロック ─────────────────────────── */

.ranking__crown-icon {
    width: 30%;
    min-width: 40px;
    margin: 0 auto;
}

.ranking__crown-icon img {
    width: 100%;
    height: auto;
    text-align: center;
}

/* ── メイン画像 ─────────────────────────── */

.ranking__main-img__wrapper {
  vertical-align: middle;
}

.ranking__main-img {
    width: 100%;
    overflow: hidden; /* はみ出し防止 */
    margin: 0 auto;
    object-fit: cover;
}

/* ── リンク ─────────────────────────── */

.site-link {
  color: #0060C7;
  font-weight: 700;
  text-decoration: underline;
  display:inline-block;
  margin-bottom:6px;
}

/* ── 星 ─────────────────────────── */

.ranking-star {
  display: flex;
  justify-content: center;
  align-items: center;
  gap:6px;
  color: #FFB400;
  font-weight: 700;
  margin-bottom:12px;
  font-size: 1.6rem;
}
.ranking-star img {
    width: 70%;
}

@media (max-width:646px) {
    .ranking-star {
        font-size: 1.4rem;
    }
}

/* ── 評価ブロック ─────────────────────────── */

.ranking__icon-rank {
    width: 30%;
    aspect-ratio: 1 / 1;
    margin: 0 auto 10px;
}
.ranking__icon-rank img {
    width: 100%;
}

@media (max-width:646px) {
    .ranking__icon-rank {
        width: 50%;
        max-width: 54px;
        margin: 0 auto 8px;
    }
}

/* ── ボタン ─────────────────────────── */

@keyframes shiny {
    0% { left: -20%; }
    10% { left: 120%; }
    100% { left: 120%; }
}
.btn {
    position: relative;
    display: block;
    width: 100%;
    height: 40px;
    line-height: 4rem;
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
    background: linear-gradient(to right, #FFAE00, #FF9500);
    overflow: hidden;
    border-radius: 5px;
    border-bottom: 3px solid #DB8000;
}
.btn::after {
    content: '';
    position: absolute;
    top: -10%;
    left: -20%;
    width: 40px;
    height: 100%;
    transform: scale(2) rotate(20deg);
    background-image: linear-gradient(100deg, rgba(255, 255, 255, 0) 10%, rgba(255, 255, 255, .5) 100%, rgba(255, 255, 255, 0) 0%);
    
    /* アニメーション */
    animation-name: shiny;
    animation-duration: 3s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
}
.btn:hover {
  margin-top: 3px;
  border-bottom: none;
	color: #fff;
}

@media (max-width:646px) {
    .btn {
    height: 32px;
    line-height: 3.2rem;
    font-size: 1.2rem;
    border-radius: 3px;
    }
}

/* ── 注釈ブロック ─────────────────────────── */

.note {
  display: inline-block;
  color: #585858;
  font-size: 0.8rem;;
  line-height: 1.8;
  text-align: left;
}

/* ── 吹き出しブロック ─────────────────────────── */

/* 吹き出し全体 */
.speech {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin: 20px 0;
}

/* アイコン */
.speech__icon {
  width: 80px;
  height: 80px;
  border-radius: 100px;
  overflow: hidden;
}

.speech__icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 吹き出しの基本形 */
.speech__bubble {
  background: #f5f5f5;
  border-radius: 16px;
  padding: 12px 16px;
  position: relative;
  width: calc( 100% - 100px );
  font-size: 1.4rem;
  line-height: 1.8;
}

/* 黄色バージョン */
.speech__bubble-yellow {
  background: #FFF9D6;
}

/* 吹き出しのしっぽ */
.speech-left .speech__bubble::before,
.speech-right .speech__bubble::before {
  content: "";
  position: absolute;
  top: 18px;
  width: 0;
  height: 0;
  border: 8px solid transparent;
}

.speech-left .speech__bubble::before {
  left: -16px;
  border-right-color: #f5f5f5;
}

.speech-right .speech__bubble::before {
  right: -16px;
  border-left-color: #FFF9D6;
}

/* モバイル時調整 */
@media (max-width: 646px) {
  .speech__icon {
    width: 60px;
    height: 60px;
  }
  .speech__bubble {
    width: calc( 100% - 80px );
  }
}

/* ================ ランキング詳細ブロック ================ */

.block-ranking-detail__list li {
  background-color: #F1F4F7;
  border-radius: 20px;
  padding: 0 0 10px;
}

.block-ranking-detail__list__title {
    background: linear-gradient(to right, #0060C7, #002F61);
    padding: 20px;
    border-radius: 20px 20px 0 0;
    text-align: left;
    font-weight: 600;
    font-size: 2.8rem;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 0 10px;
}
.block-ranking-detail__list__title img {
  width: 50px;
  height: auto;
}
.block-ranking-detail__list__main-img {
  width: 80%;
  height: auto;
  margin: 18px auto;
}

.block-ranking-detail__list__main-img img {
  display: block;
  margin: 0 auto;
}

.block-ranking-detail__list__content {
  padding: 0 20px;
}

.block-ranking-detail {
  text-align: center;
}

.block-ranking-detail h2 {
  position: relative;
  display: inline-block;
  background-color: #E6F3FF;
  color: #0060C7;
  font-weight: 700;
  font-size: 2rem;
  padding: 20px 28px;
  border-radius: 100px;
  text-align: center;
  margin: 0 auto 30px;
}

.block-ranking-detail h2:after {
  content: "";
  position: absolute;
  bottom: -15px; /* 三角の位置（下に少し出す） */
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-top: 20px solid #E6F3FF; /* 背景色と同じにする */
}

.block-ranking-detail__list {
  list-style: none;
}

.block-ranking-detail__list li {
  text-align: left;
  margin: 0 0 25px;
}

.block-ranking-detail__list__content img {
  width: 100%;
}

.detail-table__wrapper {
  margin: 20px 0;
}

.detail-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  border: 2px solid #D0D0D0; /* 外枠 */
  font-size: 1.4rem;
  color: #333;
}

.detail-table th,
.detail-table td {
  padding: 12px 20px;
  text-align: left;
  vertical-align: middle;
  border: 1px solid #D0D0D0;
}

.detail-table th {
  width: 35%;
  background-color: #f3f3f3;
  font-weight: 700;
}

.detail-table td {
  background-color: #fff;
}

/* モバイル時調整 */
@media (max-width: 646px) {
  .block-ranking-detail__list__title {
    padding: 16px;
    font-weight: 600;
    font-size: 2.2rem;
}
  .detail-table th,
  .detail-table td {
    padding: 10px 10px;
    font-size: 1.4rem;
  }
}

.detail-table .rating-cell {
  display: flex;
  align-items: center;
  gap: 6px;
  line-height: 1.6;
  border: none;
}

.detail-table .rating-cell img {
  display: block;
  height: 1.4em;
  width: auto;
  margin: 0;
}

.block-ranking-detail__list__description {
  margin: 20px 0;
}

.block-ranking-detail__list__img {
   margin: 20px 0;
}

/* ================ 特徴ブロック ================ */

.feature-box {
  margin: 40px 0 5px;
}

.feature-box__title {
  display: block;
  width: fit-content;
  background: #0060C7;
  color: #fff;
  font-weight: 600;
  padding: 5px 16px;
  margin: 0 auto 0 0;
  border-radius: 8px 8px 0 0;
  text-align: left;
}

.feature-box__content {
  border: 2px solid #0060C7;
  background-color: #fff;
  border-radius: 0 12px 12px 12px;
  list-style: none;
  margin: 0;
  padding: 16px 20px;
  text-align: left;
}

.feature-box__content li {
  position: relative;
  padding: 0 0 0 28px;
  margin-bottom: 6px;
  background-color: #fff;
}

.feature-box__content li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 20px;
  height: 20px;
  background: url("../img/check-icon.webp") no-repeat center center / contain;
}

.feature-box__content img {
  display: block;
  width: 100%;
  max-width: 400px;
  margin: 10px auto 0;
}

.feature-box p {
  margin: 0;
}

.btn__wrapper {
  width: 260px;
  text-align: center;
  margin: 20px auto;
}

.btn__wrapper .btn {
  width: 100%;
  height: auto;
  line-height: 2.4rem;
  font-size: 1.8rem;
  padding: 12px 0;
}

.block-ranking-detail h4 {
  border-bottom: solid 2px #0060C7;
  padding-bottom: 3px;
  margin-top: 48px;
  margin-bottom: 3px;
  font-size: 1.8rem;
  font-weight: 700;
}

.block-ranking-detail__list__description .speech .speech__bubble {
  background-color: #fff;
}

.block-ranking-detail__list__description .speech .speech__bubble::before {
  border-right-color: #fff;
}

/* ================ 口コミブロック ================ */


.review-scroll {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;     /* スクロールをパチッと止める */
  gap: 20px;
  padding: 20px 0;
  -webkit-overflow-scrolling: touch; /* スマホ慣性スクロール対応 */
}

.review-card {
  flex: 0 0 90%;                     /* 1カードの幅（画面の85%） */
  max-width: 520px;
  background-color: #fff;
  border: 1px solid #D0D0D0;
  border-radius: 12px;
  padding: 28px;
  scroll-snap-align: center;         /* 中央で止まる */
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.review-card__head {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 20px;
}

.review-card__icon {
  width: 80px; 
  height: 80px;
  overflow: hidden;
  margin: 0 16px 0 0;
}

.review-card__icon img {
  width: 100%;
  height: auto;
  border-radius: 100px;
  margin: 0;
  justify-content: cover;
}

.review-card__head h5 {
  width: calc( 100% - 100px );
  font-size: 1.8rem;
  font-weight: 700;
}

.review-card__content p {
  font-size: 1.4rem;
  line-height: 1.2;
  text-align: left;
}

/* モバイル時調整 */
@media (max-width: 646px) {
  .review-card__icon {
    width: 60px; 
    height: 60px;
  }
  .review-card__head h5 {
    width: calc( 100% - 80px );
    font-size: 1.5rem;
    line-height: 1.5;
  }
}

/* スクロールバーを非表示（必要なら） */
.review-scroll::-webkit-scrollbar {
  display: none;
}

.scroll-link {
  display: block;
  text-align: center;
  margin: 10px auto;
  color: #0060C7;
  text-decoration: underline;
}




.margin-top20 {
  display: block;
  margin-top: 20px;
}

.margin-top10 {
  display: block;
  margin-top: 10px;
}

.margin-top30 {
  display: block;
  margin-top: 30px;
}

.margin-top40 {
  display: block;
  margin-top: 40px;
}

.img-90percent {
  width: 90%;
}

.img-80percent {
  width: 80%;
}

.img-70percent {
  width: 70%;
}

.img-60percent {
  width: 60%;
}

.img-50percent {
  width: 50%;
}

.img-40percent {
  width: 40%;
}

.img-30percent {
  width: 30%;
}

.img-20percent {
  width: 20%;
}

.img-10percent {
  width: 10%;
}


