@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
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/

/* ===================================================
   1. サイト全体設定・ベースレイアウト
   =================================================== */
html, body {
    height: 100%;
    font-family: Arial, sans-serif;
}

.title {
    line-height: 1.15;
}

.item-label {
    font-weight: bold;
}

/* 背景色透過設定 */
.header-container, .main, .sidebar, .footer {
    background-color: transparent;
}

.main {
    padding: 0px 29px;
}
.sidebar {
    padding: 0px 19px;
    background-color: transparent;
}

@media screen and (max-width: 834px) {
    main.main, div.sidebar {
        padding: 0px 16px;
        margin: 12px 0;
        border-width: 0;
    }
}

/* 行間の一括調整 */
.rakupoi-reward-block, .updated-date-display, .disclaimer-text, .card {
    line-height: 1.15;
}

/* 出典 */
figcaption {
    margin: 0;
    font-size: 0.8em;
    padding: 6px;
    text-align: center;
}

/* サイト説明の行間を狭く */
.logo-image {
    padding: 5px 0;
    font-size: inherit;
}
.tagline {
    line-height: 0.3 !important;
}

/* プロモーションを含みます */
.promotion-warning {
    font-size: 0.8em;
    text-align: right;
    line-height: 1.15;
}

.content-top, .content-bottom {
    margin: 0.2em;
}

/* タイトル関連 */
.entry-title, .archive-title {
    font-size: 1.5em;
    margin: 0;
    line-height: 1.3;
}
@media screen and (max-width: 480px) {
    /* スマホでタイトルの左右に空間ができるのを削除 */
    .entry-title {
        padding: 0.6em 0;
    }
}
@media screen and (min-width: 1287px){
    /* パンくずの位置が変わった場合のタイトルの調整 */
    .entry-title {
        font-size: 29px;
        padding: 0 0em !important;
        line-height: 1.4em!important;
    }
}


/* ===================================================
   2. ヘッダー・パンくず・ナビゲーション
   =================================================== */
/* ヘッダー上部 */
.content-top {
    margin: 0 !important;
    background-color: #f5f5f5; /* 検索エリア背景込み */
}

/* パンくずリスト */
.breadcrumb.sbp-main-before, .breadcrumb.sbp-footer-before, .breadcrumb.pbp-main-before, .breadcrumb.pbp-footer-before {
    padding: 0 0.6em;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    display: block;
    box-sizing: border-box;
}
/* 色を変更する */
.breadcrumb-home a,
.breadcrumb-home .fa-home,
.breadcrumb-item span {
    color: var(--cocoon-text-color);
}
/* 不要なアイコンを消す */
.breadcrumb-item>.fa {
    display:none;
}
/* 区切り「＞」の調整 */
.breadcrumb .sp {
    margin: 0 6px;
}

/* 本文上部アイコンナビ */
.c-icon-nav {
  display: flex;
  justify-content: space-around;
  gap: 5px;
}
.c-icon-nav__item {
  flex: 1;
}
.c-icon-nav__item a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 15px 5px;
  border: 1px solid #ddd;
  border-radius: 8px;
  text-decoration: none;
  color: #333;
  transition: background-color 0.2s;
  height: 100%;
  text-align: center;
  background-color: white;
  line-height: 1;
}
.c-icon-nav__item a:hover {
  background-color: #f4f7fc;
}
.c-icon-nav__item i {
  font-size: 28px;
  margin-bottom: 8px;
}
.c-icon-nav__text {
  font-size: 12px;
  font-weight: bold;
}


/* ===================================================
   3. 検索エリア・注目ワード
   =================================================== */
/* 検索コンテナ */
.search-container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 5px 0;
}
.custom-search-form {
    display: flex;
    align-items: stretch;
    width: 100%;
    max-width: 420px;
    padding: 0 14px;
    margin: 0;
    box-sizing: border-box;
}
.custom-search-field {
    flex: 1;
    font-size: 16px;
    border: 2px solid #2d87f0 !important;
    border-radius: 5px 0 0 5px;
    outline: none;
    box-sizing: border-box;
}
.custom-search-button {
    padding: 4px 8px;
    background-color: #2d87f0;
    color: #fff;
    font-size: 16px;
    border: 2px solid #2d87f0;
    border-left: none;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    font-weight: bold;
    white-space: nowrap;
    transition: background-color 0.3s;
    box-sizing: border-box;
}
/* 旧検索窓を非表示 */
body.search .search-box {
    display: none;
}
/* ラジオボタン */
.search-type-radios {
    font-size: 0.8em;
}

