/* =========================================================
   美少女ゲームランキング LP - heatapps テイスト寄せ版
   参考: https://heatapps.com/heatapps-game/pop.css
   - 白背景 + ホットピンク (#ff69b4) + 青 (#7f7fff) + 橙 (#ff9500)
   - 角丸控えめ (5px)、3px ボーダーで「箱」を積み重ねるレイアウト
   - フォント: 端末標準の和文ゴシック（Hiragino角ゴ / 游ゴ / メイリオ）
   ========================================================= */

:root{
  /* 背景・サーフェス */
  --bg:           #ffffff;
  --bg-card:      #f1f1f1;
  --bg-cell:      #f8f8f8;
  --bg-soft:      #fafafa;
  --bg-mark:      #fef2f2;

  /* テキスト */
  --text:         #333333;
  --text-mute:    #666666;
  --text-soft:    #888888;

  /* ピンク系（参考サイト準拠） */
  --pink-hot:     #ff69b4;
  --pink-deep:    #c71585;
  --pink-soft:    #ff7fbf;
  --pink-bar:     rgba(227, 118, 137, 0.85);
  --pink-outline: #ffa8a1;
  --pink-button:       #c71585;
  --pink-button-hover: #a01069;

  /* 補助色 */
  --blue:         #7f7fff;
  --blue-deep:    #3d3dff;
  --orange:       #ff9500;
  --red:          #ff0000;

  /* 形・影 */
  --radius:       5px;
  --radius-sm:    4px;
  --shadow-card:  0 4px 8px rgba(0, 0, 0, 0.1);
  --shadow-sm:    0 2px 4px rgba(0, 0, 0, 0.06);
}

*,*::before,*::after{ box-sizing:border-box; }

html,body{ margin:0; padding:0; }
body{
  font-family: "Hiragino Kaku Gothic ProN","Hiragino Sans","Yu Gothic UI",
               "Meiryo", system-ui, -apple-system, "Segoe UI", sans-serif;
  color:var(--text);
  background:var(--bg);
  line-height:1.7;
  font-size:14px;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}

img{ max-width:100%; height:auto; display:block; vertical-align:top; }

a{ color:var(--pink-deep); text-decoration:none; }
a:hover{ text-decoration:underline; }

red, .red{ color:var(--red); }

/* =========================================================
   Top info strip (PR / R18 / 更新日) - 控えめなテキスト notice 風
   ========================================================= */
.info-strip{
  background:transparent;
  border-bottom:1px solid #eee;
  font-size:11px;
  color:var(--text-mute);
}
.info-strip-inner{
  max-width:768px; margin:0 auto;
  padding:6px 12px;
  display:flex; align-items:center; gap:8px;
  flex-wrap:wrap;
}
.info-strip-tag{
  display:inline-block;
  padding:1px 6px;
  border:1px solid var(--text-soft);
  border-radius:3px;
  color:var(--text-mute);
  font-size:10px;
  font-weight:700;
  background:#fff;
}
.info-strip-tag.is-warn{
  color:var(--red);
  border-color:var(--red);
}
.info-strip-meta{
  margin-left:auto;
  color:var(--red);
  font-size:11px;
  font-weight:700;
}

/* =========================================================
   Header
   ========================================================= */
