@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ（Appsil Design System）
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.2
*/

/* ==================================================
   1. Appsil デザイントークン（基本変数）
   ================================================== */
:root {
  --ap-primary: #2563eb;
  --ap-primary-dark: #1d4ed8;
  --ap-primary-light: #eff6ff;
  --ap-accent: #0ea5e9;
  --ap-text: #1e293b;
  --ap-text-sub: #64748b;
  --ap-bg: #f8fafc;
  --ap-surface: #ffffff;
  --ap-border: #e2e8f0;
  --ap-radius: 12px;
  --ap-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
}

/* ==================================================
   2. 記事本文の見出しコンポーネント（H2 / H3）
   ================================================== */
.article h2 {
  background: var(--ap-primary-light);
  border-left: 5px solid var(--ap-primary);
  border-radius: 0 8px 8px 0;
  color: var(--ap-text);
  font-size: 1.35rem;
  font-weight: 700;
  padding: 14px 18px;
  margin: 2.2em 0 1em;
  line-height: 1.45;
}

.article h3 {
  border-bottom: 2px solid var(--ap-border);
  position: relative;
  color: var(--ap-text);
  font-size: 1.15rem;
  font-weight: 700;
  padding: 0 0 8px 2px;
  margin: 1.8em 0 0.9em;
}

.article h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 64px;
  height: 2px;
  background: var(--ap-primary);
}

/* ==================================================
   3. アプリ紹介カードコンポーネント（.appshiru-app-card）
   ================================================== */
.appshiru-app-card {
  background: var(--ap-surface);
  border: 1px solid var(--ap-border);
  border-radius: var(--ap-radius);
  box-shadow: var(--ap-shadow);
  padding: 20px;
  margin: 24px 0;
}

.appshiru-app-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
}

.appshiru-app-icon {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  object-fit: cover;
  border: 1px solid var(--ap-border);
  flex-shrink: 0;
}

.appshiru-app-meta {
  flex: 1;
  min-width: 0;
}

.appshiru-app-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ap-text);
  margin: 0 0 4px;
  line-height: 1.35;
}

.appshiru-app-dev {
  font-size: 0.85rem;
  color: var(--ap-text-sub);
  margin: 0;
}

.appshiru-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--ap-primary-light);
  color: var(--ap-primary);
  margin-top: 6px;
}

/* ==================================================
   4. ストアダウンロードボタン（App Store / Google Play）
   ================================================== */
.app-dl-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 18px 0;
}

.app-dl-buttons a.btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px !important;
  border-radius: 8px !important;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
  margin-right: 0 !important;
}

.app-dl-buttons a.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.18);
  opacity: 0.94;
}

.app-dl-buttons a.btn-ios {
  background: #111827 !important;
  color: #ffffff !important;
}

.app-dl-buttons a.btn-android {
  background: #10b981 !important;
  color: #ffffff !important;
}

/* ==================================================
   5. スクリーンショット横スクロールギャラリー
   ================================================== */
.appshiru-shots-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 12px 4px 16px;
  margin: 18px 0;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.appshiru-shots-scroll img {
  height: 360px;
  width: auto;
  border-radius: 12px;
  border: 1px solid var(--ap-border);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
  flex-shrink: 0;
}

/* ==================================================
   6. レスポンシブ調整（スマホ画面）
   ================================================== */
@media screen and (max-width: 480px) {
  .article h2 {
    font-size: 1.18rem;
    padding: 12px 14px;
  }
  .appshiru-app-card {
    padding: 16px;
  }
  .appshiru-app-icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
  }
  .app-dl-buttons {
    flex-direction: column;
  }
  .app-dl-buttons a.btn {
    width: 100%;
  }
  .appshiru-shots-scroll img {
    height: 290px;
  }
}

/* ==================================================
   7. サイト全体ベース・ヘッダー・ナビゲーション
   ================================================== */
body {
  background-color: var(--ap-bg);
  color: var(--ap-text);
}

.header-container {
  background: var(--ap-surface);
  border-bottom: 1px solid var(--ap-border);
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03);
}

.navi-in > ul > li > a {
  font-weight: 700;
  color: var(--ap-text);
  transition: color 0.15s ease;
}

.navi-in > ul > li > a:hover {
  color: var(--ap-primary);
}

/* ==================================================
   8. 記事一覧（エントリーカード）コンポーネント
   ================================================== */
.entry-card-wrap {
  background: var(--ap-surface);
  border: 1px solid var(--ap-border);
  border-radius: var(--ap-radius);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  margin-bottom: 16px;
}

.entry-card-wrap:hover {
  transform: translateY(-2px);
  box-shadow: var(--ap-shadow);
  border-color: #cbd5e1;
}

.entry-card-thumb img {
  border-radius: 8px;
}

.entry-card-title {
  color: var(--ap-text);
  font-weight: 700;
  line-height: 1.45;
}

.cat-label {
  background-color: var(--ap-primary) !important;
  border: none !important;
  border-radius: 6px !important;
  font-weight: 600;
  padding: 3px 8px !important;
}

/* ==================================================
   9. ページネーション・ボタン共通
   ================================================== */
.pagination .page-numbers {
  border-radius: 8px;
  border: 1px solid var(--ap-border);
  background: var(--ap-surface);
  color: var(--ap-text);
  font-weight: 600;
}

.pagination .page-numbers.current {
  background: var(--ap-primary);
  border-color: var(--ap-primary);
  color: #ffffff;
}

/* ==================================================
   7. サイト全体ベース・ヘッダー・ナビゲーション
   ================================================== */
body {
  background-color: var(--ap-bg);
  color: var(--ap-text);
}

.header-container {
  background: var(--ap-surface);
  border-bottom: 1px solid var(--ap-border);
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03);
}

.navi-in > ul > li > a {
  font-weight: 700;
  color: var(--ap-text);
  transition: color 0.15s ease;
}

.navi-in > ul > li > a:hover {
  color: var(--ap-primary);
}

/* ==================================================
   8. 記事一覧（エントリーカード）コンポーネント
   ================================================== */
.entry-card-wrap {
  background: var(--ap-surface);
  border: 1px solid var(--ap-border);
  border-radius: var(--ap-radius);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  margin-bottom: 16px;
}

.entry-card-wrap:hover {
  transform: translateY(-2px);
  box-shadow: var(--ap-shadow);
  border-color: #cbd5e1;
}

.entry-card-thumb img {
  border-radius: 8px;
}

.entry-card-title {
  color: var(--ap-text);
  font-weight: 700;
  line-height: 1.45;
}

.cat-label {
  background-color: var(--ap-primary) !important;
  border: none !important;
  border-radius: 6px !important;
  font-weight: 600;
  padding: 3px 8px !important;
}

/* ==================================================
   9. ページネーション・ボタン共通
   ================================================== */
.pagination .page-numbers {
  border-radius: 8px;
  border: 1px solid var(--ap-border);
  background: var(--ap-surface);
  color: var(--ap-text);
  font-weight: 600;
}

.pagination .page-numbers.current {
  background: var(--ap-primary);
  border-color: var(--ap-primary);
  color: #ffffff;
}

/* ==================================================
   10. トップページ用コンポーネント（クリーンCSS管理）
   ================================================== */
.appshiru-hero {
  background: linear-gradient(135deg, #1e3a8a 0%, var(--ap-primary) 60%, var(--ap-accent) 100%);
  color: #ffffff;
  border-radius: 16px;
  padding: 44px 28px;
  margin-bottom: 36px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.2);
}

.appshiru-hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.18);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 999px;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
}

.appshiru-hero-title {
  color: #ffffff !important;
  font-size: 1.85rem !important;
  font-weight: 800;
  line-height: 1.4;
  margin: 0 0 14px !important;
  border: none !important;
  background: none !important;
  padding: 0 !important;
}

.appshiru-hero-lead {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.98rem;
  max-width: 600px;
  margin: 0 auto 24px;
  line-height: 1.65;
}

.appshiru-hero-search {
  max-width: 520px;
  margin: 0 auto;
  display: flex;
  gap: 8px;
  background: var(--ap-surface);
  padding: 6px;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.appshiru-hero-search input[type="search"] {
  flex: 1;
  border: none;
  outline: none;
  padding: 10px 18px;
  font-size: 0.95rem;
  border-radius: 999px;
  color: var(--ap-text);
  background: transparent;
}

.appshiru-hero-search button {
  background: var(--ap-primary);
  color: #ffffff;
  border: none;
  border-radius: 999px;
  padding: 10px 24px;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease;
}

.appshiru-hero-search button:hover {
  background: var(--ap-primary-dark);
}

/* ジャンルグリッド */
.appshiru-section {
  margin-bottom: 42px;
}

.appshiru-cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
}

.appshiru-cat-item {
  display: block;
  background: var(--ap-surface);
  border: 1px solid var(--ap-border);
  border-radius: var(--ap-radius);
  padding: 18px 14px;
  text-align: center;
  text-decoration: none !important;
  color: var(--ap-text) !important;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.appshiru-cat-item:hover {
  transform: translateY(-2px);
  border-color: var(--ap-primary);
  box-shadow: var(--ap-shadow);
  color: var(--ap-primary) !important;
}

/* 開発者向け掲載CTAボックス */
.appshiru-cta-box {
  background: var(--ap-surface);
  border: 2px solid var(--ap-border);
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  margin-top: 24px;
}

.appshiru-cta-title {
  font-size: 1.25rem !important;
  font-weight: 800;
  color: var(--ap-text);
  margin: 0 0 10px !important;
  border: none !important;
  padding: 0 !important;
}

.appshiru-cta-title::after {
  display: none !important;
}

.appshiru-cta-text {
  color: var(--ap-text-sub);
  font-size: 0.95rem;
  max-width: 560px;
  margin: 0 auto 20px;
  line-height: 1.6;
}

.appshiru-cta-btn {
  display: inline-block;
  background: var(--ap-primary);
  color: #ffffff !important;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 999px;
  text-decoration: none !important;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
  transition: background 0.15s ease, transform 0.15s ease;
}

.appshiru-cta-btn:hover {
  background: var(--ap-primary-dark);
  transform: translateY(-2px);
}

@media screen and (max-width: 480px) {
  .appshiru-hero {
    padding: 32px 18px;
  }
  .appshiru-hero-title {
    font-size: 1.45rem !important;
  }
  .appshiru-hero-search {
    flex-direction: column;
    border-radius: 14px;
    padding: 8px;
  }
  .appshiru-hero-search button {
    width: 100%;
  }
}

/* ==================================================
   11. トップページ専用セクション（クリーンCSS設計）
   ================================================== */
.ap-top-wrap {
  margin-bottom: 32px;
}

/* メインビジュアル */
.ap-mv {
  background: linear-gradient(135deg, #1e3a8a 0%, var(--ap-primary) 60%, var(--ap-accent) 100%);
  color: #ffffff;
  border-radius: 14px;
  padding: 36px 24px;
  margin-bottom: 32px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.18);
}

.ap-mv-sub {
  display: inline-block;
  background: rgba(255, 255, 255, 0.18);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 12px;
  letter-spacing: 0.04em;
}

.ap-mv-title {
  color: #ffffff;
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1.4;
  margin: 0 0 10px;
}

.ap-mv-desc {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.92rem;
  line-height: 1.6;
  max-width: 560px;
  margin: 0 auto 20px;
}

.ap-mv-search {
  max-width: 480px;
  margin: 0 auto;
  display: flex;
  gap: 6px;
  background: #ffffff;
  padding: 5px;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.ap-mv-search input[type="search"] {
  flex: 1;
  border: none;
  outline: none;
  padding: 8px 16px;
  font-size: 0.9rem;
  color: var(--ap-text);
  background: transparent;
}

.ap-mv-search button {
  background: var(--ap-primary);
  color: #ffffff;
  border: none;
  border-radius: 999px;
  padding: 8px 20px;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.ap-mv-search button:hover {
  background: var(--ap-primary-dark);
}

/* セクション共通ヘッダー */
.ap-sec {
  margin-bottom: 36px;
}

.ap-sec-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid var(--ap-border);
  padding-bottom: 10px;
  margin-bottom: 16px;
  position: relative;
}

.ap-sec-head::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 72px;
  height: 2px;
  background: var(--ap-primary);
}

.ap-sec-title {
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--ap-text);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ap-sec-badge {
  font-size: 0.7rem;
  font-weight: 700;
  background: var(--ap-primary-light);
  color: var(--ap-primary);
  padding: 2px 8px;
  border-radius: 4px;
}

.ap-more-link {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--ap-primary);
  text-decoration: none;
  white-space: nowrap;
}

.ap-more-link:hover {
  text-decoration: underline;
}

/* 3カラムグリッド（イチオシ・特集用） */
.ap-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.ap-card {
  background: var(--ap-surface);
  border: 1px solid var(--ap-border);
  border-radius: var(--ap-radius);
  overflow: hidden;
  text-decoration: none !important;
  color: var(--ap-text) !important;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.ap-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--ap-shadow);
  border-color: var(--ap-primary);
}

.ap-card-thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #f1f5f9;
  overflow: hidden;
}

.ap-card-thumb.is-square {
  aspect-ratio: 1 / 1;
  max-height: 180px;
}

.ap-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ap-card-body {
  padding: 12px 14px 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.ap-card-title {
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.45;
  color: var(--ap-text);
  margin: 0 0 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ap-card-snippet {
  font-size: 0.8rem;
  color: var(--ap-text-sub);
  line-height: 1.5;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 新着アプリリスト（アイコン＋アプリ名・1行テキスト / 3枠） */
.ap-new-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ap-new-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--ap-surface);
  border: 1px solid var(--ap-border);
  border-radius: var(--ap-radius);
  padding: 12px 14px;
  text-decoration: none !important;
  color: var(--ap-text) !important;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.ap-new-item:hover {
  border-color: var(--ap-primary);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
}

.ap-new-icon {
  width: 56px;
  height: 56px;
  border-radius: 13px;
  object-fit: cover;
  border: 1px solid var(--ap-border);
  flex-shrink: 0;
  background: #f1f5f9;
}

.ap-new-info {
  flex: 1;
  min-width: 0;
}

.ap-new-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 3px;
}

.ap-new-cat {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--ap-primary);
  background: var(--ap-primary-light);
  padding: 1px 7px;
  border-radius: 4px;
}

.ap-new-date {
  font-size: 0.75rem;
  color: var(--ap-text-sub);
}

.ap-new-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ap-text);
  margin: 0 0 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ap-new-desc {
  font-size: 0.8rem;
  color: var(--ap-text-sub);
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media screen and (max-width: 768px) {
  .ap-grid-3 {
    grid-template-columns: 1fr;
  }
  .ap-card {
    flex-direction: row;
    align-items: center;
  }
  .ap-card-thumb,
  .ap-card-thumb.is-square {
    width: 104px;
    height: 104px;
    max-height: none;
    flex-shrink: 0;
  }
  .ap-mv-title {
    font-size: 1.25rem;
  }
}









/* ==================================================
   12. フォント定義 & ヘッダー（M PLUS 1p統一・足元影強化・スマホハンバーガー修正）
   ================================================== */
/* 本文・読ませるテキスト：Zen Kaku Gothic New */
body,
p,
li,
input,
button,
textarea,
select,
.entry-content,
.ap-card-snippet,
.ap-new-desc,
.ap-mv-desc {
  font-family: "Zen Kaku Gothic New", -apple-system, BlinkMacSystemFont, sans-serif !important;
}

/* ヘッダー・メニュー・ロゴ・見出し類：M PLUS 1p */
header,
#header-container,
#navi,
#navi a,
#navi .item-label,
.mobile-header-menu-buttons,
.mobile-header-menu-buttons a,
.mobile-header-menu-buttons span,
.navi-menu-content,
.navi-menu-content a,
h1, h2, h3, h4, h5, h6,
.site-name-text,
.standing-text,
.ap-sec-title,
.ap-mv-title,
.ap-card-title,
.ap-new-title {
  font-family: "M PLUS 1p", "Zen Kaku Gothic New", sans-serif !important;
}

/* 親要素によるfixed追随途切れ防止 */
html, body, #container, .body {
  transform: none !important;
  filter: none !important;
  contain: none !important;
}

.header-container.fixed-header {
  display: none !important;
}

/* ロゴテキストの左側にアイコン画像を配置（PC・スマホ共通） */
.site-name-text-link,
.mobile-header-menu-buttons .logo-menu-button a {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  font-weight: 500 !important;
  line-height: 1.2 !important;
  color: var(--ap-text) !important;
  text-decoration: none !important;
  padding: 0 !important;
  margin: 0 !important;
  height: auto !important;
}

.site-name-text-link::before,
.mobile-header-menu-buttons .logo-menu-button a::before {
  content: "" !important;
  display: block !important;
  width: 40px;
  height: 40px;
  background-image: url("https://appnavi.info/wp-content/uploads/2026/11/appshiru_logo03.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 8px;
  flex-shrink: 0;
}

/* ロゴテキストの足元に落ちる影（前後に伸ばして濃く強調） */
.standing-text {
  position: relative;
  display: inline-block;
  z-index: 1;
  font-weight: 500 !important;
  letter-spacing: 0.12em;
}

.standing-text::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 0;
  z-index: -1;
  color: transparent;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.85), 0 0 24px rgba(0, 0, 0, 0.65);
  transform-origin: bottom center;
  transform: scaleY(0.50) skewX(-30deg) translateY(1px);
  -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,1) 0%, rgba(0,0,0,0.45) 55%, rgba(0,0,0,0) 100%);
  mask-image: linear-gradient(to top, rgba(0,0,0,1) 0%, rgba(0,0,0,0.45) 55%, rgba(0,0,0,0) 100%);
  pointer-events: none;
  white-space: nowrap;
}

/* PC表示（1024px以上） */
@media screen and (min-width: 1024px) {
  body {
    padding-top: 66px !important;
  }

  body > #header-container.header-container,
  #header-container.header-container,
  #header-container[style] {
    display: block !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: 66px !important;
    transform: none !important;
    transition: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 9999 !important;
    background: rgba(255, 255, 255, 0.78) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border-bottom: 1px solid var(--ap-border) !important;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06) !important;
  }

  #header-container-in.hlt-top-menu {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    max-width: 1200px !important;
    height: 66px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
    gap: 16px !important;
  }

  #header-container-in.hlt-top-menu::before,
  #header-container-in.hlt-top-menu::after,
  #header::before,
  #header::after,
  #header-in::before,
  #header-in::after {
    display: none !important;
    content: none !important;
  }

  #header.header,
  #header-in.header-in {
    display: flex !important;
    align-items: center !important;
    width: auto !important;
    max-width: none !important;
    height: 66px !important;
    min-height: 66px !important;
    margin: 0 !important;
    padding: 0 !important;
    flex-shrink: 0 !important;
  }

  #header-container-in.hlt-top-menu .tagline {
    display: none !important;
  }

  h1.logo.logo-header,
  div.logo.logo-header {
    display: flex !important;
    align-items: center !important;
    height: 66px !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.2 !important;
    font-size: 1.22rem !important;
    font-weight: 500 !important;
  }

  .site-name-text {
    font-weight: 500 !important;
  }

  #navi.navi {
    flex: 1 !important;
    width: auto !important;
    height: 66px !important;
    background: transparent !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  #navi-in.navi-in {
    width: auto !important;
    max-width: none !important;
    height: 66px !important;
    margin: 0 !important;
  }

  #navi-in.navi-in > ul {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: flex-end !important;
    align-items: center !important;
    height: 66px !important;
    gap: 4px !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  #navi-in.navi-in > ul > li {
    width: auto !important;
    min-width: 0 !important;
    flex-shrink: 0 !important;
    height: 66px !important;
    display: flex !important;
    align-items: center !important;
  }

  #navi-in.navi-in > ul > li > a {
    padding: 0 12px !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    color: var(--ap-text) !important;
    height: 66px !important;
    line-height: 66px !important;
    white-space: nowrap !important;
  }

  #navi-in.navi-in > ul > li > a:hover {
    background: transparent !important;
    color: var(--ap-primary) !important;
  }

  .mobile-header-menu-buttons {
    display: none !important;
  }
}

/* スマホ・タブレット表示（1023px以下） */
@media screen and (max-width: 1023px) {
  body {
    padding-top: 56px !important;
  }

  #header-container.header-container,
  #navi.navi {
    display: none !important;
  }

  ul.mobile-header-menu-buttons {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: 56px !important;
    z-index: 9999 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin: 0 !important;
    padding: 0 14px !important;
    background: rgba(255, 255, 255, 0.78) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border-bottom: 1px solid var(--ap-border) !important;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.06) !important;
    list-style: none !important;
  }

  /* ロゴと最初のハンバーガー以外の余分なモバイルボタン（黒地ボタン等）をすべて非表示 */
  ul.mobile-header-menu-buttons > li {
    display: none !important;
  }

  ul.mobile-header-menu-buttons > li.logo-menu-button,
  ul.mobile-header-menu-buttons > li.navi-menu-button:first-of-type,
  ul.mobile-header-menu-buttons > li.navi-menu-button {
    display: flex !important;
    align-items: center !important;
    height: 56px !important;
    width: auto !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* 万が一 navi-menu-button が2つある場合、2つ目以降を隠す */
  ul.mobile-header-menu-buttons > li.navi-menu-button ~ li.navi-menu-button {
    display: none !important;
  }

  ul.mobile-header-menu-buttons > li.logo-menu-button {
    order: 1 !important;
    margin-right: auto !important;
    text-align: left !important;
  }

  ul.mobile-header-menu-buttons > li.logo-menu-button a,
  ul.mobile-header-menu-buttons > li.logo-menu-button a .standing-text {
    font-family: "M PLUS 1p", sans-serif !important;
    font-size: 1.05rem !important;
    font-weight: 500 !important;
  }

  ul.mobile-header-menu-buttons > li.logo-menu-button a::before {
    width: 30px !important;
    height: 30px !important;
  }

  ul.mobile-header-menu-buttons > li.navi-menu-button {
    order: 2 !important;
    margin-left: auto !important;
    background: transparent !important;
  }

  /* スマホのハンバーガー：二本線で下の線を短くデザイン */
  ul.mobile-header-menu-buttons > li.navi-menu-button > a,
  ul.mobile-header-menu-buttons > li.navi-menu-button > label {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
    padding: 0 !important;
    background: transparent !important;
    color: transparent !important;
    font-size: 0 !important;
    cursor: pointer !important;
  }

  /* 既存のハンバーガーアイコンフォント・ラベル文字・不要な疑似要素を隠す */
  ul.mobile-header-menu-buttons > li.navi-menu-button .menu-icon,
  ul.mobile-header-menu-buttons > li.navi-menu-button .menu-caption,
  ul.mobile-header-menu-buttons > li.navi-menu-button span {
    display: none !important;
  }

  /* a側の擬似要素は完全に消してlabel側1つだけに描画 */
  ul.mobile-header-menu-buttons > li.navi-menu-button > a::before,
  ul.mobile-header-menu-buttons > li.navi-menu-button > a::after {
    display: none !important;
    content: none !important;
  }

  /* 上の長い線（22px） */
  ul.mobile-header-menu-buttons > li.navi-menu-button > label::before {
    content: "" !important;
    position: absolute !important;
    right: 10px !important;
    top: 17px !important;
    width: 22px !important;
    height: 2px !important;
    background-color: var(--ap-text) !important;
    border-radius: 2px !important;
  }

  /* 下の短い線（14px・右揃え） */
  ul.mobile-header-menu-buttons > li.navi-menu-button > label::after {
    content: "" !important;
    position: absolute !important;
    right: 10px !important;
    top: 25px !important;
    width: 14px !important;
    height: 2px !important;
    background-color: var(--ap-text) !important;
    border-radius: 2px !important;
  }

  /* ドロワーメニューをヘッダー下（56px）から画面いっぱいへ正常に展開 */
  .navi-menu-content,
  #navi-menu-content {
    position: fixed !important;
    top: 56px !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: calc(100vh - 56px) !important;
    max-height: calc(100vh - 56px) !important;
    overflow-y: auto !important;
    background: rgba(255, 255, 255, 0.97) !important;
    backdrop-filter: blur(12px) !important;
    z-index: 10000 !important;
    padding-top: 8px !important;
  }

  .navi-menu-content .menu-drawer {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .navi-menu-content .menu-drawer li {
    display: block !important;
    width: 100% !important;
  }

  .navi-menu-content .menu-drawer li a {
    display: block !important;
    font-family: "M PLUS 1p", sans-serif !important;
    font-size: 0.95rem !important;
    font-weight: 500 !important;
    color: var(--ap-text) !important;
    border-bottom: 1px solid var(--ap-border) !important;
    padding: 15px 20px !important;
    line-height: 1.4 !important;
  }

  .navi-menu-content .menu-drawer li a:hover {
    color: var(--ap-primary) !important;
    background: var(--ap-primary-light) !important;
  }
}