/* 注目ワードリスト */
.featured-words {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin-top: 0;
}
.featured-words ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
}
.featured-words li {
    margin: 0 3px;
}
.featured-word-link {
    display: inline-block;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.8em;
    padding: 0 10px;
    border: 1px solid #a9a9a9;
    border-radius: 15px;
    color: #333;
    background-color: #fff;
}
.featured-word-link:hover {
    background-color: #f4f7fc;
}

@media screen and (max-width: 767px) {
    .search-container {
        display: block !important;
    }
    .custom-search-form {
        margin: 0 auto;
        width: 100%;
        max-width: 100%;
    }
    .featured-words {
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
        margin-top: 5px;
        width: 100%;
        max-width: 100%;
    }
    .featured-words ul {
        flex-wrap: nowrap;
    }
    .featured-words li {
        display: inline-block;
        margin-right: 5px;
        margin-bottom: 0;
    }
}


/* ===================================================
   4. サイドバー・ウィジェット関連
   =================================================== */
/* 広告隙間 */
.widget_new_entries, .new-entry-cards, .new-entry-card,
.widget_popular_entries, .popular-entry-cards, .popular-entry-card {
  margin-bottom: 0 !important;
}

/* サイドメニューランキング */
.popular-category-title, .widget-sidebar .widget-sidebar-title {
    border-radius: 0;
    background-color: #2d87f0;
    border: 1px solid #ddd;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 0px;
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 5px;
    text-align: center;
    color: #ffffff;
}
.popular-ranking {
    display: flex;
    flex-direction: column;
}
.popular-ranking .ranking-item {
    line-height: 1.15;
    display: flex;
    align-items: center;
    padding: 8px;
    border-radius: 0px;
    border: 1px solid #ddd;
    margin-bottom: 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
    position: relative;
}
.popular-ranking .ranking-item:hover {
    background-color: #f4f7fc;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.popular-ranking .ranking-item .thumbnail {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    object-fit: cover;
    position: relative;
    margin-right: 8px;
}
.popular-ranking .ranking-item .rank {
    position: absolute;
    top: -6px;
    left: -6px;
    background-color: #ff6600;
    color: white;
    font-size: 0.75rem;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 0 0 4px 0;
    z-index: 1;
}
.popular-ranking .ranking-item .site-name {
    margin-right: 8px;
    font-size: 0.95rem;
    font-weight: bold;
    color: #333333;
}
.popular-ranking .ranking-item .reward {
    flex-shrink: 0;
    font-size: 1.1rem;
    font-weight: bold;
    color: #2d87f0;
    text-align: right;
    margin-left: auto;
    white-space: nowrap;
}

/* サイドバー もっと見るボタン */
.more-button-wrapper {
    text-align: center;
    margin-top: 10px;
}
.more-button {
    font-size: 1rem;
    display: inline-block;
    border-radius: 20px;
    width: 100%;
    padding: 10px 16px;
    text-decoration: none;
    border: 1px solid #ddd;
    font-weight: bold;
    transition: box-shadow 0.3s ease;
    color: #333333;
    background-color: #fff;
}
.more-button:hover {
    background-color: #f4f7fc;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}


/* ===================================================
   5. ポイくらべ メインランキングカード群
   =================================================== */
a {
    text-decoration: none;
}

/* 基本ランキングカード */
.card {
    background-color: #ffffff;
    border-radius: 0;
    padding: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: row;
    border: 1px solid #ddd;
    transition: box-shadow 0.3s ease, background-color 0.3s ease;
    margin-bottom: 0;
}
.card:hover {
    background-color: #f4f7fc;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.card:active {
    transform: scale(0.98);
}
.card-left {
    display: flex;
    align-items: center;
    margin-left: 5px;
    margin-right: 12px;
    flex-shrink: 0;
}
.card-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-grow: 1;
}
.card .rank {
    font-size: 1.25rem;
    font-weight: bold;
    color: #ff6600;
    text-align: center;
    line-height: 1;
    white-space: nowrap;
    margin-right: 0;
}
.card .site-name {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 0;
    text-align: left;
    color: #333333;
}
.card .item-name {
    font-size: 0.9rem;
    font-weight: normal;
    margin-bottom: 0;
    color: gray;
}
.card .reward {
    font-size: 1.75rem;
    font-weight: bold;
    color: #2d87f0;
    text-align: left;
    margin-top: 0;
    margin-bottom: 0;
}
.currency {
    font-size: 0.7em;
    margin-left: 1px;
}

