@charset "UTF-8";
/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ（まるっと。WordPress専用版）
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template: cocoon-master
Version: 1.1.3
*/

/* ====================================
   1. 基本設定・ラベル（解説の補足用）
   ==================================== */
.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; }

/* ステップ内の注記などに使えるPRラベル（必要に応じて） */
.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;
}

/* ====================================
   2. 本文レイアウト・装飾の適正化
   ==================================== */
/* 記事本文の段落（pタグ）の下余白を1.8emから1emに調整して読みやすく */
.entry-content p {
    margin-bottom: 1em;
}

/* 記事本文内で使える汎用フォントサイズ拡大クラス */
.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;
}

/* リストの中に画像を置いたときの上下マージン調整 */
.entry-content ol img {
    margin: 10px 0;
}

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

/* ====================================
   3. ブログカード・広告ラベル固定設定
   ==================================== */
.pr-card {
    text-align: left;
    display: flex;
    justify-content: flex-start;
}
.pr-card .blogcard {
    position: relative;
}
.pr-card .blogcard::before {
    content: "広告";
    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;
}

/* ====================================
   4. ガジェット・設定画面 比較テーブルCSS
   ==================================== */
.emichan-table-container {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 1.5em 0;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.device-table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 25px;
}

.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;
}

/* ====================================
   5. 画像配置・2枚スクショ横並び（スマホ時縦並び）
   ==================================== */
.custom-img-pair {
    justify-content: center;
    align-items: flex-end;
}
.custom-img-pair > div {
    flex: 0 1 400px;
}
.custom-img-pair img {
    width: 100%;
    height: auto;
    display: block;
}

@media screen and (max-width: 768px) {
    .custom-img-pair {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    .custom-img-pair > div {
        flex: 0 1 auto;
        width: 100%;
        max-width: 400px;
    }
    .custom-img-pair .img_margin {
        margin-right: 0;
    }
}

/* ====================================
   6. セキュリティ＆共通ウィジェット設定
   ==================================== */
/* スマホの右下 reCAPTCHAバッジを非表示にして画面を広くする */
.grecaptcha-badge {
    visibility: hidden;
}

/* カスタムHTMLウィジェット内でショートコードを有効化 */
.widget_custom_html {
    content: "enable-shortcode";
}

/* プロフィールボックスの不要なRSSボタン等を非表示 */
.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 ;
}

/* ===================================================
   7. えみちゃんサイズ専用！オリジナルSTEPリスト（極細破線）＆赤丸数字
   =================================================== */
ol.custom-step-list {
    list-style: none;
    padding-left: 0;
    margin-top: 20px;
    margin-bottom: 20px;
    counter-reset: step-counter;
}

ol.custom-step-list > li {
    position: relative;
    padding-left: 80px;
    padding-bottom: 40px;
    margin-bottom: 0;
}

ol.custom-step-list > li::before {
    counter-increment: step-counter;
    content: "STEP\A " counter(step-counter);
    position: absolute;
    top: 0;
    left: 0;
    width: 50px;
    height: 50px;
    font-size: 12px;
    line-height: 1.2;
    background-color: #5bc0de;
    color: #ffffff;
    border-radius: 50%;
    font-weight: bold;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    white-space: pre-line;
}

ol.custom-step-list > li::after {
    content: "";
    position: absolute;
    left: 25px; 
    top: 50px;
    bottom: -10px;
    width: 1px;
    background-image: linear-gradient(to bottom, #cccccc 50%, rgba(255,255,255,0) 50%);
    background-size: 1px 4px;
    background-repeat: repeat-y;
    z-index: 1;
}

ol.custom-step-list > li:last-child::after {
    display: none;
}

/* 本文内で使える赤丸白抜き数字 */
.step-num-red {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 22px;
    height: 22px;
    background-color: #e53935;
    color: #ffffff;
    font-size: 14px;
    border-radius: 50%;
    margin: 0 4px;
    vertical-align: middle;
}
/* ====================================
   2026-06-05 新設：スマホの右下 reCAPTCHAバッジを非表示にする
   ==================================== */
.grecaptcha-badge {
    visibility: hidden;
}
/* ==========================================================================
   2026-06-06 英語・日本語切り替えボタン用・ミニマルデザイン（本家完全版）
   ========================================================================== */
.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-22 自動表示のアイキャッチ画像に薄い影をつける */
.eye-catch img {
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}