/* ==================================================
   14. スマホハンバーガー完全1本化（二重アイコン・二重li強制排除）
   ================================================== */
@media screen and (max-width: 1023px) {
  /* mobile-header-menu-buttons 直下の li はロゴと最初のnavi-menu-button以外すべて非表示 */
  ul.mobile-header-menu-buttons > li:not(.logo-menu-button):not(.navi-menu-button) {
    display: none !important;
  }

  /* navi-menu-button が複数存在する場合、最初以外のすべてを非表示 */
  ul.mobile-header-menu-buttons > li.navi-menu-button ~ li.navi-menu-button {
    display: none !important;
  }

  /* ボタン内部のアイコンフォント（FontAwesome等）・テキスト・SVGをすべて透明化/非表示 */
  ul.mobile-header-menu-buttons > li.navi-menu-button i,
  ul.mobile-header-menu-buttons > li.navi-menu-button svg,
  ul.mobile-header-menu-buttons > li.navi-menu-button .fa,
  ul.mobile-header-menu-buttons > li.navi-menu-button .fas,
  ul.mobile-header-menu-buttons > li.navi-menu-button [class*="icon"] {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
  }
}


/* ==================================================
   15. スマホハンバーガー二重描画の最終解消（#navi-menu-openの擬似要素を無効化）
   ================================================== */
@media screen and (max-width: 1023px) {
  #navi-menu-open::before,
  #navi-menu-open::after,
  #navi-menu-close::before,
  #navi-menu-close::after,
  ul.mobile-header-menu-buttons > li.navi-menu-button > label::before,
  ul.mobile-header-menu-buttons > li.navi-menu-button > label::after {
    display: none !important;
    content: none !important;
  }

  /* クリック領域はlabelいっぱいに広げる */
  #navi-menu-open {
    display: block !important;
    width: 44px !important;
    height: 56px !important;
    margin: 0 !important;
    padding: 0 !important;
    cursor: pointer !important;
  }

  /* 閉じるボタン（×）はドロワー展開時に表示されるよう復元 */
  #navi-menu-content .navi-menu-close-button .fa-close {
    display: inline-block !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
}




/* ==================================================
   13. スマホハンバーガー1本化（クリーン再定義）
   ================================================== */
@media screen and (max-width: 1023px) {
  .mobile-footer-menu-buttons,
  ul.mobile-footer-menu-buttons,
  #mobile-footer-menu-buttons {
    display: none !important;
  }

  /* ロゴとハンバーガーのliのみ表示（menu-button併記でも必ず表示させる） */
  ul.mobile-header-menu-buttons > li {
    display: none !important;
  }

  ul.mobile-header-menu-buttons > li.logo-menu-button,
  ul.mobile-header-menu-buttons > li.navi-menu-button {
    display: flex !important;
    align-items: center !important;
    height: 56px !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  ul.mobile-header-menu-buttons > li.logo-menu-button {
    order: 1 !important;
    margin-right: auto !important;
  }

  ul.mobile-header-menu-buttons > li.navi-menu-button {
    order: 2 !important;
    margin-left: auto !important;
  }

  /* li側の疑似要素は使わず、#navi-menu-open（label）の疑似要素だけで1セット描画 */
  ul.mobile-header-menu-buttons > li.navi-menu-button::before,
  ul.mobile-header-menu-buttons > li.navi-menu-button::after {
    display: none !important;
    content: none !important;
  }

  #navi-menu-open {
    position: relative !important;
    display: block !important;
    width: 44px !important;
    height: 44px !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    cursor: pointer !important;
  }

  #navi-menu-open .navi-menu-icon,
  #navi-menu-open .navi-menu-caption {
    display: none !important;
  }

  /* 上の長い線（22px） */
  #navi-menu-open::before {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    right: 6px !important;
    top: 17px !important;
    width: 22px !important;
    height: 2px !important;
    background-color: var(--ap-text) !important;
    border-radius: 2px !important;
  }

  /* 下の短い線（14px・右揃え） */
  #navi-menu-open::after {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    right: 6px !important;
    top: 25px !important;
    width: 14px !important;
    height: 2px !important;
    background-color: var(--ap-text) !important;
    border-radius: 2px !important;
  }

  /* ドロワー内の閉じるボタン（×）は表示する */
  #navi-menu-content .navi-menu-close-button .fa-close {
    display: inline-block !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
}


/* ==================================================
   14. スマホハンバーガー右端固定配置
   ================================================== */
@media screen and (max-width: 1023px) {
  ul.mobile-header-menu-buttons {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    padding: 0 12px 0 14px !important;
    box-sizing: border-box !important;
  }

  ul.mobile-header-menu-buttons > li.logo-menu-button {
    flex: 0 1 auto !important;
    width: auto !important;
    max-width: calc(100% - 56px) !important;
    margin-right: auto !important;
    margin-left: 0 !important;
    float: none !important;
  }

  ul.mobile-header-menu-buttons > li.navi-menu-button {
    flex: 0 0 44px !important;
    width: 44px !important;
    min-width: 44px !important;
    max-width: 44px !important;
    margin-left: auto !important;
    margin-right: 0 !important;
    float: none !important;
    justify-content: flex-end !important;
  }

  #navi-menu-open::before,
  #navi-menu-open::after {
    right: 2px !important;
  }
}


/* ==================================================
   15. スマホハンバーガー最右端寄せ & ドロワー閉じるボタン整形
   ================================================== */
@media screen and (max-width: 1023px) {
  /* clearfixの擬似要素を消して右端の余白を完全除去 */
  ul.mobile-header-menu-buttons::before,
  ul.mobile-header-menu-buttons::after {
    display: none !important;
    content: none !important;
  }

  ul.mobile-header-menu-buttons {
    padding: 0 8px 0 14px !important;
  }

  #navi-menu-open::before,
  #navi-menu-open::after {
    right: 0 !important;
  }

  /* ドロワー上部の「変な長方形に囲まれたバツ」を枠なし・スッキリした×ボタンへ整形 */
  #navi-menu-content .navi-menu-close-button {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    width: 100% !important;
    height: 48px !important;
    padding: 0 16px !important;
    margin: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    color: var(--ap-text) !important;
    font-size: 1.35rem !important;
    cursor: pointer !important;
  }

  #navi-menu-content .navi-menu-close-button::before,
  #navi-menu-content .navi-menu-close-button::after {
    display: none !important;
    content: none !important;
  }
}


/* ==================================================
   16. スマホハンバーガー極限右寄せ & 閉じるボタンの縦長枠解消
   ================================================== */
@media screen and (max-width: 1023px) {
  ul.mobile-header-menu-buttons {
    max-width: none !important;
    width: 100vw !important;
    margin: 0 !important;
    padding: 0 12px 0 14px !important;
    left: 0 !important;
    right: 0 !important;
  }

  ul.mobile-header-menu-buttons > li.navi-menu-button {
    width: 32px !important;
    min-width: 32px !important;
    max-width: 32px !important;
    flex: 0 0 32px !important;
    margin-left: auto !important;
    margin-right: 0 !important;
  }

  #navi-menu-open {
    width: 32px !important;
    height: 44px !important;
  }

  #navi-menu-open::before,
  #navi-menu-open::after {
    right: 0 !important;
  }

  /* 閉じるボタンの縦長四角枠を完全に消去し、右上のクリーンな×ボタンにする */
  #navi-menu-content .navi-menu-close-button,
  .navi-menu-close-button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
    min-height: 44px !important;
    max-height: 44px !important;
    margin: 4px 10px 4px auto !important;
    padding: 0 !important;
    border: none !important;
    border-radius: 50% !important;
    background: transparent !important;
    box-shadow: none !important;
    line-height: 1 !important;
    color: var(--ap-text) !important;
    font-size: 1.4rem !important;
    cursor: pointer !important;
  }

  #navi-menu-content .navi-menu-close-button .fa-close {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
    line-height: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
  }
}


/* ==================================================
   17. スマホハンバーガー絶対右端固定 & モダン×ボタン再構築
   ================================================== */
@media screen and (max-width: 1023px) {
  ul.mobile-header-menu-buttons {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: 56px !important;
    padding: 0 14px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
  }

  ul.mobile-header-menu-buttons > li.logo-menu-button {
    margin: 0 !important;
    padding: 0 !important;
    max-width: calc(100% - 60px) !important;
  }

  /* ハンバーガーボタンのliをヘッダー右端14pxへ絶対配置（他要素の影響を完全遮断） */
  ul.mobile-header-menu-buttons > li.navi-menu-button.menu-button {
    position: absolute !important;
    top: 0 !important;
    right: 14px !important;
    left: auto !important;
    width: 44px !important;
    height: 56px !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
  }

  #navi-menu-open.menu-open {
    position: relative !important;
    width: 44px !important;
    height: 56px !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  #navi-menu-open.menu-open::before {
    right: 0 !important;
    top: 23px !important;
    width: 22px !important;
  }

  #navi-menu-open.menu-open::after {
    right: 0 !important;
    top: 31px !important;
    width: 14px !important;
  }

  /* ドロワー内の「四角囲みの縦長バツ」を完全にリセットし、右上のクリーンな×線アイコンに置換 */
  #navi-menu-content label.navi-menu-close-button.menu-close-button {
    position: relative !important;
    display: block !important;
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    max-width: 44px !important;
    min-height: 44px !important;
    max-height: 44px !important;
    margin: 6px 10px 6px auto !important;
    padding: 0 !important;
    border: 0 !important;
    outline: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    font-size: 0 !important;
    color: transparent !important;
    overflow: hidden !important;
    cursor: pointer !important;
  }

  /* 既存のFontAwesomeアイコン(.fa-close)を隠してCSSの綺麗な×線を描画 */
  #navi-menu-content label.navi-menu-close-button.menu-close-button .fa,
  #navi-menu-content label.navi-menu-close-button.menu-close-button .fa-close {
    display: none !important;
  }

  #navi-menu-content label.navi-menu-close-button.menu-close-button::before,
  #navi-menu-content label.navi-menu-close-button.menu-close-button::after {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    top: 21px !important;
    right: 4px !important;
    width: 22px !important;
    height: 2px !important;
    background-color: var(--ap-text) !important;
    border-radius: 2px !important;
  }

  #navi-menu-content label.navi-menu-close-button.menu-close-button::before {
    transform: rotate(45deg) !important;
  }

  #navi-menu-content label.navi-menu-close-button.menu-close-button::after {
    transform: rotate(-45deg) !important;
  }
}


/* ==================================================
   18. スマホハンバーガー画面右上直接固定（親liレイアウト完全バイパス）
   ================================================== */
@media screen and (max-width: 1023px) {
  body > ul.mobile-header-menu-buttons,
  ul.mobile-header-menu-buttons {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    height: 56px !important;
    margin: 0 !important;
    padding: 0 14px !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
  }

  /* 開閉ラベル自体を画面右上角（right: 0, top: 0）に固定 */
  body > ul.mobile-header-menu-buttons #navi-menu-open,
  ul.mobile-header-menu-buttons #navi-menu-open.menu-open {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    left: auto !important;
    width: 56px !important;
    height: 56px !important;
    margin: 0 !important;
    padding: 0 !important;
    z-index: 10001 !important;
    display: block !important;
  }

  body > ul.mobile-header-menu-buttons #navi-menu-open::before,
  ul.mobile-header-menu-buttons #navi-menu-open.menu-open::before {
    right: 16px !important;
    top: 23px !important;
    width: 22px !important;
  }

  body > ul.mobile-header-menu-buttons #navi-menu-open::after,
  ul.mobile-header-menu-buttons #navi-menu-open.menu-open::after {
    right: 16px !important;
    top: 31px !important;
    width: 14px !important;
  }
}


/* ==================================================
   19. トップページ全幅メインビジュアル（テキストオーバーレイ＆旧MV削除）
   ================================================== */
/* 旧メインビジュアル枠は重複防止のため即座に非表示 */
.ap-mv,
.appshiru-mv,
.appshiru-hero {
  display: none !important;
}

body.home,
body.front-page {
  margin-top: 0 !important;
}

.ap-hero-mv {
  position: relative !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  background-color: #0f172a;
  line-height: 1.5 !important;
}

.ap-hero-mv-inner {
  position: relative !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

.ap-hero-mv-img {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
}

/* 文字の視認性を高める左→右のグラデーションベール */
.ap-hero-mv-scrim {
  position: absolute !important;
  inset: 0 !important;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.92) 0%,
    rgba(255, 255, 255, 0.78) 45%,
    rgba(255, 255, 255, 0.22) 78%,
    rgba(255, 255, 255, 0.05) 100%
  ) !important;
  pointer-events: none !important;
  z-index: 1 !important;
}

.ap-hero-mv-overlay {
  position: absolute !important;
  inset: 0 !important;
  z-index: 2 !important;
  display: flex !important;
  align-items: center !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 0 24px !important;
  box-sizing: border-box !important;
}

.ap-hero-mv-content {
  max-width: 600px !important;
  color: var(--ap-text, #0f172a) !important;
}

.ap-hero-badge {
  display: inline-block !important;
  font-family: "M PLUS 1p", sans-serif !important;
  font-size: 0.76rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.08em !important;
  color: var(--ap-primary, #2563eb) !important;
  background: rgba(37, 99, 235, 0.1) !important;
  border: 1px solid rgba(37, 99, 235, 0.22) !important;
  padding: 4px 12px !important;
  border-radius: 999px !important;
  margin-bottom: 14px !important;
}

.ap-hero-title,
.ap-hero-mv-content h1,
.ap-hero-mv-content h2 {
  font-family: "M PLUS 1p", sans-serif !important;
  font-size: clamp(1.35rem, 2.6vw, 2.15rem) !important;
  font-weight: 700 !important;
  line-height: 1.38 !important;
  letter-spacing: 0.02em !important;
  color: #0f172a !important;
  margin: 0 0 12px !important;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
}

.ap-hero-desc,
.ap-hero-mv-content p {
  font-family: "Zen Kaku Gothic New", sans-serif !important;
  font-size: clamp(0.86rem, 1.1vw, 0.98rem) !important;
  font-weight: 400 !important;
  line-height: 1.7 !important;
  color: #334155 !important;
  margin: 0 0 20px !important;
}

.ap-hero-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
}

.ap-hero-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-family: "M PLUS 1p", sans-serif !important;
  font-size: 0.88rem !important;
  font-weight: 500 !important;
  padding: 10px 20px !important;
  border-radius: 999px !important;
  text-decoration: none !important;
  transition: transform 0.18s ease, box-shadow 0.18s ease !important;
}

.ap-hero-btn-primary {
  background: var(--ap-primary, #2563eb) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.28) !important;
}

.ap-hero-btn-primary:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.36) !important;
}

.ap-hero-btn-secondary {
  background: rgba(255, 255, 255, 0.9) !important;
  color: #0f172a !important;
  border: 1px solid rgba(15, 23, 42, 0.14) !important;
}

.ap-hero-btn-secondary:hover {
  background: #ffffff !important;
}

/* PC表示（1024px以上） */
@media screen and (min-width: 1024px) {
  body.home,
  body.front-page {
    padding-top: 66px !important;
  }

  .ap-hero-mv-img {
    height: 440px !important;
  }
}

/* スマホ・タブレット表示（1023px以下） */
@media screen and (max-width: 1023px) {
  body.home,
  body.front-page {
    padding-top: 56px !important;
  }

  .ap-hero-mv-img {
    height: 300px !important;
  }

  .ap-hero-mv-scrim {
    background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.88) 0%,
      rgba(255, 255, 255, 0.84) 65%,
      rgba(255, 255, 255, 0.65) 100%
    ) !important;
  }

  .ap-hero-mv-overlay {
    padding: 0 16px !important;
  }

  .ap-hero-badge {
    font-size: 0.7rem !important;
    margin-bottom: 8px !important;
    padding: 3px 10px !important;
  }

  .ap-hero-title,
  .ap-hero-mv-content h1,
  .ap-hero-mv-content h2 {
    font-size: 1.22rem !important;
    margin-bottom: 8px !important;
  }

  .ap-hero-desc,
  .ap-hero-mv-content p {
    font-size: 0.82rem !important;
    line-height: 1.55 !important;
    margin-bottom: 14px !important;
  }

  .ap-hero-btn {
    font-size: 0.8rem !important;
    padding: 8px 15px !important;
  }
}

body.home #content,
body.front-page #content {
  margin-top: 24px !important;
  padding-top: 0 !important;
}

/* ==================================================
   20. メインビジュアル内のテキスト＆検索窓の揃え調整・スマホ白透過軽減
   ================================================== */
/* PC表示（1024px以上）：検索窓の上のテキストを検索窓と左揃え */
@media screen and (min-width: 1024px) {
  .ap-hero-mv-overlay {
    justify-content: flex-start !important;
  }

  .ap-hero-mv-content,
  .ap-hero-mv-content > * {
    text-align: left !important;
    margin-left: 0 !important;
    margin-right: auto !important;
  }

  .ap-hero-mv-content form,
  .ap-hero-mv-content [class*="search"] {
    margin-left: 0 !important;
    margin-right: auto !important;
    justify-content: flex-start !important;
  }
}

/* スマホ・タブレット表示（1023px以下）：検索窓含めて左右センター揃え＆白透過を抑える */
@media screen and (max-width: 1023px) {
  /* 白透過グラデーションを薄くして背景画像をしっかり見せる */
  .ap-hero-mv-scrim {
    background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.62) 0%,
      rgba(255, 255, 255, 0.52) 60%,
      rgba(255, 255, 255, 0.35) 100%
    ) !important;
  }

  .ap-hero-mv-overlay {
    justify-content: center !important;
  }

  .ap-hero-mv-content {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }

  .ap-hero-mv-content > *,
  .ap-hero-mv-content h1,
  .ap-hero-mv-content h2,
  .ap-hero-mv-content p,
  .ap-hero-mv-content span {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-shadow: 0 1px 8px rgba(255, 255, 255, 0.9) !important;
  }

  .ap-hero-mv-content form,
  .ap-hero-mv-content [class*="search"],
  .ap-hero-actions {
    width: 100% !important;
    max-width: 420px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    justify-content: center !important;
  }
}

/* ==================================================
   21. メインビジュアル ラベル地色・検索窓幅折り返し・スマホ左トリミング
   ================================================== */
/* 「アプリ発見・紹介メディア APPSHIRU」に地色をつけてラベル風に */
.ap-hero-mv-content .ap-hero-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-family: "M PLUS 1p", sans-serif !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  color: #1d4ed8 !important;
  background: rgba(255, 255, 255, 0.94) !important;
  border: 1px solid rgba(37, 99, 235, 0.25) !important;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.08) !important;
  padding: 6px 14px !important;
  border-radius: 999px !important;
  margin-bottom: 14px !important;
  line-height: 1.3 !important;
  text-shadow: none !important;
}

/* 説明テキストのスタイル */
.ap-hero-mv-content .ap-hero-desc {
  font-family: "Zen Kaku Gothic New", sans-serif !important;
  font-weight: 500 !important;
  color: #0f172a !important;
  line-height: 1.7 !important;
  margin-top: 0 !important;
  margin-bottom: 18px !important;
  box-sizing: border-box !important;
}

/* PC表示（1024px以上）：検索窓と同じ幅で折り返し・左揃え */
@media screen and (min-width: 1024px) {
  .ap-hero-mv-content .ap-hero-desc {
    max-width: 480px;
    font-size: 0.96rem !important;
    text-align: left !important;
    margin-left: 0 !important;
    margin-right: auto !important;
  }

  .ap-hero-mv-content .ap-hero-badge {
    margin-left: 0 !important;
    margin-right: auto !important;
  }
}

/* スマホ・タブレット表示（1023px以下）：トリミングを左にずらす */
@media screen and (max-width: 1023px) {
  .ap-hero-mv-img {
    object-position: 15% center !important;
  }

  .ap-hero-mv-content .ap-hero-badge {
    font-size: 0.72rem !important;
    padding: 5px 12px !important;
    margin-bottom: 10px !important;
  }

  .ap-hero-mv-content .ap-hero-desc {
    font-size: 0.84rem !important;
    max-width: 340px !important;
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

/* ==================================================
   22. メインビジュアル ラベル地色変更（囲み罫なし）・スマホ幅統一・画像左寄せ
   ================================================== */
/* 囲み罫をなくし、白以外の地色（ブランドブルー）だけのラベルに */
.ap-hero-mv-content .ap-hero-badge {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-family: "M PLUS 1p", sans-serif !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  color: #ffffff !important;
  background: #2563eb !important;
  border: none !important;
  outline: none !important;
  box-shadow: 0 3px 12px rgba(37, 99, 235, 0.28) !important;
  padding: 6px 16px !important;
  border-radius: 6px !important;
  margin-bottom: 14px !important;
  line-height: 1.35 !important;
  text-shadow: none !important;
  box-sizing: border-box !important;
}

/* スマホ・タブレット表示（1023px以下） */
@media screen and (max-width: 1023px) {
  /* 画像自体を左へずらす（右寄りの領域を表示基準にする） */
  .ap-hero-mv-img {
    object-position: 78% center !important;
  }

  /* スマホは地色ラベルの幅を検索窓と同じ幅（100% / max-width: 420px）に統一 */
  .ap-hero-mv-content .ap-hero-badge {
    display: flex !important;
    width: 100% !important;
    max-width: 420px !important;
    font-size: 0.74rem !important;
    padding: 6px 12px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-bottom: 10px !important;
  }
}

/* ==================================================
   23. メインビジュアル ラベル配色変更（薄い水色地色 × 青文字）
   ================================================== */
.ap-hero-mv-content .ap-hero-badge {
  background: #e0f2fe !important;
  color: #1d4ed8 !important;
  border: none !important;
  box-shadow: 0 2px 8px rgba(14, 165, 233, 0.14) !important;
}

/* ==================================================
   24. スマホのラベル下余白（20px）＆説明文行間（1.3）調整
   ================================================== */
@media screen and (max-width: 1023px) {
  .ap-hero-mv-content .ap-hero-badge {
    margin-bottom: 20px !important;
  }

  .ap-hero-mv-content .ap-hero-desc {
    line-height: 1.3 !important;
  }
}

/* ==================================================
   25. スマホのメインキャッチコピー（font-size / line-height / margin-bottom）調整
   ================================================== */
@media screen and (max-width: 1023px) {
  .ap-hero-mv-content .ap-hero-title,
  .ap-hero-mv-content h1,
  .ap-hero-mv-content h2 {
    font-size: 1.3rem !important;
    line-height: 1.3 !important;
    margin-bottom: 12px !important;
  }
}

/* ==================================================
   26. スマホのメインビジュアル白透過を少しだけ濃く調整
   ================================================== */
@media screen and (max-width: 1023px) {
  .ap-hero-mv-scrim {
    background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.76) 0%,
      rgba(255, 255, 255, 0.68) 60%,
      rgba(255, 255, 255, 0.55) 100%
    ) !important;
  }
}

/* ==================================================
   27. 完全1カラム化（サイドバー非表示）＆ハイブリッド横幅設定
   （トップ・一覧系: 1120px / 個別記事・固定ページ: 780px）
   ================================================== */
/* サイドバーを全ページで非表示にして1カラム化 */
#sidebar,
.sidebar {
  display: none !important;
}

/* コンテンツ外枠（.wrap / #content-in）のリセットと中央配置 */
#content .wrap,
#content-in.wrap {
  display: block !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box !important;
}

#main,
main.main {
  float: none !important;
  width: 100% !important;
  max-width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  border: none !important;
  background: transparent !important;
  box-sizing: border-box !important;
}

/* トップページ・カテゴリー・タグ・検索一覧：最大幅 1120px */
body.home #content-in.wrap,
body.front-page #content-in.wrap,
body.archive #content-in.wrap,
body.search #content-in.wrap {
  max-width: 1120px !important;
  padding-left: 24px !important;
  padding-right: 24px !important;
}

