@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/

/* ==========================================================================
   ゲームウィキ8 — デザインシステム
   Cocoon子テーマ用カスタムCSS
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. デザイントークン
   -------------------------------------------------------------------------- */
:root {
  /* ブランドカラー */
  --gw-navy:      #16213e;   /* ヘッダー・フッターの地色 */
  --gw-navy-2:    #1f2f52;   /* ナビのホバー面 */
  --gw-navy-3:    #0f1729;   /* フッター最下部 */

  --gw-blue:      #2f6bff;   /* 主アクセント（リンク・ボタン） */
  --gw-blue-dk:   #1d4fd8;
  --gw-blue-lt:   #eaf1ff;   /* 淡い面 */
  --gw-cyan:      #00c2d1;   /* 副アクセント（見出し装飾） */

  --gw-amber:     #ff9f1c;   /* 強調・ランキング */
  --gw-amber-lt:  #fff5e6;
  --gw-red:       #e5484d;   /* 注意・デメリット */
  --gw-red-lt:    #fdeeee;
  --gw-green:     #17a673;   /* 推奨・メリット */
  --gw-green-lt:  #e8f8f1;

  /* テキスト */
  --gw-ink:       #1c2430;   /* 本文 */
  --gw-ink-2:     #5a6676;   /* 補助 */
  --gw-ink-3:     #8a94a3;   /* 微細 */
  --gw-on-dark:   #eef2f8;

  /* 面と線 */
  --gw-bg:        #f2f5f9;   /* ページ地 */
  --gw-card:      #ffffff;
  --gw-line:      #e2e8f0;
  --gw-line-2:    #cbd5e1;

  /* 造形 */
  --gw-r:         10px;      /* 標準の角丸 */
  --gw-r-sm:      6px;
  --gw-shadow:    0 1px 3px rgba(22, 33, 62, .06), 0 1px 2px rgba(22, 33, 62, .04);
  --gw-shadow-md: 0 4px 16px rgba(22, 33, 62, .10);

  /* 書体 */
  --gw-font: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP",
             "BIZ UDPGothic", Meiryo, system-ui, -apple-system, sans-serif;
}

/* --------------------------------------------------------------------------
   2. ベース
   -------------------------------------------------------------------------- */
body {
  font-family: var(--gw-font);
  background-color: var(--gw-bg);
  color: var(--gw-ink);
  font-size: 17px;
  line-height: 1.9;
  letter-spacing: .015em;
  -webkit-font-smoothing: antialiased;
}

/* Cocoon は .wrap { width: 1256px } でメイン+サイドバーの幅を確保している。
   ここを狭めるとサイドバーが収まらず下に回り込むので、幅は触らないこと。 */

.main,
.sidebar {
  border-radius: var(--gw-r);
  box-shadow: var(--gw-shadow);
  border: 1px solid var(--gw-line);
}

.main { background: var(--gw-card); padding: 32px 34px 40px; }

a { color: var(--gw-blue); text-decoration: none; }
a:hover { color: var(--gw-blue-dk); text-decoration: underline; }

/* 本文中のリンクは下線ありが読みやすい */
.article p > a,
.article li > a { text-decoration: underline; text-underline-offset: .18em; }

/* --------------------------------------------------------------------------
   3. ヘッダー / グローバルナビ
   -------------------------------------------------------------------------- */
#header-container,
.header-container {
  background: var(--gw-navy);
  background-image: linear-gradient(180deg, #1b284a 0%, var(--gw-navy) 100%);
  border-bottom: 3px solid var(--gw-blue);
}

#header .site-name-text,
.site-name-text {
  color: #fff;
  font-weight: 800;
  letter-spacing: .02em;
}
#header .site-name-text:hover { color: var(--gw-cyan); text-decoration: none; }

.tagline {
  color: #9fb0cc;
  font-size: 13px;
  letter-spacing: .04em;
}

/* グローバルナビ */
#navi,
#navi .navi-in > ul { background: transparent; }

#navi .navi-in > .menu-header .item-label {
  color: inherit;              /* 色は a 側で一元管理する */
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .03em;
}

/* Cocoon の既定は .navi-in a:hover で背景を #f5f8fa（ほぼ白）にする。
   ラベルを白系にしていると文字が見えなくなるため、地と文字を両方ここで定義する。 */
#navi .navi-in a { color: var(--gw-on-dark); }
#navi .navi-in a:hover,
#navi .navi-in a:focus-visible {
  background-color: var(--gw-navy-2);
  color: #fff;
}
#navi .navi-in a:hover .item-label,
#navi .navi-in a:hover .item-description,
#navi .navi-in a:focus-visible .item-label { color: #fff; }
#navi .navi-in a:focus-visible { outline: 2px solid var(--gw-cyan); outline-offset: -2px; }

/* 12カテゴリーを 6列 x 2行 にそろえる（3行に折り返すのを防ぐ） */
@media screen and (min-width: 1024px) {
  /* カテゴリーが増えても必ず1行に収める */
  #navi .navi-in > ul.menu-header {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    width: 100%;
    overflow: visible;
  }
  #navi .navi-in > ul.menu-header > li {
    flex: 0 1 auto;
    width: auto;
    min-width: 0;
  }
  #navi .navi-in > ul.menu-header > li > a {
    justify-content: center;
    padding-left: 11px;
    padding-right: 11px;
    white-space: nowrap;
  }
  #navi .navi-in > ul.menu-header > li > a .item-label {
    font-size: 13.5px;
    text-align: center;
    letter-spacing: 0;
  }
}

/* 画面が狭いときはナビの文字をもう一段詰めて1行を維持する */
@media screen and (min-width: 1024px) and (max-width: 1400px) {
  #navi .navi-in > ul.menu-header > li > a { padding-left: 7px; padding-right: 7px; }
  #navi .navi-in > ul.menu-header > li > a .item-label { font-size: 12.5px; }
}