/* おすすめ・上昇カード (グリッド表示) */
.custom-recommend-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 20px;
    margin-bottom: 20px;
}
.custom-card {
    line-height: 1.15;
    border: 1px solid #ddd;
    border-radius: 12px;
    overflow: hidden;
    width: calc(25% - 15px);
    min-width: 180px;
    max-width: 220px;
    background-color: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    text-align: center;
    transition: box-shadow 0.2s ease;
}
.custom-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.custom-card a {
    display: block;
    text-decoration: none;
    font-weight: bold;
}
.custom-card .card-rise-rate {
    color: #2d87f0;
    font-size: 1.5rem;
    font-weight: bold;
    margin-top: 3px;
    margin-bottom: 0;
}
.custom-card .card-category-text {
    font-size: 0.9rem;
    color: #fff;
    background-color: #333333;
    padding: 3px 6px;
    margin: 10px auto 0 10px !important;
    display: block;
    width: fit-content;
    border-radius: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: calc(100% - 20px);
    box-sizing: border-box;
}
.card-image img {
    padding: 10px;
    object-fit: cover;
    margin-bottom: 0px !important;
}
.card-body {
    padding: 0 0 12px 0px;
}
.card-title {
    font-size: 1rem;
    margin: 0;
    font-weight: bold;
    margin-bottom: 3px !important;
    color: #333333;
}
.card-reward {
    color: #2d87f0;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0px !important;
}
@media (max-width: 768px) {
    .custom-card {
        width: calc(50% - 10px);
        min-width: 150px;
        max-width: 250px;
        gap: 10px;
    }
    .custom-recommend-cards {
        gap: 10px;
    }
}

/* 案件ごとの報酬ブロック詳細 */
.rakupoi-reward-block.horizontal-layout {
    background-color: #ffffff;
    border-radius: 0px;
    padding: 10px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    text-align: left;
    position: relative;
    width: 100%;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    border-top: 1px solid #2d87f0;
    border-bottom: 1px solid #2d87f0;
}
.rakupoi-reward-block.horizontal-layout .eyecatch-image {
    width: 100px;
    height: 100px;
    margin-right: 15px;
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #eee;
}
.rakupoi-reward-block.horizontal-layout .eyecatch-image img {
    max-width: 100%;
    max-height: 100%;
    height: auto;
    width: auto;
    display: block;
}
.max-point-label {
    font-size: 1.1em;
    font-weight: bold;
    white-space: nowrap;
    margin-bottom: 0.2em !important;
}
.max-point-value {
    font-size: 1.8em;
    font-weight: bold;
    color: #2d87f0;
    white-space: nowrap;
    margin-bottom: 0.2em !important;
}
.max-point-value .daily-change {
    font-size: 0.5em;
    white-space: nowrap;
    vertical-align: middle;
    font-weight: bold;
}
.max-point-value .daily-change-value {
    font-size: 1.5em;
}
.max-point-value .daily-change.is-up { color: red; }
.max-point-value .daily-change.is-down { color: #008080; }
.max-point-value .daily-change.is-zero { color: #333333; }

.overall-max-reward-display {
    font-size: 0.8em;
    white-space: nowrap;
    margin-top: 0.2em !important;
    margin-bottom: 0.2em !important;
}
.site-name-display {
    font-size: 0.8em;
    margin-bottom: 0.2em !important;
}
.updated-date-display {
    font-size: 0.8em;
    margin-bottom: 0.2em !important;
    text-align: right;
}
.disclaimer-text {
    font-size: 0.8em;
    color: #888;
    text-align: right;
    margin-top: 5px;
    margin-left: auto;
    margin-right: auto;
}
.disclaimer-text a {
    color: #2d87f0;
}

/* 最高報酬額テーブル */
.max-reward-table {
    background-color: #f4f7fc;
    padding: 20px;
    margin-top: 20px;
}
.max-reward-table table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
}
.max-reward-table th {
    padding: 6px;
    background-color: #2d87f0;
    color: white;
    font-size: 18px;
    font-weight: bold;
}
.max-reward-table td {
    text-align: center;
    padding-left: 5px;
    padding-right: 5px;
}
.reward {
    font-size: 24px;
    font-weight: bold;
    color: #2d87f0;
}
.date {
    font-size: 14px;
    color: #666;
}


/* ===================================================
   6. タブ・フィルタ・カテゴリページ
   =================================================== */
/* 検索結果・フィルタタブ */
.search-results-filter-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    margin-left: auto;
    margin-right: auto;
    max-width: 800px;
    width: 100%;
    box-sizing: border-box;
    padding: 0 15px;
    border-bottom: 1px solid #eee;
}
.filter-tab {
    padding: 10px 20px;
    text-decoration: none;
    color: #555;
    font-weight: bold;
    border: 1px solid transparent;
    border-bottom: none;
    border-radius: 5px 5px 0 0;
    transition: all 0.3s ease;
    white-space: nowrap;
}
.filter-tab:hover {
    background-color: #f0f0f0;
}
.filter-tab.active {
    background-color: #fff;
    border-color: #eee;
    border-bottom-color: #fff;
    color: #2d87f0;
}
@media screen and (max-width: 767px) {
    .search-results-filter-tabs {
        flex-wrap: wrap;
        justify-content: flex-start;
        padding: 0 10px;
    }
    .filter-tab {
        flex: 1 1 auto;
        text-align: center;
        margin-bottom: 5px;
        font-size: 0.9em;
        padding: 8px 15px;
    }
}