/* メインビジュアル内のテキストコンテナも 1120px に合わせて左端ラインを統一 */
.ap-hero-mv-overlay {
  max-width: 1120px !important;
}

/* 個別記事・固定ページ（トップ除く）：読みやすい 1カラム黄金幅 780px */
body.single #content-in.wrap,
body.page:not(.front-page):not(.home) #content-in.wrap {
  max-width: 780px !important;
  padding-left: 24px !important;
  padding-right: 24px !important;
}

/* スマホ表示（767px以下）の左右余白調整 */
@media screen and (max-width: 767px) {
  body.home #content-in.wrap,
  body.front-page #content-in.wrap,
  body.archive #content-in.wrap,
  body.search #content-in.wrap,
  body.single #content-in.wrap,
  body.page:not(.front-page):not(.home) #content-in.wrap {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
}





/* ==================================================
   28. 「新着アプリ情報（.ap-new-list）」セクション内の3列カードグリッド
   （アイコン左・テキスト右の横並びスタイル維持）
   ================================================== */
.ap-new-list {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 18px !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

.ap-new-item {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start !important;
  gap: 14px !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 16px !important;
  background: #ffffff !important;
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
  border-radius: 14px !important;
  box-shadow: 0 3px 12px rgba(15, 23, 42, 0.04) !important;
  text-decoration: none !important;
  color: inherit !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease !important;
  box-sizing: border-box !important;
}

.ap-new-item:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.09) !important;
  border-color: rgba(37, 99, 235, 0.25) !important;
}

/* 左側：正方形アプリアイコン */
.ap-new-item .ap-new-icon {
  display: block !important;
  width: 72px !important;
  height: 72px !important;
  min-width: 72px !important;
  max-width: 72px !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: cover !important;
  border-radius: 16px !important;
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
  margin: 0 !important;
  flex-shrink: 0 !important;
  background: #f8fafc !important;
}

/* 右側：テキスト情報エリア */
.ap-new-item .ap-new-info {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}

/* カテゴリー＆日付メタ行 */
.ap-new-item .ap-new-meta {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
  margin: 0 0 6px !important;
}

.ap-new-item .ap-new-cat {
  display: inline-block !important;
  font-family: "M PLUS 1p", sans-serif !important;
  font-size: 0.68rem !important;
  font-weight: 700 !important;
  color: #1d4ed8 !important;
  background: #e0f2fe !important;
  padding: 2px 7px !important;
  border-radius: 5px !important;
  line-height: 1.3 !important;
}

.ap-new-item .ap-new-date {
  font-family: "M PLUS 1p", sans-serif !important;
  font-size: 0.72rem !important;
  color: #64748b !important;
  line-height: 1.3 !important;
}

/* 記事タイトル */
.ap-new-item .ap-new-title {
  font-family: "M PLUS 1p", sans-serif !important;
  font-size: 0.92rem !important;
  font-weight: 700 !important;
  line-height: 1.45 !important;
  color: #0f172a !important;
  margin: 0 0 6px !important;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

/* 抜粋説明文 */
.ap-new-item .ap-new-desc {
  font-family: "Zen Kaku Gothic New", sans-serif !important;
  font-size: 0.8rem !important;
  line-height: 1.5 !important;
  color: #475569 !important;
  margin: 0 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

/* タブレット表示（640px〜1023px）：2列 */
@media screen and (max-width: 1023px) {
  .ap-new-list {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 16px !important;
  }
}

/* スマホ表示（639px以下）：1列 */
@media screen and (max-width: 639px) {
  .ap-new-list {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .ap-new-item {
    padding: 14px !important;
    gap: 12px !important;
  }

  .ap-new-item .ap-new-icon {
    width: 64px !important;
    height: 64px !important;
    min-width: 64px !important;
    max-width: 64px !important;
    border-radius: 14px !important;
  }
}

/* ==================================================
   29. 新着アプリ情報（.ap-new-list）のテキスト右はみ出し完全防止
   ================================================== */
.ap-new-list,
.ap-new-item,
.ap-new-item .ap-new-info,
.ap-new-item .ap-new-meta,
.ap-new-item .ap-new-title,
.ap-new-item .ap-new-desc {
  max-width: 100% !important;
  box-sizing: border-box !important;
}

.ap-new-item {
  overflow: hidden !important;
}

.ap-new-item .ap-new-info {
  flex: 1 1 0% !important;
  width: 0 !important;
  min-width: 0 !important;
  overflow: hidden !important;
}

.ap-new-item .ap-new-title,
.ap-new-item .ap-new-desc {
  white-space: normal !important;
  word-break: break-word !important;
  overflow-wrap: anywhere !important;
  width: 100% !important;
}

.ap-new-item .ap-new-cat {
  max-width: 100% !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

/* ==================================================
   30. 新着アプリ情報（.ap-new-list）スニペット非表示・タイトル2行＋「…」すっきりレイアウト
   ================================================== */
.ap-new-item {
  align-items: center !important;
}

.ap-new-item .ap-new-desc {
  display: none !important;
}

.ap-new-item .ap-new-meta {
  margin: 0 0 5px !important;
}

.ap-new-item .ap-new-title {
  margin: 0 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

/* ==================================================
   32. 公式ストアランキング専用パーツ（開発元・更新日時・入手ボタン）
   ================================================== */
.ap-rank-updated {
  font-family: "M PLUS 1p", sans-serif !important;
  font-size: 0.75rem !important;
  color: #64748b !important;
  background: #f1f5f9 !important;
  padding: 4px 10px !important;
  border-radius: 999px !important;
}

.ap-rank-dev {
  font-family: "Zen Kaku Gothic New", sans-serif !important;
  font-size: 0.74rem !important;
  color: #64748b !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.ap-rank-store-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-family: "M PLUS 1p", sans-serif !important;
  font-size: 0.74rem !important;
  font-weight: 700 !important;
  color: #1d4ed8 !important;
  background: #eff6ff !important;
  padding: 5px 12px !important;
  border-radius: 999px !important;
  flex-shrink: 0 !important;
  transition: backgr
}

.ap-rank-item:hover .ap-rank-store-btn {
  background: #2563eb !important;
  color: #ffffff !important;
}

.ap-rank-store-btn.ap-btn-android {
  color: #047857 !important;
  background: #ecfdf5 !important;
}

.ap-rank-item:hover .ap-rank-store-btn.ap-btn-android {
  background: #059669 !important;
  color: #ffffff !important;
}

.ap-rank-empty {
  font-size: 0.85rem !important;
  color: #64748b !important;
  text-align: center !important;
  padding: 24px 0 !important;
  margin: 0 !important;
}

/* ==================================================
   33. トップページ旧サイトコンテンツ（Cocoon標準 #list・ページネーション等）完全非表示
   ================================================== */
body.home #list,
body.category-215 #list,
body.front-page #list,
body.home .pagination,
body.front-page .pagination,
body.home .pagination-next,
body.front-page .pagination-next,
body.home #main > .archive-title,
body.front-page #main > .archive-title,
body.home #main > article,
body.front-page #main > article,
body.home .front-top-page-content,
body.front-page .front-top-page-content {
  display: none !important;
}

/* アプシル専用トップページコンテナは確実に表示 */
body.home .ap-home-wrap,
body.front-page .ap-home-wrap,
body.home .ap-sec,
body.front-page .ap-sec {
  display: block !important;
}

/* ==================================================
   34. ストア人気アプリランキング＆カテゴリーバナー 完全スタイル（最優先適用）
   ================================================== */
#ap-ranking,
#ap-categories {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 0 48px !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}

#ap-ranking .ap-sec-title-group,
#ap-categories .ap-sec-title-group {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
}

#ap-ranking .ap-sec-sub,
#ap-categories .ap-sec-sub {
  font-family: "Zen Kaku Gothic New", sans-serif !important;
  font-size: 0.82rem !important;
  color: #64748b !important;
  font-weight: 500 !important;
}

#ap-ranking .ap-rank-updated {
  font-family: "M PLUS 1p", sans-serif !important;
  font-size: 0.74rem !important;
  color: #64748b !important;
  background: #f1f5f9 !important;
  padding: 4px 10px !important;
  border-radius: 999px !important;
}

/* タブ切り替え（PCでは非表示・1023px以下で表示） */
#ap-ranking .ap-rank-tabs {
  display: none !important;
}

@media screen and (max-width: 1023px) {
  #ap-ranking .ap-rank-tabs {
    display: flex !important;
    gap: 8px !important;
    background: #f1f5f9 !important;
    padding: 5px !important;
    border-radius: 12px !important;
    margin-bottom: 32px !important;
  }

  #ap-ranking .ap-rank-tab {
    flex: 1 1 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    padding: 10px 12px !important;
    border: none !important;
    border-radius: 9px !important;
    background: transparent !important;
    font-family: "M PLUS 1p", sans-serif !important;
    font-size: 0.84rem !important;
    font-weight: 700 !important;
    color: #475569 !important;
    cursor: pointer !important;
    box-shadow: none !important;
  }

  #ap-ranking .ap-rank-tab.is-active {
    background: #ffffff !important;
    color: #0f172a !important;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08) !important;
  }

  #ap-ranking .ap-tab-dot {
    width: 8px !important;
    height: 8px !important;
    border-radius: 50% !important;
    display: inline-block !important;
  }
  #ap-ranking .ap-dot-ios { background: #2563eb !important; }
  #ap-ranking .ap-dot-android { background: #10b981 !important; }
}

/* PC 2列並列グリッド */
#ap-ranking .ap-rank-columns {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 24px !important;
  width: 100% !important;
}

#ap-ranking .ap-rank-col {
  display: block !important;
  background: #ffffff !important;
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
  border-radius: 16px !important;
  padding: 20px !important;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04) !important;
  box-sizing: border-box !important;
}

@media screen and (max-width: 1023px) {
  #ap-ranking .ap-rank-columns {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }
  #ap-ranking .ap-rank-col {
    display: none !important;
    padding: 16px !important;
  }
  #ap-ranking .ap-rank-col.is-active {
    display: block !important;
  }
}

#ap-ranking .ap-rank-col-head {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding-bottom: 14px !important;
  margin-bottom: 14px !important;
  border-bottom: 1px solid #f1f5f9 !important;
}

#ap-ranking .ap-store-badge {
  font-family: "M PLUS 1p", sans-serif !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  padding: 3px 9px !important;
  border-radius: 6px !important;
  flex-shrink: 0 !important;
}

#ap-ranking .ap-badge-ios {
  background: #eff6ff !important;
  color: #1d4ed8 !important;
}

#ap-ranking .ap-badge-android {
  background: #ecfdf5 !important;
  color: #047857 !important;
}

#ap-ranking .ap-rank-col-title {
  font-family: "M PLUS 1p", sans-serif !important;
  font-size: 0.96rem !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
  flex: 1 1 auto !important;
}

#ap-ranking .ap-col-more {
  font-family: "M PLUS 1p", sans-serif !important;
  font-size: 0.76rem !important;
  font-weight: 700 !important;
  color: #2563eb !important;
  text-decoration: none !important;
  flex-shrink: 0 !important;
}

/* ランキング各行 */
#ap-ranking .ap-rank-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
}

#ap-ranking .ap-rank-item {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 10px 12px !important;
  border-radius: 12px !important;
  background: #f8fafc !important;
  border: 1px solid transparent !important;
  text-decoration: none !important;
  color: inherit !important;
  transition: all 0.2s ease !important;
  box-sizing: border-box !important;
}

#ap-ranking .ap-rank-item:hover {
  background: #ffffff !important;
  border-color: rgba(37, 99, 235, 0.25) !important;
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.08) !important;
  transform: translateX(2px) !important;
}

#ap-ranking .ap-rank-num {
  width: 26px !important;
  height: 26px !important;
  min-width: 26px !important;
  border-radius: 8px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-family: "M PLUS 1p", sans-serif !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  background: #e2e8f0 !important;
  color: #475569 !important;
  flex-shrink: 0 !important;
}

#ap-ranking .ap-rank-1 {
  background: linear-gradient(135deg, #fbbf24, #f59e0b) !important;
  color: #ffffff !important;
}
#ap-ranking .ap-rank-2 {
  background: linear-gradient(135deg, #94a3b8, #64748b) !important;
  color: #ffffff !important;
}
#ap-ranking .ap-rank-3 {
  background: linear-gradient(135deg, #d97706, #b45309) !important;
  color: #ffffff !important;
}

#ap-ranking .ap-rank-icon {
  width: 50px !important;
  height: 50px !important;
  min-width: 50px !important;
  max-width: 50px !important;
  border-radius: 12px !important;
  object-fit: cover !important;
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
  background: #ffffff !important;
  margin: 0 !important;
  flex-shrink: 0 !important;
}

#ap-ranking .ap-rank-info {
  flex: 1 1 0% !important;
  min-width: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 3px !important;
}

#ap-ranking .ap-rank-title {
  font-family: "M PLUS 1p", sans-serif !important;
  font-size: 0.88rem !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  color: #0f172a !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

#ap-ranking .ap-rank-dev {
  font-family: "Zen Kaku Gothic New", sans-serif !important;
  font-size: 0.74rem !important;
  color: #64748b !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

#ap-ranking .ap-rank-store-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-family: "M PLUS 1p", sans-serif !important;
  font-size: 0.74rem !important;
  font-weight: 700 !important;
  color: #1d4ed8 !important;
  background: #eff6ff !important;
  padding: 5px 12px !important;
  border-radius: 999px !important;
  flex-shrink: 0 !important;
}

#ap-ranking .ap-rank-store-btn.ap-btn-android {
  color: #047857 !important;
  background: #ecfdf5 !important;
}

/* カテゴリーバナーグリッド */
#ap-categories .ap-cat-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  grid-auto-rows: 1fr !important;
  align-items: stretch !important;
  gap: 16px !important;
  width: 100% !important;
}

@media screen and (max-width: 1023px) {
  #ap-categories .ap-cat-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 14px !important;
  }
}

@media screen and (max-width: 639px) {
  #ap-categories .ap-cat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }
}

#ap-categories .ap-cat-card {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 16px 14px !important;
  height: 100% !important;
  background: #ffffff !important;
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
  border-radius: 14px !important;
  box-shadow: 0 3px 12px rgba(15, 23, 42, 0.03) !important;
  text-decoration: none !important;
  color: inherit !important;
  box-sizing: border-box !important;
}

#ap-categories .ap-cat-icon {
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  border-radius: 12px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.35rem !important;
  background: #eff6ff !important;
  flex-shrink: 0 !important;
}

#ap-categories .ap-cat-body {
  flex: 1 1 0% !important;
  min-width: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 3px !important;
}

#ap-categories .ap-cat-name {
  font-family: "M PLUS 1p", sans-serif !important;
  font-size: 0.88rem !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  color: #0f172a !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
}

#ap-categories .ap-cat-sub {
  font-family: "Zen Kaku Gothic New", sans-serif !important;
  font-size: 0.74rem !important;
  line-height: 1.45 !important;
  color: #64748b !important;
  margin: 0 !important;
  white-space: normal !important;
  word-break: keep-all !important;
  overflow-wrap: anywhere !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

#ap-categories .ap-cat-count {
  display: inline-block !important;
  align-self: flex-start !important;
  font-family: "M PLUS 1p", sans-serif !important;
  font-size: 0.68rem !important;
  font-weight: 700 !important;
  color: #2563eb !important;
  background: #eff6ff !important;
  padding: 1px 7px !important;
  border-radius: 5px !important;
  margin-top: 2px !important;
}

#ap-categories .ap-cat-arrow {
  font-family: "M PLUS 1p", sans-serif !important;
  font-size: 0.9rem !important;
  font-weight: 700 !important;
  color: #94a3b8 !important;
  flex-shrink: 0 !important;
}

@media screen and (max-width: 639px) {
  #ap-categories .ap-cat-sub,
  #ap-categories .ap-cat-arrow {
    display: none !important;
  }
}

/* ==================================================
   35. 無料ランキング / セールスランキング 切り替え
   ================================================== */
#ap-ranking .ap-rank-controls{display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:10px!important;}
#ap-ranking .ap-chart-type-tabs{display:inline-flex!important;align-items:center!important;background:#f1f5f9!important;padding:4px!important;border-radius:10px!important;gap:4px!important;}
#ap-ranking .ap-chart-btn{border:none!important;background:transparent!important;font-family:"M PLUS 1p",sans-serif!important;font-size:0.78rem!important;font-weight:700!important;color:#475569!important;padding:6px 12px!important;border-radius:7px!important;cursor:pointer!important;box-shadow:none!important;}
#ap-ranking .ap-chart-btn.is-active{background:#2563eb!important;color:#ffffff!important;box-shadow:0 2px 6px rgba(37,99,235,0.25)!important;}

/* ==================================================
   36. ランキング切替表示修正（無料/セールス重複防止）＆ ストアカテゴリーUI
   ================================================== */
#ap-ranking .ap-rank-list { display: none !important; }
#ap-ranking .ap-rank-list.is-chart-active { display: flex !important; flex-direction: column !important; gap: 10px !important; }
#ap-categories .ap-store-cat-card { display: flex !important; flex-direction: column !important; align-items: stretch !important; justify-content: space-between !important; gap: 12px !important; padding: 16px !important; }
#ap-categories .ap-store-cat-top { display: flex !important; align-items: center !important; gap: 12px !important; }
#ap-categories .ap-store-cat-links { display: flex !important; gap: 8px !important; margin-top: auto !important; }
#ap-categories .ap-sc-btn { flex: 1 1 50% !important; text-align: center !important; font-family: "M PLUS 1p", sans-serif !important; font-size: 0.72rem !important; font-weight: 700 !important; padding: 6px 8px !important; border-radius: 8px !important; text-decoration: none !important; transition: all 0.2s ease !important; }
#ap-categories .ap-sc-ios { background: #eff6ff !important; color: #1d4ed8 !important; }
#ap-categories .ap-sc-ios:hover { background: #2563eb !important; color: #ffffff !important; }
#ap-categories .ap-sc-android { background: #ecfdf5 !important; color: #047857 !important; }
#ap-categories .ap-sc-android:hover { background: #059669 !important; color: #ffffff !important; }
@media screen and (max-width: 639px) { #ap-categories .ap-store-cat-links { flex-direction: column !important; gap: 6px !important; } }

.ap-hero-search{display:flex!important;align-items:center!important;width:100%!important;max-width:540px!important;margin:18px auto 0!important;background:#fff!important;border-radius:9999px!important;padding:5px 6px 5px 18px!important;box-shadow:0 10px 25px rgba(15,23,42,.2)!important;}.ap-hero-search-input{flex:1 1 auto!important;min-width:0!important;border:none!important;background:transparent!important;font-family:"M PLUS 1p",sans-serif!important;font-size:.9rem!important;color:#0f172a!important;outline:none!important;padding:6px 8px!important;}.ap-hero-search-btn{flex:0 0 auto!important;background:#2563eb!important;color:#fff!important;border:none!important;border-radius:9999px!important;padding:9px 22px!important;font-family:"M PLUS 1p",sans-serif!important;font-size:.85rem!important;font-weight:700!important;cursor:pointer!important;transition:background .2s!important;}.ap-hero-search-btn:hover{background:#1d4ed8!important;}

/* ==================================================
   37. スマホ表示時のランキング横はみ出し完全修正
   ================================================== */
#ap-ranking,
#ap-ranking .ap-rank-columns,
#ap-ranking .ap-rank-col,
#ap-ranking .ap-rank-list,
#ap-ranking .ap-rank-item {
  max-width: 100% !important;
  box-sizing: border-box !important;
  min-width: 0 !important;
}

#ap-ranking .ap-rank-item {
  width: 100% !important;
  overflow: hidden !important;
}

@media screen and (max-width: 768px) {
  #ap-ranking .ap-sec-head {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 10px !important;
  }
  #ap-ranking .ap-rank-controls {
    width: 100% !important;
    justify-content: space-between !important;
  }
  #ap-ranking .ap-chart-type-tabs {
    flex: 1 1 auto !important;
    display: flex !important;
  }
  #ap-ranking .ap-chart-btn {
    flex: 1 1 50% !important;
    text-align: center !important;
    padding: 7px 8px !important;
    font-size: 0.75rem !important;
  }
  #ap-ranking .ap-rank-tabs {
    width: 100% !important;
    box-sizing: border-box !important;
  }
  #ap-ranking .ap-rank-tab {
    font-size: 0.78rem !important;
    padding: 9px 6px !important;
    white-space: nowrap !important;
  }
  #ap-ranking .ap-rank-col {
    padding: 12px !important;
    overflow: hidden !important;
  }
  #ap-ranking .ap-rank-col-head {
    gap: 6px !important;
    flex-wrap: nowrap !important;
  }
  #ap-ranking .ap-rank-col-title {
    font-size: 0.86rem !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
  }
  #ap-ranking .ap-rank-item {
    gap: 8px !important;
    padding: 8px 10px !important;
  }
  #ap-ranking .ap-rank-num {
    width: 22px !important;
    height: 22px !important;
    min-width: 22px !important;
    font-size: 0.74rem !important;
  }
  #ap-ranking .ap-rank-icon {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    max-width: 42px !important;
    border-radius: 10px !important;
  }
  #ap-ranking .ap-rank-title {
    font-size: 0.82rem !important;
  }
  #ap-ranking .ap-rank-dev {
    font-size: 0.7rem !important;
  }
  #ap-ranking .ap-rank-store-btn {
    font-size: 0.68rem !important;
    padding: 4px 8px !important;
  }
}

@media screen and (max-width: 390px) {
  #ap-ranking .ap-rank-store-btn {
    display: none !important;
  }
}

/* ==================================================
   38. アプリランキング専用ページ（TOP50・カテゴリー切替・スマホ最適化）
   ================================================== */
#ap-rank-page,
#ap-rank-page * {
  box-sizing: border-box !important;
}

#ap-rank-page {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto !important;
}

.ap-rp-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  margin-bottom: 18px !important;
  padding-bottom: 14px !important;
  border-bottom: 1px solid #e2e8f0 !important;
}

.ap-rp-lead {
  margin: 0 !important;
  font-size: 0.88rem !important;
  color: #475569 !important;
  line-height: 1.6 !important;
}

.ap-rp-updated {
  font-family: "M PLUS 1p", sans-serif !important;
  font-size: 0.74rem !important;
  color: #64748b !important;
  background: #f1f5f9 !important;
  padding: 4px 10px !important;
  border-radius: 999px !important;
  white-space: nowrap !important;
}

.ap-rp-toolbar {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
  margin-bottom: 14px !important;
}

.ap-rp-store-tabs,
.ap-rp-type-tabs {
  display: inline-flex !important;
  background: #f1f5f9 !important;
  padding: 4px !important;
  border-radius: 12px !important;
  gap: 4px !important;
}

.ap-rp-store-btn,
.ap-rp-type-btn {
  border: none !important;
  background: transparent !important;
  font-family: "M PLUS 1p", sans-serif !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  color: #475569 !important;
  padding: 8px 14px !important;
  border-radius: 9px !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  box-shadow: none !important;
  transition: all 0.2s ease !important;
  white-space: nowrap !important;
}

.ap-rp-store-btn.is-active {
  background: #ffffff !important;
  color: #0f172a !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08) !important;
}

.ap-rp-type-btn.is-active {
  background: #2563eb !important;
  color: #ffffff !important;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25) !important;
}