#navi .navi-in > ul > li {
  position: relative;
  transition: background-color .18s ease;
}
#navi .navi-in > ul > li:hover { background: var(--gw-navy-2); }

/* ホバーで下からアクセントラインが伸びる */
#navi .navi-in > ul > li::after {
  content: "";
  position: absolute;
  left: 12px; right: 12px; bottom: 0;
  height: 3px;
  background: var(--gw-cyan);
  transform: scaleX(0);
  transition: transform .2s ease;
}
#navi .navi-in > ul > li:hover::after { transform: scaleX(1); }

/* 現在地のカテゴリーを示す */
#navi .navi-in > ul > li.current-menu-item::after,
#navi .navi-in > ul > li.current-category-ancestor::after { transform: scaleX(1); }

/* サブメニュー */
#navi .navi-in > ul .sub-menu {
  background: var(--gw-navy-2);
  border-top: 2px solid var(--gw-cyan);
  box-shadow: var(--gw-shadow-md);
}
#navi .navi-in > ul .sub-menu a { color: var(--gw-on-dark); }
#navi .navi-in > ul .sub-menu a:hover,
#navi .navi-in > ul .sub-menu a:focus-visible {
  background-color: var(--gw-blue);
  color: #fff;
}
#navi .navi-in > ul .sub-menu a:hover .item-label { color: #fff; }

/* --------------------------------------------------------------------------
   4. パンくず
   -------------------------------------------------------------------------- */
.breadcrumb {
  font-size: 13px;
  color: var(--gw-ink-3);
  padding: 10px 0 14px;
  margin: 0 0 4px;
}
.breadcrumb a { color: var(--gw-ink-2); }
.breadcrumb a:hover { color: var(--gw-blue); }
.breadcrumb .sp { margin: 0 6px; color: var(--gw-line-2); }

/* --------------------------------------------------------------------------
   5. 記事タイトルと見出し
   -------------------------------------------------------------------------- */
.entry-title,
.archive-title {
  font-size: 30px;
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: .01em;
  color: var(--gw-ink);
  padding: 0 0 18px;
  margin: 4px 0 20px;
  border-bottom: 4px solid var(--gw-navy);
  position: relative;
}
.entry-title::after,
.archive-title::after {
  content: "";
  position: absolute;
  left: 0; bottom: -4px;
  width: 110px; height: 4px;
  background: var(--gw-blue);
}

/* H2 — セクションの区切り。塗りで強く見せる */
.article h2 {
  background: var(--gw-navy);
  color: #fff;
  font-size: 23px;
  font-weight: 800;
  line-height: 1.5;
  padding: 14px 18px 14px 22px;
  margin: 52px 0 26px;
  border: none;
  border-radius: var(--gw-r-sm);
  border-left: 6px solid var(--gw-blue);
  letter-spacing: .01em;
}

/* H3 — 左に太いアクセント */
.article h3 {
  font-size: 20px;
  font-weight: 800;
  line-height: 1.55;
  color: var(--gw-ink);
  padding: 4px 0 4px 15px;
  margin: 40px 0 18px;
  border: none;
  border-left: 5px solid var(--gw-blue);
  background: none;
}

/* H4 — 下線のみの控えめな階層 */
.article h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--gw-navy);
  padding: 0 0 6px;
  margin: 32px 0 14px;
  border: none;
  border-bottom: 2px dotted var(--gw-line-2);
}

.article h5 {
  font-size: 17px;
  font-weight: 700;
  color: var(--gw-ink-2);
  margin: 26px 0 12px;
  border: none;
  padding: 0;
}

/* --------------------------------------------------------------------------
   6. 目次（Cocoon内蔵）
   -------------------------------------------------------------------------- */
.toc {
  background: linear-gradient(180deg, #f8fafd 0%, #f1f5fb 100%);
  border: 1px solid var(--gw-line);
  border-top: 4px solid var(--gw-navy);
  border-radius: var(--gw-r);
  padding: 20px 24px;
  margin: 30px 0 38px;
  box-shadow: var(--gw-shadow);
  width: 100%;
  max-width: 100%;
  font-size: 16px;
}

.toc-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--gw-navy);
  letter-spacing: .06em;
  text-align: left;
  padding: 0 0 12px;
  margin-bottom: 12px;
  border-bottom: 2px solid var(--gw-line);
}
.toc-title::before {
  content: "≡";
  display: inline-block;
  margin-right: 10px;
  color: var(--gw-blue);
  font-size: 20px;
  vertical-align: -1px;
}

.toc-content { padding: 0; }

.toc-list > li { margin-bottom: 9px; }
.toc-list > li > a {
  font-weight: 700;
  color: var(--gw-ink);
}
.toc-list > li > a:hover { color: var(--gw-blue); }

/* 第2階層は控えめに */
.toc-list ol { margin-top: 8px; padding-left: 4px; }
.toc-list ol > li { margin-bottom: 5px; }
.toc-list ol > li > a {
  font-weight: 400;
  font-size: 15px;
  color: var(--gw-ink-2);
}

/* 番号の見た目 */
.toc-list { counter-reset: gwtoc; }
.toc-list > li { counter-increment: gwtoc; }

.toc-checkbox:checked ~ .toc-content { display: none; }

/* --------------------------------------------------------------------------
   7. 本文の基本要素
   -------------------------------------------------------------------------- */
.entry-content p { margin: 0 0 1.5em; }

.article strong { font-weight: 800; color: var(--gw-ink); }