.site-header{
  background:#fff;
  border-bottom:1px solid #eee;
}
.header-inner{
  max-width:768px; margin:0 auto;
  display:flex; align-items:center; justify-content:space-between;
  padding:10px 14px;
}
.logo{
  display:flex; align-items:center; gap:6px;
  color:var(--pink-hot);
  font-weight:700;
}
.logo img{ height:28px; width:auto; }
.logo-text{
  font-size:16px;
  letter-spacing:.04em;
}
.nav a{
  display:inline-block;
  padding:4px 12px;
  border-radius:3px;
  background:#fff;
  color:var(--pink-deep);
  font-weight:700; font-size:11px;
  border:1px solid var(--pink-hot);
}
.nav a:hover{ background:var(--pink-hot); color:#fff; text-decoration:none; }

/* =========================================================
   Container
   ========================================================= */
.container{
  max-width:100%;
  margin:0 auto;
  padding:1px;
  text-align:center;
}
@media (min-width:768px){
  .container{ max-width:768px; }
}

/* =========================================================
   Top announcement (above hero) - シンプルなテキストブロック
   ========================================================= */
.top-announce{
  max-width:768px;
  margin:0 auto;
  padding:14px 14px 4px;
  text-align:center;
}
.top-announce-card{
  position:relative;
  background:#fff;
  border:none;
  padding:0;
  text-align:center;
}
.top-announce-badge{
  display:inline-block;
  background:var(--pink-hot);
  color:#fff;
  font-weight:700;
  font-size:11px;
  padding:2px 10px;
  border-radius:3px;
  margin-bottom:8px;
  letter-spacing:.06em;
}
.top-announce-title{
  margin:0 0 10px;
  color:var(--pink-hot);
  font-size:clamp(20px,5.6vw,28px);
  font-weight:700;
  letter-spacing:.02em;
  line-height:1.4;
}
.top-announce-body{
  margin:0 0 4px;
  color:var(--text);
  font-size:14px;
  line-height:1.7;
  text-align:left;
  padding:0 4px;
}
.top-announce-body mark{
  background:transparent;
  color:var(--red);
  font-weight:700;
}
.top-announce-note{
  margin:6px 0 0;
  font-size:11px;
  color:var(--text-soft);
  text-align:right;
}

/* =========================================================
   Hero - シンプル: H1 がホットピンク中央配置
   ========================================================= */
.hero{
  text-align:center;
  padding:18px 14px 6px;
  max-width:768px; margin:0 auto;
}
.hero-kicker{
  display:inline-block;
  margin:0 0 4px;
  color:var(--text-soft);
  font-size:10px;
  letter-spacing:.3em;
  font-weight:700;
}
.hero-title{ margin:0 0 10px; line-height:1.4; }
.hero-sub{
  display:block;
  color:var(--text-mute);
  font-size:13px;
  font-weight:400;
  margin-bottom:4px;
}
.hero-main{
  display:block;
  color:var(--pink-hot);
  font-size:clamp(18px,5.2vw,32px);
  font-weight:700;
  letter-spacing:0;
  white-space:nowrap;
}
.hero-banner{
  background:var(--bg-mark);
  color:var(--pink-deep);
  border:2px solid var(--pink-hot);
  border-radius:var(--radius);
  padding:12px 14px;
  margin-top:10px;
  text-align:center;
}
.hero-banner-text{
  margin:0;
  font-weight:700;
  font-size:clamp(14px,4vw,17px);
  line-height:1.6;
  color:var(--pink-deep);
}
.hero-lead{
  margin:14px 0 0;
  color:var(--text);
  font-size:13px;
  line-height:1.8;
  text-align:left;
}

/* =========================================================
   TOP3 - ol + counter (heatapps の .top3 ol li:before パターン)
   ========================================================= */
.top3{
  max-width:768px;
  margin:18px auto 0;
  padding:0 14px;
}
.top3-heading{
  display:block;
  margin:0 0 10px;
  font-size:18px;
  color:var(--pink-hot);
  font-weight:700;
  text-align:center;
}
.top3-heading small{
  display:block;
  font-size:11px;
  color:var(--text-soft);
  font-weight:400;
  letter-spacing:.06em;
  margin-top:3px;
}
.top3-list{
  counter-reset: number;
  list-style:none;
  padding:0;
  margin:0;
}
.top3-list .top3-item{
  position:relative;
  padding:0.85em 0.6em 0.85em 46px;
  background:#fff;
  border:1px solid #f5d6e0;
  border-radius:var(--radius);
  margin-bottom:8px;
  display:flex;
  align-items:center;
  gap:12px;
  transition:background .15s ease, border-color .15s ease;
}
.top3-list .top3-item:last-child{ margin-bottom:0; }
.top3-list .top3-item:hover{
  background:var(--bg-cell);
  text-decoration:none;
}
.top3-list .top3-item:before{
  counter-increment: number;
  content: counter(number);
  position:absolute;
  left:8px;
  top:50%;
  transform:translateY(-50%);
  color:var(--pink-soft);
  font-weight:700;
  font-size:26px;
  width:32px;
  text-align:center;
  line-height:1;
}
.top3-thumb{
  flex:0 0 auto;
  width:60px; height:60px;
  border-radius:var(--radius);
  overflow:hidden;
  background:var(--bg-cell);
}
.top3-thumb img{
  width:100%; height:100%;
  object-fit:cover;
}
.top3-rank{ display:none; } /* heatapps スタイルでは counter:before を使うため非表示 */
.top3-body{ flex:1 1 auto; min-width:0; text-align:left; }
.top3-title{
  margin:0 0 3px;
  font-size:16px;
  font-weight:700;
  color:var(--text);
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
.top3-desc{
  margin:0;
  font-size:12px;
  color:var(--text-mute);
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
.top3-arrow{
  flex:0 0 auto;
  color:var(--pink-soft);
  font-size:16px;
}

/* =========================================================
   Ranking - card layout (heatapps の .ranking-item + .rank パターン)
   ========================================================= */
.ranking{
  max-width:768px;
  margin:0 auto;
  padding:18px 10px 30px;
  display:flex;
  flex-direction:column;
  gap:18px;
}

/* .card = heatapps の .rank（グレー背景 + 全幅ピンクバー + 内側ピンクアウトライン） */
.card{
  position:relative;
  background:var(--bg-card);
  outline:1px solid var(--pink-outline);
  outline-offset:-0.5rem;
  border:none;
  padding:64px 14px 14px;
  border-radius:var(--radius);
  box-shadow:var(--shadow-card);
}
.card::before{
  /* heatapps の .rank:before パターン（data-rank-label を全幅バーに） */
  content: attr(data-rank-label);
  position:absolute;
  top:1rem;
  left:0; right:0;
  padding:0.5rem 0;
  background:var(--pink-bar);
  color:#fff;
  font-size:18px;
  font-weight:700;
  text-align:center;
  letter-spacing:.06em;
}

/* 旧 .rank-badge は ::before に置き換えたため隠す */
.rank-badge{ display:none; }

.card-title{
  margin:0 0 10px;
  font-size:18px;
  font-weight:700;
  color:var(--pink-hot);
  text-align:center;
  line-height:1.4;
}

/* メタテーブル (heatapps の table.description 寄り) */
.card-meta{
  width:100%;
  display:table;
  border-collapse:collapse;
  margin:0 0 12px;
  font-size:12px;
  background:#fff;
  border:1px solid #d0c2cf;
  border-radius:var(--radius-sm);
  overflow:hidden;
}
.card-meta-cell{
  display:table-cell;
  padding:6px 4px;
  text-align:center;
  border:1px solid #d0c2cf;
  background:var(--bg-cell);
  vertical-align:middle;
}
.card-meta-label{
  display:block;
  font-size:10px;
  color:var(--text-mute);
  margin-bottom:2px;
  font-weight:400;
}
.card-meta-value{
  display:block;
  font-size:13px;
  font-weight:700;
  color:var(--text);
}
.card-meta-value.is-rating{ color:var(--orange); letter-spacing:1px; }

/* Cover */
.card-cover, .card-sub{
  margin:0 0 10px;
  background:#fff;
  border-radius:var(--radius);
  overflow:hidden;
}
.card-cover img, .card-sub img{ width:100%; display:block; }
.card-cover a, .card-sub a{ display:block; }

.card-desc{
  margin:0 0 12px;
  font-size:13px;
  color:var(--text);
  line-height:1.8;
  text-align:left;
}

/* =========================================================
   CTA button - 参考: heatapps の #cta-button (青系) と .ranking-button (ピンク)
   ========================================================= */
.cta-btn{
  display:block;
  text-align:center;
  background:var(--pink-button);
  color:#fff !important;
  font-weight:700;
  font-size:16px;
  padding:14px 16px;
  border-radius:var(--radius);
  border:none;
  box-shadow:var(--shadow-sm);
  transition:background .2s ease;
  margin:8px 0 14px;
  letter-spacing:.04em;
  font-family:inherit;
  text-decoration:none;
  text-shadow:0 1px 2px rgba(0,0,0,.12);
}
.cta-btn:hover{
  text-decoration:none;
  background:var(--pink-button-hover);
}
.cta-btn-lg{
  /* 大型 CTA。色は .cta-btn から継承し、サイズと余白だけ大きく */
  font-size:17px;
  padding:16px 16px;
  margin-top:14px;
}

/* =========================================================
   Point / Feature / Review boxes - heatapps 配色を踏襲
   ========================================================= */
.point-box{
  /* heatapps の .osusumebox = 青 3px border */
  position:relative;
  margin:1.8em 0 1.2em;
  padding:1.8em 0.9em 0.5em;
  border:solid 3px var(--blue-deep);
  text-align:left;
  background:#fff;
  border-radius:var(--radius);
}
.point-title{
  position:absolute;
  display:inline-block;
  top:-27px;
  left:-3px;
  padding:0 9px;
  height:25px;
  line-height:25px;
  font-size:14px;
  background:var(--blue-deep);
  color:#fff;
  font-weight:700;
  border-radius:5px 5px 0 0;
}

.feature-box{
  /* heatapps の .box = ピンク 3px + 下三角 */
  position:relative;
  margin:1.8em 0 1.2em;
  padding:1.8em 0.9em 0.5em;
  border:solid 3px var(--pink-deep);
  text-align:left;
  background:#fff;
  border-radius:var(--radius);
}
.feature-title{
  position:absolute;
  display:inline-block;
  top:-27px;
  left:-3px;
  padding:0 9px;
  height:25px;
  line-height:25px;
  font-size:14px;
  background:var(--pink-deep);
  color:#fff;
  font-weight:700;
  border-radius:5px 5px 0 0;
}

.review-box{
  /* heatapps の .reviewbox = オレンジ 3px border */
  position:relative;
  margin:1.8em 0 1em;
  padding:1.8em 0.9em 0.5em;
  border:solid 3px var(--orange);
  text-align:left;
  background:#fff;
  border-radius:var(--radius);
}
.review-title{
  position:absolute;
  display:inline-block;
  top:-27px;
  left:-3px;
  padding:0 9px;
  height:25px;
  line-height:25px;
  font-size:14px;
  background:var(--orange);
  color:#fff;
  font-weight:700;
  border-radius:5px 5px 0 0;
}

.point-list, .feature-list{
  list-style:none; padding:0; margin:0;
  display:flex; flex-direction:column; gap:6px;
}
.point-list li, .feature-list li{
  background:transparent;
  padding:4px 0 4px 22px;
  font-size:13px;
  line-height:1.7;
  position:relative;
  border:none;
  border-radius:0;
}
.point-list li:before, .feature-list li:before{
  content:"✓";
  position:absolute;
  left:4px;
  top:6px;
  color:var(--blue-deep);
  font-weight:700;
  font-size:12px;
}
.feature-list li:before{
  color:var(--pink-deep);
}

/* =========================================================
   Reviews
   ========================================================= */
.review{
  background:var(--bg-cell);
  border:none;
  border-left:3px solid var(--orange);
  border-radius:var(--radius-sm);
  padding:8px 10px;
  margin:0 0 8px;
}
.review:last-child{ margin-bottom:0; }
.review-head{
  display:flex; justify-content:space-between; align-items:center;
  margin-bottom:2px; flex-wrap:wrap; gap:4px;
}
.review-name{
  font-weight:700; font-size:12.5px; color:var(--pink-deep);
}
.stars{
  font-size:12px; letter-spacing:1px; color:var(--orange);
}
.review-text{
  margin:0; font-size:12.5px; color:var(--text); line-height:1.7;
}

/* =========================================================
   Footer
   ========================================================= */
.site-footer{
  background:#fff;
  color:var(--text-mute);
  text-align:center;
  padding:20px 14px;
  margin-top:20px;
  border-top:1px solid #eee;
}
.footer-links{
  list-style:none; padding:0; margin:0 0 10px;
  display:flex; justify-content:center; gap:14px; flex-wrap:wrap;
}
.footer-links a{
  color:var(--pink-deep);
  font-size:12px;
}
.footer-meta{
  margin:0 0 4px; font-size:11px;
  color:var(--text-soft);
}
.footer-copy{
  margin:0; font-size:11px; color:var(--text-soft);
}

/* =========================================================
   Back to top
   ========================================================= */
.back-to-top{
  position:fixed; bottom:80px; right:14px;
  width:46px; height:46px;
  border-radius:8px;
  background:rgba(127, 127, 255, 0.85);
  color:#fff !important;
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 4px 10px rgba(0,0,0,.2);
  font-size:13px; font-weight:700;
  z-index:40;
}
.back-to-top:hover{ background:var(--blue-deep); text-decoration:none; }

/* =========================================================
   下層ページ (特商法 / 問い合わせ / プライバシー)
   ========================================================= */
.page{
  max-width:768px; margin:0 auto;
  padding:18px 12px 50px;
}
.page-inner{
  background:#fff;
  border-radius:var(--radius);
  border:1px solid #eee;
  padding:18px 16px;
}
.page-title{
  margin:0 0 12px;
  font-size:clamp(18px,5vw,22px);
  font-weight:700;
  color:var(--pink-hot);
  text-align:center;
  padding-bottom:10px;
  border-bottom:1px solid #eee;
}
.page-lead{
  margin:0 0 16px;
  font-size:13.5px;
  color:var(--text);
}
.page-note{
  margin:14px 0 0;
  text-align:right;
  color:var(--text-mute);
  font-size:12px;
}
.page-back{
  margin-top:18px;
  text-align:center;
}
.page-back .cta-btn{
  display:inline-block;
  min-width:240px;
}

/* 特商法テーブル (heatapps の table.description に寄せる) */
.info-table{
  width:100%;
  border-collapse:collapse;
  margin:0;
  font-size:13px;
  background:#fff;
  border:1px solid #d0c2cf;
  border-radius:var(--radius);
  overflow:hidden;
}
.info-table th,
.info-table td{
  padding:10px 12px;
  text-align:left;
  vertical-align:middle;
  border:1px solid #d0c2cf;
  line-height:1.7;
}
.info-table th{
  background:var(--blue);
  color:#fff;
  font-weight:700;
  width:34%;
  font-size:13px;
}
.info-table td{
  background:var(--bg-cell);
}
@media (max-width:600px){
  .info-table, .info-table tbody, .info-table tr{
    display:block;
  }
  .info-table th, .info-table td{
    display:block; width:auto;
  }
  .info-table th{
    border-bottom:none;
    padding-bottom:6px;
  }
  .info-table td{
    padding-top:8px;
    padding-bottom:12px;
  }
}

/* お問い合わせフォーム */
.contact-form{ display:flex; flex-direction:column; gap:14px; }
.form-row{ display:flex; flex-direction:column; gap:6px; }
.form-row label{
  font-weight:700; font-size:13px;
  color:var(--pink-deep);
}
.form-row .required{
  display:inline-block;
  background:var(--red); color:#fff;
  font-size:10px; font-weight:700;
  padding:1px 6px; border-radius:3px;
  margin-left:6px;
  vertical-align:middle;
}
.form-row input[type="text"],
.form-row input[type="email"],
.form-row select,
.form-row textarea{
  width:100%;
  padding:9px 11px;
  font-size:14px;
  border:1px solid #ccc;
  border-radius:var(--radius-sm);
  background:#fff;
  font-family:inherit;
  color:var(--text);
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus{
  outline:none;
  border-color:var(--pink-hot);
  box-shadow:0 0 0 2px rgba(255, 105, 180, .15);
}
.form-row textarea{ resize:vertical; min-height:120px; }

.form-check label{
  display:flex; align-items:flex-start; gap:8px;
  font-weight:400; color:var(--text); font-size:13px;
  line-height:1.6;
}
.form-check input[type="checkbox"]{
  margin-top:3px;
  width:17px; height:17px;
  accent-color:var(--pink-hot);
}
.form-submit{ margin-top:6px; text-align:center; }
.form-submit .cta-btn{
  display:inline-block;
  min-width:240px;
  border:none;
  font-family:inherit;
  cursor:pointer;
}

.contact-info{
  margin-top:20px;
  padding:14px 12px;
  background:var(--bg-cell);
  border:none;
  border-left:3px solid var(--pink-hot);
  border-radius:var(--radius);
}
.contact-info-title{
  margin:0 0 6px;
  font-size:14px;
  font-weight:700;
  color:var(--pink-deep);
}
.contact-info p{ margin:0 0 6px; font-size:13px; }
.contact-info a{ font-weight:700; }
.contact-note{ font-size:12px; color:var(--text-mute); }

/* =========================================================
   Fixed bottom CTA (heatapps の #cta-button) - 任意で表示
   ========================================================= */
.fixed-cta{
  position:fixed;
  bottom:0;
  left:50%;
  transform:translateX(-50%);
  width:100%;
  max-width:600px;
  padding:6px 10px;
  background:rgba(127, 127, 255, 0.92);
  color:#fff;
  text-align:center;
  font-size:14px;
  font-weight:700;
  box-shadow:0 -4px 10px rgba(0,0,0,.2);
  z-index:999;
}
.fixed-cta a{ color:#fff; text-decoration:none; display:block; padding:8px 6px; }

/* =========================================================
   Tablet & up
   ========================================================= */
@media (min-width:640px){
  body{ font-size:15px; }
  .card{ padding:12px 12px 8px; padding-top:68px; }
  .card-title{ font-size:20px; }
  .card-meta-value{ font-size:14px; }
  .point-list li, .feature-list li{ font-size:14px; }
  .top3-thumb{ width:68px; height:68px; }
  .top3-title{ font-size:17px; }
  .top3-desc{ font-size:13px; }
}