.ap-rp-dot {
  width: 8px !important;
  height: 8px !important;
  border-radius: 50% !important;
  display: inline-block !important;
}
.ap-rp-dot.is-ios { background: #2563eb !important; }
.ap-rp-dot.is-and { background: #10b981 !important; }

/* カテゴリー横スクロールピル */
.ap-rp-cat-scroller {
  width: 100% !important;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch !important;
  scrollbar-width: none !important;
  margin-bottom: 18px !important;
  padding-bottom: 4px !important;
}
.ap-rp-cat-scroller::-webkit-scrollbar {
  display: none !important;
}

.ap-rp-cat-track {
  display: inline-flex !important;
  gap: 8px !important;
  min-width: 100% !important;
}

.ap-rp-cat-pill {
  flex: 0 0 auto !important;
  border: 1px solid #cbd5e1 !important;
  background: #ffffff !important;
  color: #334155 !important;
  font-family: "M PLUS 1p", sans-serif !important;
  font-size: 0.8rem !important;
  font-weight: 700 !important;
  padding: 7px 14px !important;
  border-radius: 999px !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  transition: all 0.2s ease !important;
  box-shadow: none !important;
}

.ap-rp-cat-pill:hover {
  border-color: #2563eb !important;
  color: #2563
}

.ap-rp-cat-pill.is-active {
  background: #0f172a !important;
  border-color: #0f172a !important;
  color: #ffffff !important;
}

.ap-rp-subhead {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
  margin-bottom: 12px !important;
}

.ap-rp-current-title {
  margin: 0 !important;
  font-family: "M PLUS 1p", sans-serif !important;
  font-size: 1.05rem !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  border: none !important;
  padding: 0 !important;
  background: transparent !important;
}

.ap-rp-count {
  font-size: 0.76rem !important;
  font-weight: 700 !important;
  color: #64748b !important;
  white-space: nowrap !important;
}

.ap-rp-loading {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  padding: 16px !important;
  margin-bottom: 12px !important;
  background: #eff6ff !important;
  color: #1d4ed8 !important;
  border-radius: 12px !important;
  font-size: 0.84rem !important;
  font-weight: 700 !important;
}

.ap-rp-spinner {
  width: 18px !important;
  height: 18px !important;
  border: 2.5px solid rgba(37, 99, 235, 0.25) !important;
  border-top-color: #2563eb !important;
  border-radius: 50% !important;
  animation: apRpSpin 0.7s linear infinite !important;
}
@keyframes apRpSpin { to { transform: rotate(360deg); } }

.ap-rp-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  width: 100% !important;
}

.ap-rp-item {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  width: 100% !important;
  padding: 12px 16px !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 14px !important;
  text-decoration: none !important;
  color: inherit !important;
  transition: all 0.2s ease !important;
  overflow: hidden !important;
}

.ap-rp-item.is-rank-folded {
  display: none !important;
}

.ap-rp-item:hover {
  border-color: #3b82f6 !important;
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.08) !important;
  transform: translateY(-1px) !important;
}

.ap-rp-num {
  width: 30px !important;
  height: 30px !important;
  min-width: 30px !important;
  border-radius: 9px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-family: "M PLUS 1p", sans-serif !important;
  font-size: 0.84rem !important;
  font-weight: 800 !important;
  background: #f1f5f9 !important;
  color: #475569 !important;
  flex-shrink: 0 !important;
}

.ap-rp-num-1 { background: linear-gradient(135deg, #fbbf24, #f59e0b) !important; color: #ffffff !important; }
.ap-rp-num-2 { background: linear-gradient(135deg, #94a3b8, #64748b) !important; color: #ffffff !important; }
.ap-rp-num-3 { background: linear-gradient(135deg, #d97706, #b45309) !important; color: #ffffff !important; }

.ap-rp-icon {
  width: 56px !important;
  height: 56px !important;
  min-width: 56px !important;
  max-width: 56px !important;
  border-radius: 14px !important;
  object-fit: cover !important;
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
  margin: 0 !important;
  flex-shrink: 0 !important;
}

.ap-rp-info {
  flex: 1 1 0% !important;
  min-width: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 5px !important;
}

.ap-rp-name {
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
  font-family: "M PLUS 1p", sans-serif !important;
  font-size: 0.94rem !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  line-height: 1.35 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.ap-rp-meta {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  min-width: 0 !important;
}

.ap-rp-genre-tag {
  flex-shrink: 0 !important;
  font-size: 0.68rem !important;
  font-weight: 700 !important;
  color: #2563eb !important;
  background: #eff6ff !important;
  padding: 2px 8px !important;
  border-radius: 6px !important;
}

.ap-rp-dev {
  font-size: 0.76rem !important;
  color: #64748b !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.ap-rp-cta {
  flex-shrink: 0 !important;
  font-family: "M PLUS 1p", sans-serif !important;
  font-size: 0.76rem !important;
  font-weight: 700 !important;
  padding: 7px 14px !important;
  border-radius: 999px !important;
}
.ap-rp-cta.is-ios { background: #eff6ff !important; color: #1d4ed8 !important; }
.ap-rp-cta.is-and { background: #ecfdf5 !important; color: #047857 !important; }

.ap-rp-more-wrap {
  margin-top: 18px !important;
  text-align: center !important;
}

.ap-rp-more-btn {
  width: 100% !important;
  max-width: 420px !important;
  padding: 13px 20px !important;
  border: 1.5px solid #2563eb !important;
  background: #ffffff !important;
  color: #2563eb !important;
  font-family: "M PLUS 1p", sans-serif !important;
  font-size: 0.86rem !important;
  font-weight: 700 !important;
  border-radius: 12px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}
.ap-rp-more-btn:hover {
  background: #2563eb !important;
  color: #ffffff !important;
}

@media screen and (max-width: 768px) {
  .ap-rp-toolbar {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 8px !important;
  }
  .ap-rp-store-tabs,
  .ap-rp-type-tabs {
    width: 100% !important;
    display: flex !important;
  }
  .ap-rp-store-btn,
  .ap-rp-type-btn {
    flex: 1 1 50% !important;
    padding: 9px 6px !important;
    font-size: 0.78rem !important;
  }
  .ap-rp-current-title {
    font-size: 0.92rem !i
  }
  .ap-rp-item {
    gap: 10px !important;
    padding: 10px 12px !important;
  }
  .ap-rp-num {
    width: 24px !important;
    height: 24px !important;
    min-width: 24px !important;
    font-size: 0.76rem !important;
  }
  .ap-rp-icon {
    width: 46px !important;
    height: 46px !important;
    min-width: 46px !important;
    max-width: 46px !important;
    border-radius: 11px !important;
  }
  .ap-rp-name {
    font-size: 0.85rem !important;
  }
  .ap-rp-genre-tag {
    font-size: 0.64rem !important;
    padding: 1px 6px !important;
  }
  .ap-rp-dev {
    font-size: 0.7rem !important;
  }
  .ap-rp-cta {
    font-size: 0.68rem !important;
    padding: 5px 10px !important;
  }
}

@media screen and (max-width: 400px) {
  .ap-rp-cta {
    display: none !important;
  }
}
/* ==================================================
   39. カテゴリータブ（PC: 2行折り返し / スマホ: ‹ › 矢印付き横スライド）
   ================================================== */
.ap-rp-cat-nav {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  width: 100% !important;
  margin-bottom: 18px !important;
}

.ap-rp-cat-nav .ap-rp-cat-scroller {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* PC（769px以上）：矢印を隠し、2行折り返しで全カテゴリー一覧表示 */
@media screen and (min-width: 769px) {
  .ap-rp-cat-arrow {
    display: none !important;
  }
  .ap-rp-cat-nav .ap-rp-cat-scroller {
    overflow: visible !important;
  }
  .ap-rp-cat-nav .ap-rp-cat-track {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    width: 100% !important;
  }
}

/* スマホ（768px以下）：左右に ‹ › 矢印ボタンを表示し、横スライド対応 */
@media screen and (max-width: 768px) {
  .ap-rp-cat-arrow {
    flex: 0 0 30px !important;
    width: 30px !important;
    height: 32px !important;
    min-width: 30px !important;
    padding: 0 !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 999px !important;
    background: #ffffff !important;
    color: #0f172a !important;
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.06) !important;
    transition: opacity 0.2s ease, background 0.2s ease !important;
    user-select: none !important;
  }
  .ap-rp-cat-arrow:active {
    background: #eff6ff !important;
    border-color: #2563eb !important;
    color: #2563eb !important;
  }
  .ap-rp-cat-arrow.is-disabled {
    opacity: 0.3 !important;
    pointer-events: none !important;
    box-shadow: none !important;
  }
  .ap-rp-cat-nav .ap-rp-cat-scroller {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    touch-action: pan-x !important;
    scroll-behavior: smooth !important;
  }
  .ap-rp-cat-nav .ap-rp-cat-track {
    display: inline-flex !important;
    flex-wrap: nowrap !important;
    gap: 7px !important;
    min-width: max-content !important;
  }
  .ap-rp-cat-pill {
    padding: 6px 12px !important;
    font-size: 0.76rem !important;
  }
}
/* ==================================================
   40. カテゴリー矢印ボタン改善（初期‹非表示・角丸長方形・上下完全中央）
   ================================================== */
@media screen and (max-width: 768px) {
  .ap-rp-cat-arrow {
    flex: 0 0 28px !important;
    width: 28px !important;
    height: 32px !important;
    min-width: 28px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 8px !important;
    background: #ffffff !important;
    color: #0f172a !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.06) !important;
    transition: background 0.15s ease, border-color 0.15s ease !important;
  }
  .ap-rp-cat-arrow svg {
    display: block !important;
    margin: 0 !important;
    pointer-events: none !important;
  }
  .ap-rp-cat-arrow.is-hidden {
    display: none !important;
  }
}
/* ==================================================
   41. トップページ最下部とフッター間の余白調整
   ================================================== */
body.home .ap-home-wrap,
body.front-page .ap-home-wrap {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

body.home .ap-home-wrap > .ap-sec:last-child,
body.front-page .ap-home-wrap > .ap-sec:last-child,
#ap-categories {
  margin-bottom: 12px !important;
  padding-bottom: 0 !important;
}

body.home #main,
body.front-page #main,
body.home #content-in,
body.front-page #content-in,
body.home #content,
body.front-page #content {
  margin-bottom: 0 !important;
  padding-bottom: 12px !important;
}

body.home #footer,
body.front-page #footer {
  margin-top: 12px !important;
}

/* ==================================================
   42. #content / #content-in / #main / .ap-home-wrap の多重padding解消
   ================================================== */
body.home #content,
body.front-page #content,
body.home #main,
body.front-page #main,
body.home .ap-home-wrap,
body.front-page .ap-home-wrap {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-bottom: 0 !important;
}

body.home #content-in.wrap,
body.front-page #content-in.wrap {
  padding-top: 0 !important;
  padding-bottom: 16px !important;
  padding-left: 24px !important;
  padding-right: 24px !important;
  margin-bottom: 0 !important;
}

@media screen and (max-width: 767px) {
  body.home #content-in.wrap,
  body.front-page #content-in.wrap {
    padding-left: 16px !important;
    padding-right: 16px !important;
    padding-bottom: 12px !important;
  }
}

body.home #footer,
body.front-page #footer {
  margin-top: 0 !important;
}

/* ==================================================
   43. オリジナル共通フッター（上品なミディアムスレート地色＋白抜き文字・新ロゴ対応）
   ================================================== */
#footer,
.footer,
#go-to-top {
  display: none !important;
}

#ap-site-footer,
#ap-site-footer * {
  box-sizing: border-box !important;
}

#ap-site-footer {
  display: block !important;
  width: 100% !important;
  background: linear-gradient(180deg, #334155 0%, #273449 100%) !important;
  color: #f1f5f9 !important;
  border-top: 3px solid #3b82f6 !important;
  margin-top: 24px !important;
  padding: 40px 0 24px !important;
  font-family: "Zen Kaku Gothic New", "M PLUS 1p", sans-serif !important;
}

body.home #ap-site-footer,
body.front-page #ap-site-footer {
  margin-top: 16px !important;
}

.ap-ft-inner {
  width: 100% !important;
  max-width: 1120px !important;
  margin: 0 auto !important;
  padding: 0 24px !important;
}

.ap-ft-grid {
  display: grid !important;
  grid-template-columns: 1.3fr 0.85fr 1.15fr !important;
  gap: 36px !important;
  padding-bottom: 30px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16) !important;
}

.ap-ft-logo {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  text-decoration: none !important;
  margin-bottom: 12px !important;
}

.ap-ft-logo-img {
  width: 40px !important;
  height: 40px !important;
  min-width: 40px !important;
  border-radius: 0 !important;
  object-fit: contain !important;
  background: transparent !important;
  filter: drop-shadow(0 2px 6px rgba(15, 23, 42, 0.25)) !important;
  margin: 0 !important;
}

.ap-ft-logo-text {
  font-family: "M PLUS 1p", sans-serif !important;
  font-size: 1.12rem !important;
  font-weight: 500 !important;
  color: #ffffff !important;
  letter-spacing: 0.1em !important;
  line-height: 1.2 !important;
  display: inline-block !important;
}

.ap-ft-desc {
  margin: 0 0 16px !important;
  font-size: 0.82rem !important;
  line-height: 1.7 !important;
  color: #e2e8f0 !important;
}

/* デベロッパー向けアプリリリース大型ボタン */
.ap-ft-dev-box {
  margin-top: 4px !important;
  width: 100% !important;
}

.ap-ft-dev-btn {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 14px !important;
  width: 100% !important;
  max-width: 100% !important;
  padding: 15px 18px !important;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  border-radius: 12px !important;
  text-decoration: none !important;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.22) !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease !important;
}

.ap-ft-dev-btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.3) !important;
  color: #ffffff !important;
}

.ap-ft-dev-badge {
  flex-shrink: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-family: "M PLUS 1p", sans-serif !important;
  font-size: 0.72rem !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
  background: #ffffff !important;
  color: #1d4ed8 !important;
  padding: 8px 12px !important;
  border-radius: 7px !important;
  letter-spacing: 0.02em !important;
}

.ap-ft-dev-label {
  flex: 1 !important;
  font-family: "M PLUS 1p", sans-serif !important;
  font-size: 1.05rem !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;
  color: #ffffff !important;
  letter-spacing: 0.02em !important;
  text-align: left !important;
}

@media screen and (max-width: 480px) {
  .ap-ft-dev-btn {
    padding: 13px 14px !important;
    gap: 10px !important;
  }
  .ap-ft-dev-badge {
    font-size: 0.68rem !important;
    padding: 7px 9px !important;
  }
  .ap-ft-dev-label {
    font-size: 0.96rem !important;
  }
}

.ap-ft-heading {
  margin: 0 0 14px !important;
  padding: 0 0 8px !important;
  border: none !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18) !important;
  background: transparent !important;
  font-family: "M PLUS 1p", sans-serif !important;
  font-size: 0.9rem !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  position: relative !important;
}

.ap-ft-heading::after {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  bottom: -1px !important;
  width: 36px !important;
  height: 2px !important;
  background: #60a5fa !important;
}

.ap-ft-list {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 9px !important;
}

.ap-ft-cat-list {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 9px 14px !important;
}

.ap-ft-list li {
  margin: 0 !important;
  padding: 0 !important;
}

.ap-ft-list a {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-size: 0.83rem !important;
  font-weight: 500 !important;
  color: #f1f5f9 !important;
  text-decoration: none !important;
  transition: color 0.18s ease, transform 0.18s ease !important;
}

.ap-ft-list a::before {
  content: "›" !important;
  color: #93c5fd !important;
  font-weight: 800 !important;
}

.ap-ft-list a:hover {
  color: #ffffff !important;
  transform: translateX(2px) !important;
  text-decoration: underline !important;
}

.ap-ft-bottom {
  padding-top: 20px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
}

.ap-ft-legal {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 20px !important;
}

.ap-ft-legal a {
  font-size: 0.8rem !important;
  font-weight: 600 !important;
  color: #e2e8f0 !important;
  text-decoration: none !important;
  transition: color 0.18s ease !important;
}

.ap-ft-legal a:hover {
  color: #ffffff !important;
  text-decoration: underline !important;
}

.ap-ft-copy-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
}

.ap-ft-copy {
  margin: 0 !important;
  font-size: 0.76rem !important;
  color: #cbd5e1 !important;
}

.ap-ft-pagetop {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 7px 14px !important;
  border: 1px solid rgba(255, 255, 255, 0.28) !important;
  border-radius: 8px !important;
  background: rgba(255, 255, 255, 0.12) !important;
  color: #ffffff !important;
  font-family: "M PLUS 1p", sans-serif !important;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}

.ap-ft-pagetop:hover {
  background: #2563eb !important;
  border-color: #2563eb !important;
  color: #ffffff !important;
}

@media screen and (max-width: 768px) {
  #ap-site-footer {
    padding: 32px 0 20px !important;
  }
  .ap-ft-inner {
    padding: 0 16px !important;
  }
  .ap-ft-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
    padding-bottom: 24px !important;
  }
  .ap-ft-dev-btn {
    max-width: 100% !important;
  }
  .ap-ft-list:not(.ap-ft-cat-list) {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 9px 14px !important;
  }
  .ap-ft-copy-row {
    flex-direction: column-reverse !important;
    align-items: flex-start !important;
  }
  .ap-ft-pagetop {
    align-self: flex-end !important;
  }
}

/* ==================================================
   44. ヘッダーロゴのアプリアイコン風・極薄囲み罫＆立体影
   ================================================== */
.site-name-text-link::before,
.mobile-header-menu-buttons .logo-menu-button a::before {
  border-radius: 10px !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08) !important;
  box-sizing: border-box !important;
}

/* ==================================================
   45. PCフッター：左カラム幅拡大（ボタン1行維持）＆右側リンク群の横幅圧縮
   ================================================== */
@media screen and (min-width: 769px) {
  .ap-ft-grid {
    grid-template-columns: 1.55fr 0.68fr 0.97fr !important;
    gap: 32px !important;
  }
  .ap-ft-col.ap-ft-brand {
    padding-right: 36px !important;
  }
  .ap-ft-dev-btn {
    padding: 14px 16px !important;
    gap: 12px !important;
  }
  .ap-ft-dev-label {
    font-size: 1.02rem !important;
    white-space: nowrap !important;
  }
  .ap-ft-cat-list {
    gap: 9px 10px !important;
  }
  .ap-ft-list a {
    font-size: 0.8rem !important;
  }
}

/* ==================================================
   46. デベロッパー向けボタン：マウスオーバー時の色反転
   ================================================== */
.ap-ft-dev-btn:hover {
  background: #ffffff !important;
  color: #1d4ed8 !important;
  border-color: #2563eb !important;
}

.ap-ft-dev-btn:hover .ap-ft-dev-badge {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
  color: #ffffff !important;
}

.ap-ft-dev-btn:hover .ap-ft-dev-label {
  color: #1d4ed8 !important;
}


/* ==================================================
   47. スマホ用追従「TOPへ戻る（^）」フローティングボタン
   ================================================== */
@media screen and (max-width: 768px) {
  .ap-ft-pagetop {
    position: fixed !important;
    right: 16px !important;
    bottom: 20px !important;
    z-index: 9990 !important;
    width: 44px !important;
    height: 44px !important;
    padding: 0 !important;
    justify-content: center !important;
    align-items: center !important;
    border-radius: 12px !important;
    background: #1e293b !important;
    border: 1px solid rgba(255, 255, 255, 0.28) !important;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.28) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(8px) !important;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease, background 0.2s ease !important;
  }

  /* テキスト「TOPへ戻る」を非表示にして矢印「^」のみ表示 */
  .ap-ft-pagetop span {
    display: none !important;
  }

  .ap-ft-pagetop svg {
    width: 20px !important;
    height: 20px !important;
    stroke-width: 2.8 !important;
  }

  /* 300px以上スクロール時の表示（停止中はクッキリ不透明寄り） */
  .ap-ft-pagetop.is-visible {
    opacity: 0.92 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
  }

  /* スクロール中は透明度を高くしてコンテンツ閲覧の邪魔をしない */
  .ap-ft-pagetop.is-visible.is-scrolling {
    opacity: 0.32 !important;
  }

  .ap-ft-pagetop:active {
    background: #2563eb !important;
    opacity: 1 !important;
  }
}

/* ==================================================
   48. フッター末尾のコピーライトを左右センター揃え
   ================================================== */
.ap-ft-copy-row {
  position: relative !important;
  justify-content: center !important;
  align-items: center !important;
  width: 100% !important;
  min-height: 32px !important;
}

.ap-ft-copy {
  width: 100% !important;
  text-align: center !important;
}

@media screen and (min-width: 769px) {
  .ap-ft-copy-row .ap-ft-pagetop {
    position: absolute !important;
    right: 0 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
  }
}

@media screen and (max-width: 768px) {
  .ap-ft-copy-row {
    flex-direction: row !important;
    justify-content: center !important;
    align-items: center !important;
  }
}

/* ==================================================
   49. メインビジュアル「アプリ発見・紹介メディア APPSHIRU」上下青罫線化
   ================================================== */
.ap-hero-mv-content .ap-hero-badge {
  display: inline-block !important;
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  border-left: none !important;
  border-right: none !important;
  border-top: 2px solid #2563eb !important;
  border-bottom: 2px solid #2563eb !important;
  padding: 6px 0 !important;
  color: #1d4ed8 !important;
  font-weight: 800 !important;
  letter-spacing: 0.08em !important;
  line-height: 1.4 !important;
  margin-bottom: 32px !important;
}

@media screen and (max-width: 768px) {
  .ap-hero-mv-content .ap-hero-badge {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    text-align: center !important;
    padding: 7px 4px !important;
    box-sizing: border-box !important;
  }
}

/* ==================================================
   50. デベロッパー向けボタン「アプリリリース掲載依頼 》」文字サイズ拡大
   ================================================== */
.ap-ft-dev-label {
  font-size: 1.12rem !important;
  letter-spacing: 0.03em !important;
}

@media screen and (min-width: 769px) {
  .ap-ft-grid {
    grid-template-columns: 1.68fr 0.64fr 0.92fr !important;
    gap: 28px !important;
  }
  .ap-ft-col.ap-ft-brand {
    padding-right: 28px !important;
  }
  .ap-ft-dev-btn {
    padding: 15px 18px !important;
    gap: 14px !important;
  }
  .ap-ft-dev-label {
    font-size: 1.18rem !important;
    white-space: nowrap !important;
  }
}

@media screen and (max-width: 480px) {
  .ap-ft-dev-label {
    font-size: 1.04rem !important;
  }
}

/* ==================================================
   51. スマホ時のデベロッパー向けボタン1行収まり微調整（文字サイズ維持）
   ================================================== */
@media screen and (max-width: 768px) {
  .ap-ft-dev-btn {
    padding: 13px 13px !important;
    gap: 9px !important;
  }
  .ap-ft-dev-badge {
    font-size: 0.68rem !important;
    padding: 7px 9px !important;
  }
  .ap-ft-dev-label {
    font-size: 1.01rem !important;
    letter-spacing: 0 !important;
    white-space: nowrap !important;
  }
}

@media screen and (max-width: 374px) {
  .ap-ft-dev-label {
    font-size: 0.94rem !important;
  }
}


/* ==================================================
   52. 新着アプリ・一覧カードのストア自動アイコン＆NO IMAGE整形
   ================================================== */
.entry-card-thumb {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #f8fafc !important;
  border-radius: 14px !important;
  overflow: hidden !important;
}

.entry-card-thumb img.ap-store-auto-icon {
  width: auto !important;
  height: 84% !important;
  max-width: 84% !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: cover !important;
  border-radius: 22% !important;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12) !important;
  background: #ffffff !important;
}

/* TOPページ「新着アプリ」リストのアイコン整形 */
.ap-new-thumb img.ap-store-auto-icon {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: 22% !important;
}

/* NO IMAGE の見た目改善 */
.entry-card-thumb img.no-image {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  opacity: 0.85 !important;
}


/* ==================================================
   53. カテゴリー・タグ・検索一覧：PC 1120px 2列グリッド＆カードデザイン
   ================================================== */
