@charset "utf-8";
/*
	Theme Name: diver_child
	Template: diver
	Description:  Diverの子テーマです。
	Theme URI: http://tan-taka.com/diver/
	Author: Takato Takagi
*/

/* ======================================
   ランキングボタンデザイン（残す）
====================================== */
.rank_btn_wrap .rank_buy_link a {
  background-color: #007aff !important;
  background-image: linear-gradient(0deg, #0e4dcf 0%, #00f6ff 100%) !important;
  color: #fff !important;
  border: 1px solid #00a8ff !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  position: relative;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25) !important;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.rank_btn_wrap .rank_buy_link a::after {
  content: '';
  display: inline-block;
  margin-left: 8px;
  border: solid currentColor;
  border-width: 0 2px 2px 0;
  padding: 4px;
  transform: rotate(-45deg);
  vertical-align: middle;
}
.rank_btn_wrap .rank_buy_link a:hover {
  background-color: #005ac1 !important;
  color: #ffffff !important;
  box-shadow: 0 10px 12px rgba(0, 0, 0, 0.3) !important;
  transform: translateY(-2px);
}

.rank_btn_wrap .rank_more_link a {
  background-color: #007aff !important;
  background-image: linear-gradient(0deg, #129c22 0%, #66ed76 100%) !important;
  color: #fff !important;
  border: 1px solid #25c638 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  position: relative;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25) !important;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.rank_btn_wrap .rank_more_link a::after {
  content: '';
  display: inline-block;
  margin-left: 8px;
  border: solid currentColor;
  border-width: 0 2px 2px 0;
  padding: 4px;
  transform: rotate(-45deg);
  vertical-align: middle;
}
.rank_btn_wrap .rank_more_link a:hover {
  background-color: #005ac1 !important;
  color: #ffffff !important;
  box-shadow: 0 10px 12px rgba(0, 0, 0, 0.3) !important;
  transform: translateY(-2px);
}

/* ======================================
   自動目次（DIVER共通）
====================================== */
.auto-toc {
  margin: 1.2em 0 1.6em;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 8px;
  background: #FFF;
  padding: 50px 30px;
}
.auto-toc__title {
  font-weight: 600;
  margin-bottom: 2em;
  text-align: center;
  font-size: 24px;
}
.auto-toc__list,
.auto-toc__sublist {
  margin: 0;
  padding-left: 1.5em;
  list-style: none;
}
.auto-toc__list > li {
  margin: .35em 0 1em;
  border-bottom: 1px dotted #ccc;
  padding-bottom: 1em;
}
.auto-toc__sublist {
  margin-top: .3em;
}
.auto-toc a {
  text-decoration: none;
  color: #333;
}
.auto-toc a:hover {
  text-decoration: none;
  opacity: 0.7;
}

/* ======================================
   トップページ：縦3段カード補助
====================================== */
.genre-list {
  background: #f8f9fa;
  text-align: center;
  padding: 60px 0;
}
.genre-list h2 {
  background: #204e78;
  color: #fff;
  display: inline-block;
  padding: 10px 25px;
  border-radius: 4px;
  font-size: 24px;
  margin-bottom: 30px;
}
.genre-list p {
  color: #555;
  font-size: 15px;
  margin-bottom: 40px;
}
.genre-list div > div {
  transition: all 0.3s ease;
}
.genre-list div > div:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

/* ============================
   Diver 右カラム CTAボタン（オレンジ・完成版）
   ============================ */

/* CTAボタン本体 */
.sidebar-cta{
  display:block;
  width:100%;
  box-sizing:border-box;

  padding:14px 16px;
  margin:12px 0 18px;

  text-align:center;
  font-size:15px;
  font-weight:700;
  line-height:1.3;

  text-decoration:none;

  /* 視認性・CTR重視のオレンジ */
  background:#ff8c00;            /* 王道オレンジ */
  color:#fff !important;         /* 文字は白固定 */

  border-radius:10px;
  border:none;

  /* 押せる感 */
  box-shadow:0 3px 8px rgba(0,0,0,.35);
  transition:all .2s ease;
}

/* ホバー・フォーカス時 */
.sidebar-cta:hover,
.sidebar-cta:focus{
  background:#ff7a00;            /* 少し濃く */
  color:#fff !important;
  text-decoration:none;

  transform:translateY(-1px);
  box-shadow:0 6px 14px rgba(0,0,0,.45);
}

/* Diverがspan等を入れても文字色を白で固定 */
.sidebar-cta,
.sidebar-cta *{
  color:#fff !important;
}

/* スマホ時：押しやすく */
@media screen and (max-width: 768px){
  .sidebar-cta{
    font-size:16px;
    padding:16px 18px;
  }
}

/* 右カラム：サイト名ラベル */
.sidebar-site-name{
  margin:20px 0 8px;
  text-align:center;
  font-size:14px;
  font-weight:700;
  letter-spacing:.05em;
  color:#333;
}

/* CTA下の余白を少しだけ増やす */
.sidebar-cta{
  margin-bottom:28px;
}

.sidebar-site-name span{
  font-weight:400;
  font-size:13px;
  opacity:.7;
}

.single .kekka-box,
.page .kekka-box {
  width: 100%;
  background: #fff;
  border: 1px solid #dcdcdc;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  margin: 20px 0;
  font-family: "Hiragino Kaku Gothic ProN", "メイリオ", sans-serif;
}

.single .kekka-title,
.page .kekka-title {
  background: linear-gradient(90deg, #1f7a39, #31a85a);
  color: #fff;
  font-weight: bold;
  font-size: 16px;
  padding: 10px 18px;
  letter-spacing: 1px;
  text-align: left;
}

.single .kekka-list,
.page .kekka-list { width: 100%; background: #f9fff9; }

.single .kekka-list ul,
.page .kekka-list ul { list-style: none; margin: 0; padding: 0; }

.single .kekka-list li,
.page .kekka-list li {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 10px 15px;
  border-bottom: 1px solid #e0e0e0;
  font-size: 14px;
  color: #333;
}

.single .kekka-list li:nth-child(even),
.page .kekka-list li:nth-child(even) { background: #f6fff6; }

.single .kekka-list .date,
.page .kekka-list .date {
  color: #666;
  margin-right: 10px;
  font-size: 13px;
  min-width: 70px;
}

.single .kekka-list .hit,
.page .kekka-list .hit {
  background: #e60000;
  color: #fff;
  padding: 4px 7px;
  border-radius: 3px;
  margin-right: 10px;
  font-size: 12px;
  font-weight: bold;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.single .kekka-list .amount,
.page .kekka-list .amount {
  color: #d90000 !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  margin: 0 3px;
}


/* ================================
   CTA 青ボタンを目立たせる強化CSS（光るエフェクト付）
   対象: <div class="button medium btn blue"><a ...>...</a></div>
   ================================ */

/* ボタン周囲の余白 */
.button.medium.btn.blue {
  margin: 40px auto;
  text-align: center;
}

/* ボタン本体（緑ボタンの設計をベースに青色を適用） */
.button.medium.btn.blue a {
  display: inline-block;
  width: 100%;
  max-width: 520px;
  text-align: center;
  position: relative; /* 光るエフェクト用 */
  overflow: hidden;    /* 光るエフェクト用 */

  /* 青のグラデーション（信頼と期待感） */
  background: linear-gradient(135deg, #007bff, #0056b3);
  border-radius: 8px;

  color: #fff !important;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-decoration: none !important;

  padding: 18px 26px;

  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

/* 光が走り抜けるアニメーション */
.button.medium.btn.blue a::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -60%;
  width: 25%;
  height: 200%;
  background: rgba(255, 255, 255, 0.4);
  transform: rotate(30deg);
  animation: blue-shine 3.5s infinite;
}

@keyframes blue-shine {
  0% { left: -60%; }
  18% { left: 120%; }
  100% { left: 120%; }
}

/* hover（押せる感を出す） */
.button.medium.btn.blue a:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.35);
  filter: brightness(1.1);
}

/* クリック時（押し込み感） */
.button.medium.btn.blue a:active {
  transform: translateY(0px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
  filter: brightness(0.95);
}

/* スマホ最適化 */
@media screen and (max-width: 768px) {
  .button.medium.btn.blue a {
    max-width: 100%;
    font-size: 17px;
    padding: 20px 20px;
  }
}

/* ================================
   記事本文の見出しデザイン
   ================================ */

/* h2 */
.single .entry-content h2,
.page .entry-content h2 {
  position: relative;
  margin: 56px 0 24px;
  padding: 16px 20px 16px 22px;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%);
  color: #fff;
  font-size: 28px;
  line-height: 1.5;
  font-weight: 700;
  border-radius: 10px;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.16);
}

.single .entry-content h2::before,
.page .entry-content h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 6px;
  height: 100%;
  background: #22c55e;
  border-radius: 10px 0 0 10px;
}

/* h3 */
.single .entry-content h3,
.page .entry-content h3 {
  position: relative;
  margin: 40px 0 18px;
  padding: 0 0 10px 16px;
  color: #1e293b;
  font-size: 22px;
  line-height: 1.6;
  font-weight: 700;
  border-bottom: 2px solid #dbe3ec;
}

.single .entry-content h3::before,
.page .entry-content h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.25em;
  width: 6px;
  height: 1.2em;
  background: linear-gradient(180deg, #00a0e9 0%, #2563eb 100%);
  border-radius: 999px;
}

.single .entry-content h3::after,
.page .entry-content h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 90px;
  height: 2px;
  background: linear-gradient(90deg, #00a0e9 0%, #2563eb 100%);
}

/* h4 */
.single .entry-content h4,
.page .entry-content h4 {
  margin: 28px 0 14px;
  padding: 10px 14px;
  background: #f8fbff;
  color: #1e293b;
  font-size: 18px;
  line-height: 1.6;
  font-weight: 700;
  border-left: 4px solid #2563eb;
  border-radius: 6px;
}

/* スマホ */
@media screen and (max-width: 768px) {
  .single .entry-content h2,
  .page .entry-content h2 {
    margin: 40px 0 18px;
    padding: 14px 16px 14px 18px;
    font-size: 22px;
    border-radius: 8px;
  }

  .single .entry-content h3,
  .page .entry-content h3 {
    margin: 30px 0 14px;
    padding: 0 0 8px 14px;
    font-size: 19px;
  }

  .single .entry-content h4,
  .page .entry-content h4 {
    font-size: 16px;
    padding: 9px 12px;
  }
}

h4:before,
h4::before{
 content:none !important;
 display:none !important;
}

/* 追尾型LINEバナー 基本設定（最初は隠す） */
#floating-line-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(100px); /* 画面の下に隠しておく */
    width: 90%;
    max-width: 500px;
    z-index: 9999;
    background: linear-gradient(135deg, #06C755 0%, #05b14c 100%);
    border-radius: 50px;
    padding: 12px 25px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1); /* 滑らかな動き */
    opacity: 0;
    visibility: hidden;
}

/* スクロール後に表示させるためのクラス */
#floating-line-banner.is-show {
    transform: translateX(-50%) translateY(0); /* 定位置に浮上 */
    opacity: 1;
    visibility: visible;
}

/* ホバー時の動き（PCのみ） */
#floating-line-banner:hover {
    transform: translateX(-50%) translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

/* 中身のレイアウト */
.line-flex-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    color: #fff;
}

.line-icon-badge {
    background: #ffeb3b;
    color: #333;
    font-size: 10px;
    font-weight: bold;
    padding: 2px 8px;
    border-radius: 4px;
    margin-right: 12px;
}

.line-text-wrap {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.line-subtext {
    font-size: 11px;
    opacity: 0.9;
    line-height: 1.2;
}

.line-maintext {
    font-size: 15px;
    font-weight: bold;
    letter-spacing: 0.5px;
    line-height: 1.4;
}

.line-arrow {
    background: rgba(255, 255, 255, 0.2);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    margin-left: 10px;
}

/* スマホ用の微調整 */
@media screen and (max-width: 480px) {
    #floating-line-banner {
        bottom: 15px;
        padding: 10px 18px;
    }
    .line-maintext {
        font-size: 13px;
    }
}

