@charset "UTF-8";
/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ (Elizabeth Edition)
Theme URI: https://wp-cocoon.com/
Author: わいひら
Template: cocoon-master
Version: 1.1.3
*/

/* ====================================
   基本設定・ラベル・余白調整
   ==================================== */
.setting, .setting_g, .reference {
    color: #FFFFFF;
    font-size: 80%;
    padding: 2px 4px 1px;
    border-radius: 2px;
    text-align: center;
    margin-right: 8px;
    vertical-align: 1px;
}
.setting_g { background-color: green; }
.setting { background-color: #1e73be; }
.reference { background-color: #ea5506; }

/* カテゴリラベルの非表示 */
.cat-label { display: none !important; }

/* 広告ラベル */
.widget .custom-pr-label,
.entry-content .custom-pr-label {
    display: block;
    text-align: right;
    margin-bottom: 5px;
    line-height: 1;
}
.widget .custom-pr-label span,
.entry-content .custom-pr-label span {
    display: inline-block;
    font-size: 11px;
    color: #773c30;
    background-color: #fcf8f7;
    border: 1px solid #d7a69c;
    padding: 2px 6px;
    border-radius: 3px;
    font-weight: normal;
}

/* 記事H2見出しの余白 */
.article h2 {
    margin: 2em 0 1em 0;
    padding: 12px 10px 8px 10px;
}

/* 記事本文の段落（pタグ）の下余白 */
.entry-content p {
    margin-bottom: 1em;
}

/* コメントフォームの余白調整 */
.comment-form input[type="checkbox"] {
  margin-right: 8px;
  cursor: pointer;
  vertical-align: middle;
  position: relative;
  top: -1px;
}
.comment-form > p {
  margin-bottom: 15px;
}

/* 汎用フォントサイズ拡大クラス */
.entry-content .x2 {
  font-size: 2.0em;
  line-height: 1.2;
  display: inline-block;
}
.entry-content .x3 {
  font-size: 2.5em;
  line-height: 1.2;
  display: inline-block;
}

/* ブログカードの広告ラベル */
.pr-card .blogcard {
    position: relative;
}
.pr-card .blogcard::before {
    content: "広告"; /* ※必要に応じて "Ad" や "Sponsored" に変更してな！ */
    position: absolute;
    bottom: 10px;
    right: 10px;
    background-color: rgba(0, 0, 0, 0.4);
    color: #fff;
    font-size: 10px;
    padding: 4px 5px;
    border-radius: 3px;
    z-index: 10;
    pointer-events: none;
    line-height: 1;
}

/* プロフィール欄の調整 */
.author-box .author-follows {
  display: none;
}
.author-box .author-description p {
  margin-bottom: 0 ;
}
.author-box .author-description div,
.author-box .author-description span {
  margin-top: 5px;
  margin-bottom: 0 ;
}

/* ==========================================================================
   ガジェット検証特化：デバイス比較表＆専用ボックス
   ========================================================================== */

/* スマホでも表がはみ出さないための横スクロールコンテナ */
.emichan-table-container,
.device-table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 1.5em 0 25px 0;
    border-radius: 8px;
}

/* テーブル全体のスタイリング */
.tracker-compare-table {
    width: 100%;
    min-width: 480px;
    border-collapse: collapse;
    font-size: 15px;
    line-height: 1.5;
    background-color: #ffffff;
}
.tracker-compare-table th {
    background-color: #333333;
    color: #ffffff;
    font-weight: bold;
    text-align: center;
    padding: 12px 10px;
    border: 1px solid #444444;
}
.tracker-compare-table td {
    padding: 12px 10px;
    text-align: center;
    border: 1px solid #e0e0e0;
}
.tracker-compare-table td:first-child {
    background-color: #f7f9fa;
    font-weight: bold;
    color: #444444;
    text-align: left;
}
.tracker-compare-table tr:nth-child(even) td {
    background-color: #fcfdfe;
}

/* Fitbit Air用 オレンジボックス（炎） */
.fitbit-box-air {
    border: 2px solid #ff4500;
    padding: 15px;
    border-radius: 8px;
    background-color: #fff5ee;
    margin-bottom: 20px;
}

/* Fitbit Charge 6用 ブルーボックス（紅葉） */
.fitbit-box-charge6 {
    border: 2px solid #1e90ff;
    padding: 15px;
    border-radius: 8px;
    background-color: #f0f8ff;
    margin-bottom: 20px;
}
/* 2026-06-12 復旧：日本語・英語切り替えボタン用・ミニマルデザイン */
.global-lang-link-box {
    text-align: right;          /* 右寄せにして主張を抑える */
    margin: 10px 0;             /* 上下の余白 */
    background: none;           /* 背景のグレーのボックスを消滅させる */
    border: none;               /* 枠線も完全に消滅させる */
    padding: 0;                 /* 内側の余白もなし */
}

/* ボックス内の文字設定 */
.global-lang-link-box p {
    margin: 0;
    font-size: 0.8em;          /* 文字を少し小さくして上品に */
    color: #666;                /* 落ち着いたグレー */
    display: inline-block;      /* 背景をつけるための設定 */
    background: #f7f7f7;        /* るなさん風の薄いグレーの背景 */
    padding: 2px 10px;          /* 文字の周りの程よい余白 */
    border-radius: 4px;         /* ほんの少しだけ角を丸く */
    border: 1px solid #eee;     /* 目立たない薄い枠線 */
}

/* リンク文字設定（下線を消して色をなじませる） */
.global-lang-link-box a {
    font-weight: normal;        /* 太字をやめてスタイリッシュに */
    color: #0066cc;             /* 綺麗なブルー */
    text-decoration: none;      /* 頑固な下線を完全に抹殺！ */
}

/* マウスを乗せた（ホバー）時 */
.global-lang-link-box a:hover {
    text-decoration: underline; /* ホバー時だけ優しく下線を出す */
    opacity: 0.8;
}
/* 2026-06-09 翻訳リンクボックスの直後にくる「h2」の上部余白を適正化 */
.global-lang-link-box + h2,
.global-lang-link-box + #toc + h2 {
    margin-top: 0.5em; /* Cocoonのデフォルトより狭くして間延びを防ぐ */
}