@media screen and (min-width: 769px) {
  .archive .list,
  .category .list,
  .tag .list,
  .search .list {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 20px !important;
    align-items: stretch !important;
  }

  .archive .list .entry-card-wrap,
  .category .list .entry-card-wrap,
  .tag .list .entry-card-wrap,
  .search .list .entry-card-wrap {
    display: flex !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 18px !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 16px !important;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03) !important;
    transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.22s cubic-bezier(0.22, 1, 0.36, 1),
                border-color 0.22s ease !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
  }

  .archive .list .entry-card-wrap:hover,
  .category .list .entry-card-wrap:hover,
  .tag .list .entry-card-wrap:hover,
  .search .list .entry-card-wrap:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 12px 26px rgba(37, 99, 235, 0.11) !important;
    border-color: #93c5fd !important;
  }

  .archive .list .entry-card,
  .category .list .entry-card,
  .tag .list .entry-card,
  .search .list .entry-card {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    gap: 16px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* 正方形アプリアイコン枠（92x92） */
  .archive .list .entry-card-thumb,
  .category .list .entry-card-thumb,
  .tag .list .entry-card-thumb,
  .search .list .entry-card-thumb {
    flex: 0 0 92px !important;
    width: 92px !important;
    height: 92px !important;
    margin: 0 !important;
    border-radius: 20px !important;
    background: #f8fafc !important;
    border: 1px solid #f1f5f9 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    position: relative !important;
  }

  /* ストア自動取得アイコンは枠いっぱいに美しくフィット */
  .archive .list .entry-card-thumb img.ap-store-auto-icon,
  .category .list .entry-card-thumb img.ap-store-auto-icon,
  .tag .list .entry-card-thumb img.ap-store-auto-icon,
  .search .list .entry-card-thumb img.ap-store-auto-icon {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    border-radius: 20px !important;
    object-fit: cover !important;
    box-shadow: none !important;
  }

  /* 通常サムネイル・NO IMAGE */
  .archive .list .entry-card-thumb img:not(.ap-store-auto-icon),
  .category .list .entry-card-thumb img:not(.ap-store-auto-icon),
  .tag .list .entry-card-thumb img:not(.ap-store-auto-icon),
  .search .list .entry-card-thumb img:not(.ap-store-auto-icon) {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }

  /* サムネイル上の不要なカテゴリラベルバッジは右側に集約するためスッキリ非表示 */
  .archive .list .entry-card-thumb .cat-label,
  .category .list .entry-card-thumb .cat-label,
  .tag .list .entry-card-thumb .cat-label,
  .search .list .entry-card-thumb .cat-label {
    display: none !important;
  }

  /* 右側テキスト領域 */
  .archive .list .entry-card-content,
  .category .list .entry-card-content,
  .tag .list .entry-card-content,
  .search .list .entry-card-content {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    min-height: 92px !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .archive .list .entry-card-title,
  .category .list .entry-card-title,
  .tag .list .entry-card-title,
  .search .list .entry-card-title {
    font-size: 1.02rem !important;
    font-weight: 700 !important;
    line-height: 1.45 !important;
    color: #0f172a !important;
    margin: 0 0 6px 0 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    transition: color 0.2s ease !important;
  }

  .archive .list .entry-card-wrap:hover .entry-card-title,
  .category .list .entry-card-wrap:hover .entry-card-title,
  .tag .list .entry-card-wrap:hover .entry-card-title,
  .search .list .entry-card-wrap:hover .entry-card-title {
    color: #2563eb !important;
  }

  .archive .list .entry-card-snippet,
  .category .list .entry-card-snippet,
  .tag .list .entry-card-snippet,
  .search .list .entry-card-snippet {
    font-size: 0.84rem !important;
    line-height: 1.5 !important;
    color: #64748b !important;
    margin: 0 0 8px 0 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }

  .archive .list .entry-card-meta,
  .category .list .entry-card-meta,
  .tag .list .entry-card-meta,
  .search .list .entry-card-meta {
    margin-top: auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    font-size: 0.76rem !important;
    color: #94a3b8 !important;
  }

  .archive .list .entry-card-categorys .cat-link,
  .category .list .entry-card-categorys .cat-link,
  .tag .list .entry-card-categorys .cat-link,
  .search .list .entry-card-categorys .cat-link {
    background: #eff6ff !important;
    color: #2563eb !important;
    border: none !important;
    border-radius: 6px !important;
    padding: 2px 8px !important;
    font-size: 0.72rem !important;
    font-weight: 600 !important;
  }
}

/* スマホ時（768px以下）の1列コンパクトカード整列（アイコン92px・テキスト高さ揃え・重なり防止） */
@media screen and (max-width: 768px) {
  .archive .list,
  .category .list,
  .tag .list,
  .search .list {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
  }

  .archive .list .entry-card-wrap,
  .category .list .entry-card-wrap,
  .tag .list .entry-card-wrap,
  .search .list .entry-card-wrap {
    margin: 0 !important;
    padding: 13px !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 14px !important;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03) !important;
  }

  .archive .list .entry-card,
  .category .list .entry-card,
  .tag .list .entry-card,
  .search .list .entry-card {
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch !important;
    gap: 12px !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .archive .list .entry-card-thumb,
  .category .list .entry-card-thumb,
  .tag .list .entry-card-thumb,
  .search .list .entry-card-thumb {
    flex: 0 0 92px !important;
    width: 92px !important;
    height: 92px !important;
    margin: 0 !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    background: #f8fafc !important;
    border: 1px solid #f1f5f9 !important;
    align-self: center !important;
  }

  .archive .list .entry-card-thumb img.ap-store-auto-icon,
  .category .list .entry-card-thumb img.ap-store-auto-icon,
  .tag .list .entry-card-thumb img.ap-store-auto-icon,
  .search .list .entry-card-thumb img.ap-store-auto-icon {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    border-radius: 20px !important;
    object-fit: cover !important;
  }

  .archive .list .entry-card-thumb img:not(.ap-store-auto-icon),
  .category .list .entry-card-thumb img:not(.ap-store-auto-icon),
  .tag .list .entry-card-thumb img:not(.ap-store-auto-icon),
  .search .list .entry-card-thumb img:not(.ap-store-auto-icon) {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }

  .archive .list .entry-card-thumb .cat-label,
  .category .list .entry-card-thumb .cat-label,
  .tag .list .entry-card-thumb .cat-label,
  .search .list .entry-card-thumb .cat-label {
    display: none !important;
  }

  .archive .list .entry-card-content,
  .category .list .entry-card-content,
  .tag .list .entry-card-content,
  .search .list .entry-card-content {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    min-height: 92px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    position: static !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .archive .list .entry-card-title,
  .category .list .entry-card-title,
  .tag .list .entry-card-title,
  .search .list .entry-card-title {
    font-size: 0.9rem !important;
    font-weight: 700 !important;
    line-height: 1.32 !important;
    color: #0f172a !important;
    margin: 0 0 3px 0 !important;
    max-height: none !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }

  .archive .list .entry-card-snippet,
  .category .list .entry-card-snippet,
  .tag .list .entry-card-snippet,
  .search .list .entry-card-snippet {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    font-size: 0.75rem !important;
    line-height: 1.36 !important;
    color: #64748b !important;
    margin: 0 0 6px 0 !important;
    max-height: none !important;
    position: static !important;
  }

  .archive .list .entry-card-meta,
  .category .list .entry-card-meta,
  .tag .list .entry-card-meta,
  .search .list .entry-card-meta {
    position: static !important;
    margin-top: auto !important;
    padding-top: 2px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: nowrap !important;
    gap: 6px !important;
    font-size: 0.7rem !important;
    line-height: 1.2 !important;
    color: #94a3b8 !important;
  }

  .archive .list .entry-card-info,
  .category .list .entry-card-info,
  .tag .list .entry-card-info,
  .search .list .entry-card-info {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
  }

  .archive .list .entry-card-categorys,
  .category .list .entry-card-categorys,
  .tag .list .entry-card-categorys,
  .search .list .entry-card-categorys {
    flex-shrink: 0 !important;
  }

  .archive .list .entry-card-categorys .cat-link,
  .category .list .entry-card-categorys .cat-link,
  .tag .list .entry-card-categorys .cat-link,
  .search .list .entry-card-categorys .cat-link {
    background: #eff6ff !important;
    color: #2563eb !important;
    border: none !important;
    border-radius: 5px !important;
    padding: 2px 6px !important;
    font-size: 0.68rem !important;
    font-weight: 600 !important;
  }
}


/* ==================================================
   54. 一覧ページ用 コンパクトヘッダービジュアル（TOPの約半分）
   ================================================== */
.ap-sub-hero {
  width: 100%;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 55%, #2563eb 100%);
  color: #ffffff;
  position: relative;
  overflow: hidden;
  padding: 28px 20px;
  margin-bottom: 24px;
  box-sizing: border-box;
}

.ap-sub-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 20%, rgba(96, 165, 250, 0.25), transparent 55%),
              radial-gradient(circle at 15% 90%, rgba(56, 189, 248, 0.18), transparent 50%);
  pointer-events: none;
}

.ap-sub-hero-inner {
  max-width: 1120px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.ap-sub-hero-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #93c5fd;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(147, 197, 253, 0.3);
  border-radius: 999px;
  padding: 3px 11px;
  margin-bottom: 8px;
}

.ap-sub-hero-title {
  font-size: 1.55rem !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;
  color: #ffffff !important;
  margin: 0 0 4px 0 !important;
  letter-spacing: 0.02em;
}

.ap-sub-hero-sub {
  font-size: 0.85rem;
  color: rgba(226, 232, 240, 0.9);
  margin: 0;
}

/* バナー表示時はCocoon標準の重複アーカイブ見出しを非表示 */
.archive .archive-title,
.category .archive-title,
.tag .archive-title,
.search .archive-title {
  display: none !important;
}

@media screen and (max-width: 768px) {
  .ap-sub-hero {
    padding: 20px 16px;
    margin-bottom: 16px;
  }
  .ap-sub-hero-badge {
    font-size: 0.65rem;
    padding: 2px 9px;
    margin-bottom: 6px;
  }
  .ap-sub-hero-title {
    font-size: 1.25rem !important;
  }
  .ap-sub-hero-sub {
    font-size: 0.76rem;
  }
}


/* ==================================================
   55. コンパクトヒーロー説明文の2行最適化＆背景画像対応
   ================================================== */
.ap-sub-hero {
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}

.ap-sub-hero.has-bg-image::before {
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.84) 0%, rgba(30, 58, 138, 0.72) 60%, rgba(15, 23, 42, 0.65) 100%) !important;
}

.ap-sub-hero-sub {
  max-width: 820px;
  line-height: 1.65 !important;
  margin-top: 6px !important;
}

@media screen and (max-width: 768px) {
  .ap-sub-hero-sub {
    line-height: 1.55 !important;
    margin-top: 4px !important;
  }
}


/* ==================================================
   56. 新着アプリ情報（cat=1）専用 PC/SP バナー画像＆説明文カード整形
   ================================================== */
.ap-sub-hero-cat1 {
  background-image: url("https://appnavi.info/wp-content/uploads/2026/11/new_app01.jpg") !important;
  min-height: 165px;
  display: flex;
  align-items: center;
}

@media screen and (max-width: 768px) {
  .ap-sub-hero-cat1 {
    background-image: url("https://appnavi.info/wp-content/uploads/2026/11/new_app_sp01.jpg") !important;
    min-height: 120px;
  }
}

/* カテゴリー説明文エリア（.category-page-content）の視認性向上 */
.category .category-page-content.entry-content {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px 18px;
  margin: 0 0 20px 0 !important;
  font-size: 0.88rem;
  line-height: 1.65;
  color: #334155;
}

.category .category-page-content.entry-content p {
  margin: 0 !important;
}

@media screen and (max-width: 768px) {
  .category .category-page-content.entry-content {
    padding: 12px 14px;
    margin-bottom: 14px !important;
    font-size: 0.8rem;
    line-height: 1.55;
  }
}


/* ==================================================
   57. PCカード重なり解消・リード文18px/16px・New arrivalsシンプル配置
   ================================================== */
/* ヒーロー内タイトル下の英語表記（あしらい無し・白文字統一） */
.ap-sub-hero-en {
  margin: 4px 0 0 0 !important;
  padding: 0 !important;
  background: none !important;
  border: none !important;
  border-radius: 0 !important;
  color: #ffffff !important;
  font-size: 0.92rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.04em !important;
  line-height: 1.4 !important;
}

@media screen and (max-width: 768px) {
  .ap-sub-hero-en {
    font-size: 0.82rem !important;
    margin-top: 2px !important;
  }
}

/* 冒頭リード文（PC: 18px / スマホ: 16px） */
.category .category-page-content.entry-content,
.category .category-page-content.entry-content p {
  font-size: 18px !important;
  line-height: 1.7 !important;
}

@media screen and (max-width: 768px) {
  .category .category-page-content.entry-content,
  .category .category-page-content.entry-content p {
    font-size: 16px !important;
    line-height: 1.65 !important;
  }
}

/* PCカード内のスニペットと日付・メタ情報の重なりを完全解消 */
@media screen and (min-width: 769px) {
  .archive .list .entry-card-content,
  .category .list .entry-card-content,
  .tag .list .entry-card-content,
  .search .list .entry-card-content {
    position: static !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    gap: 6px !important;
  }

  .archive .list .entry-card-title,
  .category .list .entry-card-title,
  .tag .list .entry-card-title,
  .search .list .entry-card-title {
    margin: 0 !important;
    max-height: none !important;
  }

  .archive .list .entry-card-snippet,
  .category .list .entry-card-snippet,
  .tag .list .entry-card-snippet,
  .search .list .entry-card-snippet {
    position: static !important;
    max-height: none !important;
    margin: 0 0 4px 0 !important;
    line-height: 1.48 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }

  .archive .list .entry-card-meta,
  .category .list .entry-card-meta,
  .tag .list .entry-card-meta,
  .search .list .entry-card-meta {
    position: static !important;
    margin-top: auto !important;
    padding-top: 4px !important;
    line-height: 1.3 !important;
  }
}


/* ==================================================
   58. アイコンサイズ拡大・高さ揃え＆ヒーロータイトル・New arrivalsセンター調整
   ================================================== */
/* ヒーロー内を左右センター揃えに統一 */
.ap-sub-hero-inner {
  text-align: center !important;
}

/* 「新着アプリ情報」を一回り大きく・細めのウェイトに */
.ap-sub-hero-title {
  font-size: 2.05rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.04em !important;
  text-align: center !important;
}

/* 「New arrivals」を薄い水色＆左右センター揃え */
.ap-sub-hero-en {
  color: #bae6fd !important;
  text-align: center !important;
  font-size: 0.96rem !important;
  margin-top: 6px !important;
}

@media screen and (max-width: 768px) {
  .ap-sub-hero-title {
    font-size: 1.55rem !important;
  }
  .ap-sub-hero-en {
    font-size: 0.85rem !important;
    margin-top: 4px !important;
  }
}

/* PCカード：アイコンを116pxに拡大して右テキストと高さを揃える */
@media screen and (min-width: 769px) {
  .archive .list .entry-card,
  .category .list .entry-card,
  .tag .list .entry-card,
  .search .list .entry-card {
    align-items: center !important;
  }

  .archive .list .entry-card-thumb,
  .category .list .entry-card-thumb,
  .tag .list .entry-card-thumb,
  .search .list .entry-card-thumb {
    flex: 0 0 116px !important;
    width: 116px !important;
    height: 116px !important;
    border-radius: 24px !important;
  }

  .archive .list .entry-card-thumb img.ap-store-auto-icon,
  .category .list .entry-card-thumb img.ap-store-auto-icon,
  .tag .list .entry-card-thumb img.ap-store-auto-icon,
  .search .list .entry-card-thumb img.ap-store-auto-icon {
    border-radius: 24px !important;
  }

  .archive .list .entry-card-content,
  .category .list .entry-card-content,
  .tag .list .entry-card-content,
  .search .list .entry-card-content {
    min-height: 116px !important;
  }
}


/* ==================================================
   59. カード内のclearfix疑似要素による右余白（gap）解消
   ================================================== */
.archive .list .entry-card::before,
.archive .list .entry-card::after,
.category .list .entry-card::before,
.category .list .entry-card::after,
.tag .list .entry-card::before,
.tag .list .entry-card::after,
.search .list .entry-card::before,
.search .list .entry-card::after,
.archive .list .entry-card-wrap::before,
.archive .list .entry-card-wrap::after,
.category .list .entry-card-wrap::before,
.category .list .entry-card-wrap::after {
  content: none !important;
  display: none !important;
}

.archive .list .entry-card,
.category .list .entry-card,
.tag .list .entry-card,
.search .list .entry-card {
  width: 100% !important;
  box-sizing: border-box !important;
}

.archive .list .entry-card-content,
.category .list .entry-card-content,
.tag .list .entry-card-content,
.search .list .entry-card-content {
  flex: 1 1 0% !important;
  width: auto !important;
  max-width: none !important;
  margin-right: 0 !important;
  padding-right: 0 !important;
}


/* ==================================================
   60. 個別アプリ記事（app_page）専用レイアウト＆ストアボタン
   ================================================== */
.single-app_page .eye-catch-wrap {
  display: none !important;
}

.ap-single-wrap {
  margin-top: 8px;
}

/* 1. アプリ概要ヘッダーカード */
.ap-single-hero-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 22px;
  margin-bottom: 28px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

.ap-single-hero-top {
  display: flex;
  align-items: center;
  gap: 18px;
}

.ap-single-icon-box {
  flex: 0 0 104px;
  width: 104px;
  height: 104px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.06);
}

.ap-single-icon-box img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block;
}

.ap-single-icon-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #94a3b8;
  font-size: 1rem;
}

.ap-single-head-info {
  flex: 1 1 auto;
  min-width: 0;
}

.ap-single-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}

.ap-single-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.2;
  padding: 3px 9px;
  border-radius: 6px;
}

.ap-single-badge.is-cat {
  background: #eff6ff;
  color: #2563eb;
}

.ap-single-badge.is-price {
  background: #f0fdf4;
  color: #16a34a;
}

.ap-single-badge.is-os {
  background: #f1f5f9;
  color: #475569;
}

.ap-single-app-title {
  font-size: 1.22rem !important;
  font-weight: 800 !important;
  line-height: 1.38 !important;
  color: #0f172a !important;
  margin: 0 0 6px 0 !important;
  padding: 0 !important;
  background: none !important;
  border: none !important;
}

.ap-single-dev {
  font-size: 0.82rem;
  color: #64748b;
  margin: 0 !important;
}

/* ストアダウンロードボタン */
.ap-single-dl-area {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #f1f5f9;
}

.ap-single-dl-note {
  font-size: 0.78rem;
  color: #d97706;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 8px;
  padding: 7px 12px;
  margin: 0 0 10px 0 !important;
}

.ap-single-dl-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.ap-store-btn {
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
  border-radius: 12px;
  padding: 11px 18px;
  color: #ffffff !important;
  transition: transform 0.16s ease, box-shadow 0.16s ease, opacity 0.16s ease;
}

.ap-store-btn:hover {
  transform: translateY(-2px);
  opacity: 0.94;
}

.ap-store-btn.is-ios {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.22);
}

.ap-store-btn.is-android {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.ap-store-btn-sub {
  font-size: 0.7rem;
  font-weight: 600;
  opacity: 0.86;
  line-height: 1.2;
}

.ap-store-btn-main {
  font-size: 0.96rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.3;
  margin-top: 2px;
}

/* 2. セクション共通見出し */
.ap-single-section {
  margin-bottom: 30px;
}

.ap-single-sec-title {
  font-size: 1.15rem !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  border-left: 4px solid #2563eb !important;
  border-bottom: none !important;
  background: none !important;
  padding: 2px 0 2px 12px !important;
  margin: 0 0 14px 0 !important;
  line-height: 1.4 !important;
}

/* 動画レスポンシブ */
.ap-single-video-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border-radius: 12px;
  overflow: hidden;
  background: #0f172a;
}

.ap-single-video-wrap iframe {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  border: 0 !important;
}

/* スクリーンショット */
.ap-single-ss-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.ap-single-ss-item {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
}

.ap-single-ss-item img {
  width: 100%;
  height: auto;
  display: block;
}

/* 紹介文・特徴文 */
.ap-single-text-body {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 20px 22px;
}

.ap-single-subhead {
  font-size: 1rem !important;
  font-weight: 700 !important;
  color: #1e3a8a !important;
  background: #eff6ff !important;
  border-radius: 8px 
  padding: 7px 12px !important;
  margin: 18px 0 10px 0 !important;
  border: none !important;
}

.ap-single-subhead:first-child {
  margin-top: 0 !important;
}

.ap-single-p {
  font-size: 0.94rem !important;
  line-height: 1.8 !important;
  color: #334155 !important;
  margin: 0 0 14px 0 !important;
}

.ap-single-p:last-child {
  margin-bottom: 0 !important;
}

/* 基本スペック表 */
.ap-single-spec-table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
}

.ap-single-spec-table th,
.ap-single-spec-table td {
  padding: 12px 16px;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.88rem;
  text-align: left;
}

.ap-single-spec-table th {
  width: 28%;
  background: #f8fafc;
  color: #475569;
  font-weight: 700;
}

.ap-single-spec-table td {
  color: #0f172a;
}

.ap-single-spec-table tr:last-child th,
.ap-single-spec-table tr:last-child td {
 
}

/* 下部CTA */
.ap-single-bottom-cta {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 20px;
  text-align: center;
  margin-top: 28px;
}

.ap-single-bottom-cta-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 12px 0 !important;
}

@media screen and (max-width: 768px) {
  .ap-single-hero-card {
    padding: 16px;
    margin-bottom: 22px;
  }
  .ap-single-hero-top {
    gap: 14px;
    align-items: flex-start;
  }
  .ap-single-icon-box {
    flex: 0 0 80px;
    width: 80px;
    height: 80px;
    border-radius: 18px;
  }
  .ap-single-app-title {
    font-size: 1.06rem !important;
  }
  .ap-single-text-body {
    padding: 16px;
  }
  .ap-single-spec-table th {
    width: 34%;
    padding: 10px 12px;
  }
  .ap-single-spec-table td {
    padding: 10px 12px;
  }
}


/* ==================================================
   61. 個別アプリ記事 ストア最新スクショ横スクロール＆評価バッジ
   ================================================== */
.ap-single-badge.is-rating {
  background: #fefce8;
  color: #ca8a04;
}

.ap-single-ss-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.ap-single-ss-scroll::-webkit-scrollbar {
  height: 6px;
}

.ap-single-ss-scroll::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 999px;
}

.ap-single-ss-card {
  flex: 0 0 auto;
  height: 340px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  scroll-snap-align: start;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
}

.ap-single-ss-card img {
  height: 100% !important;
  width: auto !important;
  max-width: none !important;
  display: block;
  object-fit: contain;
}

@media screen and (max-width: 768px) {
  .ap-single-ss-card {
    height: 270px;
  }
}

/* ==================================================
   62. スマホ表示（1023px以下）のヘッダーとサブヒーロー間の隙間解消
   ================================================== */
@media screen and (max-width: 1023px) {
  html body,
  html body.archive,
  html body.category,
  html body.tag,
  html body.search {
    margin-top: 0 !important;
    padding-top: 56px !important;
  }

  .ap-sub-hero {
    margin-top: 0 !important;
  }
}

/* ==================================================
   63. カテゴリーリード文の枠囲み解除＆サブヒーローとの余白調整
   ================================================== */
.category .ap-sub-hero {
  margin-bottom: 22px !important;
}

.category #content,
.category #main {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

.category .category-page-content.entry-content {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 0 18px 0 !important;
}

@media screen and (max-width: 768px) {
  .category .ap-sub-hero {
    margin-bottom: 32px !important;
  }
  .category .category-page-content.entry-content {
    padding: 0 !important;
    margin: 0 0 14px 0 !important;
  }
}

/* ==================================================
   64. PC表示時のカテゴリーリード文テキスト幅を780pxに調整
   ================================================== */
@media screen and (min-width: 769px) {
  .category .category-page-content.entry-content {
    max-width: 780px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

/* ==================================================
   65. PC表示時のサブヒーロー・リード文・一覧間の余白拡大
   ================================================== */
@media screen and (min-width: 769px) {
  .category .ap-sub-hero {
    margin-bottom: 36px !important;
  }

  .category .category-page-content.entry-content {
    margin-bottom: 34px !important;
  }
}

/* ==================================================
   66. スマホ表示時のカテゴリーリード文フォントサイズ・行間調整
   ================================================== */
@media screen and (max-width: 768px) {
  .category .category-page-content.entry-content,
  .category .category-page-content.entry-content p {
    font-size: 15px !important;
    line-height: 1.5 !important;
  }
}




/* ==================================================
   67. 個別アプリ記事：デフォルトSNS非表示＆アプシル専用SNSシェアバー
   ================================================== */
body.single-app_page .sns-share,
body.single-app_page .sns-follow,
body.single-app_page .sns-buttons,
body.single-post .sns-share,
body.single-post .sns-follow,
body.single-post .sns-buttons {
  display: none !important;
}

.ap-custom-share {
  margin: 34px 0 14px 0;
  padding: 22px 16px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  text-align: center;
}

.ap-custom-share-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #334155;
  margin: 0 0 18px 0;
}

.ap-custom-share-label::before,
.ap-custom-share-label::after {
  content: "";
  display: inline-block;
  width: 24px;
  height: 1px;
  background: #cbd5e1;
}

.ap-custom-share-buttons {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: flex-start;
  gap: 22px;
}

.ap-share-btn {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 7px;
  min-width: 64px;
  height: auto;
  padding: 0;
  border-radius: 0;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  text-decoration: none !important;
  cursor: pointer;
  transition: transform 0.16s ease;
}

.ap-share-btn:hover {
  transform: translateY(-2px);
}

.ap-share-btn svg {
  width: 48px;
  height: 48px;
  padding: 13px;
  box-sizing: border-box;
  border-radius: 50%;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.14);
  transition: box-shadow 0.16s ease, filter 0.16s ease;
  flex-shrink: 0;
}