/* トップページ 第1階層：カテゴリタブ */
.category-tabs {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-bottom: 2px solid #005bac;
    padding-bottom: 5px;
}
.category-tabs .category-tab-link {
    flex-shrink: 0;
    padding: 0 8px;
    font-size: 1em;
    font-weight: bold;
    color: #333;
    text-decoration: none;
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    border-bottom: none;
    border-radius: 6px 6px 0 0;
    margin-right: 5px;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.2s ease;
}
.category-tabs .category-tab-link.active {
    background-color: #fff;
    border-color: #005bac;
    color: #005bac;
    position: relative;
    bottom: -2px;
}

/* トップページ 第2階層：目的別タブ */
.purpose-tabs {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    border-bottom: 1px solid #eee;
}
.purpose-tabs .purpose-tab-link {
    flex-shrink: 0;
    padding: 8px 16px;
    font-weight: bold;
    color: #666;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.2s ease;
}
.purpose-tabs .purpose-tab-link.active,
.purpose-tabs .purpose-tab-link:hover {
    color: #2d87f0;
    border-bottom-color: #2d87f0;
}

/* コンテンツ表示切替エリア */
.purpose-pane { display: none; }
.purpose-pane.active { display: block; }
.tab-content-area {
    min-height: 100px;
}

h3.poikurabe {
    margin: auto auto 16px auto !important;
}

/* カテゴリページタイトル設定 */
.archive-title .fa-folder-open {
    display: none !important;
}
.category-page-title {
    font-size: 1.5em;
    margin: 0;
    line-height: 1.3;
}
.ranking-category-list {
    padding: 0;
    margin: 0;
    list-style: none;
    margin-bottom: 0;
}
.ranking-category-list a {
    display: inline-block;
    margin-right: 10px;
    margin-bottom: 10px;
    padding: 6px 12px;
    background-color: #f1f1f1;
    color: #333;
    border-radius: 4px;
    text-decoration: none;
    font-size: 1rem;
}

/* カテゴリ内ボタンスタイル */
.category-button {
    display: inline-block;
    margin-bottom: 5px;
    padding: 1px 12px;
    background-color: #f1f1f1;
    color: #333;
    border-radius: 4px;
    text-decoration: none;
    font-size: 1rem;
}
.category-button.active {
  background-color: #2d87f0;
  color: #fff;
  font-weight: bold;
}

/* プルダウンメニュー設定 */
.sort-dropdown {
    text-align: right;
    margin-top: 20px;
}
.sort-dropdown select {
    font-size: 1rem;
    padding: 8px 8px;
    border-radius: 4px;
    width: 120px;
    border: 1px solid #ccc;
}