/* マーカー風の強調 */
.article .marker,
.article mark {
  background: linear-gradient(transparent 62%, #ffe9a8 62%);
  padding: 0 2px;
  color: inherit;
}

/* リスト */
.entry-content ul,
.entry-content ol { margin: 0 0 1.6em; padding-left: 1.6em; }
.entry-content li { margin-bottom: .55em; }

.entry-content ul > li::marker { color: var(--gw-blue); }
.entry-content ol > li::marker { color: var(--gw-blue); font-weight: 700; }

/* 引用 */
.entry-content blockquote {
  background: #f7f9fc;
  border: 1px solid var(--gw-line);
  border-left: 5px solid var(--gw-line-2);
  border-radius: var(--gw-r-sm);
  padding: 18px 22px;
  margin: 26px 0;
  color: var(--gw-ink-2);
  font-size: 16px;
}
.entry-content blockquote p:last-child { margin-bottom: 0; }

/* 画像 */
.entry-content img { border-radius: var(--gw-r-sm); height: auto; }
.entry-content figcaption {
  font-size: 13px;
  color: var(--gw-ink-3);
  text-align: center;
  margin-top: 8px;
}

/* 区切り線 */
.entry-content hr {
  border: none;
  border-top: 2px dashed var(--gw-line-2);
  margin: 40px 0;
}

/* --------------------------------------------------------------------------
   8. テーブル — 攻略サイトの主役
   -------------------------------------------------------------------------- */
.entry-content table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 26px 0;
  font-size: 15.5px;
  line-height: 1.7;
  border: 1px solid var(--gw-line);
  border-radius: var(--gw-r-sm);
  overflow: hidden;
  background: #fff;
}

.entry-content table th,
.entry-content table td {
  padding: 11px 14px;
  border: none;
  border-bottom: 1px solid var(--gw-line);
  border-right: 1px solid var(--gw-line);
  vertical-align: middle;
}
.entry-content table th:last-child,
.entry-content table td:last-child { border-right: none; }
.entry-content table tr:last-child td { border-bottom: none; }

.entry-content table thead th,
.entry-content table tr:first-child th {
  background: var(--gw-navy);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .02em;
  white-space: nowrap;
  border-bottom: none;
  border-right-color: rgba(255, 255, 255, .15);
}