.ap-share-btn:hover svg {
  filter: brightness(1.08);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.22);
}

.ap-share-btn span {
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.2;
  color: #475569 !important;
  white-space: nowrap;
}

.ap-share-btn--x svg {
  background: #0f1419 !important;
}

.ap-share-btn--line svg {
  background: #06c755 !important;
}

.ap-share-btn--threads svg {
  background: #242424 !important;
}

.ap-share-btn--copy svg {
  background: #2563eb !important;
}

.ap-share-btn--copy.is-copied svg {
  background: #16a34a !important;
}

.ap-share-btn--copy.is-copied span {
  color: #16a34a !important;
}

@media screen and (max-width: 768px) {
  .ap-custom-share {
    padding: 18px 12px;
    margin: 28px 0 10px 0;
  }
  .ap-custom-share-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
  }
  .ap-share-btn {
    min-width: 58px;
    gap: 6px;
  }
  .ap-share-btn svg {
    width: 44px;
    height: 44px;
    padding: 12px;
  }
  .ap-share-btn span {
    font-size: 0.68rem;
  }
}

/* ==================================================
   68. 個別アプリ記事：アイコン下ラベル配置＆本文テキスト16px/15px・行間調整
   ================================================== */
.ap-single-hero-card > .ap-single-badges {
  margin-top: 14px !important;
  margin-bottom: 0 !important;
}

body.single-app_page .entry-content,
body.single-app_page .entry-content p,
body.single-app_page .ap-single-text-body,
body.single-app_page .ap-single-text-body p {
  font-size: 16px !important;
  line-height: 1.62 !important;
}

@media screen and (max-width: 768px) {
  .ap-single-hero-card > .ap-single-badges {
    margin-top: 12px !important;
  }

  body.single-app_page .entry-content,
  body.single-app_page .entry-content p,
  body.single-app_page .ap-single-text-body,
  body.single-app_page .ap-single-text-body p {
    font-size: 15px !important;
    line-height: 1.58 !important;
  }
}


/* ==================================================
   69. 個別アプリ記事：h2左縦罫線削除＆オリジナルSVGアイコン配置
   ================================================== */