/* カテゴリーページの投稿アイテム */
.category-posts {
  display: flex;
  flex-direction: column;
  padding: 10px;
}
.post-item {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #ccc;
  padding: 10px 0;
}
.post-item .post-link {
    display: flex;
    align-items: center;
    width: 100%;
    text-decoration: none;
    color: inherit;
}
.post-item .thumbnail {
    width: 60px;
    height: 60px;
    overflow: hidden;
    flex-shrink: 0;
    margin-right: 8px;
}
.post-item .thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.post-item .title {
    flex-grow: 1;
    font-weight: bold;
    overflow: hidden;
    margin-right: 8px;
}
.post-item .reward {
    font-size: 1.2em;
    font-weight: bold;
    color: #2d87f0;
    white-space: nowrap;
    flex-shrink: 0;
}

/* 表示モードによるスタイルの変更 (増加率) */
.post-item .reward.reward-mode-rise_rate {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    line-height: 1.4;
}
.post-item .reward.reward-mode-rise_rate > span {
    display: block;
}


/* ===================================================
   7. その他パーツ類（スライダー・広告・ニュース・案件等）
   =================================================== */
/* ローディング表示 */
.loading-spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #2d87f0;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 40px auto;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 広告エリア設定 */
.ad-item {
    border-bottom: 1px solid #ccc;
    height: 90px;
    overflow: visible;
    align-items: center;
    justify-content: center;
}