/* 行の縞と行頭の見出しセル */
.entry-content table tbody tr:nth-child(even) { background: #f8fafc; }
.entry-content table tbody tr:hover { background: var(--gw-blue-lt); }
.entry-content table tbody th {
  background: #eef2f7;
  font-weight: 700;
  color: var(--gw-navy);
  white-space: nowrap;
}

/* 横スクロール（Cocoonのレスポンシブテーブル） */
.scrollable-table {
  border-radius: var(--gw-r-sm);
  -webkit-overflow-scrolling: touch;
}
.scrollable-table::-webkit-scrollbar { height: 8px; }
.scrollable-table::-webkit-scrollbar-thumb {
  background: var(--gw-line-2);
  border-radius: 4px;
}

/* 数値を並べる列を見やすく */
.entry-content table .num { text-align: right; font-variant-numeric: tabular-nums; }
.entry-content table .center { text-align: center; }

/* --------------------------------------------------------------------------
   9. 攻略記事用カスタムパーツ
   -------------------------------------------------------------------------- */

/* --- PR表記（ステマ規制対応） --- */
.gw-pr {
  display: inline-block;
  font-size: 12px;
  color: var(--gw-ink-3);
  background: #f1f4f8;
  border: 1px solid var(--gw-line);
  border-radius: 4px;
  padding: 3px 10px;
  margin: 0 0 18px;
  letter-spacing: .04em;
}

/* --- ポイント / 注意 / 補足ボックス --- */
.gw-box {
  position: relative;
  border-radius: var(--gw-r);
  padding: 20px 22px 18px;
  margin: 30px 0;
  font-size: 16px;
  border: 1px solid var(--gw-line);
  background: #fff;
}
.gw-box > :first-child { margin-top: 0; }
.gw-box > :last-child { margin-bottom: 0; }

.gw-box-title {
  display: block;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: .04em;
  margin-bottom: 10px;
}

.gw-point {
  background: var(--gw-blue-lt);
  border-color: #bcd3ff;
  border-left: 5px solid var(--gw-blue);
}
.gw-point .gw-box-title { color: var(--gw-blue-dk); }
.gw-point .gw-box-title::before { content: "◆ "; }

.gw-caution {
  background: var(--gw-red-lt);
  border-color: #f7c9ca;
  border-left: 5px solid var(--gw-red);
}
.gw-caution .gw-box-title { color: var(--gw-red); }
.gw-caution .gw-box-title::before { content: "！ "; }

.gw-tip {
  background: var(--gw-green-lt);
  border-color: #b9e8d4;
  border-left: 5px solid var(--gw-green);
}
.gw-tip .gw-box-title { color: var(--gw-green); }
.gw-tip .gw-box-title::before { content: "＋ "; }

/* --- メリット / デメリット --- */
.gw-pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 30px 0;
}
.gw-pros,
.gw-cons {
  border-radius: var(--gw-r);
  padding: 18px 20px;
  font-size: 15.5px;
  border: 1px solid;
}
.gw-pros { background: var(--gw-green-lt); border-color: #b9e8d4; }
.gw-cons { background: var(--gw-red-lt);   border-color: #f7c9ca; }

.gw-pros > strong,
.gw-cons > strong {
  display: block;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .04em;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(0, 0, 0, .08);
}
.gw-pros > strong { color: var(--gw-green); }
.gw-cons > strong { color: var(--gw-red); }

.gw-pros ul,
.gw-cons ul { margin: 0; padding-left: 1.3em; }
.gw-pros li,
.gw-cons li { margin-bottom: .4em; }
.gw-pros li:last-child,
.gw-cons li:last-child { margin-bottom: 0; }

/* --- ティア表 / 評価バッジ --- */
.gw-tier {
  display: inline-block;
  min-width: 2.4em;
  text-align: center;
  font-weight: 800;
  font-size: 14px;
  line-height: 1.6;
  color: #fff;
  border-radius: 4px;
  padding: 2px 8px;
  letter-spacing: .04em;
}
.gw-tier-s { background: #e5484d; }
.gw-tier-a { background: #ff9f1c; }
.gw-tier-b { background: #17a673; }
.gw-tier-c { background: #3b82f6; }
.gw-tier-d { background: #8a94a3; }

/* --- ランキング見出し --- */
.gw-rank {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 800;
  color: var(--gw-ink);
  margin: 40px 0 16px;
  padding: 0;
  border: none;
}
.gw-rank::before {
  content: attr(data-rank);
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--gw-navy);
  color: #fff;
  font-size: 17px;
  font-weight: 800;
}
.gw-rank[data-rank="1"]::before { background: linear-gradient(135deg, #f5c518, #e0a800); color: #4a3800; }
.gw-rank[data-rank="2"]::before { background: linear-gradient(135deg, #c9d1d9, #a8b3bd); color: #2b3138; }
.gw-rank[data-rank="3"]::before { background: linear-gradient(135deg, #d99058, #b9713c); color: #3d2410; }

/* --- 手順（ステップ） --- */
.gw-step {
  counter-reset: gwstep;
  list-style: none;
  padding: 0;
  margin: 28px 0;
}
.gw-step > li {
  counter-increment: gwstep;
  position: relative;
  padding: 0 0 20px 44px;
  margin: 0;
  border-left: 2px solid var(--gw-line);
}
.gw-step > li:last-child { border-left-color: transparent; padding-bottom: 0; }
.gw-step > li::before {
  content: counter(gwstep);
  position: absolute;
  left: -15px; top: 0;
  width: 28px; height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--gw-blue);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}
.gw-step > li > strong {
  display: block;
  font-size: 17px;
  color: var(--gw-navy);
  margin-bottom: 4px;
  line-height: 1.6;
}

/* --- CTAボタン（アフィリエイト導線） --- */
.gw-cta {
  display: block;
  max-width: 460px;
  margin: 30px auto;
  padding: 16px 28px;
  text-align: center;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: .04em;
  color: #fff !important;
  background: linear-gradient(180deg, #ff9f1c 0%, #f7891a 100%);
  border-radius: 50px;
  border-bottom: 4px solid #d16f0c;
  box-shadow: var(--gw-shadow-md);
  text-decoration: none !important;
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.gw-cta:hover {
  transform: translateY(2px);
  border-bottom-width: 2px;
  filter: brightness(1.04);
}
.gw-cta-sub {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  opacity: .92;
  letter-spacing: .02em;
  margin-top: 2px;
}
.gw-cta-blue { background: linear-gradient(180deg, #3d7dff 0%, #2f6bff 100%); border-bottom-color: #1d4fd8; }

/* --- スペック表（デバイス紹介用） --- */
.gw-spec { margin: 24px 0; }
.gw-spec table { margin: 0; font-size: 15px; }
.gw-spec th { width: 30%; }

/* --- 関連記事の内部リンクカード --- */
.gw-link {
  display: block;
  border: 1px solid var(--gw-line);
  border-left: 5px solid var(--gw-cyan);
  border-radius: var(--gw-r-sm);
  background: #f8fafd;
  padding: 14px 18px;
  margin: 24px 0;
  text-decoration: none !important;
  transition: background .15s ease, transform .15s ease;
}
.gw-link:hover { background: var(--gw-blue-lt); transform: translateX(2px); }
.gw-link::before {
  content: "あわせて読みたい";
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--gw-cyan);
  letter-spacing: .06em;
  margin-bottom: 3px;
}
.gw-link span { font-weight: 700; color: var(--gw-ink); font-size: 16px; }

/* --------------------------------------------------------------------------
   10. 記事一覧カード
   -------------------------------------------------------------------------- */
.entry-card-wrap,
.related-entry-card-wrap {
  border: 1px solid var(--gw-line);
  border-radius: var(--gw-r);
  background: #fff;
  padding: 16px;
  margin-bottom: 18px;
  box-shadow: var(--gw-shadow);
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.entry-card-wrap:hover,
.related-entry-card-wrap:hover {
  transform: translateY(-3px);
  box-shadow: var(--gw-shadow-md);
  border-color: #bcd3ff;
  background: #fff;
}

.entry-card-title,
.related-entry-card-title {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.55;
  color: var(--gw-ink);
}
.entry-card-wrap:hover .entry-card-title { color: var(--gw-blue); }

.entry-card-snippet {
  font-size: 14.5px;
  color: var(--gw-ink-2);
  line-height: 1.75;
}

.entry-card-thumb img,
.related-entry-card-thumb img { border-radius: var(--gw-r-sm); }

.entry-card-info,
.entry-card-meta { font-size: 12.5px; color: var(--gw-ink-3); }

.cat-label {
  background: var(--gw-blue);
  border: none;
  border-radius: 4px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .03em;
  padding: 2px 9px;
}

/* --------------------------------------------------------------------------
   11. サイドバー
   -------------------------------------------------------------------------- */
.sidebar { background: transparent; border: none; box-shadow: none; padding: 0; }

.widget-sidebar,
.widget-sidebar-scroll {
  background: var(--gw-card);
  border: 1px solid var(--gw-line);
  border-radius: var(--gw-r);
  box-shadow: var(--gw-shadow);
  padding: 20px 20px 22px;
  margin-bottom: 22px;
}

.widget-sidebar-title,
.sidebar h3 {
  font-size: 16px;
  font-weight: 800;
  color: var(--gw-navy);
  letter-spacing: .04em;
  text-align: left;
  background: none;
  border: none;
  border-bottom: 2px solid var(--gw-line);
  padding: 0 0 11px 12px;
  margin: 0 0 16px;
  position: relative;
}
.widget-sidebar-title::before,
.sidebar h3::before {
  content: "";
  position: absolute;
  left: 0; top: 2px;
  width: 4px; height: 18px;
  border-radius: 2px;
  background: var(--gw-blue);
}

.sidebar ul li { border-bottom: 1px dashed var(--gw-line); }
.sidebar ul li a {
  display: block;
  padding: 9px 0;
  font-size: 15px;
  color: var(--gw-ink);
}
.sidebar ul li a:hover { color: var(--gw-blue); text-decoration: none; }

/* 検索ボックス */
.search-box .search-edit {
  border: 1px solid var(--gw-line-2);
  border-radius: 50px;
  padding: 9px 16px;
  font-size: 15px;
}
.search-box .search-edit:focus {
  outline: none;
  border-color: var(--gw-blue);
  box-shadow: 0 0 0 3px rgba(47, 107, 255, .12);
}

/* --------------------------------------------------------------------------
   12. フッター
   -------------------------------------------------------------------------- */
.footer {
  background: var(--gw-navy);
  color: #b9c5d8;
  border-top: 3px solid var(--gw-blue);
  margin-top: 50px;
}
.footer a { color: #d7e0ee; }
.footer a:hover { color: #fff; }

.footer h3,
.footer .widget-footer-title {
  color: #fff;
  font-size: 15px;
  letter-spacing: .05em;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, .16);
  padding-bottom: 9px;
}

.navi-footer-in > .menu-footer li a {
  color: #c8d3e4;
  font-size: 14px;
}
/* フッターも Cocoon 既定で hover 時に地が白くなるため上書きする */
.navi-footer-in a:hover,
.navi-footer-in a:focus-visible {
  background-color: var(--gw-navy-2);
  color: #fff;
}

.footer-bottom {
  background: var(--gw-navy-3);
  color: #8695ad;
  font-size: 13px;
  padding: 16px 0;
}

/* トップへ戻る */
.go-to-top .go-to-top-button {
  background: var(--gw-navy);
  color: #fff;
  border-radius: var(--gw-r-sm);
  opacity: .9;
}
.go-to-top .go-to-top-button:hover { background: var(--gw-blue); opacity: 1; }

/* --------------------------------------------------------------------------
   13. ページネーション / タグ
   -------------------------------------------------------------------------- */
.pagination .page-numbers {
  border: 1px solid var(--gw-line);
  border-radius: var(--gw-r-sm);
  background: #fff;
  color: var(--gw-ink);
  font-weight: 700;
  min-width: 40px;
  transition: background .15s ease, color .15s ease;
}
.pagination .page-numbers:hover { background: var(--gw-blue-lt); color: var(--gw-blue-dk); }
.pagination .page-numbers.current {
  background: var(--gw-navy);
  border-color: var(--gw-navy);
  color: #fff;
}

.entry-tags a,
.tag-link {
  border: 1px solid var(--gw-line-2);
  border-radius: 50px;
  padding: 3px 12px;
  font-size: 13px;
  color: var(--gw-ink-2);
  background: #fff;
}
.entry-tags a:hover { background: var(--gw-blue-lt); border-color: var(--gw-blue); color: var(--gw-blue-dk); text-decoration: none; }

/* --------------------------------------------------------------------------
   14. Contact Form 7
   -------------------------------------------------------------------------- */
.wpcf7 { margin-top: 24px; }
.wpcf7 label { display: block; font-weight: 700; font-size: 15px; margin-bottom: 18px; color: var(--gw-ink); }
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea {
  width: 100%;
  border: 1px solid var(--gw-line-2);
  border-radius: var(--gw-r-sm);
  padding: 11px 14px;
  font-size: 16px;
  font-family: inherit;
  margin-top: 6px;
  background: #fcfdfe;
}
.wpcf7 input:focus,
.wpcf7 textarea:focus {
  outline: none;
  border-color: var(--gw-blue);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(47, 107, 255, .12);
}
.wpcf7 input[type="submit"] {
  display: block;
  width: 100%;
  max-width: 300px;
  margin: 8px auto 0;
  padding: 14px 24px;
  border: none;
  border-radius: 50px;
  background: var(--gw-blue);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: .06em;
  cursor: pointer;
  transition: background .15s ease;
}
.wpcf7 input[type="submit"]:hover { background: var(--gw-blue-dk); }

/* --------------------------------------------------------------------------
   15. レスポンシブ
   -------------------------------------------------------------------------- */
@media screen and (max-width: 1023px) {
  .main { padding: 24px 22px 32px; }
  .entry-title, .archive-title { font-size: 25px; }
  .article h2 { font-size: 20px; margin-top: 44px; }
  .article h3 { font-size: 18px; }
}

@media screen and (max-width: 834px) {
  body { font-size: 16px; line-height: 1.85; }
  .main {
    padding: 18px 16px 28px;
    border-radius: 0;
    border-left: none;
    border-right: none;
  }
  .entry-title, .archive-title { font-size: 22px; padding-bottom: 14px; }
  .article h2 { font-size: 18.5px; padding: 12px 14px 12px 16px; margin: 38px 0 20px; }
  .article h3 { font-size: 17px; margin: 30px 0 14px; }
  .article h4 { font-size: 16px; }

  .toc { padding: 16px 16px; margin: 24px 0 30px; font-size: 15px; }

  /* メリット・デメリットは縦積みに */
  .gw-pros-cons { grid-template-columns: 1fr; gap: 12px; }

  .gw-cta { font-size: 16px; padding: 14px 20px; margin: 24px auto; }
  .gw-step > li { padding-left: 38px; }

  .entry-content table { font-size: 14.5px; }
  .entry-content table th,
  .entry-content table td { padding: 9px 11px; }
}

@media screen and (max-width: 480px) {
  body { font-size: 15.5px; }
  .entry-title, .archive-title { font-size: 20px; }
  .article h2 { font-size: 17.5px; }
  .entry-card-title { font-size: 16px; }
  .gw-rank { font-size: 17px; }
  .gw-rank::before { width: 32px; height: 32px; font-size: 15px; }
}

/* --------------------------------------------------------------------------
   17. アプリ基本情報（[gw_app] ショートコードの出力）
   -------------------------------------------------------------------------- */
.gw-app {
  border: 1px solid var(--gw-line);
  border-radius: var(--gw-r);
  background: #fff;
  overflow: hidden;
  margin: 30px 0;
  box-shadow: var(--gw-shadow);
}

.gw-app-name {
  background: var(--gw-navy);
  color: #fff;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: .02em;
  padding: 13px 20px;
  border-left: 6px solid var(--gw-cyan);
}

.entry-content .gw-app-table {
  margin: 0;
  border: none;
  border-radius: 0;
  font-size: 15px;
  box-shadow: none;
}
.entry-content .gw-app-table th {
  width: 30%;
  min-width: 6.5em;
  background: #f3f6fa;
  color: var(--gw-navy);
  font-weight: 700;
  white-space: nowrap;
  border-right: 1px solid var(--gw-line);
}
.entry-content .gw-app-table tr:last-child th,
.entry-content .gw-app-table tr:last-child td { border-bottom: 1px solid var(--gw-line); }
.entry-content .gw-app-table tbody tr:nth-child(even) { background: #fff; }
.entry-content .gw-app-table tbody tr:hover { background: #fafcff; }

/* ストアボタン */
.gw-app-stores {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 18px 20px;
  background: #f8fafd;
}

.gw-store {
  display: block;
  text-align: center;
  padding: 13px 14px;
  border-radius: 8px;
  font-size: 14.5px;
  font-weight: 800;
  letter-spacing: .02em;
  color: #fff !important;
  text-decoration: none !important;
  transition: filter .15s ease, transform .15s ease;
}
.gw-store:hover { filter: brightness(1.12); transform: translateY(-1px); }

.gw-store-ios  { background: #1c2430; }
.gw-store-play { background: #01875f; }

.gw-app-note {
  margin: 0;
  padding: 0 20px 16px;
  background: #f8fafd;
  font-size: 12.5px;
  color: var(--gw-ink-3);
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   18. グローバルナビのサブメニュー（タイトル別カテゴリー）
   -------------------------------------------------------------------------- */
#navi .navi-in > ul .sub-menu {
  min-width: 230px;
  padding: 6px 0;
  border-radius: 0 0 var(--gw-r-sm) var(--gw-r-sm);
}
#navi .navi-in > ul .sub-menu li {
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
#navi .navi-in > ul .sub-menu li:last-child { border-bottom: none; }
#navi .navi-in > ul .sub-menu li a {
  font-size: 14px;
  font-weight: 500;
  padding: 10px 18px;
  line-height: 1.6;
}
#navi .navi-in > ul .sub-menu li::after { display: none; }

/* --------------------------------------------------------------------------
   19. カテゴリーウィジェット（階層表示）
   -------------------------------------------------------------------------- */
.sidebar .widget_categories > ul > li > a { font-weight: 700; }
.sidebar .widget_categories .children {
  margin: 4px 0 8px;
  padding-left: 12px;
  border-left: 2px solid var(--gw-line);
}
.sidebar .widget_categories .children li { border-bottom: none; }
.sidebar .widget_categories .children li a {
  padding: 5px 0;
  font-size: 14px;
  color: var(--gw-ink-2);
}
.sidebar .widget_categories .children li a:hover { color: var(--gw-blue); }

/* --------------------------------------------------------------------------
   20. アイキャッチ未設定時のプレースホルダー
   -------------------------------------------------------------------------- */
.entry-card-thumb img[src*="no-image"],
.related-entry-card-thumb img[src*="no-image"] {
  background: var(--gw-bg);
  object-fit: cover;
}

@media screen and (max-width: 834px) {
  .gw-app-stores { grid-template-columns: 1fr; gap: 10px; padding: 14px 16px; }
  .gw-app-name { font-size: 16px; padding: 11px 16px; }
  .entry-content .gw-app-table { font-size: 14.5px; }
  .entry-content .gw-app-table th { width: 34%; }
}

/* --------------------------------------------------------------------------
   21. カテゴリーグリッド（[gw_categories]）
   -------------------------------------------------------------------------- */
.gw-cats { margin: 0 0 40px; }

.gw-cats-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--gw-navy);
  letter-spacing: .04em;
  margin: 0 0 18px;
  padding: 0 0 10px 14px;
  border: none;
  border-bottom: 2px solid var(--gw-line);
  background: none;
  position: relative;
}
.gw-cats-title::before {
  content: "";
  position: absolute;
  left: 0; top: 4px;
  width: 5px; height: 20px;
  border-radius: 2px;
  background: var(--gw-blue);
}

.gw-cats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.gw-cat {
  display: block;
  border: 1px solid var(--gw-line);
  border-radius: var(--gw-r);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--gw-shadow);
  text-decoration: none !important;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.gw-cat:hover {
  transform: translateY(-3px);
  box-shadow: var(--gw-shadow-md);
  border-color: #bcd3ff;
}

.gw-cat-img { display: block; line-height: 0; }
.gw-cat-img img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 0;
  transition: transform .3s ease;
}
.gw-cat:hover .gw-cat-img img { transform: scale(1.04); }

.gw-cat-body {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 15px 14px;
}
.gw-cat-name {
  font-size: 15.5px;
  font-weight: 800;
  color: var(--gw-ink);
  line-height: 1.5;
}
.gw-cat:hover .gw-cat-name { color: var(--gw-blue-dk); }
.gw-cat-count {
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 700;
  color: var(--gw-ink-3);
  font-variant-numeric: tabular-nums;
}

/* --------------------------------------------------------------------------
   22. ポイ活案件ボックス（[gw_deal]）
   -------------------------------------------------------------------------- */
.gw-deal {
  border: 2px solid var(--gw-amber);
  border-radius: var(--gw-r);
  background: #fff;
  overflow: hidden;
  margin: 30px 0;
  box-shadow: var(--gw-shadow);
}

.gw-deal-head {
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(90deg, #fff3e0 0%, #fff9f0 100%);
  border-bottom: 1px solid #ffe0b2;
  padding: 12px 18px;
}
.gw-deal-tag {
  flex: 0 0 auto;
  background: var(--gw-amber);
  color: #4a2c00;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
  padding: 4px 11px;
  border-radius: 4px;
}
.gw-deal-site { font-size: 16px; font-weight: 800; color: var(--gw-ink); }

.gw-deal-reward {
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
  padding: 16px 18px;
  background: #fffcf6;
  border-bottom: 1px solid var(--gw-line);
}
.gw-deal-reward-label {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--gw-ink-3);
}
.gw-deal-reward-value {
  font-size: 26px;
  font-weight: 800;
  line-height: 1.3;
  color: #c25e00;
  font-variant-numeric: tabular-nums;
}

.entry-content .gw-deal-table {
  margin: 0;
  border: none;
  border-radius: 0;
  font-size: 15px;
  box-shadow: none;
}
.entry-content .gw-deal-table th {
  width: 30%;
  min-width: 6.5em;
  background: #f8fafc;
  color: var(--gw-navy);
  font-weight: 700;
  white-space: nowrap;
  border-right: 1px solid var(--gw-line);
}
.entry-content .gw-deal-table tbody tr:nth-child(even) { background: #fff; }
.entry-content .gw-deal-table tbody tr:hover { background: #fffaf2; }
.entry-content .gw-deal-table tr:last-child th,
.entry-content .gw-deal-table tr:last-child td { border-bottom: 1px solid var(--gw-line); }

.gw-deal-cta { padding: 18px 18px 4px; }
.gw-deal-cta .gw-cta { margin: 0 auto; }

.gw-deal-note {
  margin: 0;
  padding: 14px 18px 16px;
  font-size: 12.5px;
  line-height: 1.75;
  color: var(--gw-ink-3);
}

@media screen and (max-width: 834px) {
  .gw-cats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .gw-cat-body { padding: 10px 12px 12px; flex-direction: column; align-items: flex-start; gap: 3px; }
  .gw-cat-name { font-size: 14px; }
  .gw-cats-title { font-size: 18px; }

  .gw-deal-reward { padding: 13px 15px; }
  .gw-deal-reward-value { font-size: 22px; }
  .entry-content .gw-deal-table { font-size: 14.5px; }
  .entry-content .gw-deal-table th { width: 34%; }
}

/* --------------------------------------------------------------------------
   23. カテゴリーアーカイブのヘッダー画像（[gw_cat_header]）
   -------------------------------------------------------------------------- */
.gw-cat-header {
  margin: 0 0 26px;
  border-radius: var(--gw-r);
  overflow: hidden;
  border: 1px solid var(--gw-line);
  box-shadow: var(--gw-shadow);
  background: var(--gw-navy);
}
.gw-cat-header img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 1;
  object-fit: cover;
}
.gw-cat-header-desc {
  margin: 0;
  padding: 15px 20px 17px;
  background: #fff;
  border-top: 1px solid var(--gw-line);
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--gw-ink-2);
}

@media screen and (max-width: 834px) {
  .gw-cat-header { border-radius: var(--gw-r-sm); margin-bottom: 20px; }
  .gw-cat-header img { aspect-ratio: 5 / 2; }
  .gw-cat-header-desc { font-size: 13.5px; padding: 12px 15px 14px; }
}

/* --------------------------------------------------------------------------
   24. 注目記事スライダー（[gw_slider]）
   -------------------------------------------------------------------------- */
.gw-slider-wrap { margin: 0 0 32px; }

.gw-slider-heading {
  font-size: 19px;
  font-weight: 800;
  color: var(--gw-navy);
  letter-spacing: .04em;
  margin: 0 0 14px;
  padding: 0 0 9px 14px;
  border: none;
  border-bottom: 2px solid var(--gw-line);
  background: none;
  position: relative;
}
.gw-slider-heading::before {
  content: "";
  position: absolute;
  left: 0; top: 3px;
  width: 5px; height: 19px;
  border-radius: 2px;
  background: var(--gw-amber);
}

.gw-slider {
  position: relative;
  overflow: hidden;
  border-radius: var(--gw-r);
  border: 1px solid var(--gw-line);
  box-shadow: var(--gw-shadow);
  background: var(--gw-navy);
}

.gw-slider-track {
  display: flex;
  transition: transform .55s cubic-bezier(.4, 0, .2, 1);
  will-change: transform;
}

.gw-slide {
  flex: 0 0 100%;
  max-width: 100%;
  position: relative;
  display: block;
  text-decoration: none !important;
}

.gw-slide-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  border-radius: 0;
}

.gw-slide-body {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 52px 24px 20px;
  background: linear-gradient(to bottom, rgba(11, 17, 32, 0) 0%, rgba(11, 17, 32, .55) 45%, rgba(11, 17, 32, .93) 100%);
}

.gw-slide-cat {
  display: inline-block;
  background: var(--gw-amber);
  color: #3d2200;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .05em;
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 8px;
}

.gw-slide-title {
  display: block;
  color: #fff;
  font-size: 21px;
  font-weight: 800;
  line-height: 1.5;
  text-shadow: 0 1px 6px rgba(0, 0, 0, .5);
}
.gw-slide:hover .gw-slide-title { color: #ffe7bd; }

.gw-slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
  border: none;
  border-radius: 50%;
  background: rgba(11, 17, 32, .55);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  transition: opacity .2s ease, background .2s ease;
}
.gw-slider:hover .gw-slider-nav,
.gw-slider-nav:focus-visible { opacity: 1; }
.gw-slider-nav:hover { background: var(--gw-blue); }
.gw-slider-nav:focus-visible { outline: 2px solid var(--gw-cyan); outline-offset: 2px; }
.gw-slider-prev { left: 12px; }
.gw-slider-next { right: 12px; }

.gw-slider-dots {
  position: absolute;
  right: 18px; bottom: 16px;
  display: flex;
  gap: 7px;
}
.gw-slider-dot {
  width: 9px; height: 9px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, .45);
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.gw-slider-dot.is-active { background: var(--gw-amber); transform: scale(1.25); }
.gw-slider-dot:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

/* --------------------------------------------------------------------------
   25. カテゴリーの丸アイコン一覧（[gw_cat_icons]）
   -------------------------------------------------------------------------- */
.gw-icons-title {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .06em;
  color: var(--gw-ink-3);
  margin: 0 0 10px;
}

.gw-icons-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.gw-icons-list li { border-bottom: 1px solid var(--gw-line); }
.gw-icons-list li:last-child { border-bottom: none; }

.gw-icons-list li a {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 8px 4px;
  text-decoration: none !important;
  border-radius: var(--gw-r-sm);
  transition: background .15s ease;
}
.gw-icons-list li a:hover { background: var(--gw-blue-lt); }

.gw-icon {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 1px 3px rgba(22, 33, 62, .22);
}
.gw-icon-blank { background: var(--gw-line-2); display: block; }

.gw-icon-name {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--gw-ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.gw-icons-list li a:hover .gw-icon-name { color: var(--gw-blue-dk); }

.gw-icon-count {
  flex: 0 0 auto;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--gw-ink-3);
  background: #eef2f7;
  border-radius: 10px;
  padding: 1px 8px;
  font-variant-numeric: tabular-nums;
}

/* --------------------------------------------------------------------------
   26. 左右の余白に置く広告枠
   -------------------------------------------------------------------------- */
.gw-side-ad { display: none; }

/* コンテンツ(1256px)の外側に余白ができる画面でだけ、余白いっぱいに広告を置く */
@media screen and (min-width: 1600px) {
  .gw-side-ad {
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: fixed;
    top: 92px;
    bottom: 18px;
    max-width: 360px;
    z-index: 5;
  }

  /* left/right の両方を指定して、空いている余白を丸ごと使う */
  .gw-side-ad-left {
    left: 14px;
    right: calc(50% + 642px);
    margin-left: auto;          /* 幅が上限に達したら本文側に寄せる */
  }
  .gw-side-ad-right {
    right: 14px;
    left: calc(50% + 642px);
  }

  .gw-side-ad-title {
    flex: 0 0 auto;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .14em;
    color: var(--gw-ink-3);
    text-align: center;
    margin-bottom: 2px;
  }

  .gw-side-ad-widget {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
  }
  .gw-side-ad-widget > a,
  .gw-side-ad-widget > p {
    flex: 1 1 auto;
    min-height: 0;
    display: block;
    margin: 0;
  }
  .gw-side-ad-widget img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: var(--gw-r);
    border: 1px solid var(--gw-line);
    box-shadow: var(--gw-shadow);
  }
}

/* --------------------------------------------------------------------------
   27. サイドバー左配置の微調整
   -------------------------------------------------------------------------- */
.sidebar-left .main,
.sidebar-left .sidebar { float: none; }

/* --------------------------------------------------------------------------
   28. サイト名の横のサブテーマ
   Cocoon はトップメニューレイアウトで .tagline を display:none にするため、
   ここで表示に戻し、サイト名の右隣に並べる。
   -------------------------------------------------------------------------- */
.header-container-in.hlt-top-menu #header-in.header-in {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: nowrap;
}

.header-container-in.hlt-top-menu .logo-header { order: 1; flex: 0 0 auto; }

.header-container-in.hlt-top-menu .tagline {
  display: block;
  order: 2;
  flex: 0 1 auto;
  margin: 0;
  padding: 4px 0 4px 14px;
  border-left: 2px solid rgba(255, 255, 255, .25);
  text-align: left;
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: .02em;
  color: #a9bad6;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media screen and (max-width: 1300px) {
  .header-container-in.hlt-top-menu .tagline { font-size: 11.5px; padding-left: 10px; }
}
@media screen and (max-width: 1023px) {
  .header-container-in.hlt-top-menu .tagline { display: none; }
}

/* --------------------------------------------------------------------------
   16. 印刷
   -------------------------------------------------------------------------- */
@media print {
  #header-container, .sidebar, .footer, .go-to-top, .breadcrumb { display: none !important; }
  .main { box-shadow: none; border: none; padding: 0; }
  .article h2 { background: none !important; color: #000 !important; border-left: 4px solid #000; }
}