body.single-app_page .entry-content h2:not(.ap-single-app-title),
body.single-app_page .ap-single-sec-title {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  border-left: none !important;
  border-bottom: none !important;
  background: transparent !important;
  padding-left: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

body.single-app_page .entry-content h2:not(.ap-single-app-title)::before,
body.single-app_page .ap-single-sec-title::before {
  content: "" !important;
  display: inline-block !important;
  position: static !important;
  flex: 0 0 21px !important;
  width: 21px !important;
  height: 36px !important;
  background-color: transparent !important;
  background-image: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20236.97%20411.98%22%3E%3Cpath%20fill%3D%22none%22%20stroke%3D%22%23f15a24%22%20stroke-miterlimit%3D%2210%22%20stroke-width%3D%2223.97%22%20d%3D%22M125.64%2C201.29c-11.14%2C0-21.86%2C1.83-31.86%2C5.22l-24.38-66.99c-5.59-15.36-22.57-23.28-37.93-17.69h0c-15.36%2C5.59-23.28%2C22.57-17.69%2C37.93l30.51%2C83.83c-11.34%2C16.15-18.01%2C35.82-18.01%2C57.05%2C0%2C54.87%2C44.48%2C99.35%2C99.35%2C99.35s99.35-44.48%2C99.35-99.35-44.48-99.35-99.35-99.35Z%22%2F%3E%3Cpath%20fill%3D%22none%22%20stroke%3D%22%23f15a24%22%20stroke-linecap%3D%22round%22%20stroke-miterlimit%3D%2210%22%20stroke-width%3D%2223.97%22%20d%3D%22M91.26%2C286.5l31.78-11.57c10.97-3.99%2C23.1%2C1.66%2C27.09%2C12.63h0c3.99%2C10.97-1.66%2C23.1-12.63%2C27.09l-31.78%2C11.57%22%2F%3E%3Cpath%20fill%3D%22%23f15a24%22%20d%3D%22M112.13%2C134.21c-1.94-5.85-4.56-11.47-7.81-16.71l68.48-42.39c6.56%2C10.6%2C11.87%2C21.97%2C15.79%2C33.8l-76.46%2C25.3ZM25.22%2C81.59L11.98%2C2.15C24.32.09%2C36.9-.49%2C49.35.41l-5.82%2C80.32c-6.1-.44-12.26-.16-18.31.85ZM85.97%2C97.04c-4.82-3.75-10.11-6.94-15.72-9.48L103.44%2C14.18c11.4%2C5.16%2C22.17%2C11.66%2C32.01%2C19.32l-49.48%2C63.54Z%22%2F%3E%3C%2Fsvg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: center center !important;
  background-size: contain !important;
  border: none !important;
  margin: 0 !important;
}

@media screen and (max-width: 768px) {
  body.single-app_page .entry-content h2:not(.ap-single-app-title),
  body.single-app_page .ap-single-sec-title {
    gap: 8px !important;
  }

  body.single-app_page .entry-content h2:not(.ap-single-app-title)::before,
  body.single-app_page .ap-single-sec-title::before {
    flex: 0 0 18px !important;
    width: 18px !important;
    height: 31px !important;
  }
}


/* ==================================================
   70. リリース投稿フォーム（page-id-204412）：M PLUS 1p統一＆SNS非表示
   ================================================== */
body.page-id-204412 .wpcf7,
body.page-id-204412 .wpcf7 p,
body.page-id-204412 .wpcf7 label,
body.page-id-204412 .wpcf7 input,
body.page-id-204412 .wpcf7 select,
body.page-id-204412 .wpcf7 textarea,
body.page-id-204412 .wpcf7 button,
body.page-id-204412 .wpcf7-list-item-label,
body.page-id-204412 .wpcf7-response-output {
  font-family: "M PLUS 1p", -apple-system, BlinkMacSystemFont, sans-serif !important;
}

body.page-id-204412 .wpcf7 input::placeholder,
body.page-id-204412 .wpcf7 textarea::placeholder {
  font-family: "Zen Kaku Gothic New", "M PLUS 1p", -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: 14.5px !important;
  line-height: 1.5 !important;
}

@media screen and (max-width: 768px) {
  body.page-id-204412 .wpcf7 input::placeholder,
  body.page-id-204412 .wpcf7 textarea::placeholder {
    font-size: 14px !important;
  }
}

/* フォーム画面のSNSシェア・フォローボタンをすべて非表示 */
body.page-id-204412 .sns-share,
body.page-id-204412 .sns-follow,
body.page-id-204412 .sns-buttons,
body.page-id-204412 .ap-custom-share {
  display: none !important;
}

/* ==================================================
   71. リリース投稿フォーム（page-id-204412）：投稿日・更新日・投稿者表示を非表示
   ================================================== */
body.page-id-204412 .date-tags,
body.page-id-204412 .post-date,
body.page-id-204412 .post-update,
body.page-id-204412 .article-footer .author-info,
body.page-id-204412 .footer-meta,
body.page-id-204412 .author-box {
  display: none !important;
}


/* ==================================================
   72. アプリリリース投稿フォーム（page-id-204412）：ヘッダ下ビジュアル
   ================================================== */
.ap-sub-hero-release {
  background-image: url("https://appnavi.info/wp-content/uploads/2026/11/apprelease_pc.jpg") !important;
  min-height: 165px;
  display: flex;
  align-items: center;
  margin-bottom: 36px !important;
}

@media screen and (max-width: 768px) {
  .ap-sub-hero-release {
    background-image: url("https://appnavi.info/wp-content/uploads/2026/11/apprelease_sp.jpg") !important;
    min-height: 120px;
  }
}

/* バナー内のh1をメイン見出しにするため、記事本文側の重複h1タイトルを非表示 */
body.page-id-204412 .article-header .entry-title,
body.page-id-204412 h1.entry-title {
  display: none !important;
}

body.page-id-204412 #content,
body.page-id-204412 #main {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

@media screen and (max-width: 1023px) {
  html body.page-id-204412 {
    margin-top: 0 !important;
    padding-top: 56px !important;
  }
}

/* ==================================================
   73. アプリリリース投稿フォーム（page-id-204412）：項目名と入力欄の間隔を狭く調整
   ================================================== */
/* 入力欄を含む<p>の直前にある項目名<p>だけ下余白を詰める */
body.page-id-204412 .article .wpcf7-form p:has(+ p .wpcf7-form-control-wrap) {
  margin-bottom: 4px !important;
  line-height: 1.45 !important;
}

/* 1つの<p>内に項目名と入力欄が同居しているパターンの保険 */
body.page-id-204412 .article .wpcf7-form p:has(.wpcf7-form-control-wrap) {
  margin-top: 0 !important;
  margin-bottom: 1.8em !important;
}

body.page-id-204412 .wpcf7-form br {
  display: none !important;
}

body.page-id-204412 .wpcf7-form .wpcf7-form-control-wrap {
  display: block !important;
  margin-top: 4px !important;
}

body.page-id-204412 .wpcf7-form .wpcf7-form-control:not(.wpcf7-submit):not(.wpcf7-acceptance) {
  margin-top: 0 !important;
}


/* ==================================================
   74. アプリリリース投稿フォーム（page-id-204412）：リード文スタイル
   ================================================== */
body.page-id-204412 .article .ap-release-lead,
body.page-id-204412 .article .ap-release-lead p {
  font-size: 18px !important;
  line-height: 1.7 !important;
  color: #334155 !important;
  margin-top: 0 !important;
}

@media screen and (min-width: 769px) {
  body.page-id-204412 .article .ap-release-lead {
    max-width: 780px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-bottom: 34px !important;
  }
}

@media screen and (max-width: 768px) {
  body.page-id-204412 .article .ap-release-lead {
    margin-bottom: 22px !important;
  }
  body.page-id-204412 .article .ap-release-lead,
  body.page-id-204412 .article .ap-release-lead p {
    font-size: 15px !important;
    line-height: 1.6 !important;
  }
}

/* ==================================================
   75. アプリリリース投稿フォーム（page-id-204412）：入力フォント＆同意チェックボックス調整
   ================================================== */
/* 入力欄に入力した際のフォントも Zen Kaku Gothic New に統一（サイズは現状維持） */
body.page-id-204412 .wpcf7 input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
body.page-id-204412 .wpcf7 select,
body.page-id-204412 .wpcf7 textarea {
  font-family: "Zen Kaku Gothic New", "M PLUS 1p", -apple-system, BlinkMacSystemFont, sans-serif !important;
}

/* 同意チェックボックスブロックの上にアキを追加 */
body.page-id-204412 .article .wpcf7-form p:has(.wpcf7-acceptance) {
  margin-top: 26px !important;
  margin-bottom: 24px !important;
}

body.page-id-204412 .wpcf7-acceptance {
  display: block !important;
}

body.page-id-204412 .wpcf7-acceptance .wpcf7-list-item {
  margin: 0 !important;
  padding: 0 !important;
  display: block !important;
}

/* チェックボックスとテキストの横並び・左マージン確保 */
body.page-id-204412 .wpcf7-acceptance .wpcf7-list-item label {
  display: flex !important;
  align-items: flex-start !important;
  gap: 10px !important;
  padding: 0 !important;
  margin: 0 !important;
  cursor: pointer;
}

body.page-id-204412 .wpcf7-acceptance input[type="checkbox"] {
  position: static !important;
  flex: 0 0 16px !important;
  width: 16px !important;
  height: 16px !important;
  margin: 3px 0 0 0 !important;
  transform: none !important;
}

body.page-id-204412 .wpcf7-acceptance .wpcf7-list-item-label {
  display: block !important;
  flex: 1 1 auto !important;
  margin: 0 !important;
  padding: 0 !important;
  font-size: 14px !important;
  line-height: 1.65 !important;
  color: #475569 !important;
}






/* ==================================================
   76. アプリリリース投稿フォーム（page-id-204412）：コンテンツ最下部の余白削除（詳細度強化・空p・フッター上余白対応）
   ================================================== */
html body.page-id-204412 #content,
html body.page-id-204412 #content-in,
html body.page-id-204412 #content-in.wrap,
html body.page-id-204412 #main,
html body.page-id-204412 .main,
html body.page-id-204412 .article,
html body.page-id-204412 .entry-content,
html body.page-id-204412 .wpcf7,
html body.page-id-204412 .wpcf7-form {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

html body.page-id-204412 .article-footer,
html body.page-id-204412 .entry-footer,
html body.page-id-204412 .under-entry-content,
html body.page-id-204412 #sidebar,
html body.page-id-204412 .article p:empty {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* 送信ボタンを含む<p>およびフォーム末尾の余白をゼロに固定 */
html body.page-id-204412 .article .wpcf7-form p:has(.wpcf7-submit),
html body.page-id-204412 .article .wpcf7-form p:last-child,
html body.page-id-204412 .article .wpcf7-form p:last-of-type,
html body.page-id-204412 .wpcf7-response-output {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* 独自フッター（#ap-site-footer）の上マージンも最小限に調整 */
html body.page-id-204412 #ap-site-footer {
  margin-top: 24px !important;
}

/* ==================================================
   77. トップページ：編集部のイチオシアプリ専用カード
   ================================================== */
body.home .ap-ichioshi-card,
body.front-page .ap-ichioshi-card {
  display: flex !important;
  flex-direction: column !important;
  padding: 18px !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 14px !important;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04) !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease !important;
}

body.home .ap-ichioshi-card:hover,
body.front-page .ap-ichioshi-card:hover {
  transform: translateY(-2px);
  border-color: #93c5fd !important;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.08) !important;
}

body.home .ap-ichioshi-head,
body.front-page .ap-ichioshi-head {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  margin-bottom: 12px !important;
}

body.home .ap-ichioshi-icon,
body.front-page .ap-ichioshi-icon {
  width: 56px !important;
  height: 56px !important;
  flex: 0 0 56px !important;
  border-radius: 13px !important;
  object-fit: cover !important;
  border: 1px solid #e2e8f0 !important;
  background: #f8fafc !important;
}

body.home .ap-ichioshi-meta,
body.front-page .ap-ichioshi-meta {
  min-width: 0 !important;
  flex: 1 1 auto !important;
}

body.home .ap-ichioshi-badge,
body.front-page .ap-ichioshi-badge {
  display: inline-block !important;
  padding: 2px 8px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  color: #2563eb !important;
  background: #eff6ff !important;
  border-radius: 5px !important;
  margin-bottom: 4px !important;
}

body.home .ap-ichioshi-appname,
body.front-page .ap-ichioshi-appname {
  font-size: 13.5px !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  line-height: 1.35 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

body.home .ap-ichioshi-card .ap-card-body,
body.front-page .ap-ichioshi-card .ap-card-body {
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
}

body.home .ap-ichioshi-card .ap-card-title,
body.front-page .ap-ichioshi-card .ap-card-title {
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1.5 !important;
  color: #1e293b !important;
  margin: 0 0 8px 0 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

body.home .ap-ichioshi-card .ap-card-snippet,
body.front-page .ap-ichioshi-card .ap-card-snippet {
  font-size: 13px !important;
  line-height: 1.6 !important;
  color: #64748b !important;
  margin: 0 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 3 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

@media screen and (max-width: 768px) {
  body.home .ap-ichioshi-grid,
  body.front-page .ap-ichioshi-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    width: 100% !important;
  }
  body.home .ap-ichioshi-card,
  body.front-page .ap-ichioshi-card {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 14px 16px !important;
    margin: 0 !important;
    text-align: left !important;
  }
  body.home .ap-ichioshi-head,
  body.front-page .ap-ichioshi-head {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    width: 100% !important;
    gap: 12px !important;
    margin: 0 0 10px 0 !important;
    padding: 0 !important;
    text-align: left !important;
  }
  body.home .ap-ichioshi-icon,
  body.front-page .ap-ichioshi-icon {
    width: 52px !important;
    height: 52px !important;
    min-width: 52px !important;
    max-width: 52px !important;
    flex: 0 0 52px !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 13px !important;
    display: block !important;
  }
  body.home .ap-ichioshi-meta,
  body.front-page .ap-ichioshi-meta {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    min-width: 0 !important;
    flex: 1 1 auto !important;
    text-align: left !important;
  }
  body.home .ap-ichioshi-appname,
  body.front-page .ap-ichioshi-appname {
    width: 100% !important;
    text-align: left !important;
  }
  body.home .ap-ichioshi-card .ap-card-body,
  body.front-page .ap-ichioshi-card .ap-card-body,
  body.home .ap-ichioshi-card .ap-card-title,
  body.front-page .ap-ichioshi-card .ap-card-title,
  body.home .ap-ichioshi-card .ap-card-snippet,
  body.front-page .ap-ichioshi-card .ap-card-snippet {
    width: 100% !important;
    text-align: left !important;
  }
}
/* ==================================================
   78. デベロッパーリリースラベル（cat:25,26）
   ================================================== */
.ap-dev-release-badge-wrap {
  margin: 0 0 14px 0;
  line-height: 1;
}

.ap-dev-release-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #1d4ed8;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
}

.ap-dev-release-badge::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2563eb;
}

/* ==================================================
   79. 全アーカイブ・カテゴリー・タグ・検索一覧のサブヒーロー高さ統一
   ================================================== */
.ap-sub-hero {
  min-height: 165px !important;
  display: flex !important;
  align-items: center !important;
}

@media screen and (max-width: 768px) {
  .ap-sub-hero {
    min-height: 120px !important;
  }
}

/* ==================================================
   80. 一覧カードのスニペット太さ・日付位置の完全統一
   ================================================== */
.archive .list .entry-card-content,
.category .list .entry-card-content,
.tag .list .entry-card-content,
.search .list .entry-card-content {
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  align-items: stretch !important;
  min-height: 116px !important;
}

.archive .list .entry-card-title,
.category .list .entry-card-title,
.tag .list .entry-card-title,
.search .list .entry-card-title {
  margin: 0 0 6px 0 !important;
  font-weight: 700 !important;
}

.archive .list .entry-card-snippet,
.category .list .entry-card-snippet,
.tag .list .entry-card-snippet,
.search .list .entry-card-snippet {
  font-size: 0.83rem !important;
  font-weight: 400 !important;
  line-height: 1.5 !important;
  color: #64748b !important;
  margin: 0 0 8px 0 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

.archive .list .entry-card-snippet *,
.category .list .entry-card-snippet *,
.tag .list .entry-card-snippet *,
.search .list .entry-card-snippet * {
  font-size: inherit !important;
  font-weight: 400 !important;
  line-height: inherit !important;
  color: inherit !important;
  margin: 0 !important;
  padding: 0 !important;
  display: inline !important;
}

.archive .list .entry-card-meta,
.category .list .entry-card-meta,
.tag .list .entry-card-meta,
.search .list .entry-card-meta {
  margin-top: auto !important;
  padding-top: 4px !important;
  min-height: 22px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

@media screen and (max-width: 768px) {
  .archive .list .entry-card-content,
  .category .list .entry-card-content,
  .tag .list .entry-card-content,
  .search .list .entry-card-content {
    min-height: 92px !important;
  }
  .archive .list .entry-card-snippet,
  .category .list .entry-card-snippet,
  .tag .list .entry-card-snippet,
  .search .list .entry-card-snippet {
    font-size: 0.75rem !important;
    line-height: 1.38 !important;
    margin: 0 0 6px 0 !important;
  }
}


/* ==================================================
   アプシル特集（カテゴリーID: 215）一覧専用カード・リード文調整
   ================================================== */
.ap-special-lead {
  margin: 0 0 20px;
}
.ap-special-card .ap-card-thumb {
  aspect-ratio: 16 / 9;
}
@media screen and (max-width: 768px) {
  .ap-special-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .ap-special-card {
    flex-direction: column !important;
    align-items: stretch !important;
  }
  .ap-special-card .ap-card-thumb {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9 !important;
  }
}

/* イチオシレビュー本文段落・画像整え（縦位置は元サイズ維持・横位置のみ幅いっぱい） */
.ap-ichioshi-review-body p + p {
  margin-top: 14px !important;
}
.ap-ichioshi-review-body img {
  display: block;
  width: auto !important;
  max-width: min(320px, 100%) !important;
  height: auto !important;
  margin: 18px auto;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
  border: 1px solid #e2e8f0;
}
.ap-ichioshi-review-body img.is-landscape {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
}

/* 紹介文（リード文）の段落 <p> タグ間隔 */
.ap-ichioshi-review-wrap .ap-review-lead p {
  margin: 0 0 14px 0 !important;
  font-size: inherit !important;
  line-height: inherit !important;
  color: inherit !important;
}
.ap-ichioshi-review-wrap .ap-review-lead p:last-child {
  margin-bottom: 0 !important;
}

/* 共通：指マーク付きh3見出しデザイン */
.ap-ichioshi-review-body h3,
.ap-ichioshi-review-wrap .ap-review-lead h3 {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  font-size: 1.2rem !important;
  font-weight: 700 !important;
  line-height: 1.45 !important;
  color: #0f172a !important;
  background: transparent !important;
  margin: 24px 0 14px 0 !important;
  padding: 0 0 8px 0 !important;
  border: none !important;
  border-bottom: 2px solid #e2e8f0 !important;
  box-shadow: none !important;
}
.ap-ichioshi-review-body h3:first-child,
.ap-ichioshi-review-wrap .ap-review-lead h3:first-child:first-child {
  margin-top: 0 !important;
}
.ap-ichioshi-review-body h3::before,
.ap-ichioshi-review-wrap .ap-review-lead h3::before::before {
  content: "" !important;
  display: inline-block !important;
  flex-shrink: 0 !important;
  width: 22px !important;
  height: 36px !important;
  position: static !important;
  background-color: transparent !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: contain !important;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20236.97%20411.98%22%3E%3Cpath%20fill%3D%22none%22%20stroke%3D%22%23f15a24%22%20stroke-width%3D%2223.97%22%20stroke-miterlimit%3D%2210%22%20d%3D%22M125.64%2C201.29c-11.14%2C0-21.86%2C1.83-31.86%2C5.22l-24.38-66.99c-5.59-15.36-22.57-23.28-37.93-17.69h0c-15.36%2C5.59-23.28%2C22.57-17.69%2C37.93l30.51%2C83.83c-11.34%2C16.15-18.01%2C35.82-18.01%2C57.05%2C0%2C54.87%2C44.48%2C99.35%2C99.35%2C99.35s99.35-44.48%2C99.35-99.35-44.48-99.35-99.35-99.35Z%22%2F%3E%3Cpath%20fill%3D%22none%22%20stroke%3D%22%23f15a24%22%20stroke-width%3D%2223.97%22%20stroke-linecap%3D%22round%22%20stroke-miterlimit%3D%2210%22%20d%3D%22M91.26%2C286.5l31.78-11.57c10.97-3.99%2C23.1%2C1.66%2C27.09%2C12.63h0c3.99%2C10.97-1.66%2C23.1-12.63%2C27.09l-31.78%2C11.57%22%2F%3E%3Cpath%20fill%3D%22%23f15a24%22%20d%3D%22M112.13%2C134.21c-1.94-5.85-4.56-11.47-7.81-16.71l68.48-42.39c6.56%2C10.6%2C11.87%2C21.97%2C15.79%2C33.8l-76.46%2C25.3ZM25.22%2C81.59L11.98%2C2.15C24.32.09%2C36.9-.49%2C49.35.41l-5.82%2C80.32c-6.1-.44-12.26-.16-18.31.85ZM85.97%2C97.04c-4.82-3.75-10.11-6.94-15.72-9.48L103.44%2C14.18c11.4%2C5.16%2C22.17%2C11.66%2C32.01%2C19.32l-49.48%2C63.54Z%22%2F%3E%3C%2Fsvg%3E") !important;
}
.ap-ichioshi-review-body h3::after,
.ap-ichioshi-review-wrap .ap-review-lead h3::after::after {
  display: none !important;
}
@media (max-width: 767px) {
  .ap-ichioshi-review-body h3,
  .ap-ichioshi-review-wrap .ap-review-lead h3,
  .ap-single-wrap .ap-single-section h3 {
    font-size: 1.12rem !important;
    line-height: 1.4 !important;
  }
  .ap-ichioshi-review-body h3::before,
  .ap-ichioshi-review-wrap .ap-review-lead h3::before,
  .ap-single-wrap .ap-single-section h3::before {
    width: 19px !important;
    height: 32px !important;
  }
}

/* アプリ基本データ表のフォントサイズ拡大（イチオシ・新着共通） */
.ap-ichioshi-spec-card .ap-single-spec-table th,
.ap-ichioshi-spec-card .ap-single-spec-table td {
  font-size: 15px !important;
  line-height: 1.6 !important;
  padding: 12px 16px !important;
}
@media (max-width: 767px) {
  .ap-ichioshi-spec-card .ap-single-spec-table th,
  .ap-ichioshi-spec-card .ap-single-spec-table td {
    font-size: 14px !important;
    padding: 10px 12px !important;
  }
}

/* アプリ基本データ枠線くっきり強調 */
.ap-ichioshi-spec-card {
  padding: 14px !important;
  border: 1.5px solid #cbd5e1 !important;
}
.ap-ichioshi-spec-card .ap-single-spec-table {
  border: 1px solid #cbd5e1 !important;
  border-collapse: collapse !important;
}
.ap-ichioshi-spec-card .ap-single-spec-table tr {
  border-bottom: 1px solid #cbd5e1 !important;
}
.ap-ichioshi-spec-card .ap-single-spec-table th {
  border-right: 1px solid #cbd5e1 !important;
  background-color: #f1f5f9 !important;
}

/* アプシル特集リスト：カード下〜次番号上のアキ確保＆まとめH2見出し装飾 */
.entry-content .appshiru-special-list {
  margin-bottom: 16px !important;
}
.entry-content .appshiru-special-list .ap-sp-item,
.article .appshiru-special-list .ap-sp-item {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
}
.entry-content .appshiru-special-list .ap-sp-item + .ap-sp-item,
.article .appshiru-special-list .ap-sp-item + .ap-sp-item,
.entry-content .appshiru-special-list .ap-sp-card + .ap-sp-item,
.article .appshiru-special-list .ap-sp-card + .ap-sp-item {
  margin-top: 36px !important;
}
.entry-content .appshiru-special-list .ap-sp-outer-num,
.article .appshiru-special-list .ap-sp-outer-num {
  display: block !important;
  margin: 0 0 8px 2px !important;
  padding: 0 !important;
  line-height: 1 !important;
}
.entry-content .appshiru-special-list .ap-sp-card,
.article .appshiru-special-list .ap-sp-card {
  margin: 0 !important;
}
.entry-content .appshiru-special-list + h2,
.article .entry-content h2 {
  margin-top: 24px !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  border-left: none !important;
  border-bottom: none !important;
  background: transparent !important;
  padding-left: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
.entry-content .appshiru-special-list + h2::before,
.article .entry-content h2::before {
  content: "" !important;
  display: inline-block !important;
  position: static !important;
  flex: 0 0 21px !important;
  width: 21px !important;
  height: 36px !important;
  background-color: transparent !important;
  background-image: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20236.97%20411.98%22%3E%3Cpath%20fill%3D%22none%22%20stroke%3D%22%23f15a24%22%20stroke-miterlimit%3D%2210%22%20stroke-width%3D%2223.97%22%20d%3D%22M125.64%2C201.29c-11.14%2C0-21.86%2C1.83-31.86%2C5.22l-24.38-66.99c-5.59-15.36-22.57-23.28-37.93-17.69h0c-15.36%2C5.59-23.28%2C22.57-17.69%2C37.93l30.51%2C83.83c-11.34%2C16.15-18.01%2C35.82-18.01%2C57.05%2C0%2C54.87%2C44.48%2C99.35%2C99.35%2C99.35s99.35-44.48%2C99.35-99.35-44.48-99.35-99.35-99.35Z%22%2F%3E%3Cpath%20fill%3D%22none%22%20stroke%3D%22%23f15a24%22%20stroke-linecap%3D%22round%22%20stroke-miterlimit%3D%2210%22%20stroke-width%3D%2223.97%22%20d%3D%22M91.26%2C286.5l31.78-11.57c10.97-3.99%2C23.1%2C1.66%2C27.09%2C12.63h0c3.99%2C10.97-1.66%2C23.1-12.63%2C27.09l-31.78%2C11.57%22%2F%3E%3Cpath%20fill%3D%22%23f15a24%22%20d%3D%22M112.13%2C134.21c-1.94-5.85-4.56-11.47-7.81-16.71l68.48-42.39c6.56%2C10.6%2C11.87%2C21.97%2C15.79%2C33.8l-76.46%2C25.3ZM25.22%2C81.59L11.98%2C2.15C24.32.09%2C36.9-.49%2C49.35.41l-5.82%2C80.32c-6.1-.44-12.26-.16-18.31.85ZM85.97%2C97.04c-4.82-3.75-10.11-6.94-15.72-9.48L103.44%2C14.18c11.4%2C5.16%2C22.17%2C11.66%2C32.01%2C19.32l-49.48%2C63.54Z%22%2F%3E%3C%2Fsvg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: center center !important;
  background-size: contain !important;
  border: none !important;
  margin: 0 !important;
}
@media screen and (max-width: 768px) {
  .entry-content .appshiru-special-list .ap-sp-item + .ap-sp-item,
  .article .appshiru-special-list .ap-sp-item + .ap-sp-item,
  .entry-content .appshiru-special-list .ap-sp-card + .ap-sp-item,
  .article .appshiru-special-list .ap-sp-card + .ap-sp-item {
    margin-top: 32px !important;
  }
  .entry-content .appshiru-special-list + h2,
  .article .entry-content h2 {
    gap: 8px !important;
  }
  .entry-content .appshiru-special-list + h2::before,
  .article .entry-content h2::before {
    flex: 0 0 18px !important;
    width: 18px !important;
    height: 31px !important;
  }
}

/* スマホ表示：リード文・まとめ文章を含む記事内段落の行間を1.5に完全統一 */
@media screen and (max-width: 768px) {
  .entry-content > p,
  .entry-content h2 ~ p,
  .article .entry-content p {
    line-height: 1.5 !important;
  }
}

/* 記事メインビジュアル（アイキャッチ）左上のカテゴリーラベルを非表示 */
.eye-catch .cat-label,
.single .eye-catch-wrap .cat-label,
.article-header .eye-catch .cat-label {
  display: none !important;
}

/* appshiru-special-paragraph-margin */
body.single.category-app-special .entry-content > p,
body.single.category-215 .entry-content > p {
  margin-top: 0 !important;
  margin-bottom: 10px !important;
}
body.single.category-app-special .entry-content > h2,
body.single.category-215 .entry-content > h2 {
  margin-top: 28px !important;
  margin-bottom: 14px !important;
}

/* hide-bottom-category-description-2026 */
.category-215 .category-content {
  display: none !important;
}
.category-215 .ap-special-archive-wrap > .category-content {
  display: block !important;
}

/* pagination-top-spacing-2026 */
.ap-special-archive-wrap,
.ap-grid-3 {
  margin-bottom: 36px !important;
}
.pagination-next {
  margin-top: 32px !important;
}
.pagination-next-link {
  margin-top: 28px !important;
  display: block;
}
.pagination {
  margin-top: 24px !important;
}

/* hide-bottom-category-description-cat218-2026 */
.category-218 .category-content ~ .category-content,
.category-218 #list ~ .category-content,
.category-218 .list ~ .category-content,
.category-218 .ap-grid-3 ~ .category-content,
.category-218 .pagination ~ .category-content {
  display: none !important;
}

/* === ランキングページ（/ranking/）重複タイトル・更新日非表示＆リード文・余白統一 === */
body.page-slug-ranking .article-header, body.page-id-24550 .article-header,
body.page-slug-ranking h1.entry-title, body.page-id-24550 h1.entry-title,
body.page-slug-ranking .post-date, body.page-id-24550 .post-date,
body.page-slug-ranking .post-update, body.page-id-24550 .post-update,
body.page-slug-ranking .date-tags, body.page-id-24550 .date-tags,
body.page-slug-ranking .entry-meta, body.page-id-24550 .entry-meta,
.ap-rp-updated,
.ap-rp-count {
  display: none !important;
}

@media screen and (min-width: 769px) {
  body.page-slug-ranking .ap-sub-hero, body.page-id-24550 .ap-sub-hero,
  .ap-sub-hero.ap-sub-hero-ranking {
    margin-bottom: 36px !important;
  }
  .ap-rp-header {
    margin-bottom: 34px !important;
  }
}

@media screen and (max-width: 768px) {
  body.page-slug-ranking .ap-sub-hero, body.page-id-24550 .ap-sub-hero,
  .ap-sub-hero.ap-sub-hero-ranking {
    margin-bottom: 20px !important;
  }
  .ap-rp-header {
    margin-bottom: 20px !important;
  }
}

body.page-slug-ranking #main, body.page-id-24550 #main,
body.page-slug-ranking .main, body.page-id-24550 .main,
body.page-slug-ranking .article, body.page-id-24550 .article,
body.page-slug-ranking .entry-content, body.page-id-24550 .entry-content {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

.ap-rp-wrap {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

.ap-rp-header {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin-top: 0 !important;
  border-bottom: none !important;
}

body.page-slug-ranking .ap-rp-lead, body.page-id-24550 .ap-rp-lead,
.ap-rp-wrap .ap-rp-lead {
  font-size: 18px !important;
  line-height: 1.7 !important;
  margin: 0 !important;
  padding: 0 !important;
}

@media screen and (max-width: 768px) {
  body.page-slug-ranking .ap-rp-lead, body.page-id-24550 .ap-rp-lead,
  .ap-rp-wrap .ap-rp-lead {
    font-size: 15px !important;
    line-height: 1.5 !important;
  }
}

/* === ランキング順位数字（Oswald・左上配置・コンパクトサイズ・1〜3位カラー） === */
.ap-rank-item,
.ap-rp-item {
  align-items: flex-start !important;
}

.ap-rank-num,
.ap-rp-num {
  font-family: 'Oswald', sans-serif !important;
  font-weight: 700 !important;
  font-style: normal !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  width: 24px !important;
  min-width: 24px !important;
  height: auto !important;
  padding: 0 !important;
  margin-top: 1px !important;
  line-height: 1 !important;
  font-size: 15px !important;
  letter-spacing: 0.01em;
  color: #475569 !important;
  display: inline-flex !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  align-self: flex-start !important;
}

.ap-rp-num {
  width: 28px !important;
  min-width: 28px !important;
  font-size: 16px !important;
}

/* 1位：ゴールド */
.ap-rank-num.ap-rank-1,
.ap-rp-num.ap-rp-num-1 {
  color: #d49b1a !important;
  font-size: 17px !important;
}
.ap-rp-num.ap-rp-num-1 {
  font-size: 18px !important;
}

/* 2位：シルバー（濃いめ） */
.ap-rank-num.ap-rank-2,
.ap-rp-num.ap-rp-num-2 {
  color: #64748b !important;
  font-size: 16px !important;
}
.ap-rp-num.ap-rp-num-2 {
  font-size: 17px !important;
}

/* 3位：ブロンズ */
.ap-rank-num.ap-rank-3,
.ap-rp-num.ap-rp-num-3 {
  color: #b45309 !important;
  font-size: 16px !important;
}
.ap-rp-num.ap-rp-num-3 {
  font-size: 17px !important;
}

@media screen and (max-width: 768px) {
  .ap-rank-num,
  .ap-rp-num {
    width: 22px !important;
    min-width: 22px !important;
    font-size: 14px !important;
  }
  .ap-rank-num.ap-rank-1,
  .ap-rp-num.ap-rp-num-1 {
    font-size: 16px !important;
  }
  .ap-rank-num.ap-rank-2,
  .ap-rp-num.ap-rp-num-2 {
    font-size: 15px !important;
  }
  .ap-rank-num.ap-rank-3,
  .ap-rp-num.ap-rp-num-3 {
    font-size: 15px !important;
  }
}

/* === 運営会社情報ページ（/aboutus/）調整 === */
body.page-slug-aboutus .article-header,
body.page-id-829 .article-header,
body.page-slug-aboutus h1.entry-title,
body.page-id-829 h1.entry-title,
body.page-slug-aboutus .post-date,
body.page-id-829 .post-date,
body.page-slug-aboutus .post-update,
body.page-id-829 .post-update,
body.page-slug-aboutus .date-tags,
body.page-id-829 .date-tags,
body.page-slug-aboutus .entry-meta,
body.page-id-829 .entry-meta {
  display: none !important;
}

@media screen and (min-width: 769px) {
  body.page-slug-aboutus .ap-sub-hero,
  body.page-id-829 .ap-sub-hero,
  .ap-sub-hero.ap-sub-hero-aboutus {
    margin-bottom: 36px !important;
  }
}

@media screen and (max-width: 768px) {
  body.page-slug-aboutus .ap-sub-hero,
  body.page-id-829 .ap-sub-hero,
  .ap-sub-hero.ap-sub-hero-aboutus {
    margin-bottom: 20px !important;
  }
}

body.page-slug-aboutus #main,
body.page-id-829 #main,
body.page-slug-aboutus .main,
body.page-id-829 .main,
body.page-slug-aboutus .article,
body.page-id-829 .article,
body.page-slug-aboutus .entry-content,
body.page-id-829 .entry-content {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

body.page-slug-aboutus .entry-content > p:first-of-type,
body.page-id-829 .entry-content > p:first-of-type {
  font-size: 18px !important;
  line-height: 1.7 !important;
  margin-top: 0 !important;
  margin-bottom: 34px !important;
}

@media screen and (max-width: 768px) {
  body.page-slug-aboutus .entry-content > p:first-of-type,
  body.page-id-829 .entry-content > p:first-of-type {
    font-size: 15px !important;
    line-height: 1.5 !important;
    margin-bottom: 20px !important;
  }
}

/* 運営会社情報ページ（/aboutus/）：見出し左の指マークを削除 */
body.page-slug-aboutus .entry-content h2::before,
body.page-id-829 .entry-content h2::before,
body.page-slug-aboutus .entry-content h3::before,
body.page-id-829 .entry-content h3::before {
  display: none !important;
  content: none !important;
  background-image: none !important;
  width: 0 !important;
  height: 0 !important;
}

body.page-slug-aboutus .entry-content h2,
body.page-id-829 .entry-content h2,
body.page-slug-aboutus .entry-content h3,
body.page-id-829 .entry-content h3 {
  padding-left: 0 !important;
  gap: 0 !important;
}

/* === 運営会社情報ページ（/aboutus/）：リード文以外の本文フォントサイズ統一 === */
body.page-slug-aboutus .entry-content p:not(:first-of-type),
body.page-id-829 .entry-content p:not(:first-of-type),
body.page-slug-aboutus .entry-content table,
body.page-id-829 .entry-content table,
body.page-slug-aboutus .entry-content th,
body.page-id-829 .entry-content th,
body.page-slug-aboutus .entry-content td,
body.page-id-829 .entry-content td,
body.page-slug-aboutus .entry-content li,
body.page-id-829 .entry-content li,
body.page-slug-aboutus .entry-content dd,
body.page-id-829 .entry-content dd,
body.page-slug-aboutus .entry-content dt,
body.page-id-829 .entry-content dt {
  font-size: 16px !important;
  line-height: 1.75 !important;
}

@media screen and (max-width: 768px) {
  body.page-slug-aboutus .entry-content p:not(:first-of-type),
  body.page-id-829 .entry-content p:not(:first-of-type),
  body.page-slug-aboutus .entry-content table,
  body.page-id-829 .entry-content table,
  body.page-slug-aboutus .entry-content th,
  body.page-id-829 .entry-content th,
  body.page-slug-aboutus .entry-content td,
  body.page-id-829 .entry-content td,
  body.page-slug-aboutus .entry-content li,
  body.page-id-829 .entry-content li,
  body.page-slug-aboutus .entry-content dd,
  body.page-id-829 .entry-content dd,
  body.page-slug-aboutus .entry-content dt,
  body.page-id-829 .entry-content dt {
    font-size: 15px !important;
    line-height: 1.65 !important;
  }
}

/* === 運営会社情報ページ（/aboutus/）：テーブル枠線・左列フォント・スマホ上下表示 === */
body.page-slug-aboutus .entry-content table,
body.page-id-829 .entry-content table {
  width: 100% !important;
  border-collapse: collapse !important;
  border: 1.5px solid #cbd5e1 !important;
}

body.page-slug-aboutus .entry-content th,
body.page-id-829 .entry-content th,
body.page-slug-aboutus .entry-content td,
body.page-id-829 .entry-content td {
  border: 1px solid #cbd5e1 !important;
  padding: 13px 16px !important;
  vertical-align: middle !important;
}

body.page-slug-aboutus .entry-content th,
body.page-id-829 .entry-content th {
  text-align: left !important;
  font-family: 'M PLUS 1p', sans-serif !important;
  font-weight: 700 !important;
  background-color: #f1f5f9 !important;
  color: #1e293b !important;
  width: 28% !important;
}

body.page-slug-aboutus .entry-content td a,
body.page-id-829 .entry-content td a,
body.page-slug-aboutus .entry-content p a,
body.page-id-829 .entry-content p a {
  color: #2563eb !important;
  text-decoration: underline !important;
  font-weight: 600;
}

@media screen and (max-width: 768px) {
  body.page-slug-aboutus .entry-content table,
  body.page-id-829 .entry-content table,
  body.page-slug-aboutus .entry-content tbody,
  body.page-id-829 .entry-content tbody,
  body.page-slug-aboutus .entry-content tr,
  body.page-id-829 .entry-content tr,
  body.page-slug-aboutus .entry-content th,
  body.page-id-829 .entry-content th,
  body.page-slug-aboutus .entry-content td,
  body.page-id-829 .entry-content td {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  body.page-slug-aboutus .entry-content table,
  body.page-id-829 .entry-content table {
    border: none !important;
  }

  body.page-slug-aboutus .entry-content tr,
  body.page-id-829 .entry-content tr {
    margin-bottom: 12px !important;
    border: 1px solid #cbd5e1 !important;
  }

  body.page-slug-aboutus .entry-content tr:last-child,
  body.page-id-829 .entry-content tr:last-child {
    margin-bottom: 0 !important;
  }

  body.page-slug-aboutus .entry-content th,
  body.page-id-829 .entry-content th {
    min-width: 0 !important;
    padding: 9px 12px !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
    border: none !important;
    border-bottom: 1px solid #cbd5e1 !important;
  }

  body.page-slug-aboutus .entry-content td,
  body.page-id-829 .entry-content td {
    padding: 11px 12px !important;
    font-size: 15px !important;
    line-height: 1.6 !important;
    border: none !important;
    background-color: #ffffff !important;
  }
}

/* === 通常お問い合わせページ（/tube_contact/）調整 === */
body.page-slug-tube_contact .article-header,
body.page-id-4603 .article-header,
body.page-slug-tube_contact h1.entry-title,
body.page-id-4603 h1.entry-title,
body.page-slug-tube_contact .post-date,
body.page-id-4603 .post-date,
body.page-slug-tube_contact .post-update,
body.page-id-4603 .post-update,
body.page-slug-tube_contact .date-tags,
body.page-id-4603 .date-tags,
body.page-slug-tube_contact .entry-meta,
body.page-id-4603 .entry-meta {
  display: none !important;
}

@media screen and (min-width: 769px) {
  body.page-slug-tube_contact .ap-sub-hero,
  body.page-id-4603 .ap-sub-hero,
  .ap-sub-hero.ap-sub-hero-contact {
    margin-bottom: 36px !important;
  }
}

@media screen and (max-width: 768px) {
  body.page-slug-tube_contact .ap-sub-hero,
  body.page-id-4603 .ap-sub-hero,
  .ap-sub-hero.ap-sub-hero-contact {
    margin-bottom: 20px !important;
  }
}

body.page-slug-tube_contact #main,
body.page-id-4603 #main,
body.page-slug-tube_contact .main,
body.page-id-4603 .main,
body.page-slug-tube_contact .article,
body.page-id-4603 .article,
body.page-slug-tube_contact .entry-content,
body.page-id-4603 .entry-content {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

body.page-slug-tube_contact .entry-content > p:first-of-type,
body.page-id-4603 .entry-content > p:first-of-type {
  font-size: 18px !important;
  line-height: 1.7 !important;
  margin-top: 0 !important;
  margin-bottom: 34px !important;
}

@media screen and (max-width: 768px) {
  body.page-slug-tube_contact .entry-content > p:first-of-type,
  body.page-id-4603 .entry-content > p:first-of-type {
    font-size: 15px !important;
    line-height: 1.5 !important;
    margin-bottom: 20px !important;
  }
}

/* === 通常お問い合わせページ（/tube_contact/）：リリース掲載依頼フォームとデザイン統一 === */
body.page-slug-tube_contact .entry-content form label,
body.page-id-4603 .entry-content form label,
body.page-slug-tube_contact .entry-content form p:not(:has(input, textarea, select, button)),
body.page-id-4603 .entry-content form p:not(:has(input, textarea, select, button)),
body.page-slug-tube_contact .entry-content form th,
body.page-id-4603 .entry-content form th,
body.page-slug-tube_contact .entry-content form dt,
body.page-id-4603 .entry-content form dt {
  font-family: 'M PLUS 1p', sans-serif !important;
  font-weight: 400 !important;
  font-size: 18px !important;
  line-height: 1.5 !important;
  color: #1e293b !important;
  margin-top: 0 !important;
  margin-bottom: 6px !important;
  padding-bottom: 0 !important;
}

body.page-slug-tube_contact .entry-content form .wpcf7-list-item-label,
body.page-id-4603 .entry-content form .wpcf7-list-item-label,
body.page-slug-tube_contact .entry-content form .wpcf7-list-item label,
body.page-id-4603 .entry-content form .wpcf7-list-item label,
body.page-slug-tube_contact .entry-content form label:has(input[type="radio"], input[type="checkbox"]),
body.page-id-4603 .entry-content form label:has(input[type="radio"], input[type="checkbox"]),
body.page-slug-tube_contact .entry-content form select,
body.page-id-4603 .entry-content form select,
body.page-slug-tube_contact .entry-content form option,
body.page-id-4603 .entry-content form option,
body.page-slug-tube_contact .entry-content form input,
body.page-id-4603 .entry-content form input,
body.page-slug-tube_contact .entry-content form textarea,
body.page-id-4603 .entry-content form textarea {
  font-family: 'M PLUS 1p', sans-serif !important;
  font-weight: 400 !important;
}

body.page-slug-tube_contact .entry-content form br,
body.page-id-4603 .entry-content form br {
  display: none !important;
}

body.page-slug-tube_contact .entry-content form .wpcf7-form-control-wrap,
body.page-id-4603 .entry-content form .wpcf7-form-control-wrap,
body.page-slug-tube_contact .entry-content form input[type="text"],
body.page-id-4603 .entry-content form input[type="text"],
body.page-slug-tube_contact .entry-content form input[type="email"],
body.page-id-4603 .entry-content form input[type="email"],
body.page-slug-tube_contact .entry-content form input[type="tel"],
body.page-id-4603 .entry-content form input[type="tel"],
body.page-slug-tube_contact .entry-content form input[type="url"],
body.page-id-4603 .entry-content form input[type="url"],
body.page-slug-tube_contact .entry-content form select,
body.page-id-4603 .entry-content form select,
body.page-slug-tube_contact .entry-content form textarea,
body.page-id-4603 .entry-content form textarea {
  margin-top: 4px !important;
  margin-bottom: 0 !important;
}

body.page-slug-tube_contact .entry-content form p:has(input, textarea, select),
body.page-id-4603 .entry-content form p:has(input, textarea, select) {
  margin-top: 0 !important;
  margin-bottom: 22px !important;
}

/* === 通常お問い合わせページ（/tube_contact/）：リード文改行解除＆スマホ項目名16px === */
body.page-slug-tube_contact .entry-content > p:first-of-type br,
body.page-id-4603 .entry-content > p:first-of-type br {
  display: none !important;
}

@media screen and (max-width: 768px) {
  body.page-slug-tube_contact .entry-content form label,
  body.page-id-4603 .entry-content form label,
  body.page-slug-tube_contact .entry-content form p:not(:has(input, textarea, select, button)),
  body.page-id-4603 .entry-content form p:not(:has(input, textarea, select, button)),
  body.page-slug-tube_contact .entry-content form th,
  body.page-id-4603 .entry-content form th,
  body.page-slug-tube_contact .entry-content form dt,
  body.page-id-4603 .entry-content form dt {
    font-size: 16px !important;
  }
}

/* === プライバシーポリシーページ調整 === */
body.page-slug-privacy-policy .article-header,
body.page-id-205096 .article-header,
body.page-slug-privacy-policy h1.entry-title,
body.page-id-205096 h1.entry-title,
body.page-slug-privacy-policy .post-date,
body.page-id-205096 .post-date,
body.page-slug-privacy-policy .post-update,
body.page-id-205096 .post-update,
body.page-slug-privacy-policy .date-tags,
body.page-id-205096 .date-tags,
body.page-slug-privacy-policy .entry-meta,
body.page-id-205096 .entry-meta {
  display: none !important;
}

@media screen and (min-width: 769px) {
  body.page-slug-privacy-policy .ap-sub-hero,
  body.page-id-205096 .ap-sub-hero,
  .ap-sub-hero.ap-sub-hero-privacy {
    margin-bottom: 36px !important;
  }
}

@media screen and (max-width: 768px) {
  body.page-slug-privacy-policy .ap-sub-hero,
  body.page-id-205096 .ap-sub-hero,
  .ap-sub-hero.ap-sub-hero-privacy {
    margin-bottom: 20px !important;
  }
}

body.page-slug-privacy-policy #main,
body.page-id-205096 #main,
body.page-slug-privacy-policy .main,
body.page-id-205096 .main,
body.page-slug-privacy-policy .article,
body.page-id-205096 .article,
body.page-slug-privacy-policy .entry-content,
body.page-id-205096 .entry-content {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* リード文の体裁統一 */
body.page-slug-privacy-policy .entry-content > p:first-of-type,
body.page-id-205096 .entry-content > p:first-of-type {
  font-size: 18px !important;
  line-height: 1.7 !important;
  margin-top: 0 !important;
  margin-bottom: 34px !important;
}

body.page-slug-privacy-policy .entry-content > p:first-of-type br,
body.page-id-205096 .entry-content > p:first-of-type br {
  display: none !important;
}

@media screen and (max-width: 768px) {
  body.page-slug-privacy-policy .entry-content > p:first-of-type,
  body.page-id-205096 .entry-content > p:first-of-type {
    font-size: 15px !important;
    line-height: 1.5 !important;
    margin-bottom: 20px !important;
  }
}

/* 見出し左の指マーク削除 */
body.page-slug-privacy-policy .entry-content h2::before,
body.page-id-205096 .entry-content h2::before,
body.page-slug-privacy-policy .entry-content h3::before,
body.page-id-205096 .entry-content h3::before {
  display: none !important;
  content: none !important;
  background-image: none !important;
  width: 0 !important;
  height: 0 !important;
}

body.page-slug-privacy-policy .entry-content h2,
body.page-id-205096 .entry-content h2,
body.page-slug-privacy-policy .entry-content h3,
body.page-id-205096 .entry-content h3 {
  padding-left: 0 !important;
  gap: 0 !important;
}

/* === フッター：「デベロッパー向け」バッジのフォントサイズ拡大（PCのみ） === */
@media screen and (min-width: 769px) {
  #ap-site-footer .ap-ft-dev-badge,
  .ap-ft-dev-btn .ap-ft-dev-badge {
    font-size: 14px !important;
    line-height: 1.3 !important;
    padding: 4px 10px !important;
  }
}

/* === フッター：「アプリリリース掲載依頼 》」PCのみ全角アキ＆残り領域の左右センター配置 === */
@media screen and (min-width: 769px) {
  #ap-site-footer .ap-ft-dev-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
  }
  #ap-site-footer .ap-ft-dev-badge {
    flex-shrink: 0 !important;
  }
  #ap-site-footer .ap-ft-dev-label-pc {
    display: block !important;
    flex: 1 1 auto !important;
    text-align: center !important;
    white-space: nowrap !important;
  }
  #ap-site-footer .ap-ft-dev-label-sp {
    display: none !important;
  }
}

@media screen and (max-width: 768px) {
  #ap-site-footer .ap-ft-dev-label-pc {
    display: none !important;
  }
  #ap-site-footer .ap-ft-dev-label-sp {
    display: inline !important;
    white-space: nowrap !important;
  }
}

/* === フッター：デベロッパー向けボタン＆左カラム幅引き締め（3カラム維持・PC） === */
@media screen and (min-width: 769px) {
  #ap-site-footer .ap-ft-grid {
    display: grid !important;
    grid-template-columns: 365px 0.85fr 1.35fr !important;
    column-gap: 40px !important;
  }
  #ap-site-footer .ap-ft-brand {
    max-width: 365px !important;
    width: 365px !important;
  }
  #ap-site-footer .ap-ft-brand .ap-ft-desc {
    max-width: 100% !important;
    width: 100% !important;
  }
  #ap-site-footer .ap-ft-dev-box {
    max-width: 100% !important;
    width: 100% !important;
  }
  #ap-site-footer .ap-ft-dev-btn {
    width: 100% !important;
    padding: 11px 14px !important;
    gap: 8px !important;
    justify-content: space-between !important;
    box-sizing: border-box !important;
    white-space: nowrap !important;
  }
  #ap-site-footer .ap-ft-dev-badge {
    padding: 3px 8px !important;
    font-size: 11px !important;
    flex-shrink: 0 !important;
  }
  #ap-site-footer .ap-ft-dev-label-pc {
    font-size: 13px !important;
    letter-spacing: 0.01em !important;
  }
}