/* スライダー・ギャラリー */
.custom-gallery-wrapper {
  width: 100%;
  border: 1px solid #ddd;
  max-width: 980px;
  margin: -16px auto 32px auto;
  background: #fff;
  padding: 12px 0 12px 0;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
}
.custom-main-image img {
  width: 100%;
  height: auto;
  transition: opacity 0.3s ease-in-out;
  cursor: pointer;
}
.custom-thumbnail-row {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.custom-thumbnail-row .thumb {
  border: 1px solid #ddd;
  width: 100px;
  height: auto;
  border-radius: 6px;
  cursor: pointer;
  opacity: 0.8;
  transition: transform 0.2s ease-in-out, box-shadow 0.2s;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}
.custom-thumbnail-row .thumb:hover {
  transform: scale(1.05);
  opacity: 1;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
.custom-thumbnail-row .thumb.active {
  border: 2px solid #ff6600;
  opacity: 1;
}

/* お知らせリスト */
.article ul li, .article ol li {
    margin: 0em;
}
.rakupoi-news-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
.rakupoi-news-list li {
    border-bottom: 1px dotted #ccc;
}
.rakupoi-news-list li:first-child {
    border-top: 1px dotted #ccc;
}
.rakupoi-news-list li > a {
    display: block;
    padding: 10px 5px;
    color: inherit;
    text-decoration: none;
    transition: background-color 0.2s;
}
.rakupoi-news-list li > a:hover {
    background-color: #f8f8f8;
}
.rakupoi-news-list .news-date {
    font-size: 14px;
    color: #888;
    white-space: nowrap;
}
.rakupoi-news-list .news-tag {
    font-size: 12px; 
    font-weight: bold;
    color: #fff;
    padding: 2px 6px; 
    border-radius: 4px;
    white-space: nowrap;
}
.rakupoi-news-list .news-tag.campaign { background-color: #dc3545; }
.rakupoi-news-list .news-tag.notice { background-color: #007bff; }
.rakupoi-news-list .news-text {
    font-size: 16px;
    color: #333;
    line-height: 1.6;
    font-weight: bold;
}
.rakupoi-news-list li > a:hover .news-text {
    text-decoration: underline;
}
@media (min-width: 768px) {
    .rakupoi-news-list li > a {
        display: flex;
        align-items: center;
    }
    .rakupoi-news-list .news-meta {
        display: flex;
        align-items: center;
        margin-right: 15px;
    }
    .rakupoi-news-list .news-date {
        margin-right: 15px;
    }
    .rakupoi-news-list .news-text {
        flex: 1;
    }
}
@media (max-width: 767px) {
    .rakupoi-news-list .news-meta {
        display: flex;
        align-items: center;
        margin-bottom: 2px; 
    }
    .rakupoi-news-list .news-date {
        margin-right: 10px;
    }
}

/* ポイントサイト 案件ブロック */
.rakupoi-offer-card {
  display: flex;
  gap: 16px;
  font-family: sans-serif;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background-color: #ffffff;
  padding: 16px;
  margin: 20px auto;
  max-width: 700px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.rakupoi-offer-banner img {
  width: 120px;
  height: 120px;
  display: block;
  border-radius: 6px;
  border: 1px solid #eee;
}
.rakupoi-offer-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
}
.rakupoi-offer-badge {
  background-color: #2d87f0;
  color: white;
  font-size: 12px;
  padding: 3px 8px;
  border-radius: 4px;
  font-weight: bold;
  display: inline-block;
}
.rakupoi-offer-title {
  font-size: 20px;
  font-weight: bold;
  margin-top: 8px;
  color: #333;
}
.rakupoi-offer-points-area {
  background-color: #f5f5f5;
  border-radius: 6px;
  text-align: center;
  padding: 12px;
  margin: 12px 0;
}
.rakupoi-points-value {
  color: #2d87f0;
  font-size: 32px;
  font-weight: bold;
}
.rakupoi-points-unit {
  font-size: 16px;
  color: #333;
  margin-left: 4px;
}
.rakupoi-points-none {
  color: #888;
  font-size: 18px;
  font-weight: bold;
}
.rakupoi-offer-footer {
  text-align: right;
}
.rakupoi-offer-button {
  display: inline-block;
  background-color: #2d87f0;
  color: white;
  text-decoration: none;
  font-size: 16px;
  font-weight: bold;
  padding: 12px 32px;
  border-radius: 5px;
  transition: opacity 0.2s;
}
.rakupoi-offer-button:hover {
  opacity: 0.8;
}


/* ===================================================
   8. ブログカードカスタマイズ（オリジナル）
   =================================================== */
.blogcard-footer {
    display: none;
}
.original-card-wrap {
    margin: 2.5em 0;
}
.original-card-intro {
    position: relative;
    font-weight: bold;
    color: #174E86;
    margin-bottom: 6px;
    padding-left: 26px;
    font-size: 1.05em;
    line-height: 1.5;
}
.original-card-intro::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.1em;
    width: 20px;
    height: 20px;
    background: #174E86;
    border-radius: 50%;
}
.original-card-intro::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 0.45em;
    width: 6px;
    height: 3px;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(-45deg);
}
.original-card-link {
    display: block;
    position: relative;
    background: #fff;
    border: 2px solid #f0f0f0;
    border-radius: 8px;
    padding: 15px;
    text-decoration: none !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: 0.3s;
    overflow: hidden;
    margin-top: 0;
}
.original-card-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(23, 78, 134, 0.2);
}
.original-card-label {
    position: absolute;
    top: 0;
    left: 0;
    background: #174E86;
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    padding: 4px 14px 4px 10px;
    border-radius: 0 0 20px 0;
    z-index: 2;
}
.original-card-body {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 8px;
}
.original-card-thumb {
    flex: 0 0 35%;
    max-width: 180px;
    aspect-ratio: 16 / 9;
    background-size: cover;
    background-position: center;
    border-radius: 4px;
    background-color: #eee;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.original-card-text {
    flex: 1;
}
.original-card-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin: 0 0 8px 0 !important;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.original-card-more {
    font-size: 14px;
    color: #174E86;
    margin: 0 !important;
    text-align: right;
    font-weight: bold;
}
@media screen and (max-width: 480px) {
    .original-card-link {
        padding: 32px 12px 12px 12px;
    }
    .original-card-label {
        font-size: 11px;
        padding: 3px 10px 3px 8px;
        border-radius: 0 0 15px 0;
    }
    .original-card-body {
        margin-top: 0;
        align-items: flex-start;
        gap: 12px;
    }
    .original-card-thumb {
        flex: 0 0 100px;
        width: 100px;
        aspect-ratio: 16 / 9;
        margin-top: 4px;
    }
    .original-card-title {
        font-size: 15px;
        line-height: 1.5;
        margin-bottom: 4px !important;
        -webkit-line-clamp: 3;
    }
    .original-card-intro {
        font-size: 15px;
        padding-bottom: 5px;
    }
    .original-card-more {
        margin-top: 6px !important;
        font-size: 12px;
    }
}


/************************************
** レスポンシブデザイン用のメディアクエリ
** （Cocoonデフォルトの記述枠）
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
}