/* === フッター：右側リンク行間詰め === */
#ap-site-footer .ap-ft-list {
  gap: 5px !important;
  row-gap: 5px !important;
}
#ap-site-footer .ap-ft-list li {
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.35 !important;
}
#ap-site-footer .ap-ft-list a {
  display: inline-block !important;
  line-height: 1.35 !important;
  padding: 1px 0 !important;
}

/* スマホ表示：メインビジュアル内検索窓のはみ出し防止 */
@media screen and (max-width: 767px) {
  .ap-mv-search {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 4px;
    gap: 4px;
  }

  .ap-mv-search input[type="search"] {
    min-width: 0;
    width: 100%;
    padding: 8px 10px;
    font-size: 0.82rem;
    box-sizing: border-box;
  }

  .ap-mv-search button {
    flex-shrink: 0;
    padding: 8px 14px;
    font-size: 0.82rem;
  }
}

/* トップページ表示上限カット（OSフィルタ後の6件・6件・3件維持） */
.ap-home-wrap .ap-ichioshi-grid > a.ap-limit-hidden,
.ap-home-wrap .ap-new-list > a.ap-limit-hidden,
.ap-home-wrap .ap-grid-3 > a.ap-limit-hidden,
.ap-limit-hidden {
  display: none !important;
}

/* === トップページランキング数字をランキングページと完全統一（Oswald・背景なし数字のみ・1〜3位カラー） === */
#ap-ranking .ap-rank-item {
  align-items: flex-start !important;
}

#ap-ranking .ap-rank-num {
  font-family: 'Oswald', sans-serif !important;
  font-weight: 700 !important;
  font-style: normal !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  width: 28px !important;
  min-width: 28px !important;
  height: auto !important;
  padding: 0 !important;
  margin-top: 1px !important;
  line-height: 1 !important;
  font-size: 16px !important;
  letter-spacing: 0.01em !important;
  color: #475569 !important;
  display: inline-flex !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  align-self: flex-start !important;
}

#ap-ranking .ap-rank-num.ap-rank-1 {
  color: #d49b1a !important;
  font-size: 18px !important;
}

#ap-ranking .ap-rank-num.ap-rank-2 {
  color: #64748b !important;
  font-size: 17px !important;
}

#ap-ranking .ap-rank-num.ap-rank-3 {
  color: #b45309 !important;
  font-size: 17px !important;
}

@media screen and (max-width: 768px) {
  #ap-ranking .ap-rank-num {
    width: 24px !important;
    min-width: 24px !important;
    font-size: 15px !important;
  }
  #ap-ranking .ap-rank-num.ap-rank-1 {
    font-size: 17px !important;
  }
  #ap-ranking .ap-rank-num.ap-rank-2,
  #ap-ranking .ap-rank-num.ap-rank-3 {
    font-size: 16px !important;
  }
}

/* ==================================================
   個別アプリ記事（イチオシ・新着）のアプリ欄をアプシル特集個別ページ（.appshiru-app-card）と統一
   - アプリ名前の指マーク（::before）を完全削除
   - PC：アプリ名下にデベロッパー名 / スマホ：アイコン下にデベロッパー名
   ================================================== */
.ap-single-hero-card {
  background: var(--ap-surface, #ffffff) !important;
  border: 1px solid var(--ap-border, #e2e8f0) !important;
  border-radius: var(--ap-radius, 14px) !important;
  box-shadow: var(--ap-shadow, 0 4px 16px rgba(15, 23, 42, 0.05)) !important;
  padding: 20px !important;
}

.ap-single-hero-top {
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
}

.ap-single-icon-box {
  flex: 0 0 72px !important;
  width: 72px !important;
  height: 72px !important;
  border-radius: 16px !important;
  border: 1px solid var(--ap-border, #e2e8f0) !important;
  overflow: hidden !important;
}

.ap-single-icon-box img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

.ap-single-head-info {
  flex: 1 !important;
  min-width: 0 !important;
}

/* アプリ名：指マーク（::before / ::after）完全削除＆アプシル特集とフォント統一 */
.ap-single-app-title,
body.single-app_page .entry-content h2.ap-single-app-title,
.article h2.ap-single-app-title {
  font-size: 1.15rem !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  color: var(--ap-text, #0f172a) !important;
  margin: 0 0 4px 0 !important;
  padding: 0 !important;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  display: block !important;
}

.ap-single-app-title::before,
.ap-single-app-title::after,
body.single-app_page .entry-content h2.ap-single-app-title::before,
body.single-app_page .entry-content h2.ap-single-app-title::after,
.article h2.ap-single-app-title::before,
.article h2.ap-single-app-title::after {
  content: none !important;
  display: none !important;
  background: none !important;
  width: 0 !important;
  height: 0 !important;
}

/* PC：アプリ名下にデベロッパー名 */
.ap-single-dev {
  font-size: 0.85rem !important;
  line-height: 1.4 !important;
  color: var(--ap-text-sub, #64748b) !important;
  margin: 0 !important;
}

/* スマホ：アイコン下にデベロッパー名を配置 */
@media screen and (max-width: 768px) {
  .ap-single-hero-card {
    padding: 16px !important;
  }

  .ap-single-hero-top {
    display: grid !important;
    grid-template-columns: 60px minmax(0, 1fr) !important;
    column-gap: 12px !important;
    row-gap: 8px !important;
    align-items: center !important;
  }

  .ap-single-icon-box {
    grid-column: 1 / 2 !important;
    grid-row: 1 / 2 !important;
    width: 60px !important;
    height: 60px !important;
    border-radius: 14px !important;
  }

  .ap-single-head-info {
    display: contents !important;
  }

  .ap-single-app-title,
  body.single-app_page .entry-content h2.ap-single-app-title,
  .article h2.ap-single-app-title {
    grid-column: 2 / 3 !important;
    grid-row: 1 / 2 !important;
    font-size: 1.05rem !important;
    margin: 0 !important;
  }

  .ap-single-dev {
    grid-column: 1 / -1 !important;
    grid-row: 2 / 3 !important;
    font-size: 0.82rem !important;
    margin: 0 !important;
  }
}



/* ==================================================
   トップページ各セクション下部の「もっと見る」ボタン
   ================================================== */
.ap-sec .ap-ichioshi-grid,
.ap-sec .ap-new-list,
.ap-sec .ap-special-grid {
  margin-bottom: 0 !important;
}

.ap-sec .ap-sec-more-wrap {
  margin-top: 20px !important;
  margin-bottom: 0 !important;
  display: flex !important;
  justify-content: center !important;
}

.ap-sec .ap-sec-more-wrap a.ap-sec-more-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
  width: auto !important;
  min-width: 200px !important;
  padding: 9px 24px !important;
  background: #ffffff !important;
  color: var(--ap-primary, #2563eb) !important;
  border: 1px solid var(--ap-primary, #2563eb) !important;
  border-radius: 8px !important;
  font-size: 0.88rem !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.08) !important;
  transition: background-color 0.18s ease, color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease !important;
}

.ap-sec .ap-sec-more-wrap a.ap-sec-more-btn span {
  font-size: 1.15em;
  line-height: 1;
  transition: transform 0.18s ease;
}

.ap-sec .ap-sec-more-wrap a.ap-sec-more-btn:hover {
  background: var(--ap-primary, #2563eb) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2) !important;
  transform: translateY(-1px) !important;
}

.ap-sec .ap-sec-more-wrap a.ap-sec-more-btn:hover span {
  transform: translateX(3px);
}

@media screen and (max-width: 768px) {
  .ap-sec .ap-sec-more-wrap {
    margin-top: 16px !important;
  }
  .ap-sec .ap-sec-more-wrap a.ap-sec-more-btn {
    width: auto !important;
    min-width: 150px !important;
    padding: 7px 18px !important;
    font-size: 0.8rem !important;
    border-radius: 6px !important;
  }
}

/* ==================================================
   ページネーション「次のページへ」PCフォントサイズ調整
   ================================================== */
@media screen and (min-width: 769px) {
  .pagination-next a.pagination-next-link,
  .pagination-next-link.key-btn {
    font-size: 14px !important;
  }
}

/* ==================================================
   人気・定番アプリ比較（cat:218）5列×2行アイコンカード
   ================================================== */
.ap-popular-compare-grid {
  margin-bottom: 0 !important;
}
.ap-compare-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none !important;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.ap-compare-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  border-color: #cbd5e1;
}
.ap-compare-card-top {
  padding: 14px 16px;
  background: linear-gradient(135deg, #f0f7ff 0%, #f8fafc 100%);
  border-bottom: 1px solid #e2e8f0;
}
.ap-compare-icons {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  width: 100%;
}
.ap-compare-icon-item {
  width: 100% !important;
  aspect-ratio: 1 / 1;
  height: auto !important;
  border-radius: 11px !important;
  object-fit: cover;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.06);
  display: block;
}
.ap-compare-card-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  padding: 14px 16px 16px !important;
  gap: 10px;
}
.ap-compare-card .ap-card-title {
  margin: 0 !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1.5 !important;
  color: #0f172a !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ap-compare-apps-list {
  margin: 0 !important;
  padding-top: 8px;
  border-top: 1px dashed #e2e8f0;
  font-size: 12px !important;
  line-height: 1.5 !important;
  color: #64748b !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media screen and (max-width: 768px) {
  .ap-popular-compare-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .ap-compare-icons {
    gap: 8px;
  }
}

/* カテゴリー218一覧ページ標準リスト非表示＆余白調整 */
.category-218 #list,
.category-218 .list {
  display: none !important;
}
.ap-compare-archive-wrap .ap-popular-compare-grid {
  margin-bottom: 36px !important;
}

/* カテゴリー218一覧ページ下部の重複リード文を非表示 */
.category-218 .ap-compare-archive-wrap ~ .category-content,
.category-218 .ap-special-archive-wrap ~ .category-content {
  display: none !important;
}

/* 人気・定番アプリ比較（cat:218）カード上部見出しレイアウト調整 */
.ap-compare-card-head {
  padding: 15px 16px 12px;
  background: #ffffff;
}
.ap-compare-card-top {
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  padding: 12px 16px !important;
}
.ap-compare-card-body {
  padding: 10px 16px 14px !important;
}
.ap-compare-apps-list {
  padding-top: 0 !important;
  border-top: none !important;
}



/* 人気・定番アプリ比較（cat:218）個別記事上部の1枚目大アイコン枠を非表示 */
.single .article.category-app-popular-standard-post .eye-catch-wrap,
.single .article.category-218 .eye-catch-wrap,
.single .eye-catch-wrap:has(.cat-label-218) {
  display: none !important;
}

/* 人気・定番アプリ比較（cat:218）個別ページのメインビジュアル（アプリアイコン5列×2行・リンク付き） */
body.single.category-218 .eye-catch-wrap,
body.single.category-218 .eye-catch {
  display: none !important;
}
.ap-single-compare-hero {
  margin: 0 0 26px;
  padding: 22px 24px;
  background: linear-gradient(135deg, #f0f7ff 0%, #f8fafc 100%);
  border: 1px solid #dbeafe;
  border-radius: 16px;
}
.ap-single-compare-hero-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px 14px;
}
.ap-single-compare-hero-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  min-width: 0;
  text-decoration: none !important;
  transition: transform 0.16s ease;
}
.ap-single-compare-hero-item:hover {
  transform: translateY(-3px);
}
.ap-single-compare-hero-item img {
  width: 84px !important;
  height: 84px !important;
  border-radius: 19px !important;
  object-fit: cover;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.09);
  display: block;
  transition: box-shadow 0.16s ease;
}
.ap-single-compare-hero-item:hover img {
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.22);
}
.ap-single-compare-hero-item span {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  color: #1e293b;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  width: 100%;
}
.ap-single-compare-hero-item:hover span {
  color: #2563eb;
}
.appshiru-special-list [id^="ap-compare-app-"] {
  scroll-margin-top: 84px;
}
@media screen and (max-width: 768px) {
  .ap-single-compare-hero {
    padding: 16px 12px;
    margin-bottom: 20px;
  }
  .ap-single-compare-hero-grid {
    gap: 12px 6px;
  }
  .ap-single-compare-hero-item img {
    width: 56px !important;
    height: 56px !important;
    border-radius: 13px !important;
  }
  .ap-single-compare-hero-item span {
    font-size: 10px;
  }
}

/* 人気・定番アプリ比較（cat:218）早見表レスポンシブ最適化 */
.single .article.category-app-popular-standard-post .entry-content table,
.single .article.category-218 .entry-content table {
  width: 100% !important;
  font-size: 14px !important;
  line-height: 1.55 !important;
  border-collapse: collapse !important;
  margin: 14px 0 24px !important;
}
.single .article.category-app-popular-standard-post .entry-content table th,
.single .article.category-app-popular-standard-post .entry-content table td,
.single .article.category-218 .entry-content table th,
.single .article.category-218 .entry-content table td {
  padding: 8px 10px !important;
  vertical-align: middle !important;
}
.single .article.category-app-popular-standard-post .entry-content table tbody tr:nth-child(odd),
.single .article.category-218 .entry-content table tbody tr:nth-child(odd) {
  background-color: #ffffff !important;
}
.single .article.category-app-popular-standard-post .entry-content table tbody tr:nth-child(even),
.single .article.category-218 .entry-content table tbody tr:nth-child(even) {
  background-color: #f8fafc !important;
}

@media screen and (max-width: 768px) {
  .single .article.category-app-popular-standard-post .entry-content table,
  .single .article.category-218 .entry-content table {
    display: block !important;
    width: 100% !important;
    font-size: 13px !important;
    line-height: 1.48 !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 6px !important;
    overflow: hidden !important;
  }
  .single .article.category-app-popular-standard-post .entry-content table thead,
  .single .article.category-218 .entry-content table thead {
    display: none !important;
  }
  .single .article.category-app-popular-standard-post .entry-content table tbody,
  .single .article.category-218 .entry-content table tbody {
    display: block !important;
    width: 100% !important;
  }
  /* 上段：アプリ名(可変1fr) + 料金(auto) ／ 下段：2分割の表組（縦書き特徴 | 本文 ｜ 縦書き対象 | 本文） */
  .single .article.category-app-popular-standard-post .entry-content table tbody tr,
  .single .article.category-218 .entry-content table tbody tr {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    width: 100% !important;
    border-bottom: 1px solid #cbd5e1 !important;
  }
  .single .article.category-app-popular-standard-post .entry-content table tbody tr:last-child,
  .single .article.category-218 .entry-content table tbody tr:last-child {
    border-bottom: none !important;
  }
  .single .article.category-app-popular-standard-post .entry-content table td,
  .single .article.category-218 .entry-content table td {
    border: none !important;
    white-space: normal !important;
    word-break: break-word !important;
    overflow-wrap: anywhere !important;
  }
  /* 1列目：アプリ名（上段） */
  .single .article.category-app-popular-standard-post .entry-content table td:nth-child(1),
  .single .article.category-218 .entry-content table td:nth-child(1) {
    grid-row: 1 !important;
    grid-column: 1 / -1 !important;
    display: flex !important;
    align-items: center !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    padding: 8px 72px 7px 9px !important;
    border-bottom: 1px solid #e2e8f0 !important;
    min-height: 36px !important;
  }
  /* 3列目：料金（上段右端） */
  .single .article.category-app-popular-standard-post .entry-content table td:nth-child(3),
  .single .article.category-218 .entry-content table td:nth-child(3) {
    grid-row: 1 !important;
    grid-column: 2 / 3 !important;
    justify-self: end !important;
    align-self: center !important;
    z-index: 1 !important;
    margin-right: 7px !important;
    padding: 2px 6px !important;
    font-size: 10.5px !important;
    font-weight: 600 !important;
    line-height: 1.25 !important;
    color: #475569 !important;
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 4px !important;
    max-width: 62px !important;
    text-align: center !important;
  }
  /* 2列目（特徴）・4列目（対象）：テキストが1行のときも枠内天地センターに配置 */
  .single .article.category-app-popular-standard-post .entry-content table td:nth-child(2),
  .single .article.category-app-popular-standard-post .entry-content table td:nth-child(4),
  .single .article.category-218 .entry-content table td:nth-child(2),
  .single .article.category-218 .entry-content table td:nth-child(4) {
    grid-row: 2 !important;
    display: grid !important;
    grid-template-columns: 1.45em minmax(0, 1fr) !important;
    column-gap: 6px !important;
    align-items: center !important;
    padding: 7px 6px 7px 4px !important;
    font-size: 12.5px !important;
    line-height: 1.48 !important;
    color: #1e293b !important;
  }
  .single .article.category-app-popular-standard-post .entry-content table td:nth-child(2),
  .single .article.category-218 .entry-content table td:nth-child(2) {
    grid-column: 1 / 2 !important;
    border-right: 1px solid #cbd5e1 !important;
  }
  .single .article.category-app-popular-standard-post .entry-content table td:nth-child(4),
  .single .article.category-218 .entry-content table td:nth-child(4) {
    grid-column: 2 / 3 !important;
  }
  /* 表組の縦書き見出しセル（「特徴」「対象」：罫線は上下いっぱいに伸ばし文字は天地中央） */
  .single .article.category-app-popular-standard-post .entry-content table td:nth-child(2)::before,
  .single .article.category-app-popular-standard-post .entry-content table td:nth-child(4)::before,
  .single .article.category-218 .entry-content table td:nth-child(2)::before,
  .single .article.category-218 .entry-content table td:nth-child(4)::before {
    align-self: stretch;
    display: flex;
    align-items: center;
    justify-content: center;
    writing-mode: vertical-rl;
    text-orientation: upright;
    letter-spacing: 0.08em;
    font-size: 10.5px;
    font-weight: 700;
    line-height: 1;
    color: #64748b;
    background: transparent;
    border-right: 1px solid #e2e8f0;
    padding-right: 3px;
  }
  .single .article.category-app-popular-standard-post .entry-content table td:nth-child(2)::before,
  .single .article.category-218 .entry-content table td:nth-child(2)::before {
    content: "特徴";
  }
  .single .article.category-app-popular-standard-post .entry-content table td:nth-child(4)::before,
  .single .article.category-218 .entry-content table td:nth-child(4)::before {
    content: "対象";
  }
}

/* アプシル特集（cat:215）・人気定番比較（cat:218）スマホ18件表示制御 */
@media screen and (max-width: 768px) {
  .ap-special-grid > .ap-special-card:nth-child(n+19),
  .ap-popular-compare-grid > .ap-compare-card:nth-child(n+19) {
    display: none !important;
  }
}
